Dagda not detecting malware binaries

I was trying to test the malware detection of dagda from the CLI, and it doesn't seem to pick up anything.
Steps I took:

Started dagda server

Performed proper assignment of environment variables and initiation of vulnerability database.

Built an image from a dockerfile with the line:

'RUN git clone https://www.github.com/ytisf/theZoo'
**The github repo is literally just full of malware binaries **

Ran the dagda check for on the docker image

Results
The dagda history shows no malware binaries being scanned. Not a single one. Vulnerability scanning for CVE's seems to work fine though.
###Specs

OS: Ubuntu 18.04
Python version: Python 3.4]
Docker version: 18.09.7
MongoDB version: mongo:latest

Hi @BiJason ,
Dagda uses TiredofitClamav docker image which contains Clamav AV. If you use Clamav without any docker image for scanning the TheZoo project, do you get any malware detection?
If you get any malware, perhaps it would be interesting review the docker image with Clamav. Else, the problem could be in the Clamav itself.
Regards.

Hey @eliasgranderubio , thanks for the response!
I ran a ClamAV with the following steps on an infected docker image.
Steps to create infected docker image:

Use a secure virtual machine with strict access rules, in my case I used an Amazon AWS EC2 instance.
Create a Dockerfile with the line:  git clone https://github.com/ytisf/theZoo (be careful, this repo contains malware). Here's the Dockerfile that I used:

FROM python:2.7-alpine
RUN apk add --no-cache sqlite-libs=3.28.0-r0
RUN apk update
RUN apk add git
RUN apk add py-pip
RUN addgroup -S sasquatch
RUN adduser -S sasquatch -G sasquatch
RUN git clone https://github.com/ytisf/theZoo
WORKDIR /theZoo
RUN apk add bash
RUN apk add python-dev
RUN pip install wheel
RUN apk add gcc musl-dev
RUN apk add linux-headers
RUN pip install --user pyminizip
RUN yes | apk add sudo
EXPOSE 5000
USER sasquatch

Built the Dockerfile into a container.
Ran the container.
Ran docker exec -u 0 -it "CONTAINER_NAME" /bin/sh
Within the container, ran python theZoo.py
Followed steps within the program, and called the corresponding commands to install malware onto the image. (use #malwareID followed by get #malwareID)
Ran docker commit on the container to build final infected image.

Steps to run ClamAV scan:

"sudo apt-get install clamav" on the vm with infected image.
"clamscan -r  /var/lib/docker

output:
Known viruses: 6218676
Engine version: 0.100.3
Scanned directories: 15041
Scanned files: 110008
Infected files: 323
Data scanned: 3004.39 MB
Data read: 10153.11 MB (ratio 0.30:1)
Time: 1302.386 sec (21 m 42 s)

If you run the same analysis with the next method used by Dagda, do you get the same report?

https://github.com/eliasgranderubio/dagda/blob/master/dagda/analysis/static/av/malware_extractor.py#L22

In your case, the parameters would be:

temp_dir = /var/lib/docker
docker_driver is the docker_driver.py included in this project

What steps are required to run that method?

If you use the docker_driver.py script as docker driver for that method, run it should be easy (the imports have been omitted):
d = DockerDriver()
output = get_malware_included_in_docker_image(d, “/var/lib/docker”)
print(output)

Yes, it's still returning an empty list with the python script.

The last chance. If you run the docker run whithout my Python script with the same parameters as this script, do you get the empty list?

Any update about the last proposed test @BiJason ?

Yes, still no findings.

Then, could you build a docker image with ClamAV which it be capable of malware detection for your described use case?
A PR would be appreciated :-)

Closed due to inactivity.


[Rancher2] Update docs for configuring after installation

Several places within the documentation it states how to enable/configure a feature during install via helm. Can there be updates made so that it shows how to enable/configure that same feature after rancher has already been installed?
Good example is with the api audit log. It shows what set parameter to apply during install, but not what to do if rancher is already installed.

Thank you for your suggestion. We will add this to our roadmap.


oggloop error for some oggs

I experienced to receive an error as the follows with some oggs I have converted from mp3. Is that possible to just keep this as a warning?
audio: oggloop error: audio/se/nya.ogg, oggloop: skipping bytes should be positive: -1

This is not an Oto's issue but https://github.com/hajimehoshi/oggloop's issue.


Question: Are the parameters of VGG updated during image synthesis?

I've understand that the synthesized output image is generated by minimizing style and content loss.
During iterations, are the parameters of VGG also updated?
As far as I understand, only the input noise image is the only parameter that will be updated.
And the parameters of VGG is fixed during the whole process.
Is my understanding right?
Thanks for your great work.

Parameters of VGG are fixed, only the image changes during the iterations.

Thanks for your confirmation.
Now everything is clear in my mind.


Door issues

Submitted by Arnout
http://creaturescaves.com/forum.php?view=12&thread=6830

Creatures that try to travel by door in the CoC metarooms seem to get stuck in an endless loop of pushing the doors until they get tired. Could it be that the doors don't give Creatures a 'wait stimulus' (75) between activation and opening of the door?

https://github.com/gantt42/Children-of-Capillata/commit/a8a2f1776a536a218364638b8e61668700176c5a should fix

May I suggest making sure that every single door gives Creatures the aforementioned wait stimulus (75) when activated, and then a 'traveled through door' stimulus (95) when the animation is over and the Creature has gone through it?
-Arnout

