Is the project maintained?

Hello,
I've checked your project and it either:

Has specs failed with the latest Crystal (0.26.1)
Has no any specs to run so it cannot be validated to be up to date
Has the latest commit dated more than a year ago

Your project is in Awesome Crystal list, so I'd like to ask if the project maintained?
I'll initiate a PR to remove your project from the list if you don't respond positively within 7 days.
I'm sorry if I'm wrong, because I've been checking many shards with automated script.
Thanks,
Vlad.

Hi, @lucaong,
I'm not sure if https://github.com/veelenga/awesome-crystal/pull/351 will be merged, but I kindly ask you to follow it. I will drop your shards from the list of removed ones for now 😃


Build is failing

Looks like the build is failing on libssl dependencies (the release numbers have changed):
    libssl1.1==1.1.1k-r0 \
    libcrypto1.1==1.1.1k-r0

Will you tag version v0.0.4 (with structurizr 1.9.0) as the latest release?

Looks like the build is failing on libssl dependencies (the release numbers have changed):
    libssl1.1==1.1.1k-r0 \
    libcrypto1.1==1.1.1k-r0

Will you tag version v0.0.4 (with structurizr 1.9.0) as the latest release?

@ramondelafuente it's fixed now
Sorry for inconvenience.

No problem, thanks for the nice work 👍


Log random generator seeds on failure

Many parts of the testsuite simply use random sequences of numbers, which change from one run to the other. This may or may not be a smart idea, but it occasionally helped to find subtle bugs that I wouldn't have found otherwise.
However, the random generator seeds are never logged, which is a shame since the sequences triggering problems are sometimes a bit strange. It would be cool if it was possible to log the random generator seeds on failure, to reproduce the problematic cases. I wonder whether there is a mechanism in Catch (or doctest if we're to switch to it) to generate such a seed and log it on failure.
Also, it would be great if I could use something else than std::time(nullptr) for MinGW.

Looks like Catch's INFO macro does just that: show logs on failure, but do nothing on a successful run. Looks decent enough :)
On the other hand, logging only on assertion failure might be a problem when the error is actually a Valgrind error or a sanitizer error. INFO is probably better than not having any log at all, but won't solve every problem. I wish I could avoid having to log every random number seed just because of these tools...

Apparently, Catch has a Catch::rngSeed function to get the random generator seed passed to --rng-seed. It looks good enough to almost be usable, even though it apparently lacks a way to know whether --rng-seed has been passed to the command line.
Using this option would allow to have a single deterministic seed for the whole testsuite. Moreover, Catch logs the seed, which makes failures reproducible.


Create ADR for using cypress as a framework for e2e testing.

Purpose
Adds an ADR for the selection of framework for UI e2e testing - Cypress. Required by #419.
Does this introduce a breaking change?
[ ] Yes
[x ] No

Pull Request Type
What kind of change does this Pull Request introduce?
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[x ] Documentation content changes
[ ] Other... Please describe:

How to Test
N/A, just verify whether the ADR makes sense based on the pros/cons.

My initial thought was not to test the UI, but rather have something like pytest that was firing a rest call to ingest a file and then calling the various endpoints to check that files had hit storage, then check the index and then ask a question all over rest. Maybe we should align.


cmd/compile: add VBIC, VMVN instructions for ARMv8

On Go 1.17. A bunch of other SIMD instructions exist, but I don't see VBIC or VMVN.
Also, if there is an Adding New Assembly Instructions for Dummies guide, I'm more than happy to do the legwork.
/cc: @RuinanSun

Adding VBIC was mentioned in #40725
/cc @randall77 @cherrymui


[unity] naming of some files could be updated

There is still some RL Agent folder (=> actor) and controller file (=> actuator)
this is not very important

Solved https://github.com/huggingface/simenv/pull/216


OpenAPI schema with FastAPI >= 0.99.0

Since version 0.99 fastapi as upgraded to OpenAPI 3.1.0. This causes two problems.
Problem 1
The test that validates the specification (see here) has a hard-coded version of the specification. Moreover the skipif condition is broken when we get to version 0.100 because we only compare string.
Problem 2
In OpenApi 3.1 the key for security schemes must satisfy the following regexp "^[a-zA-Z0-9._-]+$". Name like "Azure AD - PKCE, Single-tenant" are therefore not valid name anymore.
I'll open a pull request that addresses part of Problem 1. When we get this through we can think more about problem 2

PR #143 partially addresses problem 1

Solved by #143


broken link

File: engine/reference/commandline/login.md, CC @mistyhacks
link https://docs.docker.com/security/security/#docker-daemon-attack-surface is broken

Fixed upstream


Remove unnecessary check for queue name

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes https://github.com/kubernetes-sigs/kueue/pull/588#issuecomment-1440675522 https://github.com/kubernetes-sigs/kueue/pull/588#discussion_r1114641290
Special notes for your reviewer:

/retitle Consolidate indexes in a single package

Squashed into two commits.


Connect to iRobot Create

Thank you @bennuttall for showing me this awesome library at picademy! I wanted to quickly propose an addition to gpiozero to allow it to interface with the iRobot Create (open interface). If it makes more sense for this to be a third-party library, let me know and I can create a repository for it and share the link instead.
The general idea behind connecting to the Create is quite simple, it uses the serial library:
connection = serial.Serial("/dev/ttyUSB0", baudrate=57600, timeout=1)

Here is the code snippet I was planning to run today:
import struct
import sys, glob
import serial
import time

for p in glob.glob('/dev/tty[A-Za-z]*'):
	print(p)

VELOCITYCHANGE = 200
ROTATIONCHANGE = 300

class iRobot:
	def __init__(self, port):
		self.connection = serial.Serial(port, baudrate=57600, timeout=1)
		self.direction = [False, False, False, False]
		self.sendCommandASCII("128")
		self.sendCommandASCII("131")

	def beep(self):
		self.sendCommandASCII("140 3 1 64 16 141 3")

	def stop(self):
		self.setDirection("none")
		self.motionChange()

	def wait(self, t):
		self.setDirection("none")
		self.motionChange()
		time.sleep(t)

	def setDirection(self, d):
		self.direction = [d == "up", d == "right", d == "down", d == "left"]

	def left(self, t):
		self.setDirection("left")
		self.motionChange()
		time.sleep(t)

	def right(self, t):
		self.setDirection("right")
		self.motionChange()
		time.sleep(t)

	def forward(self, t):
		self.setDirection("up")
		self.motionChange()
		time.sleep(t)

	def backward(self, t):
		self.setDirection("down")
		self.motionChange()
		time.sleep(t)

	def motionChange(self):
		velocity = 0
		velocity += VELOCITYCHANGE if self.direction[0] is True else 0
		velocity -= VELOCITYCHANGE if self.direction[2] is True else 0
		rotation = 0
		rotation += ROTATIONCHANGE if self.direction[3] is True else 0
		rotation -= ROTATIONCHANGE if self.direction[1] is True else 0

		# compute left and right wheel velocities
		vr = velocity + (rotation/2)
		vl = velocity - (rotation/2)

		# create drive command
		cmd = struct.pack(">Bhh", 145, vr, vl)
		self.sendCommandRaw(cmd)

	def sendCommandASCII(self, command):
		cmd = ""
		for v in command.split():
			cmd += chr(int(v))
		self.sendCommandRaw(cmd)

	# sendCommandRaw takes a string interpreted as a byte array
	def sendCommandRaw(self, command):
		try:
			if self.connection is not None:
				self.connection.write(command)
		except serial.SerialException:
			print("Lost connection")
			self.connection = None

		print(' '.join([ str(ord(c)) for c in command ]))

robot = iRobot("/dev/ttyUSB0")
robot.beep()
robot.forward(2)
robot.left(1)
robot.right(2)
robot.left(1)
robot.backward(2)
robot.stop()

Let me know if you have any questions or suggestions!

Looks good! IMHO it would be nice if the API you've developed here more closely matched the existing Robot class. This would involve removing the t (time) parameter from each of your existing methods, and your 'example script' would then become:
robot = iRobot("/dev/ttyUSB0")
robot.beep()
robot.forward()
time.sleep(2)
robot.left()
time.sleep(1)
robot.right()
time.sleep(2)
robot.left()
time.sleep(1)
robot.backward()
time.sleep(2)
robot.stop()

See also http://gpiozero.readthedocs.io/en/v1.2.0/recipes.html#robot
And if you can add the optional speed parameter to your forward/backward/left/right methods (with 0 representing stopped, 0.5 representing half-speed, and 1 representing maximum speed) then that'd be neat too. You could also add a value property, which returned the value of self.direction (although again it'd more closely match the existing Robot API if the value property returned a tuple of (left_wheel_speed, right_wheel_speed), with each speed being between 0 and 1 inclusive).
Maybe naming your class iRobotCreate would make it visually easier to differentiate from the existing  (generic) Robot class?

