Changi Coffee Corner Intro Session / Barista Workshop

Session Name
Changi Coffee Corner Intro Session / Barista Workshop
Abstract
Curious as to how your favourite latte is made?  Join us, as we discover the complexities of espresso and how you can bring this experience home. This 2 hour session includes hands-on experience with the operation of an espresso machine, including the opportunity to froth your own milk and pour your own latte art.
Through building a vibrant coffee brewing culture in SUTD, Changi Coffee Corner hopes to connect people over coffee and build the community. Do join us if you have a passion for coffee and would like to be a part of our community.
Student Organisation organising this session
Changi Coffee Corner
Event Format
Physical
Session intent (what to expect)
Programme:

Interest Group + Trainer Introduction
What is Coffee?
Rise of Speciality Coffee - Introduction to espresso
Interaction of Milk and Coffee
Hands-on
Q&A

Session details
The session will be held at ROOT Cove, up to 8 participants in the workshop, excluding the trainers.
Speakers/Workshop facilitators
Trainer Introduction:
Joseph is a dedicated barista and is always on the lookout for ways in which taste in the cup can be improved. He places an emphasis on understanding the science behind every step taken in the production of coffee from bean to cup, and how it influences flavour. More importantly, he hopes to share his passion and love for coffee with others, in an effort to inspire them to start brewing their own coffee which would grow and build the community of home brewers.
Logistical details
The venue will be at ROOT Cove which we already have a recurring booking for.
There will be a total of 2 workshops:
22th Sep 1500-1700
29th Sep 1500-1700
It will be held at ROOT Cove which we already have a recurring booking for.
Budget Needed: $40

2x250g Coffee Beans: $40
2x2L Milk: $10

Sign Up Form
https://forms.office.com/Pages/ResponsePage.aspx?id=drd2NJDpck-5UGJImDFiPWH2rk0WPLpNoz88PwBGAxpUN00yNDAyUVREQTI1QUw0MUVLOThQTUwxVS4u

Hi Joseph, could you provide details on the session (date, time, venue) of your session?

There will be a total of 2 workshops:
22th Sep 1500-1700
29th Sep 1500-1700
It will be held at ROOT Cove which we already have a recurring booking for.

Event approved. 22th clashes with PPP. Full budget request of $40 allocated.

@ExtremelySunnyYK I'll close this lmk if you need me to open this up again


encryption - where is the best place to store encryption  keys?

I used hive in my flutter app. I store very important data in the local database(hive). I used encryptedBox for my data, but I want to securely protect my data. so I have a few questions:

I am concerned that it is relatively easy to access the box file. how reliable is the encryption method(AES-256)?