So when a creature pushes a door and goes through it, the process should go [stim 75][anim open][move creature][anim close][stim 95], right? And that order is so that they freeze while the door is animating and then they learn from their actions; or is there something I'm not seeing? Should I do the same thing for creatures that are moved when the hand clicks on the door?
-Zzzzoot

http://creaturescaves.com/forum.php?view=12&thread=6830

So when a creature pushes a door and goes through it, the process should  go [stim 75][anim open][move creature][anim close][stim 95], right? And  that order is so that they freeze while the door is animating and then  they learn from their actions; or is there something I'm not seeing?  Should I do the same thing for creatures that are moved when the hand  clicks on the door?

Almost. If I am not mistaken, Creatures gain a 95 stimulus right after they are transferred through the door, but mind you that the script needs to remain locked until the door has finished it's closing animation.  When activated by the hand, all Creatures within a certain range are  transferred through the door. They do not require any of the two stimuli  as they weren't the ones that activated the door in the first place.  However, (if you have no choice) giving Creatures a 95 stimulus after  travelling through a door this way wouldn't be harmful.

I will implement the doors with both stimuli. Another important thing  that's easy to mess up, haha. Wouldn't it make sense though to stim 95  to all creatures going through the door? So they'll know they traveled.  That's what the DS doors do, but that doesn't necessarily mean it's the  right way. (C3 has the lift bug after all)

Decided to do it w/o stimuli when the hand activates door. I need to look up more about how norns' brains work

a7c7e1684e9c41b86d4e60c159b1587c268f65b7 should fix

Some doors in the metarooms (mainly the smaller ones: Like the one in Morpheri or the ones that lead from the Meso to the Hub and back) have such a fast animation that Creatures have trouble picking up the wait stimulus before they're transferred through the door. This causes them to repeatedly push the doors as if there was no waiting stimulus at all. I could be wrong, but you may be able to address that by either slowing the animation of the door down after activation, or by adding in a short wait period (wait 15 for instance) before the opening animation starts.

74546be1b484f5cdf176312d6c976944b83a4f48 and 67fa7a277ba3d3101ce82511fe137c295c0e4b49 should fix


Provide option to specify a custom bullet list string in ChoiceFactoryOptions

Is it possible to propose a choice prompt as a list of options with a custom bullet string instead of the predefined ordinal index?
Hi, I'm a bot! What do you want to do?
[a] First option
[b] Second option
[c] Third option
We would select to prompt with ListStyle.List and specify a new option (e.g: "BulletString") in ChoiceFactoryOptions
Thanks,
Marco

@garypretty, please prioritize.

Thanks @mdesalvo for the feature request.  I have added this to our backlog and scheduled it for our R14 milestone later this year. We already have a busy R13 milestone which we are currently working towards, but this seems like a nice feature for the choice prompt. Thank you.

We will not be addressing at the moment.


dependencies: Upgrade JavaScript dependencies

Testing plan: Ran the dev server.

Merged, thanks @andersk!


Display total time taken by spotDL to download the entire playlist at the end

Requested Feature
It would be nice to know how much time it took to completely download those long playlists at the end.
Possible implementation
No response

time spotdl download url and whatever windows uses

Actually, it would be great if there was some sort of timestamp while using the --log-level DEBUG option by default.

EDIT: My apologies, I wanted to say timestamps with the local date. I have several gbs of log files, from using the --log-level DEBUG option, but they don't have a date stamp. Its sometimes impossible to find the exact point where it went off track without the date, when you have several months/years worth of data in there.

My apologies, I wanted to say timestamps with the local date. I have several gbs of log files, from using the --log-level DEBUG option, but they don't have a date stamp. Its sometimes impossible to find the exact point where it went off track without the date, when you have several months/years worth of data in there.
EDIT: I should probably make a separate post since this is a bit off topic maybe?

I could add a custom log forma option?

I could add a custom log forma option?

Well yes, any additions/options to customize it would be appreciated. Currently it needs the date.
I use the Debug option for all downloads, and append the output to a .log file inside the folder to which I download. In some folders, the log files are several hundred MB & even GB sized, if it contains multiple playlists. Scouring through them without the Date in the Time Stamp makes it difficult because there may be several days when the same folder was downloaded to.
Another thing would be an addition of a final Finished all downloads notice at the end of a playlist would be nice. All the spotify links and ytm links printed on the output as it happens to match them would also be nice. @AzeemIdrisi has also mentioned download time.
Basically any improvement to the Debugging/Logging would be very welcome, since it massively helps figure out what went wrong. Additional details are also welcome.
Another weird thing, earlier I came across this issue[many times] where entire command line output didn't get appended to the log files. Not sure if it had something to do with how CMD's append function works, but sometimes, the logs seemed to miss certain info which appeared in the command line if I didn't append the output to the .log file. If I come across it again, I'll make sure to make a bug report.

I could add a custom log forma option?

Well yes, any additions/options to customize it would be appreciated. Currently it needs the date.
I use the Debug option for all downloads, and append the output to a .log file inside the folder to which I download. In some folders, the log files are several hundred MB & even GB sized, if it contains multiple playlists. Scouring through them without the Date in the Time Stamp makes it difficult because there may be several days when the same folder was downloaded to.
Another thing would be an addition of a final Finished all downloads notice at the end of a playlist would be nice. All the spotify links and ytm links printed on the output as it happens to match them would also be nice. @AzeemIdrisi has also mentioned download time.
Basically any improvement to the Debugging/Logging would be very welcome, since it massively helps figure out what went wrong. Additional details are also welcome.
Another weird thing, earlier I came across this issue[many times] where entire command line output didn't get appended to the log files. Not sure if it had something to do with how CMD's append function works, but sometimes, the logs seemed to miss certain info which appeared in the command line if I didn't append the output to the .log file. If I come across it again, I'll make sure to make a bug report.

