Server hostname was not specified with port.

I am a begginer and i just started doing some ethical hacking stuff may i don't know the right command,
i am trying to remote my main windows with my kali linux vm but when i put:
xfreerdp /u:PAK GAMERZ/p:1234554321/v:192...:47
(Password, ip and port are hidden due to some security reasons) and it give this output:
[00:52:09:496] [194682:194682] [ERROR][com.freerdp.client.x11] - error: server hostname was not specified with /v:[:port]
and i am specifying my port and i have another question
Q: i am not hosting server for the remote i wan't to remote it without hosting server so can i? and plz reply me and solve my problem
i will hack my cousin (with his permission of course) so plz tell me the right command

@PAKHACKERZ eighter you have unescaped characters in your password or you miss the spaces between arguments just like in your example above?

@akallabeth i also tried it, and it bring me to the help page:
input:
xfreerdp /u:PAK GAMERZ /p:123456789  /v: hidden for security reasons:port
output:
[15:06:13:527] [215088:215088] [ERROR][com.winpr.commandline] - Failed at index 1 [/u:PAK]: Invalid sigil
FreeRDP - A Free Remote Desktop Protocol Implementation
See www.freerdp.com for more information
Usage: xfreerdp [file] [options] [/v:[:port]]
Syntax:
/flag (enables flag)
/option: (specifies option with value)
+toggle -toggle (enables or disables toggle, where '/' is a synonym of '+')
/a:<addin>[,<options>]            Addin
/action-script:<file-name>        Action script
/admin                            Admin (or console) session
+aero                             Enable desktop composition
/app:<path> or ||<alias>          Remote application program
/app-cmd:<parameters>             Remote application command-line parameters
/app-file:<file-name>             File to open with remote application
/app-guid:<app-guid>              Remote application GUID
/app-icon:<icon-path>             Remote application icon for user interface
/app-name:<app-name>              Remote application name for user interface
/app-workdir:<workspace path>     Remote application workspace path
/assistance:<password>            Remote assistance password
/auto-request-control             Automatically request remote assistance
                                  input control
+async-channels                   Enable Asynchronous channels
                                  (experimental)
+async-input                      Enable Asynchronous input
+async-update                     Enable Asynchronous update
/audio-mode:<mode>                Audio output mode
+auth-only                        Enable Authenticate only
-authentication                   Disable Authentication (experimental)
+auto-reconnect                   Enable Automatic reconnection
/auto-reconnect-max-retries:<retries>
                                  Automatic reconnection maximum retries, 0
                                  for unlimited [0,1000]
+bitmap-cache                     Enable bitmap cache
/bpp:<depth>                      Session bpp (color depth)
/buildconfig                      Print the build configuration
/cert:[deny,ignore,name:<name>,tofu,fingerprint:<hash>:<hash as hex>
      [,fingerprint:<hash>:<another hash>]]
                                  Certificate accept options. Use with care!
                                  * deny         ... Automatically abort
                                  connection if the certificate does not
                                  match, no user interaction.           *
                                  ignore       ... Ignore the certificate
                                  checks altogether (overrules all other
                                  options)                           * name
                                         ... Use the alternate <name>
                                  instead of the certificate subject to
                                  match locally stored certificates * tofu
                                        ... Accept certificate
                                  unconditionally on first connect and deny
                                  on subsequent connections if the
                                  certificate does not match * fingerprints
                                  ... A list of certificate hashes that are
                                  accepted unconditionally for a connection
/cert-deny                        [deprecated, use /cert:deny] Automatically
                                  abort connection for any certificate that
                                  can not be validated.
/cert-ignore                      [deprecated, use /cert:ignore] Ignore
                                  certificate
/cert-name:<name>                 [deprecated, use /cert:name:<name>]
                                  Certificate name
/cert-tofu                        [deprecated, use /cert:tofu] Automatically
                                  accept certificate on first connect
/client-build-number:<number>     Client Build Number sent to server
                                  (influences smartcard behaviour, see
                                  [MS-RDPESC])
/client-hostname:<name>           Client Hostname to send to server
-clipboard[:[use-selection:<atom>]]
                                  Disable Redirect clipboard.
                                  * use-selection:<atom>  ... (X11) Specify
                                  which X selection to access. Default is
                                  CLIPBOARD. PRIMARY is the X-style
                                  middle-click selection.
/codec-cache:[rfx|nsc|jpeg]       Bitmap codec cache
-compression                      Disable compression
/compression-level:<level>        Compression level (0,1,2)
+credentials-delegation           Enable credentials delegation
/d:<domain>                       Domain
-decorations                      Disable Window decorations
/disp                             Display control
/drive:<name>,<path>              Redirect directory <path> as named share
                                  <name>. Hotplug support is enabled with
                                  /drive:hotplug,*. This argument provides
                                  the same function as "Drives that I plug
                                  in later" option in MSTSC.
+drives                           Enable Redirect all mount points as shares
/dvc:<channel>[,<options>]        Dynamic virtual channel
/dynamic-resolution               Send resolution updates when the window is
                                  resized
/echo                             Echo channel
-encryption                       Disable Encryption (experimental)
/encryption-methods:[40,][56,][128,][FIPS]
                                  RDP standard security encryption methods
/f                                Fullscreen mode (<Ctrl>+<Alt>+<Enter>
                                  toggles fullscreen)
-fast-path                        Disable fast-path input/output
+fipsmode                         Enable FIPS mode
/floatbar[:sticky:[on|off],default:[visible|hidden],show:
           [always|fullscreen||window]]
                                  floatbar is disabled by default (when
                                  enabled defaults to sticky in fullscreen
                                  mode)
-fonts                            Disable smooth fonts (ClearType)
/frame-ack:<number>               Number of frame acknowledgement
/from-stdin[:force]               Read credentials from stdin. With <force>
                                  the prompt is done before connection,
                                  otherwise on server request.
/g:<gateway>[:<port>]             Gateway Hostname
/gateway-usage-method:[direct|detect]
                                  Gateway usage method
/gd:<domain>                      Gateway domain
/gdi:sw|hw                        GDI rendering
/geometry                         Geometry tracking channel
+gestures                         Enable Consume multitouch input locally
/gfx[:[[RFX|AVC420|AVC444],mask:<value>]]
                                  RDP8 graphics pipeline
/gfx-h264[:[[AVC420|AVC444],mask:<value>]
           [DEPRECATED] use /gfx:avc420 instead]
                                  RDP8.1 graphics pipeline using H264 codec
+gfx-progressive                  Enable RDP8 graphics pipeline using progressive
                                  codec
+gfx-small-cache                  Enable RDP8 graphics pipeline using small cache
                                  mode
+gfx-thin-client                  Enable RDP8 graphics pipeline using thin client
                                  mode
+glyph-cache                      Enable Glyph cache (experimental)
/gp:<password>                    Gateway password
-grab-keyboard                    Disable Grab keyboard
/gt:[rpc|http[,no-websockets]|auto[,no-websockets]]
                                  Gateway transport type
/gu:[[<domain>\]<user>|<user>[@<domain>]]
                                  Gateway username
/gat:<access token>               Gateway Access Token
/h:<height>                       Height
-heartbeat                        Disable Support heartbeat PDUs
/help                             Print help
+home-drive                       Enable Redirect user home as share
/ipv6                             Prefer IPv6 AAA record over IPv4 A record
/jpeg                             JPEG codec support
/jpeg-quality:<percentage>        JPEG quality
/kbd:0x<id> or <name>             Keyboard layout
/kbd-lang:0x<id>                  Keyboard active language identifier
/kbd-fn-key:<value>               Function key value
/kbd-list                         List keyboard layouts
/kbd-lang-list                    List keyboard languages
/kbd-remap:List of <key>=<value>,... pairs to remap scancodes
                                  Keyboard scancode remapping
/kbd-subtype:<id>                 Keyboard subtype
/kbd-type:<id>                    Keyboard type
/load-balance-info:<info-string>  Load balance info
/log-filters:<tag>:<level>[,<tag>:<level>[,...]]
                                  Set logger filters, see wLog(7) for
                                  details
/log-level:[OFF|FATAL|ERROR|WARN|INFO|DEBUG|TRACE]
                                  Set the default log level, see wLog(7) for
                                  details
/max-fast-path-size:<size>        Specify maximum fast-path update size
/max-loop-time:<time>             Specify maximum time in milliseconds spend
                                  treating packets
+menu-anims                       Enable menu animations
/microphone[:[sys:<sys>,][dev:<dev>,][format:<format>,][rate:<rate>,]
             [channel:<channel>]] Audio input (microphone)
/monitor-list                     List detected monitors
/monitors:<id>[,<id>[,...]]       Select monitors to use
-mouse-motion                     Disable Send mouse motion
/multimon[:force]                 Use multiple monitors
+multitouch                       Enable Redirect multitouch input
+multitransport                   Enable Support multitransport protocol
-nego                             Disable protocol security negotiation
/network:[modem|broadband|broadband-low|broadband-high|wan|lan|auto]
                                  Network connection type
/nsc                              NSCodec support
+offscreen-cache                  Enable offscreen bitmap cache
/orientation:[0|90|180|270]       Orientation of display in degrees
+old-license                      Enable Use the old license workflow (no CAL and
                                  hwId set to 0)
/p:<password>                     Password
/parallel[:<name>[,<path>]]       Redirect parallel device
/parent-window:<window-id>        Parent window id
+password-is-pin                  Enable Use smart card authentication with
                                  password as smart card PIN
/pcb:<blob>                       Preconnection Blob
/pcid:<id>                        Preconnection Id
/pheight:<height>                 Physical height of display (in
                                  millimeters)
/play-rfx:<pcap-file>             Replay rfx pcap file
/port:<number>                    Server port
-suppress-output                  Disable suppress output when minimized
+print-reconnect-cookie           Enable Print base64 reconnect cookie after
                                  connecting