I think this is a good case for a gpiozero standard, so a new library can provide interfaces that match gpiozero ones.


MGDOBR-367 MC: Update OpenBridge to use Managed Connector staging env…

…ironment
MC: Update OpenBridge to use Managed Connector staging environment
Please make sure that your PR meets the following requirements:

[x] Your code is properly formatted according to this configuration
[x] Your commit messages are clear and reference the JIRA issue e.g: "[MGDOBR-1] - $clear_explanation_of_what_you_did"
[x] All new functionality is tested
[x] Pull Request title is properly formatted: MGDOBR-XYZ Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains link to any dependent or related Pull Request
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket

How to trigger pipelines and use the bots:

Run the end to end pipeline
Annotate the pull request with the label: safe to test. If you want to run the pipeline again, remove and add it again.

Rebase the pull request
Comment with: /rebase.

@lucamolteni Can you please adjust also:
https://github.com/5733d9e2be6485d52ffa08870cabdee0/sandbox/blob/main/dev/bin/manager-run.sh#L51
https://github.com/5733d9e2be6485d52ffa08870cabdee0/sandbox/blob/main/kustomize/overlays/minikube/manager/kustomization.yaml#L9


Modding dev stuff

Yo i was wondering if you would want to work on my mod with me

Hi, what kind of mod are you thinking of? I'm not very experienced in Java yet, so I might not be able to do much. Other than that shure.

Its a world gen mod in fabric


Manage folders alternates between two sets of folders upon refresh

Expected behavior
Refreshing folder list should display all folders on the server
Actual behavior
The client alternates between two sets of folders.
Folders that exist when the account was added to k9-mail and folders that were created/renamed afterwards.
With the first refresh I see all the "old" folders on the server. After the refresh I see only new folders and the old folders are no longer accessible through the folder navigation side-menu.
The refresh alternates between showing 7 folders, including Inbox and Outbox or 50 folders including Inbox and Outbox. Inbox and Outbox are the only folders that are always visible between refreshes.
Steps to reproduce
I'm not sure these will reproduce (i.e. I didn't test) but based on my diagnostic above

Add a new account to k9-mail
Create new folders on the mail server by using a different client (Thunderbird in my case)
Go to "manage folders" and refresh the list

Environment
K-9 Mail version: 5.713
Android version: 9
Account type: IMAP
Logs
I have omitted some folder names from the log for privacy reasons.
k9-log.txt
The log shows:
K9StorageEditor: Preferences commit took 19 ms
K9StorageEditor: Committing preference changes

These messages repeat in alternating numbers that seem to match the number of folders displayed.

I'm not sure I follow. Can you please add a step by step description of what you see (maybe provide screenshots) and what actions you perform?
Are you sure you're not changing which folders to display under 'Manage folders > Show folders…' or 'Account settings > Folders > Folders to display'?

My steps:

Manage folders > Show folders > All folders
Manage folders > Refresh folder list -> I see (folder names omitted):

Manage folders > Refresh folder list clicked a second time and I see:

Manage folders > Refresh folder list clicked a third time and I see the same as in 2.

Does that match the list of folders retrieved from the server (in the log)? Or is the list in the log identical each time?

The list of folders in the logs is identical every time.
The only thing that changes is the number of times the messages:
K9StorageEditor: Preferences commit took 19 ms
K9StorageEditor: Committing preference changes

are shown after the refresh.

Wondering also if this could be related to #4582 that happened before and the (export/import) workaround I used. Both errors concern the same e-mail account.

I have a similar issue

I believe I found the bug. Until a new version is released you should be able to use K-9 Mail 5.710 without this issue.

Thanks!


Not Working on Image busybox:1.28

I created a pod on my Kubernetes cluster and I found that k8tz did not work on image - busybox:1.28. If I change the version to busybox:1.34, then it works!!!
Below is the YAML file I tested.
apiVersion: v1
kind: Pod
metadata:
  name: tz-test
spec:
  containers:
  - name: tz-container
    image: busybox:1.34
    imagePullPolicy: IfNotPresent
    command: [ "/bin/sh" ]
    tty: true

