[rust] publishing cxx bridge includes with workerd/ prefix

This will allow us to have same crate names (cxx-integration) and not to confuse compiler regarding which one is used.

Change itself LGTM. I guess if we start using cxx-integration from a source file that is shared between workerd and downstream, we'd need to pick the right cxx integration using #ifdef?

I intend for ew cxx-integration header file to just include workerd + using statement so they will be the same.


feat(file_browser): collapse dirs

With { collapse_dirs = true }
going from (example from stow)
dotfiles/
to
dotfiles/nvim/.config/nvim/
only requires selecting nvim
in file_browser as intermediate
single-folder levels are skipped.
This also works in the reverse
direction.
Closes #158
@cc paul-ohl
Could you please test this PR with your config? :) just making sure it doesn't result in unintended infinite loops for someone other than me :laughing:

It works amazing!
No issue found so far.

Thank you so much, it's great!

Thanks :)


Documentation website doesn't appear to be working

Looking at the source for the documentation, it looks like it should be available to read at the Github Pages URL http://jasperfx.github.io/baseline, but I'm currently getting a 404. Is there are different address I should be using instead?

Looking at the source for the documentation, it looks like it should be available to read at the Github Pages URL http://jasperfx.github.io/baseline, but I'm currently getting a 404. Is there are different address I should be using instead?

This should be at least in README. I'm also interested where are those docs placed.


Implementing unset  update method

@nigelsmall @johnymontana
Tried several times to pass this inside params_dict dict, but no success:
params_dict.update({"remove_parameter": update_value})
and the retrieve it on statement by REMOVE {{remove_parameter}}
always caused the error
InvalidSyntax: Unexpected end of input: expected whitespace, comment or '.' (line 1, column 71 (offset: 70))
"MATCH (d:Document:talks { _id: {doc_id} } ) REMOVE {remove_parameter} "
ideas?
Thanks!

I presume you want to dynamically remove a field?
Cypher requires fields for SET and REMOVE to be spelled out literally.
I found a workaround though:
WITH { age:null } AS props
MATCH (n:Person {name:"Neo"})
SET n += props
RETURN n

@jexp is is good to set the property to null?
my point was not about using REMOVE, it's implemented on this PR. I just could not use a dictionary on cypher statement and had to pass the argument directly on the string
statement = "MATCH (d:Document:{doc_type} {{ _id: {{doc_id}} }} ) REMOVE d.{remove_parameter} ".format(doc_type=doc_type, remove_parameter=update_value)
IDK if it's OK.
Do you prefer to set the property to null?

@hannelita @jexp I think the way you have implemented unset now (removing the property using a string format) is fine, instead of setting the property to NULL. I think this more closely matches the behavior in mongo, right? The property is removed, not just set to NULL in an unset operation in mongo?

@johnymontana In terms of semantics, yes, Unset is mapped to Remove. However, setting a property to null in neo4j leads to a property removal.


fix(build): bump dependency versions

:tada: This PR is included in version 9.21.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[Shop] Twonkie product description is outdated

The description of the Twonkie USB-PD sniffer on https://shop.3mdeb.com/shop/open-source-hardware/twonkie-usb-c-sniffer/ is outdated.

Monitoring VBUS and VCONN voltages and currents (WARNING: VBUS path designed for SPR voltages up to 20V. Not appropriate for use with USB PD 3.1 EPR systems when in EPR mode)

is outdated, should be updated to

Monitoring VBUS and VCONN voltages and currents (Supports USB PD 3.1 EPR voltages up to 48V)

The original description was accurate only for v1.0 of the product, but we're offering v2.0.

@mkopec fixed https://shop.3mdeb.com/shop/open-source-hardware/twonkie-usb-c-sniffer/


Drop with .. yield

Discussion
this comes from here,
https://forum.crystal-lang.org/t/questions-about-with-yield/6283/7
I think HertzDevil says scoped yields == with .. yield, right?
yeah, I agree with that to drop this confusing syntax,
but then instance_eval/instance_exec is needed, the reason being here

Personally, I'd rather see the scoping issues fixed with with ... yield, but I know @asterite has mentioned wanting to remove it before too. After having mentioned that, I started removing it from any of my projects that use it just in case, but I know there's a lot of popular shards like Jennifer that use it.
I don't think adding instance_eval/instance_exec would be a good idea though. Crystal isn't Ruby, nor a dynamic language, and adding dynamic metaprogramming concepts like this would lead to a lot more issues than what with .. yield has.
For example:
abstract class Foo
end

class Bar < Foo
end

module Baz(T)
  T.instance_eval do
    abstract def run : String
  end
end

class Qux < Foo
  include Baz(Foo)
end

In this case, it really shouldn't compile since (in the Ruby sense), it would make a class method run, but you can't define an abstract method on the metaclass. While each of these edge could be accounted for, I don't see how that's not any different than accounting for edge cases on with .. yield.

There already exist several discussions about this topic, here and in the forum. If you want to start a fresh discourse, please refer to the numerous arguments that have already been made with a summary and optional opinions. It does not make any sense to start a new issue with zero reference to what has already been talked.
Also, this is an issue tracker for actionable items. An open discussion about the possibility to change a language feature is not an actionable item. It only becomes an actionable item once there is a clear plan about how to implement it and at least some reasonable consensus about that plan.
This kind of discussion belongs in the forum, not the issue tracker. Closing.


Add store to the repl

It would be nice to have some store examples.

It also looks like currently the REPL doesn't even compile with store: true, which would be required first. I'm not sure whether it would be best to hardcode that or to provide a control for it. We currently don't have controls for dev or cascade (which are both set to non-default values), so there is precedent, but perhaps not good precedent.

Also - for anybody using https://codesandbox.io - can the Store be used there? Using the example code from the docs for importing you obviously can't find the store.js - but how to reference the store in that case?
import { Store } from 'svelte/store.js';


add cedilla

Addresses part of #2.

Hmm, one question: it looks like this was added to 9 tables, but 8 fonts changed.  Explanation for the discrepancy?

Most fonts display D, G, K, L, N, R with cedilla, ḐḑĢģĶķĻļŅņŖŗ, with comma below, except for lower g which has a descender, hence comma above, for Latvian and Livonian. (https://github.com/KaTeX/katex-fonts/issues/2#issuecomment-362142563)

@ylemkimon I think that character is not in standard LaTeX fonts, so should wait for another PR.

@edemaine It seems so, except lower g:

@ylemkimon Is that the LaTeX output of \c{g}? If so, we should see how \c is implemented in LaTeX...

@edemaine Yes, it is.

@ylemkimon You must be using an additional package.  Here's what I get with pdflatex on
\c{D} \c{d} \c{G} \c{g} \c{K} \c{k} \c{L} \c{l} \c{N} \c{n} \c{R} \c{r}

@edemaine I was testing on quicklatex.com and sharelatex.com, so I'm not sure which packages they have installed, but here is the log:
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017) (preloaded format=pdflatex 2017.7.12)  1 FEB 2018 15:14
entering extended mode
 \write18 enabled.
 %&-line parsing enabled.