I've added total time and log format so that now you can use time in your log messages (https://docs.python.org/3/library/logging.html#logrecord-attributes)

Basically any improvement to the Debugging/Logging would be very welcome, since it massively helps figure out what went wrong. Additional details are also welcome.

I will add more debug messages when working on other issues. :)


Allow configuration of imported modules

It would be nice to be able to only include css and js files of "components" that you are going to use instead of just importing semantic.css and semantic.js
e.x.
var app = new EmberApp(defaults, {
  // Add options here
  SemanticUI: {
    import: {
      components: ['shape', 'nag', 'modal', 'menu'],
    }
  }
});

If the components array is present then don't include semantic.css and semantic.js and only pick the .css and .js files for the components specified.

Thanks for the suggestion. I've thought of doing that, but since we just import the semantic base files at the moment, that would take a bit more work to build out a custom semantic ui build and only import specific modules.
The actual semantic ui ember library is 90% contained in the base mixin, so there wouldn't be a ton of savings for excluding components unless you didn't want them imported.

@aaronbhansen A good starting point would be to selectively import the SUI files from bower (which I believe @seawatts is talking about here). I've done this type of thing for other addons and could probably put something together if you'd like. The piece I'm not sure about is how to selectively import the addon components, but know of some other addons doing this that I could refer to.

@Panman8201 I haven't looked at pulling out pieces from bower selectively. If you have an idea on how to do that would be great.
For selectively importing components, I know ember-composable-helpers has that option. It would be fairly easy to add, but there isn't much difference in file size as the base mixin is 95% of the plugin. So it would be purely for ensuring that you didn't have access to components if you didn't want them.

@aaronbhansen Sure, I've dealt with selective bower imports for ember-froala-editor and ember-cli-bootswatch.

@aaronbhansen  yes @Panman8201 is correct. It basically would only import the specific js and css files for the respective components in semantic ui bower folder.

Not fully understanding how to get around this issue.  I'm only using about half of the modules in SUI and would love to use Ember SUI, but how would I "turn off" output into vendor files to somehow include only what I want to use?  Thanks in advance.


OSX support

Spawn a child process with this command:
ps -A

any progress?

I still don't have Mac OS device.


Add Non Unique Multicolumn Indices

Is your feature request related to a problem? Please describe.
I would like to be able to define a multicolumn index but currently only UniqueConstraints are possible.
https://github.com/collerek/ormar/discussions/304
Describe the solution you'd like
A way to do this without using sqlalchemy core.
Describe alternatives you've considered
Using     constraints = [
      sqlalchemy.Index('idx_a_b', 'a', 'b')

]

Achievese this
Additional context
Add any other context or screenshots about the feature request here.

Added in #346


Repository description incorrectly describes this sketch as a "library"

From this repository's GitHub repository description:

Seeed Light Sensor library

But in fact this is not a library. It's a sketch. This will cause confusion for the users regarding how to install and use this code and when they install it as a library it causes the Arduino IDE to display an "Invalid library found" warning on every compilation.
See: https://github.com/MediaTek-Labs/linkit-7697-peripheral-drivers-for-arduino/issues/1

Done

Hi @baorepo. Unfortunately it is not done.
Look under the "About" section of the repository home page:

Please either correct the description immediately, or else reopen this issue so that the maintainers can effectively track the task of fixing it.

Okay, I've corrected it.


Pin proj4

@dopplershift just noticed that the recent update from proj.4 4.9.2 to 4.9.3 broke cartopy. Unfortunately that means we need to pin proj.4 down to the patch number.
I am experimenting here and, if it works, updating the pining script.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

🎉  :shipit:

@pelson I am merging this b/c I know it will be a while until you are able to review stuff here. But please let me know if you are OK or if you know a better solution for this.
PS: here is some new skills you should learn :stuck_out_tongue_winking_eye:

👍


Is there a way to have fixed headers in the grid, and set a max-height, and scroll vertically if there are more rows than the max-height?

.Net 8
Blazor Server
Blazor.Bootstrap Version=1.10.5

@roysurles Thank you for using BlazorBootstrap. Please take look at https://docs.blazorbootstrap.com/components/grid#fixed-header.

demos: https://demos.blazorbootstrap.com/grid


Fix spelling of tessellation

I think this will only affect the people using the classifier boundary view so I will merge; not sure how many people are using that, but now it's time to clean up.


Request: Opt-out of collapsing multiple lines of whitespace between sections

I'm really enjoying working with this extension, but when I save a modified TOML file I find that multiple lines (two in my case) of whitespace between sections are collapsed into one.
I looked, but didn't find an existing setting to opt out of this behavior. Is there an option for this that I've overlooked?
Thanks in advance and also for creating the Even Better TOML VSCode extension!

Thank you, I'm glad you like it!
I will add a setting for max allowed empty lines, it should be trivial to implement.
I don't know when as I'm a bit overwhelmed with other projects right now, but I'll make some time for this eventually.

