Allow a custom server handler to wrap the server renderer.

This allows support for any server. Included handlers are Express, Connect, and Koa. The default handler is Express/Connect. The implementation here is based on discussions in the linked issue and is not wholly of my own creation. Props to everyone who came up with the actual idea for this change.
closes
https://github.com/60frames/webpack-hot-server-middleware/issues/28

Coverage decreased (-4.4%) to 95.588% when pulling bcc415584da35c8a67a13978365a8f38831d9e73 on pho3nixf1re:support-koa into 585b4c7e86a58835cf3d3c5d3fe0478676bfa332 on 60frames:master.

Coverage remained the same at 100.0% when pulling a4314e33c544b9f397cae5aa5d52ad1a98f647a2 on pho3nixf1re:support-koa into 585b4c7e86a58835cf3d3c5d3fe0478676bfa332 on 60frames:master.

Coverage remained the same at 100.0% when pulling a4314e33c544b9f397cae5aa5d52ad1a98f647a2 on pho3nixf1re:support-koa into 585b4c7e86a58835cf3d3c5d3fe0478676bfa332 on 60frames:master.

After making the change to my own use case I agree with you about putting this on the main export for now. In the future it would be nice to see this library export spec compliant objects (using default) but that's for the future.

Coverage remained the same at 100.0% when pulling 0aa3ef312de468e151027939593c8c562935892b on pho3nixf1re:support-koa into 585b4c7e86a58835cf3d3c5d3fe0478676bfa332 on 60frames:master.

This should be good to go now. Tests pass, coverage is complete, comments addressed.

@pho3nixf1re curious what version of webpack you were using for this middleware?

<EMAIL_ADDRESS>

No rush, but what is the status of this?

@pho3nixf1re apologies for the slow response, I've been away on holiday and plan to look over this peroperly on the weekend. Thanks for the PR.

@pho3nixf1re I tried this out in a koa server using express-to-koa w/ webpack-dev-middleware (v1.12.0) but I'm still seeing it return a 404 as shown here https://github.com/60frames/webpack-hot-server-middleware/issues/28#issuecomment-312425270
Could you include an example for koa alongside express? I'd prob just put the current example inside an express dir and have koa next to it so new examples can be added going forward, e.g.
example/
├── express/
└── koa/

I am running my branch on a site now so I can confirm that it works. I add an example alongside the express example as you suggest.

I have not forgotten about this. Just ran out of time to come back to this. I still need to update the examples to include this and display that it is indeed working. My branch is still running smoothly using the code here. I have this on my task list to resolve in the next week.

Ready for re-review @richardscarrott and @roastlechon .
I have updated the example to include both express and koa. They should work out of the box by running either npm start for express or npm run start:koa for koa.
I did have a problem with the webpack version in the MultiCompiler check. To force it to run locally I skipped the check so that the example could be run.

Coverage remained the same at 100.0% when pulling 23585ae1e4bf95901093c486472a9c626b052ed3 on pho3nixf1re:support-koa into 585b4c7e86a58835cf3d3c5d3fe0478676bfa332 on 60frames:master.

Coverage remained the same at 100.0% when pulling 23585ae1e4bf95901093c486472a9c626b052ed3 on pho3nixf1re:support-koa into 585b4c7e86a58835cf3d3c5d3fe0478676bfa332 on 60frames:master.

Coverage remained the same at 100.0% when pulling 23585ae1e4bf95901093c486472a9c626b052ed3 on pho3nixf1re:support-koa into 585b4c7e86a58835cf3d3c5d3fe0478676bfa332 on 60frames:master.

Published with v0.2.0, thanks you @pho3nixf1re and @roastlechon


rest-dsl - Integrate with quarkus-openapi

If you create camel rest-dsl routes then we should have a way of integrating with quarkus openapi extension.
So when you do an /openapi then it can also include the camel rest-dsl services

We may need to create a camel-openapi component that supports spec v3
https://issues.apache.org/jira/browse/CAMEL-12619

Addressed by https://github.com/apache/camel-quarkus/commit/c8db766c2296d909f4157aa44d66fd95caebba0c.


integration-storage-sample - fix don't try transferring the same file more than once

I followed the instructions from the integration-storage-sample and seeing this error continually appearing:
The remote file 'Blob{bucket=test-test3, name=file1, generation=1529694509798668, size=4,
content-type=application/octet-stream, metadata=null}' has not been transferred to the existing local file

Looks like the file is delivered to the local fs, and then for some reason, the app tries to re-write it.
The output bucket is filled with copies of the file.

I'm not sure if it's an issue with the sample or the actual integration. We need to investigate to see if it's a blocker for M4.

Via FileListFilter: https://docs.spring.io/spring-integration/docs/5.0.6.RELEASE/reference/html/files.html#file-reading.
The problem that we not always have control over the file system so we might be just not able to rename already polled files.
For your sample the existing GcsPersistentAcceptOnceFileListFilter should be sufficient, although I’m curious why it isn’t use by default...

Thanks for the suggestion. This seems to work. How would we use it by default? Where would we wire it up? Is it done in other projects?

Wait. Something is wrong.
Please, take a look into SI FTP support:
public FtpInboundFileSynchronizer(SessionFactory<FTPFile> sessionFactory) {
		super(sessionFactory);
		doSetRemoteDirectoryExpression(new LiteralExpression(null));
		doSetFilter(new FtpPersistentAcceptOnceFileListFilter(new SimpleMetadataStore(), "ftpMessageSource"));
}

something like that has to be implemented here in the GcsInboundFileSynchronizingMessageSource .
The GcsStreamingMessageSource has to have such a code as well:
public FtpStreamingMessageSource(RemoteFileTemplate<FTPFile> template,
			Comparator<AbstractFileInfo<FTPFile>> comparator) {
		super(template, comparator);
		doSetFilter(new FtpPersistentAcceptOnceFileListFilter(new SimpleMetadataStore(), "ftpStreamingMessageSource"));
}


Khronos Vulkan Samples not running

Describe the bug
I am able to build the Khronos Vulkan Samples but not run them.
I get an error: [error] [build/linux/app/main.cpp:75] Failed to initialize volk.
To Reproduce

Download and follow the build instruction form the Khronos Vulkan Sample repo
Run one of the examples as described in the build guide

Expected behavior
With a simple sample application like hello_triangle a multi colored triangle is supposed to show up in a window accelerated by Vulkan.
Additional context
I am extremely new to nix and nixos, I literally installed it yesterday.
So I am extremely sorry if I am posting this issue in the wrong place.
Please do correct me and I will move my question elsewhere.
I used to use Arch Linux before and I was able to get the samples to run on there.
I checked on the volk github page and it says that if it fails to find a vulkan loader it will throw that error.
I am trying to build it in a separate nix-shell with a default.nix:
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
        buildInputs = [
                pkgs.gcc
                pkgs.cmake
                pkgs.mesa
                pkgs.vulkan-headers
                pkgs.vulkan-loader
                pkgs.vulkan-tools
                pkgs.vulkan-validation-layers
                pkgs.glfw2
                pkgs.libGLU
                pkgs.python3
                pkgs.xorg.libX11
                pkgs.xorg.libXcursor
                pkgs.xorg.libXrandr
                pkgs.xorg.libXinerama
                pkgs.xorg.libXi
                pkgs.xorg.libXext
        ];
}