/printer[:<name>[,<driver>]]      Redirect printer device
/proxy:[<proto>://][<user>:<password>@]<host>:<port>
                                  Proxy settings: override env. var (see
                                  also environment variable below). Protocol
                                  "socks5" should be given explicitly where
                                  "http" is default.
/pth:<password-hash>              Pass the hash (restricted admin mode)
/pwidth:<width>                   Physical width of display (in millimeters)
/rdp2tcp:<executable path[:arg...]>
                                  TCP redirection
/reconnect-cookie:<base64-cookie> Pass base64 reconnect cookie to the
                                  connection
/redirect-prefer:<FQDN|IP|NETBIOS>,[...]
                                  Override the preferred redirection order
/relax-order-checks               Do not check if a RDP order was announced
                                  during capability exchange, only use when
                                  connecting to a buggy server
/restricted-admin                 Restricted admin mode
/rfx                              RemoteFX
/rfx-mode:[image|video]           RemoteFX mode
/scale:[100|140|180]              Scaling factor of the display
/scale-desktop:<percentage>       Scaling factor for desktop applications
                                  (value between 100 and 500)
/scale-device:100|140|180         Scaling factor for app store applications
/sec:[rdp|tls|nla|ext]            Force specific protocol security
+sec-ext                          Enable NLA extended protocol security
-sec-nla                          Disable NLA protocol security
-sec-rdp                          Disable RDP protocol security
-sec-tls                          Disable TLS protocol security
/serial[:<name>[,<path>[,<driver>[,permissive]]]]
                                  Redirect serial device
/shell:<shell>                    Alternate shell
/shell-dir:<dir>                  Shell working directory
/size:<width>x<height> or <percent>%[wh]
                                  Screen size
/smart-sizing[:<width>x<height>]  Scale remote desktop to window size
/smartcard[:<str>[,<str>...]]     Redirect the smartcard devices containing
                                  any of the <str> in their names.
/smartcard-logon                  Activates Smartcard Logon authentication.
                                  (EXPERIMENTAL: NLA not supported)
/sound[:[sys:<sys>,][dev:<dev>,][format:<format>,][rate:<rate>,]
        [channel:<channel>,][latency:<latency>,][quality:<quality>]]
                                  Audio output (sound)
/span                             Span screen over multiple monitors
/spn-class:<service-class>        SPN authentication service class
/ssh-agent                        SSH Agent forwarding channel
/t:<title>                        Window title
-themes                           Disable themes
/timeout:<time in ms>             Advanced setting for high latency links:
                                  Adjust connection timeout, use if you
                                  encounter timeout failures with your
                                  connection
/tls-ciphers:[netmon|ma|ciphers]  Allowed TLS ciphers
/tls-seclevel:<level>             TLS security level - defaults to 1
+enforce-tlsv1_2                  Enable Force use of TLS1.2 for connection. Some
                                  servers have a buggy TLS version
                                  negotiation and might fail without this
-toggle-fullscreen                Disable Alt+Ctrl+Enter to toggle
                                  fullscreen
/tune:<setting:value>,<setting:value>
                                  [experimental] directly manipulate freerdp
                                  settings, use with extreme caution!
/tune-list                        Print options allowed for /tune
/u:[[<domain>\]<user>|<user>[@<domain>]]
                                  Username
+unmap-buttons                    Enable Let server see real physical pointer
                                  button
/usb:[dbg,][id:<vid>:<pid>#...,][addr:<bus>:<addr>#...,][auto]
                                  Redirect USB device
/v:<server>[:port]                Server hostname
/vc:<channel>[,<options>]         Static virtual channel
/version                          Print version
/video                            Video optimized remoting channel
/vmconnect[:<vmid>]               Hyper-V console (use port 2179, disable
                                  negotiation)
/w:<width>                        Width
-wallpaper                        Disable wallpaper
+window-drag                      Enable full window drag
/window-position:<xpos>x<ypos>    window position
/wm-class:<class-name>            Set the WM_CLASS hint for the window
                                  instance
/workarea                         Use available work area

Examples:
xfreerdp connection.rdp /p:Pwd123! /f
xfreerdp /u:CONTOSO\JohnDoe /p:Pwd123! /v:rdp.contoso.com
xfreerdp /u:JohnDoe /p:Pwd123! /w:1366 /h:768 /v:<IP_ADDRESS>:4489
xfreerdp /u:JohnDoe /p:Pwd123! /vmconnect:C824F53E-95D2-46C6-9A18-23A5BB403532 /v:<IP_ADDRESS>
Clipboard Redirection: +clipboard
Drive Redirection: /drive:home,/home/user
Smartcard Redirection: /smartcard:
Serial Port Redirection: /serial:,,[SerCx2|SerCx|Serial],[permissive]
Serial Port Redirection: /serial:COM1,/dev/ttyS0
Parallel Port Redirection: /parallel:,
Printer Redirection: /printer:,
TCP redirection: /rdp2tcp:/usr/bin/rdp2tcp
Audio Output Redirection: /sound:sys:oss,dev:1,format:1
Audio Output Redirection: /sound:sys:alsa
Audio Input Redirection: /microphone:sys:oss,dev:1,format:1
Audio Input Redirection: /microphone:sys:alsa
Multimedia Redirection: /video
USB Device Redirection: /usb:id:054c:0268#4669:6e6b,addr:04:0c
For Gateways, the https_proxy environment variable is respected:
export https_proxy=http://proxy.contoso.com:3128/
xfreerdp /g:rdp.contoso.com ...
More documentation is coming, in the meantime consult source files

well, you have unescaped spaces?
try xfreerdp /u:"PAK GAMERZ" /p:123456789 /v:<IP_ADDRESS>:1234 ;)

bro i ran this command that you told it causing this error:
[15:27:34:417] [225530:225531] [ERROR][com.freerdp.core.transport] - BIO_should_retry returned a system error 32: Broken pipe
[15:27:34:417] [225530:225531] [ERROR][com.freerdp.core] - transport_write:freerdp_set_last_error_ex ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
[15:27:35:451] [225530:225531] [ERROR][com.freerdp.core.transport] - BIO_should_retry returned a system error 32: Broken pipe
[15:27:35:451] [225530:225531] [ERROR][com.freerdp.core] - transport_write:freerdp_set_last_error_ex ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
[15:27:35:452] [225530:225531] [ERROR][com.freerdp.core] - freerdp_post_connect failed

@PAKHACKERZ

no, you did not. this one is new. (that is actually the third different issue you have entering a simple command line)
check your target is actually up, running and reachable, that looks like a network issue.

Bro for quick contact send me invite on discord: https://discord.gg/gDBM8Ewn63

@PAKHACKERZ https://www.freerdp.com/ for contact, no discord or such stuff.

ok so i can remote access anyone from this

and can i remote access anyone like i don't wanna host a server for that

ok, then:

enable RDP on windows (check your user is actually allowed to connect)
check you can reach your windows box network wise (ping? nmap and 3389 is open?)
connect with the command line just as above

and can i remote access anyone like i don't wanna host a server for that

and a translation for that sentence please

bro as you said for the translation for the sentence it means, that i searched on google it like says host a server and then remote it and i wanna hack without the server hosting

and bro the link you sended me is taking from just from there to there how can i download the app

bro as you said for the translation for the sentence it means, that i searched on google it like says host a server and then remote it and i wanna hack without the server hosting
ok, so you have no idea what you´re doing?
please, easy to understand phrases, I have no clue what you are tryint to tell.

and bro the link you sended me is taking from just from there to there how can i download the app

no, it also contains contact details.

and you are talking about that see if the computer you are trying to connect allows RDP and i wan't to remote access anyone without permission

ping status:
93 packets transmitted, 93 received, 0% packet loss, time 92363ms
rtt min/avg/max/mdev = 0.627/1.186/2.128/0.362 ms

and you are talking about that see if the computer you are trying to connect allows RDP and i wan't to remote access anyone without permission

rotfl
good luck with that.

best read some book about network basics first, looks like you lack a few details there (and I am not a teacher with that much free time ;))

ok i'll Get some info


Synonym for CHEBI:68194

Hi,
I would like to request the addition of synonyms to CHEBI:68194 based on the names and abbreviations used in PMID:31209052 for such compound: 3,5-dihydroxy-6-methylphthalide (DHMP)
Thanks!

synonym now added.


[Load Balancer] Internal balancer with SSL for public DNS but only internal?

Rancher versions:
rancher/server:latest
rancher/agent:1.2.7
Infrastructure Stack versions:
healthcheck:v0.3.3
ipsec:0.13.5
network-services:0.9.5/0.7.18
scheduler:0.8.2
Docker version: (docker version,docker info preferred)
Containers: 20
 Running: 18
 Paused: 0
 Stopped: 2
Images: 23
Server Version: 17.09.1-ce
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 06b9cb35161009dcb7123345749fef02f7cea8e0
runc version: 3f2f8b84a77f73d38244dd690525642a72156c64
init version: 949e6fa
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.4.0-103-generic
Operating System: Ubuntu 16.04.3 LTS
OSType: linux
Architecture: x86_64
CPUs: 40
Total Memory: 188.8GiB
Name: rincewind
ID: 5EOV:7PXQ:K3VU:2PUM:UHUK:6OUW:N3SN:A6PR:R73Y:ONKV:UEKX:NFQ5
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

WARNING: No swap limit support

Operating system and kernel: (cat /etc/os-release, uname -r preferred)
NAME="Ubuntu"
VERSION="16.04.3 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.3 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

uname -r = 4.4.0-103-generic
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
Bare
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single rancher server with a single host
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:

create a public DNS record for my.domain to the public IP of the server
create a service running nginx without a public port exposing 80
create a loadbalancer on nginx which maps the internal HTTP/S for my.domain hostname to the nginx service
Results:
The nginx service should not be accessible when accessed outside of the rancher service. It should be accessible when VPNed into the rancher network.

In other words, I want to provide publically accessible DNS records (because VPN, Rancher's DNS and macOS isn't a happy combination) but only provide access to them from within the Rancher network.
Another approach I might have used previously was limiting with firewalls but I can't do that as other 80/443 traffic should be globally accessible.
Finally, the other approach I might try is reserving the internal private rancher IPs and have the public DNS map to those internal IPs.
Thoughts?
Thanks!

Please let us know in a comment if you can still reproduce the issue, and we'll reopen it


Bug: SMS

Hi,
Ok now, i can enter a phone number for the SMS Notification !
I configured twilio in config.env with the SID ands token keys
But i don't receive the validation code by SMS
Nothing in twilio log on twilio.com
are there logs on oneuptime to see if there is a problem sending SMS?
Thanks by advance,

Did you check SMS Logs page in project settings. What does it say?