Hi @TienShangHsiu,
The source of the problem is not busybox itself but in which C Standard Library it is built with.
Busybox is always built using 3 different libraries: uclibc, glibc and musl. Until very recently, the default buxybox image was the distribution built using uClibc. The problem is that uClibc only supports timezones in POSIX format. Compared to the format that k8tz provides which is TZif.
About 3 weeks ago, in version 1.34.1 of the busybox docker image, they changed the default library to glibc which supports TZif files.
When you ask for the 1.34 tag you get the latest version of 1.34 which is 1.34.1 and now it is built using glibc by default (1 => 1.34 => 1.34.1 => 1.34.1-glibc). But 1.28 is old and using uclibc by default (1.28 => 1.28.4 => 1.28.4-uclibc). You CAN use busybox 1.28 with glibc by specifying it explicitly by tag, i.e 1.28-glibc.
This is definitely a limitation of k8tz, but automatic translation between TZif files and POSIX timezones is not possible. Until recently there was information about it in the README but I deleted it because I felt it was written in an insufficiently comprehensible way. I think I should find a simple way to explain this and mention it in the README to avoid future confusion.

Hi @yonatankahana,
Thank you for the detailed reply. :-)


Serve desktop capture extension as a zip file and download directly

Currently the user has to go to a github repo to download the desktop extension, that is cumbersome due to how it's served in webui.
I want to present a popup with a clickable link which downloads the desktop extension directly as zip file.
Fixes #99

Closing due to age.


Adding my website

the webring is located at the bottom of the main page https://martinpetkovski.com/

Most things do not seem to work without javascript.

Most things do not seem to work without javascript.

This isn't true, pretty much everything on the website works without javascript, I tested it myself
The only things that don't work are the dropdown menu at the top, (the content inside is visible elsewhere on the page)

Oh, let me try again, maybe I had some other issue that made it hard to navigate.


Empty kubelet certificate file on agent restart

Downstream custom cluster (rke1)
Rancher version 2.4.11
I believe the rancher agent had an issue during a start/restart and left an empty kube-kubelet-IPHERE.pem file, leaving the node in a broken state. error observed was:
level=error msg="Error parsing old certificate PEM for [kube-kubelet-IP-ADDR]: data does not contain any valid RSA or ECDSA certificates

It'd be good if the rke or rancher agent could validate certificates on startup to prevent this situation.

Those certificates are under /etc/kubernetes/ssl and there is a cert/key pair for each node in the cluster.
If one is missing you can grab it from another node.
Had the same issue. This might help others that end up here :)


Optionally Run Language Servers/Extensions using Windows Subsystem for Linux

Similar to the request for #20220 but more general. Running the Windows version of Code from bash on Windows using WSL works really well. The problem with the set-up is that the language server and extension environment in code is using the Windows environment, but the terminal is using the WSL environment. These are essentially two different operating systems, different executables installed and configured.
It would be better to be able to configure VSCode on Windows to fork all processes using WSL (bash) rather than the native Windows command shell. This applies to language servers and other extensions.

@joewood when we fork a process, there is no shell involved at all. Are you talking about the integrated terminal maybe?

Without knowing too much about the language server implementation, I'm talking about running the language service/extension process under the bash shell using node.js installed under WSL. So this would mean using spawn or exec, rather than fork.
As implied here - bash -c node languageserver.js, and then use the I/O stream from WSL based process than the process events.
The alternative is to run the Linux version of vscode, and use a XWindows server on the Windows side. Something that I was trying to avoid.

@joewood ok and what would be the benefit of running the language service in a shell environment?

@bpasero You may look at my explanation of the problem with TSserver running in windows and if symlinks for packages are made in WSL - it won't work, it will not be able to access symlinks in WSL. When working with vscode packages should be linked in windows natively, but it makes impossible most of the operations with packages in WSL.

@bpasero To add to @whitecolor said, there are many reasons why a consistent editor environment should match the shell. At the moment building with one OS and editing in another introduces too many consistencies, technical challenges and roadblocks.

@joewood btw I use docker to run dev processes (installing deps, running node, etc), it allows to get rid of many problems, but if there is no need in complication like docker it causes troubles.

It might make sense to wait for this until Electron apps are better supported launching from WSL?

It might make sense to wait for this until Electron apps are better supported launching from WSL?

I think no, this doesn't relate. Because on it is ok to run vscode as normal windows app, but run the console and other terminal based tools (like git tasks, etc) in WSL.

@whitecolor I think it should all just work if the Linux app is launched from WSL. Special casing the Windows client to make a bunch of calls to Linux sounds like it would be difficult to cover all cases to me.

Well, need to see how VSCode will work launched from WSL.

I've still not managed running the Linux version of VSCode from WSL. The XWindows experience isn't great anyway for Electron apps, which is why I was hoping for a more native WSL experience using the Windows executable.

The XWindows experience isn't great anyway for Electron apps,

Yeah I too think it is not going to change anytime soon. So IDE UI will need to run nativly on windows, but there should be ability to run terminal/shell tasks using WSL.

This feature is very important in my opinion, actually making dev environment like Go, Rails, Python and others on windows is terrible comparing to Linux/OSX - all stuff should be based on VSCode + WSL, without installation native windows versions.

Hello,
in the meantime I tried to write a powershell script as a hack/workaround for this:
https://github.com/giovdk21/wsl-bash-tools
It's pretty ugly, but I tested it with the insider version of VSC (1.14.0-insider) and it seems to work fine with solargraph and it can also be used to run custom tasks. I included some sample config files in case you want to give it a go.
Please note that if the script thinks an argument is a windows path it will convert it to the equivalent Linux path for WSL. This is needed for example by solargraph as it passes the URL of the view to the server when displaying the ruby documentation ("Search Ruby Documentation").

@giovdk21 Tried running one of the sample tasks from the repository with your workaround in VSC 1.14.0 and couldn't figure out why it doesn't work. Am I missing something?
> Executing task: C:\dev\utils\wsl-bash-tools\wsl-bash-run.bat uname -a <

& : The term 'C:\Windows\System32\bash.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At C:\dev\utils\wsl-bash-tools\wsl-bash-run.ps1:21 char:7
+     & C:\Windows\System32\bash.exe -c "$args_str"
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Windows\System32\bash.exe:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Running C:\dev\utils\wsl-bash-tools\wsl-bash-run.bat uname -a in cmd.exe works as expected.

Hi @octotot ,
could you please post this as an issue/question on https://github.com/giovdk21/wsl-bash-tools/issues ?
thanks