I also tried installing the vulkan-* packages directly into my system packages but nothing changed.
I read a previous issue #57770 and tried setting the environment variable VK_ICD_FILENAMES and deleting the files in ~/.cache/ but that also did not fix the problem.
Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 5.6.5, NixOS, 20.09pre222244.22a3bf9fb9e (Nightingale)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.4`
 - channels(root): `"nixos-20.09pre222244.22a3bf9fb9e"`
 - channels(bryan): `"nixpkgs-20.09pre221814.10100a97c89"`
 - nixpkgs: `/home/bryan/.nix-defexpr/channels/nixpkgs`

I ran the program trough strace and noticed a lot of these errors:
uname({sysname="Linux", nodename="nixos", ...}) = 0
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base="\22\0\10\0\3\0 \1\375\0\0\0\4\0\0\0 \0\1\0\2\0\0\0\373\0\0\0\n\1\0\0"..., iov_len=464}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 464
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\34\0C\0\3\0 \1\375\0\0\0y\300\270\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 288
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\34\0L\0\3\0 \1$\0\0\0y\300\270\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 64
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{iov_base="\22\0\7\0\3\0 \1\374\0\0\0\37\0\0\0\10\0\1\0\1\0\0\0C\0\0\0\22\0\n\0"..., iov_len=108}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 108
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\34\0N\0\3\0 \1\374\0\0\0z\300\270\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\34\0O\0\3\0 \1\10\1\0\0z\300\270\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 64
recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily unavailable)

These messages happen right before it prints out the line [error] [build/linux/app/main.cpp:75] Failed to initialize volk..
I also tried running it in gdb, it crashes with the following message:
(gdb) file ./build/linux/app/bin/Release/x86_64/vulkan_samples
Reading symbols from ./build/linux/app/bin/Release/x86_64/vulkan_samples...
(gdb) run hello_triangle
Starting program: /home/bryan/Downloads/Vulkan-Samples/build/linux/app/bin/Release/x86_64/vulkan_samples hello_triangle
warning: File "/nix/store/jy89v2q2zv074mvw91jgqcvkmk7yqx69-gcc-9.3.0-lib/lib/libstdc++.so.6.0.28-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load:/nix/store/ihr026g1ijgmjiqn4xn39bk5rr1w379j-gcc-9.3.0-lib".
To enable execution of this file add
	add-auto-load-safe-path /nix/store/jy89v2q2zv074mvw91jgqcvkmk7yqx69-gcc-9.3.0-lib/lib/libstdc++.so.6.0.28-gdb.py
line to your configuration file "/home/bryan/.gdbinit".
To completely disable this security protection add
	set auto-load safe-path /
line to your configuration file "/home/bryan/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
	info "(gdb)Auto-loading safe path"
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/nix/store/v9j0bsl1bv7ngijmvnvnj9h3qrb1p3mf-glibc-2.30/lib/libthread_db.so.1".
[info] Logger initialized
[info] Window created
[info] Initializing vulkan instance.
[error] [build/linux/app/main.cpp:75] Failed to initialize volk.
[info] Closing App (Runtime: 0.0)

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) backtrace
#0  0x0000000000000000 in ?? ()
#1  0x00000000004a261b in HelloTriangle::teardown(HelloTriangle::Context&) ()
#2  0x00000000004a2901 in HelloTriangle::~HelloTriangle() ()
#3  0x00000000004a2a19 in HelloTriangle::~HelloTriangle() ()
#4  0x0000000000507f2a in vkb::Platform::terminate(vkb::ExitCode) ()
#5  0x000000000040f159 in main.cold ()
#6  0x00007ffff797fd8b in __libc_start_main () from /nix/store/an6bdv4phxsz14q2sk57iscl2dc7bnj1-glibc-2.30/lib/libc.so.6
#7  0x000000000047f32a in _start () at ../sysdeps/x86_64/start.S:120

I was able to get the hello triangle to run from vulkan-tutorial.
So I am assuming this is a problem with either volk or the Khronos Vulkan Samples themselves.
I will take this issue over there.

OK, I am posting one last update since I figured out what was wrong.
I am also tagging the vulkan-loader package maintainer, since I am not sure if this is intended to work like this @Ralith.
So, volk opens a vulkan loader with dlopen in this line:
void* module = dlopen("libvulkan.so", RTLD_NOW | RTLD_LOCAL);

but since the libvulkan.so file it is looking for is not included in dlopen's (or ld's) search path it fails.
I first got around this by replacing said line with:
void* module = dlopen("/nix/store/xxxx-vulkan-loader-<IP_ADDRESS>/lib/libvulkan.so", RTLD_NOW | RTLD_LOCAL);

But that is a little bit too hacky in my opinion, and if the nix store path changes or disappears, it'll break the program again. so I tried editing my default.nix to this:
with import <nixpkgs> {};
stdenv.mkDerivation rec {
        name = "Vulkan-Samples";
        buildInputs = [
                pkgs.gcc
                pkgs.cmake
                pkgs.mesa
                pkgs.vulkan-headers
                pkgs.vulkan-loader
                pkgs.vulkan-tools
                pkgs.vulkan-validation-layers
                pkgs.glfw
                pkgs.glm
                pkgs.libGLU
                pkgs.python3
                pkgs.xorg.libX11
                pkgs.xorg.libXcursor
                pkgs.xorg.libXrandr
                pkgs.xorg.libXinerama
                pkgs.xorg.libXi
                pkgs.xorg.libXext
                pkgs.xorg.libXrender
                pkgs.xorg.libXxf86vm
                pkgs.xorg.libXdmcp
                pkgs.xorg.libXau
                pkgs.xorg.libxcb
                pkgs.gnutls
                pkgs.xorg.libpthreadstubs
                pkgs.llvm_10
                pkgs.clang_10
                pkgs.pkg-config
        ];

        LD_LIBRARY_PATH="${pkgs.vulkan-loader}/lib";

        shellHook = "echo ${pkgs.vulkan-loader}";
}

I know there probably is a bunch of packages in there right now I do not actually need but those are worries for another time.
The important line here is LD_LIBRARY_PATH="${pkgs.vulkan-loader}/lib";.
When changing to a shell with this default.nix the program builds and runs without any errors or warnings.
Running the hello_triangle sample produces the correct triangle this time :D.

Now I am wondering if this is the correct way to dynamically link with vulkan-loader or if there is an option that I did not see.

You'll frequently run into this problem when using dlopen with nix-packaged libraries. You have a few different reasonable options to address it:

Place the library in LD_LIBRARY_PATH in the runtime environment, as you've done. This is easy, and convenient when initially experimenting with someone else's code, but impermanent, and an ugly hack if you distribute your software that way.
Add the library to the rpath embedded in the binary, either after the fact with patchelf or by telling your linker to do so when building. Because it avoids a wrapper script, this is the preferred approach in nixpkgs when the dlopen can't be avoided, e.g. for proprietary software.
Replace the use of dlopen with conventional dynamic linking. This will allow Nix's usual mechanisms to Just Work, and should be preferred whenever possible.

Place the library in LD_LIBRARY_PATH in the runtime environment, as you've done. This is easy, and convenient when initially experimenting with someone else's code, but impermanent, and an ugly hack if you distribute your software that way.

I think I will stick with this solution for now since my own application will be statically linked, so that shouldn't be a problem.
I am however going to looking into point 2 and 3, just to broaden my knowledge :).
Thanks for the reply, I will close this issue.

You shouldn't statically link the vulkan loader; it's specifically designed to be upgraded independent of applications, for compatibility with future drivers and layers. It's also impossible to have a 100% statically linked application that uses vulkan at all, because video drivers are dynamically loaded, which requires a dynamically linked libc.


All prime number till N

Hey I am Kirti Goyal ,a GSSOC  participant . In this I want to find all prime numbers till any number N.
Please assign this task to me!!

I want to work on this issue using C++. Kindly assign this to me

Hey, my name is Divya. I am a GSSOC'21 participant. I would like to work on this issue in the Java language. Please assign me this issue.


Update default index name to .kibana instead of .opensearch-dashboards

Fixes #607
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Looks good. Really hoping they'll adjust this convention in a future release to avoid confusion. Dashboards is diverging quite a bit from Kibana at this point.


extract slot-hashes crate

Problem
solana_program::slot_hashes blocks ripping out solana_program::address_lookup_table (which blocks ripping out solana_program::message)
Summary of Changes

Move to a new crate and re-export in solana_program
Make serde optional in the new crate

✅


Excited for V16!?

Cannot find module<EMAIL_ADDRESS>

pfft - I cant keep up with Nx. They just change their APIs like no-ones watching 😆

Plus I'm using angular 14 so upgrading to Nx >14 seemed impossible for me, unless they fixed their migration script since I last looked

to be fair it looks like they're just not shipping their src in the npm package anymore, which isnt entirely unreasonable. I should look into this. Cant remember why our plugin would be accessing from src folder anyway 🤔
v14 - https://www.npmjs.com/package/@nrwl/js/v/14.8.8?activeTab=code
v16 - https://www.npmjs.com/package/@nrwl/js/v/16.0.0?activeTab=code

yeah, this is a 'my bad' situation. marked as bug

I stumbled across this as well. As a workaround I added the old @nrwl dependencies as well next to the new @nx ones like this:
    "@nx/workspace": "16.1.0",
    "@nx/linter": "16.1.0",
    "@nx/js": "16.1.0",
    "@nx/cypress": "16.1.0",
    "@nx/jest": "16.1.0",
    "@nrwl/workspace": "15.9.3",
    "@nrwl/js": "15.9.3"

With that, I could get it running. This is just a workaround, but maybe it can help someone :-)

ok thanks folks, I will try to fix this as soon as I can, problem line is here:
https://github.com/simondotm/nx-firebase/blob/77117fb0732809733b24fa3b3113c88028dd8373/packages/nx-firebase/src/executors/build/build.ts#L3
Reading the release notes for Nx 16 they seem to have finished decoupling their versioning from Angular releases, so maybe I can upgrade to 16 now and test it all.

Ok the latest Nx 16.1.1 finally allows updates without breaking the Angular version. I will move the plugin to this release soon.
Might also get some other issues fixed too.

ohhhh so the issue is that plugins are rescoped to @nx now instead of @nrwl
got it

Release new version 1.1.0-beta.0 https://www.npmjs.com/package/@simondotm/nx-firebase
Please let me know if any issues thx


More recent release

Trying to use the NodeJS bindings for a React Native project, but both the yarn and npm registries have an older version in which the version of protobuf.js is 2.0.5. This causes issues because that version uses fs, which isn't available for React Native. The package.json in this repo has the version set to 6.7.3, which works in React Native, but there's no release tag for it, so I can't use it. I ended up just forking so I could keep working on my project, but it would be cool if we could get that sorted out from the official repo.

@jonlaing, @mjprude, and @VGoose I just published v0.0.5 to NPM - could you please give this a try and see if it resolves the issue?
If not please re-open.


tests: drivers: adc: adc_api: boards: add overlays for stm32 boards

Adds overlays for several STM32 boards to fix CI build failures.
Fixes #59315

Thanks, (I have nothing against this.) just one side comment: You can include from one overlay file another. These files seem to be direct copy pastes(?). You may want to consider that option.

The are indeed mostly copy pastes (though the channel can be different for some), but they have no dependency on each other and it doesn't make sense to include an overlay from another one. If for some reason a board.dts were changed (typically the IO/channel used for ADC), that could break the test for many other unrelated boards.


Partition level always showing empty list

Greetings,
When navigating to the status of a consumer:
(i.e.   /v2/kafka/(cluster)/consumer/(group)/status    )
I get the following response:
{"error":false,
"message":"consumer group status returned",
"status":
.    {"cluster":"sandbox",
.     "group":"My.Usage.Tracking",
.     "status":"OK",
.     "complete":false,
.     "partitions":[],
.     "partition_count":6,
.     "maxlag":null,
.     "totallag":0},
"request":
.    {"url":"/v2/kafka/sandbox/consumer/My.Usage.Tracking/status",
.     "host":"xkafkat1",
.     "cluster":"sandbox",
.     "group":"My.Usage.Tracking",
.     "topic":""}
}
The actual issue that I am experiencing is not receiving any partition level information on a consumer-group. I am not actually seeing any lag. However, if I use the consumer offset checker tool that comes with kafka; I am seeing lag.
I would definitely love some help on either finding a solution or better understand what I may be missing. Thank you!

I believe that it may be possible that my system configuration is causing the issue. Does Burrow depend on finding stored offsets in Zookeeper or in Kafka? Although I use zookeeper, I am currently committing offsets to Kafka.

Issue is resolved: I was running kafka from the Confluent Rest Platform, and failed to set the property
"offsets.storage=kafka" in the default kafka consumer properties.


Infinite recursion

What happens when a geller encounters another geller?

This already occurred when geller encountered mindreader: it's in issue #22  https://github.com/drvinceknight/Axelrod/issues/22
I've got a 'cheaters' branch where we have the error... I'm going to write a manage.py script which give more granular control than the current run_tournament.py, that'll also be a step towards dealing with this. All ideas welcome though :)

OK


get-flashcard endpoint is returning None, regardless of given data

I was starting to test the /api/get-flashcard endpoint, which is returning None regardless of given data:
Valid data json:
valid_data = {
    "userID": "1",
    "flashcardName": "My new set"
}

And this is is the current data in data.json:
{
  "users": {
    "1": {
      "userID": "1",
      "name": "Dummy",
      "statistics": {
        "streak": "0",
        "totalXP": "0",
        "weeklyXP": "0",
        "lastStreak": "03/03/2024"
      },
      "heatmapData": {},
      "flashcards": {
        "109048371178679571656833207928626960824600184952382683242495299362286693266526": {
          "flashcardID": "109048371178679571656833207928626960824600184952382683242495299362286693266526",
          "flashcardName": "My new set",
          "flashcardDescription": "This is\nmy description",
          "cards": [
            {
              "front": "Front 1",
              "back": "Back 1",
              "reviewStatus": "0.0",
              "lastReview": "01/01/1969"
            },
            {
              "front": "Front 2",
              "back": "Back 2",
              "reviewStatus": "0.0",
              "lastReview": "01/01/1969"
            }
          ]
        }
      }
    }
  }
}

This is the path argument passed in Database.get method:
/users/1/flashcards/109048371178679571656833207928626960824600184952382683242495299362286693266526
The LocalDatabase.get method returns the expected data:
{
  "flashcardID": "109048371178679571656833207928626960824600184952382683242495299362286693266526",
  "flashcardName": "My new set",
  "flashcardDescription": "This is\nmy description",
  "cards": [
    {
      "front": "Front 1",
      "back": "Back 1",
      "reviewStatus": "0.0",
      "lastReview": "01/01/1969"
    },
    {
      "front": "Front 2",
      "back": "Back 2",
      "reviewStatus": "0.0",
      "lastReview": "01/01/1969"
    }
  ]
}

But when it comes to the Database.get method, his return is always None.
I changed the line 126 from return jsonify(db.get("/users/" + user_id + "/flashcards/" + flashcard_id)) in two different lines, just for purpose of debugging:
data = db.get("/users/" + user_id + "/flashcards/" + flashcard_id)
return jsonify(data)

Does the data value from db.get shouldn't be the same as LocalDatabase.get?
After adding the return statement to the Database.get method, the endpoint properly returned the requested data.
Should i keep this change for the next commit?

Yeah, you can keep that change. By, "After adding the return statement to the Database.get method, the endpoint properly returned the requested data", do you mean changing the following section of code in backend/database/database.py:
From:
    def get(self, path):
        """ Get data from database """
        self.db.get(path)

To:
    def get(self, path):
        """ Get data from database """
        return self.db.get(path)

Or do you mean splitting line 126 into two lines as you mentioned before?

First option. The change on line 126 was just for debugging purposes.
The change that actually solved the problem was the return statement on these lines, as you said:
return self.db.get(path)

Should i mention this issue on my future api-testing PR? Or should i open a PR just for this change?

You can mention it in the future PR... there's probably less need to make a PR for that one thing just yet


defaultSettings.json does not list the valid options for configure scroll sync mode

The file reads as follows:
	// Configure scroll sync mode.
	//  - never: Scroll preview to current cursor position when selection changes
	"typst-preview.scrollSync": "onSelectionChange",

Only "never" is listed, and this is not even the default value. The description is also wrong.
The issue seems to be here
https://github.com/Enter-tainer/typst-preview/blob/2f184f61943872ffa0c8995848e5ffff3f023f14/addons/vscode/package.json#L97
There is no description for never.

what is default setting.json? i remember i put everything related to config in package.json

okay this should be something generated by vscode. So we just need update the enum description

but i still don't quite understand the issue title. when use vscode ui to edit config, there should exist a drop down menu, listing all valid options.

but i still don't quite understand the issue title. when use vscode ui to edit config, there should exist a drop down menu, listing all valid options.

I never use the UI to edit the the config. I edit my settings.json manually, informed by defaultSettings.json

At least the enumDescriptions list is incomplete corresponding to the enum list. Looks like it must be one-to-one mapping, so the onSelectionChange is missing in the generated description.


npm run build failed

Got above error running sample gulp file, here is the npm log

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files (x86)\nodejs\\node.exe',
1 verbose cli   'C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'build' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose node symlink C:\Program Files (x86)\nodejs\node.exe
5 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
6 info prebuild<EMAIL_ADDRESS>7 info build<EMAIL_ADDRESS>8 verbose unsafe-perm in lifecycle true
9 info<EMAIL_ADDRESS>Failed to exec build script
10 verbose stack Error<EMAIL_ADDRESS>build: tsc
10 verbose stack Exit status 2
10 verbose stack     at EventEmitter. (C:\Program Files (x86)\nodejs\node_modules\npm\lib\utils\lifecycle.js:213:16)
10 verbose stack     at EventEmitter.emit (events.js:110:17)
10 verbose stack     at ChildProcess. (C:\Program Files (x86)\nodejs\node_modules\npm\lib\utils\spawn.js:14:12)
10 verbose stack     at ChildProcess.emit (events.js:110:17)
10 verbose stack     at maybeClose (child_process.js:1015:16)
10 verbose stack     at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
11 verbose pkgid<EMAIL_ADDRESS>12 verbose cwd C:\Users\IsaacLevin\Downloads\angular2-adal-example-master
13 error Windows_NT 6.3.9600
14 error argv "C:\Program Files (x86)\nodejs\\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "run" "build"
15 error node v0.12.2
16 error npm  v2.7.4
17 error code ELIFECYCLE
18 error<EMAIL_ADDRESS>build: tsc
18 error Exit status 2
19 error Failed at the<EMAIL_ADDRESS>build script 'tsc'.
19 error This is most likely a problem with the angular2-azure-ad package,
19 error not with npm itself.
19 error Tell the author that this fails on your system:
19 error     tsc
19 error You can get their info via:
19 error     npm owner ls angular2-azure-ad
19 error There is likely additional logging output above.
20 verbose exit [ 1, true ]

gulp build is still failing with the above errors.

Same here. i also stuck with the same issue. Has anyone found the fix for this issue?  (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:255:16)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at EventEmitter.emit (events.js:191:7)
14 verbose stack     at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at ChildProcess.emit (events.js:191:7)
14 verbose stack     at maybeClose (internal/child_process.js:877:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid<EMAIL_ADDRESS>16 verbose cwd C:\Users\vbhaska\Downloads\angular2-adal-example-master\angular2-adal-example-master
17 error Windows_NT 10.0.14393
18 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
19 error node v6.9.5
20 error npm  v3.10.10
21 error code ELIFECYCLE
22 error<EMAIL_ADDRESS>start: tsc && concurrently "npm run tsc:w" "npm run lite"
22 error Exit status 2
23 error Failed at the<EMAIL_ADDRESS>start script 'tsc && concurrently "npm run tsc:w" "npm run lite" '.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the angular2-azure-ad package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     tsc && concurrently "npm run tsc:w" "npm run lite"
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs angular2-azure-ad
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls angular2-azure-ad
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]


[NodeKiller] Schedule reboot and disconnect from node

/assign @mm4tt
Ref. #1005
Ref. #1107

/lgtm
/approve

/retest

/retest


pip install issue

Hello. I have issue when pip install chatterbot-weather on windows 7
Can you please help with this?

Hi, I've corrected the issue by adding the requirements.txt file to the files listed in MANIFIST.in. This makes it so that requirements.txt gets included in the package that gets uploaded to PyPi. You should be able to install it successfully now.
Keep in mind that that this weather adapter is rather limited in what it can do and I haven't put much time into developing it further.


Async function visiter

Apparently async functions have a separate visitor name than regular ones, so this adds that in.
This also adds in some tests, bumps the version, and fixes some bugs with newer versions of dependencies.

Coverage increased (+0.02%) to 99.048% when pulling 151ba2bf42179e6b328b38b419eab0d6ae4b06d9 on async-visiter into da1fbdc3b1ebf35005db6a90d802de05ed92a0f9 on master.

Coverage increased (+0.02%) to 99.048% when pulling 151ba2bf42179e6b328b38b419eab0d6ae4b06d9 on async-visiter into da1fbdc3b1ebf35005db6a90d802de05ed92a0f9 on master.


Installation issues with GeoSpark-Zeppelin for Visualizing maps

Hi,
Seeing the issues while installing GeoSpark-Zeppelin for Visualizing the maps. Getting the below error. I have followed the steps mentioned in the URL GeoSpark-Zeppelin, but still not able to install and use the GeoSpark Viz. After all the steps, try to run the the notebook GeoSpark-Zeppelin notebook template. But the "geospark-zeppelin" button is not activated in spark sql interpreter. Is there any way to download the required dependencies and place it in local folder and make it work for GeoSpark-Zeppelin?
Error setting properties for interpreter 'spark.spark': Cannot fetch dependencies for org.datasyslab:geospark:1.2.0
GeoSpark version = 1.2.0
Apache Spark version =  2.2.1
JRE version = 1.8?
API type = Scala

What you're saying is that you don't see a button?

@kuckjwi, I am seeing the button and its disabled. Let me try one more time and get back to you

@viswanatharv Yes, It was normal when I did it.


finish on the attributes of the property object, some functions are not complete

I denied the request since there were a ton of conflicts and unwanted files, but do not worry your code for property was great, I just moved it to the file StreetFile.py since that is the new location of the class. Also you need to make that class a child class of the Tiles class. From now on please do not include any files such as .idea, misc.xml and etc, basically that was not part of the original plan, as that causes headaches. From now on try to practice using git add , rather than just using git add . as that sends everything. Other than  that your code is great, and I just changed the names of some methods into camelCase, lol.


[SPARK-30231][SQL][PYTHON] Support explain mode in PySpark df.explain

What changes were proposed in this pull request?

This pr intends to support explain modes implemented in #26829 for PySpark.
Why are the changes needed?

For better debugging info. in PySpark dataframes.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

Added UTs.

I think the explain modes look useful for debugging, but I'm not sure that this fix to add an optional param  in explain is a right approach. Could you check this, @HyukjinKwon @viirya ?

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/20025/
Test PASSed.

+1

Test build #115223 has started for PR 26861 at commit 295e840.

Test build #115223 has finished for PR 26861 at commit 295e840.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115223/
Test FAILed.

Test build #115241 has started for PR 26861 at commit 0def203.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/20051/
Test PASSed.

Test build #115241 has finished for PR 26861 at commit 0def203.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115241/
Test FAILed.

Test build #115243 has started for PR 26861 at commit 60071fe.

Test build #115243 has finished for PR 26861 at commit 60071fe.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115243/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/20066/
Test PASSed.

Test build #115257 has started for PR 26861 at commit 56509fc.

Test build #115257 has finished for PR 26861 at commit 56509fc.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115257/
Test PASSed.

Let me merge and address my own comment https://github.com/apache/spark/pull/26861#discussion_r357452464 separately since this PR targets to add a Python corresponding API.

Merged to master.

Thanks, @HyukjinKwon!

Let me merge and address my own comment #26861 (comment) separately since this PR targets to add a Python corresponding API.

Yea, we need more time to discuss that API design.

I filed jira for the explain mode of SparkR; https://issues.apache.org/jira/browse/SPARK-30255
But, since I'm not familiar with R code, I won't work on that.

LGTM too. Thanks @maropu for this work!


PluginCli doesn't work on npm linked module

Linked module have __dirname pointed to the actual location. I can't use it to trace up to find the npm root folder.
Maybe one alternative is to look at npm config.
The path would be ../lib/ (from bin/)
if prefix config is available, that should take priority.
It is hard to determine unless we have more tests.
npm ls -g --depth=0 --json is way too slow for this purpose.

Currently it is working fine for global module, which is the normal use case.
The local one may still have problem.


Updating Versioning

In this PR:

[x] Updated pypsa to Version 0.25.0
[x] Fixed clustering issues associated with version update
[x] Resolve Datatype issues in base_network creation

@trevorb1 update your conda env!


add new finished state to stats get prediction

This should fix #50.
Some online features in GGST trigger new /get_env and /login calls, making stats_get_prediction think it's doing the initial title screen loading again. Totsugeki gets stuck at this point and other requests by GGST time out.
I added a new finished state so that the stats_get_prediction doesn't get started again. If you go back to the title screen from the main menu and then do the loading screen again the /statistics/get requests are not used, so we can skip this step without affecting load times.

Thanks again!


Bumping odo version from v2.0.3 to v2.0.4

Signed-off-by: Mohammed Zeeshan Ahmed<EMAIL_ADDRESS>

/hold
Release of cli shifted to next week

/hold
Release of cli shifted to next week

/hold cancel

/hold cancel

/lgtm

/lgtm

@mohammedzee1000 @prietyc123 this should go in after #4360, right?

@mohammedzee1000 @prietyc123 this should go in after #4360, right?


Text and PDF files render garbled.

Images and nifti files that are presented in the modal appear to be fine (though we might be getting lucky there). Text and PDF files have begun rendering poorly in the last week or two. Not sure why. I can provide the example documents if you need them.
Screenshots:

Taking a look now, the API is trying to grab the file's mimetype when the file has to mimetype. The issue is fixed in this commit (https://github.com/scitran/core/commit/71e6464638a319b5f40ae450bb81b5371ee90509), but I will still investigate why the mimetypes are missing/why this is now a problem when it did not used to be one.

Setting the mime type on ingest is a relatively recent update. Legacy data wouldn't have it.
@mrDarcyMurphy Have you tried re-bootstrapping?
We might also be failing to set mime type on some intake paths. Hence my desire to finish "upload unification".
@nagem Not sure empty string is the best default. Maybe application/octet-stream is better?

@gsfr You are definitely right, updating.

@gsfr After a couple minutes of investigation, Chome downloads application/octet-stream mimetypes while it makes an okay judgement on how to open a file when no mimetype is given. I can dig in further to the "why" if you want, too.

After reading this SO question and testing it, application/unknown seems to be the best option.

@nagem Agreed.

@gsfr I've rebuilt multiple times. Most recently was monday morning after updating docker.

Thanks, @mrDarcyMurphy. In that case, we should really figure out how data is getting into our system without a mime type on it.
@nagem Could you please take that on.


Rename binaries in flipperzero-tools

It is possible to install the binaries from flipperzero-tools using cargo install, however the names are too generic and likely confusing outside the context of the project (e.g. storage).
They should all be given a distinctive name, for example flipper-storage or flipper-run.

By the way, we may be interested in adding custom Cargo commands so that they can be installed via normal flow. This would eventually let us get rid of the dependency on python.

Thinking about the current project structure, I suggest moving the whole tools crate into a separate repository with the following intents:

Have separate development environments and versioning schemes for them.
Have the crate published to crates.io and potentially OS package managers (I would be interested in packaging it for nixpkgs, for instance).
Get rid of python scripts (at the moment they are just wrappers for cargo run ... of the tools).


Tip Function

A Way To Calculate The Tip From A Selected Percentage.

Completed In Release: v1.1
Commit: https://github.com/markydoodled/Calculate.it/commit/8b77277a510143f6de88d0ea402d39694d46dc3d


Portuguese translation README.adoc file examples/xa-datasource

Please validate the translation.

The title stay in english = Injection Of Entitymanager, or translated to portuguese = Injeção do EntityManager, because this file is of the portuguese translation ?

The title stay in english = Injection Of Entitymanager, or translated to portuguese = Injeção do EntityManager, because this file is of the portuguese translation ?

@jrxxjr can translate : )

Then will stay like this, follows below:
:index-group: DataSources
:jbake-type: page
:jbake-status: status=published
= Injeção do EntityManager

yes
:index-group: DataSources
:jbake-type: page
:jbake-status: status=published
= Injeção do EntityManager

Is corrected

thanks @jrxxjr


Questions about blockchain interoperability based on pub-sub architecture

Hi~Thank you very much for your previous answers, I am very interested in this paper.
After reading the paper and the source code, I have some questions about the blockchain interoperability based on pub-sub architecture.

How do subscribers subscribe to topics they are interested in? My understanding from the source code is that subscribers directly subscribe based on topicID,but it seems that there is no process of asking the broker. Is there any assumptions? For example, the subscriber knows in advance which topics the publisher will publish.
How does the subscriber understand the topic content published by the publisher, that is, how to achieve semantic interoperability?  If the description of the topic is inconsistent between the publisher and the subscriber, how can the broker match?
Looking forward to your answer, thank you very much!

Hello @EurusLiao, thank you for your interest in this project and for your great questions.

Your understanding is correct. The subscribers use the topicIDs to subscribe to a topic. In order to understand what topics are available, the subscribers can use the queryAllTopics functionality to retrieve all the available topics on the broker blockchain. Having said that, I totally understand your point. A function that supports retrieving topics based on publishers can be valuable. If you are interested in working on this, you can create a new issue for it and assign it to yourself.

Your second question brings up a great point. In the current implementation, we assume that the publisher will publish the topics in a way that everyone can understand. Since the subscriber cannot change the topic, there won't be any inconsistency in the communication.  For future versions, we can think about ways that this process can be improved.

Hello @EurusLiao, thank you for your interest in this project and for your great questions.

Your understanding is correct. The subscribers use the topicIDs to subscribe to a topic. In order to understand what topics are available, the subscribers can use the queryAllTopics functionality to retrieve all the available topics on the broker blockchain. Having said that, I totally understand your point. A function that supports retrieving topics based on publishers can be valuable. If you are interested in working on this, you can create a new issue for it and assign it to yourself.
Your second question brings up a great point. In the current implementation, we assume that the publisher will publish the topics in a way that everyone can understand. Since the subscriber cannot change the topic, there won't be any inconsistency in the communication.  For future versions, we can think about ways that this process can be improved.

Thank you for your answer. It's very helpful to me. And happy weekend~


Absolute Labs - the Salesforce for Web3

Absolute Labs Wallet Relationship Management (WRM)
Grant category
Please select one:

Developer tools / services

Description
Absolute Labs created the first enterprise-grade Saas Wallet Relationship Management platform (WRM), bringing CRM capabilities to web3. It is the leading no-code, enterprise-grade web3 CRM and marketing automation platform. The product is used by web2 and web3 brands and dApps to leverage on-chain data for targeted client acquisition, deeper client engagement, and long-term retention. It combines existing web2 data (e.g. purchase history, email, etc) with on-chain wallet data.
The core of the Absolute Labs product is the wallet data that we index from blockchains. To date, users can access the on-chain data and activity of all wallets on Ethereum, Polygon, Near, Linea, and Base (~800m wallets and growing daily). With this data, the product enables customer engagement and the ability to navigate hundreds of millions of wallets, using on-chain data to gain insights. We seek grant funds to support the indexing of Flow into our product, which is listed as the first feature below. We will submit additional proposals to achieve the other features.
Our product has the following key features for users:

Direct Access to On-Chain Wallet Data: Insights into tokens, NFTs, dApp usage, portfolio value, and much more.
Segmentation Capabilities: For both web3 and web2 data.
Unified Data: Combine web2 and web3 data for comprehensive insights.
Automated Marketing Campaigns: Seamlessly run cross-channel campaigns across the marketing funnel, including in-wallet messaging, airdrops, email, Discord, Twitter, push notifications, and SMS.
No-Code NFT minting and custom smart contract calls.
WalletTracker SDK: the ability to identify how many website visitors already have a digital wallet, thus identifying a target audience market.

Our product has the following key features and opportunities for Flow developers:

Analyze other protocols, competitors, and dApps built on other chains, to target and actively recruit developers to grow the Flow ecosystem.
Increase on-chain transactions by significantly lowering friction for users.
Incentivize web2 brands to build projects on Flow, with the support of an enterprise-grade CRM that will integrate with their web2 CRM (note: we have a Salesforce partnership and connector).
Enable crypto payments on e-commerce websites (we have partnerships with Stripe, crypto.com, Coinbase, and Shopify).
The ability to offer brands and developers discounts and incentives to use the Absolute Labs product, via our partnership.

This particular grant would fund the indexing of all Flow active wallets, and their contents, into the platform and generate profiles for each. All Flow data will be incorporated into the 'Collection Insights' product feature, which will enable platform users to search and analyze Flow wallets based on the following metrics: wallet activity, portfolio value, investments, activity history, exchanges and dApp usage, X followers, custom data input by users, and their interests. Once this is achieved and we are live, we will submit another grant application to incorporate the additional product features.
Absolute Labs launched in early 2022 and manages a steadily growing roster of customers and partners. Customers include the LVMH group, Chanel, Ledger, Animoca Brands, BNP Paribas, World of Women, and Française des Jeux; ecosystem partners include Google Cloud, Salesforce, Publicis, Coinbase, crypto.com, Shopify, Mojito, Fireblocks, and more. The Absolute Labs team can encourage these teams to integrate with the Flow ecosystem – a powerful benefit that we bring to our chain partners.
The Absolute Labs founding team has a proven track record of building, launching, and selling marketing tech, together, for 15 years. They launched and exited three companies in marketing technology, one of which was a leader in the Gartner Magic Quadrant for Mobile Marketing Platforms (FollowAnalytics). The team is currently 25 people and growing.
Absolute Labs is committed to supporting the Flow ecosystem by providing the tools needed for growth and innovation. Through our product and partnership, we will bring powerful marketing tools, brands, and developers to your chain.
Problem Statement
Problems our product solves:

Inability for business teams within brands to combine their clients’ traditional ‘web2’ CRM data (e.g. email, address, purchase history, interests) with their new wallet-related data (e.g. NFTs held in wallets, portfolio value, dApps used).
Inability for business teams within brands to leverage on-chain data to develop, and automate, marketing campaigns for customer acquisition, engagement, and retention.
Lack of ‘no-code,’ enterprise-grade marketing automation product for managing on-chain assets.
Lack of ‘no-code,’ enterprise-grade marketing automation product for managing on-chain profile and wallet data.
We are serving as the no-code intermediary between enterprise brands and the network of available web3 tooling.

Target market(s):

Absolute Labs is primarily a B2B SaaS product for web2 and web3 companies/brands.
We also target developers who are responsible for recruiting dApps and developers to a particular chain.
We help chains identify the most promising dApps in other ecosystems for recruiting purposes; we provide them robust analytics and marketing automation tools.

Solution
The Absolute Labs platform addresses the challenges faced by business teams within brands in integrating traditional 'web2' CRM data with new wallet-related data, leveraging on-chain data for automated marketing campaigns, and managing on-chain assets and profile data. By providing a no-code, enterprise-grade marketing automation solution, we act as an intermediary, connecting enterprise brands with the web3 tools they need.
Impact
As explained above, our product has the following key features and opportunities for Flow developers:

Analyze other protocols, competitors, and dApps built on other chains, to target and actively recruit developers to grow the Flow ecosystem.
Increase on-chain transactions by significantly lowering friction for users.
Incentivize web2 brands to build projects on Flow, with the support of an enterprise-grade CRM that will integrate with their web2 CRM (note: we have a Salesforce partnership and connector).
Enable crypto payments on e-commerce websites (we have partnerships with Stripe, crypto.com, Coinbase, and Shopify).
The ability to offer brands and developers discounts and incentives to use the Absolute Labs product, via our partnership.

Milestones and funding

Note: Please consider adoption and/or maintenance milestones at the end of your project.

Milestone
Deliverables
Timeline
Risks
USD proposal

1 - Adapt the Absolute Labs indexers to support Flow and make the blockchain data available throughout the platform.
Accessible Flow data
6 weeks
-
30000

2 -  One-time data ingestion to activate Flow and make the blockchain data available throughout the platform.
Users can search and analyze Flow wallets based on the following metrics: wallet activity, portfolio value, investments, activity history, exchanges and dApp usage, X followers, custom data input by users, and their interest
2 weeks
-
10000

3 - Ability to sync data in real-time for new blocks, wallets, and collections
All data related to wallets, historical transactions, buying power, dApp interactions, segment inclusions, and key metrics of Flow collections is kept up to date on a near real-time basis. All data for further activations are updated and maintained in real time.
2 weeks
-
10000

4 - Adoption
Absolute Labs' VP of Partnerships and VP of Business Develop will agree upon targeted number of brands to bring to Flow. They will share pipeline of existing and prospective customers with relevant Flow team members on a recurring basis to ensure web2 brand adoption.
Ongoing
-
0

Total funding proposed: <60,000 USD>
Leadership Team

Name
Role
Bio
Contact

Samir Addamine
CEO
Samir Addamine is CEO and co-founder of Absolute Labs, a Web3 CRM software-as-a-service (SaaS) company based in San Francisco, CA. The company announced an $8 million seed raise on April 11, 2023. Prior to Absolute Labs, Samir founded FollowAnalytics, an industry-leading mobile analytics and engagement solution, whose first private investor was Marc Benioff, founder of Salesforce.com, and which was frequently recognized by the Gartner Magic Quadrant for its excellence in mobile marketing. His first company, Clicmobile, was one of the first mobile consulting and development studios in Paris. Founded in 2008, it forged a strong collaboration with Apple Europe, helping dozens of large companies build their first mobile apps. Mr. Addamine is an investor in several SaaS Marketing software startups, serves as a Non-Executive Director of Bryi Technologies (post Series C). He has written numerous articles on marketing technologies for both Web2 and Web3, for Forbes, Venturebeat, and others, and is a frequent speaker at industry events.
<EMAIL_ADDRESS>

Antony Gardez
CPTO
Antony Gardez, Co-Founder and CPTO at Absolute Labs, is a veteran platform engineer with extensive experience in product design, known for creating feature-rich and user-friendly products. His dual expertise ensures robust technical infrastructure and exceptional user experiences. Prior to this position, he led product and innovation at FollowAnalytics, a mobile marketing platform, where he also contributed significantly to data architecture design. He studied software engineering at the INSA Rouen school of engineering in France and at McGill University in Montreal.
<EMAIL_ADDRESS>

Riad Lemhachheche
VP of Business Development
Riad Lemhachheche is currently the VP of Business Development at Absolute Labs. Additionally, he is a Co-Founder and VP of Factory at Absolute Labs, leading the development of its Customer Engagement platform. Previously held positions at Bryj included Co-Founder and Customer Success Manager, Director of Presales & Solution Engineering, VP of Solution Engineering, VP of Business Development & Partnerships, and Strategic Advisor. Riad has been involved in various organizations, such as the PreSales Collective, a Founder of Moobil Ventures, a Member of CLUB3, and BusinessFirst. He has also served as an Intervenant at IIM - Institut de l'internet et du multimédia, where he contributed as a Master Transformation Digitale et Licence Web Developer. Riad has also served as a Strategic Advisor at Momentum and BusinessFirst, and as the President of Mobiwhirl. Riad has a Baccalauréat in the field of Scientifique from the Lycée Saint Pierre Chanel, an MS in Computer Engineering and Networking from CPE Lyon, an MS in Information System Engineering, Industrial and Manufacturing Engineering, and Business Administration from Oregon State University. He also received a certification in R Programming from John Hopkins University and completed a course on Decentralized Finance (DeFi) Infrastructure at Duke University.
<EMAIL_ADDRESS>

Anne Bracegirdle
VP of Partnerships
Anne Bracegirdle leads US Partnerships for Absolute Labs, the leading enterprise software for web3 marketing, and provides independent advisory on topics related to blockchain and the arts. She is also the Co-Founder of the Art & Antiquities Blockchain Consortium 501(c)(3) in 2018. Recently held positions include VP of BD at Metaversal, Head of Sales at Convelio, and Senior Director of Special Projects at Superblue. Prior to Superblue, Anne was an AVP and Specialist at Christie’s New York, where she co-founded Christie’s Art + Tech initiative which culminated in two Art + Tech Summits, Exploring Blockchain (2018) and The A.I. Revolution (2019). During her ten years at Christie’s, Anne was a specialist of Russian Art, 19th Century European Art, and Photographs. Anne speaks widely on the topics of art, blockchain, and web3 and has been cited in The New York Times, Wired, The Financial Times, Forbes, The Art Newspaper, among others.
<EMAIL_ADDRESS>

Pierre Vibert
CFO
Pierre joined Absolute Labs in 2022 as the Chief Financial Officer. Before that, he held the same position at Bryj from July 2020 to November 2021. Pierre also served as DAF EMEA at Bryj from September 2013 to July 2020. Prior to Bryj, Pierre worked at EWDN as the VP of Business Development for the entirety of 2013. Pierre briefly served as a financial adviser at Displair in 2012 and as a financial controller at Rasec International from February 2012 to June 2012. Pierre had a significant role as the CFO of Rasec Vostok from October 2007 to November 2011. Pierre worked as a financial manager at Vinci Construction Grands Projets from March 2006 to January 2007. Pierre also worked as a financial controller at Belgo Gen Belgo Serv from January 2004 to December 2005. Pierre began his career as a project engineer at SOGREAH from January 2001 to September 2002. Pierre has a degree in Engineering from ENSEEIHT and an MBA in Finance from the University of Paris I: Panthéon-Sorbonne.
<EMAIL_ADDRESS>

We appreciate your proposal. After careful review we've decided not to proceed at this time. Please stay connected to our Twitter and working groups to stay on top of the latest developments in the ecosystem and new grant opportunities.


Faled to install pg (0.13.2) on Mac OSX  10.6.8

Installing pg (0.13.2) with native extensions Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks!
/usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rubygems/installer.rb:552:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
    /usr/local/Cellar/ruby/1.9.3-p125/bin/ruby extconf.rb

checking for pg_config... no
No pg_config... trying anyway. If building fails, please try again with
--with-pg-config=/path/to/pg_config
checking for libpq-fe.h... no
Can't find the 'libpq-fe.h header
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/Cellar/ruby/1.9.3-p125/bin/ruby
--with-pg
--without-pg
--with-pg-dir
--without-pg-dir
--with-pg-include
--without-pg-include=${pg-dir}/include
--with-pg-lib
--without-pg-lib=${pg-dir}/lib
--with-pg-config
--without-pg-config
--with-pg_config
--without-pg_config
Gem files will remain installed in /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/gems/1.9.1/gems/pg-0.13.2 for inspection.
Results logged to /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/gems/1.9.1/gems/pg-0.13.2/ext/gem_make.out
from /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rubygems/installer.rb:530:in block in build_extensions' 	from /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rubygems/installer.rb:505:in each'
from /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rubygems/installer.rb:505:in build_extensions' 	from /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rubygems/installer.rb:180:in install'
from /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.0/lib/bundler/source.rb:90:in block in install' 	from /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.0/lib/bundler/rubygems_integration.rb:82:in preserve_paths'
from /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.0/lib/bundler/source.rb:89:in install' 	from /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.0/lib/bundler/installer.rb:73:in block in install_gem_from_spec'
from /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.0/lib/bundler/rubygems_integration.rb:97:in with_build_args' 	from /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.0/lib/bundler/installer.rb:72:in install_gem_from_spec'
from /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.0/lib/bundler/installer.rb:56:in block in run' 	from /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.0/lib/bundler/installer.rb:55:in run'
from /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.0/lib/bundler/installer.rb:12:in install' 	from /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.0/lib/bundler/cli.rb:271:in update'
from /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.0/lib/bundler/vendor/thor/task.rb:22:in run' 	from /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.0/lib/bundler/vendor/thor/invocation.rb:118:in invoke_task'
from /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.0/lib/bundler/vendor/thor.rb:263:in dispatch' 	from /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.0/lib/bundler/vendor/thor/base.rb:386:in start'
from /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.0/bin/bundle:13:in <top (required)>' 	from /usr/local/Cellar/ruby/1.9.3-p125/bin/bundle:19:in load'
from /usr/local/Cellar/ruby/1.9.3-p125/bin/bundle:19:in `'