**main.tex
(/compile/main.tex
LaTeX2e <2017-04-15>
Babel <3.12> and hyphenation patterns for 84 language(s) loaded.
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/minimal.cls
Document Class: minimal 2001/05/25 Standard LaTeX minimal class
) (/compile/output.aux)
\openout1 = `output.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 3.
LaTeX Font Info:    ... okay on input line 3.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <7> on input line 5.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <5> on input line 5.
[1{/usr/local/texlive/2017/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (/com
pile/output.aux) )
Here is how much of TeX's memory you used:
 24 strings out of 492990
 491 string characters out of 6132621
 54148 words of memory out of 5000000
 3670 multiletter control sequences out of 15000+600000
 3640 words of font info for 14 fonts, out of 8000000 for 9000
 1141 hyphenation exceptions out of 8191
 19i,6n,14p,108b,92s stack positions out of 5000i,500n,10000p,200000b,80000s
</usr/local/texlive/2017/texmf-dist/fonts/type1/public/amsfon
ts/cm/cmr10.pfb></usr/local/texlive/2017/texmf-dist/fonts/type1/public/amsfonts
/cm/cmr5.pfb>
Output written on /compile/output.pdf (1 page, 17105 bytes).
PDF statistics:
 16 PDF objects out of 1000 (max. 8388607)
 10 compressed objects within 1 object stream
 0 named destinations out of 1000 (max. 500000)
 1 words of extra memory for PDF output out of 10000 (max. 10000000)

@ylemkimon on quicklatex.com if you click "Choose Options" you can edit the document preamble.  By default it's:
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}

I tried removing those from the preamble, and still got the same results on quicklatex, which still differ from my local texlive installation (though maybe a different version?). Weird...

@kevinbarabash Yes, but removing all three packages still gives the same result.


It isn't clear from looking at it what number is (the greys are too similar).
And it can't do negative numbers.
There should be a new number shape, an octagon.
Rectangle is our unsigned integer.
Octagon is our signed integer.
As the number gets bigger, it could 'fill in' around the shape, like a clock/timer. By default, half is filled in, representing 0. As the clock goes round clockwise, it goes up to +4. As it goes anti-clockwise, it goes down to -4. (So, still 9 possible values).

Wait, don't diamonds have 9 possible values?

near enough :)

Gonna make it a hexagon instead

But what will happen to MY hexagon?
On Thu, Sep 22, 2022, 6:18 AM Lu[ke] Wilson @.***>
wrote:

Gonna make it a hexagon instead
[image: image]
https://user-images.githubusercontent.com/15892272/191721876-af5545d6-2691-4d88-aa77-babecc21ab83.png
—
Reply to this email directly, view it on GitHub
https://github.com/TodePond/CellPond/issues/206#issuecomment-1254821368,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZIVBMSQMWSB2M32GKRNBOTV7QW6DANCNFSM54DBT2IQ
.
You are receiving this because you commented.Message ID:
@.***>

That can be a different shape :D

Hexagons now work for setting the chance of a rule happening

Gonna close this now and split into smaller issues


Add MySQL showcase.

@kezhenxu94 @mrproliu According to @yswdqz feedback, he succeeded in using this on docker-compose, but failed in k8s(local KinD). As he does not know k8s well, could you help him?

BTW @yswdqz The doc should be updated accordingly. @kezhenxu94 we need to update the demo auto redeploy setup to add mysql.

I get it. Thank you for your help !

@yswdqz As you have the env issue to set up this complex k8s env, I have DMed @kezhenxu94 to take over this tomorrow.

Redeploying demo env

It's live now http://demo.skywalking.apache.org/dashboard/MYSQL/Service/bXlzcWw6Om15c3FsLXNlcnZpY2UtZGVwbG95bWVudC01ZDljNDdkZDY0LWxkeGR2.1/MySQL-Service , @yswdqz can you help to update the doc in another PR?

Which doc do we put this link?

I get it, I will update it now.

It's live now http://demo.skywalking.apache.org/dashboard/MYSQL/Service/bXlzcWw6Om15c3FsLXNlcnZpY2UtZGVwbG95bWVudC01ZDljNDdkZDY0LWxkeGR2.1/MySQL-Service , @yswdqz can you help to update the doc in another PR?

We don't need to add this link in the doc, I mean we didn't update the doc in this PR so I'm asking to update that in a new PR.

I have sent the PR, #64 .


Feature/juan/biometric

ISSUE
#65
SUMMARY
Created a flow that uses the biometric login to unlock the favourite character list

I have restored branch to see differences with the propose indicated in my approved message for revision about this PR


Track highlights across multiple split editors

Can you add mode to Split Editor when highlighted selection of one half also highlights on another?
For example, on left half you can have list of some special words. You can just select them one by one and quickly find all places where they are on right half.
thank you.

To keep the number of issues in our inbox at a manageable level, we're closing issues that have been on the backlog for a long time but haven't gained traction: we look at the number of votes the issue has received and the number of duplicate issues filed. Thank you for your time and understanding.
If you disagree and feel that this issue is crucial: we're happy to listen and to reconsider.


Incorrect handling of proxy connection state

It seems the error nullability check here should be reversed:
https://github.com/kost/tty2web/blob/fe5fd5bf6b6aa8886431531b9279f38b45773371/server/rclient.go#L219-L231

Thanks for reporting the issue. Should be fixed now. Will be available in next release!


Show all inspections for any inspector

No need to actually store assignments to get this done - just create a view where each inspector's inspections (for the day) are visible.

Building this revealed a problem with the shapefile imports of inspector regions. For some reason, only Morey, Marquez, and Engler are importing successfully. The rest fail silently. Will have to resolve this.
In the meantime, this address (the district 9 field office) works for demo purposes:
6509 Gundry Ave, Long Beach, CA 90805


Status of swift-example branch

The readme references a swift-example branch, which doesn’t seem to exist. I can’t find it being merged either.
What is the status of this branch, and the collection view example it apparently contains?
I was going to PR to update the broken readme links, but though better to check what’s going on.

OK. Little PR incoming.


Not correctly destroying fragments

I am using async tasks for example for reloading data from a server (swipe to refresh) in a listview. However, when I select another section in NavigationDrawer while an async task is running, it seems that both  Fragments are overlapping afterwards. What am I doing wrong? Do I need to cancel all my task in onDestroy()? Or onDestroyView()? What if tasks cannot be cancelled at that time?

Looks like this helps:
    @Override
    public void onPause() {
        super.onPause();
        if (swipeRefreshLayout != null) {
            swipeRefreshLayout.setRefreshing(false);
            swipeRefreshLayout.destroyDrawingCache();
            swipeRefreshLayout.clearAnimation();
        }
    }


SparkUI link occasionally links to localhost instead of the correct IP

I am running the notebook and using it on two distinct machines. I have noticed that occasionally SparkUI link gets mapped to localhost instead of the correct IP address. Judging by the Spark UI port number, the external IP discovery fails only on the first spark context initialization (i.e. there were no running kernels before). However, on attempts to reproduce this bug the link completely disappeared. So did the progressbars. I will update the issue if I get more info on this.
I am using a master build:
Build: |  buildTime-Mon Dec 07 14:34:13 EET 2015 | formattedShaVersion-0.6.2-SNAPSHOT-965aa22546c3514f9b5b5982d270c075f9c88c49 | sbtVersion-0.13.8 | scalaVersion-2.10.6 | sparkNotebookVersion-0.6.2-SNAPSHOT | hadoopVersion-2.6.0-cdh5.4.2 | jets3tVersion-0.7.1 | jlineDef-(org.scala-lang,2.10.6) | sparkVersion-1.6.0 | withHive-true | withParquet-true |.

use SPARK_PUBLIC_DNS=whatever-public-host-where-spark-notebook-runs. see #399


Problem with JFXToolbar shadow

Hello, I am using the JFXToolbar inside a VBox, I put the tree of my design:
StackPane{
  vbox {
     JFXToolbar()
     hbox {
         stackpane() // BACKGROUND TRANSPARENT;
         stackpane() // BACKGROUND #ededed;
     }
   }
}

But the panel that added a background does not respect the shadow of the JFXToolbar:

How could this problem be solved?

Hello,
Well VBox doesn't consider the effect applied on its children. you can either create a custom StackPane that layout its children in a similar manner to VBox, or simply add spacing to vbox.
Regards,

I have been trying different solutions, and I do not know if it is the best solution but it works for me (for the time being).
StackPane{
  gridPane {
     row{
         JFXToolbar() // toolbarTittle
     }
     row{  hbox {
         stackpane() // BACKGROUND TRANSPARENT;
         stackpane() // BACKGROUND #ededed;
     } }
   }
}

And finishing my design I call the method toFront () of the JFXToolbar.
toolbarTittle.toFront();
Now how could I solve the problem in JFXTabPane? where a child node has a backgraund but I do not want to lose the shadow.

If I add a spacing or padding, it does not look good to the final design.

not sure it might help, but you can change the background color of the tab itself and keep the transparent background for children.

It's a good solution if I just want to have 1 background color on the tab.
But in the case you want to have 2 colors? to represent 2 sections?
For example in a section a list of data (Background: WHITE) and in the other a form (Background: SILVER)


⚠ Bofrost.at has degraded performance

In 53529f2, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 931 ms

Resolved: Bofrost.at performance has improved in 710b69f after 10 minutes.


prepare release 1.4.1

update version to 1.4.1
fix pom dependency issue
fix version tag update issue

Codecov Report

Merging #64 (6c0bf00) into main (9ee4369) will increase coverage by 3.62%.
The diff coverage is n/a.

:exclamation: Current head 6c0bf00 differs from pull request most recent head 77d6499. Consider uploading reports for the commit 77d6499 to get more accurate results

@@             Coverage Diff              @@
##               main      #64      +/-   ##
============================================
+ Coverage     80.82%   84.45%   +3.62%
+ Complexity      491      395      -96
============================================
  Files            65       53      -12
  Lines          6870     4189    -2681
  Branches        650      541     -109
============================================
- Hits           5553     3538    -2015
+ Misses          796      197     -599
+ Partials        521      454      -67

Impacted Files
Coverage Δ

.../analytics/kotlin/android/utils/MockPreferences.kt

...cs/destinations/plugins/IntercomDestinationTest.kt

...egment/analytics/kotlin/android/EventsFileTests.kt

...tics/kotlin/android/AndroidLifecyclePluginTests.kt

...ics/kotlin/android/AndroidContextCollectorTests.kt

...s/destinations/plugins/ComscoreDestinationTests.kt

...om/segment/analytics/kotlin/android/utils/Mocks.kt

...cs/destinations/plugins/FirebaseDestinationTest.kt

...s/destinations/plugins/MixpanelDestinationTests.kt

.../segment/analytics/kotlin/android/utils/Plugins.kt

... and 4 more

Continue to review full report at Codecov.

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


Many provider attributes are not supported

Issue description
Steps to reproduce the issue
Assumptions

Conjur master is setup
Valid credentials are available to the Terraform script as variables

Given the following TF template:# main.tf
provider "conjur" {
  account = "${var.conjur_account}"
  appliance_url = "${var.conjur_appliance_url}"
  api_key = "${var.conjur_api_key}"
  login = "${var.conjur_login}"
  ssl_cert = "${var.conjur_ssl_cert}"
  ssl_cert_path = "${var.conjur_ssl_path}"
}

Run terraform apply

What's the expected result?

The values for account, appliance_url, ssl_cert, and ssl_cert_path are used to connect to Conjur

What's the actual result?

Only the values for api_key and login are used to connect.  The rest of the values must be set using environment variables.

Dev Notes
In tracking this bug down, I noticed the environment variables mentioned in the readme (ex. export CONJUR_APPLIANCE_URL="https://localhost:8443") are the environment variables the Conjur GoLang library uses.  It looks like the convention for setting configuration with environment variables is more like:
Schema: map[string]*schema.Schema{
  "appliance_url": &schema.Schema{
    Type: schema.TypeString,
    Required: true,
    DefaultFunc: schema.EnvDefaultFunc("CONJUR_APPLIANCE_URL", nil),
    Description: "URL of the Conjur Appliance",
  },
  "account": &schema.Schema{
    Type: schema.TypeString,
    Required: true,
    DefaultFunc: schema.EnvDefaultFunc("CONJUR_ACCOUNT", nil),
    Description: "Conjur Account",
  },
  ...
}

which creates a more direct mapping between the environment variables and the provider attributes.  Does it make sense to update this technical debt as part of this effort?

Verified this bug - only api_key and login are supported. At the very least we should update the documentation about it.

PR: https://github.com/cyberark/terraform-provider-conjur/pull/59

Released as part of v0.4.0. Closing.


Haskell dev-container isn't properly configured to work well with stack

I'm trying to use Haskell dev-container with my stack-based toy project. Haskell dev-container is based on docker image haskell. As it turned out that image is not adapted to work under a user other than root. For example, they configure stack to use global system-wide GHC installation over self-managed local installation:
...
        stack config set system-ghc --global true; \
        stack config set install-ghc --global false; \
...

Unfortunately, those settings stored under /root/.stack/config.yml and since dev-container currently configured to work under user vscode, when I use stack it tries to download and install GHC locally event though I already had one:
vscode ➜ /workspaces/haskell (ops ✗) $ id
uid=1000(vscode) gid=1000(vscode) groups=1000(vscode)
vscode ➜ /workspaces/haskell (ops ✗) $ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.10.7
vscode ➜ /workspaces/haskell (ops ✗) $ which ghc
/opt/ghc/8.10.7/bin/ghc
vscode ➜ /workspaces/haskell (ops ✗) $ stack build
Specified file "ChangeLog.md" for extra-source-files does not exist
Preparing to install GHC (tinfo6) to an isolated location.
This will not interfere with any system-level installation.
ghc-tinfo6-8.10.7:   21.14 MiB / 207.64 MiB ( 10.18%) downloaded...^C

If I logs in as root it works as expected:
vscode ➜ /workspaces/haskell (ops ✗) $ sudo su
root ➜ /workspaces/haskell (ops ✗) $ stack build
You are not the owner of '/workspaces/haskell/.stack-work/'. Aborting to protect file permissions.
Retry with '--allow-different-user' to disable this precaution.
root ➜ /workspaces/haskell (ops ✗) $ stack build --allow-different-user
Specified file "ChangeLog.md" for extra-source-files does not exist
No information from Hackage index, updating
Selected mirror https://hackage.haskell.org/
Downloading root
Waiting to acquire cache lock on /root/.stack/pantry/hackage/hackage-security-lock
Acquired cache lock on /root/.stack/pantry/hackage/hackage-security-lock
Released cache lock on /root/.stack/pantry/hackage/hackage-security-lock
Selected mirror https://hackage.haskell.org/
Downloading timestamp
Downloading snapshot
Downloading mirrors
Cannot update index (no local copy)
Downloading index
^C

I assume there are two possible solutions to the problem:

Change remoteUser to root in devcontainer.json. Dont know what consequences it will have.
Parameterise the base image of the dev-container by user argument so that we could build dev-container for specific user, vscode in our case.

Adding in @stuartpike who owns the community definition.

Behaviour received at 'stack build' 'Preparing to install GHC (tinfo6) to an isolated location' is the default behaviour I've experienced. The download only takes place once for the account used when creating/building multiple projects.
Testing:
On native clean Linux install using 'curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh' directly from haskell.
The issue raised looks not to be with the container or a native installation, but with how haskell installs. So I'd suggest contacting haskell community for assistance.


Add support for String input instead of textId

Hey. Sry but that is not as easy as it seams to be. The StringRes ist used with getText instead of getString to get a Spanned
https://github.com/ch4rl3x/HtmlText/blob/4fc1409214858134100178d54b8ea0b049ccc9bb/html-text/src/main/java/de/charlex/compose/HtmlText.kt#L116
The only way would be to support CharSequence instead of textId, but the "Html" content won't work, until you create your own Spanned which is a CharSequence.
Feel free to add a StringExtension which creates a Spanned from a HtmlString. If we have a working StringExtension, than we could support String input

I will take a look at this weekend to see if I can do anything


reduce width of search to facilitate longer menu

Display at 801px (breakpoint is at 800)

Closes #2139


Added Go Report Card badge in Readme

Signed-off-by: Dharmjit Singh<EMAIL_ADDRESS>What this PR does / why we need it:
This PR will add the Go Report card badge in the readme which will also highlight the code quality health of the project.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #177
Additional information
Special notes for your reviewer

Do you think it makes sense to keep doc reference and go report badge in a separate line? This could be in the first line and linter + post merge on main could be in the second line. WDYT

Do you think it makes sense to keep doc reference and go report badge in a separate line? This could be in the first line and linter + post merge on main could be in the second line. WDYT

We don't have too many badges, It looks okay in my opinion. Maybe we can improve the name of post merge on main badge.


⚠ Bofrost.de has degraded performance

In 56fc6c7, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1251 ms

Resolved: Bofrost.de performance has improved in b03a7d5.


Support for bun

hi,
Currently you can't use bun with the default agents.
So we have to disable the agents and run everything on github  actions for now.
Would be nice to see this supported :)
Greetings Glenn

Hi Glenn, meanwhile, you could use a custom launch template like this one: https://github.com/marmicode/cookbook/blob/main/.nx/workflows/bun.yaml

Thanks, I tried it but got the following error:
1    /tmp/102857006:5978
2        throw new Error("No cache restore key or paths provided.");
3        ^
4
5    Error: No cache restore key or paths provided.
6        at Object.<anonymous> (/tmp/102857006:5978:11)
7        at Module._compile (node:internal/modules/cjs/loader:1376:14)
8        at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
9        at Module.load (node:internal/modules/cjs/loader:1207:32)
10       at Module._load (node:internal/modules/cjs/loader:1023:12)
11       at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
12       at node:internal/main/run_main_module:28:49
13
14   Node.js v20.11.1


I am trying your new scripts, but it is still not working for bacteria or plasmids. Can you help me with this?

Ok, I did something wrong before, now I was able to do it. Thanks anyway.


Create initial tests for the mongodb service

Is your feature request related to a problem? Please describe.
@aybruhm has created an initial scaffold for testing the database logic. We would like to create some additional tests.
Describe the solution you'd like
Here is a list of tests from chatGPT
Given the provided code, which appears to be a collection of asynchronous database operations related to app variants, templates, and images, here's a list of tests you might consider running:

get_templates Function

Test that the function retrieves all the templates.
Test an empty database to see if it returns an empty list.

add_template Function

Test adding a template with valid data.
Test attempting to add a template with a duplicate template_id to ensure it doesn't overwrite.
Test with missing or invalid fields.

add_variant_based_on_image Function

Test adding a variant with a valid image.
Test with missing or invalid fields in both app_variant and image.
Test adding a variant with the same app_name and variant_name to ensure it raises a ValueError.

add_variant_based_on_previous Function

Test adding a new variant from a previous/template one with valid parameters.
Test with missing or invalid fields in previous_app_variant.
Test with a non-existent template variant.

list_app_variants Function

Test listing all app variants.
Test listing app variants with a specific app_name.
Test the function with the show_soft_deleted flag both as True and False.

list_apps Function

Test listing all unique app names.
Test with an empty database.

count_apps Function

Test counting all unique app names.

get_image Function

Test fetching the image for a valid app variant.
Test with a non-existent app variant.

remove_app_variant Function

Test removing an app variant that exists.
Test attempting to remove a non-existent app variant.
Test removing an app variant that has been soft deleted.

remove_image Function

Test removing a valid image.
Test attempting to remove a non-existent image.

check_is_last_variant Function

Test with an app variant that is the last one using its linked image.
Test with an app variant that isn't the last one using its linked image.

get_variant_from_db Function

Test getting a variant that exists in the database.
Test with a non-existent variant.

update_variant_parameters Function

Test updating parameters of a valid variant.
Test with non-matching parameter keys.
Test updating a non-existent variant.

remove_old_template_from_db Function

Test removing old templates that aren't in a given list.

fixed in :
https://github.com/Agenta-AI/agenta/pull/556
https://github.com/Agenta-AI/agenta/pull/635


[SP-5012] Backport of PPP-4281 - Use of Vulnerable Component: postgre…

…sql-42.1.1.jar (CVE-2018-10936) (7.1 Suite)
@ssamora @RPAraujo

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f engine/build.xml clean-all resolve jacoco && ant -f engine/build.xml checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  assembly/ivy.xml
  engine/ivy.xml

Newly Fixed Tests:
org.pentaho.di.trans.steps.syslog.SyslogMessageConcurrentTest.concurrentSyslogMessageTest:
:large_blue_circle: org.junit.runners.model.TestTimedOutException
org.junit.runners.model.TestTimedOutException: test timed out after 10000 milliseconds
	at sun.misc.Unsafe.park(Native Method)
	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
	at java.util.concurrent.ThreadPoolExecutor.awaitTermination(ThreadPoolExecutor.java:1465)
	at org.pentaho.di.trans.steps.syslog.SyslogMessageConcurrentTest.concurrentSyslogMe

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes: +0.1% (click to expand)
org.pentaho.di.trans.steps.combinationlookup.CombinationLookupMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.insertupdate.InsertUpdateMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.replacestring.ReplaceStringMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.tableoutput.TableOutputMeta

Branch Change: -0.9% :small_red_triangle_down:
Complexity Change: -0.8% :small_red_triangle_down:


CI failure: the auto download offline packages fail, need fix

Set title to be in the format CI: Release CI
Upload the zip file generated from that test failure.
Copy-paste the link of the CI build where that test failure has happen.
https://github.com/kubean-io/kubean/actions/runs/4675161127
Include any output from logs that you think may be relevant (to ease GitHub searches).

/kind feature

https://github.com/kubean-io/kubean/pull/676

curl --retry 10 --retry-max-time 60 -LO ${url}


It would be nice to prove that Kan Extensions involving the terminal category align with (co)limits

We've actually gone out of our way in agda-categories to make as many of these things hold judgementally.  For 1 -> C vs C, that is hopeless, as they are fundamentally different even if equivalent (though there might be odd things when C is not inhabited).  Certainly  (1 -> C ᵒᵖ) should be the same as (1 -> C) ᵒᵖ, and it something that can be fixed if it's not.  For Kan extension, it's possible we've erred, and we'd be glad to see a concrete bug report.

Originally posted by @JacquesCarette in https://github.com/agda/agda/issues/5255#issuecomment-790045655
As far as I can tell, you directly define left and right Kan extensions, but don't prove that this construction is equivalent to being adjoints to the functor that exhibits the functoriality of functor composition (p* in Global Kan Extensions in nLab).  (In HoTT/HoTT in Coq, we define this here.)  Observation 2.2 indicates that if C' is the terminal category, then Kan Extensions should align with (co)limits.  The goal is to have a version of Kan extensions where you only need one proof of this alignment (either for left/colimit or for right/limit), which you can reuse in dualized form for the other side.  (I have some partial work in Coq on realizing this alignment here, which I eventually shelved for lack of progress on Coq's version of https://github.com/agda/agda/issues/5255 (https://github.com/coq/coq/issues/5293#issuecomment-337550412) (together with Coq not having judgmental eta for records without any fields (https://github.com/coq/coq/issues/5291)).)

See also https://github.com/agda/agda-categories/issues/256


Merge Into a Single project and enhance for enhanced CI

SUMMARY
The current state of the project has a mix of use of packages.config and PackageReference. This should be fixed so that all projects use the new PackageReference. This can actually cause nuget restore to fail, and the packages.config project cause packages to be downloaded even when they already exist in the user's local cache.
There are also a large number of projects present when this could now be simplified and a single assembly produced and packaged using the new Sdk Style project.
DETAILS
What I would propose is to implement a single project similar to what I've described in this blog post. This would allow for multiple target frameworks, while only needing to build a single project and generating a NuGet automatically on each build. I can additionally add a YAML for building on VSTS. This will allow you to remove the error prone nuspec and easily add CI builds to the project.
@amay077 please let me know if you prefer to leave platform files in place or if you are ok migrating them to a new path within the core project.
PLATFORMS

[x] Android
[x] iOS
[x] UWP

Thanks for your suggestion. But I disagree it.
Multi-targeting csproj is convenient but project has too many source files(classes x each platforms).
I think Multi-targeting csproj does not fit to Xamarin.Forms custom renderers.
I want to use Multi-targeting csproj for simple Xamarin Plugin or like Xamarin Essential project.


Refactor Code and add StaffBotRequest

Coverage increased (+0.1%) to 90.763% when pulling a4f06579911f6e3707fb7f9e711670936ddbbcd7 on staffing_request_model into 203b79f0fbf4e6f75a738b41f47a104538ec535f on master.

Coverage decreased (-0.02%) to 90.615% when pulling 9cb1b1662dbbab3dd063c318b208eead86440368 on staffing_request_model into 203b79f0fbf4e6f75a738b41f47a104538ec535f on master.

Coverage decreased (-0.2%) to 90.425% when pulling bccda90ac353b68c563ef53b30a0ac1b26e06494 on staffing_request_model into 1f49c40dbf5b0462d141f25b9acd8d8c9d6d30b6 on master.

Coverage decreased (-0.08%) to 90.529% when pulling 8f1ebe6465e782f6db89a6e09af470166d1d9364 on staffing_request_model into 1f49c40dbf5b0462d141f25b9acd8d8c9d6d30b6 on master.

Coverage increased (+0.05%) to 90.529% when pulling 6ce9ae7820ca03c4150b103bd0f75c229bcb2ba0 on staffing_request_model into 97d8b3629f9448931de1d4a650fba4eaffe8464e on master.

Coverage increased (+0.03%) to 90.501% when pulling f898335be25eff6e64f74745f81f4e43c98e1746 on staffing_request_model into 9ccf7939290ea53bc58b0fcf686444ceaad6d0bf on master.

Coverage increased (+0.3%) to 90.74% when pulling 690a7bf8e74083cf0e23915e6a705f64d81a449f on staffing_request_model into 9ccf7939290ea53bc58b0fcf686444ceaad6d0bf on master.

Coverage increased (+1.03%) to 91.501% when pulling 9f90095bb419c82923ce68e88311d72dfc98aaf0 on staffing_request_model into 9ccf7939290ea53bc58b0fcf686444ceaad6d0bf on master.

Coverage decreased (-0.7%) to 90.594% when pulling 435a10b5f064b21f3de7a3d7ef1719f2cfc27608 on staffing_request_model into 93b0c596dc44f48842a9e61fb04cdcf572ecc542 on master.

Coverage increased (+0.2%) to 91.501% when pulling 9f90095bb419c82923ce68e88311d72dfc98aaf0 on staffing_request_model into 93b0c596dc44f48842a9e61fb04cdcf572ecc542 on master.

Coverage increased (+0.1%) to 91.379% when pulling d88fa4b60a0028b09adff9506c462a1673b9101f on staffing_request_model into 93b0c596dc44f48842a9e61fb04cdcf572ecc542 on master.

Coverage decreased (-72.3%) to 18.998% when pulling d950464cd9e0b06fe8673c2ec31cf353d4c6513d on staffing_request_model into 93b0c596dc44f48842a9e61fb04cdcf572ecc542 on master.

Coverage decreased (-72.3%) to 18.998% when pulling 812cd1c7b8178fe81a29093d8c40218f7535fd43 on staffing_request_model into 93b0c596dc44f48842a9e61fb04cdcf572ecc542 on master.

Coverage increased (+0.1%) to 91.422% when pulling a3514fa3f2718f05720b16d85f28b3693fd92b5b on staffing_request_model into 93b0c596dc44f48842a9e61fb04cdcf572ecc542 on master.

lgtm after cron fix

Coverage increased (+0.1%) to 91.422% when pulling d4d35e1c9417be8e7d81e5fa637522649ed6df86 on staffing_request_model into 93b0c596dc44f48842a9e61fb04cdcf572ecc542 on master.


Cannot connect to two peripheral

Hello, I'm using a BLE central to connect multiple peripherals. I set two addresses in whitelist in ConnectConfig:
    let addrs = &[
        &Address::new(AddressType::RandomStatic, peripheral_addr),
        &Address::new(AddressType::RandomStatic, peripheral_addr2),
    ];
    let mut config: central::ConnectConfig<'_> = central::ConnectConfig::default();
    config.scan_config.whitelist = Some(addrs);

Then I use the same ConnectConfig to connect the two peripherals:
let conn1_fut = async {
    let conn = match central::connect(sd, &config).await {
            Ok(conn) => conn,
            Err(e) => {
                error!("BLE peripheral connect error: {}", e);
                continue;
            }
        };
    conn
};
let conn2_fut = async {
    let conn = match central::connect(sd, &config).await {
            Ok(conn) => conn,
            Err(e) => {
                error!("BLE peripheral connect error: {}", e);
                continue;
            }
        };
    conn
};
let (conn1, conn2) = join(conn1_fut, conn2_fut).await

But the softdevice reports:
ERROR BLE peripheral connect error: Raw(BleGapWhitelistInUse)
└─ rmk::split::nrf::central::run_ble_client::{async_fn#0} @ /Users/haobogu/Projects/keyboard/rmk/rmk/src/split/nrf/central.rs:67
WARN  sd_ble_gap_whitelist_set err BleGapWhitelistInUse
└─ nrf_softdevice::ble::central::{impl#5}::to_raw @ /Users/haobogu/.cargo/git/checkouts/nrf-softdevice-03ef4aef10e777e4/d5f023b/nrf-softdevice/src/fmt.rs:151
ERROR BLE peripheral connect error: Raw(BleGapWhitelistInUse)
└─ rmk::split::nrf::central::run_ble_client::{async_fn#0} @ /Users/haobogu/Projects/keyboard/rmk/rmk/src/split/nrf/central.rs:67
WARN  sd_ble_gap_whitelist_set err BleGapWhitelistInUse
└─ nrf_softdevice::ble::central::{impl#5}::to_raw @ /Users/haobogu/.cargo/git/checkouts/nrf-softdevice-03ef4aef10e777e4/d5f023b/nrf-softdevice/src/fmt.rs:151

I checked the softdevice code, it seems the whitelist config is used in scan_config.to_raw(), in which sd_ble_gap_whitelist_set is called:
        // Set whitelist
        if let Some(w) = self.whitelist {
            assert!(w.len() <= u8::MAX as usize);
            let ret = unsafe { raw::sd_ble_gap_whitelist_set(w.as_ptr() as _, w.len() as u8) };
            if let Err(err) = RawError::convert(ret) {
                warn!("sd_ble_gap_whitelist_set err {:?}", err);
                return Err(err.into());
            }
            scan_params.set_filter_policy(raw::BLE_GAP_SCAN_FP_WHITELIST as _);
        } else {
            scan_params.set_filter_policy(raw::BLE_GAP_SCAN_FP_ACCEPT_ALL as _);
        }

sd_ble_gap_whitelist_set will be called twice when central::connect is called twice when connecting two peripherals.
From my perspective, central::connect should accepts an address, and use that address in sd_ble_gap_connect. Current implementation just fills ptr::null() to sd_ble_gap_connect:
async fn connect_inner<F>(_sd: &Softdevice, config: &ConnectConfig<'_>, new_conn: F) -> Result<Connection, ConnectError> {
    ...
    let ret = unsafe { raw::sd_ble_gap_connect(ptr::null(), &scan_params, &config.conn_params, 1) };  // <--- The whitelist is set in scan_params, and sd_ble_gap_connect takes ptr::null() as address
    if let Err(err) = RawError::convert(ret) {
        warn!("sd_ble_gap_connect err {:?}", err);
        return Err(err.into());
    }
}

I suggestion to have the following connect:
// Add addr as parameter
async fn connect_inner<F>(_sd: &Softdevice, addr: Option<[u8; 4]>, config: &ConnectConfig<'_>, new_conn: F) -> Result<Connection, ConnectError> {
    ...
    // connect if addr is Some
    let ret = unsafe { raw::sd_ble_gap_connect(addr.unwrap_or(ptr::null), &scan_params, &config.conn_params, 1) };
    if let Err(err) = RawError::convert(ret) {
        warn!("sd_ble_gap_connect err {:?}", err);
        return Err(err.into());
    }
}

You can't do two connects concurrently, even with the fix you propose.
You have to do one connect with a whitelist with the two addrs. When you get one connection, check which addr it is, then start another connect with a whitelist with just the other addr.

okay, I'll try this approach


currently, when you start wlogout a button always is focussed. it would be nice if there was an option for a button to only get focussed once you press an arrow key.

i noticed that when you started wlogout, the lock button had the background color of a focussed button. i fixed this by removing 'button:focus' from the css file in the part where it sets the background color of a focussed button. but, now i cant use the arrow keys to select a button anymore (i can, i just cant see which one i have selected) it would be nice if there was an option that makes it so that a button only gets focussed once you press one of the arrow keys.

I noticed this too. Is there perhaps a way to set it like this in the style.css?


Feat/better prone errors

All needed to investigate a process flow in pura with instructions

@ktfth 👍


Check inventory then equipment for containers after checking room.

Any other changes need to be made to this? I removed the unneeded fix.

Nope, just forgot about this PR :)


added more columns in user table, IsGoogleAccount, GoogleToken, and V…

…irusTotalAPIToken, IsActive and Email, as well as IsSuspiciousEmail and SenderBlacklisted in Emails table

also added a function that automatically modifies GoogleToken to NULL if IsGoogleAccount is False


fix: Removing nuget feed (Do not merge)

Description
Remove nuget feed from config
Fixes #minor

Coverage remained the same at 55.05% when pulling 05fd74cba39f4ba9d70f66f71e40203960f25645 on fix/test-pipeline into 7c2dda12e3537d1dbadf90efc28f7be46bfad982 on main.


question about inference costs

i was wondering if there is one 0 missing for the calculation of the inference costs?
eg https://github.com/princeton-nlp/SWE-bench/blob/main/inference/run_api.py#L54C17-L54C18 states 'gpt-4': 0.0006, if i understood correctly, the token cost is 0.06/1k tokens (https://openai.com/pricing#language-models) so it should be 0.06/1000 ->  'gpt-4': 0.00006 (if this is the price for a single token)?

@janphilippfranken You're absolutely right, thanks so much for the catch! The value has been corrected from 3 0's to 4 0's in the latest commit, thanks!


Discrepancy between DN4000 data and model values

These example cases are selected to have a good agreement between the SDSS D4000_N and the DESI DN4000_MODEL (within 0.03) but a large discrepancy between DN4000 and DN4000_MODEL for DESI (>0.5).
     TARGETID     HPXPIXEL SURVEY FAPRGRM  D4000_N    DN4000  DN4000_MODEL
----------------- -------- ------ ------- --------- --------- ------------
39627763535056484    26963    sv1  bright 1.3821645 1.9043602    1.3651651
39627769595825954    26964    sv3  bright 1.3198977 1.8841757    1.3185201
39627787715216767    26966    sv3  bright 1.4348267 2.0728939    1.4484885
39627781738334900    26281    sv3  bright 1.4322703 1.9671941    1.4321545

Another type of discrepancy is having DESI DN4000_MODEL values consistent with SDSS data and SDSS Model values, but the DESI data values are missing (DN4000=0.0). This happens for >1000 cases. Below are a few examples (2nd one is an AGN). For comparison, the first one's SDSS counterpart spectrum is: https://dr16.sdss.org/optical/spectrum/view?mjd=52027&fiberid=133&plateid=585&zwarning=0&matches=any
     TARGETID     HPXPIXEL SURVEY FAPRGRM  D4000_N  DN4000 DN4000_MODEL
----------------- -------- ------ ------- --------- ------ ------------
39627872922502545    26065    sv3    dark 1.1588159    0.0    1.1532004
39628517884825354     9730    sv1    dark 1.1567839    0.0    1.1365001
39627933039462164    26094    sv3    dark 1.5722097    0.0    1.5669961
39628406383448663    10369    sv1    dark 1.8090059    0.0    1.7920985
39628205165908202     8587    sv1    dark 1.4516758    0.0    1.4554679

There has been extensive discussion of this issue in the fastspecfit Slack channel and, after some minor updates to the algorithm, the agreement appears to be significantly better. I'm going to close this ticket now, but let's continue to investigate this issue further once the full Fujilupe catalogs have been generated (see #69)
In the meantime, here are the latest results for the reported test objects:

These example cases are selected to have a good agreement between the SDSS D4000_N and the DESI DN4000_MODEL (within 0.03) but a large discrepancy between DN4000 and DN4000_MODEL for DESI (>0.5).

Everest branch:
     TARGETID     HPXPIXEL SURVEY FAPRGRM  D4000_N    DN4000  DN4000_MODEL
----------------- -------- ------ ------- --------- --------- ------------
39627763535056484    26963    sv1  bright 1.3821645 1.9043602    1.3651651
39627769595825954    26964    sv3  bright 1.3198977 1.8841757    1.3185201
39627787715216767    26966    sv3  bright 1.4348267 2.0728939    1.4484885
39627781738334900    26281    sv3  bright 1.4322703 1.9671941    1.4321545

#69 branch (but note that DN4000_ERR is being added ad hoc; the actual output is DN4000_IVAR):
     TARGETID     SURVEY PROGRAM HEALPIX DN4000_MODEL   DN4000  DN4000_ERR CONTINUUM_VDISP
----------------- ------ ------- ------- ------------ --------- ---------- ---------------
39627763535056484    sv1  bright   26963    1.4257851 1.5171603 0.04271108       149.15688
39627769595825954    sv3  bright   26964    1.3741179 1.4914362 0.11232149        167.0099
39627787715216767    sv3  bright   26966    1.8663665 1.6229217 0.07696008       165.70775
39627781738334900    sv3  bright   26281     1.461511 1.4872425 0.02143918       191.11339

Another type of discrepancy is having DESI DN4000_MODEL values consistent with SDSS data and SDSS Model values, but the DESI data values are missing (DN4000=0.0). This happens for >1000 cases. Below are a few examples (2nd one is an AGN). For comparison, the first one's SDSS counterpart spectrum is: https://dr16.sdss.org/optical/spectrum/view?mjd=52027&fiberid=133&plateid=585&zwarning=0&matches=any

Everest branch:
     TARGETID     HPXPIXEL SURVEY FAPRGRM  D4000_N  DN4000 DN4000_MODEL
----------------- -------- ------ ------- --------- ------ ------------
39627872922502545    26065    sv3    dark 1.1588159    0.0    1.1532004
39628517884825354     9730    sv1    dark 1.1567839    0.0    1.1365001
39627933039462164    26094    sv3    dark 1.5722097    0.0    1.5669961
39628406383448663    10369    sv1    dark 1.8090059    0.0    1.7920985
39628205165908202     8587    sv1    dark 1.4516758    0.0    1.4554679

#69 branch
     TARGETID     SURVEY PROGRAM HEALPIX DN4000_MODEL   DN4000   DN4000_ERR  CONTINUUM_VDISP
----------------- ------ ------- ------- ------------ --------- ------------ ---------------
39627872922502545    sv3    dark   26065    1.1523697  1.140176 0.0067545827       281.03198
39628517884825354    sv1    dark    9730    1.1213908 1.0976297  0.014864027           150.0
39627933039462164    sv3    dark   26094    1.5836633 1.5757003   0.04486671        130.4502
39628406383448663    sv1    dark   10369    1.8192024  2.015608  0.067517586       305.78638
39628205165908202    sv1    dark    8587    1.4514221 1.4729562  0.025168855       136.34955

And finally, here is a diagnostic plot which the code can now optionally generate:


How it works "app.nexmoCallbackBaseUrl" ?

Hi,
Appreciated if I have following answer.

What is difference "app.callbackBaseUrl" and "app.nexmoCallbackBaseUrl" ?

Case of "app.nexmoCallbackBaseUrl", It looks work to callback Agent SIP number When task being assigned to Agent ?

Regards,
Hori

Hi Hori,
app.nexmoCallbackBaseUrl points to URL that will be used from the Nexmo server for invoking web hooks, e.g. http://host:port/demo-app-root/api
For example, when a call is received on nexmo side, nexmo will call this app.nexmoCallbackBaseUrl in order to get answer ncco
app.callbackBaseUrl is URL that will be used from the Comms Router web app for invoking Task callback hooks, e.g. http://host:port/demo-app-root/api
For example, when task gets in state assigned.
Sample workflow is as follow:

Nexmo receives a call and notifies demo-app using app.nexmoCallbackBaseUrl.

Demo-app creates a task in comms-router and returns some ncco. In the task, there is a parameter where is the callback that will be called by comms-router on task change. Here app.nexmoCallbackBaseUrl is used as a prefix

When the task could be started by agent, comms-router notifies demo-app about status of the task using app.callbackBaseUrl.

demo-app initiates call to an agent, bridges incoming call to the agent, and when call is completed, sets task as completed.


Add tags to tasks

Fixes #23, #168, #4

Add tags to Todo, Deadline, Event classes
Allow tags to be saved in Storage
Allow tags to be edited
Update UserGuide.md to include tags

Issues/bugs:

if use # prefix for tags, then can't use # for address e.g. contact add n/John a/block 123, #01-01 => error:  tag names should be alphanumeric

Codecov Report

Merging #175 (16e3aa6) into master (8d5c1d3) will decrease coverage by 1.01%.
The diff coverage is 66.93%.

@@             Coverage Diff              @@
##             master     #175      +/-   ##
============================================
- Coverage     72.71%   71.70%   -1.02%
- Complexity      844      851       +7
============================================
  Files           125      125
  Lines          2518     2615      +97
  Branches        325      339      +14
============================================
+ Hits           1831     1875      +44
- Misses          530      570      +40
- Partials        157      170      +13

Impacted Files
Coverage Δ

...ook/logic/commands/contacts/ContactAddCommand.java
100.00% <ø> (ø)

.../logic/commands/contacts/ContactDeleteCommand.java
100.00% <ø> (ø)

...ok/logic/commands/contacts/ContactEditCommand.java
97.05% <ø> (ø)

...skbook/logic/commands/tasks/TaskDeleteCommand.java
42.85% <ø> (ø)

...taskbook/logic/commands/tasks/TaskEditCommand.java
92.85% <ø> (ø)

.../main/java/taskbook/storage/JsonAdaptedPerson.java
100.00% <ø> (ø)

...book/logic/parser/tasks/TaskEditCommandParser.java
78.37% <33.33%> (-11.95%)
:arrow_down:

src/main/java/taskbook/model/task/Event.java
50.00% <37.50%> (-11.30%)
:arrow_down:

...n/java/taskbook/model/task/EditTaskDescriptor.java
71.79% <42.85%> (-4.68%)
:arrow_down:

src/main/java/taskbook/model/task/Task.java
56.25% <54.16%> (-15.85%)
:arrow_down:

... and 19 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Issues/bugs:

if use # prefix for tags, then can't use # for address e.g. contact add n/John a/block 123, #01-01 => error:  tag names should be alphanumeric

Perhaps it would be better if we use #/TAG with a / instead?

It would be more consistent with the other prefixes.
It would still allow us to have addresses with unit numbers!


Implement simple benchmark algos

[x] Persistence
[ ] ML model inferring PV yield from clear-sky irradiance
[ ] NWP (including irradiance, temperature, wind speed, precipitation, cloud cover) to PV yield
[ ] PVLib

Persistence model has been added,
see https://github.com/openclimatefix/predict_pv_yield/blob/master/predict_pv_yield/models/baseline/last_value.py
Have taken the last historic value, but infact could take the 'current' value of PV yield using
y_hat = pv_yield[:, -self.forecast_len , 0]
instead of
y_hat = pv_yield[:, -self.forecast_len - 1, 0]


Footer text isnt centered appropriate

The footer text is not centered right, so it looks kinda weird.
I would like to work on this issue.

Hey @alienqqe thank you for raising this issue. You can move forward with it. Issue assigned.

Hello @Utkarshn10 created PR on this issue


colorKey for Thumbnails view

Hi
I cant get this to work. Any help or links to working model greatly appreciated.
Kind regards
J

http://simile-widgets.org/exhibit3/examples/nobelists/nobelists.html ?
Where is your code?

Sorry Imorillas. Many thanks for responding.
I was using the nobelist example to test it. Basically I wanted the div.nobelist-thumbnail background colour to reflect the colorkey, as in the timeline view in the same example. I wasn't sure it could be done. I see in other examples http://simile-widgets.org/exhibit3/examples/senate/senate.html they have had to use javascript for the table row colour. The standard method that works in the timeline/map view examples doesn't seem to work in the thumbnail view or am I missing something e.g data-ex-color-coder="party-colors"
I recently found this example http://simile.mit.edu/projects.html which seems to work, although I haven't tried it yet, and is using an old version of exhibit.

I don't know if color-coders work with thumbnails.
You can use CSS. With the nobelist example:

   ...

And use de lens class to backgound it .

Sorry - really grateful for your help but struggling to make that work. are you able to show me what I should be adding where?

SIMILE Widgets | Exhibit 3.0 | Examples | MIT Nobel Prize Winners

<link href="nobelists.js" type="application/json" rel="exhibit-data" />

<link rel="exhibit-extension" type="text/javascript" href="http://api.simile-widgets.org/exhibit/3.1.0rc/extensions/time/time-extension.js" />

SIMILE Widgets
Exhibit 3.0
Examples: MIT Nobel Prize Winners

63 MIT-related Nobel Prize Winners

The information within this page has been retrieved from
            this MIT official source
            while the thumbnails are included from Nobelprize.org.
            Here is the Exhibit JSON data file.

                    ,

                    Co-winners:

                    ,

                    ,

Try this http://paste2.org/X7FAvULg
I don't know it it's what you want.

Yes perfect - thank you for your help. greatly appreciated.

Do you know the current status in regards to using a drupal backend for exhibit? Will take a look myself but just thought I would ask.

I don't know. I don't use Drupal. I have some maps  built with mediawiki/Cargo data . I'm planning a new extension this summer http://area47mil.educa.aragon.es/wiki/Página_principal
Use the list better if you have got questions about Exhibit<EMAIL_ADDRESS>

It looks like this issue has been resolved through discussion so I am closing it.


python310Packages.prometheus-flask-exporter: 0.20.3 -> 0.22.4

Diff: https://github.com/rycus86/prometheus_flask_exporter/compare/0.20.3...0.22.4
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 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.

Result of nixpkgs-review pr 228705 run on x86_64-linux 1

2 packages failed to build:

dbx
python310Packages.dalle-mini

13 packages built:

mlflow-server
openai-full
python310Packages.fastai
python310Packages.mlflow
python310Packages.prometheus-flask-exporter
python310Packages.spacy
python310Packages.spacy-loggers
python310Packages.spacy-transformers
python310Packages.textacy
python310Packages.textnets
python310Packages.wandb
python311Packages.mlflow
python311Packages.prometheus-flask-exporter

python310Packages.dalle-mini is already broken and dbx is unfree.


Python API for directories

Directories - Python API
This is a proposal for directory manipulation API. Directory can be considered as a tarball blob with content type "dir". The only special "magic" happens when such data object is mapped to a file system,
then it is unpacked as a directory. It also works in the opposite direction, when a data object of content type "dir" is collected from the file system, it has to be directory (in contarst to a file in case of non-dir content type). Of course usual optizations for moving dataobject inside a worker is applied, hence
there is no obsolete packing/unpacking to from/tar tar when it is not needed.
Constructor of constant data
The wrapper over blob (as for example 'pickled') that creates a constant data object:
directory(path="/abc")  # Creates a data object from client's local directory
directory(dict={"fileX": b"xxxx", "fileY": b"yyyy" })  # Creates a directory dataobject from "dict" description.

Getting subparts
Now let "d" be a directory dataobject, then following tasks creates a new dataobject from a file/directory inside "d".
tasks.get_path(d, "subdir/file1.txt", content_type="json")
tasks.get_path(d, "subdir", content_type="dir")

I propose to define a new term "fragment" that is a pointer inside a directory. The following code creates a fragment:
x = d.get_pah("subdir/file1.txt", content_type="json")

Fragment can be used as dataobject, e.g.:
t = tasks.concat((x, x))

But creating a fragment does not generate a task, the task consuming fragment directly gets a subpart of the original object. (It utilizes to name a subdir in inputs of a task).
Write method
The part of the proposed API is also "write" method on DataIntance that writes an object to a local file system. If data object is normal blob, it creates a file, if it is a directory it is extracted as a directory to filesystem.
d.fetch().write("/path")

Make directory
Task that creates directory from given data objects:
tasks.make_directory({"subdir": {"file1": a }})

With small changes implemented in #14 (without fragments)

Directory API now seems complete, except two aspects: data types in DO that are tracked at #18 and fragments. After some face-to-face discussions, fragments looks quite redundant and problematic API (or at least it needs more time to thinking). Therefore, I am closing this generic thread. Feel free to open new issue for any specific part of directory API.


[WIP] Tracked events for inbox on iOS

todo: for tapping modules on the 'active bids' and 'closed bids' tabs (inboxBids screen), should we use existing tracks like 'TappedArtworkGroup' and 'TappedAuctionGroup' with descriptive contexts? Or should we use a new event called "TappedInboxGroup" or "TappedActiveLot" (naming tbd)? still thinking, but wanted to put this up in the meantime while we discuss and work through.

green box

considering using TappedNavigationTab. the reason i'm not sure is because this is highest-level, screen-to-screen navigation and we do not have a similar pattern in the app to date. @eessex curious if you think this deserves its own event.

pink box

use TappedNavigationTab. This is the established use case for this event, as seen on fair pages.

yellow box

suggesting TappedAuctionGroup or TappedAuctionCard, which would be a new event structured similarly to TappedPartnerCard. What do you think? It's not like a home screen auctions rail, so perhaps Card is more appropriate here. These should navigate to a sale home page.

blue box

suggesting TappedArtworkGroup, since this is a commercial grouping of artworks. Context screen information would correspond to the inbox, destination screen information would correspond to the lot/artwork tapped. Open to including other context about the lot being tapped.

tapping artworks on this list, if they navigate to lot screens will also fire TappedArtworkGroup (context module: inboxClosedBids)

don't have a tap event for this button. i'm not sure we have an existing button, but i could generate a TappedExplore generic event. thoughts?

finally, TappedInboxMessage (new in this PR) is for tapping inquiries on the inboxInquiries screen

Would tappedShowMore work for the Explore auctions CTA button?
I think the tappedNavigationTabs makes sense for the bids/inquiries navigation - although they are visually different, it is still a very literal description of the action.
I'm a bit confused by the difference between an entity group and a card -- what distinguishes these?

@eessex tappedShowMore could work for the Explore Auctions button, yes. it's definitely a similar-type of interaction, so I think we could cover it there. I like this solution rather than creating a new, similar event.
good question on distinguishing cards from entity groups. i believe the first instance of this came from viewing rooms via @louislecluse - Louis, was there a particular reason you made new 'Card' events here? It looks like entity groups and Cards function similarly, but appear differently.
I don't mind using tappedAuctionGroup on this PR, and I do think it fits fine. i suppose i was comparing these to where we have previously used tappedAuctionGroup, which is primarily on auctions rails on the home screen, and thinking the two interactions were maybe different enough to merit unique events.

I think card came from the pattern where we only have 1 entity to click on.
For shows, a show can be link to 1 Viewing Room and we print the "Viewing Room card" for users to click on. So there is 1 entity in the module.

I'm going to re-visit tappedInboxMessage, since it appears we have some existing tracking related to conversations and I want to square up the naming.

It seems like we are mostly at a consensus here, but as I am new to this repo i'm not sure when it's okay to merge. I'm personally ok from here!

:rocket: PR was released in v1.66.0 :rocket:


Token transfer failed

// receivers from csv : address,0.1
func SendTokenTransfers(ctx context.Context, api ton.APIClientWrapped, w *wallet.Wallet, receivers []Receiver, comment *cell.Cell, tokenWalletAddress *address.Address, tokenAddress *address.Address) {
	for _, receiver := range receivers {
		to := address.MustParseAddr(receiver.Address)
		amountTokens := tlb.MustFromDecimal(receiver.Amount, 13)

		log.Printf("Preparing to send transaction to %s: %s USDT", receiver.Address, amountTokens)

		token := jetton.NewJettonMasterClient(api, tokenAddress)
		t_wallet, err := token.GetJettonWallet(ctx, tokenWalletAddress)
		if err != nil {
			log.Printf("Error getting jetton wallet: %v", err)
			continue
		}

		transferPayload, err := t_wallet.BuildTransferPayloadV2(to, to, amountTokens, tlb.ZeroCoins, comment, nil)
		if err != nil {
			log.Printf("Error building transfer payload: %v", err)
			continue
		}

		transferInfo, err := ParseTransferPayload(transferPayload)
		if err != nil {
			log.Printf("Error parsing transfer payload: %v", err)
			continue
		}

		log.Printf("Sending %s USDT to %s with comment: %s", transferInfo.Amount.String(), transferInfo.ToAddress, transferInfo.Comment)

                // If tlb.ZeroCoins is set to 0.05, 0.05TON can be successfully transferred to the target, but the token cannot be transferred.
		msg := wallet.SimpleMessage(tokenWalletAddress, tlb.ZeroCoins, transferPayload)
		log.Println("Sending transaction...")

		tx, _, err := w.SendWaitTransaction(ctx, msg)
		if err != nil {
			log.Printf("Send error: %v", err)
			continue
		}

		log.Printf("Transaction confirmed for %s, hash: %s", receiver.Address, base64.StdEncoding.EncodeToString(tx.Hash))
	}
}

If SimpleMessage->tlb.ZeroCoins is set to 0.05, 0.05TON can be successfully transferred to the target, but the token cannot be transferred.
help me..

Hi, to make a jetton transfer you should attach some amount for gas, unused amount will be returned to response_destination


[Addition]: Cheater as always.

Hotspot b58 Addresses
112PRH2zCuYH9TXAXrHs3FLSibM6LQ35kgziBYsqsQDo6vAja5fN
115ctgPCVRoSDD4qVqKSotqRsT2yPam2cy9XwFE47gnecbWYKXg
11wZoVHzamfDhvr7A5hdcRn6FKcYDArTzcgXbQVoVYbL4At8po6
Discord Handle
No response
Reason(s)
the network is almost death because of cheaters. And you know it

I think they are 11-12 in the region. Can you compile the full list and put some screenshots as proof please?


using uglifyify by default breaks arrow functions

taking choo's minimal example and changing the view to read
function mainView (state, emit) {
  var onclick = () => emit('increment', 1)

  return html`