I've added the evenBetterToml.formatter.allowedBlankLines option, and bumped the default to 2.
The new version is not yet released, as I'm still working on it, but I'll release it today.

@tamasfe That's awesome, thanks!


Separate new persons images into groups

Hi,
I do the collection data from the surveillance camera, then it get millions of images of about thousand peoples.  Now I have to separate those images into sub folder for each person. I use clustering algorithm (ex. Kmeans) on embedded vectors of  images, it works but does not obtain accuracy
Any suggest.

@nguyenhong86thinh the accuracy can be calculated by distance threshold between those embedings.
I've scratched a way to find the distance threshold at #324
Accuracy % can probably be calculated by: max (100,100 * threshold/ smallest)
If you speak vietnamese, email me at: davidvu98@gmail for further discission
Hope this helps!

Hi,
There are plenty of previous issues that discusses this. Have you looked at e.g. #140?


Minor fixes

all component file deleted but forgot to remove import entry
removed extra elements from HTML left while resolving conflict

fixed in @Julias0 PR closing this


Dispatch custom events on update and fix scroll-end event not being triggered when dragging

See commit descriptions for more info.

Thank you @axelboc! I'll have a look at this soon.

Awesome, thanks! :+1:


docs: fix DTO Data section with a new example

Link: https://docs.litestar.dev/latest/usage/dto/1-abstract-dto.html#dto-data
There were several issues:

Model was renamed to User from Person
There was no 500 error no more
Explanation about default field was missing
CreatePerson should be better named UserCreate "noun-verb" to better group models
Code highlight was marking wrong lines

@Alc-Alc thank you for quick reviews! 👍


Console

udpate console

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.hongfu.phf seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


feat: modify component configuration during runtime

Signed-off-by: seeflood<EMAIL_ADDRESS>What this PR does:
modify component configuration during runtime

[x] implement lifecycle API
[x] add a demo component
[x] generate api reference doc
[x] fix license
[ ] add a quickstart document
[ ] add the quickstart doc into the CI
[ ] add the quickstart doc into the sidebar
[x] add more test cases

Which issue(s) this PR fixes:

Fixes #500
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

I will add the documentation in some other PR, after developing the doc-generator.


Question about usage and credit

Hello Alessandro,
I been using your toaster for different projects of mine before and think its great. And why reinvent the wheel?
Now we just first released our open source Blazor Component library under MIT license MudBlazor, GitHub Page
I just want to ask for your permission to "borrow" some of your code in our project. We will use it in a modified version as a snackbar, massage/notification type. We would also like to give you proper credit with your name and link to your GitHub if you agree of course.
Thanks in advance!

Hi Jonny,
I'm very glad if this library has been useful even if I neglected if for almost an year.
Anyway, it is licensed under MIT too so feel free to borrow whatever you need: I'll make sure to check your library as soon as I'll be able to work on Blazor again.
Thanks for stopping by.
Ciao!

Hi Jonny,
I'm very glad if this library has been useful even if I neglected if for almost an year.
Anyway, it is licensed under MIT too so feel free to borrow whatever you need: I'll make sure to check your library as soon as I'll be able to work on Blazor again.
Thanks for stopping by.
Ciao!

Awesome thanks, will update live website tomorrow with you name and repo in credits! Thanks.


Fix static URLs, allow anonymous access

Adds a public_view so these XBlocks can be viewed by anonymous users.
An API in the new runtime to rewrite static URLs was renamed (to transform_static_paths_to_urls), so adding an asset with a URL like /static/foo.png was not working.
Also the document XBlock wasn't rewriting its URL at all in student_view_data (the image XBlock was, however).

:+1:

[x] I tested this: I verified that this fixes issues when uploading images and documents.
[x] I read through the code


⚠ Turnos 24x7 has degraded performance

In bbc7466, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 2430 ms

Resolved: Turnos 24x7 performance has improved in 75d7ddf.


Is it possible to add the custom HTTPS certificate using ARM template

It's possible to create the CDN endpoint with a custom domain name using an ARM template. Is it also possible to add HTTPS support for that endpoint in the ARM template?

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

ID: beac0740-af6e-61ce-bcfa-e783ca181b7d
Version Independent ID: d97885ea-b051-5fde-bd14-ec977e34760e
Content: Tutorial - Configure HTTPS on an Azure CDN custom domain
Content Source: articles/cdn/cdn-custom-ssl.md
Service: cdn
GitHub Login: @mdgattuso
Microsoft Alias: magattus

@rwatjen you can use resources.azure.com to view the current JSON of existing resources. With this, you can enable HTTPS on an existing CDN and see how the JSON would change for a template.

@TravisCragg-MSFT thank you. It doesn't seem to be settable in the ARM template that creates the custom domain, but I hadn't noticed that by clicking on the "Actions (POST, DELETE)" tab after having navigated to the customDomain, it lists the different possible operations. One of them is "enableCustomHttps".

@rwatjen : we are stuck on the same problem as you.
Could you elaborate on how you solved this?
And have you managed to implement this in a release-pipeline?
Best regards, Tobias