The key is in the following:
checking for pg_config... no
No pg_config... trying anyway. If building fails, please try again with
--with-pg-config=/path/to/pg_config
checking for libpq-fe.h... no
Can't find the 'libpq-fe.h header
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

You need to install postgres and related development libraries. Try asking on IRC channels like #rubyonrails or search on Google for installing postgres on mac os for rails development or something similar.
Basically this is not a Bundler issue. Can you please close this issue?


⚠ 366.ru has degraded performance

In a2e3e80, 366.ru (https://366.ru) experienced degraded performance:

HTTP code: 200
Response time: 1713 ms

Resolved: 366.ru performance has improved in 8855bcb.


Easier API to get project options

Fable is using Dotnet.ProjInfo and it's working really well, thank you! However, I'm concerned that I need to keep this file in my repo. It's mainly copied from Ionide (or FSAC, I don't remember) and it's also working fine. But the code is not trivial and has some slight modifications, so I'm afraid it can easily break and/or become outdated soon and it won't be easy to keep it up-to-date.
It'd be great if there was a simple function exposed by Dotnet.ProjInfo to which I could pass the .fsproj file path and get the Project options without the extra boilerplate.

@enricosada Any thoughts on this? :)

pratically that file does two things:

navigate the projects (so all p2p references) based on target framework
convert to use default ProjectCracker options (used by FCS)