count is ${state.count}

      <button onclick=${onclick}>Increment</button>

  `
}

and running bankai build index ./target produces an unexpected token: punc ()) error with bankai 7.0.0, but works fine with bankai 6.1.1.

add https://github.com/yoshuawuyts/es2020  to your browserify transforms for the moment, now that you can't opt out of optimize

uglify doesn't work with post es5 code.  the example should be updated and the docs should be updated.

PR welcome!
On Mon, Apr 10, 2017 at 4:22 PM Todd Kennedy<EMAIL_ADDRESS>wrote:

uglify doesn't work with post es5 code. the example should be updated and
the docs should be updated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/yoshuawuyts/bankai/issues/157#issuecomment-292964393,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWlelG2AnV62jWS1fvinfPZJujp_jdcks5rujsngaJpZM4M4AuM
.

Here is a PR to fix this: https://github.com/yoshuawuyts/bankai/pull/158

Merged, closing!


Make sure public S3 buckets work dotmesh integration

I imagine we're going to run into problems being able to clone from a public bucket, because:

if it's public you're likely to not have a key/secret pair, so can't create a remote to clone from. In theory you could give it garbage but the assumption is we should be able to list buckets with the credentials, so adding a remote with garbage credentials will fail.
there may be problems with pushing to it in which we end up with strange errors we should make more user friendly
??

We should do some testing/write some acceptance tests which use a public bucket rather than one which is on the same account as the credentials provided, and think about how we'd be able to pull from a public bucket without credentials at all. I'm not sure what the most logical/user friendly solution is here? Add an extra command under s3 for no-access-credentials?

Suspect to do this we'd need something like the example here - https://docs.aws.amazon.com/sdk-for-go/api/aws/credentials/#pkg-variables


rand() and broadcast question

Just checking, is this intended?
https://github.com/TuringLang/Turing.jl/blob/cba33402b3d71e95aa5cee9c043db5698b9f3b8c/src/samplers/support/resample.jl#L86
Using rand() like this will add the same random variable to all entries. To broadcast rand as well, we need rand.().

Sharing rand is the correct behaviour here - this resembling function is specifically designed for minismising Monte Carlo variance by reducing total amount of randomness.

This rand() thing is a common mistake so I was double checking. Thanks.

You raised a good point - there might be other places in Turing where we should broadcast rand.


Add support for Llama 3.2. 3B in eval/bench pipelines

Description:

This PR adds support for running Llama 3.2. 3b in the evaluation and benchmark pipelines

Notes

Even though 3B is not the most vRAM taxing of models, it can be useful for people with lower end GPUs (such as me) to iterate and validate parts of the codebase
Sources:

https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_utils.py#L2929
https://github.com/huggingface/candle/pull/2508/commits/3837d4bbc9ecd6a3bad1274c738984ebac03fc54

Let me know if there is anything that is missing or that I should refactor!

can you the logs of a sample run locally? unfortunately I don't believe we run this model in CI
Granted I'd love it if we could start running some benchmarks in our github actions and store the results in github artifacts, we recently even got access to an H100 - cc @HDCharles

Absolutely! I’ll post it later today.
Do you think it would be useful to add this to the CI pipeline?
This PR came up while I was working on #1174. I currently do not have access to bigger GPU instances and I had to switch to a smaller model for testing. I figured others might be in similar constraints, so I decided to open this PR to make the smaller model option available if people want to run the eval.py or generate.py scripts locally

Absolutely! I’ll post it later today.
Do you think it would be useful to add this to the CI pipeline?
This PR came up while I was working on #1174. I currently do not have access to bigger GPU instances and I had to switch to a smaller model for testing. I figured others might be in similar constraints, so I decided to open this PR to make the smaller model option available if people want to run the eval.py or generate.py scripts locally

It is extremely useful yes but might be best as a nightly job - idea would be the job runs nightly, downloads model weights, makes a few inferences, store result to disk, store disk results in a github artifact
ChatGPT is pretty good at writing CI jobs so if you wanna take a stab at it, I'd be happy to help you merge the code

nit: can you include 3.2 in https://github.com/pytorch/ao/blob/main/scripts/prepare.sh as well

can you show the logs of a sample run locally? unfortunately I don't believe we run this model in CI
Granted I'd love it if we could start running some benchmarks in our github actions and store the results in github artifacts, we recently even got access to an H100 - cc @HDCharles

Running a sample eval.sh script with llama 3b and limit=2 as follows:
export CHECKPOINT_PATH=../../../checkpoints # path to checkpoints folder

export MODEL_REPO=meta-llama/Llama-3.2-3B
python eval.py --checkpoint_path $CHECKPOINT_PATH/$MODEL_REPO/model.pth
python eval.py --checkpoint_path $CHECKPOINT_PATH/$MODEL_REPO/model.pth --quantization int8wo
python eval.py --checkpoint_path $CHECKPOINT_PATH/$MODEL_REPO/model.pth --quantization int4wo-64
python eval.py --checkpoint_path $CHECKPOINT_PATH/$MODEL_REPO/model.pth --quantization float8wo
python eval.py --checkpoint_path $CHECKPOINT_PATH/$MODEL_REPO/model.pth --quantization float8dq-tensor

Got the below logs:

Logs
Evaluating model ../../../checkpoints/meta-llama/Llama-3.2-3B/model.pth on tasks: ['wikitext'], limit: 2, device: cuda, precision: torch.bfloat16, quantization: None, compile: False, max_length: None, calibration_tasks: ['wikitext'], calibration_seq_length: 100, pad_calibration_inputs: False
Loading model ...
Time to load model: 0.12 seconds
Running evaluation ...
2024-11-14:01:12:21,209 INFO     [huggingface.py:129] Using device 'cpu'
2024-11-14:01:12:26,830 INFO     [huggingface.py:481] Using model type 'default'
2024-11-14:01:12:27,062 INFO     [huggingface.py:365] Model parallel was set to False, max memory was not set, and device map was set to {'': 'cpu'}
2024-11-14:01:12:29,343 INFO     [init.py:459] The tag 'arc_ca' is already registered as a group, this tag will not be registered. This may affect tasks you want to call.
2024-11-14:01:12:29,356 INFO     [init.py:459] The tag 'arc_ca' is already registered as a group, this tag will not be registered. This may affect tasks you want to call.
2024-11-14:01:12:31,321 WARNING  [task.py:799] [Task: wikitext] metric word_perplexity is defined, but aggregation is not. using default aggregation=weighted_perplexity
2024-11-14:01:12:31,321 WARNING  [task.py:811] [Task: wikitext] metric word_perplexity is defined, but higher_is_better is not. using default higher_is_better=False
2024-11-14:01:12:31,321 WARNING  [task.py:799] [Task: wikitext] metric byte_perplexity is defined, but aggregation is not. using default aggregation=weighted_perplexity
2024-11-14:01:12:31,321 WARNING  [task.py:811] [Task: wikitext] metric byte_perplexity is defined, but higher_is_better is not. using default higher_is_better=False
2024-11-14:01:12:31,321 WARNING  [task.py:799] [Task: wikitext] metric bits_per_byte is defined, but aggregation is not. using default aggregation=bits_per_byte
2024-11-14:01:12:31,321 WARNING  [task.py:811] [Task: wikitext] metric bits_per_byte is defined, but higher_is_better is not. using default higher_is_better=False
Repo card metadata block was not found. Setting CardData to empty.
2024-11-14:01:13:00,888 WARNING  [repocard.py:108] Repo card metadata block was not found. Setting CardData to empty.
Evaluating Model On:  {'wikitext': ConfigurableTask(task_name=wikitext,output_type=loglikelihood_rolling,num_fewshot=None,num_samples=62)}
2024-11-14:01:13:00,914 INFO     [task.py:415] Building contexts for wikitext on rank 0...
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 1368.67it/s]
2024-11-14:01:13:00,916 INFO     [evaluator.py:489] Running loglikelihood_rolling requests
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:02<00:00,  1.01s/it]
wikitext: {'alias': 'wikitext', 'word_perplexity,none': 11.72036418687775, 'word_perplexity_stderr,none': 'N/A', 'byte_perplexity,none': 1.6099144124991513, 'byte_perplexity_stderr,none': 'N/A', 'bits_per_byte,none': 0.6869839927217813, 'bits_per_byte_stderr,none': 'N/A'}
Evaluating model ../../../checkpoints/meta-llama/Llama-3.2-3B/model.pth on tasks: ['wikitext'], limit: 2, device: cuda, precision: torch.bfloat16, quantization: int8wo, compile: False, max_length: None, calibration_tasks: ['wikitext'], calibration_seq_length: 100, pad_calibration_inputs: False
Loading model ...
Time to load model: 0.11 seconds
Running evaluation ...
2024-11-14:01:13:08,888 INFO     [huggingface.py:129] Using device 'cpu'
2024-11-14:01:13:13,992 INFO     [huggingface.py:481] Using model type 'default'
2024-11-14:01:13:14,254 INFO     [huggingface.py:365] Model parallel was set to False, max memory was not set, and device map was set to {'': 'cpu'}
2024-11-14:01:13:16,672 INFO     [init.py:459] The tag 'arc_ca' is already registered as a group, this tag will not be registered. This may affect tasks you want to call.
2024-11-14:01:13:16,685 INFO     [init.py:459] The tag 'arc_ca' is already registered as a group, this tag will not be registered. This may affect tasks you want to call.
2024-11-14:01:13:18,634 WARNING  [task.py:799] [Task: wikitext] metric word_perplexity is defined, but aggregation is not. using default aggregation=weighted_perplexity
2024-11-14:01:13:18,634 WARNING  [task.py:811] [Task: wikitext] metric word_perplexity is defined, but higher_is_better is not. using default higher_is_better=False
2024-11-14:01:13:18,634 WARNING  [task.py:799] [Task: wikitext] metric byte_perplexity is defined, but aggregation is not. using default aggregation=weighted_perplexity
2024-11-14:01:13:18,634 WARNING  [task.py:811] [Task: wikitext] metric byte_perplexity is defined, but higher_is_better is not. using default higher_is_better=False
2024-11-14:01:13:18,634 WARNING  [task.py:799] [Task: wikitext] metric bits_per_byte is defined, but aggregation is not. using default aggregation=bits_per_byte
2024-11-14:01:13:18,634 WARNING  [task.py:811] [Task: wikitext] metric bits_per_byte is defined, but higher_is_better is not. using default higher_is_better=False
Repo card metadata block was not found. Setting CardData to empty.
2024-11-14:01:13:46,668 WARNING  [repocard.py:108] Repo card metadata block was not found. Setting CardData to empty.
Evaluating Model On:  {'wikitext': ConfigurableTask(task_name=wikitext,output_type=loglikelihood_rolling,num_fewshot=None,num_samples=62)}
2024-11-14:01:13:46,694 INFO     [task.py:415] Building contexts for wikitext on rank 0...
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 1277.39it/s]
2024-11-14:01:13:46,696 INFO     [evaluator.py:489] Running loglikelihood_rolling requests
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:02<00:00,  1.04s/it]
wikitext: {'alias': 'wikitext', 'word_perplexity,none': 11.72036418687775, 'word_perplexity_stderr,none': 'N/A', 'byte_perplexity,none': 1.6099144124991513, 'byte_perplexity_stderr,none': 'N/A', 'bits_per_byte,none': 0.6869839927217813, 'bits_per_byte_stderr,none': 'N/A'}
Evaluating model ../../../checkpoints/meta-llama/Llama-3.2-3B/model.pth on tasks: ['wikitext'], limit: 2, device: cuda, precision: torch.bfloat16, quantization: int4wo-64, compile: False, max_length: None, calibration_tasks: ['wikitext'], calibration_seq_length: 100, pad_calibration_inputs: False
Loading model ...
Time to load model: 0.11 seconds
Running evaluation ...
2024-11-14:01:13:52,680 INFO     [huggingface.py:129] Using device 'cpu'
2024-11-14:01:14:07,533 INFO     [huggingface.py:481] Using model type 'default'
2024-11-14:01:14:07,742 INFO     [huggingface.py:365] Model parallel was set to False, max memory was not set, and device map was set to {'': 'cpu'}
2024-11-14:01:14:10,107 INFO     [init.py:459] The tag 'arc_ca' is already registered as a group, this tag will not be registered. This may affect tasks you want to call.
2024-11-14:01:14:10,119 INFO     [init.py:459] The tag 'arc_ca' is already registered as a group, this tag will not be registered. This may affect tasks you want to call.
2024-11-14:01:14:12,036 WARNING  [task.py:799] [Task: wikitext] metric word_perplexity is defined, but aggregation is not. using default aggregation=weighted_perplexity
2024-11-14:01:14:12,036 WARNING  [task.py:811] [Task: wikitext] metric word_perplexity is defined, but higher_is_better is not. using default higher_is_better=False
2024-11-14:01:14:12,036 WARNING  [task.py:799] [Task: wikitext] metric byte_perplexity is defined, but aggregation is not. using default aggregation=weighted_perplexity
2024-11-14:01:14:12,036 WARNING  [task.py:811] [Task: wikitext] metric byte_perplexity is defined, but higher_is_better is not. using default higher_is_better=False
2024-11-14:01:14:12,036 WARNING  [task.py:799] [Task: wikitext] metric bits_per_byte is defined, but aggregation is not. using default aggregation=bits_per_byte
2024-11-14:01:14:12,036 WARNING  [task.py:811] [Task: wikitext] metric bits_per_byte is defined, but higher_is_better is not. using default higher_is_better=False
Repo card metadata block was not found. Setting CardData to empty.
2024-11-14:01:14:21,516 WARNING  [repocard.py:108] Repo card metadata block was not found. Setting CardData to empty.
Evaluating Model On:  {'wikitext': ConfigurableTask(task_name=wikitext,output_type=loglikelihood_rolling,num_fewshot=None,num_samples=62)}
2024-11-14:01:14:21,542 INFO     [task.py:415] Building contexts for wikitext on rank 0...
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 1370.46it/s]
2024-11-14:01:14:21,544 INFO     [evaluator.py:489] Running loglikelihood_rolling requests
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:05<00:00,  2.79s/it]
wikitext: {'alias': 'wikitext', 'word_perplexity,none': 13.293417578961147, 'word_perplexity_stderr,none': 'N/A', 'byte_perplexity,none': 1.649622099386414, 'byte_perplexity_stderr,none': 'N/A', 'bits_per_byte,none': 0.7221355652081017, 'bits_per_byte_stderr,none': 'N/A'}
Evaluating model ../../../checkpoints/meta-llama/Llama-3.2-3B/model.pth on tasks: ['wikitext'], limit: 2, device: cuda, precision: torch.bfloat16, quantization: float8wo, compile: False, max_length: None, calibration_tasks: ['wikitext'], calibration_seq_length: 100, pad_calibration_inputs: False
Loading model ...
Time to load model: 0.10 seconds
Running evaluation ...
2024-11-14:01:14:32,271 INFO     [huggingface.py:129] Using device 'cpu'
2024-11-14:01:14:41,442 INFO     [huggingface.py:481] Using model type 'default'
2024-11-14:01:14:41,702 INFO     [huggingface.py:365] Model parallel was set to False, max memory was not set, and device map was set to {'': 'cpu'}
2024-11-14:01:14:44,124 INFO     [init.py:459] The tag 'arc_ca' is already registered as a group, this tag will not be registered. This may affect tasks you want to call.
2024-11-14:01:14:44,137 INFO     [init.py:459] The tag 'arc_ca' is already registered as a group, this tag will not be registered. This may affect tasks you want to call.
2024-11-14:01:14:46,082 WARNING  [task.py:799] [Task: wikitext] metric word_perplexity is defined, but aggregation is not. using default aggregation=weighted_perplexity
2024-11-14:01:14:46,083 WARNING  [task.py:811] [Task: wikitext] metric word_perplexity is defined, but higher_is_better is not. using default higher_is_better=False
2024-11-14:01:14:46,083 WARNING  [task.py:799] [Task: wikitext] metric byte_perplexity is defined, but aggregation is not. using default aggregation=weighted_perplexity
2024-11-14:01:14:46,083 WARNING  [task.py:811] [Task: wikitext] metric byte_perplexity is defined, but higher_is_better is not. using default higher_is_better=False
2024-11-14:01:14:46,083 WARNING  [task.py:799] [Task: wikitext] metric bits_per_byte is defined, but aggregation is not. using default aggregation=bits_per_byte
2024-11-14:01:14:46,083 WARNING  [task.py:811] [Task: wikitext] metric bits_per_byte is defined, but higher_is_better is not. using default higher_is_better=False
Repo card metadata block was not found. Setting CardData to empty.
2024-11-14:01:15:26,820 WARNING  [repocard.py:108] Repo card metadata block was not found. Setting CardData to empty.
Evaluating Model On:  {'wikitext': ConfigurableTask(task_name=wikitext,output_type=loglikelihood_rolling,num_fewshot=None,num_samples=62)}
2024-11-14:01:15:26,850 INFO     [task.py:415] Building contexts for wikitext on rank 0...
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 1373.16it/s]
2024-11-14:01:15:26,852 INFO     [evaluator.py:489] Running loglikelihood_rolling requests
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:02<00:00,  1.05s/it]
wikitext: {'alias': 'wikitext', 'word_perplexity,none': 11.75249676221893, 'word_perplexity_stderr,none': 'N/A', 'byte_perplexity,none': 1.6107673755110918, 'byte_perplexity_stderr,none': 'N/A', 'bits_per_byte,none': 0.6877481573410492, 'bits_per_byte_stderr,none': 'N/A'}
Evaluating model ../../../checkpoints/meta-llama/Llama-3.2-3B/model.pth on tasks: ['wikitext'], limit: 2, device: cuda, precision: torch.bfloat16, quantization: float8dq-tensor, compile: False, max_length: None, calibration_tasks: ['wikitext'], calibration_seq_length: 100, pad_calibration_inputs: False
Loading model ...
Time to load model: 0.10 seconds
Running evaluation ...
2024-11-14:01:15:35,994 INFO     [huggingface.py:129] Using device 'cpu'
2024-11-14:01:15:47,286 INFO     [huggingface.py:481] Using model type 'default'
2024-11-14:01:16:05,317 INFO     [huggingface.py:365] Model parallel was set to False, max memory was not set, and device map was set to {'': 'cpu'}
2024-11-14:01:16:07,698 INFO     [init.py:459] The tag 'arc_ca' is already registered as a group, this tag will not be registered. This may affect tasks you want to call.
2024-11-14:01:16:07,711 INFO     [init.py:459] The tag 'arc_ca' is already registered as a group, this tag will not be registered. This may affect tasks you want to call.
2024-11-14:01:16:09,717 WARNING  [task.py:799] [Task: wikitext] metric word_perplexity is defined, but aggregation is not. using default aggregation=weighted_perplexity
2024-11-14:01:16:09,717 WARNING  [task.py:811] [Task: wikitext] metric word_perplexity is defined, but higher_is_better is not. using default higher_is_better=False
2024-11-14:01:16:09,717 WARNING  [task.py:799] [Task: wikitext] metric byte_perplexity is defined, but aggregation is not. using default aggregation=weighted_perplexity
2024-11-14:01:16:09,717 WARNING  [task.py:811] [Task: wikitext] metric byte_perplexity is defined, but higher_is_better is not. using default higher_is_better=False
2024-11-14:01:16:09,717 WARNING  [task.py:799] [Task: wikitext] metric bits_per_byte is defined, but aggregation is not. using default aggregation=bits_per_byte
2024-11-14:01:16:09,717 WARNING  [task.py:811] [Task: wikitext] metric bits_per_byte is defined, but higher_is_better is not. using default higher_is_better=False
Repo card metadata block was not found. Setting CardData to empty.
2024-11-14:01:16:11,777 WARNING  [repocard.py:108] Repo card metadata block was not found. Setting CardData to empty.
Evaluating Model On:  {'wikitext': ConfigurableTask(task_name=wikitext,output_type=loglikelihood_rolling,num_fewshot=None,num_samples=62)}
2024-11-14:01:16:11,804 INFO     [task.py:415] Building contexts for wikitext on rank 0...
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 1359.58it/s]
2024-11-14:01:16:11,806 INFO     [evaluator.py:489] Running loglikelihood_rolling requests
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:01<00:00,  1.07it/s]
wikitext: {'alias': 'wikitext', 'word_perplexity,none': 11.75249676221893, 'word_perplexity_stderr,none': 'N/A', 'byte_perplexity,none': 1.6107673755110918, 'byte_perplexity_stderr,none': 'N/A', 'bits_per_byte,none': 0.6877481573410492, 'bits_per_byte_stderr,none': 'N/A'}

@msaroufim - I would love to work on that! I just have one question:
I am more or less familiar with CI/CD as I have done some infra work but I am not entirely sure how to iterate and validate this on torchao's CI. If I make a commit, will the job run automatically? I remember you mentioning that workflows need to be triggered manually by someone on the team. Could you give me some pointers on how I should go about this?
Also, just a heads-up, I’ll be out of the office next week but will be back on the 25th. If the PR becomes a higher priority while I am away, feel free to move it forward as needed!

Hmm maybe I'll do some quick video tutorial on GitHub actions I've found myself explaining this stuff a lot


disfetch: 2.9 -> 2.10

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/q60/disfetch/releases.
meta.description for disfetch is: "Yet another *nix distro fetching program, but less complex"
meta.homepage for disfetch is: "https://github.com/q60/disfetch"
meta.changelog for disfetch is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/icqlq8d45834m91sab895jdmh8kml1vz-disfetch-2.10/bin/disfetch passed the binary check.

1 of 1 passed binary check by having a zero exit code.

1 of 1 passed binary check by having the new version present in output.

found 2.10 in filename of file in /nix/store/icqlq8d45834m91sab895jdmh8kml1vz-disfetch-2.10

directory tree listing: https://gist.github.com/7baa02f9270db7c0cd83920590a7982d

du listing: https://gist.github.com/281ba1b3be91feceb7b4c0dc4da20d8a

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
disfetch

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/icqlq8d45834m91sab895jdmh8kml1vz-disfetch-2.10 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A disfetch https://github.com/r-ryantm/nixpkgs/archive/7204c0e0b6fe086f417a06fa8e0be70a771f15e4.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/icqlq8d45834m91sab895jdmh8kml1vz-disfetch-2.10
ls -la /nix/store/icqlq8d45834m91sab895jdmh8kml1vz-disfetch-2.10/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

disfetch

Maintainer pings
cc @llathasa-veleth for testing.

Result of nixpkgs-review pr 133880 at 7204c0e0 run on aarch64-linux 1

1 package built successfully:

disfetch

1 suggestion:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/tools/misc/disfetch/default.nix:18:3:
   |
18 |   installPhase = ''
   |   ^

Result of nixpkgs-review pr 133880 run on x86_64-linux 1

1 package built:

disfetch


All functions are safe now

All unsafe fn replaced with just fn.

@dmitry-zakablukov please read issue #26 and reconsider this PR.

@kenba , thank you, I get it now. I am declining the pr.


Configure dependencies to be packaged in --all build

Expected Behavior
Allow to exclude only certain dependencies from the build when building with ui5 build --all
I have a custom library that I depend on. Furthermore I use openui5 dependencies for local development. When deploying my SAPUI5 app I only want to bundle it with my custom library and use sapui5 installation of the target system.
I tried with excludes like this without any success:
builder:
  resources:
    excludes:
      - "/resources/**"
      - "!/resources/myLib"

My closest guess currently is this
"build": "rimraf dist && ui5 build -a && rimraf dist/resources/sap"
which just totally sucks...
How can I achieve this with ui5-tooling?
Current Behavior
I do not see a way to do this yet.
Context

UI5 Module Version (output of ui5 --version when using the CLI): 1.12.1
Node.js Version: 10.17.0
npm Version: 6.11.3
OS/Platform: os x

Affected components (if known)

[X] ui5-builder
[ ] ui5-server
[X] ui5-cli
[ ] ui5-fs
[ ] ui5-project
[ ] ui5-logger

Hey @cschuff, including or excluding some dependencies from a build is already being discussed here: https://github.com/SAP/ui5-builder/issues/204
Is that what you are looking for or do you also want dependencies to be included in a projects bundles (e.g. Component-preload.js)?

@RandomByte The discussed solution should totally fit my needs 💯


Changing The Kubernetes Package Repository has incorrect information for RHEL based distros

In the "Switching to another Kubernetes package repository" section of the "Changing The Kubernetes Package Repository" document, the steps for switching CentOS/RHEL/Fedora are the same as those for Ubuntu/Debian.
There should be specific steps for RHEL based distributions.
Suggest the following:
Open the file that defines the Kubernetes apt repository using a text editor of your choice:
nano /etc/yum.repos.d/kubernetes.repo
You should see a single line with the URL that contains your current Kubernetes minor version. For example, if you're using v1.27, you should see this:
baseurl=https://pkgs.k8s.io/core:/stable:/v1.27/rpm/
Change the version in the URL to the next available minor release, for example:
baseurl=https://pkgs.k8s.io/core:/stable:/vbaseurl=https://pkgs.k8s.io/core:/stable:/v1.28/rpm/1.28/rpm/
Save the file and exit your text editor. Continue following the relevant upgrade instructions.

I see that the content is present in the file but isn't displaying correctly within the tab layout on the page.
/kind bug
/priority backlog
/triage accepted

I'll try to investigate this issue and see if I can offer assistance.
/assign


multiple interfaces

Nice website! Helping me learn F#
Tried copying/pasting the multiple interface example to run but it doesn't compile. Could only get the following to work.

Your example doesn't use object expressions.
https://learn.microsoft.com/en-us/dotnet/fsharp/language-reference/object-expressions

submitted new one here:  https://github.com/fsharpforyou/tour/pull/37


Follow up on PSC prod test accounts

Todo:

[x] Clarify our position with ANS : are we an editor or not ?
[x] See with Sabri what we can do ?

Hey team! Please add your planning poker estimate with Zenhub @ad2ien @JDixmier

Impossible to get  eCPS test card to test connexion between Prosanté Connect and EIMIS.
We will have to ask a real Healthcare Professional to get his card ....

Check with ANS to get CPA cards..

1rst intent = failure - We have to ask Anna Livia to do it herself because we cannot ask on her behalf

When Eimis will be in production, the first tests on PSC plugin will be done with Edouard and Sabri CPS card.


Hopefully improved clarity in some parts of the readme

Just improved some of the grammar, etc. to make the README clearer.
I couldn't tell, did you want the 'Futures' header to say 'Features' or leave it as is?
Thanks,
Mark

Thanks. :joy:


Bump dependencies (levelup to 1.1!)

Bump the dependencies, and in particular levelup to 1.x.x.
I recommend a major version bump.

sorry I didn't see this, why major?

oh because level has a major bump... yeah okay

yep :).
If you want some help maintaining this, you might consider it either moving it to the level org.
I can also help!
cc @ralphtheninja @juliangruber.

okay good idea,
merged into 2.0.0

@mcollina okay added you as npm owner.

transferred

Great! Thanks @dominictarr :).

Cool!


feat(combine-service): increased file upload limit, clarified error message

:tada: This PR is included in version 5.7.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: