Can not mount virtiofs under Ubuntu focal (20.04.5 LTS)

Ubuntu kernel version:
Linux SPA 5.15.0-46-generic #49~20.04.1-Ubuntu SMP Mon Aug 8 18:51:21 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
I see qemu process is launched in macOS with the correct params as:
-fsdev local,id=virtfs0,path=/Users/userx/Public,security_model=mapped-xattr -device virtio-9p-pci,fsdev=virtfs0,mount_tag=share

When trying to mount  it gives the following error:
sudo mount -t virtiofs share /mnt
mount: /mnt: wrong fs type, bad option, bad superblock on share, missing codepage or helper program, or other error.

And kernel error is:
[Thu Sep  8 08:25:07 2022] virtio-fs: tag <share> not found

I read that virtiofs needs virtiofsd running in the hypervisor and I see no process running in my macOS (https://virtio-fs.gitlab.io/design.html).
Am I missing something?
Thanks for the hard work.

UTM Version: v.4.0.3
macOS Version: 12.5.1
Mac Chip (Intel, M1, ...):  M1

config.plist.zip

The new shared folder implementation appears to be virtio-9p/"virtfs" rather than virtiofs. You may have better luck attempting a mount this way:
mount -t 9p -o trans=virtio share /mnt -oversion=9p2000.L

(from https://wiki.qemu.org/Documentation/9psetup#Mounting_the_shared_path)

This is related to #4389. And I hope this feature lands in UTM.


Bridge mode (freebox delta v8)

Hi,
I have got a freebox delta v8 in bridge mode. I assume the exporter tries to get my public IP  and fails because it can't be reached externally/internally.

    Finished dev [unoptimized + debuginfo] target(s) in 0.08s
     Running `target/debug/freebox-exporter-rs register`
thread 'main' panicked at src/main.rs:59:19:
reqwest::Error {
    kind: Request,
    url: Url {
        scheme: "https",
        cannot_be_a_base: false,
        username: "",
        password: None,
        host: Some(
            Domain(
                "machintruc.fbxos.fr",
            ),
        ),
        port: Some(
            20888,
        ),
        path: "/api/v4/login/authorize",
        query: None,
        fragment: None,
    },
    source: hyper_util::client::legacy::Error(
        Connect,
        ConnectError(
            "tcp connect error",
            Os {
                code: 101,
                kind: NetworkUnreachable,
                message: "Network is unreachable",
            },
        ),
    ),
}

As far as I understand it I can still use the API in bridge mode. <- I might be wrong here though.
For example registering an application with curl on my freebox in bridge mode still works:
 curl -X POST -H "content-Type: application/json" -d '{"app_id": "fr.freebox.testapp", "app_name": "Test App", "app_version": "0.0.1", "device_name": "PC-test-device"}' http://mafreebox.freebox.fr/api/v11/login/authorize/
I can query the result of the registration, so in my understanding that means I would be able to query the box and get the results.
Thank You,

Hello @ottobaer, thanks for testing. indeed api seems to have a different behavior in bridge mode. The application tries to resolve Freebox hostname on the api_version endpoint, it seems this host (example.fbxos.fr) cannot be reachable in your case. Can you give me the output of the following command ? (don't forget to obsfucate your sensitive data such as hostname prefix as you did before).

I plan to test mDNS instead of this http hop as the documentation advises. However, it would be more simple to use the mafreebox.freebox.fr host on each call, but actually I can't be sure if it works for all cases. This would mean the discovery process is useless.

I think mafreebox.freebox.fr should always work internally but not externally, that's why I can use the api with curl for example on mafreebox.freebox.fr.
Here is the output of api_version

{"box_model_name":"Freebox v8 `(r1)","api_base_url":"\/ api\/","https_port":20888,"device_name":"antbear","https_available":true,"box_model":"fbxgw8-r1","api_domain":"machintruc.fbxos.fr","uid":"123456","api_version":"11.1","device_type":"FreeboxServer8,1"}%`

I don't know if mDNS changes anything here, because I guess mDNS will also just give the api_domain, something like*.fbxos.fr if it is even possible to get the box to reply in bridge mode ?

This is my though too, but the only way to determine if remote access is enabled is to call the /api/v4/connection/config endpoint. Unfortunately this endpoint does not allow anonymous access. c.f.: ConnectionConfiguration IMO the application should stay in private network, then discovery API wont be a problem anymore.

I added a setting in conf.toml to enable usage of discovery (default: false). If not set the application will use mafreebox.freebox.fr

I also tested mDNS, as expected, related infos are the same as the api_version endpoint entries.
You may check these by running following command:
avahi-browse _fbx-api._tcp -r

Remark to get mDNS working behind another router you must replicate theses multicast packets on your network areas.

I think I found the reason behind bridge mode issue, I checked out DNS entries for both mafreebox.freebox.fr and ********.fbxos.fr.
Here the results :

mafreebox.freebox.fr resolves to a public IP like 212.XXX.XXX.XXX
********.fbxos.fr resolves to your public IP like 88.XXX.XXX.XXX

My conclusion is : If you are using ********.fbxos.fr in bridge mode which resolves to your public IP, no device will handle the API and then HTTP calls will not work

I just tested your changes and it works as expected :).
I can register the exporter on the freebox and I can get the metrics from prometheus.

cargo run serve
    Finished dev [unoptimized + debuginfo] target(s) in 0.08s
     Running `target/debug/freebox-exporter-rs serve`
using https://mafreebox.freebox.fr/api/
Some(
    Permissions {
        connection: false,
        settings: false,
        contacts: true,
        calls: true,
        explorer: true,
        downloader: true,
        parental: false,
        pvr: true,
    },
)

# HELP connection_bandwidth_down connection_bandwidth_down
# TYPE connection_bandwidth_down gauge
connection_bandwidth_down<PHONE_NUMBER>
# HELP connection_bandwidth_up connection_bandwidth_up
# TYPE connection_bandwidth_up gauge
connection_bandwidth_up 700000000
# HELP connection_bytes_down connection_bytes_down
# TYPE connection_bytes_down gauge
connection_bytes_down<PHONE_NUMBER>16
# HELP connection_bytes_up connection_bytes_up
# TYPE connection_bytes_up gauge
connection_bytes_up<PHONE_NUMBER>4

Great news ! 😊


Make use of @apply but don't output CSS classes

Hey!
I've got a question/thought.
I'm planning on using Tailwind for being the centerpiece in our web frontend infra. The way I intend to do it is to generate and distribute a single CSS file with all our desired base stuff. That includes all nifty color and spacing classes.
I'd like to include that in our various web products by linking to the CSS in a link tag. On top of that, each web frontend will need it's own custom CSS. I've made it so a service processes .css files with a central PostCSS config (including the main Tailwind config), distributed as an npm module.

So that solves the "How do I get the variables into my web frontend?" question. But I cannot use @apply in my custom CSS for classes that don't exist in that config!
Example
I include the margin variant in my central Tailwind config:
// Cental tailwind.config.js
module.exports = {
   // ...
   corePlugins: {
      margin: ['responsive']
   }
}

and use that to generate the main, distributable .css file. This is in its own repo and everything.
But in the local Tailwind config, I've got:
// Local tailwind.config.js imports the global conf from above
const { tailwindConfig } = require('my-tailwind-conf');

module.exports = {
   ... tailwindConfig,

   corePlugins: {
      // A bunch of disables:
      margin: false
   }
}

since I don't need all margin classes in my local CSS too – those are managed in the distributed .css file I linked.
When I do:
body {
   @apply py-6;
}

Tailwind fails with:
.css:39:3: `@apply` cannot be used with `.py-6` because `.py-6` either cannot be found, or its actual definition includes a pseudo-selector like :hover, :active, etc. If you're sure that `.py-6` exists, make sure that any `@import` statements are being properly processed *before* Tailwind CSS sees your CSS, as `@apply` can only be used for classes in the same CSS tree.

Totally valid, since I've disabled the margin plugin and Tailwind can't find it when @apply is called.
But is there a way to solve my use case here? I.e.
Let me enable a core plugin and use it in @apply, but don't really output any CSS classes.
Thanks for a dope tool! Keep it up! ✨✨✨

Let me enable a core plugin and use it in @apply, but don't really output any CSS classes.

You can do this by just not including any of the @tailwind directives in your CSS 👍🏻 @apply will still work as long as Tailwind would have generated those classes had you included @tailwind utilities in your CSS.

@adamwathan Thanks for the swift reply!
Gotcha, that of course works, thanks! ✨ But that means I cannot have any custom utilities output in my CSS in the local site. For example, if I'd like to extend with another text color utility:
theme: {
    ...tailwindConfig.theme,

    textColor: {
      ...pick(colors, ['orange-60']),
    },
  },

That one won't get output as .text-orange-60 {} locally.
I realise this is wanting the cake and eating it too :)

Could you import the fully processed base CSS file into each local CSS file instead of using a link tag?
/* local.css */
@import "base.css";

@tailwind utilities;

And use postcss-import to inline that file before Tailwind runs, so that @apply will work with any of the utilities specified in the original file?

This works! ⭐ Thank you so much! I didn't know that Tailwind can just parse any CSS imported before the Tailwind directives. Very flexible.
For reference, I ended up doing this:
@charset "utf8";

/* Distributable CSS */
@import "https://cdn.com/path/to/my.css";

/* This is my local site's custom CSS: */
@import "base";

/* base.css */
body {
   /* blue-10 comes from the distributable CSS, and orange-60 comes from the local config ✌ */
   @apply bg-blue-10 text-orange-60;
}


Make tokens in <|> relevant to syntax match

Implements https://github.com/leanprover/lean4/issues/1275#issuecomment-1172939175
Fixes #1275

I suppose &"foo" <|> ... should trigger a token match just as well. Which begs the question of how to handle
syntax discharger := atomic(" (" (&"discharger" <|> &"disch")) " := " tacticSeq ")"

The simplest solution would be to define
syntax dischTk := &"discharger" <|> &"disch"

and then use $_:dischTk. It would basically be the reverse of the previous situation: introduce intermediary syntax when you do not want to match the token.

I think for discharger, we can just remove the disch variant.  Generally, adding an extra syntax node sounds good.

I'm still unsure what to do about something like
syntax unifConstraint := term (" =?= " <|> " ≟ ") term

In built-in syntax this would be unicodeSymbol, but we can't make that a parser alias as it takes two strings, not parsers. By the above we could do
syntax unifTk := " =?= " <|> " ≟ "

but then we would have to write $_:unifTk in patterns instead. Do we want to keep the pattern irrelevance in these cases? Then we could also introduce a generic parser combinator, as I think was proposed before, like
syntax unifTk := nomatch (" =?= " <|> " ≟ ")

except maybe with a better name.

The one-size-fits-all solution for when ParserDescr is not expressive enough is to make a parser alias.  I think this also depends on (y)our long-term plans: do we want to get rid of ParserDescr or get rid of Parser?  As it stands, we're running into ParserDescr limitations left and right (e.g. we can't expose sepByIndent either because it takes a string and a parser, and I'm not even getting into optional arguments).
We've discussed the nomatch before, such a feature would also be great for sepByIndent, etc.  Here the nomatch should be outside of the unifTk though, we don't want to check the kind of the unifTk node.


Fix conda command in readme

The conda forge channel is lagging behind (as of right now, only 2.7.1 is available), we should recommend using the Hugging face channel that we are maintaining
conda install -c huggingface datasets

ah didn't read well - it's all good

or maybe it isn't ? -c huggingface -c conda-forge installs from HF or from conda-forge ?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Updated didcomm service endpoint

Closes #8

DIDComm service endpoints also include an accept property but we didn't include it before so I left it off. not sure if that's the correct approach or if we should talk about it


[Feature][Sort] Add NotInOperator definition to support transform

Description
Add NotInOperator definition to support transform
Use case
No response
Are you willing to submit PR?

[X] Yes, I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Same as https://github.com/apache/incubator-inlong/pull/3820.


Experiment with LLMs for SQL generation

SQL queries on graphs are very flexible and powerful. With large language models like OpenAI's Codex we could make this more accessible.
The idea is to create a prompt of the following format:
We have these tables:
 - VERTICES with columns ID (long), X (number), Y (string), Z (timestamp)
 - EDGE_ATTRIBUTES with columns SRC_ID (long), DST_ID (long), FOO (number), BAR (string), ...
 - EDGES with columns SRC_ID (long), DST_ID (long), SRC_X (number), DST_X ..., EDGE_FOO (number), EDGE_BAR (string), ...

Write a query to find [WHAT THE USER WANTS]:
SELECT

The task is to experiment to find the best prompt. Please create 10 different use cases with made up tables and user queries. (Some queries can share the same tables, but make sure there is good variety.)
Imaginary tables are very flexible and easy to work with. But let's use a real dataset as one of the examples. That way we can try the generated queries for real.
For all test cases try the effects of the following:

Adding one or more exemplars. An exemplar helps the model understand the format. It can also be useful for detecting the end of the generated query.
Changing the set of tables. LynxKite has vertices, edges, and edge_attributes. But it never makes sense to use all three in a query. What if we only mention vertices and edges? Or if we only mention edge_attributes?
Try GPT-3 and Codex. You can drive these from code, so you can easily run a full experimental suite on them. Try a few examples manually on ChatGPT for comparison.
Experiment with the specific phrasing. Find the best option instead of We have these tables: and find the best format for specifying the schema. For GPT-3/ChatGPT I think an instruction ought to work well. (Like Write a query that.) For Codex I expect a comment would work better. (Like -- This query is going to.)
Check the effects of unrelated columns. Try adding 100 unrelated columns in your imaginary table.

Please submit the experimental suite in a PR. I don't want to clutter the main branch with this experimental stuff, but we can merge it to a research branch for posterity. Once we are past the prototyping phase, this code can become the basis of the real implementation.
Please write the code so that the generated queries are saved to a file and include this file in the PR too. You don't have to include the output for every variation, but do include what you want to show. The good stuff! 😊  (Make sure you don't include the API key though!)
Thank you!

From today's meeting:

Lena has seen good results with SQL-to-text. For now we don't have an application for that, but it's good to know.
Lena experimented with different temperatures. Like the docs say, zero is probably best.

(Was there anything else?)

Serious researchers have also looked at this. Evaluating the Text-to-SQL Capabilities of Large Language Models (2022) by Rajkumar et al looks like the perfect overview!


Remove page 5 of welcome section

Partial fix for #236 - I think that we need to improve navigation in general for the user to understand his current position intuitively.

Agreed. +1 for merging

Agreed. +1 for merging

Let's roll :)


Scale problem on the map

With the Endangered Languages data, we have a huge range of values when sum of no of speakers is calculated for each point. As a result numbers from 6 up to 600,000 look like the same size dot.
One option for investigating this is to include a histogram (like the timeline) that shows the range (on a logarithmic scale. Or that we give the option to bin the numbers into a 5 or 6 levels of scale instead of trying to represent every value. This would at least show order of magnitude.

Can we add another dimension to the data set that is a log-scale transformation of the "No of speakers" value. "log(No of speakers)"? And use that for the visualization? That should help quite a bit at the moment.
I agree we need to beef up Palladio's data transformation capabilities. Various transformations of numeric dimensions should be among the capabilities.

I actually tried this and something is going screwy so that I can't assign a tooltip on the map correctly. Need to look into it...


Inquiry Regarding Sun Irradiance Values Returned by API

I hope this message finds you well. I am reaching out to seek further clarification regarding the sun irradiance values I have received from your API. I have been analyzing the data for different German cities, and the irradiance values I retrieved are considerably higher than I initially anticipated.
While I am not an expert in meteorology, I had understood that the maximum possible amount of solar irradiance reaching the Earth's atmosphere is approximately 1365 W/m². Particularly in Germany, I assumed this value to be somewhat lower. However, upon examining the hourly dataframes for cities like Germany and Potsdam, I noticed that the values exceed 2000 W/m².
I must admit that I am a bit perplexed by these readings and would greatly appreciate your guidance in understanding this matter better. I would like to comprehend the specifics of the "sun_irradiance" parameter better, as it appears that my current understanding might be incomplete or incorrect. Your insights into the nature of these irradiance values and the factors that could contribute to such measurements would be invaluable.
I want to express my gratitude for the functionality of your API, which has been performing remarkably well for my purposes. I eagerly await your response and am thankful for any assistance you can provide in shedding light on this situation.
Thank you for your time and support.
Best regards
Max

Hi Max,
thanks for reaching out! We discussed this already in a thread for dwd_weather for Homeassistant.This package here exists mainly for this integration.
The reason seems to be an error in the documentation which states the values are in Watt/m2 but actually they are in kJ/m2. I hope this helps and I should update the documentation for this.
Best regards,
Max


Fix namespace

Fixing one subtle bug led me to another which led to this fix (and a couple of minor other improvements). As all 3 commits are kind of orthogonal, I request a rebase and merge rather than squash.
Copy-paste most important commit message here:
Make Module and Bundle properly use empty namespaces
Also fix default suggested name of Module instances (now based on desired name
rather than actual assigned name).
Previously, Module and Bundle namespaces were "children" of the Module
definition namespace. This could lead to collisions that would give unexpected
names for module instances or Bundle elements. In particular, otherwise
identical modules that instantiate other identical modules in such a way that
the instance cannot be named via reflection would not be deduplicated because
the names of the instances would collide with the names of the modules in the
Builder.globalNamespace.

@ucbjrl @chick This will break chisel-testers because it removes the extra 'c' in ChiselExecutionSuccess. I figure this needs to happen sooner or later. Is this okay with you to merge?

Why do namespaces even have the parenting feature?
Is that even being used?

It's historical.  I either misunderstood Firrtl's guarantees or was working around a Firrtl bug; I forget.  At this stage, it would be fine to nuke it altogether... up to y'all.

Given that it currently grants a false guarantee, it should probably just be removed since it is not worth fixing as it is not being used. (The parent doesn't check that an a element isn't in any of its descendants before being added so you can still end up with the same identifier in a child and parent namespace.)

Agreed

Done.


The recommended path for the REQUESTS_CA_BUNDLE environment variable is incorrect for 64-bit Windows

Prerequisites

[X] Write a descriptive title.
[X] Search the existing issues.
[X] I am reporting the documentation problem for the current version of Azure CLI.

Azure CLI version being used
2.55.0
Link to affected document
https://learn.microsoft.com/en-us/cli/azure/use-cli-effectively?tabs=bash%2Cbash2#work-behind-a-proxy
Description of the documentation error
The recommended path for the REQUESTS_CA_BUNDLE on Windows is
C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\certifi\cacert.pem

But on 64-bit Windows it's in
C:\Program Files\...

Suggested fix
It would be nice if we could just say %ProgramFiles%\..., but that environment variable isn't set consistently across CMD and different versions of Powershell. I would probably list them both?

@sethlivingston
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.

@sethlivingston, Thank you for bringing this to our attention.  This has been fixed in #4075


Feature/partial match

Tackles issue #19 Filter as partial match.
Slight improvement would be to order results in increasing order of found index, so for :mus, :muscle: 💪 should appear before :unamused: 😒. Minimal gain for the effort though, probably saves 0.1s out of a users life, so decided not worth adding the extra implementation.

I literally just came to this repo because I thought an emoji was missing, but it turns out it's just not easy to find because of the issue you are fixing here (the use case is the white_check_mark emoji. :check does not show results for it currently)

Thank you


Panel not working with mapwidget.cesium: Class null not found in module<EMAIL_ADDRESS>#88

It is unclear to me which package is responsible for this error. So I've crossposted to

https://github.com/bokeh/ipywidgets_bokeh/issues/88

Environment Information

mapwidget version: 0.1.2
Python version: 3.9
Operating System: Windows

Description
I would like to use Panel with mapwidget.cesium. Panel works with (some) ipywidgets via ipywidgets-bokeh.
Exception
Class null not found in module<EMAIL_ADDRESS>    ipywidgets_bokeh.js?v=59296d23d623ce0adf7675d22156e83b1248c8508135a65dd8a9e38c497e94a8:8

Reproducible Example
pip install panel==0.14.1 ipywidgets-bokeh==1.3.0 mapwidget==0.1.2

Other versions: ipywidgets-8.0.5 jupyterlab-widgets-3.0.6 widgetsnbextension-4.0.6 anywidget-0.2.0
mapwidget_app.py
import os
import mapwidget.cesium as mapwidget
import panel as pn

pn.extension("ipywidgets")

try:
    token = os.environ['CESIUM_TOKEN']
except KeyError as ex:
    raise EnvironmentError(
        "CESIUM_TOKEN environment variable not set. "
        "Sign up for free and get a free Cesium token here https://ion.cesium.com/signup/"
        ) from ex

cesium_map = mapwidget.Map(center=[40.70605, -74.01177], altitude=600, height='600px', token=token)
pn.panel(cesium_map).servable()

panel serve mapwidget_app.py

Open: http://localhost:5006/mapwidget_app and see the exception in the browsers console.

I can see that Panel + ipywidgets-bokeh does not work with anywidget. So this is the more fundamental issue to solve. See https://github.com/bokeh/ipywidgets_bokeh/issues/89.

This is probably the upstream issue like ipywidgets or Panel. Anywidget does not use ipywidgets as an dependency. It should be platform agnostic.

Thanks. It seems to do though 👍

My bad. Anyway, I don't think anywidget is responsible for the issue. Let's wait for the maintainer respond.

It works now after fixes in ipywidgets_bokeh. Thanks for helping out.
Would you like a PR to the docs describing that mapwidget works with Panel including a small example?`
https://github.com/opengeos/mapwidget/assets/42288570/3dd1f2fd-a69a-43f4-b24d-4a1c45d5acfc

# pip install panel ipywidgets_bokeh mapwidget
import os

import mapwidget.cesium as mapwidget

import panel as pn

pn.extension("ipywidgets")

try:
    token = os.environ["CESIUM_TOKEN"]
except KeyError as ex:
    raise EnvironmentError(
        "CESIUM_TOKEN environment variable not set. "
        "Sign up for free and get a free Cesium token here https://ion.cesium.com/signup/"
    ) from ex

cesium_map = mapwidget.Map(
    center=[40.70605, -74.01177], height="650px", altitude=600, token=token
)

component = pn.panel(cesium_map, sizing_mode="stretch_width")

description = """# MapWidget

Custom Jupyter widgets for creating interactive 2D/3D maps using popular JavaScript libraries with bidirectional communication, such as `Cesium`, `Mapbox`, `MapLibre`, `Leaflet`, and `OpenLayers`.

By **Qiusheng Wu**

# Cesium

Cesium is the open platform for software applications designed to unleash the power of 3D data.

"""

pn.template.FastListTemplate(
    logo="https://panel.holoviz.org/_static/logo_horizontal_dark_theme.png",
    title="Works with mapwidget.cesium",
    main=[component],
    sidebar=[description],
).servable()

panel serve app.py --autoreload --show

That would be great. Thank you


python311Packages.google-cloud-datacatalog: 3.12.0 -> 3.13.0

Changelog: https://github.com/googleapis/python-datacatalog/blob/v3.13.0/CHANGELOG.md
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.11 Release Notes (or backporting 23.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

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

8 packages built:

python310Packages.google-cloud-bigquery
python310Packages.google-cloud-bigquery.dist
python310Packages.google-cloud-datacatalog
python310Packages.google-cloud-datacatalog.dist
python311Packages.google-cloud-bigquery
python311Packages.google-cloud-bigquery.dist
python311Packages.google-cloud-datacatalog
python311Packages.google-cloud-datacatalog.dist


cases latex environment doesn't show in inline style in jupyter notebook

Version: 1.67.1 (user setup)
OS: Windows_NT x64 10.0.22000
Steps to Reproduce:
1.write following markdown code in jupyter notebook
formula: $
f(n) = \begin{cases}
  n/2  & n \text{    is   even} \\
  3n+1 & n \mathrm{ is odd}
\end{cases}
$

run the cell
the formula wrapped in $$ shows in display style

correct in browser:

/verified


email should be named username

When running imap-backup setup, app asks you for your e-mail. However, it is not e-mail, it is actually username. For Gmail both are the same, but not for other servers.
And if you enter your username and try to test connection, app just crashes without printing out what the problem is.
Anyway, it would be nice to have option imap-backup help with description of all commands. Just an idea. :)

@MatejKovacic good point about username, that'll need to be fixed (and kept backward-compatible).
PRs are always welcome ;-)


MUDDLER Introductions (2018-19 Season)

Hello MUDDLERS!
Now that we have a good number of neighbors in the sandbox, I'd love it if we could take a moment and introduce ourselves! If you could include your preferred methods of composition (graphic art, digital art, poetry, fiction, video games, music, video, etc.), your experience with Git and GitHub, and where you're from I think that would be a great start! Please also link to your existing MUDDLE contributions, any publicly hosted works, websites, blogs, or social media accounts so we can find you in the ether! :stars:
In case you want to follow MUDDLE:
@muddle_mag (Insta and Twitter)
@muddlemag (Facebook)
Best, Tay
@nadinejl @gkthiruvathukal @backpacker396 @jksily @gmoe @JonHolt @snblickhan @tymonaghan

I'll start :blush:
My name is Taylor and I am MUDDLE's Content Editor! I graduated from Widener University in 2017 with a Bachelor's degree in English and I will graduating from Loyola University Chicago in May 2019 with my Master's degree in Textual Studies and Digital Humanities. My experience with Git and GitHub is fairly limited: I've only begun using it seriously for my own projects in the past year or so and MUDDLE is the first of these projects to have an ingrained, collaborative workflow.
I'm from the Pocono Mountains in woodsy Pennsylvania and I attribute much of my digital naivety to growing up on a mountain, but I wouldn't have traded it for the world. :sunrise_over_mountains: I love writing poetry, but my methods of creation are usually very slow going. I find that deadlines are very good for me, plus also having lots of people around to hold me accountable to working on my art. :sweat_smile: You can check out some of my graphic design projects, my poetry, and my blog at my Pathbrite Digital Portfolio.
I'm also on Instagram :) @adventscholar

My name is Josh. Alternatively, you can call me jks. It would feel weird being at a screen and not being called by my internet name. I graduated Widener University in 2017 with my Bachelor's in English (shout out to Taylor for putting up with my inconsistencies these past 4 & 1/2 years). I currently live in Wilmington, DE.
I have minimal experience with Git and GitHub. I am a big proponent of open-source projects though, and am a general computer fiend. I wrote my senior thesis on video games. I'm hoping to learn and utilize Git more in the coming months as I want to contribute to more projects rather than just enjoy the benefits of their existence.
I mainly work in fiction - short stories in particular. I also do photography and may soon adopt Git as a platform to share those projects as well. There will also be the occasional pixel art upload from me. I tend to work in sporadic bursts because frankly my work ethic is atrocious. In an attempt to fix this, I'll be logging 300 words a day to MUDDLE as of today.
I'm pulling out from social media so if you want to reach me it'd be best to do so through my email (ask me for this) or through Discord: sadlad#4391. I do look forward to playing in the sandbox with you all. c:

Thank you so much @jksily and @gmoe!

This is so exciting!
Wonderful to hear more of your story @taylorcate, and to see your artwork on Pathbrite — the flower digital humanities model, and the “lady with flowers" — gorgeous. The latter reminded me of the Vogue art covers.
@jksily, looking forward to reading your short stories and perhaps seeing some photography!
@gmoe: the VODER — wow, what a cool project. Loved the revamped logo and the video. Beautiful UX on the site. Tried it out. Addictive for a linguophile!


Link to grants

There are NSF award numbers, but it would be nice to keep a link to the NSF award page.

Ah, we already do on my funding page, just not the CV. Don't need to do it on the CV.


An attempt to get CoreCLR tests off the floor

This lets us pass some tests, but not much.

The CLI blob for Windows is mysteriously unavailable as of this afternoon (maybe it got deleted accidentally?).  I'll check in a fix for that shortly.

Removing the WIP tag.
This lets us run the tests. I didn't try to update Issues.targets with everything, so we won't get a clean run or anything.
There are still a lot of failures related to triggering GC, referring to mscorlib, and newly, referring to System.Runtime 4.1.0. The BCL team has no short term plans to make a System.Runtime 4.1.0 façade we could use. To fix that we will pretty much need to build the source IL differently.
@schellap Can you please have a look?

:shipit:


Task/carta beca

What's this PR do?

adds the functionality to generate letters for scholarships.
adds a table called Colegiatura which stores the current amount being paid at jp
adds a migration to create an initial colegiatura

Where should the reviewer start?
becas/forms
becs/utils
becas/tests
administracion/models
administracion/views detail_student
How should this be manually tested?
First install reportlab, which is on the requirements.
don't forget to run migrations too
then, run the tests and manually try generating letters for students that have assigned scholarships.
Any background context you want to provide?
all the details after the demo are included.
This template was adapted ~stolen~ from Quickleft/Sprint.ly

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@e48ba42). Click here to learn what that means.
The diff coverage is 98.26%.

@@            Coverage Diff             @@
##             develop      #90   +/-   ##
==========================================
  Coverage           ?   94.09%
==========================================
  Files              ?      155
  Lines              ?     3932
  Branches           ?        0
==========================================
  Hits               ?     3700
  Misses             ?      232
  Partials           ?        0

Impacted Files
Coverage Δ

becas/urls.py
100% <ø> (ø)

administracion/tests.py
100% <100%> (ø)

becas/forms.py
100% <100%> (ø)

administracion/views.py
67.39% <100%> (ø)

administracion/test_models.py
100% <100%> (ø)

administracion/models.py
100% <100%> (ø)

becas/utils.py
100% <100%> (ø)

becas/views.py
96.96% <100%> (ø)

administracion/admin.py
100% <100%> (ø)

administracion/migrations/0003_colegiatura.py
100% <100%> (ø)

... and 1 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 e48ba42...b0f645b. Read the comment docs.


affectivity, guavina

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[a,g]

/trunk merge


Import Paratext (USX) documents into AIM

Similar to Issue #54 -
Paratext has the capability to export text into an xml format called USX. This format is used by the Digital Bible Library, and according to Nathan is preferred to USFM -- it has a Relax NG grammar defined, unlike USFM.
From Paratext, files can be exported in USX format by selecting Tools>Advanced>Export Project to USX.

USX import functionally complete. Remaining work can be tracked via new issues.


failed to add integration

Installed tuya v2 through HACS
After server reboot, I went to "add integration" and selected "Tuya v2"
then received error message:
Config flow could not be loaded

Same

@increddibelly This is the only thing I found about tuya:
2021-10-20 22:38:03 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration tuya_v2 which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
Did I enable logging in the right way??
I just added these lines in my configurations.yaml:
logger:
default: critical
logs:
custom_components.tuya_v2: debug


python312Packages.awkward: 2.6.9 -> 2.7.0; python312Packages.uproot: 5.4.1 -> 5.5.0

Things done

python312Packages.uproot: 5.4.1 -> 5.5.0
Changelog: https://github.com/scikit-hep/uproot5/releases/tag/v5.5.0
python312Packages.awkward-cpp: 39 -> 41
python312Packages.awkward: 2.6.9 -> 2.7.0
Changelog: https://github.com/scikit-hep/awkward/releases/tag/v2.7.0

cc @veprbl

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

[ ] 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/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

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

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

x86_64-linux

:x: 8 packages failed to build:

python311Packages.coffea
python311Packages.coffea.dist
python311Packages.vector
python311Packages.vector.dist
python312Packages.coffea
python312Packages.coffea.dist
python312Packages.vector
python312Packages.vector.dist

:white_check_mark: 28 packages built:

python311Packages.awkward
python311Packages.awkward-cpp
python311Packages.awkward-cpp.dist
python311Packages.awkward-pandas
python311Packages.awkward-pandas.dist
python311Packages.awkward.dist
python311Packages.correctionlib
python311Packages.correctionlib.dist
python311Packages.dask-awkward
python311Packages.dask-awkward.dist
python311Packages.mplhep
python311Packages.mplhep.dist
python311Packages.uproot
python311Packages.uproot.dist
python312Packages.awkward
python312Packages.awkward-cpp
python312Packages.awkward-cpp.dist
python312Packages.awkward-pandas
python312Packages.awkward-pandas.dist
python312Packages.awkward.dist
python312Packages.correctionlib
python312Packages.correctionlib.dist
python312Packages.dask-awkward
python312Packages.dask-awkward.dist
python312Packages.mplhep
python312Packages.mplhep.dist
python312Packages.uproot
python312Packages.uproot.dist

aarch64-linux

:x: 8 packages failed to build:

python311Packages.coffea
python311Packages.coffea.dist
python311Packages.vector
python311Packages.vector.dist
python312Packages.coffea
python312Packages.coffea.dist
python312Packages.vector
python312Packages.vector.dist

:white_check_mark: 28 packages built:

python311Packages.awkward
python311Packages.awkward-cpp
python311Packages.awkward-cpp.dist
python311Packages.awkward-pandas
python311Packages.awkward-pandas.dist
python311Packages.awkward.dist
python311Packages.correctionlib
python311Packages.correctionlib.dist
python311Packages.dask-awkward
python311Packages.dask-awkward.dist
python311Packages.mplhep
python311Packages.mplhep.dist
python311Packages.uproot
python311Packages.uproot.dist
python312Packages.awkward
python312Packages.awkward-cpp
python312Packages.awkward-cpp.dist
python312Packages.awkward-pandas
python312Packages.awkward-pandas.dist
python312Packages.awkward.dist
python312Packages.correctionlib
python312Packages.correctionlib.dist
python312Packages.dask-awkward
python312Packages.dask-awkward.dist
python312Packages.mplhep
python312Packages.mplhep.dist
python312Packages.uproot
python312Packages.uproot.dist

x86_64-darwin

:white_check_mark: 20 packages built:

python311Packages.awkward
python311Packages.awkward-cpp
python311Packages.awkward-cpp.dist
python311Packages.awkward-pandas
python311Packages.awkward-pandas.dist
python311Packages.awkward.dist
python311Packages.correctionlib
python311Packages.correctionlib.dist
python311Packages.uproot
python311Packages.uproot.dist
python312Packages.awkward
python312Packages.awkward-cpp
python312Packages.awkward-cpp.dist
python312Packages.awkward-pandas
python312Packages.awkward-pandas.dist
python312Packages.awkward.dist
python312Packages.correctionlib
python312Packages.correctionlib.dist
python312Packages.uproot
python312Packages.uproot.dist

aarch64-darwin

:fast_forward: 8 packages marked as broken and skipped:

python312Packages.coffea
python312Packages.coffea.dist
python312Packages.dask-awkward
python312Packages.dask-awkward.dist
python312Packages.mplhep
python312Packages.mplhep.dist
python312Packages.vector
python312Packages.vector.dist

:x: 8 packages failed to build:

python311Packages.coffea
python311Packages.coffea.dist
python311Packages.dask-awkward
python311Packages.dask-awkward.dist
python311Packages.mplhep
python311Packages.mplhep.dist
python311Packages.vector
python311Packages.vector.dist

:white_check_mark: 20 packages built:

python311Packages.awkward
python311Packages.awkward-cpp
python311Packages.awkward-cpp.dist
python311Packages.awkward-pandas
python311Packages.awkward-pandas.dist
python311Packages.awkward.dist
python311Packages.correctionlib
python311Packages.correctionlib.dist
python311Packages.uproot
python311Packages.uproot.dist
python312Packages.awkward
python312Packages.awkward-cpp
python312Packages.awkward-cpp.dist
python312Packages.awkward-pandas
python312Packages.awkward-pandas.dist
python312Packages.awkward.dist
python312Packages.correctionlib
python312Packages.correctionlib.dist
python312Packages.uproot
python312Packages.uproot.dist

A single test of python3Packages.vector is failing now. I have no idea why.

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

x86_64-linux

:x: 2 packages failed to build:

python311Packages.coffea
python311Packages.coffea.dist

:white_check_mark: 34 packages built:

python311Packages.awkward
python311Packages.awkward-cpp
python311Packages.awkward-cpp.dist
python311Packages.awkward-pandas
python311Packages.awkward-pandas.dist
python311Packages.awkward.dist
python311Packages.correctionlib
python311Packages.correctionlib.dist
python311Packages.dask-awkward
python311Packages.dask-awkward.dist
python311Packages.mplhep
python311Packages.mplhep.dist
python311Packages.uproot
python311Packages.uproot.dist
python311Packages.vector
python311Packages.vector.dist
python312Packages.awkward
python312Packages.awkward-cpp
python312Packages.awkward-cpp.dist
python312Packages.awkward-pandas
python312Packages.awkward-pandas.dist
python312Packages.awkward.dist
python312Packages.coffea
python312Packages.coffea.dist
python312Packages.correctionlib
python312Packages.correctionlib.dist
python312Packages.dask-awkward
python312Packages.dask-awkward.dist
python312Packages.mplhep
python312Packages.mplhep.dist
python312Packages.uproot
python312Packages.uproot.dist
python312Packages.vector
python312Packages.vector.dist

aarch64-linux

:white_check_mark: 36 packages built:

python311Packages.awkward
python311Packages.awkward-cpp
python311Packages.awkward-cpp.dist
python311Packages.awkward-pandas
python311Packages.awkward-pandas.dist
python311Packages.awkward.dist
python311Packages.coffea
python311Packages.coffea.dist
python311Packages.correctionlib
python311Packages.correctionlib.dist
python311Packages.dask-awkward
python311Packages.dask-awkward.dist
python311Packages.mplhep
python311Packages.mplhep.dist
python311Packages.uproot
python311Packages.uproot.dist
python311Packages.vector
python311Packages.vector.dist
python312Packages.awkward
python312Packages.awkward-cpp
python312Packages.awkward-cpp.dist
python312Packages.awkward-pandas
python312Packages.awkward-pandas.dist
python312Packages.awkward.dist
python312Packages.coffea
python312Packages.coffea.dist
python312Packages.correctionlib
python312Packages.correctionlib.dist
python312Packages.dask-awkward
python312Packages.dask-awkward.dist
python312Packages.mplhep
python312Packages.mplhep.dist
python312Packages.uproot
python312Packages.uproot.dist
python312Packages.vector
python312Packages.vector.dist

x86_64-darwin

:white_check_mark: 36 packages built:

python311Packages.awkward
python311Packages.awkward-cpp
python311Packages.awkward-cpp.dist
python311Packages.awkward-pandas
python311Packages.awkward-pandas.dist
python311Packages.awkward.dist
python311Packages.coffea
python311Packages.coffea.dist
python311Packages.correctionlib
python311Packages.correctionlib.dist
python311Packages.dask-awkward
python311Packages.dask-awkward.dist
python311Packages.mplhep
python311Packages.mplhep.dist
python311Packages.uproot
python311Packages.uproot.dist
python311Packages.vector
python311Packages.vector.dist
python312Packages.awkward
python312Packages.awkward-cpp
python312Packages.awkward-cpp.dist
python312Packages.awkward-pandas
python312Packages.awkward-pandas.dist
python312Packages.awkward.dist
python312Packages.coffea
python312Packages.coffea.dist
python312Packages.correctionlib
python312Packages.correctionlib.dist
python312Packages.dask-awkward
python312Packages.dask-awkward.dist
python312Packages.mplhep
python312Packages.mplhep.dist
python312Packages.uproot
python312Packages.uproot.dist
python312Packages.vector
python312Packages.vector.dist

aarch64-darwin

:fast_forward: 8 packages marked as broken and skipped:

python312Packages.coffea
python312Packages.coffea.dist
python312Packages.dask-awkward
python312Packages.dask-awkward.dist
python312Packages.mplhep
python312Packages.mplhep.dist
python312Packages.vector
python312Packages.vector.dist

:x: 8 packages failed to build:

python311Packages.coffea
python311Packages.coffea.dist
python311Packages.dask-awkward
python311Packages.dask-awkward.dist
python311Packages.mplhep
python311Packages.mplhep.dist
python311Packages.vector
python311Packages.vector.dist

:white_check_mark: 20 packages built:

python311Packages.awkward
python311Packages.awkward-cpp
python311Packages.awkward-cpp.dist
python311Packages.awkward-pandas
python311Packages.awkward-pandas.dist
python311Packages.awkward.dist
python311Packages.correctionlib
python311Packages.correctionlib.dist
python311Packages.uproot
python311Packages.uproot.dist
python312Packages.awkward
python312Packages.awkward-cpp
python312Packages.awkward-cpp.dist
python312Packages.awkward-pandas
python312Packages.awkward-pandas.dist
python312Packages.awkward.dist
python312Packages.correctionlib
python312Packages.correctionlib.dist
python312Packages.uproot
python312Packages.uproot.dist


browsh: 1.5.2 -> 1.6.4

Motivation for this change
Noticed it was out of date
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Notify maintainers
cc @kalbasit

tested with nix-review


Remove CP and DP segmentation differences and update documentation

This PR is ready for review and addresses 3 issues with very small changes.
#9 - CP/DP Segmentation Differences:
These segmentation differences were caused by using different versions of CellPose and instantiating CellPose with models.Cellpose instead of models.CellposeModel
#10 - DP Environment Installation Issues:
After installing DP, numpy needs to be upgraded with pip install numpy==1.23.3
#11 - Aspera Installation Instructions:
The installation instructions for Aspera have been updated to make it easier for Ubuntu users to follow along.

Hey @roshankern great PR :muscle: . Suggested some minor formatting changes. Feel free to accept or reject them !

Thank you @d33bs ! I will keep these comments in mind while developing in the future!


Rename Labels to badges

In Bootstrap v4, labels and badges got renamed; see the migration guide

Renamed .label to .badge to disambiguate from the <label> element.

I would volunteer to submit a pull request if this feature parity is desired.
What do you think?

📝 Doc References

https://getbootstrap.com/docs/4.0/components/badge/#contextual-variations
https://picturepan2.github.io/spectre/elements.html#labels

@m5o I am not planning the renaming. Good idea but it still needs some considerations.

@m5o Badges in Spectre are floated labels with number in them. And it has some unique usage with other components. I don't think merging labels and badges are good. What do you think?

Yes, you‘re right. I did not consider this fact.


Enum as a template parameter?

Hi there! I'm really new to using this nuget so any help is appreciated. Please feel free to correct me on anything.
I find myself creating a template in which I have to use the Checkout repository. More specifically I want to parameterize the Submodules. But the problem is the Submodules parameter only accepts one of the Enumeration values, but I really want it to be passed as a parameter: ${{ parameters.submodules }}. I am trying something like:
public override List<Parameter> Parameters => new()
{
    StringParameter("repository"),
    StringParameter("submodules", defaultValue: "true")
};

public override ConditionedList<Step> Definition => new()
{
    new RepositoryCheckoutTask(parameters["repository"])
    {
        Submodules = parameters["submodules"]
    }
};

But id does not work because it expects a value of type Sharpliner.AzureDevOps.Tasks.SubmoduleCheckout. Here is the full error:
Cannot implicitly convert type 'Sharpliner.AzureDevOps.ConditionedExpressions.ParameterReference' to 'Sharpliner.AzureDevOps.Tasks.SubmoduleCheckout'

Is there any solution to this? Thank you very much in advance! :)

Hey,
Thanks for logging the issue!
I believe we can make it work but it will need a small change in Sharpliner. I can see if I can get a PR out. Should be quite straightforward.

Alright, I have a fix: https://github.com/sharpliner/sharpliner/pull/319
It will appear in the 1.5.20 package which will be published shortly.
@ManelRosPuig please also note you can use a shorter notation for the checkout task:
    Checkout.Repository(parameters["repository"]) with
    {
        Submodules = parameters["submodules"]
    }


First set of benchmarks that run do so more slowly than they should.

When running sealbench, we noticed some odd results in the that poly degree 2048 keygen was faster than 1024, which makes no sense. We reversed the order in which the benchmarks run and this corrected the anomaly, but now 32768 runs more slowly than it should.
Finally, we kept the default order and ran 1024 twice. The second batch of results is significantly faster than the first (2-6x faster!):
---------------------------------------------------------------------------------------------------------------
Benchmark                                                                     Time             CPU   Iterations
---------------------------------------------------------------------------------------------------------------
n=1024 / log(q)=27 / KeyGen / Secret/iterations:10                          392 us          245 us           10
n=1024 / log(q)=27 / KeyGen / Public/iterations:10                          516 us          495 us           10
n=1024 / log(q)=27 / BFV / EncryptSecret/iterations:10                      939 us          939 us           10
n=1024 / log(q)=27 / BFV / EncryptPublic/iterations:10                      569 us          566 us           10
n=1024 / log(q)=27 / BFV / Decrypt/iterations:10                            140 us          140 us           10
n=1024 / log(q)=27 / BFV / EncodeBatch/iterations:10                       30.7 us         30.5 us           10
...
n=1024 / log(q)=27 / KeyGen / Secret/iterations:10                         74.6 us         74.2 us           10
n=1024 / log(q)=27 / KeyGen / Public/iterations:10                          153 us          152 us           10
n=1024 / log(q)=27 / BFV / EncryptSecret/iterations:10                      344 us          342 us           10
n=1024 / log(q)=27 / BFV / EncryptPublic/iterations:10                      456 us          452 us           10
n=1024 / log(q)=27 / BFV / Decrypt/iterations:10                           59.0 us         58.7 us           10
n=1024 / log(q)=27 / BFV / EncodeBatch/iterations:10                       12.6 us         12.4 us           10