2.if the encryption is reliable(and I read that yes), then it is important to store the key securely.
where is the best place to store keys? I have two options:
2.1 secureStorage(like as example).
  const secureStorage = FlutterSecureStorage();

  final encryptionKey = await secureStorage.read(key: 'key');

  if (encryptionKey == null) {

   final key = Hive.generateSecureKey();

   await secureStorage.write(    key: 'key',      value: base64UrlEncode(key),);

  }

 final key = await secureStorage.read(key: 'key');

 final encryptionKey = base64Url.decode(key!);

  final encryptedBox= await Hive.openBox('vaultBox', encryptionCipher: HiveAesCipher(encryptionKey));`

also in the documentation it says:
Only values are encrypted while keys are stored in plaintext.
I think it is not very reliable - to store the key in the program code.

2.2 store them(value and key) on the server - receive them when starting the application.
your opinion? I will be grateful for any advice.

Hi there !
I don't know much for the first topic, sorry :(
Regarding the second question I may have the answer

Storing in secure storage is OK as it's done on first run of the app, not at build times. Meaning that the actual key value is not written in the code itself and may not be written with reverse engineering.
That said, you should add the proper configuration for iOS keychain to restrict the key to be backed up when user migrate to another device. Check iOS options of SecureStorage(), there's 5 of them and 2 or 3 provide the anti-migration thing. If you don't, the user may already have the key in its keychain when you try to regenerate a new random for the fresh-new installation.

However as the key name itself is written in codebase it may be retrieved. Meaning if the user can access the keychain it can retrieve the value of the key by searching keystore for the key name and do whatever he should not on your data.

Leaving the backend to handle the process would be nice if you are absolutely sure the communication with the app is secured (i.e : no-one can watch for the key during the exchange...). Usually api are not secured enougth so I would not recommend it.

The best solution would be to leave the key value generation as provided in the example but to tweek the key name management so that its name isn't known at build time nor written in plain text in code base.

One would generate a random on first run and use it as the key name then put the key name - key value in secure storage.
This last point is easier said than done so I leave you the actual implementation :)


WIP: Showing scene footprint on hover

Overview
For the browse and color correction scene lists, show the hovered scene's footprint on the map. This also adds a bypassFitBounds bound attribute that when true will skip changing the map extent to fit the footprint extent.

[x] Scene footprints are shown when hovering on a scene on browse scene page
[ ] Scene footprints are shown when hovering on a scene on the color correction page

Notes
Waiting for some other work to be completed (#733) to do this for the color correction page.
Testing Instructions

Hover over the scenes on the browse page and ensure the footprints are being displayed.
Hover over the scenes on the color correction page and ensure the footprints are being displayed.

Connects #728

Going to merge this and create another task for doing this on the color correct page so it does not depend on #771.


enanble user-defined tags

ie for 2x POS (POS-spacy, POS_stanza)

This is partially addressed in https://github.com/ssciwr/argumentation-management/pull/72 as the function to add new tags to the corpus accepts a list of ptags which could just be custom input.

Added the possibility to provide a list of ptags to the .pass_results functions for mspacy and mstanza in https://github.com/ssciwr/argumentation-management/pull/72/commits/231a089f12a677b4358c315839675885171b93a5

Added the possibility to provide a list of ptags to the .pass_results functions for mtreetagger in https://github.com/ssciwr/argumentation-management/pull/71/commits/3c06adcdfa352926383bbf9a850d4ee482335a16


Circle CI

Created circle.yml file for CircleCI integration.
https://www.pivotaltracker.com/story/show/120758269

Besides my comment, looks good.


GPAD still contains RO identifiers

In almost all cases the RO identifiers are translated to the text name values that include underscores when they are converted to the GPAD and GAF files. But there are still cases where the RO identifiers sneak in. In the mgi production file, RO:0002413 can be found in the file. We need to be sure that they all are translated for our loads into MGI.

@dosumis @balhoff I don't recall if this is a function of gorel.owl or if we inject the shorthand labels at some other point?

@ukemi do you know a model that will result in the RO:0002413 (directly provides input for (process to process)) in the file?

It's this one:  57c82fad00000358

@cmungall it's here: AbstractLegoTranslator.getRelId
The call into Owl2Obo is returning null. I didn't dig into that yet.

@ukemi thanks that was very helpful!

You are welcome. I will try to remember to add the GAF/GPAD label to these kinds of requests in the future.

I'd like to remove all refs to Owl2Obo and make everything driven by explicit URI contraction and expansion rules, but this may be a big task...

@cmungall I guess this is looking for the value of a shorthand annotation that seems to be provided by go-plus.owl (you probably knew this but I am figuring it out). So I guess in the immediate term (before developing another system) we need to add annotations in the appropriate source ontology. RO_0002413 is not in go-plus.

@dosumis should a shorthand for RO:0002413 be added to gorel.owl? Is that done one by one as these things pop up?

This was fixed by 8207f67c51d708f599066ad9569dabb12e8f9e09.


Is there any way to suspend parse.com api without deleting the app?

I guess there will be a stage that the api is migrated to the self-hosted parse-server, but the files are still hosted by parse.com.
Is there a way to stop the old api, but without deleting the app?
Or we need to change cloudclode by throwing exceptions in before-save trigger to prevent db pollution?

Legacy files uploaded to Parse.com are actually hosted on one of two S3 buckets owned by Parse. You will need to migrate these files before January 28, 2017. You can follow the latest discussion on file migration at #8.
You may use Server Fault for questions about managing Parse Server.
For code-level and/or implementation-related questions or technical support, please refer to Stack Overflow.


[HOPS-100] Fix path to ssl-server.xml

Fix path to ssl-server.xml
https://hopshadoop.atlassian.net/browse/HOPS-100

Can one of the admins verify this patch?

Jenkins test this please.


Using DokanX

I suggest using the dokanx library instead of the dokan library since dokanx is still being updated while dokan isn't.

Me too...

I'm currently testing DokanY for more than week and looks stable: https://github.com/Maxhy/dokany/releases version 0.7.1 - One big advantage: DokanY has subscribed 64bit driver.

Great to hear. Looks promising.

I recommend versions:

DokanX for 32bit systems
DokanY for 64bit system as is only known option with subscribed drivers at moment. But it's missing one important patch which can caouse BSOD from time to time (once a week in my case of intensive every day usage)

I have tried any version of DokanY on Windows 7 x64
win-sshfs still cannot find dokan.dll

If i copy c:\windows\system32\dokan.dll (v 0.7.3, x64 bit one) inside my win-sshfs folder I get:

dimove-cz's win-sshfs version is running as a 32-bit process so you should try 32-bit version of dokan.dll (keep the 64-bit driver of course).
If you're still having issue, try to install VC++ Runtime 2013.

Got this working with dokanY 0.7.2 & VC++ Runtime x86 AND x64 (not sure if needed)
Appreciate your feedback @Maxhy


Textview Bind doesn't take in consideration autocorrect change

Writing in a textfield and hiding the keyboard when the last word is not a real word, autocorrect will replace it and it will not trigger Bond binding.
It also doesn't trigger textfield delegate like "TextDidChange" or "shouldChangeTextIn", only "textViewDidEndEditing" is triggered and you can have the final text.
(same issue existed on RxSwift https://github.com/ReactiveX/RxSwift/issues/333)
Do you have any idea how to fix that? (a workaround?)

still no way for now as i understand from the #539? :S


merging in kolby

sorry! meant to merge into fork first

I dodnt test it but seems very interesting (and inspiring)

thank you! we are going to make a more legit PR soon with these features :)


Keybinding for applying a specific code action

Problem
Some code actions, such as extract method, may be used very often. This currently requires too many steps:

Highlight expression to be extracted
Use editor.action.quickFix shortcut
Select Extract method from list of quick fixes and press enter.

Desired Flow
User creates a keybinding:
{
    "key": "cmd+r,m",
    "command": "editor.action.applyQuickFix",
    "arguments": ["extract"]
}

Highlight expression to be extracted
Press ctrl+r, m

Complications

Multiple extract method options may exist. In this case, I think we'd want to display a list of all possible extract code actions

Ideally the same shortcuts should work across languages

I believe this will require an API change on the VS Code side. Currently, CodeActionProvider returns a list of Command objects. There is not enough info in the Command object to tell which Command is an extract method command.
One solution would be to introduce a new CodeAction type, basically:
interface CodeAction {
    type?: string;
    command: Command;
}

Where extract would set type to "extract". There are enough actions that are common across languages, such as extract and implement interface, that we could also consider defining an enum of standard values for type.


Tag release / update documentation

I know you said that you'd like to update the docs before tagging a new release. What do you think of moving docs to repo?

I tried to update the docs. But I use MeshSpin with my own Makefile based bundler which does not work with ES6 Modules. With the latest commit I removed FuseBox from the dependencies. However using it as a module in a FuseBox environment should still work.
The "dist" folder now contains an ES6 module and a CommonJS module with a minified version created through the Makefile.
Does "dist/meshspin.es6.js" work for your environment?


I cannot get the multiple commands to work

I want to create a command that triggers several other commands however either the reademe is incomplete or It is not possible. This is my command structure
!modbot addcmd 2 !Shoots !timeout {1} ChildishJakerino Aims his Gun Straight and True and Blasts {1} Out of this World.
Then I have a the command
!modbot addcmd 2 !timeout /timeout {1}
The !timeout command work but !shoots does not trigger the !timeout command. Also I think it looks ugly when inside of chat you see Modbot: !timeout (insert parameter) ChildishJakerino.... So is there something I am missing?

/timeout requires a 2nd parameter for length.
The custom commands system has been improved in the next version.
On Wed, Apr 29, 2015 at 10:58 PM, Jakerino<EMAIL_ADDRESS>wrote:

I want to create a command that triggers several other commands however
either the reademe is incomplete or It is not possible. This is my command
structure
!modbot addcmd 2 !Shoots !timeout {1} ChildishJakerino Aims his Gun
Straight and True and Blasts {1} Out of this World.
Then I have a the command
!modbot addcmd 2 !timeout /timeout {1}
The !timeout command work but !shoots does not trigger the !timeout
command. Also I think it looks ugly when inside of chat you see Modbot:
!timeout (insert parameter) ChildishJakerino.... So is there something I am
missing?
—
Reply to this email directly or view it on GitHub
https://github.com/DorCoMaNdO/ModBot/issues/5.

I tested a second parameter and to no avail it did not worked. However I have a version 1.9 in which the extensions when downloaded from the updater break the File so I use the last version of 1.8. I am unaware of your time tables but I am very thankful for this Bot and can't wait to see what you have in store for the future.

Also is there a way to create commands that include the user of the commands name in a command without having to make the typer type their name and the other parameter. Like !command {1} {2} But isntead !command TyperName {1} Thanks for the help sorry If im bothering you.

There's a documentation for that...
The posted version 1.9 is intended for development purposes only, do not use it for anything else.


Toast defaultProps are being ignored

Describe the bug
A clear and concise description of what the bug is.
Trying to extend Toast component the defaultProps are being ignored. Other properties like basStyle work without issues.
To Reproduce
Steps to reproduce the behaviour:
import React from "react"
import { Button, useToast, Center, NativeBaseProvider, extendTheme } from "native-base"

const theme = extendTheme({
  components: {
    Toast: {
      defaultProps: {
        title: 'Example',
        placement: 'top'
      },
      baseStyle: {
        bg: 'yellow.500'
      }
    }
  }
});

export const Example = () => {
  const toast = useToast()
  return (
    <Button
      onPress={() =>
        toast.show({
          description: "Hello world",
        })
      }
    >
      Bottom
    </Button>
  )
}

export default () => {
  return (
    <NativeBaseProvider theme={theme}>
      <Center flex={1} px="3">
        <Example />
      </Center>
    </NativeBaseProvider>
  )
}

Expected behaviour
A Toast should be placed by default at the top of the screen and have a title of Example text.
CodeSandBox/Snack link
https://snack.expo.dev/zR0busFPf
Platform

NativeBase  "^3.2.2",
Device: web/android/ios
OS: macos 12.0.1
Browser Firefox dev lastest
React Native version "0.64.3",
Expo sdk version "~43.0.2",
node v16.10.0
yarn 1.22.10

Additional information

Add any other context about the problem here. - trying to customize toast
Is the bug present in both iOS and Android or in any one of them? - both
If you want your issue to be looked at quicker, please attach a snack reproducible with your issue. Makes it easier for us!

same here

Hi @alechko , Thanks for reporting a issue. It is in progress 😄 .

Hi, I have the same problem on 3.3.7 version, any updates on the issue?

same

We're working on it. Hope to fix this issue in the coming release.


Leaderboard API with pagination updated

Resolved issue #40

Do not fork, just contribute directly in branches here


update README.md

:)

Actually I don't know if changing README.md is the solution, but the repo link in runelite plugin web points to my repo and there's no reference for yours. IDK

I believe I fixed this in https://github.com/mrhappyasthma/runelite-profit-tracker/commit/5f3cf1082fab8e9eb0828c2195c3426d3553d650. I just need to update the RuneLite pluginhub repo to point to this new commit.
I was planning to make some other code changes and then just update the plugin hub once, but it took longer than I thought haha.
I can send out a pull request for that and also make README changes once I'm off work. :)
And thanks again for making the plugin in the first place. I love it :D


datas -> data

I think using datas is incorrect and data is the correct form. Actually, data is already plural form. So I propose changing it to data everywhere. (Some BC break is also involved)

It is probably an issue that in one of the interfaces there is a getData($name) and a getDatas() method. I propose to change the first to getData($name = null). When a name is not passed, everything is returned.

I have failed when I have named the property datas... :+1: for your proposal! Can you do it in #4?

Are you OK with the function refactoring?

Yes I am :)


Telegram Version 12.0

How to make it compatible with Telegram Version 12.0

There are some open pull requests that implement the new context approach of ptb 12, you can check that code changes if you want to fix it your self, or you can checkout my fork, where I fixed some Issues with newer PTB and django versions for my self:
https://github.com/telebotter/django-telegrambot

Thanks a lot!


Add DNS to pages

Append notrump.news to hosting platform

DNS is 'working' so I'm closing this.

This is working now with https://notrump.news


Test case output misleading on white space.

I keep hearing people raise issues about this on the Jaden Casing Strings kata, so I figure it would be good to address. Essentially, the actual result and expected result aren't comparable in terms of white space.

My solution works, but I receive this error: "Expected: How Can Mirrors Be Real If Our Eyes Aren't Real, instead got: How Can Mirrors Be Real If Our Eyes Aren't Real". Unless I'm drinking crazy-juice, those looks the same to me.

I would personally prefer the actual and expected results be output in preformatted text with white space and control characters being visually represented. It would be useful for some potential kata, such as converting between Windows and Unix newline styles. Could even be implemented as a toggled view.

Can you provide some examples of output that is not correct? We are already setting white-space: pre on the divs that wrap the individual passed/failed outputs.

Should have said fixed-width preformatted text, though that probably wouldn't be enough.
The problem: A lot of people aren't noticing the trailing whitespace on the test case failure because there's nothing to cue them in on it.
Scare quotes around the expected/actual would be one way to make the whitespace visible. A visual tab/space/newline indicator would make it clear what specific characters are contributing whitespace. Some text editors have a feature like this, though it would require a bit of backend processing and wouldn't be raw output.

I'd label this a bug rather than an enhancement due to the volume of issues this specific kata has had regarding this specific issue in the past two or three months. Of course I don't get to see your email volume, but this issue has created a higher volume of email for me in the past few months. I imagine it's because Codewars has become more popular among novice coders.

Can you please provide some examples of output that is not correct? We are already setting white-space: pre on the divs that wrap the individual passed/failed outputs.

Since #159 indicates some trouble, and #17 still there, could it be that white-space: pre doesn't completely solve this issue?

@JTorr has just provided an example output on this kata:
#Buy: 169850 Sell: 116000; Badly formed 1: CSCO 250.0 29 B ; (test output: expected value)
#Buy: 169850 Sell: 116000; Badly formed 1: CSCO 250.0 29 B ; (test output: actual value)
#Buy: 169850 Sell: 116000; Badly formed 1: CSCO 250.0 29 B  ; (actual value, when code run in terminal)
[remark:                                                  ^^ two spaces instead of one, but only one shown]

I suppose that could be one example, but not per-se related. What I'm trying to state is that although the whitespace may be visible, leading and trailing whitespace are difficult to gauge. Even then, you can't tell the difference between tabs vs spaces, CR-LF vs LF, etc. My proposal would be to markup whitespace and non-printable characters semantically (also paying attention to accessibility), then use CSS to provide relevant visual cues to identify those characters specifically. E.g. I've seen someone's Dreamweaver setup use faded bullet characters for spaces and faded right-arrow characters for tabs.

@jhoffner :
I'm one with lots of issues about gauging white spaces in some of my katas (see example above by JTorr).
Why doesn't Codewars use constantly a monospace family font for outputs? It would be more convenient for anyone, no need for "nice" font here!

I've updated the font to be monospaced. Marking the non-printable characeters sounds like it has a great chance of causing some sort of backwards incompatibilities with some pre-existing kata. Please let me know if the monospaced font solves the issues you are having.

@jhoffner Thanks a lot :+1: Hope that will not cause problems.


Running XUnit tests requires a new version of XUnit

Running XUnit tests with dotnet test requires a new version of XUnit
A new version of XUnit is required for running tests using the .NET CLI when targeting .NET 5.0
Version introduced
.NET 5 SDK preview 8
New behavior
No test is available in <assembly> Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again.
Recommended action
Update xunit.runner.visualstudio package to version 2.4.3

Issue metadata

Issue type: breaking-change

I believe that the breaking change was reverted in NuGet, so as of RC1 (I think) the old package should still work.  So probably we don't need to doc this for RTM.
Is this correct @nkolev92 @nohwnd?

@zivkan reverted it the change.
Did we ever figure out how the test runner got that short folder value?
How are the new NuGet bits ingested?

@nkolev92 it was via TestPlatform, I fixed test platform to be able to work with the short value, and it got passed along to the adapter.
I can confirm it works with the old adapter. Details of the affected builds are here in 1. and 2. https://github.com/dotnet/core/blob/master/release-notes/5.0/5.0-known-issues.md#preview-8-1

@marcpopMSFT Can we close this issue?


Parity between Controller and Page/PageModel

Resolves part of #6071.

:up::date: The prep-work for removing Binding from Page and PageModel was going to be far-reaching enough that I erred on the side of not pre-loading it here.


bloop: 2.0.3 -> 2.0.4

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 354022

aarch64-darwin

:white_check_mark: 1 package built:

bloop

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 354022

x86_64-linux

:white_check_mark: 1 package built:

bloop

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 354022

x86_64-darwin

:white_check_mark: 1 package built:

bloop


have arrows at the top

Somewhat related, it would be better if we had arrows at the top of the page as well, which would not move relative to the person's mouse position. When I want to flip a few pages back or forward, I should not hunt for the arrow with the mouse after potentially moving the page up.

Related to #54

or at the left and right side (like Git Books does)

(Screenshot from: http://rustbyexample.com/hello/print.html)


Declare dependency on activesupport

Summary
We're requiring activesupport in several places:
https://github.com/github/view_component/blob/060275c1927f4d7a5a5949866838a880ea896d2a/lib/view_component.rb#L3
https://github.com/github/view_component/blob/060275c1927f4d7a5a5949866838a880ea896d2a/lib/view_component/base.rb#L4
https://github.com/github/view_component/blob/060275c1927f4d7a5a5949866838a880ea896d2a/lib/view_component/preview.rb#L3
https://github.com/github/view_component/blob/060275c1927f4d7a5a5949866838a880ea896d2a/lib/view_component/previewable.rb#L3
https://github.com/github/view_component/blob/060275c1927f4d7a5a5949866838a880ea896d2a/lib/view_component/test_case.rb#L3
Thus, we should declare a formal dependency on it. Since we support Rails 5.0.0 through Rails 6.x, we've declared the dependency as >= 5.0.0, < 7.0. (Without the 7.0 upper bound, rubygems would print WARNING:  open-ended dependency on activesupport (>= 5.0.0) is not recommended when building the gem.)

@rmacklin ❤ You're on fire! 🔥


ci-automation: Push version file early

When a nightly build is started that pushes the version file to the
branch it was doing so only at the end of the build, causing the push
to fail if something else got merged in between.
Push the version file early by generating it the same way it would be
generated by the run_sdk_container/bootstrap_sdk_container scripts.
In the case of the SDK the version file gets the same version for the
OS and the SDK. Add some explanations about the version formats. Note
that the scripts will still rewrite the file but it should be a no-op.
Fixes https://github.com/flatcar-linux/Flatcar/issues/723
How to use
Observe that a nightly build pushes the expected values in the version file to the branch at the start of the build. One case is the SDK job, the other the packages job. Also check that everything still works.
Testing done
Ongoing:
http://<IP_ADDRESS>:8080/job/container/job/packages/407/console
http://<IP_ADDRESS>:8080/job/container/job/sdk/71/console
Due to the logic to avoid build with other branches than main being treated as nightly builds, we can test that everything works for regular dev builds and only check the free standing git tag.

Cherry-picking for 3033, 3139, 3185, 3227, 3248


feat : password generator

Pull Request for PyVerse 💡
#104
Issue Title :  Password Generator

Info about the related issue (Aim of the project) :
Name:  Akarsh Ghildyal
GitHub ID:  akarshghildyal
Email ID<EMAIL_ADDRESS>Idenitfy yourself: (Mention in which program you are contributing in. Eg. For a WoB 2024 participant it's, WoB Participant)  Hacktoberfest 2024

Closes: #issue number that will be closed through this PR
#104
Describe the add-ons or changes you've made 📃
Made a password generator under beginner projects using streamlit.
Give a clear description of what have you added or modifications made
Type of change ☑
What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested? ⚙
It is tested Locally on my machine
https://github.com/user-attachments/assets/b0f7f3c4-2d46-48d6-a770-8b06f75d239d
Checklist: ☑

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added things that prove my fix is effective or that my feature works.
[x] Any dependent changes have been merged and published in downstream modules.

@UTSAVS26 kindly review and merge, and also add Hacktoberfest related label(s). Thank you.


Added Validator_Payout_Fees_Decrease request

Hello,
Currently, dev attention is focused on the upcoming ETH hard fork, once the work to implement this is done, this proposal will be picked up.
Thank you for your patience

I think payout tx fee should be fixed weight and very low or it should run by system automaticly. Current system causes profit transfer from validators to xor stakers, forcing validators to put very high comissions and forcing users to wait for validator to run payout tx.

I think payout tx fee should be fixed weight and very low or it should run by system automaticly. Current system causes profit transfer from validators to xor stakers, forcing validators to put very high comissions and forcing users to wait for validator to run payout tx.

yes, automated payouts would be the best


Remove pm2 from the Docker image

This PR simply removes the pm2 process manager from the backend Docker image. It is not needed for container-based deployments and is actually detrimental, as it hinders log collection.
This has been tested with the docker-compose setup in input-output-hk/project-icarus.

OK, the commit is now signed. cc @AlanVerbner


Database location and output format

Hey @durrantmm,
Thanks for putting this up. Is there a way to specify the path to the database in the command line itself? I want to run the tool in a different folder from where it was set up and can't seem to find this option.
Also, could you please provide an example of the expected output folder/file(s)?
Thank you,
Susheel

This should not be a problem, it can keep track of the path to the database after installation. How did you install it?

I want to include it as part of a snakemake pipeline via a conda tank file, so had to make sure that the database location won't be an issue.
And is there a way to name the output folders?

I am not familiar with conda tank files, but I don't think it will be an issue if you install via pip install smorfinder.
If you want to be on the safe side, you can specify the paths to specific databases using:
    -pp, --prodigal-path PATH
    -shp, --dsn1-model-path PATH
    -shp, --dsn2-model-path PATH
    -shp, --smorf-hmm-path PATH
    -hp, --hmmsearch-path PATH

You can specify the output directory with --outdir
I hope that helps!

Also, be sure to run smorf at least once so it can download the required data.

Oops sorry. Autocorrect changed yaml to tank. But yes, I've downloaded the databases, and thanks a lot for the flags.

I wanted to double check, what version of smorfinder are you using? To check the version, open up a python prompt:
    python

And then import the version
   import smorfinder
   print(smorfinder.__version__)

It should be 0.0.3.dev0.

This is what I have.
>>> import smorfinder
>>> print(smorfinder.__version__)
0.0.3_dev

Great! Good luck, let me know if you have any more questions.

Thanks again and good luck to you as well!


[DROOLS-7635] ansible-rulebook : Raise an error when a condition comp…

…ares incompatible types

alpha index test, beta index test

Added test cases:

alphaIndex : Not match when type mismatch (expected). No error log (limitation)
betaIndex : Not match when type mismatch (expected). No error log (limitation)
negation : Not match when type mismatch (expected). Error log produced (expected)
any: Match when type mismatch on one condition, but properly match the other condition (expected). Error log produced (expected)


[BUG]: Trainspace data not showing up on dashboard

Operating system
macOS Ventura 13.4
Bug description
This is a general, important issue where no user can see their current trainspace activities on the Dashboard, no matter if they've trained something or not.
Steps to reproduce

Train a default IRIS dataset
See the empty trainspace dashboard table

@farisdurrani isn't this because we are awaiting submit trainspace PR?


remove accounts() and all_accounts()

Problem
Trying to get rid of mmaps for storages.
We need to deprecate use of fns that return stored_account_meta.
Summary of Changes
introduce accounts_count() that returns # accounts in a storage. Several tests can make use of this.
Fixes #

Codecov Report
Attention: Patch coverage is 94.02985% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 82.2%. Comparing base (3c0f263) to head (91e8e07).

Additional details and impacted files
@@            Coverage Diff            @@
##           master    #1117     +/-   ##
=========================================
- Coverage    82.2%    82.2%   -0.1%
=========================================
  Files         880      880
  Lines      235623   235609     -14
=========================================
- Hits       193717   193677     -40
- Misses      41906    41932     +26


Question: Is there a event handle on change in angular-toggle-switch?

There was a event on-change in release 0.5.2?
I could not get this happening in release 1.2.1?

Currently you use a watch on your model.

Depending on the id the switch gives to a function I will change something. How do i watch multiple switches and react on there ids in my model? Thanks in advance.

I have a PR which adds support for ng-change.

ng-change has been added to in 1.3.0


New fields measuresPeriod and measuresPeriodUnit

Introduction of the new fields measuresPeriod and measuresPeriodUnit to display the measures period and its unit.

@VictorVicente1 any news about updating this PR?
thanks!

@jmcanterafonseca  It was everything collapsed in #133


[KZL 246] auth controller

What does this PR do?
Add Auth controller methods documentation
How should this be manually tested?
Check Netlify

Snippets tests reports


Android 32bit don't include OpenThread library(libcommissioner-java.so)

Problem
Android 32bit don't include OpenThread  library(libcommissioner-java.so).
Here is Build result when 32bit build using below command
TARGET_CPU=arm ./scripts/examples/android_app.sh

Given this is an older issue, does this till reproduce on current builds? Please re-open if so!


Swaylock not working with blur?

Note
Sorry if the solution to this is really obvious, I tried looking in the FAQ but my issue wasn't mentioned :(
Steps to reproduce

Make sure that blur is enabled
Install swaylock
Execute swaylock -F -c 0000007F

Expected outcome
The whole screen is blurred
Actual outcome
The whole screen is not blurred, only half-transparent.
Blur Config
    blur=1
    blur_size=3 # minimum 1
    blur_passes=3 # minimum 1, more passes = more resource intensive.
    blur_ignore_opacity=1

Logs
None, didn't crash.

https://github.com/hyprwm/Hyprland/wiki/Advanced-config#blurring-layersurfaces


Free-form response object support

Hi, I added support for free-form objects in response as allowed in OpenApi specification.

"If the dictionary values can be of any type (aka free-form object), use additionalProperties: true:"
I'm wondering whether we need to worry with https://swagger.io/docs/specification/data-models/dictionaries/ "additionalProperties" or not... 🤔
I mean, apparently a free form object is only when additionalProperties is true or {} (which is the default), so perhaps we need to check and fail when additionalProperties is set saying we don't support it yet? Maybe we shouldn't try to generate a free form object when it's not a free form object per say...

@vsouz4 it is an interesting question regarding additionalProperties. It is true that you wrote and additionally openapi specification says that:

additionalProperties - Value can be boolean or object. Inline or referenced schema MUST be of a Schema Object and not a standard JSON Schema. Consistent with JSON Schema, additionalProperties defaults to true.

So basically we should check if additionalProperties is not set to false. Or maybe if it contains any constraint that it also should not be a free-form object. As I can quickly check generator doesn't support constraints from the additionalProperties section.

@vsouz4 it is an interesting question regarding additionalProperties. It is true that you wrote and additionally openapi specification says that:

additionalProperties - Value can be boolean or object. Inline or referenced schema MUST be of a Schema Object and not a standard JSON Schema. Consistent with JSON Schema, additionalProperties defaults to true.

So basically we should check if additionalProperties is not set to false. Or maybe if it contains any constraint that it also should not be a free-form object. Or output a warning that generator doesn't support constraints from the additionalProperties section.

hmm, if you extend the Field::isFreeFormObject() checking not only empty properties but also additionalProperties, it could work indeed... and we won't introduce any non backwards compatible change, otherwise somebody might be using already additionalProperties in their specs and we'd start failing the client generation 😄
wdyt @JasonBenett ?

@vsouz4 I added check for additionalProperties=false


Migrate htmlsingle to asciidoctor html5 backend

adapt to latest SCDF docs

Resolves #105
Resolves #95

Rebased and merged as f599757 (including the TODO section)


Some windows can't be resized on sycamore.

I just found that some windows can't be resized on sycamore, for example wayst terminal, mlterm wayland terminal, celluloid, probably more.

BTW, sycamore is still early in development and a lot features are missing such as xwayland...

BTW, sycamore is still early in development and a lot features are missing such as xwayland...

Nevermind I really like the simplicity.


Switch case of text doesn't work right(g~, gU, gu ...)

Switch case of text doesn't work right as vim, including g~{motion}, gU{motion}, gu{motion} etc.

@learning is this still an issue now that #556 was merged?

This sure looks fixed to me.  Are there any more differences from Vim?

As stated in the README, this package is no longer maintained and is deprecated. We recommend that people use the vim-mode-plus package instead. Because of this, we are archiving this repository and closing all issues and pull requests. Thanks very much for your support and contributions!


{{ attrs }}  '=' equal issue

First of all, great job on this library!
I have encountered an issue with using '=' sign inside the value of one of the html attributes in the component like this:
<c-context-item
  hx-get="{% url 'faculties:delete' pk=faculty.pk %}"
  hx-target="#modal"
  hx-swap="innerHTML"
  @click="modalOpen = true"
>{% translate 'delete' %}</c-context-item>

too many values to unpack (expected 2)
i found a silly solution like:
{% with '=' as eq %}
<c-context-item
  hx-get="{% url 'faculties:delete' pk=faculty.pk %}"
  hx-target="#modal"
  hx-swap="innerHTML"
  @click="modalOpen {{ eq }} true"
>{% translate 'delete' %}</c-context-item>
{% endwith %}

i hope you will fix this.
a lot of thanks

Thanks for reporting the issue! Fixed in 0.9.21

https://github.com/wrabit/django-cotton/releases/tag/v0.9.21


Amend Alert Model

Added naturalDisaster category
Amended list of subcategory types - added missing and new entries
Updated Documentation

good work, thanks


warning when user provided labels are not presented in the dataset.

#2551

It's not obvious to me that the current behavior is incorrect. What is the precise use case you're worried about?
If I have an object detector trained on classes A, B, and C, and I find some test data that might have annotations for A, B, C, and D, why do I need to strip out the D annotations to use this test data without warning?

@nickjong @guihao-liang
I agree the case you mention. I think the case is most in the training:
Say the training data has ["dogs","cats"] labels, but an user gives ["dog","cats"] due to typo.

I agree with @nickjong, I'm not sure we should do anything about this. If the test data has different labels, then it's really on the user to fix them. It might be okay to just warn if there exists labels in the test set that are missing in the training dataset. So the overall experience would be simply a warning that says the following
Warning: There are 3 labels present in the evaluation set that are missing from the training set.

and then you continue to do the evaluation (as you do in this PR)

It's not obvious to me that the current behavior is incorrect. What is the precise use case you're worried about?
If I have an object detector trained on classes A, B, and C, and I find some test data that might have annotations for A, B, C, and D, why do I need to strip out the D annotations to use this test data without warning?

@nickjong I don't think this PR is proposing to strip it. @jakesabathia2 is simply proposing to warn the user that they might not have intended for "D" to exist which is a good thing to do IMO.

@srikris @nickjong
https://github.com/apple/turicreate/pull/2542#issuecomment-548629729
Here is the origin why there is this open issue.

I agree we should give a warning rather than error here.
The more interesting question for: what should we do with examples in the test set that have previously unseen labels? Do we drop them? Does the model automatically get those wrong?

I agree we should give a warning rather than error here.
The more interesting question for: what should we do with examples in the test set that have previously unseen labels? Do we drop them? Does the model automatically get those wrong?

I agree we should give a warning rather than error here.
The more interesting question for: what should we do with examples in the test set that have previously unseen labels? Do we drop them? Does the model automatically get those wrong?

@TobyRoseman  Great question. We drop those unseen labels, so it doesn't effect the evaluation.

I agree we should give a warning rather than error here.
The more interesting question for: what should we do with examples in the test set that have previously unseen labels? Do we drop them? Does the model automatically get those wrong?

I agree we should give a warning rather than error here.
The more interesting question for: what should we do with examples in the test set that have previously unseen labels? Do we drop them? Does the model automatically get those wrong?

@TobyRoseman Great question. We drop those unseen labels, so it doesn't effect the evaluation.

This is part of my point. OD is not a classifier. Asking a detector to detect things in an image that happens to have objects that the detector wasn't trained on isn't inherently problematic, in the same way that (absent multi-label classification), it's inherently wrong to ask a classifier to classify an image whose one true label is one the classifier doesn't know about.
At present, OD evaluation works by computing average precision scores for each class on which the detector was trained. Suppose that you have a dataset of images annotated with cat and dog bounding boxes. It feels weird to me if you later go back, add additional annotations for "hamster" to a test set and now get a warning.
I would argue that the right solution here is closer to including a note in the evaluation results. Perhaps the output of evaluation should simply note that the test data has classes that the detector cannot detect, and therefore there is no average precision score for those classes.

@jakesabathia2 Yeah, just warn them is good enough. You don't want to help people if they don't request you to help, which means explicit is better than implicit.
Correct me if I'm wrong. Since our toolkit lacks the functionality of strafity, we cannot guarantee that train and test has the same data distribution (by labels). Just warn them. Even though we warn, they still don't have any tool to correct it. It should be a feature request if we hear complaints from user.
good work.

@nickjong @guihao-liang
Okay.
So I think I should clarify the purpose of this PR since I think I didn't make a clear title and everyone is misunderstanding it.
So I think the OD is doing the right thing now whatever training/test dataset has same labels or not (just ignore the labels not in the training data is totally fine.)
The purpose here is to warn user only when they create model with explicit 'classes' input argument provided.
Say the user use
model = tc.object_detector.create(dataset, classes=['catt', 'dog']),

when the training dataset has labels 'cat' and 'dog'.
We should warn the user that they might provide invalid 'classes' argument here (typo in this case),
since the model treat the user-defined 'classes' as ground truth labels instead of the labels inferred from the training dataset.
So it only warns the user during model creation with 'classes' argument provided.
(But now it also has warning message printed for evaluation haha which I should get rid of.)

I agree we should give a warning rather than error here.
The more interesting question for: what should we do with examples in the test set that have previously unseen labels? Do we drop them? Does the model automatically get those wrong?

I agree we should give a warning rather than error here.
The more interesting question for: what should we do with examples in the test set that have previously unseen labels? Do we drop them? Does the model automatically get those wrong?

@TobyRoseman Great question. We drop those unseen labels, so it doesn't effect the evaluation.

This is part of my point. OD is not a classifier. Asking a detector to detect things in an image that happens to have objects that the detector wasn't trained on isn't inherently problematic, in the same way that (absent multi-label classification), it's inherently wrong to ask a classifier to classify an image whose one true label is one the classifier doesn't know about.
At present, OD evaluation works by computing average precision scores for each class on which the detector was trained. Suppose that you have a dataset of images annotated with cat and dog bounding boxes. It feels weird to me if you later go back, add additional annotations for "hamster" to a test set and now get a warning.
I would argue that the right solution here is closer to including a note in the evaluation results. Perhaps the output of evaluation should simply note that the test data has classes that the detector cannot detect, and therefore there is no average precision score for those classes.

For my understanding, it would be nice to tell me that 'hamster' is not in training set so I can add 'hamster' to my training set in order to get better knowledge (under the assumption that cat images probably don't share deep features with hamsters).
In practice, the test set serves a simulation as a production environment. True that production may have unseen data and the cycle to figure this out might be very long. That's why the training set could have unseen data over the test set.
Usually, people would promote the model to production if it works well in test set. The test set data distribution is actually very important. I think rarely people want to simulate the production with unseen data in the test set during the model training phase.
If the test set has unseen data over the training set, probably nothing I can do but add unseen data to the training set to start it over, which might be the handiest way to improve overall accuracy for the test set before promoting the model to production. Otherwise, the test performance might be poor and user doesn't have a clear clue to fix it.

@nickjong @guihao-liang
Okay.
So I think I should clarify the purpose of this PR since I think I didn't make a clear title and everyone is misunderstanding it.
So I think the OD is doing the right thing now whatever training/test dataset has same labels or not (just ignore the labels not in the training data is totally fine.)
The purpose here is to warn user only when they create model with explicit 'classes' input argument provided.
Say the user use
model = tc.object_detector.create(dataset, classes=['catt', 'dog']),

when the training dataset has labels 'cat' and 'dog'.
We should warn the user that they might provide invalid 'classes' argument here (typo in this case),
since the model treat the user-defined 'classes' as ground truth labels instead of the labels inferred from the training dataset.
So it only warns the user during model creation with 'classes' argument provided.
(But now it also has warning message printed for evaluation haha which I should get rid of.)

Ah, I would admit I misunderstand it even though I was the guy who reported the issue. Do you check the user input label on the whole data set or just training?

One more follow up, what's the purpose of user input classes?

One more follow up, what's the purpose of user input classes?

Haha the user can define the class labels for the model,
and once provided it override the inferred labels from the training dataset haha.

# training data has label ['cat', 'dog']
model = tc.object_detector(data, classes=['catt' , 'dog']) # warning that 'catt' is not in the training set.
predict = model.evaluate(data) # No warning.

This behavior is what I think is expected.


Versioning

User input
In addition to general metadata, also a version history with author would be useful (when sharing function with edit is available).
Sharepoint ID(s)
31
User story
As an end-user I want to keep track of all changes and possibly being able to roll-back to earlier versions to be able to understand history and secure understanding for where we are today and why (continuous improvement).

Back-end requirements

[x] New route to retrieve the times when a project changed
[x] New parameter to Project/GetById for "as of datetime x"
~- [ ] Any more routes that need to support "as of"?~ Potentially the vsmObject detail view... but we can manage without.

User Requirements (for testing)
Unless mentioned otherwise, any user can do the following:
Current

[ ] User can see the current version.
[ ] User (with edit-role) can edit a card in the current version.
[ ] User can see the details of any card in the current version.

Previous

[ ] User can see a list of all versions by clicking on the version icon (down right-hand corner). (versions are ordered by date and only one per day is shown)
[ ] User can view a previous version.
[ ] User can view the details of any card in a previous version.
[ ] User can share the url of any version with others (copy from the url bar) and opening the url in a new tab will show that version, with the version view visible.
[ ] User cannot edit a card in a previous version. ( Drag'n drop interactions should be disabled, and sidebar view should be in read-only mode. )
~- [ ] User cannot delete a previous version. The button should be disabled to not confuse users.~ Is this really necessary?
[ ] Exiting the version view should return the user to the current version.
[ ] Current and To be processes should work the same as expected.

Should #192 be solved at the same time?

I was thinking this story could be split into two features.  to ease us into it.   One feature to view the changes on the VSM and another to allow the admin some method to start a rollback process, whatever it may include....

After technical exploration with @pagodo we have some conclusions:

The Temporal Tables feature of our database seem to be our best approach for this versioning feature, offering performance improvements over maintaining our own history tables with triggers.
This should minimize the alterations to existing code for CRUD operations.
In order to actually perform time travelling queries we have two options:

Drop down in abstraction to SQL instead of Entity Framework for these queries.
Update the API server to run on .Net 6, so we can access Entity Framework 6. Both of these technologies are currently considered release candidates, not finished releases.

Moving to a release candidate for the technology the api is based on is not a good idea, there is a good chance we will be left with a unstable system. The release of these versions is set to early november and we should at least wait with the prod release until the technology is formaly released and if we are to release a early version of dotnet6 we have to do extensive testing of the api. But we may do development targeting a release candidate

Maybe we should put this on hold untill @Linedueo have landed on designing functionality requirements with our POs?
We may consider supporting the release-candidate only for Flyt application if we find that the new functionality it provides is the best way to implement our versioning -requirements.

From Daily 29 sept:
It sounds like we probalbly should store all changes with timestamps in the back-end. (temporal tables etc)
Then it is a visualisation problem to pick good points. Or we could show them all like in Figma history view.
Talking with @Magos we believe that the view should be able to update quite quickly when selecting a prior state.

Versjonshistorikken blir visualisert som en timeline. Denne viser en oversikt over datoer hvor prosessen har blitt endret (oppsummert per dag)

Sounds good @Linedueo.
Please update user-story and notify us when it's ready for development.

@Magos tells us that .Net6 is out! 🥳

@SjoenH : New requirement for this feature. Update the delete/reset button explanatory texts, ref #192 . When a to-be process is reset, the version history will still keep the old version I guess.

API discussion.
Changing created and lastUpdated to a date.
The created object is used today to check if we are an admin, thus userAccesses needs to include the admin as well. (remove filter)
Remember: We want all connected vsmObjects (card) and  task (PQIR) etc… -changes to be reflected in the process-changelog.
Aggregating the changes to one day.
Front-end or back-end? 🤔
Are there any performance considerations here?

@Magos @SjoenH Let's have a quick chat later today

@Magos What you have done sounds good.
Aggregation is a front-end task as of now.
@Magos have looked at api-endpoint for process-changelog, but mentions that he could add endpoints for VSMObjects, and PQIR, but not implementing that at this time.
Let me know when it is ready for testing in Front-end. :smile:

I just built a version to dev, which should fix these issues

UserAccess DELETE is now handled by accessing the Accesses table, not the UserAccesses view.
Task-category links changelogging now uses explicit db calls rather than assuming the entity has its project entity included
Corrected the column name in the VsmUpdates db function.

@Magos I'm back from my vacation now and will test your new build :muscle:

@Magos. Some initial testing.

[x] Update endpoint now returns an array dates. https://github.com/equinor/MAD-VSM-WEB/issues/154#issuecomment-990293902
[x] Adding categories seems to work as expected. https://github.com/equinor/MAD-VSM-WEB/issues/154#issuecomment-990276498
[x] Removing a user from a process works
[ ] But changing the role of a user gives error 500(?)

Error 500
The entity type 'UserAccess' is not mapped to a table, therefore the entities cannot be persisted to the database. Call 'ToTable' in 'OnModelCreating' to map it to a table.

Update-ruter som ikke fungerer pr nå:

[ ] UserAccess
[ ] Object

Also, adding that there seems to be some issues with getting the process I want for a given date-time. asOf string not matching or something? Needs to be looked into.

@Magos Do you have an update on where we are at with versioning?

Had a talk with @Magos
Current status. API is now ready for further front-end development.
Updates should now be watched by the API and stored in history. So the issue I raised above should now be fixed.

Looks good @SjoenH 👍

@Magos I've released to Dev. Seems to work fine, except for selecting the first date. Could you help debug why that is? Example process

@ntorsen I want to remove the requirement - "User cannot delete a previous version. The button should be disabled to not confuse users." As it doesn't feel quite necessary... 🤔

@SjoenH That's true. Sure, you can remove it 👍

Update: API does not include Timezone information in the /updates-response. @Magos will take a look at adding it. 👍

FYI. Ready in QA as well for some testing.
This one is a bit hard to test well, since we need changes spanning a couple of days...
I've done that testing in Dev environment, so I'm pretty confident that it's ok, but you might discover something else. 😄  So super if you can start some light testing of this. 💪

@SjoenH Created a process in QA, but it is not saved.. something's off.

@knudsvik What number process?
@Magos could you help investigate? Also, seems like the sorting on the front-page is reversed...? Are we running the same in Test as in QA? 🤔

Ahh, they are there, just reversed on the front page as you say

Super 💪

@Magos I get error 500 when I delete Questions and Ideas when testing. They do get deleted eventually, but this message pop up so it looks like it is having some problems. This is in Test environment.

I deployed a fix for the 500 error, but the Risk report seems to be correct as such. Could you have been pressing delete before the front-end had updated after a change?

I deployed a fix for the 500 error, but the Risk report seems to be correct as such. Could you have been pressing delete before the front-end had updated after a change?

Working good now @Magos 🤩
No trouble with Risk either, it could have been that I pressed deleted before front-end had updated after change.

@SjoenH Tried out new solution and Flyt does not seem to like it when I go back to the start on Seconds (both for Current and To-be process). Message "ERROR: Project contains no root onjects" pops up. If I select other versions other than the first one this is not a problem.

@Magos is this something you want to improve? Looks like the first logged change in  /updates is created before the process is ready.

@Magos To reproduce. Create a new process. Then the first returned timestamp in the /updates response does not exist.

I've attempted a fix by returning the Update values instead of the PeriodStart values stored, but this is not late enough after the creation process to avoid making the version of the process without objects in it visible. At the moment, I'm inclined not to do more to hide this unless @knudsvik and @askbulle think it's important to hide.

Todo:

[ ] Remove second-resolution selection.

I've removed the second resolution and released to QA again. @ntorsen Would you please do a final test of everything before we plan the release?

@SjoenH here are some feedback from testing done in QA environment.
User requirements for testing ✔
Second-resolution selection is removed ✔
Deleting PQIRs is working as expected ✔
Other remarks:

If you copy the URL of a previous version and opening it in a new window, you will see that that version is visible. However, when looking at cards for more info a "invalid process type" message pops up as well as a 500 internal server error. This does not happen for all cards, but in this case it happened on a blue and yellow card.

Going back in time (to the start) when selecting Minute-resolution selection, same message as for Second-resolution comes up:

@ntorsen can you reproduce the error with a new process?

@ntorsen I'll look into the 500 errors.

@SjoenH able to recreate it by deleting a card --> navigate back to when it existed --> copy URL into a new window (incognito) --> clicking on deleted card to view it

@ntorsen fix is out in QA again. 🧪

Working good now 🏆 @SjoenH

⏳ 🚀 @knudsvik @askbulle
We have some changes that requires downtime. We are planning to release at 11:45.
Estimated downtime up to 1 hour.

@Magos

[ ] Database. Schema changes. Activate system-versioning (or whatever it is called...)
[ ] Code

Some changes related to solving tasks.

Frontend
Push out what's in QA and bump version + change-log.


[FEATURE]  Valid Input Constraint in Create Poll

Description
Currently, in create poll section I can create a poll even with single characters which have no meaning and are invalid. It happens because there are no constraints in create poll fields. I can also implement real-time validation for these fields.
Solution
We have to implement constraints for these fields, according to me following constraints can be applied
Poll Name: Min 4 characters
Description: Min 10 max 50 words
Question: Min 4 words
Multiple Choice: Min 3 characters
Screenshots

Request
If you find this worth implementing then please assign me this under gssoc23 label.

@AlfiyaSiddique just add min limit no max limit and while doing the character counting don't forget to use trim() to remove trailing empty characters

@AlfiyaSiddique just add min limit no max limit and while doing the character counting don't forget to use trim() to remove trailing empty characters

Got it 👍


Support room upgrades

(matrix-appservice-bridge supports these, but we need to add code to hook into it)

(matrix-bot-sdk supports tombstones too, for those reading this issue from the future)

This might be on the matrix-appservice-bridge, but the bridge should at least be checking tombstone events when sending messages as a sanity check. I've encountered that situation where the bot accounts would simply continue to relay messages even though the room has been tombstoned. Of course proper support for these events is preferred, but some sanity checks from the base bridge would not hurt either.

This bridge uses matrix-bot-sdk these days, not matrix-appservice-bridge.

What about this line?
https://github.com/Half-Shot/matrix-appservice-discord/blob/cbd3c6797dc7ca227a20931a2a0f404b9136a557/package.json#L47
Anyway the issue is still relevant.

Hm, that's weird, that dependency changed in #740, even though there's still matrix-bot-sdk imports. Probably explains why the CI is broken.


Make jsbin optional by including explanations

This is a fun resource, but I find using it somewhat troublesome because one needs to jump between jsbin and your repo. If you are keen to suggestions, I propose refactoring the guide so that jsbin becomes optional.

Yeah thought about that, I didn't want to make the readme super long. Maybe I or someone should make a quiz style microsite with runnable examples.


Can't get python interface to work

After following the instructions for setting up Python, I try to run the example script by executing python qflex_cirq_example.py. I get
Traceback (most recent call last):
  File "qflex_cirq_example.py", line 2, in <module>
    import python.cirq_interface.qflex_simulator as qsim
  File "/usr/local/google/home/sungkevin/Projects/qflex/python/cirq_interface/qflex_simulator.py", line 5, in <module>
    from python import qflex
ImportError: cannot import name 'qflex' from 'python' (unknown location)

Thanks for catching this. I've created a patch to solve the problem in #221. The problem is related to the fact that it's missing the relative path to where to find the qflex python modules. Try now with:
python3 python/qflex_cirq_example.py

from the root folder of qflex (it works for me).

Thank you for pointing this out. It is indeed an issue with the paths. However, we have also a relative paths related issue #167 . I guess the solution should consider module init.py.

It still doesn't work for me.

Have you compiled QFlex with make pybind? In the Python folder there should be a file with a name like qflex.[long_name].so

Have you compiled QFlex with make pybind?

Note that this normally runs during the default make invocation; if it didn't, the logs should indicate what prevented it from doing so (usually missing dependencies, IIRC).

I didn't have pybind. Installing it fixed the issue. Thanks!

@s-mandra Should we suggest the user to run pip install -r requirements.txt if one if the python dependencies fail on configure?

Sure, I can add that to README.md and docs/install.md.


Derrick mei

I finished, but can you check to make sure I didn't miss anything.  The instructions are often really hard to understand.

In particular, I'm not sure about whether we were supposed to simply log things out or send them to the message queue.


[Fix] Login command failure

Community Note

Please vote on this pull request by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Ensure you have added or ran the appropriate tests for this pull request
If the PR is unfinished, add [WIP] prefix to the pull request title and add the do-not-merge label.
Include in the title the category of this pull request. The categories are: [WIP], [Feature] or [Fix]. If the category is unknown use [WIP], once the PR is ready to be merged replace [WIP] for the right category.
Always assign label(s) to your PR.

What this PR does / Why we need it:
References:

Fixes #6

How I did it:
The func GetCredentials() was sending credentials for an unknown platform
The PR includes unit tests and a refactoring to facilitate the unit tests.
How to verify it:
Run unit tests
go test -timeout 30s github.com/liferaft/kubekit/cli -run "^(TestGetCredentials)$"

Description for the changelog:

Fix: The command login failed asking the user for credentials when these are provided on flags or env variables.

Evidence:
$ ./bin/kubekit login kdemo-aws --debug --access_key=ASI...ANIP --secret_key=Jo+DVd...BlT2XgjW --session_token FwoGZXIvYXdz...kriUYeVOFqHnYs+1CqFrunAiM/RQ= --region us-west-2
[Feb 27 13:23:56.903] DEBUG kubekit: assigning credentials from flags and environment variables, in that order
------------------------------------------------------------
$ ./bin/kubekit init kdemo-eks -p eks --debug --access_key=ASI...ANIP --secret_key=Jo+DVd...BlT2XgjW --session_token FwoGZXIvYXdz...kriUYeVOFqHnYs+1CqFrunAiM/RQ= --region us-west-2
[Feb 27 13:24:12.466] DEBUG kubekit: initializing cluster "kdemo-eks" credentials
[Feb 27 13:24:12.466] DEBUG kubekit: initializing cluster "kdemo-eks" configuration
[Feb 27 13:24:12.493] DEBUG Provisioner [ kdemo-eks@EKS ]: loaded state for cluster on eks from /Users/ja186051/.kubekit.d/clusters/ff6a03b6-873f-4ae0-4bdb-961a69e57010/.tfstate/eks.tfstate
[Feb 27 13:24:12.493] DEBUG Provisioner [ kdemo-eks@EKS ]: update state for eks: &{absent  0 [] map[elastic-fileshares: role-arn:]}
[Feb 27 13:24:12.494] DEBUG Provisioner [ kdemo-eks@EKS ]: updating cluster configuration file /Users/ja186051/.kubekit.d/clusters/ff6a03b6-873f-4ae0-4bdb-961a69e57010/cluster.yaml
------------------------------------------------------------
$ cat /Users/ja186051/.kubekit.d/clusters/ff6a03b6-873f-4ae0-4bdb-961a69e57010/.credentials
platform: AWS
access_key: ASI...ANIP
secret_key: Jo+DVd...BlT2XgjW
session_token: FwoGZXIvYXdz...kriUYeVOFqHnYs+1CqFrunAiM/RQ=
region: us-west-2
------------------------------------------------------------
$ cat /Users/ja186051/.kubekit.d/clusters/bdcb4e37-ade7-4ce1-58e0-c7a4057855d1/.credentials
platform: AWS
access_key: ASI...ANIP
secret_key: Jo+DVd...BlT2XgjW
session_token: FwoGZXIvYXdz...kriUYeVOFqHnYs+1CqFrunAiM/RQ=
region: us-west-2
------------------------------------------------------------
$

Codecov Report

Merging #7 into master will increase coverage by 0.38%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
+ Coverage   19.29%   19.67%   +0.38%
==========================================
  Files         168      168
  Lines       12089    12081       -8
==========================================
+ Hits         2332     2377      +45
+ Misses       9521     9468      -53
  Partials      236      236

Impacted Files
Coverage Δ

cli/certs.go
49.45% <100%> (+49.45%)
:arrow_up:

Continue to review full report at Codecov.

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


Architecture 2 - Introductory Assignments

[x] signed and unsigned integer
[ ] binary arithmetics
[ ] Meaning/Semantics
[ ] ASCII
[ ] Dataflow (add instruction)
[ ] fetch, decode, execute

Added the topic "signed and unsigned integers", could you please check if it meets your requirements? @ckirsch

@aemonk Looks very nice. I only suggest to move the material on integers to the first section as part of encoding numbers.


pull request for e2e test at 01/04/2017 20:26:10

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


Multi-line messages end with empty messages

It seems like every multi-line message is sent over the IRC bridge like this:
<Bob> I just wrote my first program!
<Bob> ```sh
<Bob> echo Hello, World!
<Bob> ```sh
<Bob>

An empty trailing line is always included.
If the message is edited, it looks like this:
<Bob> [edit] I just wrote my first program!
<Bob> [edit] ```sh
<Bob> [edit] echo "Hello, World!"
<Bob> [edit] ```sh
<Bob> [edit]

This feels like the Unix tradition of ending text files with a blank line (i. e., last byte should be \n); however, it’s not really appropriate here :)
This bug report might be inaccurate because I can’t test it by myself due to #5; I suggest testing in gitterHQ/irc-test.

This probably happens in gitter-adapter.js:110 – text.split('\n').forEach() would indeed produce this behavior if text had a trailing newline.

This issue still persists today.

For reference, there were some updates to the chunking function in 2016, https://github.com/gitterHQ/irc-bridge/pull/67


Updated validations.py python script.

Fixed the behavior of validate_user function in validations.py.
Closes: #1
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

Create PR, but nothing is happening in the QuickLabs


Don't enter service account flow based on user selection

fixes #1906

hold off for a sec on code review; may need some more refactoring

ok, ready.

lol me too. I know its grammatically incorrect, but it follows the java bean naming convention.

oh oops. it shouldnt be isCreateServiceNewServiceAccount it should be isCreateNewServiceAccount

thanks for spotting that. fixed


Copy web console PR #12422 and PR #12588 changes to plugin

Copy monitoring UI code changes from the following two PRs to plugin

openshift/console#12422 (main PR)
openshift/console#12588 (follow up to main PR)

CustomDataSource, DataSource and isDataSource are not yet exported from the dynamic plugin SDK, so add them under /src/components/console/ for now.
Also changes the code to use useResolvedExtensions instead of useExtensions (part of PR openshift/console#12987).

/lgtm


Density matrix and mixed state

Hi,
we are currently using Torchquantum to implement hybrid models, and we're wondering does Torchquantum plan to support mixed states and density matrix simulation in the near future since we'd like to implement e.g. something like qiskit.quantum_info.partial_trace?
Without density matrix/mixed states, is something like https://quantumai.google/reference/python/cirq/partial_trace_of_state_vector_as_mixture currently doable with Torchquantum?
Thanks for making such an awesome library available!

Hi wcqc,
Thanks for you question! We plan to support density matrix and mixed state in around 1-2 weeks. Meanwhile, we are implmenting the partial_trace_of_state_vector_as_mixture right now, should be finishing within several days. Will keep you updated!

Thanks for replying, and it's great to know!

Apologies for opening this issue again, we were just wondering if TQ is still planning to support density matrices and mixed states?
Thanks!

Thanks for the quick reply, we like the library a lot and we can't wait to use it to its full extent! Thanks again.


Add Arlington, TX

Hi, thanks for your interest in adding your city to the website. Emails on defund12.org are all written by community members. To add your city, you must provide:

Email addresses (at least one) of the government officials you’d like to receive the message
Detailed message concerning the budgeting decisions at stake in your community

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>We call on localities and elected officials across the country to divest resources away from policing in local budgets and reallocate those resources to the healthcare, housing and education our people deserve. More officers, guns, jails and prisons are not a solution to longstanding problems of racial disparities, injustice and police violence.  We demand police free schools across the country and an end to the use of police officers in public universities. All public Institutions designed to serve the people, must cut ties with the police in the interest of public safety.
Until you provide this content, we cannot post your city.
Messages should follow our email style guidelines. Remember that messages must be specific to your locale and focused on defunding the police. If your message is copied from an external source, please provide a link to the original source.
Your request will be closed until you reply with the necessary content. Thank you!

Hi @TiffTM, thanks for your interest in adding Arlington to defund12.
We are asking our submitters to include information specific to their locale, in order to make a stronger case to the email recipients.
Can you edit your email comment to provide more detail about the city budget to make a more compelling argument, showing the disparities in numbers? To get your submission published quicker, please provide source(s) for the data as well.
Feel free to reference our style guide while crafting your email:
https://github.com/defund12/defund12.org/blob/master/EMAIL_TEMPLATE_STYLE_GUIDE.md


Error: Aborting due to empty pull request title -- but my editor has text in it.

Related: https://github.com/github/hub/issues/869
I have text in my editor (see my comment in the related issue above) and when I write and close, I still get an aborting error.

This is what my editor contains when I close and error out: https://cl.ly/73f3c786d25a

Except that it doesn't.  That line at the top, there is nothing above that.  Everything below that is disregarded.
You'd need to type something above that line

Oh I read it as that line at the top L1 needs to be blank and will be
ignored.
On Fri, Jul 12, 2019 at 7:29 AM Drashna Jaelre<EMAIL_ADDRESS>wrote:

Except that it doesn't. That line at the top, there is nothing above that.
Everything below that is disregarded.
You'd need to type something above that line
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/github/hub/issues/2195?email_source=notifications&email_token=AAADNZ4P6DYIEVQY334X3X3P7CINNA5CNFSM4ICKRITKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZZ5MKA#issuecomment-510907944,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAADNZ4L7M2QXJBKGGJECMTP7CINNANCNFSM4ICKRITA
.

--
Inline image
Tim Fong
p:<PHONE_NUMBER>
e<EMAIL_ADDRESS>

Write your text above the ------ >8 -------- line please. It will work.


feat(#53): incorrect-rt-parts lint

In this pull I've introduced new lint: incorrect-rt-parts that issues critical defect in case +rt meta doesn't have 2 parts inside.
closes #53
History:

feat(#53): incorrect-rt-parts
feat(#53): motive
feat(#53): more errors

@h1alexbel thanks!


mcr.microsoft.com/windows/servercore:ltsc2022 and ltsc2019 5/10/2022 update changed the base layer not just delta

Describe the bug
Every month on Patch Tuesday Microsoft updates the ltsc2022 and ltsc2019 images. (Along with many others). On 5/10/2022 update, for the first time that we have noticed, Microsoft updated the base layer and not just the delta layer. Why did this happen? It has large storage impact over the MoM Delta Layer strategy. Below you will see that for at least the last 13 months of releases this has never happened. Please advise what the update strategy for these images will be moving forward and if this is expected to happen again. This breaks our automation which verifies the identity chain of the base images. Thank you.
To Reproduce
mcr.microsoft.com/windows/servercore:ltsc2019
sha256:b111c3320c949bea81612bf4554f1b6592c2f504920b5bf57ba340a1d4d52c93
sha256:8b534d64a7c337eb8a23b425e4f598cd3e7407ddf8c7b2f714d1e7f7ed6a04be

mcr.microsoft.com/windows/servercore:10.0.17763.2928
sha256:b111c3320c949bea81612bf4554f1b6592c2f504920b5bf57ba340a1d4d52c93
sha256:8b534d64a7c337eb8a23b425e4f598cd3e7407ddf8c7b2f714d1e7f7ed6a04be

mcr.microsoft.com/windows/servercore:10.0.17763.2803
sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f
sha256:ba8181afd4264392fbbf8df14fb4cddc55fbe085ab000e986b789678bc2bb171

mcr.microsoft.com/windows/servercore:10.0.17763.2686
sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f
sha256:0a6173b79e25f2ebc0ed51b0ac32a6f65ca5a3bbfcbeab8b74a6c24324121dea

mcr.microsoft.com/windows/servercore:10.0.17763.2565
sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f
sha256:1bd78008c728d8f9e56dc2093e6eb55f0f0b1aa96e5d0c7ccc830c5f60876cdf

mcr.microsoft.com/windows/servercore:10.0.17763.2458
sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f
sha256:567fd00846e9a9f44eea5925b497356dda00fe89b8335d2a3b2a8b9d84b0bb69

mcr.microsoft.com/windows/servercore:10.0.17763.2452
sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f
sha256:635f15ebd5b486e8a00bf217a0574a29550e5bbf08c1d021e1e308100b2e49b5

mcr.microsoft.com/windows/servercore:10.0.17763.2366
sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f
sha256:5ee7a7ea9cf22f75886179907a41810a992e21f3d0c57cc10d2147ce9237701c

mcr.microsoft.com/windows/servercore:10.0.17763.2300
sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f
sha256:c1f4c7287c99b95fce227924349d1d139aceb37d97b555144bd5808935b6eab0

mcr.microsoft.com/windows/servercore:10.0.17763.2237
sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f
sha256:c0698cf91ebd6bcfb319be6a50421b356d6a3dbbd213d9b2b9dca0f837d7a999

mcr.microsoft.com/windows/servercore:10.0.17763.2183
sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f
sha256:a0ddf88812f10c7d6edc858aa9784ff5ca9de4a7bb631909c090090343abd059

mcr.microsoft.com/windows/servercore:10.0.17763.2114
sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f
sha256:c67ded6868b61d392a0c096f911563fd6bc0bc3ed4fe401d077b3718a1b0cdaf

mcr.microsoft.com/windows/servercore:10.0.17763.2061
sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f
sha256:f143c6fed32d477c35b660b2e108ea62e3593c03e44bd9ced208ce52b26b0841

mcr.microsoft.com/windows/servercore:10.0.17763.2029
sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f
sha256:8d5139ce8e391161879a01d93f3cedd815a56486d43851e002819daea95cbbda

mcr.microsoft.com/windows/servercore:10.0.17763.1999
sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f
sha256:639bb6bb2beb4cfdcacb9f0844344448fe26494665d5fe78a494419f86fbb18f

Expected behavior
The 5/10/2022 delta update should have been based on sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f to maintain compatibility.

Can you please provide information that we can monitor to better understand this process? IMO this was a breaking change to the process with no prior warning or heads up about a change to how this was being done. Where was this communicated that we could haven noticed to be aware of the change that was coming?


Add Template workflows for 40k_BSData_7ed_FanMade

To add GitHub Actions workflows to your repository:

create this issue
add a new comment with the content below
replace [repo name] with your repository name in the format owner/repo, e.g. BSData/test.

/template-workflows-pr [repo name]

Kliklaklut/40k_BSData_7ed_FanMade


Can't find images

I'm using connect-assets for a while but I didn't use the images cache functionality for a while. Is it still available in version 2.x ?
So, basically I should drop them in the /assets/img folder and connect-assets will pick them up automatically, right?
Doesn't seem to work for me... Should I specify some configuration for it?
Styles and script concatenation and compression seem to work great so far, using it for more than 3 years already. Great job!

You can add your image path to connect-assets via the path config option, e.g.
...

var assets = require('connect-assets');

app.use(assets({
  path: [
    'assets/css',
    'assets/js',
    'assets/img'
  ]
}));

Then, in your jade, you can utilize connect-assets assetPath(), e.g.
img(src="#{assetPath('my-image.png')}") //- will give you 'assets/img/my-image.png'

Yep, I anticipate #300 holds your answer. Thanks @nmalacarne!


more use of "Show more"

In https://github.com/mitodl/ocw-hugo-themes/pull/876 we replaced the line/arrow UI for truncating text on the CHP with a "show more"/"show less" UI.
But we still have the old UI on some resource pages, like https://live-qa.ocw.mit.edu/courses/res-tll-008-social-and-ethical-responsibilities-of-computing-serc-fall-2021/resources/res-tll-008f21-sts047-1/
Screenshots

Acceptance Criteria:

[ ] Use the same show more UI everywhere
[ ] get rid of the lines and arrows

I would simply show the full title.

For reference/comparison: show more/show less looks something like this:
https://user-images.githubusercontent.com/93309234/199702631-547208c7-0eed-48eb-989a-2ca3735553cd.mov

What does the longest resource title look like, if we go with showing the full title?
The longest resource title is #3 in this search result: https://live-qa.ocw.mit.edu/search/?q="Theory of Discounted Problems"&type=resourcefile&u=compact

What does the longest resource title look like, if we go with showing the full title?
The longest resource title is #3 in this search result: https://live-qa.ocw.mit.edu/search/?q="Theory of Discounted Problems"&type=resourcefile&u=compact

not sure but I think such long titles are not very common, usually titles are of normal length. So as per @Ferdi's suggestion, I think it would be okay to simply show the full title


Add operate sign (siwe) & newbie villa api in SDK

Currently, these apis are implemented in a form of react hooks in @crossbell/react-*. We need to put that logic down into this core level.
These api can be checked on https://indexer.crossbell.io/docs
cc @runjuu

Done.


Mobile phone (maybe desktop): image bleed thru?

Brad: Not sure what’s happening with the banner img on Founders Stories but looks like there’s an img from a different page cutting in.

Fixed!


why the head is always skew?

Hi, I use the XYZ format skeleton to generate pose. But I got a mesh with skew head?

Anyone can tell why the mistake pose?

It seems the input bounding box is too small and didn't include the head top.


Add Grafana E2E version resolver action

What this PR does / why we need it:
This PR adds an Github Action action that has the purpose of resolving what Grafana versions to target in the E2E tests. The output of the action is a json array of Grafana minor versions that can be used to specify a version matrix in the next workflow job.
Currently, the action supports two modes:
plugin-grafana-dependency (default)
The will return all minor versions of Grafana since the version that was specified as grafanaDependency in the plugin.json. (does not work for this repo since it's not a plugin).
version-support-policy
This will resolve versions according to the min support policy defined in this doc. TLDR; all minors for the current major version and the last minor of the previous major version.
If a plugin author requires more flexibility, we can add more modes further on.
Which issue(s) this PR fixes:

Fixes #
Part of https://github.com/grafana/plugin-tools/issues/576

 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.

Okay @academo @jackw, I've made an attempt to limit the amount of versions in case plugin-grafana-dependency mode is used. See this commit.
In this example, the output is capped to six versions. The first and the last version from the input array is always included, and the rest is picked evenly. Thoughts?


id-literal lookups are slow

This is the id-literal equivalent to the lookup-ref case from https://github.com/mozilla/datomish/issues/25.  The comments there are mostly relevant.

Closed by https://github.com/mozilla/datomish/commit/1ddf37163c1494292912d63b9b7d0ce1587ccdf2.


Immutably owned clones

My cloned proxy deploys costs less the 1/10th of what they did before I found EIP 1167, so thanks for the awesome contract!
Some projects with vote locking (such as https://dao.curve.fi) require smart wallets to have restrictions on transfer in order to be approved. I've been thinking of how to accomplish this and I have a working, but likely not optimal, solution (which also uses CREATE2 and so is one way to solve #18).
At first I was just going to remove the functions for changing the owner, but because the proxy contract has a delegatecall, it would be able to change the state anyway.
Then I was going to try using the new immutable keyword, but we are using an init function instead of a standard constructor to do the setup.
Here's my current solution:

My factory contract appends the immutable owner's address to the end of the contract. This ensures that create2 gives a new address for every user.

https://github.com/SatoshiAndKin/argobytes-contracts-brownie/blob/slim/contracts/abstract/clonefactory/CloneFactory.sol#L56

And then my proxy contract gets its owner from the contract's code:

https://github.com/SatoshiAndKin/argobytes-contracts-brownie/blob/slim/contracts/abstract/ArgobytesAuth.sol#L41
My testnet deploy script works and I'm working on adding more tests this week. I wanted to post this here in case this is helpful for someone else (or in case its a terrible idea and I should be stopped). I'm very new to assembly and so this is probably not perfect. Any suggestions are welcome.

 I found myself needing immutable ownership as well so this is helpful.
Any chance you could update the links you shared? They lead to "404 Not Found" pages now. Pro tip: if you hit CTRL/CMD+Y while viewing a file in a repo, GitHub will add the current commit to the browser URL.

Then I was going to try using the new immutable keyword, but we are using an init function instead of a standard constructor to do the setup.

Could you shed some light on this? Is it that only your specific set up requires an init function, or all clones deployed with EIP-1167 cannot use the usual Solidity constructor.
I'm still coming to grips with how this clone factory works.


Is this project still being maintained?

Per question, wondering if it's still being maintained.

Mr. Paquin seems to have gone dark (on github) in 2021.
:(

the fate of GitHub projects haha.

I opened issue #443 regarding this

the fate of open source


Preact X children.filter is not a function

I'm testing preact-router with preact X (the recent alpha release) and this error comes up with a very basic app.
import { h } from 'preact';
import { Router } from 'preact-router';
import Home from './components/Home';

export default function App() {
  return (
    <Router>
      <Home path="/" />
    </Router>
  );
}

And the error:
Uncaught TypeError: children.filter is not a function
    at Router.getMatchingChildren (index.js:213)
    at Router.render (index.js:231)
    at _ (index.js:126)
    at _ (index.js:137)
    at d (children.js:74)
    at $ (render.js:17)
    at Object.parcelRequire.index.js.preact (index.js:6)
    at newRequire (src.e31bb0bc.js:49)
    at src.e31bb0bc.js:81
    at src.e31bb0bc.js:107

Am I doing something wrong or is it a known issue with preact X ?

Known issue - Router needs to be updated.

Fixed in #298 by @sync!


Incompatible dependancies

I'm trying to get this repo up and running, but am getting incompatible dependencies, which I think are causing errors later on when trying to run the demo.
When trying to install vllm I get:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
blis 1.0.1 requires numpy<3.0.0,>=2.0.0, but you have numpy 1.26.4 which is incompatible.
thinc 8.3.2 requires numpy<2.1.0,>=2.0.0; python_version >= "3.9", but you have numpy 1.26.4 which is incompatible.
But these packages require an incompatible version of numpy:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
outlines 0.0.46 requires numpy<2.0.0, but you have numpy 2.1.0 which is incompatible.
vllm 0.6.3.post1 requires numpy<2.0.0, but you have numpy 2.1.0 which is incompatible.
I may be missing something really basic, but I've been stuck on this.
Any help is appreciated, thanks!

Thanks!
We also observe the package version conflict problem. Thanks for sharing your solution! We will try to fix it as soon as possible.
Best,
Z.


⚠ ClamAV has degraded performance

In 1a51b64, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 96 ms

Resolved: ClamAV performance has improved in 7868ac7.


Add Support for config.production.json

In latest production version of ghost config.production.json file is available instead of config.js.
Please add some support for that.

Hi!
Is it possible to use this package on ghost version 5.33.x

No. This package is no longer maintained.


Added --detailInfo switch

As discussed with @jeffmo this is my first stab at incorporating a switch to display more detailed information, i.e. all tests run, instead of just the final result/fail.
I also took the liberty to rewrite the test result handler for now be a configurable class, which for now only supports showing detailed information or the default output, but could be enhanced to show pending tests etc. (which is something I really want, since it's a good way to keep track of what still has to be done)
I assume this PR will be a work in progress, but I thought I'd put it out there, before continuing further to see what you guys feel about it.
With the --defailInfo switch enabled, a test suite could look like this:

:+1:

Also interested in detailed results!

I didn't actually look at logic but I think @jeffmo did so I was just the linter. We need a rebase but otherwise I'm inclined to just take this pretty much as is with style fixes.

@zpao I'm not sure whether this PR is even usable anymore? In the time that passed since the PR was issued, defaultTestResultHandler.js changed a lot. It was changed into a prototype-based version, which I had earlier, but was asked to change again into functions.
So I am not sure if it really makes sense to fix the identation here now?! Feedback would be appreciated.

If I'm not mistaken, this relates to issue #4 as well as PR #307.

Finally this was implemented (in #370). I guess we can close this PR safely now?

Closing this one, feel free to open a new issue/PR if this needs something in addition.


Paper folder reorganization

Clean up and reorganise the paper folder

I tried to go through your PR #87 @matjobst to make sure I didn't miss anything. Could you please double check that I got all the changes your requested? The naming is a bit different but probably doesn't matter too much, though feel free to suggest changes!

Sure.
In the RNN directory, the spyx, norse, nengo and lava inference scripts are not renamed to a common scheme yet.
In the CNN, nengo and spyx don't follow the common scheme.

@matjobst what is the scheme to use? I'll do the renaming for the RNN folder accordingly.

@VitF The others in the RNN start with Braille_inference_. It would be consistent if all use that scheme.

Ok, I thought you were referring to a common scheme across all the three experiment directories.

Now it should be ok. Could you @stevenabreu7 @matjobst please check?

LGTM!


Access is denied

I want a solution  for Access is denied

This is problem related to pip. And could be easily found on stack overflow. https://stackoverflow.com/questions/31172719/pip-install-access-denied-on-windows#:~:text=Open cmd with "Run as,It will install it.&text=Try to give permission to,and wait the process finished.
In the future please post only the issues related to repository.
Thank you.


⚠ AnonymousOverflow has degraded performance

In fd98200, AnonymousOverflow (https://overflow.perennialte.ch) experienced degraded performance:

HTTP code: 200
Response time: 4530 ms

Resolved: AnonymousOverflow performance has improved in 6425a6c after 7 minutes.


Error sending notification

I'm getting the following error when I'm submitting the form.
"Error sending notification: Call to a member function value() on null"
It worked well for some days then it started getting this error. I've tried a clean reinstall of the plugin but with the same result.. any idea?

Texnixe looked into the code and told that the error seems to be an issue in the $form->parseString()` method of the plugin.