@taxx : As I wrote, it doesn't seem possible to do inside the ARM template. But post-deployment of the ARM template, you can call this URL:
POST https://management.azure.com/subscriptions/<subscriptionid>/resourceGroups/<resourcegroupname>/providers/Microsoft.Cdn/profiles/<CDNprofilename>/endpoints/<endpointname>/customDomains/<custom-domain-identifier>/enableCustomHttps?api-version=2016-10-02
Subsequently, you can check the status using this request:
GET https://management.azure.com/subscriptions/<subscriptionid>/resourceGroups/<resourcegroupname>/providers/Microsoft.Cdn/profiles/<CDNprofilename>/endpoints/<endpointname>/customDomains/<custom-domain-identifier>?api-version=2016-10-02
The response from that looks like this:
{
"name": "<custom-domain-identifier>",
"id": "/subscriptions/<subscriptionid>/resourcegroups/<resourcegroupname>/providers/Microsoft.Cdn/profiles/<CDNprofilename>/endpoints/<endpointname>/customdomains/<custom-domain-identifier>",
"type": "Microsoft.Cdn/profiles/endpoints/customdomains",
"properties": {
  "provisioningState": "Succeeded",
  "resourceState": "Active",
 "hostName": "<customdomainname>",
  "validationData": null,
 "customHttpsProvisioningState": "Enabling"
}
}

You need to authenticate the web requests. There is a blog post where someone has created a Powershell script to authenticate and add the certificate from Keyvault: https://www.nlymbery.com.au/2018/10/azure-cdn-automate-provisioning-custom-certificate/
I haven't implemented it yet, nor have I taken a detailed look at the script, but I'm pretty sure that it can be used as a starting point to using an Azure provided certificate, because then I seem to recall you don't need a body in the original POST request.


Synchronous function running asynchronously in handle hook

This issue tracker is intended to collect bug reports and feature requests.
For help with installation, information on how features work, or questions about specific features of SvelteKit, please come and join us in the Svelte Discord, or ask your question on Stack Overflow. Any issues open for help requests will be closed to keep from clogging up the issue tracker.
Hey there!
The Discord community and I have gone over this with no solutions.
The statements in my handle implementation are running out of order. Specifically, I have a function called get that retrieves a session from my session store if a session cookie exists in the browser on the incoming request. This function is synchronous. When a cookie is found in the browser, handle correctly calls get. However, it continues on after get and runs the statements after it before get returns. This is behavior I would expect from forgetting to await an async function, but this is a synchronous function.
My handle implementation:
export const handle: Handle<AppContext> = async ({ request, render }) => {
    const { headers, path } = request;

    console.log(`Processing request in handle hook. Path: ${path}`);

    const cookies = cookie.parse(headers.cookie || '');

    let locals: AppContext;
    let persistedLocals: AppContext | null = null;
  if (cookies.sessionId) {
    console.log(`cookies.sessionId: ${cookies.sessionId}`)
    persistedLocals = get(cookies.sessionId);
    console.log(`persistedLocals from cookie: ${JSON.stringify(persistedLocals)}`)
    }

    if (!(persistedLocals === null)) {
        locals = persistedLocals;
    } else {
        locals = {
            auth: BaseAuthContext,
        };
    }

    if (!locals.auth.isAuthenticated && !(path === '/auth/login/aad/callback')) {
        // user needs to interactively sign in
    console.log(`This should NOT run before get(cookies.sessionId) returns`)
        const loginUrl = await provider.getLoginUrl();

        return {
            status: 302,
            headers: {
                location: loginUrl,
            },
        };
    } else {
        request.locals = locals;
        return render(request);
    }
};

Running this logs:
Processing request in handle hook. Path: /
cookies.sessionId: a3c5dfc8-dacf-49f8-b97a-992e993213da
Retrieving stored session a3c5dfc8-dacf-49f8-b97a-992e993213da
persistedLocals from cookie: null
This should NOT run before get(cookies.sessionId) returns
Finished retrieve operation...
// log the value of parsedSession in get

Here's the implementation of get:
const get = (id: string): AppContext | null => {
    let parsedSession: AppContext | null = null;

  try {
    console.log(`Retrieving stored session ${id}`)
    tableService.retrieveEntity<SerializedAppContext>(tableName, '', id, (error, result) => {
      console.log(`Finished retrieve operation...`)
            if (!error) {
                console.log(JSON.stringify(result));

                parsedSession = JSON.parse(result.state._);
            } else {
                console.log(error.message);
            }
        });
    } catch (e) {
        console.log(e);
    }
    return parsedSession;
};

I have also tried wrapping get in a Promise and awaiting it in handle to see if it forces it to run synchronously, but it does not.
Any ideas? I can't tell if this is an "I don't understand something about JavaScript" error or if this is an issue with SvelteKit.

tableService.retrieveEntity takes a callback. It doesn't return synchronously. get needs to return a promise that resolves once the callback fires

Thanks @Rich-Harris. That was a quirk I didn't know about. You learn something new every day.


Error format URL shema

PS D:\Python\sf-downloader> kinescope-dl -r https://lms.skillfactory.ru/ --best-quality https://kinescope.io/embed/uyWMhQwGjCH8JBiQ7etKku?externalid=5795 video.mp4
= OPTIONS ============================
[*] 1080p is selected
= DOWNLOADING =================
Video:   0%|          | [0/5]
Traceback (most recent call last):
File "kinescope-dl.py", line 73, in
File "click\core.py", line 1157, in call
File "click\core.py", line 1078, in main
File "click\core.py", line 1434, in invoke
File "click\core.py", line 783, in invoke
File "kinescope-dl.py", line 64, in main
File "kinescope\downloader.py", line 146, in download
File "kinescope\downloader.py", line 113, in _fetch_segments
File "kinescope\downloader.py", line 94, in _fetch_segment
File "requests\sessions.py", line 602, in get
File "requests\sessions.py", line 575, in request
File "requests\sessions.py", line 486, in prepare_request
File "requests\models.py", line 368, in prepare
File "requests\models.py", line 439, in prepare_url
requests.exceptions.MissingSchema: Invalid URL '0/78644115/1080p.mp4?kcd=AAAAAABAr0A': No scheme supplied. Perhaps you meant https://0/78644115/1080p.mp4?kcd=AAAAAABAr0A?
[2344] Failed to execute script 'kinescope-dl' due to unhandled exception!