This feature request wasn't something I appreciated until I started using VSCode for stuff outside of Node/JS/Typescript. With NodeJS, you have a decent Windows runtime you can use. And dependencies (node_modules) are generally colocated in the same directory for both WSL and VSCode.
Those things are not always true for other languages. Sometimes there is no proper Windows build for a language's compiler / interpreter. Or package dependencies live in odd locations that aren't shared between the WSL runtime and the Windows runtime for some language, which means you generally have to do a lot of messing around symlinks and environment variables to get everything to play nice. Or sometimes the Windows version of a dependency is completely different from the WSL version (e.g. the packaging tool downloads a binary rather than source), so you have to install each dependency twice (once on WSL and once on Windows).

I want Windows 10 to be a better OSX for developers than what OSX provides. Presently WSL + VSCode is slightly below parity to VSCode + OSX. This issue, when integrated will, to my mind, set the two at parity.
The bar of user expectation is set by Linux and OSX both of which provide a principle-of-least-surprise-compatible model of a shell environment that is a natural subsystem bearing the GUI tools. Much like IE and Win95, their integration is a competitive advantage. Right now this split between VSCode + WSL or VSCode + Windows serves to weaken the developer perception of the stability of the platform. Given the hassle, why not just stick with OSX or Linux?
This issue is the blocker in my, and others' I'll wager, re-adoption of the Windows platform for development. One clear decision, an abstraction, and then everything can fall into place! Guide us, O sages!

Still waiting for this feature!

yep, still waitin'

This is my biggest blocker for vscode on Windows being a good development environment.

I want to do all my development in windows using WSL for the better tooling experience, bash, etc.  Having to use vscode on a linux vm is just annoying when the same app is installed on windows ready to go.

This would make Ruby development on WSL so much easier!

Yep, after years of happily developing web/Node/Linux software using OSX, I'm back on Windows because Apple screwed up their hardware platforms and Microsoft's Surface is the hardware I need.
But the developer experience isn't quite there yet. With Microsoft very publicly focusing so much energy on developers and especially trying to bring non-Windows devs into the fold, the Microsoft UX team needs to sit down with some folks that really like developing on Linux and OSX and bring the learning back to Windows. WSL and VS Code are HUUUGE improvements already!
But fixing this particular issue would make my life better EVERY DAY. 😃

+1 Here. Same boat. Love the progress so far. This would make life great for people who want to stick with Linux tools.

For me this issuer is the only problem blocking Windows become my development environment, Installing every language tools twice in WSL and Windows is really annoying.

I'm extremely happy that this is being looked at. Those contributing to wsl are a true godsend.

We just announced remote development with VS Code, check out the blog post for details https://code.visualstudio.com/blogs/2019/05/02/remote-development

Wow, this is great and a game changer. The container support is exactly what I hoped this WSL request would lead. Big thanks to the team!

Excited to try it out, finally makes code more than a text editor!


[filer.copy] argument -collection not taken into account when passed after directory to copy.

Describe the bug
on a fresh cluster I've launched a command filer.copy with a collection parameter but the files were is the collection ""
weed -v 4 filer.copy  ../../Music/* -collection music http://xxx.xxx.xxx.xxx:8888/collections/music/
(copy in progress)
...

weed shell -master xxx.xxx.xxx.xxx:9333
> collection.list
collection:""
Total 1 collections.

System Setup

config: 3 masters, 3 volumes servers (connected to all masters), 3 filer (connected to all masters and connected to other peer)
List the command line to start "weed master", "weed volume", "weed filer", "weed s3", "weed mount".

masters: weed -v 2 master -mdir /opt/seaweedfs/weed.domain.tld/master -port 9333 --peers ip-1:9333,ip-2:9333,ip-3:9333 -defaultReplication 001
volumes: weed -v 2 volume -dir /opt/seaweedfs/weed.domain.tld/volume -dataCenter=DefaultDataCenter -rack=DefaultRack -mserver ip-1:9333,ip-2:9333,ip-3:9333
filers: weed -v 2 filer -dataCenter=DefaultDataCenter -rack=DefaultRack -master ip-1:9333,ip-2:9333,ip-3:9333 --peers ip-1:8888,ip-2:8888,ip-3:8888 -encryptVolumeData

OS version: Linux ubuntu 18.04
output of weed version: 2.15
if using filer, show the content of filer.toml: empty

Expected behavior
Have the collection set for file transfered.

Actually the order of argument matters so -collection ... has to be passed before the directory.
It's a bit misleading the command silently discard it.

I added a fix to show error a little bit more obviously.


Deploy Keycloak and required cloud components using Pulumi

User Story

As a platform engineer I want to be able to deploy and evolve a Keycloak service using Pulumi

Description/Context
Keycloak depends on RDS as a backing store and is otherwise a 3-tier application that we can put behind a load balancer as part of an auto-scale group. This should run in the Operations VPC.
Acceptance Criteria

[ ] There is a Pulumi project for deploying Keycloak as an infrastructure service
[ ] There is a Concourse pipeline for automatically building updated Keycloak images and deploying to relevant environment stages

The project that manages the Keycloak objects would likely go into the substructure namespace since it works against the underlying Keycloak infrastructure.

The elements that we would want to focus on first include:

[ ] Determine what boundaries and grouping we want for different realms

[ ] Ops services (e.g. Vault, Consul, maybe eventually Boundary or similar?)
[ ] Data services (e.g. Airbyte, Dagster, Starburst, etc.)
[ ] Applications (e.g. MITx Online, OCW, MicroMasters, xPro, OVS, etc.)

[ ] Configure connections to identity providers

[ ] GitHub
[ ] Touchstone
[ ] LDAP?

[ ] Determine what roles we want defined for each realm


Dynamic Linking Error,  unsupported file type error

I saw similar errors here in this issue tracker and on stackoverflow, but I didn't see any that had the same error code "unsupported file type error" or that solved the linking error. Here is the error code...
/usr/local/www/nginx-dist/node_modules/ffi/lib/dynamic_library.js:74
    throw new Error('Dynamic Linking Error: ' + err)
          ^
Error: Dynamic Linking Error: /usr/lib/libHelloWorld.so: unsupported file type
    at new DynamicLibrary (/usr/local/www/nginx-dist/node_modules/ffi/lib/dynamic_library.js:74:11)
    at Object.Library (/usr/local/www/nginx-dist/node_modules/ffi/lib/library.js:45:12)
    at Server.<anonymous> (/usr/local/www/nginx-dist/server.js:8:25)
    at Server.emit (events.js:98:17)
    at HTTPParser.parser.onIncoming (http.js:2113:12)
    at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:122:23)
    at Socket.socket.ondata (http.js:1971:22)
    at TCP.onread (net.js:528:27)

and the library...
#include "helloWorld.h"
#include <stdlib.h>
#include <string.h>

int helloWorld(char **response)
{
    int rtrn;

    rtrn = asprintf(response, "hello world!");
    if(rtrn < 0)
    {
        return -1;
    }

    return 0;
}

header..
#ifndef HELLO_WORLD_H
#define HELLO_WORLD_H

#include <stdio.h>

/* Test function. */
extern int helloWorld(char **response);