i think i can add these as feature to this library:

put the first thing (navigate p2p) inside this library directly.
use a builtin type, who can be easy mapped to FCS type as needed
maybe i can provide a builtin SRTP mapper too, so already ready to use

i dont like to add a reference to FCS just for the projectcracker type (anyway is really dumb data).
I'll do that @alfonsogarciacaro so you dont need that file anymore (so less moving bugfixes around).
added to backlog

sry @alfonsogarciacaro didnt see before the issue

No worries, I just wanted to ping you because the notification might have gone unnoticed :)
It'd be really helpful if you could add the features to the library, thank you! But I agree you shouldn't add the FCS dependency just for the type. For me, it'd be enough to have an interface with the same properties and I can do the conversion in my code :)


Add purdue-course-search extension

Description

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi!
Thank you for your contribution! My name is Milena and I will be reviewing it today.
Other than the comments left by @jfkisafk, I have a few more:

There are commented code lines, please remove them if not relevant
I see filtering on your code, but it does not reflect on the extension. Did you forget to add a filter dropdown?
Maybe the description of the course could be displayed as well, either as primary action or having a split panel. What do you think?

Hi @rayhanadev ! Do you still want to work on this extension?


Create indexes for celestrak_SATCAT

Add indexes for the following columns:

name
norad_num
intl_desg