I suspect the first set of experiments that run are incurring page faults loading code into memory and while the second batch simply pull instructions for ICache (or at least memory without faulting...). There may also be some data cache hits if the allocator is reusing memory.
I propose running the first batch of benchmarks one time during precomputation and not printing the results to prime everything into the memory hierarchy.

If it makes a difference, this was run on an M1 MacBook Air with 7-core GPU.


(UPDATE) ticket and vip ticket additional info

tła dot ticketów
najlepsze będzie info CO ZMIENIĆ/DODAĆ (tekst).... pliki niechętnie gdyż musze je mieć przygotowane pod konkretny generator
ebe6_ticketdownload_vip.pdf
ebe6_ticketdownload.pdf

mogę np przyjąć mapkę ..... tak czy siak potrzebuję tylko i wyłącznie TEKST albo poj. elementy w wektorach (PDF, SVG)

Upper half of the page
Visitor’s badge x2
In the middle of the page
Fold and insert into a badge holder, available on arrival at the Event
Left bottom corner
WELCOME TO THE E-COMMERCE BERLIN EXPO!
HOW TO USE YOUR E-BADGE
To ensure a seamless experience at the event, please follow these instructions for using your e-badge:

Print this page clearly on A4 paper and bring it with you to the venue.
Upon arrival, head directly to the entrance to be scanned in.
Badge holders and lanyards will be available at the entrance.
If you lose or forget your e-badge, visit the registration kiosk to have it reprinted. Please note that not having your badge may result in a delay at the entrance.