Hi,
In SMS Log :
The 'To' number 06XXXXXX78 is not a valid phone number.
The 'To' number +3306XXXXXX78 is not a valid phone number.
The 'To' number +336XXXXXX78 is not a valid phone number.
Thanks in advance

Looks like those errors are from Twilio. You can check logs from the docker container called notifications

ok, i logged on notification docker image
docker exec -it oneuptime-notification bash
But where is the file i must read please for thses errors ?
Thanks in advance,

Please run docker compose logs notifications

Ok thanks
{
oneuptime-notification-1  |   message: 'Request ID: 849647b0-XXXXX-11ee-XXXX-5fe80d5fa7b4 -- POD NAME: NONE -- METHOD: POST -- URL: /sms/send\n' +
oneuptime-notification-1  |     ' Request ID: 849647b0-XXX-11ee-XXXX-5fe80d5fa7b4 -- Request Body: {\n' +
oneuptime-notification-1  |     '  "to": "06XXXXXX78",\n' +
oneuptime-notification-1  |     '  "message": "This message is from OneUptime. Your verification code is 167933",\n' +
oneuptime-notification-1  |     '  "isSensitive": true\n' +
oneuptime-notification-1  |     '}',
oneuptime-notification-1  |   level: 'info',
oneuptime-notification-1  |   timestamp: '2023-08-25T14:05:59.595Z'
oneuptime-notification-1  | }
oneuptime-notification-1  | {
oneuptime-notification-1  |   message: 'Response ID: 849647b0-XXXX-11ee-XXXX-5fe80d5fa7b4 -- POD NAME: NONE -- METHOD: POST -- URL: https://send -- DURATION: 491ms -- STATUS: 200\n' +
oneuptime-notification-1  |     ' Response ID: 849647b0-XXXX-11ee-XXXX-5fe80d5fa7b4 -- RESPONSE BODY: EMPTY',
oneuptime-notification-1  |   level: 'info',
oneuptime-notification-1  |   timestamp: '2023-08-25T14:06:00.086Z'
oneuptime-notification-1  | }
The url is weird ! https://send ??
I have no other messages in the logs !
Thanks by advance


ets Jan  8 2013,rst cause:4, boot mode:(1,6)  wdt reset

Hi,
I am trying to control my tubelight/plug with my esp8266. I am storing my status and other data in firebase  realtime database.
I want to stream the data because I know if my data has changed then it means I have to change the state of my relay.
Here is my Serial error:

`ets Jan  8 2013,rst cause:4, boot mode:(1,6)
wdt reset
`

And my code :

`
#include <FirebaseESP8266.h>
#include <ESP8266WiFi.h>
#include <ArduinoJson.h>
#define FIREBASE_HOST ""
#define FIREBASE_AUTH ""
#define WIFI_SSID ""
#define WIFI_PASSWORD ""
#define relayswitch 7
String path = "";
FirebaseData firebaseData;
DynamicJsonBuffer json_buffer;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
Serial.print("Connecting to Wi-Fi");
pinMode(relayswitch, OUTPUT);
while (WiFi.status() != WL_CONNECTED)
{
Serial.print(".");
delay(300);
}
Serial.println();
Serial.print("Connected with IP: ");
Serial.println(WiFi.localIP());
Serial.println();
Firebase.begin(FIREBASE_HOST, FIREBASE_AUTH);
Firebase.reconnectWiFi(true);
QueryFilter query;
query.equalTo("esp.2615");
query.limitToLast(1);
if (Firebase.getJSON(firebaseData, "/arushpass/cool/chill", query)) {
Serial.println(firebaseData.dataPath());
path = firebaseData.dataPath();
} else {
Serial.println(firebaseData.errorReason());
}
query.clear();
if (!Firebase.beginStream(firebaseData, path))
{
Serial.println("------------------------------------");
Serial.println("Can't begin stream connection...");
Serial.println("REASON: " + firebaseData.errorReason());
Serial.println("------------------------------------");
Serial.println();
}
}
void loop() {
Serial.println("asddhhfkslfghlksfa");
// put your main code here, to run repeatedly:
if (!Firebase.readStream(firebaseData)) {
Serial.println("------------------------------------");
Serial.println(firebaseData.errorReason());
Serial.println("------------------------------------");
}
if (firebaseData.streamTimeout()) {
Serial.println("Stream timeout, resume streaming...");
Serial.println();
}
if (firebaseData.streamAvailable()){
JsonObject& json = json_buffer.parseObject(firebaseData.jsonData());
String type = json["type"];
if (type.equals("TubeLight") || type.equals("Plug")) {
digitalWrite(relayswitch, !digitalRead(relayswitch));
}
}
}
`

My database structure is :
database:
    user_key:
        room1:
            device_name:
                  id: esp.2615
                  on_or_off: false
       room2:
            device_name:
                  id: esp.3526
                  on_or_off: false

etc
Any clue of what I am doing wrong?

I have tried updating esp8266 Arduino core to 2.5.0

From this
#define relayswitch 7

You can't use GPIO7 because it uses as MISO of SPI bus that connect with Flash memory. Your device can't run and program because no data to/from flash memory.
For query, you must and always assign orderBy as states in Firebase document, like this.
QueryFilter query;
 query.orderBy("id");
 query.equalTo("esp.2615");
 query.limitToLast(1);

You may get error like this  return from server.
connection refused, Index not defined, add ".indexOn": "id", for path "/arushpass/cool/chill", to the rules
You also set the database rules like this by use wild card $ to any dynamic child keys of user_key which can be room1, room2,... and their child key $device. The name that use with $ can by any what you want.
 "rules": {
    ...
    ...
    ,
    "user_key":{
      "$room":{
           "$device":{
                ".indexOn":"id"
           }
       }
    }
  }

or use only one wild card  $ to refer to any child keys under user_key included  room1, room2, device_name and so on.
 "rules": {
    ...
    ...
    ,
    "user_key":{
        "$device":{
             ".indexOn":"id"
       }
    }
  }

Thanks for the quick reply

You also set the database rules like this by use wild card $ to any dynamic child keys of user_key which can be room1, room2,... and their child key $device. The name that use with $ can by any what you want.
 "rules": {
    ...
    ...
    ,
    "user_key":{
      "$room":{
           "$device":{
                ".indexOn":"id"
           }
       }
    }
  }

or use only one wild card $ to refer to any child keys under user_key included room1, room2, device_name and so on.
 "rules": {
    ...
    ...
    ,
    "user_key":{
        "$device":{
             ".indexOn":"id"
       }
    }
  }

My user_key, device, room can be changed or deleted so do I have to edit the rules every time it  is deleted or updated ?

Yes but it better to have permanent parent key.

Oh
So can I set my rules like this:
"rules" : {     ....     ....     ....     ,     ".indexOn": "id" }

This means id is the parent key at the root of database and sort or select is no effect, indexOn should set to childs.

Thanks
One more question:
Is it normal that when I am streaming I cannot execute Serial.println()

Don't understand. But don't serial print continuously like that, mcu need idle time to feed the watchdog timer or handle WiFi task too, if you do that wdt reset may occur (only when connected to PC).

Oh thanks
BTW can I use GPIO4. In the pinout it tells GPIO4 is not used

Yes, you can see any esp8266 dev board like this what the pin you can use
https://wiki.wemos.cc/products:d1:d1_mini
Some can be multifunction as basic GPIO and communication port as SPI or I2C.

Thanks man
I'll try it now and tell you

I am getting:

not connected
Stream timeout, resume streaming...
and after I edit my id the relay does not change it's state

Your internet problem or something.  Begin stream may fail in setup. What's about code in loop?

Did not understand, did you ask code in loop?
I have not changed it a bit?

Try the examples
https://github.com/mobizt/Firebase-ESP8266/blob/master/examples/Stream/Stream.ino
https://github.com/mobizt/Firebase-ESP8266/blob/master/examples/Different_objects_stream/Different_objects_stream.ino
It should work, if any failed, it's your internet or AP problem.


save($entity) throws PDOexception on existing primary key

save() does not update when primary key exists
It seems to be trying to insert instead of updating
$itemMapper = $this->spot->mapper('Entity\Item');
$itemEntity = $itemMapper->build($itemData);
$itemMapper->save($itemEntity);

throws
Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '00070892210139' for key 'PRIMARY'
and I have the PK defined as such
'ID'          => ['type' => 'string', 'primary' => true, 'length'=> 15]

That's because _isNew property in Spot\Entity is never set to false. On the other hand, there is a built-in method for this, called upsert() which first tries to insert the entity, and if unique constraint error is triggered, it automatically tries to update the entity.

That's because _isNew property in Spot\Entity is never set to false.

If this is true, this definitely seems like a bug.

Well, that depends. As far as I can see, ->isNew() is called only when Collection is being created. It would be better when specific record is queried, for the entity to be marked as old with isNew(). This way when save() is will work as expected.

I'm new to Spot and just ran into this problem as well. Before this gets fixed, how should one go about persisting updated changes to entities?

Hi all, in the same line as @MarcusFulbright I am also having trouble persisting updates (to Postgres, if that matters). $mapper->update($entity) doesn't complain, returns the value 1, and the DB data is not updated. Maybe I am missing something? Thanks!

@jsangrador what were you doing before?

@batiste93 I think that this is logical and how I would expect it to work. If you create a new entity which has primary key which already exists in database and you call save() you are supposed to get unique constraint error. That is because the primary key used by the new entity already exists.
When you load an existing entity from database, update the entity data and then call save() on it will result on updating the data.

I will use my own shame to try help others. What I was doing before was to guess how the whole update cycle was supposed to work without reading the docs. When I did, I understood better. Anyway, some lines for the complete novice in the CRUD section would be nice.

This seemed to be user error.


Getting 'Found' as an output of lots of cleos commands

Hey, I'm trying to use cleos to snoop around my private 1.0 chain that I got, but I'm not getting any luck:
curl  http://xxx.yyy.zzz/v1/chain/get_account -X POST -d '{"account_name":"inita"}'
Found

curl http://xxx-wallet.yyy.zzz/v1/wallet/create -X POST -d '"test1"'
Found

Why am I constantly getting 'Found' as a result of POST requests for both commands ? There's no other meaningful output there - is there any good docs on how to initialize private chain and bind nodeos and keosd together properly ? Thanks :)