такая же проблема:
kinescope-dl https://kinescope.io/18403498-a144-4d5a-8eb2-7ea333895ad6 output.mp4

= OPTIONS ============================
1) 360p   2) 480p   3) 720p   4) 1080p
> Quality: 4
[*] 1080p is selected
======================================

= DOWNLOADING =================
Video:   0%|          | [0/7]
Traceback (most recent call last):
  File "kinescope-dl.py", line 73, in <module>
  File "click\core.py", line 1157, in __call__
  File "click\core.py", line 1078, in main
  File "click\core.py", line 1434, in invoke
  File "click\core.py", line 783, in invoke
  File "kinescope-dl.py", line 64, in main
  File "kinescope\downloader.py", line 146, in download
  File "kinescope\downloader.py", line 113, in _fetch_segments
  File "kinescope\downloader.py", line 94, in _fetch_segment
  File "requests\sessions.py", line 602, in get
  File "requests\sessions.py", line 575, in request
  File "requests\sessions.py", line 486, in prepare_request
  File "requests\models.py", line 368, in prepare
  File "requests\models.py", line 439, in prepare_url
requests.exceptions.MissingSchema: Invalid URL '0/80686858/1080p.mp4?kcd=AAAAAABAr0A': No scheme supplied. Perhaps you meant https://0/80686858/1080p.mp4?kcd=AAAAAABAr0A?
[17892] Failed to execute script 'kinescope-dl' due to unhandled exception!

@anijackich нужна ваша помощь 🙏🙏🙏

Same problem

c:\Temp>kinescope-dl.exe https://kinescope.io/bXeuA6gaNihMPU9pYNTooy/plD6MhKU .\5.mp4
= OPTIONS ============================

360p   2) 480p   3) 720p   4) 1080p
Quality: 3
[*] 720p is selected
======================================

= DOWNLOADING =================
Video:   0%|          | [0/7]
Traceback (most recent call last):
File "kinescope-dl.py", line 73, in
File "click\core.py", line 1157, in call
File "click\core.py", line 1078, in main
File "click\core.py", line 1434, in invoke
File "click\core.py", line 783, in invoke
File "kinescope-dl.py", line 64, in main
File "kinescope\downloader.py", line 146, in download
File "kinescope\downloader.py", line 113, in _fetch_segments
File "kinescope\downloader.py", line 94, in _fetch_segment
File "requests\sessions.py", line 602, in get
File "requests\sessions.py", line 575, in request
File "requests\sessions.py", line 486, in prepare_request
File "requests\models.py", line 368, in prepare
File "requests\models.py", line 439, in prepare_url
requests.exceptions.MissingSchema: Invalid URL '0/78671076/720p.mp4?kcd=AAAAAABAr0A': No scheme supplied. Perhaps you meant https://0/78671076/720p.mp4?kcd=AAAAAABAr0A?
[25852] Failed to execute script 'kinescope-dl' due to unhandled exception!

@anijackich all hope is on you


Nitya

I just create a hybrid inheritance file.plz check out this and merge it.

Fix file name

new


Replace links with file uploads for AASHE publications

I noticed that AASHE publications in the Hub typically include links rather than an actual upload of the file (e.g., athletics survey, staffing survey, revolving loan fund guide).
This links may break when we transition to the new website and new server so we'll need to actually upload the files into the Hub and remove the links.

In the case of publications that have a publication landing page (such as the staffing survey), we will want to redirect or update the resources directly.
In other cases, such as the other two examples here, these should be pdf uploads instead of links anyway, so we should update these when we see the issues come up. In general I tried to classify these as files instead of links during the migration process but it looks like I missed some. I'll fix these two. Julian, if you see any others that don't link to a landing page, feel free to give me a heads up or making the change in admin.

I think this was fixed when I went through the AASHE publications, but we'll have to check once the broken links issue is addressed.


App should list all job offers

It doesn't require authentication
It should paginate (?)

Only those job offers that were approved by an admin should be listed.

Fields:

Title
Description
Status
Salary (range or fixed?)
Level (seniority level?)
Type (?)

It shouldn't paginate for this first iteration.


update to recent sbt

are there any plans to do that?

Update, a ubiquitous term in the digital era, signifies the constant evolution of information, technology, and knowledge. This essay explores the dynamic essay writing service concept of updates, from software upgrades to the ongoing quest for current and accurate information. It delves into the impact of updates on industries, communication, and the ever-changing landscape of our interconnected world.

An essay is a versatile literary form that provides writers with a platform to convey their thoughts, ideas, and arguments on a particular topic or subject. Essays encompass a broad spectrum of styles, including do my assignment narrative, descriptive, persuasive, and expository. They require meticulous research, critical analysis, and thoughtful organization to effectively communicate a coherent message. Essays serve as a powerful medium for intellectual exploration and expression, allowing writers to engage readers, provoke thought, and contribute to the ongoing discourse on various subjects. An essay is a written form of expression that allows individuals to articulate their thoughts, ideas, and arguments on a specific subject or topic. It serves as a platform for intellectual discourse and knowledge dissemination. Essays vary in style, from informative and persuasive to descriptive and narrative. They require comprehensive research, critical analysis, and skillful organization of information to effectively convey a coherent and persuasive message to the reader, making them a vital tool in academic, professional, and creative writing.