Hi Gobdan
Give me a few days to care about that. In the meanwhile you can try to put this method in a condition.
If you have a solution and you where familiar with git, don't hesitate to make a Pull Request.
Did you post this issue in the Firby-Forum too? May you could post the link of the thread in this conversation?

Thanks for the quick replay.
Unfortunately, I don't have the deeper skill to know how to solve this. What's weird is that I had it working just fine for about 2 weeks and suddenly broke. It's working fine if I recreate the block and keep the preset fields but once I delete them and add a new field, the error appears. Also did tests on local or other servers and the error keeps showing. Don't know what could cause this and why it worked for some time before this.
Yes, I've posted it on the forum so maybe someone had an idea what's about and Sonja came up with that answer. Here's the thread if you wanna look into it.
It's not urgent, I know you have other priorities at the moment but when you got some spare time maybe you could look into it. Thanks again! :)

So I had to focus on something else for few days so I've leave it as that. Today I got back at it (still getting the error) so I deleted the form and recreated again (I did that many times before with no result) and this time worked. Everything works fine now, idk why but it works. Still can't figure out the reason for it but hope it will stay that way. I'll keep you noted in case I'm getting the error back.
Thanks again for your responses :)

So, I created two forms and have the issue with both of the forms. The issue also persists when uploaded to a remote server. I currently try to narrow it down to understand where the issue is happening