#endif

and here is the flags I used to compile it...
-c -fpic -Wall -Werror -Weverything -Wno-deprecated-declarations -g -fstack-protector-all -O3 -Wno-newline-eof -Wno-padded

this is the node app, it crash when you use a browser to go to http:putInYourIpAddr:8888.
var http = require("http");
var ffi = require("ffi");
var ref = require('ref');

http.createServer(function(request, response) {
  var callLibrary = ffi.Library('libCallApi', {
    "helloWorld": [ 'void',  [ 'charPtrPtr' ] ]
   });

  var string = ref.alloc('int');
  callLibrary.helloWorld(string);
  var actualString = string.deref();
  response.writeHead(200, {"Content-Type": "text/plain"});
  response.write(string);
  response.end();
}).listen(8888);

This was compiled and ran on freebsd 10.1 x64 and my node is x64 according to node -pe "process.arch", I saw that was causing other people problems, but the architectures for the binary, the node app and the library match up.  I am unsure of whats wrong and any help would be appreciated.

This issue is not realted to ffi library, because its use dlopen system call to load libraries. If it fails with the error of the above, that means something wrong with the library, maybe it compiled with inapropriate flags. See: http://marc.info/?l=freebsd-hackers&m=94347318602761
I suggest that create a C project and reference your library with dlopen, and see if the error result gives something more accurate.


Setting all the optimizers to have useLocking = True

I'm running into determinism issues when training models using TF-Java. This is one area which could be causing it, as in TF 2 all the optimizers have useLocking=true. We don't currently set this in TF-Java, and I'm worried the code path is degrading (as it says the behaviour may be undefined but faster with useLocking=false).
This doesn't resolve my non-determinism issue completely, but it seems a little better.
I've added a test to GradientDescentTest which checks that the models produced are identical. This test fails randomly, for two reasons, both of which are confusing. First it seems like when we fetch the weights from a model, we get a pointer to the weights, not a copy of them. This means that when they are trained the "copies" I'm saving out as the initialized ones are being updated. Second, and this is the real issue, the gradient updates can be different on identical models for identical data, for no apparent reason. I think this is happening somewhere in the C API, as I can't see where it could be happening in our code and the models use identical GraphDefs.

@Craigacp can you please rebase once more so we can give the quick-build another try?

Done.

Looks like everything passed this time.

I'll clean up the test on Monday, and split it into two. There should be one test for the outputs returning a reference rather than a copy of the weights (as this might allow you to mutate the weights directly, which seems bad), and that test which just checks the gradient behaviour.
It's all conflated in that single test as I spent hours trying to figure out what was going on, so it has got all the print statements and other stuff necessary for me to track it down.
I'll clean up the formatting issues at the same time.


Geekbench version detection is broken

Brief description of your issue
Part of the issue is that as of today (11/21/23) Geekbench 6.0 through 6.2.1 has a bug in the installer where it fails to register any version number with Windows. (tried to reach out to the developer multiple times about the installer bug but no response)
WinGet is stuck on an older version of Geekbench 6.1.0 when there are newer version as can be seen in the release notes page https://www.primatelabs.com/release/geekbench6/
Steps to reproduce

winger upgrade -- include unknown

Expected behavior
Show the current version and able to detect it
Actual behavior
Stuck on an old version 6.1.0 (also partly due to a bug in Geekbench installer)
Environment
WinGet 2023.1122.238.480
Win 11 23H2 with all updates installed
Geekbench 6.2.1

I have tried a few times to reach out to the developer of Geekbench but never got a reply.  Have also reported it to Microsoft via the Feedback Hub.


Bold formatting does not work

From https://developercommunity.visualstudio.com/content/problem/72537/text-editor-does-not-apply-bold-for-python.html
Text Editor does not apply “Bold” for Python.
I've found many inconsistencies with Python in VS2017. One of those is that the text editor does not apply "Bold" options for python displayed items. For example, I go to "Tools > Options > Font and Colors > Display Items". Then I select “Python Builtins”, check “Bold”, and click "OK". And nothing changes. It occurs with all python “Display Items” options, except with “Python Operators”. Version: VS Enterprise 2017 Version 15.2 (26430.14) Release

This appears to be because we apply multiple classifications (typically "Identifier" first, and then the more specific one), and the higher priority one does not override "Bold" correctly. If we stop classifying names as identifiers, then it works, but then you can't change the identifier colours.
I suspect this needs to go to the editor team.


Fix validation clientid

Hey,
i think i found a bug in this functions.
if you call the function direct (not over the method "SetClientId"), no client id is specified.
Maybe you know a better way to solve it?
Problem:
I want to check my clientid.
Your method "MakeGetRequest" checks for clientid or oauthkey and when both are not provided, your lib throws an exception.
You have to set the ClientID first and then make the request.

I'll review this later tonight, but I think you might be correct.

Ok, after having reviewed a bit, I think the current code is correct.
ValidClientId called directly simply checks if a client Id is valid or not, it does not assign it or anything like that. If you are looking to set the client Id and use validclientid to check it, you should call:
SetClientId("client_id_here");
This will set the client id in memory, and also call ValidClientId() on it.

Ok, so i will set the client id without verification and then check the clientid to get the bool.
You can close this.

SetClientId() by default will throw an exception if the client id is invalid. So, just catch the exception from SetClientId()


I type lime rebuild extension-webm windows and Error: Uncaught exception on main thread: [file_open,../ndll/Windows64/extension-webm.ndll] pops up. This is windows.

I have been trying to find a fix for a month and a half. I have searched through bug reports and youtube videos and still no fix.

NVM. I just had to go to an older version of the engine.


Create 2.6.5 release

AFAIK, there have been some important bugfixes in the 2.6.x branch. I suggest to release Symphony 2.6.5

+1 for a 2.6.5-release for christmas :)
@nitriques - do you think about updating export ensemble before releasing a new version/bundle? Thank you!

Yes! I planned it before x-mas, but could not afford the time to do it properly.
I will try to do it ASAP.

Here are the steps that needs to be made so you guys can follow my progress :)

[ ] Create a new migration for the new version, eg. 2.6.5 which should implement getVersion and getReleaseNotes methods
Update the version constant in the project:
[ ] package.json
[ ] composer.json
[ ] .htaccess (optional)
[ ] install/index.php
[ ] install/includes/htaccess.txt (optional)
[ ] LICENCE (optional)
[ ] symphony/assets/js/src/symphony.js (optional)
[ ] Update the README.md file, replacing the version constant and updating any metadata as required
[ ] Create a commit, usually Release 2.6.x and push to the corresponding branch. Testing at this point is recommended!
[ ] Checkout the master branch and merge in the 2.6.5
[ ] Create an associated tag for the release, eg. 2.6.5
[ ] FIx bundle download
[ ] Generate doc
[ ] Upload doc

Let me know if you want a hand with this. We need to get this out ASAP.

Let me know if you want a hand with this.

I should be ok with most of it thanks! The biggest problem is with the current download button on getsymphony.com which always points to the master branch (instead of the uploaded version)

@brendo Could you generate and upload the doc for 2.6.4 since I can't do it ? And maybe the same for 2.6.5 .. ?

Done for 2.6.4. I'll do 2.6.5 once it's released.

I should be ok with most of it thanks! The biggest problem is with the current download button on getsymphony.com which always points to the master branch (instead of the uploaded version)

Don't stress about this. No one has noticed it for several years!

what do you think about updating moment.js which is currently on v. 2.10.6 while symphony still has 2.9.0
https://github.com/symphonycms/symphony-2/blob/master/symphony/assets/js/lib/moment.min.js

I think it's a good idea so long as there are no breaking changes
On 29 Dec 2015 6:56 PM, "Kruno H"<EMAIL_ADDRESS>wrote:

what do you think about updating moment.js which is currently on v. 2.10.6
while symphony still has 2.9.0
https://github.com/symphonycms/symphony-2/blob/master/symphony/assets/js/lib/moment.min.js
—
Reply to this email directly or view it on GitHub
https://github.com/symphonycms/symphony-2/issues/2535#issuecomment-167750359
.

This needs to go out this week. #2522 is a fairly poor experience for users and with the new year there may be new users evaluating us for the first time. This isn't a great first impression.

@brendo I'd like to do it tomorrow.  If you feel like it's urgent and want to do it, please go ahead.

@brendo It's out! Would you mind generating the doc and uploading it please ?

It's out! http://www.getsymphony.com/download/releases/version/2.6.5/

Great, thank you very much!

My pleasure :)

Thank you very much for releasing 2.6.5 Nicolas...

updating export ensemble for @twiro :)

...and updating export ensemble especially for me ;)
I do hope others benefit as well :)

Hehehe I like to make things personal ;)


Version Error: (404 Not Found) for url (<...>/v0.30.6)

When running the proxy I get the error message:
Encountered an error:
 Failed to download mod

Caused by:
   0: while getting release for tag Tag("v0.30.6")
   1: Failed to get release by tag from https://api.github.com/repos/IntQuant/noita_entangled_worlds/releases/tags/v0.30.6: response returned an error
   2: HTTP status client error (404 Not Found) for url (https://api.github.com/repos/IntQuant/noita_entangled_worlds/releases/tags/v0.30.6)

Location:
    src/bookkeeping/releases.rs:234:48

I have the latest Game version

I am on nixos, to run the program I compiled the proxy myself.

Apparently the latest commit (8d40e2f0f9b2330869de5387517ce1f78dc621b8) caused the error. I don't know why the version was bumped, when there is no new release, but I suggest either reverting the change or uploading the newest release. At least for me, reverting the change fixed the issue.
PS: Based on the commit message, it seems, that the commit was automated. Maybe the usage of GitHub actions, to compile the proxy and automatically release the binary could prevent this type of error in the future.

I can't use the binaries, because I am on NixOS. To run executable, you either have to search a package, package the software yourself, or compile the executable yourself. I tries to package it myself, without much luck, because of many wayland issues and therefore resorted to building it myself.

yeah but doesn't mean you have to build from master

@mobergmann
I also use nix. I created a flake here.
I launch it like this
launch_noita_srv /nix/store/sqhxm5i51nfqsr9qfim4gw43gy6k17mq-source/proton

Explanation
The binary produced requires some patching to work. If I try to make it an FHS emulated env, gpu drivers justifiably fail to load when the application in the FHS environment tries to launch the game. The default launch command tries to run steam's _v2-entry-point program to launch the application inside of the "steam container" that the proxy program starts, which it wants to do to connect with the steamworks client? Anyhow, there's some funky patching going on with nixpkgs' steam wrapper, so it's easiest just to run the whole launcher command with nixos' steam-run command which will handle all of the dependencies.


Remove api parser rebuild step

Remove steps to rebuild ts-genapi  api parser. Installed package location has all required scripts.

Fixes https://github.com/Azure/azure-sdk-tools/issues/5277


strip null bytes from pathname

Describe the change
Strips null bytes from path names
Why are we doing this?
In stympy/faker, we were getting null byte errors during our CI tests, with the errors raised from within tty-tree. This is hopefully a patch to fix these issues
Benefits

Allows tty-tree to gracefully handle null bytes in path names

Requirements
Put an X between brackets on each line if you have done the item:

[X] Tests written & passing locally?
[X] Code style checked?
[X] Rebased with master branch?
[X] Documentaion updated?

Coverage increased (+0.004%) to 99.533% when pulling d2931d172e7a5e5f3698fb64d2dbf1f384a75ad6 on Zeragamba:strip-null into 42229ad24e0fa8abc40266f8bde591e542d23dda on piotrmurach:master.

Coverage increased (+0.004%) to 99.533% when pulling d2931d172e7a5e5f3698fb64d2dbf1f384a75ad6 on Zeragamba:strip-null into 42229ad24e0fa8abc40266f8bde591e542d23dda on piotrmurach:master.

Thanks ❤

Released v0.3.0 with your patch.


can this Run in a distributed fashion? Does it have learning benefits like Apex

Thank you for this work. I had this question.

  config.task = 'atari_Breakout'
  config.envs = 1
  config.parallel = 'none'
  config.action_repeat = 2
  config.time_limit = 1000
  config.prefill = 5000
  config.eval_noise = 0.0
  config.clip_rewards = 'none'

can you explain this a bit, cause even when i run with config.parallel = 'none' there seems to be parallel processes running it uses all the cpu but not much gpu . is this the normal behaviour?
Mon Mar 23 14:55:03 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 410.104      Driver Version: 410.104      CUDA Version: 10.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 108...  Off  | 00000000:06:00.0 Off |                  N/A |
| 28%   50C    P8    17W / 250W |    304MiB / 11178MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0     24508      C   python3                                      147MiB |
|    0     25486      C   python3                                      147MiB |
+-----------------------------------------------------------------------------+

I feel that this means the whole thing is running on CPU and not the GPU

  config.task = 'atari_Breakout'
  config.envs = 16
  config.parallel = 'process'
  config.action_repeat = 2
  config.time_limit = 1000
  config.prefill = 5000
  config.eval_noise = 0.0
  config.clip_rewards = 'none'

Changing config.parallel = 'none' --> config.parallel = 'process' results in this error
Traceback (most recent call last):
  File "dreamer.py", line 463, in <module>
    main(parser.parse_args())
  File "dreamer.py", line 422, in main
    actspace = train_envs[0].action_space
  File "/home/arunavo/Pairs-Trading/dreamer/wrappers.py", line 395, in action_space
    self._action_space = self.__getattr__('action_space')
  File "/home/arunavo/Pairs-Trading/dreamer/wrappers.py", line 402, in __getattr__
    return self._receive()
  File "/home/arunavo/Pairs-Trading/dreamer/wrappers.py", line 436, in _receive
    message, payload = self._conn.recv()
  File "/usr/lib/python3.6/multiprocessing/connection.py", line 251, in recv
    return _ForkingPickler.loads(buf.getbuffer())
  File "/home/arunavo/Pairs-Trading/dreamer/wrappers.py", line 306, in __getattr__
    return getattr(self._env, name)
  File "/home/arunavo/Pairs-Trading/dreamer/wrappers.py", line 306, in __getattr__
    return getattr(self._env, name)
  File "/home/arunavo/Pairs-Trading/dreamer/wrappers.py", line 306, in __getattr__
    return getattr(self._env, name)
  [Previous line repeated 328 more times]
RecursionError: maximum recursion depth exceeded while calling a Python object

@arunavo4 , maybe it is caused by CUDA version. Tensorflow 2.1.0 only supports CUDA 10.1.
After changing the CUDA version, the code runs smoothly on my machine.

There are some features that should allow to interact with a vectorized environment. In this case, the agent receives a batch of inputs and produces a batch of actions. The environments are stepped in sync but in parallel, either each using a thread or process. However, this isn't a well tested feature and I can't provide much support for it.
In practice, I've found the computational bottleneck to be training the world model and not environment interaction, so I haven't tested vectorized acting much.

@danijar So you are saying that leaving it to the default is the best way to train it?

@IcarusWizard Did you try with arati? and was you GPU being utilized? I am in the process of upgrading to new cuda I will let you know if i make progress

@arunavo4 It works on Atari too, and GPUs are utilized. You just need to pass additional arguments like --action_dist onehot --expl epsilon_greedy to run on discrete mode.

@IcarusWizard Thanks a lot now it finally works! Now it uses the GPU very well.

Exactly, those are the necessary flags for discrete actions. You may want to tune some of the other hyper parameters for Atari as well (e.g. kl_scale and deter_size). I will update the repository at some point with my Atari configuration. I'm still working on some details for this.

@IcarusWizard Thanks a lot now it finally works! Now it uses the GPU very well.

Hi! I cannot run dreamer on the GPU too, can you share some tips about it?

@IcarusWizard Thanks a lot now it finally works! Now it uses the GPU very well.

Hi! I cannot run dreamer on the GPU too, can you share some tips about it?

Just make sure you use exactly Tensorflow 2.1.0 and CUDA 10.1.


Add Velocity Template Language support

Description

This should add support for velocity templating language.

Velocity is a Java-based template engine. It permits anyone to use a simple yet powerful template language to reference objects defined in Java code.

Checklist:

[ ] I am adding a new language.

[ ] The extension of the new language is used in hundreds of repositories on GitHub.com.

Search results for each extension:

https://github.com/search?utf8=✓&type=Code&ref=searchresults&q=extension%3Avtl+KEYWORDS+NOT+nothack

[X] I have included a real-world usage sample for all extensions added in this PR:

Sample source(s):

header.velocity
index.vtl

Sample license(s):

[x] I have included a syntax highlighting grammar: https://github-lightshow.herokuapp.com/

Preview 1
Preview 2

[ ] I have updated the heuristics to distinguish my language from others using the same extension.

I don't think there are any extension collisions so probably alright.

[ ] I have obtained agreement from the wider language community on this color change.

I tried to make it the same colour as the logo (#37379b, #2a497e or #093a6b)  so settled for #507cff instead . Can ask around to get it right.

Bump.

Is this ready to undraft?

Is this ready to undraft?

Only took me a couple of centuries :laughing:, I think this should cover it but it was a while so I'll recheck the template/actions will need rerunning.


Torus Web3 Type Error

Type error in 'onboard/src/modules/select/wallets/torus.ts(102,40)'. Exported web3 type from Torus is incorrect and does not define an index to select on in the web3.eth.accounts array.
Specific Error :
Element implicitly has an 'any' type because expression of type '0' can't be used to index type 'Accounts'.
Property '0' does not exist on type 'Accounts'

@YZhenY We have locked the Torus Embed version at 1.8.2 as there seem to have been some breaking changes (sych as removing web3 from the Torus instance) that have been included in subsequent minor releases and it also seems that the types have changed as well.
When you get a chance could you create a PR that:

Updates the Torus version to the latest version
Updates the Torus Onboard module to use the updated methods to get the user's address, network and balance
Updates the Onboard Torus types to match the Torus internal types

Thanks!

@aaronbarnardsound
Please find the PR done by @chaitanyapotti https://github.com/blocknative/onboard/pull/470
Let us know if there are issues

Fixed in release 1.17.1

Fixed in release 1.17.1


fix getObject bugs

修复 Filter 不支持 ResultSet.getObject(int,Class) ResultSet.getObject(String,Class) 的问题。

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Weird Polygon rendering

Description
Deck.gl is rendering an empty polygon with weird fill from a GeoJSON feature.
The polygon that I'm trying to render is just a regular GeoJSON polygon with no coordinates loop or whatsoever, but it renders a weird fill inside the other part of the polygon instead of filling the actual polygon.
Repro Steps
Open this codepen example and you'll see what happens: https://codepen.io/jesusbotella/pen/abboRXe
Expected Output
To compare, here's how geojson.io renders the same polygon:

Actual Output

Environment:

Framework Version: deck.gl 7.3.2
Browser Version: Chrome 77.0.3865.90
OS: Mac OS X 10.14.4

Logs
No relevant logs related to Deck.gl, just version log.

Any update on this?

It might be the same situation as the one described here: https://github.com/uber/deck.gl/issues/3892


fix: fix scrolling in background behind the Modal

Pull Request Test Coverage Report for Build 1588

6 of 9 (66.67%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.0002%) to 79.898%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/components/Modal/scrollController.js
4
5
80.0%

src/components/Modal/index.js
2
4
50.0%

Totals

Change from base Build 1579:
0.0002%

Covered Lines:
1454

Relevant Lines:
1752

💛  - Coveralls


Broken nodejs::npm_from_source in 2.3

Hi, juste updated to 2.3 and the install of npm from source is broken when it does the make install:
node: command not found

I fixed it for now by installing 'nodejs-legacy'.
I don't know if it's worth it's own bug report, but 'ark' is idempotent on it's source, so because the source were already downloaded, running chef didn't reinstall properly npm. Maybe you could add something like this ? :
creates '/usr/local/bin/npm'

Thanks.

Hi @pelletiermaxime, you can still pin cookbook to '~> 2.2.0' :)
I will check this problem

Hi @pelletiermaxime & thanks for this report.
Sadly, I'm not able to reproduce your make install error.
I'm building node from source with bundled kitchen-test, and it's fully working either for node 0.10.26 and 0.12.2.
Are you using a custom wrapper around nodejs cookbook ?
Can you give us more details about this error and your recipes ?

I'm testing with a kitchen-docker setup on a Debian Wheezy image. My cookbook is simply this :
include_recipe 'build-essential'
include_recipe 'nodejs::npm_from_source'

@guilhem :
root@npm-source-ubuntu-1204:/usr/local/npm-2.7.4# make install
node cli.js install -g -f
bash: node: command not found
make: *** [install] Error 127

Thanks!


Store cluster infra id in .status.infraId

This commit fixes a race condition during VpcEndpoint deletion when the backing CustomResources which holds the infra id is deleted before the VpcEndpoint. By storing the infra id in the VpcEndpoint's own status field, the deletion of these objects can continue regardless of whether the infrastructure or hostedcontrolplane CRs are deleted first.
OSD-16820

/lgtm


Setting custom variables per environment

Hi!
I have two environments defined in the mybatis config file to connect to a distinct databases (dba, dbb), I am creating and using the corresponding sql factories at runtime to execute the mappers, the mappers are shared between them (databases) and I would like to use a variable (lang) in mapper's statement query to add a criteria
Select * from table where lang = ${lang}

but with different values per execution context
for dba -> en
for dbb -> fr

is this possible?

@vzamanillo Could you try configuration properties ?

No reply. You can reopen anytime.


Error: PostgreSQLSeverity.error 42P01: relation "user" does not exist

When I try to create a user by calling _createUser I get the following error: PostgreSQLSeverity.error 42P01: relation "job" does not exist
To Reproduce
Model:
### User model
class: User
table: user
fields:
  firstName: String
  lastName: String

When I call:
  void _createUser() async {
    try {
      await client.user.createUser(
        User(
          firstName: 'firstName',
          lastName: 'lastName',
        ),
      );
      debugPrint('Result is success');
    } catch (e) {
      debugPrint('Error message is $e');
    }
  }

Serverpod versions

_CLI Version: 1.1.1
_Library version: 1.1.1
OS: MacOS Ventura 13.2.1

It seems like you did not create the tables correctly.
Make sure to run the pgsql files example_server/generated/ folder on your database?

tables-serverpod.pgsql
tables.pgsql

Thank you @fleeser for the quick answer! I already resolved it by using Postico as used in Observable Flutter: Serverpod.

Install Postico Link (Optional)
Add your database:
Example:

Nickname: serverpod_project
url: localhost Port: 8090
user: Check your_project_server/docker-compose.yaml and you will find:

    environment:
      POSTGRES_USER: <user_name>
      POSTGRES_DB: <project_name>
      POSTGRES_PASSWORD: "<password>"

Go to tables.pgsql
Copy text

CREATE TABLE "job" (
  "id" serial,
  "title" text NOT NULL,
  "description" text NOT NULL,
  "jobLink" text NOT NULL,
  "location" text NOT NULL,
  "postedBy" text NOT NULL
);

Paste it in Postico -> SQL Query then execute statement to create the table
Test it and it will work 🎉

Check this video (min 46) to learn more about the solution.


Set up multi-project YARD docs configuration

Since now we have 3 gems in the rom-rb/rom repository, we need to configure YARD properly to generate docs for all projects.

Turned out yard doesn't support this


"Couldn't find this workspace. The workspace may have been deleted or the URL may be incorrect."

Your link is broken.
Expected behavior
When I get told to click a link and click "Run in Postman", I expect to find an existing collection that I can run in Postman.
Actual behavior
This Collection sends me to a page which says "Couldn't find this workspace. The workspace may have been deleted or the URL may be incorrect."
Steps to reproduce the behavior
Just click the link.

fix


chore: refactor record consent to take encounter id insted of patient id

Review Checklist

Summary*

[ ] fix: Bug fix for Add the items tackled here as checklists
[x] feat: Completed task
[ ] chore: Incomplete task

[ ] test: Sub-task 1

Structure*

[ ] The Pull Request has a proper title that conforms to our MR title standards
[ ] The Pull Request has one commit, and if there are more than one, they should be squashed
[ ] The commit should have a proper title and a short description
[ ] The commit must be signed off
[ ] Unused imports are not present
[ ] Dead code is not present
[ ] Ensure dry running library to confirm changes

Tests

[ ] Proper and high quality unit, integration and acceptance(if applicable) tests have been written
[ ] The coverage threshold should not be lowered

Sign off*

[ ] All comments have been resolved by the reviewers
[ ] Approved by Czar {replace_with_czar_name}
[ ] Signed off by second reviewer {replace_with_name}
[ ] Ensure all checks are done before merging :warning:
[ ] All PRs needs to be signed before merging :warning:

N/B:

Add a checklist if more than one item is done.
Add screenshots and/or images where necessary
Indicate any breakages caused in the UI :exclamation:
Where necessary, indicate which issue the Pull Request solves (Closes #)
Any new files are updated in the folder structure in the README

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

-2 of 8 (75.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 82.704%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/clinical/usecases/clinical/consent.go
6
8
75.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
6221

Relevant Lines:
7522

💛  - Coveralls