Bootstrap 3 and glyphicons (fonts)

I finally found the setup that works with Bootstrap (I had problems with tests when using Bootstrap 4 alpha). So now I use Bootstrap 3 and almost everything works - the app and the tests.
The only issue I have now with glyphicons and bootstrap fonts. For example, when I use

the icon is not loaded and here's what I get in the console:

browser_adapter.js:170 GET http://<IP_ADDRESS>:3000/node_modules/bootstrap/fonts/glyphicons-halflings-regular.woff2  - 404

Obviously, nothing like 'node_modules/...' exists so how do I set it up with webpack?
Currently, I use .less and these loaders:
 {test: /\.less$/, loader: 'raw-loader!less-loader'},
      {test: /\.(png|jpg|gif)$/, loader: 'file-loader'},
      //{ test: /\.(png|woff|woff2|eot|ttf|svg)$/, loader: 'url-loader?limit=100000' }
      {
        test: /\.woff(\?v=\d+\.\d+\.\d+)?$/,
        loader: "url?limit=10000&minetype=application/font-woff"
      }, {
        test: /\.woff2(\?v=\d+\.\d+\.\d+)?$/,
        loader: "url?limit=10000&minetype=application/font-woff"
      }, {
        test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/,
        loader: "url?limit=10000&minetype=application/octet-stream"
      }, {
        test: /\.eot(\?v=\d+\.\d+\.\d+)?$/,
        loader: "file"
      }, {
        test: /\.svg(\?v=\d+\.\d+\.\d+)?$/,
        loader: "url?limit=10000&minetype=image/svg+xml"
      }

Please help with this one. That's the only issue (for now) that stops me from using term 'an ideal web app setup for Angular 2' :)

This is a duplicate of #508

ok, added link to bootstrap css and got it working! thanks!

@alvipeo Can you tell me how to do it?

I just added  to bootstrap cdn in my index.html

+1. Anybody?