Can't reproduce:
$ curl http://localhost:8000/v1/chain/get_account -X POST -d '{"account_name":"useraaaaaaaa"}'
{"account_name":"useraaaaaaaa","privileged":false,"last_code_update":"1970-01-01T00:00:00.000","created":"2018-06-04T13:42:49.500","ram_quota":6836,"net_weight":"1346154156406","cpu_weight":"1346154156407","net_limit":{"used":0,"available":"79158021008","max":"79158021008"},"cpu_limit":{"used":0,"available":"15086433623","max":"15086433623"},"ram_usage":3558,"permissions":[{"perm_name":"active","parent":"owner","required_auth":{"threshold":1,"keys":[{"key":"EOS69X3383RzBZj41k73CSjUNXM5MYGpnDxyPnWUKPEtYQmTBWz4D","weight":1}],"accounts":[],"waits":[]}},{"perm_name":"owner","parent":"","required_auth":{"threshold":1,"keys":[{"key":"EOS69X3383RzBZj41k73CSjUNXM5MYGpnDxyPnWUKPEtYQmTBWz4D","weight":1}],"accounts":[],"waits":[]}}],"total_resources":{"owner":"useraaaaaaaa","net_weight":"134615415.6406 SYS","cpu_weight":"134615415.6407 SYS","ram_bytes":6836},"delegated_bandwidth":{"from":"useraaaaaaaa","to":"useraaaaaaaa","net_weight":"134615415.6406 SYS","cpu_weight":"134615415.6407 SYS"},"voter_info":{"owner":"useraaaaaaaa","proxy":"","producers":[],"staked":"2692308312813","last_vote_weight":"0.00000000000000000","proxied_vote_weight":"0.00000000000000000","is_proxy":0,"deferred_trx_id":0,"last_unstake_time":"1970-01-01T00:00:00","unstaking":"0.0000 SYS"}}


Can't publish preprocessor packages due to the transitive Neotoma dependency

First of all, thanks for this great project. I'm new to the Elixir ecosystem and Still was one of the first tools I played with. I've implemented a pre-processor to support .scss style files, but I can't push it to the Hex package registry due to the following error:
** (Mix) Can't build package with overridden dependency neotoma, remove `override: true`

Which happens because I had include the neotoma dependency in the deps function of my project to force Mix to use rebar3:
{:neotoma, "~> 1.7", manager: :rebar3, override: true}

Removing it leads to this other error due to dependency incompatibilities:
Unchecked dependencies for environment dev:
* neotoma (Hex package)
  the dependency neotoma in mix.exs is overriding a child dependency:

  > In mix.exs:
    {:neotoma, "~> 1.7", [env: :prod, repo: "hexpm", hex: "neotoma"]}

  > In deps/slime/mix.exs:
    {:neotoma, "~> 1.7", [env: :prod, hex: "neotoma", repo: "hexpm", optional: false]}

  Ensure they match or specify one of the above in your deps and set "override: true"

Am I right understanding that a solution to this problem comes down to configuring the neotoma dependency to build with rebar3?
Thanks in advance

@pepicrft yeah, I'm having the same issue with the latest versions of elixir/erlang. I still need to debug and fix this issue, but you can use the same version we are using to develop:
elixir 1.11.3-otp-23
erlang 23.2.3
Those should work. I'll keep you updated here.

@gabrielpoca thanks a lot for your suggestion. I'll go ahead with it and subscribe to this issue.

I tried with the suggested versions. This is what I get when I run elixir --version:
Erlang/OTP 23 [erts-11.1.7] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1]
Elixir 1.11.3 (compiled with Erlang/OTP 23)

However, I'm still getting the error:
Unchecked dependencies for environment dev:
* neotoma (Hex package)
  the dependency neotoma in mix.exs is overriding a child dependency:

  > In mix.exs:
    {:neotoma, "~> 1.7", [env: :prod, repo: "hexpm", hex: "neotoma"]}

  > In deps/slime/mix.exs:
    {:neotoma, "~> 1.7", [env: :prod, hex: "neotoma", repo: "hexpm", optional: false]}

  Ensure they match or specify one of the above in your deps and set "override: true"
** (Mix) Can't continue due to errors on dependencies

Am I missing anything?
Thanks @gabrielpoca

@pepicrft I was looking into it, and it seems there's a fix for it https://github.com/slime-lang/slime/issues/170#issuecomment-1136325884 can you try it out? Just adding {:neotoma, "~> 1.7.3", manager: :rebar3, override: true} was enough to make the error disappear on my system

:/ No luck. I get the following error:
** (Mix) Can't build package with overridden dependency neotoma, remove `override: true`

@pepicrft I'm sorry, l lost the notification. I was trying to understand how slime and phoenix_slime were publishing packages since they have the same dependency, but it seems that those packages haven't been updated for a long time. They will have the same issue once they release a new version. I also found your comment in the forum, but no answer 😞 For now, I think you should keep it in Github, you can use it directly in your mix.exs. I hope this weird issue is not preventing you from investing in Elixir more 💪

Hey @gabrielpoca
Thanks a lot for your answer. I appreciate a lot that you took the time to figure out a way to overcome the issue. I doubt this hiccup will impact my diving into the language. I'm liking it a lot indeed.


pre-commit.ci fails

https://results.pre-commit.ci/run/github/95367692/1675291955.UbCFoshYRhOE4yLglvCZRg
Issue search:
https://github.com/desktop/desktop/issues/15671#issuecomment-1325494211
https://github.com/PyBites-Open-Source/karmabot/blob/master/.pre-commit-config.yaml -> only flake8 == gitlab which if you go to the link you indeed need to login
First change I am trying is to update the link to GH -> https://github.com/pycqa/flake8

Ran it again on PR but now hitting a different issue: https://results.pre-commit.ci/run/github/95367692/1675335341.2zxL6BzNRdOoNxR53NxHAQ
             RuntimeError: The Poetry configuration is invalid:
                - [extras.pipfile_deprecated_finder.2] 'pip-shims<=0.3.4' does not match '^[a-zA-Z-_.0-9]+$'

fixed


Display rules.abaplint.org for check and individual messages

Clicking on "i" icon for abaplint root and categories will display "rules.abaplint.org"

Clicking on "i" iconfor individual messages will display "rules.abaplint.org/...rule..."

Mapping is done via /api/v1/list_rules
https://github.com/mbtools/abaplint-sci-server/blob/master/src/api/list_rules.ts

the other issue requires an update of abaplint/deps.

updated, https://github.com/abaplint/deps/commit/f0cfa8c50ed1b6c6ee9dcb7d3d994c2f9f22908c
try pushing another commit

run_end added in https://github.com/abaplint/deps/commit/0f55a6b9362c0803bd60ace21642bda6867a2a6c

Yay! Thanks. That's it for this one

cool 👍 will merge it tomorrow


Error : Expected a component class

I got a error like this, what is the problem?

@falltodis Sorry for the delay. I just released a new version. This error should be fixed in<EMAIL_ADDRESS>

@boygirl  Is there any other solutions to fix this ?

@falltodis are you still seeing the error on the latest version?

@boygirl I upgrade to<EMAIL_ADDRESS>and got the same error

Oh, sorry. I published<EMAIL_ADDRESS>to npm on Monday. I forgot to push the tag

@boygirl  I upgraded to<EMAIL_ADDRESS>and It's ok now! thks!


llext: misc preparatory improvements

The str_cnt variable is used to count the tables that were found and break early. I'd say this is the right moment to refactor it to tab_cnt or sect_cnt. Everything else LGTM!

@pillo79 since it isn't changed by this PR I made it an additional commit


id_undefined when using widget.toHTML()

Hi team I have form like this
var form = forms.create({
    fullname: fields.string({
        required: true,
        id: "test_id" // with or without this
     })
});

but when i try to access widget and use toHTML() function it gives me the widget and the id is id_undefined
console.log(form.fields.fullname.widget.toHTML());
// result: <input type="text" id="id_undefined" />

any fix for this?

First, you need to specify a "name" for any input, otherwise it won't be submitted.
However, the real issue is that you need to specify attrs: { id: 'test_id' }.

Thanks! I get it to work if I passed the name
console.log(form.fields.fullname.widget.toHTML(name));


GEOMESA-675 fixing feature store flush

Merged as commit b75b2aede93e0ddb8e4ac44767e0c89172d47212 to accumulo1.5.x branch.


Bluetooth: provide struct bt_conn to ccc_changed callback

Is your enhancement proposal related to a problem? Please describe.
It is currently not possible from application code for a CCC write to trigger events on that same connection.
The current callback does not contain enough information for this to occur.
The current arguments are the attr that changed (the CCC descriptor itself) and its new value.
Each CCC descriptor is unique per connection, per the Bluetooth Core Specification (<IP_ADDRESS>):
In the case where multiple ATT bearers from the same device are supported by the GATT server,
each ATT bearer shall be considered to have a separate GATT client instance. Therefore each GATT
client shall have a separate Client Characteristic Configuration.

Therefore applications should be notified of which connection has written to the CCC descriptor.
Describe the solution you'd like
struct bt_conn should be provided to the ccc_changed  callback.
This will also bring it in line with the ccc_write callback, which does take a struct bt_conn parameter.
Describe alternatives you've considered
ccc_write does provide the connection object, but before the write has actually been applied.
It is also called regardless of whether the value has actually changed.
AFAICT that callback is intended to be used to save CCC values for later, not notification.
It is also not possible to use this callback through the BT_GATT_CCC() constructor.

Given that "just use ccc_write" is a valid answer to this request, I will await feedback before implementing anything.

Per slack, manually constructing the CCC characteristic is the way forward.
BT_GATT_CCC_MANAGED(((struct _bt_gatt_ccc[])
					    { BT_GATT_CCC_INITIALIZER(NULL, uc_bt_ccc_data_written, NULL) }),
					   BT_GATT_PERM_READ | BT_GATT_PERM_WRITE)

ccc_changed is not useful for applications that care about the actual changed value of the CCC characteristic per connection, as all connections are grouped together.

One downside of using ccc_write instead of ccc_changed  that I realised later is that the GATT layer doesn't recognize that the characteristic has been subscribed at that point in the function.
i.e. you can't call bt_gatt_notify inside the ccc_write callback.


Avoids duplicates when the configured number of people to call out is…

… greater than the number active in the channel