It looks like the error happens because the code in the sendNotification and sendConfirmation functions assumes there is a field with the name 'email'. So as soon as you remove that field, the issue appears. When you add the field again, the issue is gone.
Because when the field is missing, the parseString function throws the error as there is basically no null check. The only thing this function does is to check whether the value is a string, and in the case it isn't it tries to get the value via $value->value() which then fails, because $value$ can be null.
I think I might be able to send a pull request for that by adding the additional null check. But I believe you might have to rethink that logic with the static programmed email field. I'm not sure that's what you wanted.

Created a pull request, but please make a code review and test it. I'm by no means a PHP developer.


fix(cdk-experimental/menu): ensure context menu is closed out with other menu elements on page

Fixes an issue which prevents an open context menu from closing out if clicked on a menu bar
element or on an inline menu. Further fixes an issue where opening a context menu does not close
out any open menu.

@jelbourn feedback should be addressed


DEC-1340 undo

Indexing child relationships causes issues with the solr index in cases where the parent items exist before the relation is created.
I've removed this functionality as we will never be able to use the relation data (in the solr way) anyway.

Coverage increased (+0.1%) to 95.736% when pulling e818fc01a971b422e8d78f1ecef87b5388101156 on DEC-1340_undo into 2f6e2fed42fe548ef5366506288cad1b14158c4e on master.