FOLLOW US ON SOCIAL MEDIA
Stay up-to-date with all the latest happenings at the event! Follow us on our social media platforms, and don't forget to tag us using the official event hashtags. We can't wait to see your posts!
#EcommerceBerlinExpo2023 #EBE2023 #EcommBerlin
Right bottom corner
VENUE
STATION Berlin
Luckenwalder Str. 4-6
10963 Berlin, Germany
OPENING TIME
Thursday, 23rd February 2023, 10:00-17:00
REACHING THE EVENT
Consider using public transportation - the nearest U-Bahn station is called "Gleisdreieck".
If driving, there is a nearby car park, "Parkhaus Gleisdreieck" (entry via Schönenberg Strasse) available for your convenience. Parking fees may apply.
CONTACT
<EMAIL_ADDRESS>THANK YOU FOR CHOOSING TO JOIN US!
example:

BrightData_Logo.pdf


multiple get_form_initial calls when condition_dict is used

Don't know why, but when I use condition_dict, the get_form_initial def is called multiple times.
The above problem is seen when I use wizard.get_cleaned_data_for_step() in condition def.
Any clues?

Any patch with tests will be welcome!

@GiuseppePegasus : as a workaround I use wizard.storage.data['step_data'] to avoid infinite recursion or to fire wizard's methods too early (get_form(), get_form_initial()).