Hi! After I edited the slackbotExercise file to incorporate your pull request of avoiding duplicates, I'm getting an "Insecure Platform Warning" (InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail.) The workout was working before, any ideas what could cause this error? It runs fine up to the point of announcing the next lottery, and then never announces.
Also, could I add another exercise "sit-ups", just by editing config.json (default.json) like this:
{
"id": 4,
"name": "calf raises",
"minReps": 20,
"maxReps": 30,
"units": "rep"
},
{
"id": 5,
"name": "sit-ups",
"minReps": 30,
"maxReps": 50,
"units": "rep"
}

Not sure, I was seeing that warning all along…

I ran the code using a later version of Python (2.5 to 2.9) and it works with no Insecure Platform Warning error!

@timmytofu Does this actually work? I merged it into my fork downstream and I get an index out of range error.

Indeed you're right. I've updated it to use a for each loop, though I feel like there was a reason I didn't do that in the first place. Honestly I haven't done python in ten years and didn't do much then, so all of this is probably not the best.

@timmytofu I'm no python guru myself, and I really just asked to make sure I wasn't crazy because I think this feature is awesome and I want to pull it into my downstream fork. :+1:


Attachments/Child Files not Stitched into Harms Package

Describe the bug in current situation
Attachments to parent email files are not being stitched into Consolidated Harms Package PDF. For example, the parent email file shows up in the Harms Package (in the Consolidated Harms PDF), but all the children files, nested under the parent, are not stitched into the Consolidated Harms Package PDF. In addition, these files do not show up the Harms Package as their native files formats either - so they are just missing from the Harms Package.
See EDU-2022-00040 in TEST as example
Occurring on PSE-2023-32707 in PROD
Link bug to the User Story
Impact of this bug
Describe the impact, i.e. what the impact is, and number of users impacted.
Chance of Occurring (high/medium/low/very low)
Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?
PROD
Steps to Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Actual/ observed behaviour/ results
Expected behaviour
A clear and concise description of what you expected to happen. Use the gherking language.
Screenshots/ Visual Reference/ Source
If applicable, add screenshots to help explain your problem. You an use screengrab.

Found after #4701 was resolved.


Temporarily remove references to asymmetric signatures

As discussed in #25, the current recommendations around asymmetric signatures are flawed, and the signature scheme doesn't support storing the key in an HSM (or even just having one key). Both of these flaws should be fixed before we add back asymmetric signature support.
I purposely left many references to asymmetric signatures throughout the text because the spec does support it, it just doesn't specify it yet. The hope is to add the improved set of recommendations either in the current version of the spec before the release or in the next version.

@hf, I removed the asymmetric recommendations as discussed, so at the very least the spec doesn't include incorrect information.


About the format of CC3M for pretraining

Hello, thank you for sharing your exciting work. May I ask you what format of CC3M did you use for pre-training? Since the downloaded files following openclip is in a webdataset form, it seems that they cannot be directly used in your code. Again, thank you for your awesome work!

I think this can be solved by unzipping the images and simply creating a csv file with image names and corresponding captions.

Update:
Sorry but unzipping the images can be EXTREMELY huge. It may be better to try to implement the webdataset format.

I tried to add the webdataset support following open_clip(https://github.com/mlfoundations/open_clip/tree/main). It seems to work, but I haven't verified the result.

Hi! Can you successfully get the training code running?

Hi! Can you successfully get the training code running?

Hi! I have this code correctly running by loading the webdataset format CC3M following open_clip, but since the dataset is too large I haven’t get the final result.

Hi! Can you successfully get the training code running?

Hi! I have this code correctly running by loading the webdataset format CC3M following open_clip, but since the dataset is too large I haven’t get the final result.

Thanks for your reply! I can't run the sample train code successfully with this error . It seems to be wrong with loading CC3M. Did you encounter and solve this problem?

Hi! Can you successfully get the training code running?

Hi! I have this code correctly running by loading the webdataset format CC3M following open_clip, but since the dataset is too large I haven’t get the final result.

Thanks for your reply! I can't run the sample train code successfully with this error . It seems to be wrong with loading CC3M. Did you encounter and solve this problem?

I think this is because you used CC3M as a csv format and the file cannot be recognized since the csv file of CC3M contains only the captions and the urls. My solution is to replace the data.py with the one in open_clip, and set the argument “—train-data” to the path where you download the webdataset CC3M, e.g.:
-current path
-cc3m
-00000.tar
-00000_stats.json
-00001.tar
-00001_stats.json
…
set to ./cc3m .
Since the code needs the number of samples in the dataset, I recommend to calculate it with the “successes” number recorded in the *_stats.json files of the downloaded dataset, since some of the samples may failed to be download due to one’s own network situation.

@Natsushiro Thanks for your suggestions. I think problem-solving has been further advanced! But I got new errors:
my directory's structure is here:
 root
   ├── cc_data
            ├── train ## training image directory: *.tar,*.json,*.parquet
            └── val ## validation directory.
  ├──  cc
            ├── Train_GCC-training_output.csv ## caption and url
            └── Validation_GCC-1.1.0-Validation_output.csv ## caption and url
  ├── ...

Firstly, I set —train-data by ./cc_data/train but I got error:

And then I tried to replace the data.py with the one in open_clip and set --dataset-type by "synthetic"
got this error:

Finally, I use original data.py and set --dataset-type by "directory" but got this error:

However, I have seen this:

Does that mean the code only can use jpg images?
And where the number of samples in the dataset is used?
If it is convenient for you, please send the contact information to this email address<EMAIL_ADDRESS>so that we can communicate efficiently!

@Natsushiro Thanks for your suggestions. I think problem-solving has been further advanced! But I got new errors: my directory's structure is here:
 root
   ├── cc_data
            ├── train ## training image directory: *.tar,*.json,*.parquet
            └── val ## validation directory.
  ├──  cc
            ├── Train_GCC-training_output.csv ## caption and url
            └── Validation_GCC-1.1.0-Validation_output.csv ## caption and url
  ├── ...

Firstly, I set —train-data by ./cc_data/train but I got error:  And then I tried to replace the data.py with the one in open_clip and set --dataset-type by "synthetic" got this error:  Finally, I use original data.py and set --dataset-type by "directory" but got this error:  However, I have seen this:  Does that mean the code only can use jpg images? And where the number of samples in the dataset is used? If it is convenient for you, please send the contact information to this email address<EMAIL_ADDRESS>so that we can communicate efficiently!

Sorry I made a mistake..The path should be like this: ”./cc3m/{00000..00XXX}.tar”(XXX being the number of shards of the webdataset you download). For the Namespace error, my solution is to add the corresponding arguments in src/param.py.

@Natsushiro Thanks for your suggestions. I think problem-solving has been further advanced! But I got new errors: my directory's structure is here:
 root
   ├── cc_data
            ├── train ## training image directory: *.tar,*.json,*.parquet
            └── val ## validation directory.
  ├──  cc
            ├── Train_GCC-training_output.csv ## caption and url
            └── Validation_GCC-1.1.0-Validation_output.csv ## caption and url
  ├── ...

Firstly, I set —train-data by ./cc_data/train but I got error:  And then I tried to replace the data.py with the one in open_clip and set --dataset-type by "synthetic" got this error:  Finally, I use original data.py and set --dataset-type by "directory" but got this error:  However, I have seen this:  Does that mean the code only can use jpg images? And where the number of samples in the dataset is used? If it is convenient for you, please send the contact information to this email address<EMAIL_ADDRESS>so that we can communicate efficiently!

Sorry I made a mistake..The path should be like this: ”./cc3m/{00000..00XXX}.tar”(XXX being the number of shards of the webdataset you download). For the Namespace error, my solution is to add the corresponding arguments in src/param.py.

I use this path”./cc3m/{00000..00XXX}.tar",but I met one problem like

I also encountered the same problem. May I know how to solve it? thanks.

@qqbangbangbang @1028Bjt Here is the solution~ If you find it useful, feel free to Star my repo~


 Please select an Android payload option: 3
[?] Please enter an LHOST value: <IP_ADDRESS>
[?] Please enter an LPORT value: 4444
[+] Android manifest permission options:
Keep original
Merge with payload and shuffle
[?] Please select an Android manifest permission option: 2
[+] Handle the payload via resource script: msfconsole -r backdoor-apk.rc
[] Generating RAT APK file...done.
[] Decompiling original APK file...done.
[!] Failed to decompile original APK file

#78


Sample notebook to submit Databricks tables to Purview

Hello,
Built on top of your super useful existing sample, this is a notebook that I created which reads Databricks tables (in the hive metastore) and submits them to Purview. I also incorporated some logic to detect deleted or renamed objects so it could be run on a schedule to update Purview. Let me know what you think and if you're willing to include it.
Thanks!

Wow!  This looks incredible! Let me take a deeper look on my databricks cluster. I think with this sample, there might need to be a databricks folder in the samples section?
Do you think the type defs belong in the notebook? I know my sample did it that way, but your notebook is WAY better.  I think @bsherwin had a good process in  metadataIngest with a separate register_typedef.py and a separate json file. It would be nice to make any future databricks samples AND when we have to update this to reflect the official Databricks types, it would be nice to do it in one spot.
Perhaps, you could add a /samples/databricks folder with this commit and do some refactoring with the existing sample to leverage the types / reference a "register_typedef" script?

Thanks, @wjohnson. Great idea. I will create a new folder and separate out the type defs.


add a security policy

added a security policy which can be seen here: https://github.com/mess-nlesc/kunefe/blob/45c3080810d5684ea696147b99724ff5e90b9a66/SECURITY.md


Status of the SPMRL⥋UD clitics morphological disambiguation issue ― identified in the CoNLL-2017 Shared Task

Hi,
Might you comment on the status of the second "bug" described in the CoNLL-2017 submission article, the one relating to expecting clitics to be represented as per the SPMRL convention rather than the Universal Dependencies one? Actually I'd not necessarily call it a bug, but a standards support aspect, but as long as the repo implies very standard Universal Dependencies as a source format, I'll accede to the exacting "bug" status implied in the article.
Was the code ultimately modified to assume clitics as separate syntactic elements, as implied in the article, or did the temporary remedy described therein in the article persist? or did you actually enable all of the modes as runtime options? (the three options possibly being dubbed SPMRL, UD with special out-of-standard indication, and something like strict UD).
Thanks for commenting!!

In commit 7a89b37 I added a parameter function (the MD projection in the paper) that modifies clitics. There is a command line option to select a parameter function, so I guess the answer is UD with a special out-of-standard indication.


FFTW hangs when planning multiple transforms

I noticed several other issues about FFTW hanging when either some racing condition happens, or in some fancy @generated or template code. However, my example does not have any of those, and may have a different cause. Multithreading is present here as well, though.
When I run this code:
using FFTW

FFTW.set_num_threads(3)
for i in [8, 16, 32, 64, 100, 128, 256, 500, 640, 1280] #|> reverse
    @show i
    a = zeros(i, i)
    @show size(a)
    p = plan_rfft(a, flags=FFTW.MEASURE)
    @show size(p)
end

julia hangs without any CPU activity after printing size(a) = (640, 640) - so, in the plan_rfft function. After interrupting it gives a very long stacktrace, the last lines are the following:
fftw_mkapiplan at /home/aplavin/.julia/artifacts/91707ee1baf86e9f971d587e5379ee3956a7c5e0/lib/libfftw3.so (unknown line)
fftw_plan_guru64_dft_r2c at /home/aplavin/.julia/artifacts/91707ee1baf86e9f971d587e5379ee3956a7c5e0/lib/libfftw3.so (unknown line)
rFFTWPlan at /home/aplavin/.julia/packages/FFTW/5DZuu/src/fft.jl:519
unknown function (ip: 0x7f2a74a3e2ab)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2145 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2323
#plan_rfft#19 at /home/aplavin/.julia/packages/FFTW/5DZuu/src/fft.jl:672
plan_rfft##kw at /home/aplavin/.julia/packages/FFTW/5DZuu/src/fft.jl:670 [inlined]
#plan_rfft#21 at /home/aplavin/.julia/packages/FFTW/5DZuu/src/fft.jl:694 [inlined]
plan_rfft##kw at /home/aplavin/.julia/packages/FFTW/5DZuu/src/fft.jl:694 [inlined]
top-level scope at /home/aplavin/work/work/julia/tmp.jl:8
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:813
jl_parse_eval_all at /buildworker/worker/package_linux64/build/src/ast.c:872
jl_load at /buildworker/worker/package_linux64/build/src/toplevel.c:877
include at ./Base.jl:377
exec_options at ./client.jl:288
_start at ./client.jl:484
jfptr__start_2075.clone_1 at /home/aplavin/julia-1.4.2/lib/julia/sys.so (unknown line)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2145 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2323
unknown function (ip: 0x401931)
unknown function (ip: 0x401533)
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x4015d4)
unknown function (ip: (nil))
Allocations: 4645100 (Pool: 4644194; Big: 906); GC: 6