+1, I referenced ng2-bootstrap which is working (loading the NgModule into app.module and it's fine, all component loaded everywhere). But 404 on icons -> GET
http://localhost:3000/fonts/bootstrap/glyphicons-halflings-regular.woff2
Any idea ? I don't wanna use remote ones by inserting a line in index. I wanna use those stored in node_modules. Is there a way to tell webpack to copy fonts from node_modules or something ?

+1, same problem here...

+1 user bootstrap4 ,not add .bootstraprc file. the glyphicons is build  , but browsers add </sapn> not show .


Integrate flysystem modal into CMS page and block form

Since the modal is already integrated into the products and categories form, it would be also great to add access to the modal inside the forms for cms pages and blocks.
An idea not to overflood the page with to many buttons, and add easily the button also for the wysiwyg, and also for the html view of the content, an idea is to place the button to open the new flysystem browser inside the default cms mediabrowser. So you can "swap" the modal from the default to the flysystem.... and also backwards.

This is done in Version 0.1.7


added WYSIWYG Editor Autocompleter hack

Hi, thank you for those great hacks. I already customized my BookStack instance a lot. What was missing for me was an "autocompleter". Got it working after a few tries. Hope to give something back to the community.

Ah, sorry! I missed the editor variable because I stripped the PR from my personal code.
Thank you for the side node. JavaScript isn't my strong suit. I will update the PR soon.

Thanks @razem-io!
I done a quick review pass/update in 2865dd844834494269e4f285ba9f28d659a85864, just to adjust/add/remove docs/wording,
logic remains the same.
Now live at: https://www.bookstackapp.com/hacks/wysiwyg-autocompleter/


feat: add etherscan-source to cast

Ports seth etherscan-source to cast
$ cast etherscan-source --chain <chain> <contract-address> --etherscan-api-key <api-key>
Fixes required -

Escape sequence characters are not interpreted.
Probably better to use NameOrAddress type for contract address, but I was unable to figure it out.

Would appreciate any feedback as I am only starting out with rust.

Hey - this is already implemented here! Do you want to replace your logic with the one from this function?

Hey - this is already implemented here! Do you want to replace your logic with the one from this function?

cool, I'll do it.

Just need to fix the lint errors and good to go!

This is weird. Tests run fine on my machine, including clippy. Would you like me to make any changes?

All good - had to rebase and add the import


CR: Reintroduce manufacturer Logo's into the application, instead of text links

We need to go back to the provider logo's instead of the blue text links. The change did not have the desired effect.
We should still keep the modal on click etc.

This ticket is not ready to implement. A simple revert is not possible. The spacings and layout of the OfferCarts has changed. (There is not enough space for that anymore).
I suggest to create a design for that change.


Add config consistency tests for DD_SERVICE

Motivation
Adding tests for tracing configs to make sure implementation across all languages are consistent, based upon the following RFC.
Changes

Add test cases for when DD_SERVICE is specified, as well as when it is not included.
Included in existing tracing_configuration_consistency feature.
All tests are currently marked as missing_feature in the manifest files
Ticket Link: APMAPI-657

Workflow

⚠ Create your PR as draft ⚠
Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
Mark it as ready for review

Test logic is modified? -> Get a review from RFC owner. We're working on refining the codeowners file quickly.
Framework is modified, or non obvious usage of it -> get a review from R&P team

:rocket: Once your PR is reviewed, you can merge it!
🛟 #apm-shared-testing 🛟
Reviewer checklist

[ ] If PR title starts with [<language>], double-check that only <language> is impacted by the change
[ ] No system-tests internal is modified. Otherwise, I have the approval from R&P team
[ ] CI is green, or failing jobs are not related to this change (and you are 100% sure about this statement)
[ ] A docker base image is modified?

[ ] the relevant build-XXX-image label is present

[ ] A scenario is added (or removed)?

[ ] Get a review from R&P team

Failure are not related, you can merge


Config::wasm_bulk_memory(false) cannot be usefully specified without enabling the gc feature.

Test Case
N/A
Steps to Reproduce

Depend on wasmtime with the runtime feature, but without the gc feature;
Set Config::wasm_bulk_memory(false) (cannot set Config::wasm_reference_types);
Invoke the runtime.

Expected Results
The wasm_reference_types feature should be considered disabled (and/or it should be possible to disable the feature without enabling the entire gc feature.)
Actual Results
wasmtime returns Err(feature 'reference_types' requires 'bulk_memory' to be enabled)
Versions and Environment
Wasmtime version or commit: 26.0.1
Operating system: Linux
Architecture: x86_64
Extra Info
wasm_reference_types config was not hidden behind a feature in the past. I'm attempting to update wasmtime from 14.0.1.
REFERENCE_TYPES gets set by the default set of supported features via WasmFeatures::WASM2.
My suggestion here is that Config parameters perhaps should not be gated by crate features.

Thanks for the report! I've updated this in https://github.com/bytecodealliance/wasmtime/pull/9623 to remove this now-unnecessary validation.
It's also perhaps worth noting that this is something where you may want to run wasmparser::validate ahead of time with a custom feature set if you're looking to turn off some features. That way you can be sure to disable reference-types even when the gc feature is disabled (as otherwise it'll always be enabled, it's just gc types that are disabled)


go/types: documentation on instance de-duplication is unclear about guarantees

Just re-reading our documentation for instance de-duplication, I don't think we make it clear enough that there are currently no strict guarantees about pointer identity of the instances produced when using a Context.
In my opinion it is worth clarifying this in 1.18.1. Opening this issue to track.
CC @griesemer

@gopherbot please backport to 1.18, this is important to clarify in our documentation.


Add OpenLIT to CNCF and CNAI Landscape

Pre-submission checklist:
Please check each of these after submitting your pull request:

[x] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[x] Is your project closed source or, if it is open source, does your project have at least 300 GitHub stars?
[x] Have you picked the single best (existing) category for your project?
[x] Does it follow the other guidelines from the new entries section?
[x] Have you added your SVG to hosted_logos and referenced it there?
[x] Does your logo clearly state the name of the project/product and follow the other guidelines?
[x] Does your project/product name match the text on the logo?
[x] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?

Hi @patcher9
We've just updated the landscape.yml file validation process to allow using the x.com domain in Twitter urls 🙂 (we saw that this raised an error in your previous PR)

No worries! I'll deploy it shortly, please leave it with the x.com domain 😉

Done! The preview should not complain about the invalid Twitter url anymore.

Hi @patcher9
A teammate will review it soon, don't worry 🙂
Regarding the validation check question: the workflow needs to be approved first by a maintainer. But this validation is also done during the preview setup, so you should be fine. It's just some extra precaution so that changes that break the data file cannot be committed.


Fix remove provide term di

Summary by CodeRabbit
Release Notes

New Features

Updated the dependency injection system to use token instead of provide for provider registration, enhancing clarity and consistency across the codebase.

Bug Fixes

Improved test coverage for the InjectorService, ensuring robust handling of various provider scopes and error scenarios.

Documentation

Updated documentation to reflect the change from provide to token in the @Injectable() decorator and related interfaces.
Enhanced clarity in the documentation regarding the usage of controllers and decorators in the Ts.ED framework.

Tests

Expanded test cases for the AutoInjectable decorator and other components to validate new token registration behavior and error handling.
Updated tests to reflect the new terminology and structure for provider registration.

Chores

Refactored provider registration methods to streamline the syntax and improve encapsulation in the Provider class.
Updated the Vitest configuration to adjust coverage thresholds and exclude specific patterns from coverage reports.

:tada: This PR is included in version 8.0.0 :tada:
The release is available on:

v8.0.0
GitHub release

Your semantic-release bot :package::rocket:


unsupported LBType LoadBalancer

Hi there,
applying an ingress doesn't work for me.
After some time haproxy gets deployed. (Is it normal that this takes some time?)
But it's not getting ready.
kubectl describe ingress.voyager.appscode.com ingressname outputs:
Warning  IngressInvalid                 9m55s  voyager operator  Reason: ingress namespace/ingressname uses unsupported LBType LoadBalancer for cloud provider
I hope someone can help me.
Maximilian

I'm getting the same now with:
provider=azure helm install appscode/voyager --name voyager-operator --version 9.0.0 --set cloudProvider=$provider

I've been getting this on EKS

Same on GKEm helm version 11.0.1


feat(run): add unit tests to various run actions

Signed-off-by: AmitKumarDas<EMAIL_ADDRESS>

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