I think the problem is: https://github.com/jazzband/django-formtools/blob/master/formtools/wizard/views.py#L47
This all property is used a lot and recalculates the form_list using the conditions each time it is invoked. I actually had this problem too locally and found out that Django's debug toolbars way of displaying info nicely caused an excessive amount of all invocations. Removing the debug toolbar already significantly improved the behaviour.
It might be nice to generate the form_list once per use of the wizard.


[Android] Old Image from Drawable No Longer Working after Upgrading to 0.14.2

I recently upgraded to 0.14.2. I was using the old way to handle images with res/drawable on Android and the image asset system on iOS. After the upgrade, the iOS images still works as before but on Android, an error shows up with the red screen saying Requiring unknown module "image!ic_refresh_white_24dp". If you are sure the module is there, try restarting the packager
Is this intended to happen? I was under the impression that the old way of handling images would still work. Thanks!

You can replace require("image!filename") with { uri: "filename.png" }.

Also experiencing this one, we had to roll back again to version 13.+.

You need to change the require('image!your_drawable') with { uri: 'your_drawable' } in the image or component you want to get the resource.

Is there any documentation about this change?

@lawgimenez Try taking a look at the new asset system that was introduced in 0.14. More info can be found here. https://facebook.github.io/react-native/docs/images.html#content

@krxsky does @christopherdro's answer satisfy your original issue?

@skevy Sorry, I hadn't had time to try it lately. I was using the images for ToolbarAndroid's icons, but I replaced the Toolbar all together to share more code with the iOS side. That said, I believe the documentation for ToolbarAndroid's examples should be updated. They are still using the outdated way for all the examples.

@krxsky I'm closing this issue for now as there are too many reports regarding the same issue. And the docs have been updated too.


[QUESTION]  ReadWriteOnce mode attach failed, for new creating pod

I have one deployment working with 1 replica.
If pvc ReadWriteMany is running in access mode, it is using nfs, nfs is also affecting performance.
When I create it in ReadWriteOnce mode, there is no problem in speed, but when the pod fails and recreates, the volume does not connect again, it gives an error that was previously connected (terminating pod), and this cycle repeats constantly.
How can I avoid this error in ReadWriteOnce mode?

if i set strategy:Recreate for deployment, its waiting node be ready, its doesnt work if node is down...
any suggestion ?

Read this part of the documentation and see if this helps for the down node case:

https://longhorn.io/docs/1.3.0/high-availability/node-failure/
https://longhorn.io/docs/1.3.0/references/settings/#pod-deletion-policy-when-node-is-down


Subxt error: Metadata error: The generated code is not compatible with the node

When using the crunch tool v0.13.2 on the Polkadot-sdk v1.10.0  https://github.com/paritytech/polkadot-sdk/releases/tag/polkadot-v1.10.0 on the Kusama chain throws this error
[2024-04-20T01:15:07Z INFO  crunch] crunch v0.13.2 * Crunch is a command-line interface (CLI) to claim staking rewards (flakes) every X hours for Substrate-based chains

[2024-04-20T01:15:07Z INFO  crunch::crunch] Connected to Kusama network using ws://<IP_ADDRESS>:9941 * Substrate node Parity Polkadot v1.10.0-7049c3c9883

[2024-04-20T01:15:07Z INFO  crunch::runtimes::kusama] Inspect and `crunch` unclaimed payout rewards
[2024-04-20T01:15:07Z ERROR crunch::crunch] Subxt error: Metadata error: The generated code is not compatible with the node
thread 'async-std/runtime' panicked at src/crunch.rs:308:76:
called `Result::unwrap()` on an `Err` value: MatrixError("access_token not defined")

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

Hi @m-saxemberg, the error is related with the credentials used for matrix authentication. Does this happen every time you restart the bot or was just one off?

Not always but it seems to appear often. Also, it appeared with the  --disable-public-matrix-room

The flag --disable-public-matrix-room just avoids messages to be sent to the public room, matrix authentication happens before and is sending messages to a private room created between the users specified by these environment variables CRUNCH_MATRIX_USER and CRUNCH_MATRIX_BOT_USER.
If you don't want these messages to be sent at all you can disable by specifying --disable-matrix.
Were you having the same issue with a prior version of Crunch?

Hi @m-saxemberg I'm closing this issue. Please feel free to reopen if the error still persists.


Cannot load optimizer state on TPUs

System information

Have I written custom code: Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): GCP
TensorFlow installed from (source or binary):Binary
TensorFlow version (use command below):2.5
Python version:3.7
CUDA/cuDNN version:
GPU model and memory: TPU

Describe the current behavior
With TPUs, it is not possible to load the optimizer state. This is pretty important when running tuning runs, or when continuing a train job. Any sort of work around for saving the model with the optimizer or another way to load the optimizer would be greatly appreciated.
Contributing

Do you want to contribute a PR? (yes/no): No
Briefly describe your candidate solution(if contributing):

Standalone code to reproduce the issue
import os
import tensorflow as tf
import numpy as np
import os.path as osp
import pickle
from tensorflow.keras.layers import Input
from tensorflow.keras.layers import Dense
from tensorflow.keras import Model

#build model
X, y = np.random.rand(100, 50), np.random.randint(2, size=100)
x = Input((50,))
out = Dense(1, activation='sigmoid')(x)
model = Model(x, out)

#build setup an optimizer and save the state
optimizer = tf.keras.optimizers.Adam(learning_rate=0.0005)
opt_path = 'opt_wights.npy'
grad_vars = model.trainable_weights
zero_grads = [tf.zeros_like(w) for w in grad_vars]
optimizer.apply_gradients(zip(zero_grads, grad_vars))
np.save(opt_path, optimizer.get_weights())