Note that the issue is not due to some specific size not working: i.e. if I uncomment the reverse part, the script successfully finishes. But if the number of threads is set to 4, then the reversed order also hangs.
Any idea why this may happen?

Is this with JULIA_NUM_THREADS=1?  I've also been experiencing similar issues as this one, but never managed to reduce to a small example starting from my bigger problem.

I definitely want to use multiple threads for FFT computations - it scales pretty well to ~10 cores I have.
Interesting note about JULIA_NUM_THREADS however: if I set it to one the code no longer hangs! This seems really strange for me, because there is no julia-level threading in the code anyway. And I cannot easily give up on julia multithreading as well: while I call FFTs from a single julia thread, other parts of my code/script do use multhreading.

Interesting note about JULIA_NUM_THREADS however: if I set it to one the code no longer hangs! This seems really strange for me, because there is no julia-level threading in the example anyway.

This is my experience as well

I think this is the same as https://github.com/JuliaMath/FFTW.jl/issues/141

Right.  I'm closing this as duplicate of #141


Process asset as liquid when it has liquid extension, remove extension

Had this running locally for a bit, as Webstorm for instance will only give liquid completion when a file has a .liquid extension.
This PR will also open up liquid templating for all text files processed as assets.
I'm thinking about how and/if we want to enforce .liquid for pages too, but that is out of scope and might be handled if I ever get to implementing #34.

With this change, how do you get auto completion for .css files?
docs.css.liquid?

With this change, how do you get auto completion for .css files?
docs.css.liquid?

Editor plugins will take care of making sure that you get all your CSS auto completion & other features when working  in a .css.liquid file.


Refine the README.rst to make user/developer easy to know What is GraphAr

Is your feature request related to a problem? Please describe.
Current README of GraphAr is a little clumsy and incomplete. It is hard to help user/developer to know What is GraphAr.
Describe the solution you'd like

Clear and concise introduction of GraphAr.
Goals of GraphAr
Links to other documents (for advance reading)
Concise writing
Add Code of conduct

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

solved by pull request #64


Bump Branding Preference Management Version

Purpose

$Subject

Related PRs

https://github.com/wso2-extensions/identity-branding-preference-management/pull/17
https://github.com/wso2-extensions/identity-branding-preference-management/pull/19

Related Issues

https://github.com/wso2/product-is/issues/16837

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6583901249

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6583901249
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6604368898

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6604368898
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6608370688

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6608370688
Status: failure

Already bumped by https://github.com/wso2/product-is/pull/17091


Runelite not going fullscreen on 2nd monitor

When trying to put Runelite on my 2nd monitor, it won't take up all the screen space. It leaves an open space at the bottom as if there were a task bar there (but there isn't), and also small open spaces on the left and right hand side.
If I go into my taskbar settings in Windows and turn "Show taskbar on all displays" on and off again it makes runelite go full screen on my 2nd monitor as it should be, but only until I try and move the client again then it reverts back to the original problem.

Duplicate of #5153


SQLSetup: Subsequent runs using 'InstallFailoverCluster' Action fails

Details of the scenario you tried and the problem that is occurring
I'm using the SqlSetup DSC resource to install a multi-node SQL cluster. The primary node uses the InstallFailoverCluster Action parameter, while the secondary nodes use the AddNode Action.
This works fine on an initial install.
However, subsequent runs of the same code on the primary node fails.
The SqlSetup resource runs through its Test function and then reports that the FailoverClusterIPAddress 'is not in the desired state for this cluster.' Of course, it then starts the Set function. IMHO, it shouldn't. Even if SQL is now active on another node in the cluster, the Test should still return that everything is in the desired state.
The SQLSetup resource proceeds to execute the Set function, but then that fails because Set also runs a Test and they don't agree.
Note: My code also includes a DSC Script that adds the IPs on the secondary nodes assigned for the SQL cluster as dependencies on the SQL Network cluster resource.
e.g.:

FWIW, subsequent runs on the secondary nodes (AddNode action) works just fine.
Verbose logs showing the problem
FailoverClusterIPAddress is not in the 'desired state':
VERBOSE: [AUE1SQL001D]: [[SqlSetup]InstallPrimaryInstance] Clustered install, checking
parameters.
VERBOSE: [AUE1SQL001D]: [[SqlSetup]InstallPrimaryInstance] FailoverClusterIPAddress
'<IP_ADDRESS>' is not in the desired state for this cluster.
VERBOSE: [AUE1SQL001D]: LCM: [ End Test ] [[SqlSetup]InstallPrimaryInstance] in 5.5990 seconds.
VERBOSE: [AUE1SQL001D]: LCM: [ Start Set ] [[SqlSetup]InstallPrimaryInstance]

Set function fails because it doesn't match the Test:
PowerShell DSC resource MSFT_SqlSetup failed to execute Set-TargetResource functionality with error message:
System.Exception: Test-TargetResource function returned false when Set-TargetResource function verified the desired state.
This indicates that the Set-TargetResource did not correctly set set the desired state,
or that the function Test-TargetResource does not correctly evaluate the desired state.

Suggested solution to the issue
The DSC configuration that is used to reproduce the issue (as detailed as possible)
SqlSetup 'InstallPrimaryInstance' {
    Action                     = 'InstallFailoverCluster'
    ForceReboot                = $false
    UpdateEnabled              = 'False'
    SourcePath                 = '\\localhost\MSSQLmedia'
    # SourceCredential is only included to force the installer to first copy the media
    # to a local location. Installation from a remote share does not work consistently.
    SourceCredential           = $ADCredentials
    InstanceName               = $SQLInstanceName
    Features                   = 'SQLENGINE,Replication,FullText,DQ'
    InstallSharedDir           = 'C:\Program Files\Microsoft SQL Server'
    InstallSharedWOWDir        = 'C:\Program Files (x86)\Microsoft SQL Server'
    InstanceDir                = 'C:\Program Files\Microsoft SQL Server'
    SQLCollation               = 'SQL_Latin1_General_CP1_CI_AS'
    SQLSvcAccount              = $SQLPSCredentials
    AgtSvcAccount              = $SQLPSCredentials
    SQLSysAdminAccounts        = $DomainAdminUser, $SQLAdminUserAD
    # Using Cluster Shared Volume
    InstallSQLDataDir          = "C:\ClusterStorage\SQL"
    FailoverClusterNetworkName = $SQLClusterNetworkName
    FailoverClusterIpAddress   = $SQLClusterIP
    PsDscRunAsCredential       = $ADCredentials
    DependsOn                  = '[WindowsFeature]NetFramework35', '[WindowsFeature]NetFramework45', '[xSmbShare]MSSQLMedia'
}

SQL Server edition and version the target node is running
Enterprise Edition 14.0.1000.169 (2017)
SQL Server PowerShell modules present on the target node
Name      Version    Path
----      -------    ----
SqlServer 21.1.18147 C:\Program Files\WindowsPowerShell\Modules\SqlServer\21.1.18147\SqlServer.psd1
SQLPS     14.0       C:\Program Files (x86)\Microsoft SQL Server\140\Tools\PowerShell\Modules\SQLPS\SQLPS.psd1

The operating system the target node is running
OsName               : Microsoft Windows Server 2019 Datacenter
OsOperatingSystemSKU : DatacenterServerEdition
OsArchitecture       : 64-bit
WindowsVersion       : 1809
WindowsBuildLabEx    : 17763.1.amd64fre.rs5_release.180914-1434
OsLanguage           : en-US
OsMuiLanguages       : {en-US}

Version and build of PowerShell the target node is running
Name                           Value
----                           -----
PSVersion                      5.1.17763.503
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17763.503
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Version of the DSC module that was used ('dev' if using current dev branch)
SqlServerDsc <IP_ADDRESS> C:\Program Files\WindowsPowerShell\Modules\SqlServerDsc\<IP_ADDRESS>\SqlServerDsc.psd1

@kjhosein agree Test should run without problem on primary (first node) even if it is not the active  ode, this is a bug :)


"loadPaymentData error" Promise rejection from paymentRequest.show() with error message "8"

Hi, we're seeing users getting "loadPaymentData error" promise rejections from paymentRequest.show() with an error message of "8", which isn't particularly clear to debug/fix. We've got a screenshot of the error screen the user sees below

It looks like this error comes from:
https://github.com/google-pay/react-native-make-payment/blob/b8ea372b08dbc922db4607f1f07496407b08aad4/android/src/main/java/com/makepayment/MakePaymentModule.kt#L67
Trying to search online for Google error codes, I've found this, which suggests 8 = "INTERNAL_ERROR".
https://developers.google.com/android/reference/com/google/android/gms/common/api/CommonStatusCodes#INTERNAL_ERROR()

Does this "8" actually map to INTERNAL_ERROR, or something else?
Is there anything we can do about this error? The INTERNAL_ERROR docs suggest retries - would that be calling await paymentRequest.show() in a retry loop?
Would it be possible to improve the thrown error to include more information for debugging purposes (e.g. is there a reason we only get an "8" when the user is seeing an "RpcClientException", would we be able to add other fields to the error object e.g. an error.code)?

@max-nicholson are you able to reproduce this issue? or do you have a timestamp + user email so I can check our logs?


Certificate verification failing when Digital signature and TLS1.3 enabled

Problem statement:
It looks like MBEDTLS_PK_RSA is the appropriate key type when digital signing peripheral is in use.
But device chooses MBEDTLS_PK_RSASSA_PSS option and finally failing to sign/verify in the MBEDTLS_SSL_CLIENT_CERTIFICATE_VERIFY state. See the logs below for more details:
It seems ssl_preset_default_sig_algs is containing
MBEDTLS_TLS1_3_SIG_RSA_PSS_RSAE_SHA512
MBEDTLS_TLS1_3_SIG_RSA_PSS_RSAE_SHA384
and
MBEDTLS_TLS1_3_SIG_RSA_PSS_RSAE_SHA256  which is not really supported by DS peripheral.
Due to this server chooses this RSA_PSS option and this failure happening.
I (8944) mbedtls: IDF\components\mbedtls\mbedtls\library\ssl_tls.c:4525 client state: MBEDTLS_SSL_CLIENT_CERTIFICATE_VERIFY

I (8954) mbedtls: IDF\components\mbedtls\mbedtls\library\ssl_tls13_generic.c:1132 => write certificate verify

I (8964) mbedtls: IDF\components\mbedtls\mbedtls\library\ssl_tls13_generic.c:1093 CertificateVerify signature failed with rsa_pss_rsae_sha256

I (8984) mbedtls: IDF\components\mbedtls\mbedtls\library\ssl_tls13_generic.c:1095 mbedtls_pk_sign_ext() returned -16128 (-0x3f00)

I (8994) mbedtls: IDF\components\mbedtls\mbedtls\library\ssl_tls13_generic.c:1093 CertificateVerify signature failed with rsa_pss_rsae_sha384

I (9004) mbedtls: IDF\components\mbedtls\mbedtls\library\ssl_tls13_generic.c:1095 mbedtls_pk_sign_ext() returned -16128 (-0x3f00)

I (9024) mbedtls: IDF\components\mbedtls\mbedtls\library\ssl_tls13_generic.c:1093 CertificateVerify signature failed with rsa_pss_rsae_sha512

I (9034) mbedtls: IDF\components\mbedtls\mbedtls\library\ssl_tls13_generic.c:1095 mbedtls_pk_sign_ext() returned -16128 (-0x3f00)

W (9044) mbedtls: IDF\components\mbedtls\mbedtls\library\ssl_tls13_generic.c:1112 no suitable signature algorithm

I (9064) mbedtls: IDF\components\mbedtls\mbedtls\library\ssl_tls13_generic.c:1150 <= write certificate verify

I (9074) mbedtls: IDF\components\mbedtls\mbedtls\library\ssl_msg.c:5168 => send alert message

I (9084) mbedtls: IDF\components\mbedtls\mbedtls\library\ssl_msg.c:2943 => write record

I (9084) mbedtls: IDF\components\mbedtls\mbedtls\library\ssl_msg.c:935 => encrypt buf

I (9094) mbedtls: IDF\components\mbedtls\mbedtls\library\ssl_msg.c:1474 <= encrypt buf

I (9104) mbedtls: IDF\components\mbedtls\mbedtls\library\ssl_msg.c:2353 => flush output

I (9114) mbedtls: IDF\components\mbedtls\mbedtls\library\ssl_msg.c:2367 message length: 37, out_left: 37

I (9124) mbedtls: IDF\components\mbedtls\mbedtls\library\ssl_msg.c:2374 ssl->f_send() returned 37 (-0xffffffdb)

I (9134) mbedtls: IDF\components\mbedtls\mbedtls\library\ssl_msg.c:2401 <= flush output

I (9144) mbedtls: IDF\components\mbedtls\mbedtls\library\ssl_msg.c:3080 <= write record

I (9154) mbedtls: IDF\components\mbedtls\mbedtls\library\ssl_msg.c:5180 <= send alert message

I (9164) mbedtls: IDF\components\mbedtls\mbedtls\library\ssl_tls.c:4617 <= handshake

E (9174) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x6E00
I (9174) esp-tls-mbedtls: Certificate verified.
E (9184) esp-tls: Failed to open new connection
E (9194) transport_base: Failed to open a new connection
E (9194) HTTP_CLIENT: Connection failed, sock < 0

Used packages
ESP-IDF: v5.3.1
mbedtls build info: 3.6.0

This is the repository for the bare-metal Rust port of mbed-tls - you might want to open this issue here:
https://github.com/espressif/esp-idf


Lightbeam as alternative compiler

This heavily depends on dynasm for Rust, which I looked into for porting, but is quite some work to port.
It might be better to focus on one compiler, which would also keep the trusted code base smaller.
Since this compiler hasn't seen alot of development lately, I'll be closing this.


HTTP API /api/document - parameter silent will be ignored (3.2)

My Environment

ArangoDB Version:        3.2

Component, Query & Data
Affected feature:
HTTP API
Steps to reproduce

Create a collection
Call POST /_api/document/{collection} with silent == true

Problem:
The silent parameter for every route under /_api/document will be ignored. The document meta information will always be displayed.
Expected result:
I expect the result described in the docs:

silent (optional): If set to true, an empty object will be returned as response. No meta-data will be returned for the created document. This option can be used to save some network traffic.

Closing as fixed. The silent parameter works as expected in the latest release 3.4.5.
silent parameter use:
curl -X POST --header 'accept: application/json' --data-binary @- --dump - http://root@localhost:8529/_api/document/products?silent=true <<EOF
{ "Hello": "World1" }
EOF

HTTP/1.1 202 Accepted
X-Content-Type-Options: nosniff
Server: ArangoDB
Connection: Keep-Alive
Content-Type: application/json; charset=utf-8
Content-Length: 2

no silent parameter in use:
curl -X POST --header 'accept: application/json' --data-binary @- --dump - http://root@localhost:8529/_api/document/products <<EOF
{ "Hello": "World1" }
EOF

HTTP/1.1 202 Accepted
X-Content-Type-Options: nosniff
Location: /_db/_system/_api/document/products/32809
Etag: "_Yr5Ze1O---"
Server: ArangoDB
Connection: Keep-Alive
Content-Type: application/json; charset=utf-8
Content-Length: 60

{"_id":"products/32809","_key":"32809","_rev":"_Yr5Ze1O---"}


[Mobile] Holding down backspace with external keyboard does not continuously delete

I never noticed it before, but using built in iOS/Android keyboard you can hold down backspace and you will delete continuously, however with an external keyboard (or using keyboard on an iOS simulator) will only delete a single character if you hold backspace.
My wrist is starting to hurt :)

This appears to be fixed as part of a fix inside the Flutter framework 👍


Create JWT for each computation created to authenticate connection to /events endpoint

This is very similar to Thing Key in Magistrala - once Computation is created, then appropriate "Computation Key" is generated. This CK is then put in the Manifest and used by the Agent in the EOS to authenticate back in Computations service (i.e. Computations service will accept connections only from the Agent that has this Computation Key).

Closed since architecture was updated: https://github.com/ultravioletrs/cocos/issues/73


16717

Task name: HelmDeployV0
Description:Changed overrideValues to multiline
Documentation changes required: (N)
Added unit tests: (N)
Attached related issue: (Y) #16717
Checklist:

[x] Task version was bumped - please check instruction how to do it
[ ] Checked that applied changes work as expected - not sure how to do this outside of devops

@rohit-batra is this PR correct? First time contributing to this repo


Add pre-integration steps to "int-tests-config-file" profile in integration tests

If you run integration tests against an existing cluster instead of a docker cluster, some preparation steps are missed causing the tests to fail. Specifically, the client_tls folder has to be created with relevant *.jks files.

why should we need to run our tests with tls wouldn't it be nice to have the option to run without it?


Google search metatags - reference Oxford Brookes Research

The following information relates to the new UI/openEQUELLA. We understand that the new UI is not fully developed, however we´d like to share this on Github to help prioritize this issue.
It seems that (Google) search robots are not able to index openEQUELLA content in the new UI.
Feedback from Oxford Brookes:
"The 'page source' view of a record seems to show just javascript - again this might be intentional but I'm concerned what effect this has on Search Engine Optimization. Will Google index our pages as effectively when the page source looks like this on our updated Test system rather than its counterpart on our non-updated Production system? I'm guessing the  tags I added to help Google index our resources don't have any effect if the page source doesn't include them."
Yes, I've used them just as I have in the old EQUELLA 6.4. This is what the user-guide says:
In the Pre-load Javascript section, you can use the ‘meta’ script object to add custom meta tags, for example:
meta.add("description", xml.get("/item/description"));
This will add a new description meta tag to the page with the content of the items /item/description field. Now when Google indexes your page it will use this meta tag for the description it shows to users.
And this is what I've got in the Pre-load Javascript section of the Research collection:
meta.add("citation_title", xml.get("/item/name"));
meta.add("description", xml.get("/item/description"));
Please reference Edalex Support Ticket Number #101101

This has been completed and tested.

@NextEdServices NOTE: this was released in oEQ 2019.2.


toward for exceptionless runtime