Turns out these already exist and are already appropriately defined in database.py in the CREATE statement.  No action necessary.


add optional non-interactive mode using --label cli option

Hi @munir131,
looking for a script to download the attachments of labelled emails in a gmail account I found your application.
Thank you for sharing it.
My use case is to use it in a non-interactive mode.
I implemented an optional --label LABEL_NAME option to execute the application non-interactively.
In the spirit of Hacktoberfest I decided to propose this PR.

LGTM, @mirkoperillo Thank you for contribution.


Add ability to create standalone binaries with qjs

Ref: https://github.com/quickjs-ng/quickjs/issues/438
Closes: https://github.com/quickjs-ng/quickjs/pull/441

Thanks for the review! I'll address the comments and update the docs.


[C#] feat: handles message update/delete events

Linked issues
closes: #761
Details
Change details

messageUpdate - editMessage
messageUpdate - undeleteMessage
messageDelete - softDeleteMessage

Reference: https://github.com/microsoft/botbuilder-dotnet/blob/main/libraries/Microsoft.Bot.Builder/Teams/TeamsActivityHandler.cs#L903
Attestation Checklist

[x] My code follows the style guidelines of this project

I have checked for/fixed spelling, linting, and other errors

I have commented my code for clarity

I have made corresponding changes to the documentation (we use TypeDoc to document our code)

My changes generate no new warnings

I have added tests that validates my changes, and provides sufficient test coverage. I have tested with:

Local testing
E2E testing in Teams

New and existing unit tests pass locally with my changes

Additional information

Feel free to add other relevant information below

The active test run was aborted. Reason: Test host process crashed : Unhandled exception. System.NotImplementedException: The method or operation is not implemented.
at Microsoft.TeamsAI.Tests.TestUtils.NotImplementedAdapter.SendActivitiesAsync(ITurnContext turnContext, Activity[] activities, CancellationToken cancellationToken) in D:\a\teams-ai\teams-ai\dotnet\packages\Microsoft.TeamsAI\Microsoft.TeamsAI.Tests\TestUtils\NotImplementedAdapter.cs:line 15
at Microsoft.Bot.Builder.TurnContext.<>c__DisplayClass31_0.<g__SendActivitiesThroughAdapter|1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.Bot.Builder.TurnContext.SendActivityAsync(IActivity activity, CancellationToken cancellationToken)
at Microsoft.TeamsAI.TypingTimer.SendTypingActivity(Object state) in D:\a\teams-ai\teams-ai\dotnet\packages\Microsoft.TeamsAI\Microsoft.TeamsAI\TypingTimer.cs:line 103

UT failed? It seems certain UT does not disable typing timer...

The active test run was aborted. Reason: Test host process crashed : Unhandled exception. System.NotImplementedException: The method or operation is not implemented.
at Microsoft.TeamsAI.Tests.TestUtils.NotImplementedAdapter.SendActivitiesAsync(ITurnContext turnContext, Activity[] activities, CancellationToken cancellationToken) in D:\a\teams-ai\teams-ai\dotnet\packages\Microsoft.TeamsAI\Microsoft.TeamsAI.Tests\TestUtils\NotImplementedAdapter.cs:line 15
at Microsoft.Bot.Builder.TurnContext.<>c__DisplayClass31_0.<g__SendActivitiesThroughAdapter|1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.Bot.Builder.TurnContext.SendActivityAsync(IActivity activity, CancellationToken cancellationToken)
at Microsoft.TeamsAI.TypingTimer.SendTypingActivity(Object state) in D:\a\teams-ai\teams-ai\dotnet\packages\Microsoft.TeamsAI\Microsoft.TeamsAI\TypingTimer.cs:line 103

UT failed? It seems certain UT does not disable typing timer... May not be related to this PR's change

Good notice. Fixed it.


Get Username from Session

I'm using Basic Auth and session plugin in Kong. I see that the session is only sent to the service. Giving a session how do I get the username?
`plugins:

name: basic-auth
service: login-service
config:
hide_credentials: true
name: session
service: login-service
config:
secret: opensesame
cookie_samesite: Lax`
Thanks,

Hany

@hanymorcos in which context exactly? If you are writing a plugin, you can access the available data from the context. See code around here:
https://github.com/Kong/kong-plugin-session/blob/ca465471137df879df63242eda5779ca6ac52023/kong/plugins/session/header_filter.lua#L41
like so:
local kong_session = require "kong.plugins.session.session"

local s = kong.ctx.shared.authenticated_session
if s then
  local consumer_id, credential_id = kong_session.retrieve_session_data(s)
  local consumer, err = kong.cache:get(consumer_cache_key, nil,
                                       kong.client.load_consumer, cid)

  print(consumer.username)
end

@hanymorcos in which context exactly? If you are writing a plugin, you can access the available data from the context. See code around here:
https://github.com/Kong/kong-plugin-session/blob/ca465471137df879df63242eda5779ca6ac52023/kong/plugins/session/header_filter.lua#L41
like so:
local kong_session = require "kong.plugins.session.session"

local s = kong.ctx.shared.authenticated_session
if s then
  local consumer_id, credential_id = kong_session.retrieve_session_data(s)
  local consumer, err = kong.cache:get(consumer_cache_key, nil,
                                       kong.client.load_consumer, cid)

  print(consumer.username)
end

I'm not writing a plugin. The session is being sent to the service but I need the username. I want to know who is authenticated. The backend service is Java Spring Boot.

I'm not writing a plugin. The session is being sent to the service but I need the username. I want to know who is authenticated. The backend service is Java Spring Boot.

@hanymorcos you should be able to see the consumer headers on your spring boot service, but it will be up to you to return those to other services.
Here's an example response when proxying mockbin.org (/request will return the request headers that kong sends to the upstream service):
➜  ~ http --session=/tmp/kong :9000/v1/request --auth darrenjennings:kong -v
GET /v1/request HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Authorization: Basic ZGFycmVuamVubmluZ3M6a29uZw==
Connection: keep-alive
Host: localhost:9000
User-Agent: HTTPie/2.3.0

HTTP/1.1 200 OK
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: host,connection,x-forwarded-for,x-forwarded-proto,x-forwarded-host,x-forwarded-port,x-real-ip,x-forwarded-path,x-forwarded-prefix,user-agent,accept-encoding,accept,x-consumer-id,x-consumer-custom-id,x-consumer-username,x-credential-identifier,x-credential-username,x-request-id,via,connect-time,x-request-start,total-route-time
Access-Control-Allow-Methods: GET
Access-Control-Allow-Origin: *
Connection: keep-alive
Content-Encoding: gzip
Content-Type: application/json; charset=utf-8
Date: Fri, 29 Jan 2021 17:38:47 GMT
Etag: W/"4c9-9b4k2KtRoh/mDQiDxZZvA4Dr4Rg"
Kong-Cloud-Request-ID: a8bf6a0bcd6c558640f670bd75431a1f
Server: Cowboy
Set-Cookie: session=LoAkfoUjWpXLdaPPFZjQHQ|1611945527|zQYmoILWi0r38y5_EXE9jutrxf2E_MA6v85YzN5dtjgFciGsDcIDh__bfNGNU7L1vzqnT3ETUySnubJeKv2_UO6QgbtkKftec9yi2OckI_4|uW_o0xyjkJyVN25mbFD9I8tl1Ho; Path=/; SameSite=Strict; Secure; HttpOnly
Transfer-Encoding: chunked
Vary: Accept, Accept-Encoding
Via: kong/<IP_ADDRESS>-rc1-enterprise-edition
X-Kong-Proxy-Latency: 1
X-Kong-Upstream-Latency: 208
X-Kong-Upstream-Status: 200
X-Powered-By: mockbin

{
    "bodySize": 0,
    "clientIPAddress": "<IP_ADDRESS>",
    "cookies": {},
    "headers": {
        "accept": "*/*",
        "accept-encoding": "gzip, deflate",
        "connect-time": "0",
        "connection": "close",
        "host": "mockbin.org",
        "total-route-time": "0",
        "user-agent": "HTTPie/2.3.0",
        "via": "1.1 vegur",
        "x-consumer-custom-id": "his-custom-id-1234",
        "x-consumer-id": "dfd7fe0f-b64f-47c7-8160-b2b48f11c421",
        "x-consumer-username": "the-username-of-darren",
        "x-credential-identifier": "darrenjennings",
        "x-credential-username": "darrenjennings",
        "x-forwarded-for": "<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>",
        "x-forwarded-host": "localhost",
        "x-forwarded-path": "/v1/request",
        "x-forwarded-port": "80",
        "x-forwarded-prefix": "/v1",
        "x-forwarded-proto": "http",
        "x-real-ip": "<IP_ADDRESS>",
        "x-request-id": "b1f5f093-069b-4c30-a42f-7badcbfdf94c",
        "x-request-start": "1611941927214"
    },
    "headersSize": 725,
    "httpVersion": "HTTP/1.1",
    "method": "GET",
    "postData": {
        "mimeType": "application/octet-stream",
        "params": [],
        "text": ""
    },
    "queryString": {},
    "startedDateTime": "2021-01-29T17:38:47.217Z",
    "url": "http://localhost/request"
}

@hanymorcos you should be able to see the consumer headers on your spring boot service, but it will be up to you to return those to other services.
Here's an example response when proxying mockbin.org (/request will return the request headers that kong sends to the upstream service):
➜  ~ http --session=/tmp/kong :9000/v1/request --auth darrenjennings:kong -v
GET /v1/request HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Authorization: Basic ZGFycmVuamVubmluZ3M6a29uZw==
Connection: keep-alive
Host: localhost:9000
User-Agent: HTTPie/2.3.0

HTTP/1.1 200 OK
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: host,connection,x-forwarded-for,x-forwarded-proto,x-forwarded-host,x-forwarded-port,x-real-ip,x-forwarded-path,x-forwarded-prefix,user-agent,accept-encoding,accept,x-consumer-id,x-consumer-custom-id,x-consumer-username,x-credential-identifier,x-credential-username,x-request-id,via,connect-time,x-request-start,total-route-time
Access-Control-Allow-Methods: GET
Access-Control-Allow-Origin: *
Connection: keep-alive
Content-Encoding: gzip
Content-Type: application/json; charset=utf-8
Date: Fri, 29 Jan 2021 17:38:47 GMT
Etag: W/"4c9-9b4k2KtRoh/mDQiDxZZvA4Dr4Rg"
Kong-Cloud-Request-ID: a8bf6a0bcd6c558640f670bd75431a1f
Server: Cowboy
Set-Cookie: session=LoAkfoUjWpXLdaPPFZjQHQ|1611945527|zQYmoILWi0r38y5_EXE9jutrxf2E_MA6v85YzN5dtjgFciGsDcIDh__bfNGNU7L1vzqnT3ETUySnubJeKv2_UO6QgbtkKftec9yi2OckI_4|uW_o0xyjkJyVN25mbFD9I8tl1Ho; Path=/; SameSite=Strict; Secure; HttpOnly
Transfer-Encoding: chunked
Vary: Accept, Accept-Encoding
Via: kong/<IP_ADDRESS>-rc1-enterprise-edition
X-Kong-Proxy-Latency: 1
X-Kong-Upstream-Latency: 208
X-Kong-Upstream-Status: 200
X-Powered-By: mockbin

{
    "bodySize": 0,
    "clientIPAddress": "<IP_ADDRESS>",
    "cookies": {},
    "headers": {
        "accept": "*/*",
        "accept-encoding": "gzip, deflate",
        "connect-time": "0",
        "connection": "close",
        "host": "mockbin.org",
        "total-route-time": "0",
        "user-agent": "HTTPie/2.3.0",
        "via": "1.1 vegur",
        "x-consumer-custom-id": "his-custom-id-1234",
        "x-consumer-id": "dfd7fe0f-b64f-47c7-8160-b2b48f11c421",
        "x-consumer-username": "the-username-of-darren",
        "x-credential-identifier": "darrenjennings",
        "x-credential-username": "darrenjennings",
        "x-forwarded-for": "<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>",
        "x-forwarded-host": "localhost",
        "x-forwarded-path": "/v1/request",
        "x-forwarded-port": "80",
        "x-forwarded-prefix": "/v1",
        "x-forwarded-proto": "http",
        "x-real-ip": "<IP_ADDRESS>",
        "x-request-id": "b1f5f093-069b-4c30-a42f-7badcbfdf94c",
        "x-request-start": "1611941927214"
    },
    "headersSize": 725,
    "httpVersion": "HTTP/1.1",
    "method": "GET",
    "postData": {
        "mimeType": "application/octet-stream",
        "params": [],
        "text": ""
    },
    "queryString": {},
    "startedDateTime": "2021-01-29T17:38:47.217Z",
    "url": "http://localhost/request"
}

Can you share your kong.yaml? It might be that I have bad configuration.

Can you share your kong.yaml? It might be that I have bad configuration.

Here is what I have? I don't get headers json I only get the token.
# ------------------------------------------------------------------------------
# This is an example file to get you started with using
# declarative configuration in Kong.
# ------------------------------------------------------------------------------

# Metadata fields start with an underscore (_)
# Fields that do not start with an underscore represent Kong entities and attributes

# _format_version is mandatory,
# it specifies the minimum version of Kong that supports the format

_format_version: "2.1"

# _transform is optional, defaulting to true.
# It specifies whether schema transformations should be applied when importing this file
# as a rule of thumb, leave this setting to true if you are importing credentials
# with plain passwords, which need to be encrypted/hashed before storing on the database.
# On the other hand, if you are reimporting a database with passwords already encrypted/hashed,
# set it to false.

_transform: true

# Each Kong entity (core entity or custom entity introduced by a plugin)
# can be listed in the top-level as an array of objects:

services:
- name: login-service
  host: service
  port: 3000
  protocol: http
  # Entities can store tags as metadata
  tags:
  - auth
  # Entities that have a foreign-key relationship can be nested:
  routes:
  - name: login
    paths:
    - /
    strip_path: true
- name: header-service
  host: service
  port: 3000
  protocol: http
  # Entities can store tags as metadata
  tags:
  - no-auth
  # Entities that have a foreign-key relationship can be nested:
  routes:
  - name: headers
    paths:
    - /list
    strip_path: true

# routes:
# - name: another-route
#   # Relationships can also be specified between top-level entities,
#   # either by name or by id
#   service: example-service
#   hosts: ["hello.com"]

consumers:
- username: test-user
  basicauth_credentials:
  - username: Aladdin
    password: OpenSesame

# When an entity has multiple foreign-key relationships
# (e.g. a plugin matching on both consumer and service)
# it must be specified as a top-level entity, and not through
# nesting.

# plugins:
# - name: rate-limiting
#   consumer: example-user
#   service: another-service
#   _comment: "example-user is extra limited when using another-service"
#   config:
#     hour: 2
#   # tags are for your organization only and have no meaning for Kong:
#   tags:
#   - extra_limits
#   - my_tag
plugins:
- name: basic-auth
  service: login-service
  config:
    hide_credentials: true
- name: session
  service: login-service
  config:
    secret: opensesame
    cookie_samesite: Lax

Here is what I have? I don't get headers json I only get the token.
# ------------------------------------------------------------------------------
# This is an example file to get you started with using
# declarative configuration in Kong.
# ------------------------------------------------------------------------------

# Metadata fields start with an underscore (_)
# Fields that do not start with an underscore represent Kong entities and attributes

# _format_version is mandatory,
# it specifies the minimum version of Kong that supports the format

_format_version: "2.1"

# _transform is optional, defaulting to true.
# It specifies whether schema transformations should be applied when importing this file
# as a rule of thumb, leave this setting to true if you are importing credentials
# with plain passwords, which need to be encrypted/hashed before storing on the database.
# On the other hand, if you are reimporting a database with passwords already encrypted/hashed,
# set it to false.

_transform: true

# Each Kong entity (core entity or custom entity introduced by a plugin)
# can be listed in the top-level as an array of objects:

services:
- name: login-service
  host: service
  port: 3000
  protocol: http
  # Entities can store tags as metadata
  tags:
  - auth
  # Entities that have a foreign-key relationship can be nested:
  routes:
  - name: login
    paths:
    - /
    strip_path: true
- name: header-service
  host: service
  port: 3000
  protocol: http
  # Entities can store tags as metadata
  tags:
  - no-auth
  # Entities that have a foreign-key relationship can be nested:
  routes:
  - name: headers
    paths:
    - /list
    strip_path: true

# routes:
# - name: another-route
#   # Relationships can also be specified between top-level entities,
#   # either by name or by id
#   service: example-service
#   hosts: ["hello.com"]

consumers:
- username: test-user
  basicauth_credentials:
  - username: Aladdin
    password: OpenSesame

# When an entity has multiple foreign-key relationships
# (e.g. a plugin matching on both consumer and service)
# it must be specified as a top-level entity, and not through
# nesting.

# plugins:
# - name: rate-limiting
#   consumer: example-user
#   service: another-service
#   _comment: "example-user is extra limited when using another-service"
#   config:
#     hour: 2
#   # tags are for your organization only and have no meaning for Kong:
#   tags:
#   - extra_limits
#   - my_tag
plugins:
- name: basic-auth
  service: login-service
  config:
    hide_credentials: true
- name: session
  service: login-service
  config:
    secret: opensesame
    cookie_samesite: Lax

Yep I do see it on the first step of logging in.  But I want to infer x-credential-username given session token for subsequent requests. Because I want to figure out user authorization levels to that service.
"accept-encoding": "gzip,deflate",
"user-agent": "Apache-HttpClient/4.1.1 (java 1.5)",
"authorization": "Basic QWxhZGRpbjpPcGVuU2VzYW1l",
"x-consumer-id": "b75884e9-72bb-550f-ae9b-5d0a2ffd2ee8",
"x-consumer-username": "test-user",
"x-credential-identifier": "Aladdin",
"x-credential-username": "Aladdin"

Yep I do see it on the first step of logging in.  But I want to infer x-credential-username given session token for subsequent requests. Because I want to figure out user authorization levels to that service.
"accept-encoding": "gzip,deflate",
"user-agent": "Apache-HttpClient/4.1.1 (java 1.5)",
"authorization": "Basic QWxhZGRpbjpPcGVuU2VzYW1l",
"x-consumer-id": "b75884e9-72bb-550f-ae9b-5d0a2ffd2ee8",
"x-consumer-username": "test-user",
"x-credential-identifier": "Aladdin",
"x-credential-username": "Aladdin"


add files from m62051: sstr pprr from Nokia

Cross-checked by Canon https://git.mpeg.expert/MPEG/Systems/FileFormat/FFConformanceRefSoft/-/issues/18


Property / test coverage (feature request)

Hi Daniel,
We were wondering whether it's possible to compute some sort of "property coverage", like test coverage; roughly, which definitions affect the behaviour of a function but do not affect any of the properties. I wonder whether you have any thoughts on coverage.
The coverage problem sounds like a similar dependency analysis to slicing to me. Maybe it is possible to slice the function wrt all of the properties, and then mark those definitions that remain in the sliced version as 'covered'. Would you be interested in this feature if we were able to implement it?
I also read Vassil Todorov's thesis earlier this year but I can't find it again now, unfortunately. Vassil described a trick where you delete each definition and see which properties fail. If no properties fail, then the definition is not covered by a property. I guess this is equivalent to replacing the definitions with nondeterministic values. This sounds neat, but I worry that it will be too slow to compute. The simple version of just checking dependencies may suffice for us, for now.
Amos

Hi Amos,
Yes, it is possible to compute it, and Kind 2 already offers the functionality necessary to do it. Given a set of properties, any definition can be classified in one of three categories: must definitions, may definitions, or irrelevant definitions. Must definitions are definitions which are required for proving the properties in every case, May definitions are definitions which are relevant to at least one proof of the properties but are not strictly necessary for their satisfaction, and Irrelevant definitions are definitions which does not affect the satisfaction of the properties at all.
Given the previous categorization, there exists two common notions of coverage: may-coverage and must-coverage. People are usually interested in must-coverage, which is equivalent to non-deterministic mutation coverage. To compute the set of MUST elements for the valid properties of a model, you can run Kind 2 as follows:  --ivc true --ivc_must_set true. I said elements, because definitions/equations are only one of the model elements you can consider in the computation. By default, Kind 2 considers top-level assumptions, subcomponent's guarantees, stateful equations, and node calls. You can select a single category with the --ivc_category flag. Kind 2 assumes that any element outside the selected category is always present in the system. If the options above are used, Kind 2 will compute the must set and a minimal inductive validity core (MIVC) after checking the properties. A MIVC is a set of elements that are sufficient to prove the valid properties. If all elements are must elements, both sets will be the same. Otherwise, more than one MIVC exists and the presented MIVC will contain May elements. To compute all the MIVCs, you can pass --ivc_all true. For further details, please see the Inductive Validity Core section in Kind 2 documentation. You may be also interested in the computation of Minimal Cut Sets.
Daniel

Hi Daniel,
Thanks for your detailed explanation. I only just had a chance to try it out – it looks like it provides all the information we want, so I'll close this.
Thanks!
Amos


Question. Acess to Keycloak console ?

Is your support request related to a problem? Please describe.
According to a contact on BMW, we already have a DAPS certificate on the EDC.
He redirected us to a link
We however do not seem to have access to these consoles, and we require this certificate to setup EDC locally as a part of our development.
This contact also said we need to request access to this portal, under a member organization.
We've been fowarded from person to person, and running out of time..
Hopefully you can point us in the right direction?

Hey Sebastian, can you help out?

Unfortunately not :( .
@evegufy do you know what is needed?

@Ruskyy you can ask your question in DevSecOps hour today.

@Ruskyy are you part of the consortia, like for real?

@the-tatanka Terribly sorry for the delay on this reply.
I work for CGI, we're an application provider, working for BMW.
Our PO is Phillip Mai (confluence)

I will be on leave until the 21th.
A colleague from my team should be able to pick up on this issue.

.

Any news on this @the-tatanka ? We are getting out of time and still no access to this:

Unfortunately, I am not responsible.
The Portal team takes care of Keycloak, please help if possible @jjeroch @evegufy .
Could also imagine that they are "reluctant" to give access to the Keycloak console, as not uncritical. You need a good reason.

link

Hi - I contacted Juergen. He needs to take the role to manage the access. He will get the needed account/tenant and can take further action to invite the relevant developers/team members. Since he is the product/solution owner he can better manage the relevant access rights. We (portal) can not be responsible for every user since we dont know the relation of each person to the consortia. @Ruskyy can this wait till Monday?
@the-tatanka if we receive those requests ideally we ask the respective developers to connect to their POs/BOs which should contact the portal PO to retrieve an access to the core component portal to be able to connect to the INT dataspace.

Thanks @jjeroch, yes, this can wait until Monday

Hi,
can you @jjeroch give me the rights to grant access to the cgi-guys?

@Ruskyy @jjeroch
I was assigned here just to make contact between you, please don't wait for me.
Can we close the issue?

Hi there @the-tatanka,
@jschu1 is our PO

@the-tatanka you can close the issue.
Thanks!


AppInsight linkage?

I cannot find any authoritative information re ef.core integration with app insight... is it working/is it not? how to set up under different contexts (e.g. .net core app+asp.net core app) etc.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 7ac57b24-45aa-e679-6ff9-5a25c369c1ff
Version Independent ID: cc576199-b14c-a135-2291-cc48bf301b4e
Content: Getting Started - EF Core
Content Source: entity-framework/core/get-started/index.md
Product: entity-framework
GitHub Login: @rowanmiller
Microsoft Alias: divega

Note for triage: does anyone know if the current incarnation of application insights is using any of our diagnostic events? /cc @divega


Upgrade to less version 2

When upgrading less to the latest version 2, I get this error when running r.js:
Error: TypeError: Cannot read property 'contents' of undefined
at Object.Parser.parse (C:\r\larsthorup\jsdevenv-require\node_modules\less\lib\less\parser\parser.js:109:20)

This seems to be related to this issue: https://github.com/less/less.js/issues/2278.
What are the plans for updating require-less to support less version 2?

Why does nothing work. I'm having the same issue. I don't want to have to install any node modules at all if I can help it. Why can't I just use the less.js file to compile? Why is the documentation on optimizing with r.js so incomplete?

npm install<EMAIL_ADDRESS>works. 1.0.0 - doesn't

I need less > 2.2.0 for svg-gradient support. Would love for someone to update this project to properly support the newest version.

In https://github.com/gamtiq/require-less I updated less up to 2.5.x.
See also #67

This seems to be critical for working in nodejs v6. Less 1.x depends on some old version of graceful-fs that is totally broken in node 6, and causes my r.js build to fail.
@guybedford Do you still maintain this? Do you plan to upgrade to less v2?
@gamtiq I tried your fork and got different errors... Have you tried yours with r.js builder on node 6?

@murrayju yes this project is no longer maintained. If anyone would like to work on the update let me know.

FYI: I tried @GerHobbelt fork and although it worked in the browser, it generated errors when used with r.js (build under node - 0.12 I think)

@murrayju I did not try my fork with r.js nor with node 6.

npm install<EMAIL_ADDRESS>


Cannot access webpage after server start

After following instruction to install on ubuntu I still cannot connect to the server - gives empty response error - even though the server is running.
I tested in ubuntu 19.04 docker container.
On the other hand I downloaded official ytsm image from docker hub and it does allow me to access webpage but it doesn't have config.ini file nor folder thus makes error.

Above is the final webpage after initial configuration pages.
bunch of css are missing too...
Is it normal to get such result? or is this repo not maintained anymore?

You have to copy config.ini from the source code in the volume folder, I think I forgot to mention that in the documentation for docker.
Right now I'm working alone on this repository, and I'm having a hard time finding any time to work on it (having 2 small children, it's hard to find any free time). When I get some free time, I want to continue the project. So it's not dead, it's just on pause for now.


[bug] Notch space not used in reading mode

Describe the bug
Hi, i already posted on tachiyomi, but i think this fork is more up to date.
Is it possible to make this app notch friendly and be able to have a full screen page in reading mode?
Expected behavior
I'd like a full screen reading, with the notch space used.
Please complete the following information:

Device: Xiaomi Mi 9
Android Version: miui <IP_ADDRESS> / android 9 pkq1.181121.001
Version 1.0.8

Additional context
I tried to install android studio to play with and try this myself, but this is so much a pain in the a.. i have every time a java error... i tried so many version of java, and android studio, change configurations but always an error and i can't export the apk.
Thanks a lot for this great app.

I saw this on tachiyomi but why would you want it?  It's not like you can read in the notch space

Hi, yes but when i say notch space i mean the space on the sides of the notch. The notification space.
It's weird to have a rounded screen on one side and a straight one on the other side.
It's more an estetic issue but if it's simple and easy to fix, i would really appreciate this feature.

I managed to do it by adding a style.xml file inside the values-28 folder and adding those lines :
<?xml version="1.0" encoding="utf-8"?> <resources>     <style name="Base.Theme.AppCompat"<EMAIL_ADDRESS>/>     <style name="Base.Theme.AppCompat.Light"<EMAIL_ADDRESS>/>     <style name="Base.Widget.AppCompat.Toolbar"<EMAIL_ADDRESS>/>     <style name="Base.Widget.Design.AppBarLayout"<EMAIL_ADDRESS>/>     <style name="Base.V28.Theme.AppCompat"<EMAIL_ADDRESS>       <item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>     </style>     <style name="Base.V28.Theme.AppCompat.Light"<EMAIL_ADDRESS>       <item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>     </style>     <style name="Base.V28.Widget.AppCompat.Toolbar"<EMAIL_ADDRESS>       <item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>     </style>     <style name="Base.V28.Widget.Design.AppBarLayout"<EMAIL_ADDRESS>       <item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>     </style> </resources>
Might need to clean this because i'm not a dev ^^
Also, i think that Tachiyomi is not running under sdk 28 isn't it ? So i could not use the same code to add notch support to it ? Because all my manga are on this app...but maybe i can just move them from one app to the other.

been super busy will try to look at this when i get a chance.

like that that works great for me on both Neko and Tachiyomi.
The important part is this line :
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>


fals positive gpticketshop.com

The list blocks gpticketshop.com, which is a shop that sells Formula 1 tickets. I have personally bought tickets from them without problems in the past.

Added to allowlist


setVolume does not effect

Hello @rserota! Thanks for the great work, I really like the script!
I do have one problem.  I try to get setVolume working at later times after loading, but it seems not to have effect. I am using latest Chrome. Here is a demo, bell.setVolume(0.5) works, but the one inside of the setTimeout does not. Also it does not work from any other function. Or am I missing anything here?
<!DOCTYPE html>
<html>
<head>
    <script type="text/javascript" src="wad/build/wad.js"></script>
</head>
<body>
  <script>

var bell = new Wad({source : 'test.wav', volume : 1})
bell.play()
bell.setVolume(0.5);
setTimeout('bell.setVolume(0.1);console.log("voldown")',1000);

</script>
</body>
</html>

Hey @timotoots, thanks for using wad.js.
According to the Web Audio spec, gain nodes will ignore changes to their value if there is currently automation scheduled. All basic wads have automation scheduled to implement their envelopes, so this would prevent setVolume from changing the volume while a note is playing. I don't think it has anything to do with setTimeout specifically. I'm not sure if the web audio API always worked this way, because I could swear this feature used to work.
You can work around this issue by wrapping the bell in a polywad, because polywads have their own gain nodes, but they have no automation.
var bell = new Wad({source : 'test.wav', volume : 1});
var wrapper = new Wad.Poly();
wrapper.add(bell)
bell.play()
setTimeout('wrapper.setVolume(0.1);console.log("voldown")',1000);

As per the current implementation of WebAudio (the spec has some upcoming changes about this) if the AudioParam is in 'automation mode' then the setters/getters are disabled. The setter doesn't change anything, and the getter returns a 'last stable value'.
https://github.com/WebAudio/web-audio-api/issues/503

@notthetup Thanks for the link. That adds some clarity to this issue for me.
I don't think I'll be able to find a better solution to this issue than the workaround I posted above, due to how web audio handles automation. In that case, I will close this issue.

I got it working that way!
Thanks for the workaround @rserota  and also the extra info @notthetup!


Fix typos in data-availability-4844.md

PR Summary
Fix a typo.

Description
Great article! And I found a typo when reading it.

LGTM! thanks @colinlyguo