#do the same thing with a load, but in strategy scope
#get the strategy
bTPU = True
if bTPU:
    tpu = tf.distribute.cluster_resolver.TPUClusterResolver()  # TPU detection
    tf.config.experimental_connect_to_cluster(tpu)
    tf.tpu.experimental.initialize_tpu_system(tpu)
    strategy = tf.distribute.TPUStrategy(tpu)
else:
    gpus = tf.config.experimental.list_logical_devices("GPU")
    if len(gpus) > 1:
        strategy = tf.distribute.MirroredStrategy(cross_device_ops=tf.distribute.HierarchicalCopyAllReduce())
    elif len(gpus) == 1:
        strategy = tf.distribute.get_strategy()
    else:
        strategy = tf.distribute.get_strategy()

with strategy.scope():
    #build the model and optimizer again
    optimizer = tf.keras.optimizers.Adam(learning_rate=0.0005)
    X, y = np.random.rand(100, 50), np.random.randint(2, size=100)
    x = tf.keras.layers.Input((50,))
    out = tf.keras.layers.Dense(1, activation='sigmoid')(x)
    model = tf.keras.Model(x, out)
    @tf.function
    def _model_weight_setting():
        opt_weights = np.load(opt_path, allow_pickle=True)
        grad_vars = model.trainable_weights
        zero_grads = [tf.zeros_like(w) for w in grad_vars]
        optimizer.apply_gradients(zip(zero_grads, grad_vars))
        optimizer.set_weights(opt_weights)
    strategy.run(_model_weight_setting)

Hi @gadagashwini ! Could you look at this issue , It is replicating in 2.7 , 2.8 and nightly.

@ttdd11, Does this help. Thanks!

@gadagashwini thanks for the link. I have seen this before and this is mostly where the sample I provided is from. This will work with a single GPU I believe (I have no tested a multi-gpu system with that specifically) but will not load on the TPU. What else can I do to help with this? Is there a way that I can change the model to save the optimizer state as well?

@ttdd11,
Looks like its duplicate of #53844. Can we close one.
Will move this issue to next level for resolution. Thanks!

@gadagashwini it's a duplicate for sure. I opened a new ticket after basically no update for months. Will this get escalated in any way?

@ttdd11,
Closing this as its duplicate of #53844. Thanks!

@gadagashwini This is why a new ticket was opened. If you look at the communication in the other ticket there isn't a single response from the assignee and it's just labelled awaiting tensorflower.

@gadagashwini can we please re-open this ticket? The other ticket has never received a response from the assignee.

@ymodak is this being looked into?