due to reducing memory consumption, remove C++ exception.
currently, the following functions use exceptions

type checker

for type check error reporting

interpreter

for implementing exception handling

vm_test

for breaking interpter

type lookup api without exception in commit 8a7df1dab38c9805b521cdf0e9c38eddbc04f67e

remove exception from type checker in commit 713060f766621a413aab054e43a97641d2d1c4b7


Add Iris.iOS by @Neko3000

[x] Project URL: https://github.com/Neko3000/Iris.iOS
[x] Update contents.json instead of README
[x] One project per pull request
[x] Screenshot included
[x] Avoid iOS or open-source in description as it is assumed
[x] Use this commit title format if applicable: Add app-name by @github-username
[x] Use approved format for your entry

@Neko3000 thanks for contributing!


Is it possible to inject raw html?

Ideally to create screenshots on the fly when there are dynamic variables on the page.

You can evaluate js code which will add raw html to the page and then you can make screenshot. Could you explain more detailed what you want to do and where did you stuck?

Just a basic example. I want to render a page with the follow HTML. Right now i'm pulling from a local template.html file, but want to eliminate that and simply inject that code and render the page.
`

Hello World

`

Use evaluate method, you can change html code of the page as you want, just replace 'Hello World!' by your html:
$browserFactory = new BrowserFactory();
$browser = $browserFactory->createBrowser();
$page = $browser->createPage();
$page->navigate('https://google.com')->waitForNavigation();
$page->evaluate("document.getElementsByTagName('html')[0].innerHTML = 'Hello world!';");
// Make screenshot

i have a similar issue, i've generated a html using twig engine then i want to transform that html to a pdf file, but i can't inject it correctly using the solution before.
I got a page without styles.

@sergiosusa - this is what works for me. My current template also uses external style sheets.
$rawHTML =
Hello World
; $browser = $browserFactory->createBrowser(     	['windowSize' => [600, 600],         'enableImages' => true]); $page = $browser->createPage(); $page->evaluate("document.getElementsByTagName('html')[0].innerHTML = '{$rawHTML}';"); $screenshot = $page->screenshot([         'format'  => 'jpeg',  // default to 'png' - possible values: 'png', 'jpeg',         'quality' => 100       // only if format is 'jpeg' - default 100      ]);
I haven't tried with PDF, but maybe test with a simple screenshot to see if you're at least getting the correct styles.

@sergiosusa - Thought I had it working, but faced a similar issue. First I had to effectively minify the HTML (no new lines, line breaks, etc). Then I could pass the variable to add the new HTML on the page. MOST important, once the html has been added, I added sleep(5) to give the page time to re-render before taking a screenshot
$browserFactory = new BrowserFactory('chromium-browser');
$browser = $browserFactory->createBrowser();
$page = $browser->createPage();
$uri = file_get_contents('file://'.dirname(__FILE__).'/template.html');
$uri = preg_replace(array('/ {2,}/','/|\t|(?:\r?\n[ \t]*)+/s'), array(' ', ''), $uri);
$uri = addslashes($uri);
$navigation = $page->navigate("about:blank")->waitForNavigation();
$page->evaluate("document.getElementsByTagName('html')[0].innerHTML = '{$uri}';");
sleep(5);
$screenshot = $page->screenshot(['format'  => 'jpeg', 'quality' => 100 ]);

@moometric thanks for your answer, i've found a simple but not so elegant solution.
I've created a temporary file with the final html and use navigate function with file:// protocol.
$page->navigate('file://'.$htmlFilePath)->waitForNavigation();
and it works.
what do you think?

@sergiosusa - I was going to do the exact same, but personally it seemed clunky to keep (re)writing temp files. Maybe there will be an easier hook that can be added to do this.

I'm using data uri to pass along html (See https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) payload encoded as base64. works (for the time being; but I have the feeling this could easily break for large contents as it is passed through the url?) great for my use case.

Can't you just write a file to disk, then load it in the browser?

Can't you just write a file to disk, then load it in the browser?

I could, but using the data uri method spares me from handling temp files (creation, deletion ... ) 🤷♂

Data URIs are limited in length, so that won't work, in general.

Data URIs are limited in length, so that won't work, in general.

totally - I think it is somewhere around 32k - so it will (as mentioned) depend on the use-case. Having small html payloads and looking for as little boilerplate as possible it does the job for me - but as you and I pointed out; it isn't going to work for all situations.


pushed preferred join channels API down to fixed channel plan structs

As discussed, I refactored things to push the API down to the relevant structs and provided an example of usage in the docs.
The Error::UnsupportedRegion immediately drops out as the issue is resolved at compile-time with types.

I pushed another commit to remove one more error possibility: Error::UnsupportedChannel. This is done by an enum that exhaustively enumerates channels 0-71 making it impossible for the client to input unsupported channels.
Note that using ChannelMask<9> instead of heapless::Vec would allow us to remove the last error (ie: Error::ChannelListTooLong) since it would be possible to enable/disable all channels.

This blog spot came up on /r/rust this week. https://corrode.dev/blog/illegal-state/
It's similar to what I'm trying to do here. That is to say: restrict the public API as much as possible to make bad states impossible.

Closed as I've implemented something similar directly on the  join-biased branch. Thanks for the suggestion!


20000 epochs??!?!?

Thanks for the marvelous code again.
Did you really train  that wonderful AEGAN architecture for 20k epochs?!?!
I asked, because I saw 20k in the epoch variable in the default code you nicely provided:

My gtx 1060 is crying at the moment, after 2375 epochs.

Yup! It took about a week on my GTX 2080. Canadian winters are cold, but my GPU kept my office nice and toasty that week.

Yup! It took about a week on my GTX 2080. Canadian winters are cold, but my GPU kept my office nice and toasty that week.

Oh my!
No wonder my gtx 1060 only completed roughly 4000 epochs after a week!!
Much appreciated!


How to login using username and password

Describe the problem
My kodi configuration need the username and password for login.
Describe the solution you'd like
I want in the preference to input the username and password
Environment

Cast Kodi version 6.10.0
Firefox 107.0.1
Kodi version 19.4:
Kodi add-on version YouTube 6.8.18+matrix.1

Cast Kodi connects to Kodi with a WebSocket. For this type of connection, there is no username and password. You only need to enter the IP address of Kodi.


Removing All Orgs scope requirement on PAT for integrate-boards

integrate-boards used to require the ADO PAT to have the All Accessible Organizations setting, which some customers (e.g. any MSFT org) cannot choose due to security policies.
The reason this was required was the way we were calling the boards integration API's required us to pass in an Org ID, and the API's to retrieve an Org ID required that PAT permission.
Now we have a simplified way to call the boards integration API's that do not require the Org ID to be passed in.

[x] Did you write/update appropriate tests
[x] Release notes updated (if appropriate)
[x] Appropriate logging output
[ ] Issue linked

Took a very rough peek - do you plan to remove the calls to SPS APIs for fetching organization?

Took a very rough peek - do you plan to remove the calls to SPS APIs for fetching organization?

we do still use those in a legit way when you call generate-script without specifying an org, in that case requiring all orgs scope makes sense, because we do actually want to iterate over all the orgs the PAT can access


Added form_action as a tag parameter to forms

This is needed in cases where a form can be re-used in embeds or on AJAX loaded requests.
Related to this issue I think: https://github.com/devdemon/freemember/issues/78.

I'm not sure if this change handles issue #78 or not - in that issue, the goal is not to globally submit the form to an alternate URL, but to redirect the user to an alternate URL if there are validation errors.

@iainsaxon thanks for this

Exactly what I need!

Thanks @iainsaxon


Normalized discounted cumulative gain

this adds normalized discounted cumulative gain

I just checked this, and modified requirements.txt so that it includes torch 1.13, which supports vmap out of the box (no need for functorch anymore). Should be good for merging.


As a User, I want to make a random generated layout so that the maze won't be the same

I want a maze that is randomized every round/game
I want to make the maze medium sized
Make the tiles randomized
Makes sure it has a starting and end point

The random generated maze is a success


Add a List with command-overview to pop in

Value proposition
As a user,
I want to have an overview on my control-commands
so that i don' have to remember them
Description

Acceptance criteria

[ ] When button is clicked a card comes in from out-of-screen bottom direction
[ ] When card is up and top- or bottom-triangle is clicked, card goes down to out-of-screen
[ ] I can tap on the commands on the left, to get info-text on the right side of card
[ ] Other Elements cant be interacted with, while card is extended
[ ] Card comes and goes with a little rush-in animation

Complexity
Small
Tasks

[ ] Create branch
[ ] Create Button
[ ] Create MagicCard-Component
[ ] MagicCard contains a List and a section for text
[ ] text in section changes when click on other List-item
[ ] activated MagicCard is always above other elements
[ ] Write test for MagicCard
[ ] Write story for MagicCard

Hey Georg,
Nicely done. A few suggestions:

Hi Georg,
Nicely done! :) I have a few suggestions:

I would suggest rephrasing the value proposition as line 2 & 3 are almost the same... e.g.:

As a user,
I want to have an overview of my control-commands
so that I do not need to remember them

I am not quite sure what the following means: "... and can be toggled backwards" - Do you mean that with another click on the button will hide the MagicCard again? If so, looking at your scribble, I am wondering if only the little grey triangle will be the button to open the MagicCard. 🤔 Maybe you can rephrase it to make it a bit more clear.

Hello,
Thank you for your feedback: i tried to be more specific about the buttons in AcCr-text and added arrows for the toggle-back options in description-image. Hope this make it more understandable.


Fix #2284: Schnorr signatures misusage leaks private keys

Based on #2552
Only the last commit belongs to this PR.
This effectively changes the formula used for signing blocks, turning it upside-down:
Instead of offsetting the 'R' by the pre-image as a point,
we commit to the pre-image being the 's' of the signature,
and provide 'R' such as 'S == c * R + X'.
In order to find the adequate 'R' value, one has to know both 'x' and 'r',
as one may only derive CR from the known values, and CR cannot be divided by 'c'.
In the process of this change, the no-longer-used 'getCommitmentNonce' was removed.


[WIP] python-miio version bumped

Stability and compatibility improved.
WIP -> python-miio 0.3.7 isn't released yet! I will care about tomorrow at the very latest.

Fixes  #12481.

The release is done so this is good to go: https://pypi.org/project/python-miio/#history .