@ttdd11 I followed up on your other ticket (#53844) with an updated example to try; I hope it helps.


Encrypt function returning Byte Array instead of string

Hi there!  When I call the encrypt function, it returns a byte array... although, in the documentation, it says it's supposed to return a string. My implementation relies on the ciphertext being returned as a string - if I'm missing something, and it can't be, is there an encoding for the byte array I can use to convert it in to a string?
Thanks for your help!

Hmm, the docs should all indicate a bytes return value; I'll check on that and fix the points I missed.
It is intentional that it is returning bytes rather than a string, as it it returning the raw encrypted message, which will almost always include non-ascii characters.  If you need a string we generally recommend base64 encoding the bytes.

That works - cheers mate! Thanks much for the quick answer!


Server Usage

Hi Bro,
This isnt an issue more of a question with regards to better-sqlite3
how many connections can be used for example we have a server which around 3000 clients talk to we were using mysql but the npm modules are shit you cannot query before inserting which causes alot of issues as for your sqlite we can and the speed is amazing.
the sever handles the clients with sockets.io so the question is will the module be able to handle multiple inserts from the server? and reads without opening and closing the dbs? (connections?)

You can use as many connections you'd like, but you'll get the best performance by using 1 connection per process. For example, create the connection in a separate file and export it with module.exports = myDbConnection. Any file that needs to use the database can require() that file and use the connection directly. That single connection can handle queries and inserts from thousands of clients.

Closing this. Feel free to comment if you have more questions.


Issues when building on Linux (Debian)

Hello!
I am trying to compile BRender on my Linux box, which is a Debian 11 machine that runs under x86_64. Things seemed to do well up until I reached this part of the code:
[ 83%] Building C object examples/brdemo/CMakeFiles/brdemo.dir/brdemo.c.o
/home/mega/brender/BRender/examples/brdemo/brdemo.c: In function ‘BrDemoRun’:
/home/mega/brender/BRender/examples/brdemo/brdemo.c:185:18: warning: implicit declaration of function ‘SDL_GetTicks64’; did you mean ‘SDL_GetTicks’? [-Wimplicit-function-declaration]
  185 |     ticks_last = SDL_GetTicks64();
      |                  ^~~~~~~~~~~~~~
      |                  SDL_GetTicks
[ 83%] Linking CXX static library libbrdemo.a
[ 83%] Built target brdemo
[ 83%] Building C object examples/brintro/CMakeFiles/brintro.dir/main.c.o
[ 83%] Building C object examples/brintro/CMakeFiles/brintro.dir/intro.c.o
[ 84%] Linking CXX executable brintro
/usr/local/bin/ld: ../brdemo/libbrdemo.a(brdemo.c.o): in function `BrDemoRun':
brdemo.c:(.text+0x542): undefined reference to `SDL_GetTicks64'
/usr/local/bin/ld: brdemo.c:(.text+0x552): undefined reference to `SDL_GetTicks64'
collect2: error: ld returned 1 exit status
make[2]: *** [examples/brintro/CMakeFiles/brintro.dir/build.make:121: examples/brintro/brintro] Error 1
make[1]: *** [CMakeFiles/Makefile2:1637: examples/brintro/CMakeFiles/brintro.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Not sure exactly how to proceed from here.

Hi!
SDL_GetTicks64() was introduced in SDL 2.0.18 (see https://wiki.libsdl.org/SDL2/SDL_GetTicks64).
Looking at Debian 11's packages, it only has SDL 2.0.14 (see https://packages.debian.org/bullseye/libsdl2-2.0-0).
As a hacky workaround, you can replace it with SDL_GetTicks() as they're both in milliseconds, but I'd strongly recommend upgrading to a later SDL, if you can.
Note that this should only effect the example applications - if you don't need them you can switch them off with -DBRENDER_BUILD_EXAMPLES=OFF

Hello!
Thanks! I was able to get this to build by setting that flag on the cmake command indeed! I can also manually upgrade SDL on my end though so maybe I can try that just to see how the examples look like.
I'll set this issue as closed! Once again, thanks!


SPIKE: Have a Visual Way to display the connected resources

Acceptance Criteria

[ ] We research if there is a universal way to detect related / connected resources
[ ] We evaluate if this can be represented in a Visual Way - see https://reactflow.dev/ as an option
[ ] We identify and document some of the shortcomings

Examples:

https://www.npmjs.com/package/vivagraphjs

Estimation: 3 PD

Looking at Lens Resource Map, there's no nice and easy way for matching resources - for example here, Pod's Secrets are matched manually. Maybe we should create a set of connections/selectors ourselves, like:
{
	"selector": "$.spec.template.container.env.valueFrom.secretKeyRef.name",
	"type": "api/secrets"
	"namespaced, allow multiple, etc"...
}

https://github.com/ahmetb/kubectl-tree


clear command doesnt work un Unix / Linux

cls is a windows specific command line command and therefore doesnt work on Linux to clear the CLI

Hi I would like to try and fix this issue. could you please assign it to me?


[▔WATCH .SEX. VIDEOS▔] Watch All 400 Videos of Equatorial Guinea Man Leaked Viral sex Video Original Trending On Social Media X Twitter

21 seconds ago
L𝚎aked Video Balthazar Baltasar Ebang Engonga Original Video Viral Video L𝚎aked on X Twitter Telegram
Balthazar Baltasar Ebang Engonga Dark Video Female Balthazar Baltasar Ebang Engonga Dark Video Link Viral On Social Media X TikTok Trending Now
Balthazar Baltasar Ebang Engonga Original Video video took the internet by storm and amazed viewers on various social media platforms. Balthazar Baltasar Ebang Engonga , a young and talented digital creator, recently became famous thanks to this interesting video.
L𝚎aked Video Balthazar Baltasar Ebang Engonga Original Video Viral Video L𝚎aked on X Twitter
Balthazar Baltasar Ebang Engonga Original Video video oficial twitter
L𝚎aked Video Balthazar Baltasar Ebang Engonga Original Video Viral Video L𝚎aked on X Twitter.

fghfgh

sdfsfs


feat: add package to generate type definitions for CST nodes

Proposal for fixing #851.
Still missing a lot of tests but thought I'd throw it up for review before getting too far
(used clementdessoude's POC as a starting point, though it ended up quite different)

Thanks @mbett7 this could be an extremely useful feature 👍
I will try to review during this weekend.

So I can think of a few gaps after an initial review.

the dts-gen package should have a separate api.d.ts that is not generated from the source code.
we will need to update the diagrams docs:

https://github.com/Chevrotain/chevrotain/blob/master/packages/website/docs/guide/generating_syntax_diagrams.md

I am not sure where we should export the APIs from.

the API website assumes all the APIs are exposed from the chevrotain package

https://chevrotain.io/documentation/8_0_1/modules.html

But splitting this up properly to sub-packages is the better way (and a process I've started anyhow...)

we will need to update the diagrams docs:
https://github.com/Chevrotain/chevrotain/blob/master/packages/website/docs/guide/generating_syntax_diagrams.md

not sure I follow.  do you mean add a guide to generate the DTS?  or mention this package in the syntax diagrams docs?

I am not sure where we should export the APIs from.

me either 😄 haven't looked at how the APIs are generated

not sure I follow. do you mean add a guide to generate the DTS? or mention this package in the syntax diagrams docs?

My bad I meant these docs: https://github.com/Chevrotain/chevrotain/blob/master/packages/website/docs/guide/concrete_syntax_tree.md

me either 😄 haven't looked at how the APIs are generated

The API website is generated here:

https://github.com/Chevrotain/chevrotain/tree/master/packages/types

The output is linked from the chevrotain website:

https://chevrotain.io/documentation/8_0_1/modules.html

Recently I've been splitting up the repo into multiple sub-packages
and at this time I was avoiding making too big breaking changes so I thought I would
re-export relevant APIS from the main chevrotain  package.
But now we introduce a new variable: new APIs...
Maybe we should re-export the new APIs for now from chevrotain too.
And keep the question of API website for multiple packages outside the scope of this PR.
The one problem is that the new package depends on chevrotain root package so that will cause cyclic deps.

Had a bit of a read up on typedoc doesn't look too hard.
What was the plan in terms of exposing the @chevrotain/cts-dts-gen package?  Would the package be published to npm?  Or would it be bundled into the chevrotain package?
In terms of the api docs, you can specify multiple entry points (i.e. modules) which looks like what we'd want if we were exposing the packages separately.  We'd also avoid the circular dependency.

What was the plan in terms of exposing the @chevrotain/cts-dts-gen package? Would the package be published to npm?

Yes.

In terms of the api docs, you can specify multiple entry points (i.e. modules) which looks like what we'd want if we were exposing the packages separately. We'd also avoid the circular dependency.

Good to know.
You may still want to exclude this from the scope of this PR to reduce complexity.

Sorry for the delay.  Just pushed a rebase with changes and tests!
But... there is a bug where the the generated types don't respect terminal/nonterminal labels it just uses the token/rule name.  Since the GAst doesn't expose labels :sob:

Sorry for the delay. Just pushed a rebase with changes and tests!

Great I will try to review during this week.

But... there is a bug where the the generated types don't respect terminal/nonterminal labels it just uses the token/rule name. Since the GAst doesn't expose labels 😭

So to resolve that bug, should the terminal/nonterminal GAst's expose a label property? Or should the respective name properties be the label and fallback to the token/rule name?

Interesting, I suspect the label information is already somewhere on the GAST because
I can see the labels being rendered in the syntax diagrams.
I will take a deeper look later.

Interesting, I suspect the label information is already somewhere on the GAST because

Those are probably the token labels.

For the non-terminals it is possible to identify the use of labels here and add it to the GAST.

https://github.com/Chevrotain/chevrotain/blob/master/packages/chevrotain/src/parse/parser/traits/gast_recorder.ts#L298-L330

It is a little strange that the Non-Terminals would have labels (directly), but the Terminals would not (as they have a ref to the Token). But I don't see a way to resolve this cleanly.

It is a little strange that the Non-Terminals would have labels (directly), but the Terminals would not (as they have a ref to the Token). But I don't see a way to resolve this cleanly.

Not sure I follow.  Do you mean how the NonTerminal has a nonTerminalName but Terminal's just have a indirect reference through the token type property?
Couldn't we do something like:

Change NonTerminal.nonTerminalName to be set to label || ruleName
Add Terminal.terminalName and set to label || tokenType.name
And either

Avoid a breaking change in the serialized GAST by using the ruleName for the serialized NonTerminal's name
Or make a breaking change in the serialized GAST by changing the name's to match the nonTerminalName/terminalName.  Possibly add some other properties as well like rule name etc.

Do you mean how the NonTerminal has a nonTerminalName but Terminal's just have a indirect reference through the token type property?

Yes, but if its already happening in regards to the name property then at the very least we are not causing any additional "regressions" in the context of the API cleanliness.

Change NonTerminal.nonTerminalName to be set to label || ruleName

I believe both the name and the label would be needed, e.g: during grammar "resolving" the
relevant top level rule is referenced by the name property.

https://github.com/Chevrotain/chevrotain/blob/master/packages/chevrotain/src/parse/grammar/resolver.ts#L41

All-right @mbett7 I reviewed and it looks quite good 👍
Left some comments

Okay!  Addressed most of the review comments.  Also made the bare minimum change to add labels to the non-serialized GAST.
Bit divided on how it should be added to the serialized GAST.  Tempted to introduce breaking changes.  i.e. rename ISerializedTerminal.label -> ISerializedTerminal.tokenLabel.  Can then introduce a label property to both serialized types.

Bit divided on how it should be added to the serialized GAST

If possible I'd rather avoid breaking changes to the serialized GAST even at the cost of a slightly uglier API.
as:

The GAST is a bit of "internal" API. most end users would not be aware of it, so its okay if it is not the prettiest.
If someone has a serialized GAST saved somewhere it would become invalid, which can be more tricky to adjust for when upgrading (state).

I'll re-review in-depth later this week.

Sound good 😄


[travis_scripts] loading scripts from github repo

load scripts from remote and run them in travis testing

Current coverage is 37.67%

Merging #309 into devel will decrease coverage by -0.01% as of 2d80f9c

@@            devel    #309   diff @@
=====================================
  Files         166     166
  Stmts       15252   15256     +4
  Branches     2220    2223     +3
  Methods         0       0
=====================================
  Hit          5747    5747
  Partial       229     229
- Missed       9276    9280     +4

Review entire Coverage Diff as of 2d80f9c

Powered by Codecov. Updated on successful CI builds.


Adjusting workspace contents on a user basis

Is your feature request related to a problem? Please describe.
Not being able to make user-based selections for the tools, functions and documents we add in the Workspace section causes everyone to have access.
Describe the solution you'd like
Being able to make user-based selections for these and making them available only to the relevant person will add great innovation to the application.
Describe alternatives you've considered
Maybe we can add an extra role for this. Why not.
Additional context

#2924


Help with the Turnstile functionnality

Hello,
I can't get to see the Turnstile page, even though I think I did everything that was asked in the "Cloudflare Turnstile Setup" section and the blog post. A "404 Not Found" error shows up instead of the page and I don't know what I did wrong.
Expected Behavior
I expect to see the page I edited from the evilginx3/templates/turnstile.html file to show up with the Cloudflare box to tick, or be automatically redirected to my phishing page instead (if Cloudflare doesn't challenge me).
Current Behavior

If I access the phishing link in the same tab afterwards, it am redirected to my phishing page, and the credentials capture works. But my phished users would not necessarily do that, so the Turnstile feature prevents me from running my campaign.
Steps to Reproduce
I edited the two HTML files in the evilginx3/templates/ folder. Then I typed these commands:
./setup.sh <my phishing domain> "account login security" false true user_account
cd evilginx3/
./evilginx3 -feed -g ../gophish/gophish.db -turnstile 0x<1st key>:0x<2nd key> -p legacy_phishlets/
config domain <my phishing domain>
config ipv4 external <my IP>
phishlets hostname o3652 <my phishing domain>
phishlets unauth_url o3652 https://outlook.office.com/mail/
lures create o3652
lures edit 0 redirect_url https://outlook.office.com/mail/
lures get-url 0
phishlets enable o3652
blacklist unauth
phishlets unhide o3652

Environment
Freshly installed Ubuntu 24.04 LTS. Only installed Apache2 and cloned the evilgophish repo, then ran the commands above.
Logs
Here are the evilginx logs that are displayed when I access my phishing page using the link sent by Gophish:
[15:22:45] [war] session cookie not found: https://<my phishing domain>/QIsKVFdu?user_account=YjmQjK98e2thBBu9vUyorQYshxEZzzQ-557kZuOU4uRhrB-2tjxJQCgl33T1-rM_xNJ1H_dWGTZMEfPQ1kA8nORX1i4z (<My IP>) [o3652]
[15:22:45] [imp] [2] [o3652] new visitor has arrived: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0 (<My IP>)
[15:22:45] [inf] [2] [o3652] landing URL: https://<my phishing domain>/QIsKVFdu?user_account=YjmQjK98e2thBBu9vUyorQYshxEZzzQ-557kZuOU4uRhrB-2tjxJQCgl33T1-rM_xNJ1H_dWGTZMEfPQ1kA8nORX1i4z
: Error sending websocket message: dial tcp <IP_ADDRESS>:1337: connect: connection refused

I guess the last line is connected to my issue, but I don't know what to do with that.
Possible Solution
When I browse my Apache logs, I can see the 404 request to the /validate-captcha page and it comes from <IP_ADDRESS>, so I guess that's evilginx that tries to access the page using a websocket? But why doesn't it work? Did I miss something with the Apache setup?
Thank you for your help!

When testing, use the URL from GoPhish rather than Evilginx.

I use the URL that Gophish generates for each user individually and that is sent to them by email), and not the one that evilginx generates for me to input into Gophish (https://<my phishing domain>/<8 characters>). Am I using the correct one?

It's written all over the README.md file, but I'm not offering support for this free version of the repository. If you want support in the future, become a sponsor. The issue is shown directly in your screenshot here:

Your Apache server is listening on port 80 when the local Turnstile server should be listening on port 80. Hence the 404 response. My advice would be to read the error message next time, they are typically displayed for a reason.


Include @graphql-codegen/client-preset in @graphql-codegen/cli by default

🚨 IMPORTANT: Please do not create a Pull Request without creating an issue first.
Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request.
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Related # (issue)

Type of change
Please delete options that are not relevant.

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

Screenshots/Sandbox (if appropriate/relevant):
Adding links to sandbox or providing screenshots can help us understand more about this PR and take action on it as appropriate
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Test Environment:

OS:
@graphql-codegen/...:
NodeJS:

Checklist:

[ ] I have followed the CONTRIBUTING doc and the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

can you please rebase this one @beerose

Done @saihaj. Am I free to merge it now, or do we want to wait with this change?


[DOC] Added example to plot_series & fixed example for plot_lags

This PR adds an example for the plot_series function and adds a missing import statement for the example of plot_lags.
For all contributions

[x] I've added myself to the list of contributors.
[X] The PR title starts with either [ENH], [MNT], [DOC], or [BUG] indicating whether the PR topic is related to enhancement, maintenance, documentation, or bug.

thanks!

looks ok, but still a draft.
We could merge it like that. Or, suggestions:

add yourself to the contributors file, all-contsributorsrc
add a line of explanation in the all_estimators example, what does it do?

Sure, I will do that

I just realised I made a mistake. I did merge the main branch of sktime directly and now the meanwhile introduced changes are also shown. I am not sure how to untangle that the best way... I will have a look tomorrow.

??
merging regularly from main to keep your PR branch updated is what you are expected to do in best practice GitHub flow, so all is good!

Yes, I know. But I thought I should have done it differently, but it is fine. Sorry for the confusion @fkiraly.

no probs, all great, and thanks for your contribution!


Allow lists as shapes

Description
Allow shapes to be passed as lists to be consistent with the NumPy API.
Issue link (if applicable): #1921
Type of change

[ ] New feature (backwards compatible)
[ ] New feature (breaking API changes)
[x] Bug fix
[ ] Other (Documentation, CI, ...)

Contribution checklist

[x] Add our license to new files.
[x] Check that your code adheres to our coding style.
[x] Write unittests.
[x] Run the unittests and check that they’re passing.
[x] Run the benchmarks to make sure your change doesn’t introduce a regression.

@phschiele do you want to handle the backporting or should I?

@SteveDiamond I cannot commit to the backporting branches.

Ok I finished backporting.


Need a little more explanation

Hi !

I think the documentation needs an upgrade
Is this production ready?
How to fetch data on a graphql api from server?

Good comments. I'll currently rewrapping the code to split up the "application part" into edgeapp... which then uses edgestack. edgeapp itself can be used as a boilerplate for own applications.


Sigprofileextractor GRCh38 Exome Reference File Not Found Error After Installation

Hi,
I am planning to use VCF files for my samples to look for gene signatures in GRCh38, and followed your code to install the GRCh38 reference:
> library(SigProfilerExtractorR)
> install("GRCh38", rsync=FALSE, bash=TRUE)
Beginning installation. This may take up to 40 minutes to complete.
The transcriptional reference data for GRCh38 has been saved.
All reference files have been created.
Verifying and benchmarking installation now...
Starting matrix generation for SNVs and DINUCs...Completed! Elapsed time: 2.12 seconds.
Matrices generated for 1 samples with 0 errors. Total of 9631 SNVs, 0 DINUCs, and 0 INDELs were successfully analyzed.
Installation was succesful.
SigProfilerMatrixGenerator took 7.2261998653411865 seconds to complete.
To proceed with matrix_generation, please provide the path to your vcf files and an appropriate output path.
Installation complete.

However when I run sigprofilerextractor I am given a file not found error message. Is there another way to get the exome.interval_list?:
> sigprofilerextractor("vcf",".","vcf",reference_genome = "GRCh38",exome = TRUE)

************** Reported Current Memory Use: 0.61 GB *****************

Starting matrix generation for SNVs and DINUCs...Error: FileNotFoundError: [Errno 2] No such file or directory: '/home/python/Python-3.10.11_install/lib/python3.10/site-packages/SigProfilerMatrixGenerator/references/chromosomes/exome/GRCh38/GRCh38_exome.interval_list'

Hi @kevlumbus,
Thanks for reaching out. This is an issue from SigProfilerMatrixGenerator that has been resolved in the v1.2.16 update.
pip install --upgrade SigProfilerMatrixGenerator
Please reach out if you encounter any additional issues.


Document limitations of metadata()

At http://sharp.dimens.io/en/stable/api-input/#metadata we do not make a mention anywhere that you cannot call sharp(input).resize(300, 300).metadata().  It will return metadata of the original input, not a resized input.  Therefore this output would yield: { width: 100, height: 100 } and not { width: 300, height: 300 } in the metadata object.

Also if sharp(input).resize(300, 300).metadata() is possible, how would it be written?  Do we need more transforms?

Hello, the call to resize(300, 300) sets internal state ready for a subsequent call to toBuffer, toFile or pipe that triggers the processing pipeline.
The following should provide what you need:
sharp(input)
  .resize(300, 300)
  .toBuffer((err, data, info) => {
    // info contains metadata for the resized image
  });

Perhaps sharp should warn (via the existing NODE_DEBUG=sharp infra) about a call to metadata after setting internal state?


API for forking of public applications

This PR adds the following API endpoint to fork an application into a user's organization.
POST /api/v1/{applicationId}/fork/{organizationId} --- Forks the application into the organization, assuming the logged in user has the necessary permissions to do this.
This uses the API built for example applications cloning underneath so the PR is quite simple in implementation. This means that datasources in the application's organization and actions in the application's pages will be cloned over into the target organization.
There is deliberately no API for setting the forkable field on applications. This is an internal detail today that is intended to be updated at the database level. When creations of forkable apps is a public feature, there will be a more robust solution to set the forkability configuration of applications.

QQ @sharat87 how will we be adding the example applications?

@nidhi-nair Not sure I follow... if you're asking how we can make applications forkable, that'll be by an update directly in the application in the database. There's no API endpoint to do that today, this is by design.


ARROW-2207: [GLib] Support GArrowDecimal128

Support GArrowDecimal128.

Add garrow_decimal128_to_string_scale()
Add garrow_decimal128_to_string()

@shiro615 There seem to be some build errors in your code in Travis, can you fix them?
You can safely ignore the Python unit test errors in the first build, the Plasma problems are unrelated to your changes.

@xhochy @kou Thank you for review.I fixed.
Please review again.

@shiro615 Thanks!
I found needed changes about documents. Can you apply the following patch?
diff --git a/c_glib/arrow-glib/decimal.cpp b/c_glib/arrow-glib/decimal.cpp
index ac792f62..ca57677f 100644
--- a/c_glib/arrow-glib/decimal.cpp
+++ b/c_glib/arrow-glib/decimal.cpp
@@ -26,11 +26,11 @@
 G_BEGIN_DECLS

 /**
- * SECTION: decimal128
- * @title: Decimal128 class
+ * SECTION: decimal
+ * @title: Decimal classes
  * @include: arrow-glib/arrow-glib.h
  *
- * #GArrowDecimal128 is a decimal128 class.
+ * #GArrowDecimal128 is a 128-bit decimal class.
  *
  * Since: 0.10.0
  */
diff --git a/c_glib/doc/reference/arrow-glib-docs.xml b/c_glib/doc/reference/arrow-glib-docs.xml
index c7e53a52..2c75041f 100644
--- a/c_glib/doc/reference/arrow-glib-docs.xml
+++ b/c_glib/doc/reference/arrow-glib-docs.xml
@@ -51,6 +51,10 @@
       <title>Compute</title>
       <xi:include href="xml/compute.xml"/>
     </chapter>
+    <chapter id="decimal">
+      <title>Decimal</title>
+      <xi:include href="xml/decimal.xml"/>
+    </chapter>
     <chapter id="tensor">
       <title>Tensor</title>
       <xi:include href="xml/tensor.xml"/>

I'll merged this after the patch is applied.

@kou Thank you for review.I fixed.

+1
I've merged. Thanks!


Can't use type: "state",

Hello!
Wanted to get going with zsa, but I'm having some trouble using type: "state",. Is this because I'm on<EMAIL_ADDRESS>This works fine:
const schema2 = z.object({
  name: z.string(),
  description: z.string(),
  currentUrl: z.string().optional(),
});

export const createIssue2 = unsafeAction
  .input(schema2)
  .handler(async ({ input, ctx }) => {
    console.log(input);
    return "Foo-1";
  });

But If I change it to this, per https://zsa.vercel.app/docs/forms#useactionstate, I get an error saying

The "use server" file can only export async functions. Add "async" to the function declaration or return a Promise.

export const createIssue2 = unsafeAction
  .input(schema2, {
    type: "state",
  })
  .handler(async ({ input, ctx }) => {
    console.log(input);
    return "Foo-1";
  });

It looks like the only acceptable string value for type is "json"

What's unsafeAction here? I copy-pasted the examples from the docs as-is, but it worked fine for me.
One different thing I did is that I used useFormState instead of useActionState because it looks like the name is different depending on the React version you're using: https://github.com/vercel/next.js/issues/65673

Sorry about that, here's the code:
export const unsafeProcedure = createServerActionProcedure()
  .experimental_shapeError(({ err, typedData }) => {
    function getCode() {
      return typeof err === "object" && err !== null && "code" in err
        ? (err as Record<string, string>).code
        : "ERROR";
    }

    function getMessage() {
      if (err instanceof MerlinPublicError) {
        return err.message;
      }
      return "Something went wrong";
    }

    return {
      code: getCode(),
      message: getMessage(),
    };
  })
  .handler(async () => {
    const session = await getUserSession();
    return {
      session,
    };
  });

export const unsafeAction = unsafeProcedure.createServerAction();

I tried copying the example from the docs and it gives me the same error

Oh I think the issue here is that you're exporting your unsafeProcedure (while keeping the rest of your action exports). Try removing the export or moving it to a non-"use server" file.

Hey, thanks for the reply. I tried that and it works when I test it, but it still gives me the same typescript error in my editor.
I'm also having some problem with useFormState:
const [[data, err], submitAction, isPending] = useFormState(createIssue2, null);
// Type '[null, null] | [string, null] | [null, { code: string | undefined; message: string; }] | null' must have a '[Symbol.iterator]()' method that returns an iterator.

Are you using it like this too?

Maybe try removing the export for unsafeAction too. Make sure that you're only exporting server actions and not anything else.
This is the full code I'm using:
"use server";

const unsafeProcedure = createServerActionProcedure()
  .experimental_shapeError(({ err, typedData }) => {
    function getCode() {
      return typeof err === "object" && err !== null && "code" in err
        ? (err as Record<string, string>).code
        : "ERROR";
    }

    return {
      code: getCode(),
    };
  })
  .handler(async () => {
    const session = "hello world";
    return {
      session,
    };
  });

export const produceNewMessage = unsafeProcedure
  .createServerAction()
  .input(
    z.object({
      name: z.string().min(5),
    }),
    {
      type: "state",
    },
  )
  .handler(async ({ input }) => {
    await new Promise((resolve) => setTimeout(resolve, 500));
    return "Hello, " + input.name;
  });

For the form, I copy-pasted the one from https://zsa.vercel.app/docs/forms#useactionstate:
"use client";

import { produceNewMessage } from "@/lib/actions";
import { Button } from "@/components/ui/button";
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
import { Input } from "@/components/ui/input";
import { useFormState } from "react-dom";

export function FormExample() {
  const [[data, err], submitAction, isPending] = useFormState(
    produceNewMessage,
    [null, null], // or [initialData, null]
  );

  return (
    <Card className="not-prose">
      <CardHeader>
        <CardTitle>Use Form State</CardTitle>
      </CardHeader>
      <CardContent className="flex flex-col gap-4">
        <form action={submitAction} className="flex flex-col gap-4">
          <Input name="name" placeholder="Enter your name..." />
          <Button disabled={isPending}>Create message</Button>
        </form>
        {isPending &&
Loading...
}
        {data &&
Message: {data}
}
        {err &&
Error: {JSON.stringify(err)}
}
      </CardContent>
    </Card>
  );
}

@musjj thank you for the help here! I concur, only server actions should be exported and that should fix it.


bad file checksum

Hey, thanks for making this! I'm trying out this library with a rar file I had lying around; it contains zip files, and on one of them when I try to write the contents to a file, this error is returned:

rardecode: bad file checksum

But other zip files contained in the archive previous to this one are read just fine. Does this mean the file is corrupted? I can send it to you privately if you'd like (just give me an email address to send the link to).
By the way, if this works out, I hope to add this to my archiver tool.

Test it with unrar first. If that has no problems then you can send it to me (same username as github @gmail.com).

Thanks for your quick response! Indeed, unrar works on this archive without error. I'll send you my code and the link to the file to test it on. It could be that I'm just missing something simple in my code too.

The problem file was encoded with an audio filter within rar. The VM must have a bug somewhere so it wasn't executing the audio filter bytecode correctly. I added a native implementation of the audio filter which works for me now. Ill have to look at fixing the VM later.

2b6967612a1476c34d857fba97e30db9bb1024cb appears to fix it! And d12226d24fe5392ff8741171d645417eea6ab3cc is an excellent feature too, thank you!


unit2-push_to_hub

Hi,

In unit2, in function "push_to_hub", the variable "env_id" has been used for the definition of variable "model_card". This variable, "env_id", hasn't been defined in the function "push_to_hub", and it uses a variable from outside of the function which is not necessarily the right value. It should be replaced with "model["env_id"]", i.e., "env_id" -> "model["env_id"]".

Model card is not updated when a new push is done, so I commented the following lines:
readme = ""
print(readme_path.exists())
if readme_path.exists():
with readme_path.open("r", encoding="utf8") as f:
readme = f.read()
else:
readme = model_card

and added "readme = model_card", so that the model card is updated for each push.

Thanks for pointing this out I’m adding this for the december update