Fabio looker/marketo endpoint enhancements

PR adds additional modes to the Marketo action, specifically:

Being able to update leads WITHOUT providing a campaign ID
Being able to update leads and add them to a list
Being able to update leads and remove them from a list

Fixing TS lint stuff...

cc: @phillipperalez

@jdavidson or @wilg could one of you review this? Phillip's focusing on alerts work this week

I'll try to take a look in a bit. Why not make each of the four different behaviors 4 different actions?

@jdavidson No particular reason. It just seemed like a pretty big code change to make separate actions for each.

I strongly prefer having them all in one from a UI perspective. Just feels like it'd be overwhelming in the picker to start having many of each logo
Best,
-d
On Apr 18, 2019, 5:31 PM -0400, fabio-looker<EMAIL_ADDRESS>wrote:

@jdavidson No particular reason. It just seemed like a pretty big code change to make separate actions for each.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Please hold on review until tomorrow. I need to fix bug that I introduced during my "fixing" of Typescript linter warnings. And also the test that I thought should catch this case should be expanded...

Btw, this should now be good for review

Just pinging @wilg and @jdavidson on this to see if one of you can take a look.

I have a prospect in trial very interested in this - do we have an ETA on it?

Approving the readme changes.

@fabio-looker we did some testing of this on dev, and while generally it looks great, there's one bug that I think we need to fix before releasing. When we upgraded from v1 to v2, we used a test schedule to make sure that it didn't break, and unfortunately it did :-(
The behavior I saw was that upon upgrade, the existing schedule correctly kept the custom lookup field that I'd entered for the saved schedule, but it lost the campaign_id (it went to blank in v2) and the dropdown defaulted to none, rather than addCampaign (which it will always be if it's coming from v1).
Is that something you can take a look at?

Certainly. I'm at the hackathon today. If I take a look by Friday is that alright?

Yup! Thanks.
Best,
-d
On Sep 25, 2019, 4:11 PM -0400, fabio-looker<EMAIL_ADDRESS>wrote:

Certainly. I'm at the hackathon today. If I take a look by Friday is that alright?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


Fixes to UI Tests related to LS

Codecov Report

Merging #7659 into master will decrease coverage by 0.76%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #7659      +/-   ##
==========================================
- Coverage   58.68%   57.92%   -0.77%
==========================================
  Files         493      493
  Lines       21997    21642     -355
  Branches     3533     3528       -5
==========================================
- Hits        12909    12536     -373
- Misses       8279     8289      +10
- Partials      809      817       +8

Impacted Files
Coverage Δ

...nt/datascience/jupyter/invalidNotebookFileError.ts
0% <0%> (-75%)
:arrow_down:

.../client/datascience/jupyter/jupyterConnectError.ts
0% <0%> (-66.67%)
:arrow_down:

...science/jupyter/jupyterKernelPromiseFailedError.ts
0% <0%> (-50%)
:arrow_down:

...ent/datascience/jupyter/jupyterWaitForIdleError.ts
0% <0%> (-50%)
:arrow_down:

src/client/common/utils/platform.ts
64.7% <0%> (-23.53%)
:arrow_down:

src/client/language/characters.ts
12% <0%> (-21.34%)
:arrow_down:

src/client/testing/codeLenses/main.ts
60% <0%> (-17.78%)
:arrow_down:

src/client/datascience/cellFactory.ts
72.34% <0%> (-17.32%)
:arrow_down:

src/client/common/platform/pathUtils.ts
66.66% <0%> (-5.56%)
:arrow_down:

src/client/linters/pydocstyle.ts
84.61% <0%> (-5.13%)
:arrow_down:

... and 33 more

Continue to review full report at Codecov.

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


typo

The bold-italic marked word "foreground" should be "background".
citation:
Maximum Background Download Bandwidth
Starting in Windows 10, version 1803, specifies the maximum background download bandwidth that Delivery Optimization uses across all concurrent download activities as a percentage of available download bandwidth. The default value of "0" means that Delivery Optimization dynamically adjusts to use the available bandwidth for foreground downloads. However, downloads from LAN peers are not throttled even when this policy is set.

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

ID: 1a90fbf8-f755-5b82-5c21-fde7e30bd395
Version Independent ID: 1a90fbf8-f755-5b82-5c21-fde7e30bd395
Content: Delivery Optimization reference - Windows Deployment
Content Source: windows/deployment/do/waas-delivery-optimization-reference.md
Product: w10
Technology: windows
GitHub Login: @carmenF
Microsoft Alias: carmenf

Thanks @lumirjasny for the feedback! The change should publish tomorrow morning Pacific time.
In the future, you can submit these changes yourself! 😉 For more info, see http://docs.microsoft.com/contribute on how to make quick edits to documentation.


backports to 1.1 2018-08-28

#5300
#5284
#5252
#5250
#5230
#5206

This change is

test-me-please

test-me-please

New PR created here, https://github.com/cilium/cilium/pull/5443

Closing in favor of #5443


[WebUI] Time stamp in server log contains no zeros

Time stamps such as 2016-04-13 13:01 are shown as 2016-4-13 13:1.

+1
looks dumb without zeroes

you know you can literally do a +1 now, right? :smile:


Training exited with error code 126

I'm seeing the following error when I try to train a model:
Sun Jul 21 21:02:29 UTC 2019: Running Tensorflow job
/usr/local/bin/train.sh: line 38: ./start.sh: Permission denied
Training exited with error code 126
Failed: learner_exit_code: 126

I double checked the credentials I have set on the bucket and machine learning instance, and don't see any issues. I'm uploading the model to the same bucket as the training data as well. Any ideas? Thanks

I’ve seen a couple get this error today, I’ll check it out

Should be fixed if you update cloud annotations cli

It's working. Thanks for the quick response!


Cannot fastfoward remote video files

Issue description
If you try to fastfoward a video (a remote one), you simply cant. If you use a local video, you can fastfoward normally.
Tryied using a MKV file and a Mp4 file. So maybe it's not a codec issue ?
Steps to Reproduce

Add a movie and choose a link for the video file outside your home server (eg: someplace.com/video.mp4)
Play the video and try to fastfoward it.

Expected Behaviour
You should be able to advance the video to the time you want.
Actual Behaviour
The video bar wont go foward and the video don't fastfoward to the position you want.
Environment Information

Operating System: CentOS 7
Streama version: 1.8

so that other server needs to handle certain html5 headers, such as the range header and the progressive download.. check out this guide http://ronallo.com/blog/html5-video-everything-i-needed-to-know/

Due to inactivity surrounding this topic I am closing it. If this is not solved please reopen the issue.


[Feature] Readme Restructuring

Describe the feature you'd like to request
An Appealing Readme will enhance the overall overview of the project that is currently missing in your project readme.
Describe the solution you'd like
Restructuring the whole readme file with details about the project will help your project to be more understandable to the contributors. I am a SWOC'24 Mentor raising this issue for contributors to contribute.
Describe alternatives you've considered
No response
Additional context
No response

Hey @LegendSumeet as I mentioned I am SWOC Mentor and not a contributor I raised this issue for contributors to contribute in your project and If you agree I am happy to be a mentor for this project.

Can i contribute to this project..


v.1.2.0 Changelog

Hey I already know what will be happening with the next release. It'll change up the way subtasks are executed, so it'll be a minor release.

Utilize a CLI manager (like maybe the cli node module) to deal with all the things like having help output and managing issues with the arguments. Will turn wpkit db:push stage into something a little more user friendly, wpkit db push stage.

Refactors the Database class to pre-cache all the required configurations, instead of calling get() every time. In theory will be more efficient, but won't change the user experience at all.

Bit of a change here. The Database refactor made it into the 1.1.1 release. Most of the work towards integrating the new cli has been completed, so that will be the 1.2.0 release.


Update to typescript 5.0

What happened?
Typescript 5.0 has been released for a while.
Typescript 5.1 has been release recently.
However
peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>
is preventing from using latest TS.
Affected Package
@rnx-kit/typescript-service
Version
1.5.6
Which platforms are you seeing this issue on?

[ ] Android
[ ] iOS
[ ] macOS
[ ] Windows

System Information
Not relevant here.

Steps to Reproduce
npm i @rnx-kit/typescript-service --save-dev
npm i typescript --save-dev

Code of Conduct

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

How does it prevent latest TypeScript from being used? >=4.0 should resolve to any version as long as it's 4.0 or greater. That should include any 5.x.
This is yarn.lock in our repository:
https://github.com/microsoft/rnx-kit/blob/9b365f20810f273440c27f898e76dfe4a0563046/yarn.lock#L13280-L13282
I only see one version of TypeScript when following your repro steps:
% npm why typescript
<EMAIL_ADDRESS>node_modules/typescript
<EMAIL_ADDRESS>from the root project
  peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>  node_modules/@rnx-kit/typescript-service
    dev<EMAIL_ADDRESS>from the root project

also: we're staying aligned with React Native core and TS5 will only be done in RN 0.73

Closing due to inactivity.

we're staying aligned with React Native core and TS5 will only be done in RN 0.73
got it. Thanks for reply.


Pioneers not being properly reassigned to worker roles

In colonize.ts -> run(), pioneers are correctly reassigned to miningOverlords but are not correctly reassigned to worker overlords. Unsure as to why at this time.

I noticed this and the strange thing is that the pioneer's C memory key was the name of the colony that spawned the pioneer and not the name of the new colony. This seemed to result in it not being part of this.overlords.pioneer.pioneers. This could be the result of the original reassign going wrong (I didn't add debugging until after) or it could be that the pioneers were assigned to the wrong room to begin with, though that would suggest that reassigning to mining wouldn't work either. I didn't see that work, I just noticed that there was a pioneer doing nothing.

Based on the logging I added in #109, it's obvious that reassignment works for both miners and workers, some of the time. I think the edge case may be pioneers that aren't yet assigned to this colony, i.e. pioneers that are being spawned or are on their way to the room. Does that seem like a probable cause?


Add flake8 to testing

FileNotFoundError, FileExistsError, NotADirectoryError exist in Python 3 but not in Python 2.
file(), long, unicode exist in Python 2 but not in Python 3.

Thanks for the contribution! I had planned to add pylint sometime (there is still an old pylint.rc lying around in the root dir), but never got to it.
I haven't used flake much (more used to pep8 and pylint) - are there any options to disable warnings in the code at specific places like for pylint? I don't want to have these warnings about long etc there, as they are expected, and in some places there are already pylint directives in the code.
Also, it would be nice to exclude the pathlib stuff from Python 2 builds, as it is Python 3 only, to exclude these warnings too.
As for line length - I personally am used to something like 120 characters per line, but lately tried to change it to the standard 79 characters, as this is enforced in another project I'm working on.
So, basically, I like the PR, but to be more helpful it would make sense to exclude the unwanted warnings and errors and fix the rest (otherwise it will just be ignored). WDYT?

Pylint does not find undefined names.
Put # noqa on lines you want ignored.
—exclude directories or individual files

Ok, thanks.
That pylint does not find undefined names is strange - it should.
The rest seems to be like in pep8 - I still like pylint better because you have better control - #noqa disables checks for the line at all.
I may have another look in the evening - can't promise, though, after that, I will have access to a computer only somewhere next week.

flake8 is PEP8 (now called pycodestyle) + pyflakes + McCabe cyclomatic complexity so it is a complete superset of PEP8.  All of these tools (including pylint) live at https://github.com/pycqa

You can also write # noqa: F821 to only suppress one particular alert

Ah, ok - thanks, didn't know that.
I will check if I can get this to build without errors first, remove the --exit-zero flag, and merge it back afterwards. As I said, I will have time for this not before next week, but thanks for the reminder - something that is on my ToDo list for some time now...

Ok, I will merge now and handle the problems later - thanks for the contribution!


Objects/Revit 2022: Support Ceiling creation

Title says it all! For reference, see this discussion thread on discourse.

Merged into https://github.com/specklesystems/speckle-sharp/issues/394


Review and possibly implement avcapturephotooutput

See https://developer.apple.com/reference/avfoundation/avcapturephotooutput

No


Optimize logger output for firefox

Eyes are bleeding:

Hahah came here to whine about Microsoft Edge doing the same.

Firefox logs now render properly. The console has seen some updates since this issue was created 👍

Edge is still behaving as pictured above.


Database choice

The current master branch no longer supports DB selection via the connection string (as old did), but when I try to choose a DB via SQL (use db;), I hit the following error:
thread 'main' panicked at 'resultset: unexpected token: Info(TokenInfo { number: 5701, state: 1, class: 0, message: "Changed database context to \'test\'.", server: "tbilisi", procedure: "", line: 1 })', src/query.rs:85

This is fixed easily enough by covering the TokenInfo case in the match, but even if I do so (returning 'false), subsequent SELECT` queries fail to return any results. The same queries work when not choosing a custom database context.
Minimal example:
extern crate futures;
extern crate futures_state_stream;
extern crate tokio_core;
extern crate tiberius;

use futures_state_stream::StateStream;
use tokio_core::reactor::Core;
use tiberius::SqlConnection;
use tiberius::stmt::ResultStreamExt;

fn main() {
    let dbn = "server=tcp:<IP_ADDRESS>,1433;username=test;password=T3stT3st;";

    let mut core = Core::new().unwrap();
    let cf = SqlConnection::connect(core.handle(), dbn);
    let c = core.run(cf).unwrap();

    // let f = c.simple_exec("use test;").and_then(|r| r).collect();
    // let (_, c) = core.run(f).unwrap();

    let f2 = c.simple_query("SELECT 1+2").for_each_row(|r| {
        println!("{:?}", r);
        Ok(())
    });
    core.run(f2).unwrap();
}

If I uncomment the two commented lines (and add TokenInfo at line 84 of src/query.rs), the program runs but prints no result rows; with these lines commented out, it works fine.
For reference, my addition to src/query.rs is this:
--- a/src/query.rs
+++ b/src/query.rs
@@ -81,6 +81,7 @@ impl<I: BoxableIo, R: StmtResult<I>> StateStream for ResultSetStream<I, R> {
                                     false
                                 }
                             },
+                            TdsResponseToken::Info(_) => false,
                             tok => panic!("resultset: unexpected token: {:?}", tok)
                         }
                     }

should be "fixed" in: https://github.com/steffengy/tiberius/commit/f118076a583b1161c559d41e152c55e0d14e2ce8

Thanks, that does indeed work around the problem.

@ms705
should be implemented now, let me know if there are any issues!


"Expected error to be handled." perhaps should account for arguments

This code fails with Expected error to be handled.
test('should get something', function (t) {
  request.get({
    uri: 'http://localhost:3000'
  }, function (err, res, body) {
    handleError(arguments)
    t.equal(res.statusCode, 200)
    t.end()
  })
})

Although, technically the error is being handled.

This is a limitation of the handle-callback-err rule and definitely an edge case. Feel free to open an issue on the eslint repo.
It's easily worked around though:
handleError(err, res, body)


https://adrules.top/dns.txt block video playing from mytvsuper

similar to #144
香港的mytvsuper好像也有類似情況
估計是這條 ||doubleclick.net^
adblock_plus.txt裡有白名單
@@||doubleclick.net/gpt/pubads_impl_$domain=mytvsuper.com|tvb.com|tvbs.com.tw

please ignore it as of this moment then
thanks a lot


billing: Add cron job to run invoice_plans_as_needed once a day

@rishig This is ready for a review.

Thanks @hackerkid! lgtm, passing on to Tim.

OK, merged following changing 15 to 22, thanks @hackerkid!

Cool. I thought the local time in server is PT and not UTC.

There's multiple reasonable ways to do things, but I've been pretty happy keeping everything on UTC since then the process is the same regardless of what time zone on is in.


Toggling nested components with async setup inside Suspense fails

Version
3.0.0
Reproduction link
https://jsfiddle.net/ph75kLwo/
Steps to reproduce
Click toggle child many times
What is expected?
the child to display
What is actually happening?
The child doesn't display and there is an error

Found with https://github.com/vuejs/vue-next/issues/2201

I tracked down this issue. When a component with asyncDep is toggled, the component will be re-mount, which means registerDep will be called. But suspense has been resolved, and pendingBranch is null, nothing will happen according to the current implementation, so resulting in subsequent errors.
This involves some design decisions, I don’t have the ability to solve it, but I hope this information can save @yyx990803 ’s time

New nested async child rendered inside an already resolved suspense no longer puts the suspense into pending state (TODO: components with async setup() should be allowed to declare its own loading state / timeout etc. just like defineAsyncComponent)

TODO inside https://github.com/vuejs/vue-next/pull/2099

Great, nice to know, thanks

In case it helps, sticking to<EMAIL_ADDRESS>version under yarn.lock fixed all my issues with Suspense and router-views. You need to install dependencies with yarn --frozen-lock-file.
<EMAIL_ADDRESS>  version "3.0.0-rc.5"
  resolved "https://registry.yarnpkg.com/vue/-/vue-3.0.0-rc.5.tgz#973175d45a892b3bd23ef5de7faa4add9c66275f"
  integrity sha512-8t8Y4sHMBGD5iLZ7JfBGmKBJlzesPoL+/nW9EV8s+4LwnKC4rGlRp+Lj2rcign4iQaj0GFaL7DrQ8IoOfVX6+w==
  dependencies:
    "@vue/compiler-dom" "3.0.0-rc.5"
    "@vue/runtime-dom" "3.0.0-rc.5"
    "@vue/shared" "3.0.0-rc.5"

I had a few stable projects working on beta version and they suddenly stopped working... Truth is we were warned about a changing API for Suspense from the beginning.
This PR shows the changes to get a working Vue3 app back to life: https://github.com/yeikiu/base-vue3-ts/pull/1/files#diff-8ee2343978836a779dc9f8d6b794c3b2L8832 maybe using the yarn.lock from develop branch there can help you temporarily...

any news about how to properly nest suspense + keep alive + component with async setup? even though the PR linked above is already merged im still getting an error unless i use the old 3.0.0-rc.5 :-(
my setup:
<router-view v-slot="{ Component }">
  <Suspense>
    <keep-alive>
      <component :is="Component" :key="$route.path" />
    </keep-alive>
  </Suspense>
</router-view>

thank you for help

Got hit by this as well, I had a <Suspense> around <RouterView>.
My goal was of course to load async routes but it doesn't work anymore since the component directly inside <Suspense> must change to go back to pending state.
What would really help here is to put a warning in dev mode when this happens, right here:
https://github.com/vuejs/vue-next/blob/0227b4a697afd598f6fa279a1a7ce84242e68f43/packages/runtime-core/src/components/Suspense.ts#L545-L546
Right now your application goes blank. Nothing happens, no log on console, no exception thrown... Took me a little while to figure it out.

i have same problem, Nothing happens, no log on console, no exception thrown. i don't know how to to next

Hi,
after update to 3.0.5, still nothing happens, no log on console, no exception thrown. i don't know how to do next, The following is the code:

<!-- eslint-disable vue/valid-v-model -->
    <dx-drawer
    class="layout-body"
    position="before"
    template="navmenu"
    v-model:opened="menuOpened"
    :opened-state-mode="drawerOptions.menuMode"
    :reveal-mode="drawerOptions.menuRevealMode"
    :min-size="drawerOptions.minMenuSize"
    :shading="drawerOptions.shaderEnabled"
    :close-on-outside-click="drawerOptions.closeOnOutsideClick"
  >

<!-- eslint-enabled -->
  <dx-scroll-view ref="scrollViewRef" class="with-footer">
    <slot />
    <slot name="footer" />
  </dx-scroll-view>
    <Suspense>
      <template #navmenu>
              <side-nav-menu
              :compact-mode="!menuOpened"
              @click="handleSideBarClick"
            />
      </template>
    </Suspense>
  <!-- eslint-enable -->
</dx-drawer>

`
`


Custom/manual integration

Hello,
I have a self-written UI to aggregate tasks for me. I want to improve it to allow to track time with toggl button. Of coarse my tool is not listed in integration list and should not be listed there in future. What I want to suggest is to create an integration, that will allow developer to enable toggl button on his site without creating new integration.
This integration may be activated by special markup e.g.:

<toggl data-class="className" data-description="some name for toggl" data-project="optional project" />

Possible names for integration: custom, manual, html
If you like this idea, I can create PR. Any suggestions (e.g. I'm not sure about integration name) and improvements are welcome.

seems to be not needed to anyone. Closing it


feat: achievements repo

was a little skeptical about this pr, but it may prove useful in the future.
ie.

custom achievement creation
possible updating of existing achievement conditions
etc.

LGTM, will test rq.


update readme

Coverage remained the same at 33.818% when pulling fe9b172cb6a1293b23f99a28da02a40ec0aa3b69 on binyli/release-branch into b2c4f36152d7640e96a1e8395c3b8a21bb6e2f5d on pai-1.7.y.


may I use your data set  in my paper？

Excuse me, may I use your data set in my paper.

Of course
dczxpy<EMAIL_ADDRESS>於 2019年9月22日 週日 下午7:11寫道：

Excuse me, may I use your data in my paper.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/OnionDoctor/FCN_for_crack_recognition/issues/7?email_source=notifications&email_token=AHPGMWD3RFQYP56MEF5WAV3QK5HGHA5CNFSM4IZCFP3KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HM4BD6A,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHPGMWBFV2VAEU25V5VSGKTQK5HGHANCNFSM4IZCFP3A
.


Icon for landing page

We need an icon for the Java cloud platform landing page that is similar in style to the Node.js, Ruby, and Python pages.

This [image] (https://gist.github.com/ryanseys/3ae962fe1c87d5b0cb02#file-logo-svg) was suggested but we need legal clearance.

@jgeewax Do you have any insight about any legal issues regarding using this icon (or any other related - e.g. Duke icons) ?

@jboynes : any thoughts on this?
Also: http://www.oracle.com/us/technologies/java/java-licensing-logo-guidelines-1908204.pdf

https://duke.kenai.com/ are BSD https://kenai.com/projects/duke/pages/Home
On Thu, Aug 20, 2015 at 1:18 PM, JJ Geewax<EMAIL_ADDRESS>wrote:

@jboynes https://github.com/jboynes : any thoughts on this?
Also:
http://www.oracle.com/us/technologies/java/java-licensing-logo-guidelines-1908204.pdf
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/gcloud-java/issues/127#issuecomment-133158927
.

Awesome -- Duke it is :)

Fixed by #137


Add auto merge

@conda-forge-admin, please add bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/structdbrest-feedstock#3.


⚠ Bofrost.lu has degraded performance

In 0edd47a, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1557 ms

Resolved: Bofrost.lu performance has improved in ec7184f after 6 minutes.


SSH tunnel with PPK key

If I want to create a connection and using a PPK key file the connecting says:
Can't initialize tunnel
Cannot establish tunnel
Auth fail
Like explained here: https://github.com/dbeaver/dbeaver/issues/298

I read earlier somewhere that DBeaver can't use a PPK key and I have to convert it to some other type to make it work?
Is this true? Which type will work and how can I convert my PPK key file to this format?
I dont want to open a putty ssh tunnel if it's not neccesary. Thanks!

Ok, it's working now, I converted it to Open SSH key using puttygen and I set it up on the "SSH Tunnel" tab, using the "Authentication method" field with the "Public Key" value.

It would be great if the error message could say something like, "couldn't load your private key", instead. Or, if DBeaver could support ppk format keys. That would be even better than a clearer error message.
Having to just memorize the fact that "ppk format" doesn't work and "the other format" does, is pretty unsatisfactory, at least for one of me.


TypeError: EmployeesService.query is not a function at new EmployeesListController

Hello everyone,
I have a meanjs app in which I have an employee module and a team module, I would like to integrate in each of these modules a drop-down list of employees for the team module and teams for the employee module. But then I have this error: TypeError: EmployeesService.query is not a function at new EmployeesListController. Does anyone have an idea or an indication as to what causes this error??
Here is my code:
// modules/employees/server/controllers/employees.server.controller.js
exports.list = function(req, res) {
 Employee.find().sort('-created').populate('user', 'displayName').exec(function(err, employees) {
 if (err) {
  return res.status(400).send({
    message: errorHandler.getErrorMessage(err)
   });
  } else {
   res.jsonp(employees);
  }
 });
};

My model:
// modules/employees/server/models/employees.server.model.js

'use strict';
var mongoose = require('mongoose'),
 Schema = mongoose.Schema;

var EmployeeSchema = new Schema({
 lastname: {
   type: String,
   default: '',
   required: 'Remplissez le nom de l\'employé.',
   trim: true
 },
 firstname: {
  type: String,
  default: '',
  required: 'Remplissez le prénom de l\'employé.'
 },
 email: {
  type: String,
  default: '',
  required: 'Remplissez l\'email de l\'employé.'
 },
 team_name: {
  type: Schema.ObjectId,
  ref: 'Team'
 },
 created: {
  type: Date,
  default: Date.now
 },
 user: {
  type: Schema.ObjectId,
  ref: 'User'
 }
});
module.exports = mongoose.model('Employee', EmployeeSchema);

My policies:
// modules/employees/server/policies/employees.server.policy.js
'use strict';
var acl = require('acl');
acl = new acl(new acl.memoryBackend());

exports.invokeRolesPolicies = function () {
 acl.allow([{
 roles: ['admin'],
 allows: [{
  resources: '/api/employees',
  permissions: '*'
 }, {
  resources: '/api/employees/:employeeId',
  permissions: '*'
 }, {
  resources: '/api/teams',
  permissions: '*'
 }, {
  resources: '/api/teams/:teamId',
  permissions: '*'
 }]
}, {
roles: ['user'],
allows: [{
  resources: '/api/employees',
  permissions: ['get', 'post']
}, {
  resources: '/api/employees/:employeeId',
  permissions: ['get']
}, {
  resources: '/api/teams',
  permissions: ['get', 'post']
}, {
  resources: '/api/teams/:teamId',
  permissions: ['get']
}]
}, {
roles: ['guest'],
allows: [{
  resources: '/api/employees',
  permissions: ['get']
}, {
  resources: '/api/employees/:employeeId',
  permissions: ['get']
  }]
 }]);
};

exports.isAllowed = function (req, res, next) {
var roles = (req.user) ? req.user.roles : ['guest'];
 if (req.employee && req.user && req.employee.user && req.employee.user.id === req.user.id) {
  return next();
}

acl.areAnyRolesAllowed(roles, req.route.path, req.method.toLowerCase(), function (err, isAllowed) {
 if (err) {
  return res.status(500).send('Unexpected authorization error');
 } else {
  if (isAllowed) {
    return next();
  } else {
    return res.status(403).json({
      message: 'User is not authorized'
    });
   }
  }
 });
};

My service:
// modules/employees/client/services/employees.client.service.js
(function () {
  'use strict';
  angular
   .module('employees')
   .factory('EmployeesService', EmployeesService);

   EmployeesService.$inject = ['$resource'];

   function EmployeesService($resource) {
    return {
     employees: $resource('api/employees/:employeeId', {
      employeeId: '@_id'
     }, {
      update: {
       method: 'PUT'
     }
   }),
  teams: $resource('api/teams/teamId', {
    teamId: '@_id'
  }, {
    update: {
      method: 'PUT'
    }, params: {
      controllers: 'TeamsController'
    }
   })
  };
 }
}());

and my controller:
// modules/employees/client/controllers/employees.client.controller.js
(function () {
 'use strict';
 angular
  .module('employees')
  .controller('EmployeesController', EmployeesController);

  EmployeesController.$inject = ['$scope', '$state', '$window', '$log', 'Authentication', 'employeeResolve'];

  function EmployeesController ($scope, $state, $window, $log, Authentication, employee) {
   var vm = this;
   vm.authentication = Authentication;
   vm.employee = employee;
   vm.error = null;
   vm.form = {};
   vm.remove = remove;
   vm.save = save;

   function remove() {
    if ($window.confirm('Are you sure you want to delete?')) {
     vm.employee.$remove($state.go('employees.list'));
   }
 }

 function save(isValid) {
  if (!isValid) {
   $scope.$broadcast('show-errors-check-validity', 'vm.form.employeeForm');
   return false;
 }

  if (vm.employee._id) {
    vm.employee.$update(successCallback, errorCallback);
  } else {
    vm.employee.$save(successCallback, errorCallback);
  }

  function successCallback(res) {
    $state.go('employees.view', {
      employeeId: res._id
    });
  }

  function errorCallback(res) {
    vm.error = res.data.message;
  }

   $scope.find = function () {
    $log.info('executing TeamsController.$scope.find');
    vm.team = Teams.query();
   };
  }
 }
}());

That's all I've done.

What is Teams in employees.client.controller?
What does your EmployeeLIstController look like? My guess is that you're trying to get a list of employees with something like EmployeesService.query(), just as the error indicates. However, you're service isn't returning a $resource object (which would have a .query() method). Instead, your returning an object that has two properties that happen to be a $resource object. With that, you would need to call EmployeesService.employees.query().
I would recommend creating your Angular services just as the Articles service is done. And I would highly recommend separating your Employees & Teams services into their own individual services.

Thanks for the answer, Teams in employee.client.controller is how I try to retrieve the Teams collection. As for the service I followed your advice and separated them. But despite all when I click on my select I have nothing. I would like to get a trick in this style: https://stackoverflow.com/questions/33157769/mean-js-how-to-create-of-1-model-that-requires-another

Can you provide your modified code?

(function () {
 'use strict';

 angular
  .module('employees')
  .factory('EmployeesService', EmployeesService);

  EmployeesService.$inject = ['$resource', '$log'];

  function EmployeesService($resource, $log) {
   var Employee = $resource('/api/employees/:employeeId', {
    employeeId: '@_id'
   }, {
    update: {
     method: 'PUT'
    }
   });

   angular.extend(Employee.prototype, {
    createOrUpdate: function () {
     var employee = this;
     return createOrUpdate(employee);
   }
  });

  return Employee;

function createOrUpdate(employee) {
  if (employee._id) {
    return employee.$update(onSuccess, onError);
  } else {
    return employee.$save(onSuccess, onError);
  }

  function onSuccess(employee) {
      var success = employee.data
  }

  function onError(errorResponse) {
    var error = errorResponse.data;
    handleError(error);
  }
 }

 function handleError(error) {
   $log.error(error);
  }
 }
}());

Your service looks good to me. How are you calling it (client controller, and/or angular route resolve?), and what is the html markup you're using for your select?

This is my routes file:
'use strict';

var path = require('path'),
 employeesPolicy = require('../policies/employees.server.policy'),
 teamsPolicy = require(path.resolve('../vlg-espaces-verts/modules/teams/server/policies/teams.server.policy')),
 employees = require('../controllers/employees.server.controller');
 teams = require(path.resolve('../vlg-espaces-verts/modules/teams/server/controllers/teams.server.controller'));

 module.exports = function(app) {

  app.route('/api/employees').all(employeesPolicy.isAllowed)
   .get(employees.list)
   .post(employees.create);

   app.route('/api/employees/:employeeId').all(employeesPolicy.isAllowed)
    .get(employees.read)
    .put(employees.update)
    .delete(employees.delete);

   app.route('/api/teams').all(teamsPolicy.isAllowed)
    .get(teams.list)
    .post(teams.create);

  app.route('/api/teams/:teamId').all(teamsPolicy.isAllowed)
   .get(teams.read)
   .put(teams.update)
   .delete(teams.delete);

  app.param('employeeId', employees.employeeByID);
};

Here is my html markup:
<select name="team" ng-model="vm.employee.team" id="team" class="form-control" ng-options="opt.id as opt.name for opt in employee" required></select>


PlayerEnterBedEvent Seems to do nothing

PlayerEnterBedEvent seems not to fire, or the subscription is not working. I have the code shown at below. I would expect this to log "entered bed" but it seems to do nothing.
import org.slf4j.Logger;
import org.spongepowered.api.event.Subscribe;
import org.spongepowered.api.plugin.Plugin;
import org.spongepowered.api.event.entity.player.PlayerEnterBedEvent;
import com.google.inject.Inject;
@Plugin(id = "WhipCommands", name = "WhipCommands")
public class WhipCommands {
@Inject
Logger logger;
@Subscribe
public void onPlayerEnterBed(PlayerEnterBedEvent event) {
	logger.info("entered bed");
}

}
Sponge Build: sponge-1.8-1371-2.1DEV-445
Forge Build: forge-1.8-<IP_ADDRESS>1-universal
Client Type/Version (Forge/Vanilla and version) : Forge forge-1.8-<IP_ADDRESS>1-universal
Installed Plugins and/or Mods: Only sponge and my test  plugin
Java Version: 1.7.0_79
Operating System: Windows 7 64 bit

There's no implementation probably.

That would seem to be the case, is this the place to request an implementation to be written? If someone has a guide to contribution I'm happy to have a go myself

It hasn't been implemented yet, but I've tagged this issue with help wanted so at some point someone will implement it and this issue will be closed.
Opening issues like these does help us prioritize which events we're implementing.

Is this still an issue? Looking at the implementation this is a forge event, So it probably still needs to be implemented on Vanilla, but is it being thrown on Sponge?

Closing this as the new events system makes how this did work not relevant anymore. We just need to fire this.


model scope's notebook not work

when i run    !python3 app.py  in modelscope
it report me :
2024-08-20 22:25:36,056 - modelscope - WARNING - No preprocessor field found in cfg.
2024-08-20 22:25:36,056 - modelscope - WARNING - No val key and type key found in preprocessor domain of configuration.json file.
2024-08-20 22:25:36,056 - modelscope - WARNING - Cannot find available config to build preprocessor at mode inference, current config: {'model_dir': '/mnt/workspace/.cache/modelscope/hub/damo/cv_resnet101_image-multiple-human-parsing'}. trying to build by task and model information.
2024-08-20 22:25:36,056 - modelscope - WARNING - No preprocessor key ('m2fp', 'image-segmentation') found in PREPROCESSOR_MAP, skip building preprocessor.
2024-08-20 22:25:36,731 - modelscope - INFO - Use user-specified model revision: v1.0.3
Downloading: 0.00B [00:00, ?B/s]
Traceback (most recent call last):
File "/mnt/workspace/facechain/app.py", line 574, in
gen_portrait = GenPortrait()
File "/mnt/workspace/facechain/facechain/inference_fact.py", line 297, in init
self.image_face_fusion = pipeline('face_fusion_torch',
File "/usr/local/lib/python3.10/site-packages/modelscope/pipelines/builder.py", line 118, in pipeline
model = normalize_model_input(
File "/usr/local/lib/python3.10/site-packages/modelscope/pipelines/builder.py", line 36, in normalize_model_input
model = snapshot_download(
File "/usr/local/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 84, in snapshot_download
return _snapshot_download(
File "/usr/local/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 241, in _snapshot_download
_download_file_lists(
File "/usr/local/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 416, in _download_file_lists
download_file(url, repo_file, temporary_cache_dir, cache, headers,
File "/usr/local/lib/python3.10/site-packages/modelscope/hub/file_download.py", line 606, in download_file
file_integrity_validation(temp_file, file_meta[FILE_HASH])
File "/usr/local/lib/python3.10/site-packages/modelscope/hub/utils/utils.py", line 88, in file_integrity_validation
file_sha256 = compute_hash(file_path)
File "/usr/local/lib/python3.10/site-packages/modelscope/hub/utils/utils.py", line 68, in compute_hash
with open(file_path, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/workspace/.cache/modelscope/hub/._____temp/damo/cv_unet_face_fusion_torch/image_face_fusion/network/init.py'

so i can not runing this project ,please help me

Traceback (most recent call last):
File "/mnt/workspace/facechain/app.py", line 574, in
gen_portrait = GenPortrait()
File "/mnt/workspace/facechain/facechain/inference_fact.py", line 297, in init
self.image_face_fusion = pipeline('face_fusion_torch',
File "/usr/local/lib/python3.10/site-packages/modelscope/pipelines/builder.py", line 118, in pipeline
model = normalize_model_input(
File "/usr/local/lib/python3.10/site-packages/modelscope/pipelines/builder.py", line 36, in normalize_model_input
model = snapshot_download(
File "/usr/local/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 84, in snapshot_download
return _snapshot_download(
File "/usr/local/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 241, in _snapshot_download
_download_file_lists(
File "/usr/local/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 416, in _download_file_lists
download_file(url, repo_file, temporary_cache_dir, cache, headers,
File "/usr/local/lib/python3.10/site-packages/modelscope/hub/file_download.py", line 606, in download_file
file_integrity_validation(temp_file, file_meta[FILE_HASH])
File "/usr/local/lib/python3.10/site-packages/modelscope/hub/utils/utils.py", line 88, in file_integrity_validation
file_sha256 = compute_hash(file_path)
File "/usr/local/lib/python3.10/site-packages/modelscope/hub/utils/utils.py", line 68, in compute_hash
with open(file_path, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/workspace/.cache/modelscope/hub/._____temp/damo/cv_unet_face_fusion_torch/image_face_fusion/network/init.py'

same problem

It seems that the http_get_model_file function in file_download.py does not handle file of size 0 correctly.
the code
 if partial_length >= file_size:
                break
            # closed range[], from 0.
            get_headers['Range'] = 'bytes=%s-%s' % (partial_length,
                                                    file_size - 1)
            with open(temp_file_path, 'ab+') as f:
                r = requests.get(
                    url,

does not create  file if the size is 0 (cv_unet_face_fusion_torch/image_face_fusion/network/__init__.py is the case)
a temporary workround is change the condition  if partial_length >= file_size: to  if file_size!=0 and partial_length >= file_size:

Due to the update of the modelscope notebook, the original image has been removed from the options. We will adjust the code to adapt to the new image soon.

same problem

when i run !python3 app.py in modelscope
it report me : 2024-08-20 22:25:36,056 - modelscope - WARNING - No preprocessor field found in cfg. 2024-08-20 22:25:36,056 - modelscope - WARNING - No val key and type key found in preprocessor domain of configuration.json file. 2024-08-20 22:25:36,056 - modelscope - WARNING - Cannot find available config to build preprocessor at mode inference, current config: {'model_dir': '/mnt/workspace/.cache/modelscope/hub/damo/cv_resnet101_image-multiple-human-parsing'}. trying to build by task and model information. 2024-08-20 22:25:36,056 - modelscope - WARNING - No preprocessor key ('m2fp', 'image-segmentation') found in PREPROCESSOR_MAP, skip building preprocessor. 2024-08-20 22:25:36,731 - modelscope - INFO - Use user-specified model revision: v1.0.3 Downloading: 0.00B [00:00, ?B/s] Traceback (most recent call last): File "/mnt/workspace/facechain/app.py", line 574, in gen_portrait = GenPortrait() File "/mnt/workspace/facechain/facechain/inference_fact.py", line 297, in init self.image_face_fusion = pipeline('face_fusion_torch', File "/usr/local/lib/python3.10/site-packages/modelscope/pipelines/builder.py", line 118, in pipeline model = normalize_model_input( File "/usr/local/lib/python3.10/site-packages/modelscope/pipelines/builder.py", line 36, in normalize_model_input model = snapshot_download( File "/usr/local/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 84, in snapshot_download return _snapshot_download( File "/usr/local/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 241, in _snapshot_download _download_file_lists( File "/usr/local/lib/python3.10/site-packages/modelscope/hub/snapshot_download.py", line 416, in _download_file_lists download_file(url, repo_file, temporary_cache_dir, cache, headers, File "/usr/local/lib/python3.10/site-packages/modelscope/hub/file_download.py", line 606, in download_file file_integrity_validation(temp_file, file_meta[FILE_HASH]) File "/usr/local/lib/python3.10/site-packages/modelscope/hub/utils/utils.py", line 88, in file_integrity_validation file_sha256 = compute_hash(file_path) File "/usr/local/lib/python3.10/site-packages/modelscope/hub/utils/utils.py", line 68, in compute_hash with open(file_path, 'rb') as f: FileNotFoundError: [Errno 2] No such file or directory: '/mnt/workspace/.cache/modelscope/hub/._____temp/damo/cv_unet_face_fusion_torch/image_face_fusion/network/init.py'

这个可以

Modelscope now supports the previous image: ubuntu20.04-cuda11.7.1-py38-torch2.0.1-tf1.15.5-1.8.1. If there still remains problem, please refer to issue https://github.com/modelscope/facechain/issues/561.


Check if MPI and OpenMP were already found in CMake

CMake's FindMPI and FindOpenMP have issues when CMAKE_EXECUTABLE_SUFFIX is not empty, see https://gitlab.kitware.com/cmake/cmake/-/issues/23874
That's why we find the packages before setting CMAKE_EXECUTABLE_SUFFIX in our main CMakeLists.txt:
find_package( OpenMP COMPONENTS CXX )
find_package( MPI COMPONENTS CXX )

# Settings for debug build
if( CMAKE_BUILD_TYPE STREQUAL "Debug")
    set( CMAKE_EXECUTABLE_SUFFIX "-dbg${CMAKE_EXECUTABLE_SUFFIX}" )  # suffix for executables
    set( CMAKE_DEBUG_POSTFIX "-dbg" )  # suffix for libraries
endif()

Now if we later on want to find Ginkgo (e.g. in a subdirectory for a specific target/module), we get the problem again, because Ginkgo's CMake file does find_package(OpenMP) and find_package(MPI) again. Instead, you could check the OPENMP_FOUND and MPI_FOUND variables to avoid our issue and also overhead.

IMO this is an upstream issue that we shouldn't attempt to fix/workaround ourselves. OPENMP_FOUND being set from the outside doesn't mean find_package ran through successfully, we need to be able to rely on such properties. If you want to set an executable suffix, I would recommend setting it on your own targets, not globally. As a workaround, you can empty and reset the variable around add_subdirectory(ginkgo).
Also, I would recommend avoiding if(CMAKE_BUILD_TYPE STREQUAL "..."), since it breaks with multi-config generators.

We use find_package(Ginkgo) so it shouldn't be set on any foreign targets. I agree that this is 100% CMake issue...
On second thought, checking OPENMP_FOUND and MPI_FOUND does not make sense because it might be a result of finding different COMPONENTS.


Ensure ajv dep is bundled.

It seems to have been removed from a recent release. Ensure that it is properly bundled.

Fixed with https://github.com/textileio/js-threads/pull/66/files


Added POC RBAC quickstart for customizing access

Hi @Hyperkid123 and @ryelo,
I've created a first quick start to go in the Settings area of the Hybrid Cloud Console. All seems to work using the preview tool, but please let me know if I need to fix anything before you can merge it.
If we can publish this first one only on the stage first, and I can get a final SME review before it goes live, that would be appreciated - is that possible?
Thanks so much :)
Dayle
Links:

original docs Jira request
Draft Gdoc
Platform Jira for this request

Hi @Hyperkid123,
Thank you for your review! I have fixed the issues you mentioned, and added HTML for the ellipsis icon (line 51 in rbac-customizing-access.yml). I hope it will work as an inline icon - please let me know if there are issues with it.... thank you :)

We ran into a Patternfly bug with the Note being unable to render with punctuation in it. Martin has opened an issue: https://github.com/patternfly/patternfly-quickstarts/issues/189


Documentation Publication

Documentation Publication
All APIs,  libraries, and user facing functions that we own must be documented and published. This does not include COTS products like Jupyter, Airflow, etc, though we may want to ensure existing documentation for that is valid.
Acceptance Criteria
Acceptance criteria required to implement the epic

Unity-sds-client documentation is published and up to date with latest capabilities
All Schemas are documneted as openAPI specifications and are CMed in https://github.com/unity-sds/unity-monorepo/tree/main/schemas
All Schemas are published - see https://github.com/unity-sds/unity-monorepo/tree/main/schemas/app-package-service and https://github.com/unity-sds/unity-monorepo/blob/main/.github/workflows/schema_apgs.yml for examples of publishing and documenting a schema automatically
Schemas we expect:

OGC server api (SPS)
DAPA server API (UDS)
App-package-generation-system (ADS)
Healthcheck schema (CS?)
Others?

Librariers we expect:

unity-sds-client (UIUX)
uds-stage-in/out libraries (UDS)

Other Documentation
Stage-in/Stage-out documentation - required parameters for stage_out, automated cataloging, and the STAC requirements (e.g. must include the stac.json)
Documentation should be linked from gitbook where applicable.

Work Tickets
Link to work tickets required to implement the epic

[ ] TBC (to be created)

Dependencies
Other epics or outside tickets required for this to work

[ ] TBC

Associated Risks
links to risk issues associated with this epic

[ ] TBC

See https://github.com/unity-sds/unity-project-management/issues/205 for some specific doc issues


v5 orthography and concepts

remove orthography profile : the strategy for now is bl : b l, tl :  t l
concepts : some minor changes on concepticon, so the parameters.csv has some minor changes as well.

fine by me, feel free to merge.


Why prepend message with level ?

Why do you prepend level in message while you can get it by the property "syslogseverity-text" in the rsyslog config ?
I expect to have the choice in the transport config to prepend or not the message with the level.
It'll be easy to add an option showLevel in the configuration to show it or not (with a default value to true).
Thanks in advance.
Regards

Sounds reasonable. 😺 Would you submit a pull request? Thanks, L


Alpine Linux 3.21: Prisma failed to detect the libssl/openssl version to use

Bug description
When attempting to run a Prisma client within an Alpine 3.21 Docker image, a warning related to the libssl/openssl version is shown and the application fails to start:
prisma:warn Prisma failed to detect the libssl/openssl version to use, and may not work as expected. Defaulting to "openssl-1.1.x".
Please manually install OpenSSL and try installing Prisma again.

PrismaClientInitializationError: Prisma Client could not locate the Query Engine for runtime "linux-musl-arm64-openssl-1.1.x".

How to reproduce
docker run --rm -it alpine
apk add nodejs npm
npx prisma init

Expected behavior
No warnings. Clients do not throw errors.
Prisma information

// Add your schema.prisma

// Add your code using Prisma Client

Environment & setup

OS: Alpine Linux v3.21
Database: N/A
Node.js version: 22

Prisma Version
/ # npx prisma -v
prisma:warn Prisma failed to detect the libssl/openssl version to use, and may not work as expected. Defaulting to "openssl-1.1.x".
Please manually install OpenSSL and try installing Prisma again.
Environment variables loaded from .env
prisma:warn Prisma failed to detect the libssl/openssl version to use, and may not work as expected. Defaulting to "openssl-1.1.x".
Please manually install OpenSSL and try installing Prisma again.
Error: Unable to require(`/root/.npm/_npx/2778af9cee32ff87/node_modules/@prisma/engines/libquery_engine-linux-musl-arm64-openssl-1.1.x.so.node`).
The Prisma engines do not seem to be compatible with your system. Please refer to the documentation about Prisma's system requirements: https://pris.ly/d/system-requirements

Details: Error loading shared library libssl.so.1.1: No such file or directory (needed by<EMAIL_ADDRESS>    at gne (/root/.npm/_npx/2778af9cee32ff87/node_modules/prisma/build/index.js:284:116)
    at DWe (/root/.npm/_npx/2778af9cee32ff87/node_modules/prisma/build/index.js:284:269)
Error: Command failed with exit code 127<EMAIL_ADDRESS>--version
Error loading shared library libssl.so.1.1: No such file or directory (needed by<EMAIL_ADDRESS>Error loading shared library libcrypto.so.1.1: No such file or directory (needed by<EMAIL_ADDRESS>Error relocating<EMAIL_ADDRESS>BIO_meth_set_create: symbol not found
Error relocating<EMAIL_ADDRESS>TLS_method: symbol not found
Error relocating<EMAIL_ADDRESS>OPENSSL_sk_value: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_CTX_set_default_verify_paths: symbol not found
Error relocating<EMAIL_ADDRESS>ERR_reason_error_string: symbol not found
Error relocating<EMAIL_ADDRESS>BIO_meth_set_write: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_get_rbio: symbol not found
Error relocating<EMAIL_ADDRESS>BIO_meth_set_puts: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_CTX_set_cipher_list: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_CTX_free: symbol not found
Error relocating<EMAIL_ADDRESS>CRYPTO_get_ex_new_index: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_CTX_use_certificate: symbol not found
Error relocating<EMAIL_ADDRESS>ERR_func_error_string: symbol not found
Error relocating<EMAIL_ADDRESS>OBJ_obj2nid: symbol not found
Error relocating<EMAIL_ADDRESS>X509_digest: symbol not found
Error relocating<EMAIL_ADDRESS>X509_VERIFY_PARAM_set1_ip: symbol not found
Error relocating<EMAIL_ADDRESS>OPENSSL_sk_pop: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_write: symbol not found
Error relocating<EMAIL_ADDRESS>X509_ALGOR_get0: symbol not found
Error relocating<EMAIL_ADDRESS>EVP_get_digestbyname: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_is_server: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_state_string_long: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_CTX_ctrl: symbol not found
Error relocating<EMAIL_ADDRESS>X509_STORE_new: symbol not found
Error relocating<EMAIL_ADDRESS>ERR_get_error_line_data: symbol not found
Error relocating<EMAIL_ADDRESS>OpenSSL_version_num: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_new: symbol not found
Error relocating<EMAIL_ADDRESS>BIO_get_data: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_CTX_set_cert_store: symbol not found
Error relocating<EMAIL_ADDRESS>OBJ_find_sigid_algs: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_read: symbol not found
Error relocating<EMAIL_ADDRESS>BIO_new: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_CTX_use_PrivateKey: symbol not found
Error relocating<EMAIL_ADDRESS>X509_get0_signature: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_CTX_get_cert_store: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_do_handshake: symbol not found
Error relocating<EMAIL_ADDRESS>BIO_meth_set_read: symbol not found
Error relocating<EMAIL_ADDRESS>BIO_set_init: symbol not found
Error relocating<EMAIL_ADDRESS>BIO_new_mem_buf: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_CTX_set_options: symbol not found
Error relocating<EMAIL_ADDRESS>BIO_meth_set_ctrl: symbol not found
Error relocating<EMAIL_ADDRESS>X509_STORE_add_cert: symbol not found
Error relocating<EMAIL_ADDRESS>d2i_PKCS12: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_connect: symbol not found
Error relocating<EMAIL_ADDRESS>X509_up_ref: symbol not found
Error relocating<EMAIL_ADDRESS>BIO_meth_free: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_free: symbol not found
Error relocating<EMAIL_ADDRESS>BIO_meth_new: symbol not found
Error relocating<EMAIL_ADDRESS>BIO_free_all: symbol not found
Error relocating<EMAIL_ADDRESS>BIO_clear_flags: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_get_peer_certificate: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_get_verify_result: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_CTX_up_ref: symbol not found
Error relocating<EMAIL_ADDRESS>OPENSSL_init_ssl: symbol not found
Error relocating<EMAIL_ADDRESS>X509_VERIFY_PARAM_set_hostflags: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_shutdown: symbol not found
Error relocating<EMAIL_ADDRESS>BIO_set_flags: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_set_bio: symbol not found
Error relocating<EMAIL_ADDRESS>X509_verify_cert_error_string: symbol not found
Error relocating<EMAIL_ADDRESS>BIO_meth_set_destroy: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_get_certificate: symbol not found
Error relocating<EMAIL_ADDRESS>EVP_PKEY_free: symbol not found
Error relocating<EMAIL_ADDRESS>PEM_read_bio_X509: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_ctrl: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_CTX_new: symbol not found
Error relocating<EMAIL_ADDRESS>BIO_set_data: symbol not found
Error relocating<EMAIL_ADDRESS>OPENSSL_sk_free: symbol not found
Error relocating<EMAIL_ADDRESS>OBJ_nid2sn: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_get0_param: symbol not found
Error relocating<EMAIL_ADDRESS>OPENSSL_sk_num: symbol not found
Error relocating<EMAIL_ADDRESS>EVP_sha256: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_get_ex_data: symbol not found
Error relocating<EMAIL_ADDRESS>d2i_X509: symbol not found
Error relocating<EMAIL_ADDRESS>X509_free: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_set_verify: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_get_error: symbol not found
Error relocating<EMAIL_ADDRESS>PKCS12_parse: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_set_ex_data: symbol not found
Error relocating<EMAIL_ADDRESS>ERR_lib_error_string: symbol not found
Error relocating<EMAIL_ADDRESS>PKCS12_free: symbol not found
Error relocating<EMAIL_ADDRESS>SSL_CTX_set_verify: symbol not found
Error relocating<EMAIL_ADDRESS>X509_VERIFY_PARAM_set1_host: symbol not found
    at mke (/root/.npm/_npx/2778af9cee32ff87/node_modules/prisma/build/index.js:5:57)
    at /root/.npm/_npx/2778af9cee32ff87/node_modules/prisma/build/index.js:5:10625
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async DWe (/root/.npm/_npx/2778af9cee32ff87/node_modules/prisma/build/index.js:284:343) {
  shortMessage: 'Command failed with exit code 127<EMAIL_ADDRESS>--version',
  command<EMAIL_ADDRESS>--version',
  escapedCommand<EMAIL_ADDRESS>--version',
  exitCode: 127,
  signal: undefined,
  signalDescription: undefined,
  stdout: '',
  stderr: 'Error loading shared library libssl.so.1.1: No such file or directory (needed by /root/.npm/_npx/2778af9cee32ff87/node_modules/@prisma/engines/schema-engine-linux-musl-arm64-openssl-1.1.x)\n' +
    'Error loading shared library libcrypto.so.1.1: No such file or directory (needed by /root/.npm/_npx/2778af9cee32ff87/node_modules/@prisma/engines/schema-engine-linux-musl-arm64-openssl-1.1.x)\n' +
    'Error relocating<EMAIL_ADDRESS>BIO_meth_set_create: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>TLS_method: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>OPENSSL_sk_value: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>SSL_CTX_set_default_verify_paths: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>ERR_reason_error_string: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>BIO_meth_set_write: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>SSL_get_rbio: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>BIO_meth_set_puts: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>SSL_CTX_set_cipher_list: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>SSL_CTX_free: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>CRYPTO_get_ex_new_index: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>SSL_CTX_use_certificate: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>ERR_func_error_string: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>OBJ_obj2nid: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>X509_digest: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>X509_VERIFY_PARAM_set1_ip: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>OPENSSL_sk_pop: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>SSL_write: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>X509_ALGOR_get0: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>EVP_get_digestbyname: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>SSL_is_server: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>SSL_state_string_long: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>SSL_CTX_ctrl: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>X509_STORE_new: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>ERR_get_error_line_data: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>OpenSSL_version_num: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>SSL_new: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>BIO_get_data: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>SSL_CTX_set_cert_store: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>OBJ_find_sigid_algs: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>SSL_read: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>BIO_new: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>SSL_CTX_use_PrivateKey: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>X509_get0_signature: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>SSL_CTX_get_cert_store: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>SSL_do_handshake: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>BIO_meth_set_read: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>BIO_set_init: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>BIO_new_mem_buf: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>SSL_CTX_set_options: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>BIO_meth_set_ctrl: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>X509_STORE_add_cert: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>d2i_PKCS12: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>SSL_connect: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>X509_up_ref: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>BIO_meth_free: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>SSL_free: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>BIO_meth_new: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>BIO_free_all: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>BIO_clear_flags: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>SSL_get_peer_certificate: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>SSL_get_verify_result: symbol not found\n' +
    'Error relocating /root/.npm/
    'Error relocating<EMAIL_ADDRESS>OPENSSL_init_ssl: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>X509_VERIFY_PARAM_set_hostflags: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>SSL_shutdown: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>BIO_set_flags: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>SSL_set_bio: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>X509_verify_cert_error_string: symbol not found\n' +
    'Error relocating<EMAIL_ADDRESS>BIO_meth_set_destroy: symb'... 3485 more characters,
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false
}
prisma                  : 6.0.1
@prisma/client          : Not found
Computed binaryTarget   : linux-musl-arm64-openssl-1.1.x
Operating System        : linux
Architecture            : arm64
Node.js                 : v22.11.0
Query Engine (Node-API) : E_CANNOT_RESOLVE_VERSION (at<EMAIL_ADDRESS>Schema Engine           : E_CANNOT_RESOLVE_VERSION (at<EMAIL_ADDRESS>Schema Wasm             : @prisma/prisma-schema-wasm 5.23.0-27.5dbef10bdbfb579e07d35cc85fb1518d357cb99e
Default Engines Hash    : 5dbef10bdbfb579e07d35cc85fb1518d357cb99e
Studio                  : 0.503.0

Have the same issue, adding the following to the Docerfile works but I want to know what is the correct/official solution?
RUN apk update \
	&& apk add --no-cache openssl\
	&& rm -rf /var/lib/apt/lists/* \
	&& rm -rf /var/cache/apk/*

Seeing this as well. I am working around by using base image node:18-alpine3.20. Looks like 3.20 suffix is available for most node versions.
Might be worth letting the authors of node docker images know? This shipped hours ago today: https://github.com/nodejs/docker-node/pull/2174

Filed https://github.com/nodejs/docker-node/issues/2175

Filed https://github.com/nodejs/docker-node/issues/2175

I think this probably should be fixed either here or over at Alpine, i.e. one of the below needs to happen

Prisma should look for libssl in /usr/lib
Alpine should put a symlink to libssl in /lib

Here's what I wrote in the above issue:

FYI, since I ran into the same issue today, it occurs with node:20-alpine3.21 but not with node:20-alpine3.20, and the reason is not that the former doesn't have OpenSSL, it's that the library is stored in a different location.
Specifically, in 3.20 it's in /lib/libssl.so.3 but in 3.21 it's in /usr/lib/libssl.so.3.
(Actually 3.20 also has /usr/lib/libssl.so.3, but the point is that /lib/libssl.so.3 is what is needed).
So adding something like
RUN ln -s /usr/lib/libssl.so.3 /lib/libssl.so.3

to your Dockerfile also works.
(The release notes for Alpine 3.21 talk about moving some stuff to /usr so that's probaly what's going on)

Seeing this as well. I am working around by using base image node:18-alpine3.20. Looks like 3.20 suffix is available for most node versions.

this fixed the issue for me! thanks so much @TaxBusby, et al 👍

Got the same error with node:22.12.0-alpine:
api-1  | > prisma migrate deploy && node dist/index.js
api-1  |
api-1  | prisma:warn Prisma failed to detect the libssl/openssl version to use, and may not work as expected. Defaulting to "openssl-1.1.x".
api-1  | Please manually install OpenSSL and try installing Prisma again.
api-1  | prisma:warn Prisma failed to detect the libssl/openssl version to use, and may not work as expected. Defaulting to "openssl-1.1.x".
api-1  | Please manually install OpenSSL and try installing Prisma again.
api-1  | Prisma schema loaded from prisma/schema.prisma
api-1  | Datasource "db": MySQL database "seas_db" at "db"
api-1  |
api-1  | Error: Could not parse schema engine response: SyntaxError: Unexpected token 'E', "Error load"... is not valid JSON

I changed my Dockerfile:
FROM node:18-alpine3.20

And now works.
Alpine 3.21 removed openssl1.1

I change my Dockerfile:
FROM node:18-alpine3.20

And now it's working.
Alpine removed openssl1.1

Just a note, that whilst pinning to an older version might be a viable workaround, that image has a mid severity libssl vulnerability...
https://hub.docker.com/layers/library/node/18-alpine3.20/images/sha256-7000d2e73f938c4f62fdda6d398d7dffd50e6c129409ae2b1a36ccebf9289ffe?context=repo

Filed nodejs/docker-node#2175

I think this probably should be fixed either here or over at Alpine, i.e. one of the below needs to happen

Prisma should look for libssl in /usr/lib
Alpine should put a symlink to libssl in /lib

Here's what I wrote in the above issue:

FYI, since I ran into the same issue today, it occurs with node:20-alpine3.21 but not with node:20-alpine3.20, and the reason is not that the former doesn't have OpenSSL, it's that the library is stored in a different location.
Specifically, in 3.20 it's in /lib/libssl.so.3 but in 3.21 it's in /usr/lib/libssl.so.3.
(Actually 3.20 also has /usr/lib/libssl.so.3, but the point is that /lib/libssl.so.3 is what is needed).
So adding something like
RUN ln -s /usr/lib/libssl.so.3 /lib/libssl.so.3

to your Dockerfile also works.
(The release notes for Alpine 3.21 talk about moving some stuff to /usr so that's probaly what's going on)

It seems that the symlink /usr/lib/libssl.so.3 to /lib/libssl.so.3 is already provided. Therefore, adding a command to create this symlink manually in the Dockerfile shouldn't be necessary.   Costed us 2 clients (hospitals) today.

dude…
https://github.com/prisma/prisma/blob/be3eed5c89e3b643904ea31e75cf9eb34e71e6b5/LICENSE#L143-L151

Hey folks, Alberto from Prisma here. This issue arised due to a change in Alpine's Docker images, specifically in how and where OpenSSL libraries are stored (and, consequently, detected by Prisma Engines).
Thanks to https://github.com/prisma/prisma/pull/25824, this issue is now solved. This fix will be shipped in Prisma 6.2.0 on December 17th, and is already available in Prisma 6.1.0-dev.14.

It seems that the symlink /usr/lib/libssl.so.3 to /lib/libssl.so.3 is already provided. Therefore, adding a command to create this symlink manually in the Dockerfile shouldn't be necessary. However, if this issue arises again, a simple check can ensure the symlink is created only if it doesn't already exist:
RUN [ ! -e /lib/libssl.so.3 ] && ln -s /usr/lib/libssl.so.3 /lib/libssl.so.3 || echo "Link already exists"

I myself had to use the following, because my Dockerfile didn't like the above :

RUN sh -c '[ ! -e /lib/libssl.so.3 ] && ln -s /usr/lib/libssl.so.3 /lib/libssl.so.3 || echo "Link already exists"'

Will the fix for this be backported to older major versions of Prisma? Or do we need to migrate to Prisma 6 to keep using up to date docker images?

If you are okay with running an old version of prisma, you can also run an old alpine image, no?

Will the fix for this be backported to older major versions of Prisma? Or do we need to migrate to Prisma 6 to keep using up to date docker images?

@TaxBusby no backport unfortunately, this issue is a byproduct of changes independent of Prisma. Please upgrade to Prisma 6 anyway, as backport releases are not contemplated by Prisma's policies.

Hello @jkomyno I added the 6.1.0-dev.14 on my package.json, changed the version on dockerfile to node:22.12-alpine and I am still getting this issue. Do you have an idea where can be? I am currently using Prisma on a Monorepo with Turborepo.
this are the binaryTargets I am using: binaryTargets = ["native", "debian-openssl-1.1.x", "debian-openssl-3.0.x"]

@ismaelpereira Are you sure you need those binaryTargets at alll? Can you delete that schema.prisma line and try again? Thanks

Hey folks, Alberto from Prisma here. This issue arised due to a change in Alpine's Docker images, specifically in how and where OpenSSL libraries are stored (and, consequently, detected by Prisma Engines).
Thanks to #25824, this issue is now solved. This fix will be shipped in Prisma 6.1.0 on December 17th, and is already available in Prisma 6.1.0-dev.14.

Thanks for the updates Alberto.
Similarly to @ismaelpereira, I am still getting the error after upgrading to 6.1.0-dev.14
(Using node:20-alpine)

I have upgraded prisma to 6.1.0-dev.15, still no luck.
I am also using node:20-alpine in my Dockerfile. I tried specifying node:20-alpine3.20 to no avail.
I also previously tried including RUN ln -s /usr/lib/libssl.so.3 /lib/libssl.so.3, as well as RUN apk add --no-cache openssl in my Dockerfile to no avail.
My binaryTargets are ["native", "linux-musl-openssl-3.0.x"].
FWIW, my container is deployed on EC2 with ECS.
I know you are aware of the issue caused by the update to Alpine, and are working on a fix. I have tried all of the mitigations suggested above and elsewhere, and still my containers cannot run my recent migrations. Any other workarounds or fixes would be greatly appreciated, as this is a hard blocker for any production deployments right now.
@jkomyno

Despite the fix of https://github.com/prisma/prisma/pull/25824, there is still something to improve in the code when dealing with alpine distro.
When the distro is parsed, the output for alpine is {targetDistro=musl, familyDistro=alpine} (cf. here), but when the SSL paths are computed the code check for { familyDistro: 'musl' } (cf. here).
So, it still works because of the fallback (cf. here), but I think it will be better if the familyDistr is well detected.

6.1.0 appears to resolve the issue! Thank you

Do you plan on backporting this fix to the 5.x branch as well?

Any update for old evrsion also

Any update for old evrsion also

We're currently using prisma ^5.0.0. I had to do was specify the previous version of alpine. Using node:20-alpine3.20 worked with our Docker + AWS CDK ECS setup.


Add logrus integration

Added logrus for this project
I've added flag for rootCmd with log-level, but seems it does not work :( could you please check it? Because I found out that other flags for rootCmd also doesn't work

closes  #78

Great idea with loggerClient, but I don't sure now we can use Logrus as a library. I went through docs and looks like Logrus can be configured only by levels, but we need flexible logs groups which may be combined in any positions.
https://github.com/Arkweid/lefthook/issues/78#issuecomment-538277400

hm, interesting, I thought, that we can different log levels as log groups. for example, the summary will have an info log level, failures will have an error log level. Maybe you're right, but as for me (as for active user of Lefthook), it is not too interesting to output just failures, but interesting to get some general information with failures. Can we do this? or how do you see this feature at all?

I see it like this:
// somewhere in the code:
loggerClient.Meta(au.Cyan("SYNCING"), au.Bold("lefthook.yml"))

// in logger client we checking config key `output`
if outputMetaEnabled {
        log.Println(args...)
}

For failure/success keys we store output from processes in pseudo terminal and write in after command ended with some exit code

yep, that's it! for info log level you will receive errors also, but if you will set log level to error or to warn, you will not get meta information output, that's the way how we can combine outputs. It is imo, we can do it through yml config like here https://github.com/Arkweid/lefthook/issues/78#issuecomment-538277400

If you sure we can made it with logrus ok. Could you make example in this PR?

hm, at first, I think, it will be very good to solve issues that I've provided in general comment, because they're some kind of blockers for this :D

I've added flag for rootCmd with log-level, but seems it does not work :( could you please check it? Because I found out that other flags for rootCmd also doesn't work

could you please check it?

could you please check it?
Ok! I will check it. Just a little busy during the workdays :sweat_smile:

Sorry for so long @rbUUbr !
I have cheked it and logrus not fit well our desires. For this task we don't need log-level.
We only just need to mark every output with their purpose in bloks. Like it described here:
https://github.com/Arkweid/lefthook/issues/78#issuecomment-538277400
For example:
loggerClient.Meta(au.Cyan("Lefthook v" + version))

loggerClient.Summary(au.Cyan("\nSUMMARY:"), au.Brown("(SKIP EMPTY)"))

Solved.


Upgrade to React v17

Description

Closes #332
Checklist

[ ] The documentation reflects the changes.
[ ] I have manually tested the application to make sure the changes don’t cause any downstream issues, which includes making sure ./orchest status --ext is not reporting failures when Orchest is running.
[ ] In case I changed code in the orchest-sdk, I updated its version according to SemVer in its _version.py and updated the version compability table in its README.md

[ ] In case I changed one of the services’ models.py I have performed the appropriate database migrations.

Putting this on hold until dev is up to date with master


Add a "quiet" option to AsyncReverseProxyExample.

@garydgregory Looks OK to me. You still might to keep the PR open for a while in case you decide to re-work some of your changes, add javadocs or tweak formatting.

Closing, as I merged from Eclipse. I forgot to do it from here.


Are this boxes available to use with Vagrant?

Hello,
I would like to be able to run ubuntu 16.04 within a container with systemd using Vagrant. There are a couple of boxes published on Atlas but they have problem with systemd + docker.
I wonder if your box is also available on Atlas, and if not, would it play nicely with systemd + docker?
Thank you.

@vonpupp I do not have any experience with the Docker Vagrant provider, if you do get this working in Vagrant, please let us know, submit your PR and we will get it up onto Atlas! Thank you!


luci-mod-network: Use validators from validator module

The current code has custom implementations of a couple validators
that are already available from the validator module in luci-base.
Signed-off-by: Wren Turkal<EMAIL_ADDRESS>

BTW, this has been tested via a qemu build.

NAK, there's not the same. The address validator from the validation module does not support dnsmasq' forward slash notation (/hostname/ipaddr)

Oh, the rebind one is also fqdn as opposed to a hostname, so that makes sense. Would it be interesting if I added an fqdn validator and use that for the rebind domain if I could find a way to allow it to be surrounded with the /'s?
Is the hostname allowed in the static lease also an fqdn? That kinda doesn't make sense since the host wouldn't be able to use that name? But I guess is also kinda does make sense since it could simply be a dns name?
@jow-, It seems like having an fqdn validator would be useful. What do you think?

Closing this as it won't be merged.


unpack requires a buffer of 4 bytes

Hello I used the collector with 2 mikrotik routers. The router1 has little traffic, about 150 connections and it worked very well,
but the router2 has enough traffic about 11200 connections, here I had the following exception
Exception happened during processing of request from ('<IP_ADDRESS>', 9000)
Traceback (most recent call last):
  File "/usr/lib/python3.6/socketserver.py", line 317, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/usr/lib/python3.6/socketserver.py", line 348, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib/python3.6/socketserver.py", line 361, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.6/socketserver.py", line 721, in __init__
    self.handle()
  File "main.py", line 74, in handle
    export = ExportPacket(data, self.templates)
  File "/home/kukulcan/Documentos/github/python-netflow-v9-softflowd/src/netflow/collector_v9.py", line 316, in __init__
    tfs = TemplateFlowSet(data[offset:])
  File "/home/kukulcan/Documentos/github/python-netflow-v9-softflowd/src/netflow/collector_v9.py", line 270, in __init__
    field_type, field_length = struct.unpack('!HH', data[offset:offset+4])
struct.error: unpack requires a buffer of 4 bytes

Any idea how to increase the buffer?
Thanks.

Hello, thanks for the report!
So, my guess is that the data[offset:offset+4] slice does not actually hold 4 bytes, but less, indicating that the data payload is not long enough. Reproducible through the following test cases:
# 4 bytes
>>> data = b"\x00\x01\x00\x01"
>>> struct.unpack("!HH", data)
(1, 1)

# Too many bytes
>>> data = b"\x00\x01\x00\x01\x00"
>>> struct.unpack("!HH", data)
struct.error: unpack requires a buffer of 4 bytes

# 4 bytes slice
>>> struct.unpack("!HH", data[0:4])
(1, 1)

# too short to fill slice
>>> data = b"\x00\x00\x00"
>>> struct.unpack("!HH", data[:4])
struct.error: unpack requires a buffer of 4 bytes

In this case, we'd have to investigate, why. Looking into the NetFlow TemplateFlowSet specs, the length of the fields which are iterated over are fixed at 32 bits/4 bytes.
My guess is therefore, that something is broken in transit and the packets are corrupted. If you have some sample data, we might have a chance to find the problem. This could for example be a second packet capturing file, which captures the received packets at the time the error appears.
You can optionally anonymize and shorten any uploads, since everyone with access to this issue has access to attachments.. :wink:

I was a fool, I was using version 5 of netflow instead of v9.


VPS linux 64 x86 redhat

Hi I am seting up traccar on a VPS server (bluehost) and the linux versionis 64 x86 version,I created a trackar subdomain and try to install inside. I have been able to uncompress but installation is not starting. Where i have to copy the file on the server, knowing that I already have a couple of website on the same server.

You need to run installer. It doesn't matter where you put it. Then if you don't have a separate IP address for Traccar, you would have to configure virtual host in your web server and proxy it to Traccar.

ok, I am using bluehost and I dont fully understand what you mean. How do I proxy to traccar? by putting the Ip adress with  port 8082 to the end?
thank you for the help.

You can find example of how to configure proxy here:
https://www.traccar.org/secure-connection/

thank you , I will try


Style "Submit" button text like the "Begin Exploring" text

I changed the font styles to match the "begin exploring" button, but these all look totally different than your screenshots on my computer, so I'm not sure if the issue is fixed or not.


Bump time dependency to fix build on Rust v1.80

See: https://github.com/rust-lang/rust/issues/127343#issuecomment-2218261296
Closes #84.

Thanks, I'll merge this and push a new version.


TensorRT does not show any speed improvement ???

Hello, I try to convert cascade_rcnn_r50 to tensorRT, and comparing the speed. However, I don;t see any improvement at all in term of speed, while the accuracy slightly drops ?
I use the deployment/test.py for TensorRT, and tools/test.py for Pytorch model, evaluated on COCO Val2017.

Pytorch: 5000/5000, 15.6 task/s, elapsed: 320s. mAP 40.3
TensorRT : 5000/5000, 15.8 task/s, elapsed: 316s. mAP: 40.1

@chuong98 Hi, this feature is experimental and would be improved in the future.


[Feature Request]Add OnHit Effects for Enchantments

Is it possible to expand the options for enchantments that they would have a Active Effect when hitting a target? An example is the Dagger of Venom in the SRD, it has a onhit effect and the target has to make a saving throw or get the poisoned condition. Granted this is a weapon not a spell casting on a weapon but the idea is the same

The system does not have any automation around on-hit effects currently. To achieve this within the current framework you would supply a rider effect to the enchantment with transfer: false. When the enchanted weapon is subsequently used, the effect will then be available in the effect tray to be applied to any target that failed its saving throw.


filter-comments-by-you not displayed any more on PR list page

(Note: Initially reported as part of https://github.com/sindresorhus/refined-github/issues/2631 but they're two different issues)

Example url: https://github.com/sindresorhus/refined-github/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc

The link Everything commented by you added by the filter-comments-by-you is not showing up anymore.
~The icon of the button seems misaligned.~ (separate issue https://github.com/sindresorhus/refined-github/issues/2651)

content.js:2997 TypeError: Cannot read property 'before' of null
    at filter_comments_by_you_init (content.js:5257)
    at features_run (content.js:2992)
    at content.js:3039
    at content.js:2949

The problem arises again.

The feature works, the item has just been changed to "involved in"


update api docs with latest changes and for other brigades

@syk1102 - can you remind me if the POST to /api/alerts takes regular url-encoded POST body params, or if it takes JSON?

I checked myself that /api/alerts wants regular POST data - not JSON. Updated doc.


Add extra comment in template files

Add extra comment in template files:
# Generated by Ansible role {{ ansible_role_name }}

Thanks again! Just a very minor comment made regarding the URL.


Investigate EXINT encoding

Hi, this reminded me of something a buddy of mine wrote.  I'm not sure whether this will be useful, but I thought I'd drop the link just in case.
http://dustinjuliano.com/2016/6/

Don't believe this is too relevant here since we are typically more interested in faster processing and the overhead in encoding/decoding from a universal code would cause a slow-down in the hot loop. The possible stored size improvements are only interesting on huge integers and I expect that even then it would be negigible or evne worse than storing them directly, since typically the words of a big integer can be expected to be relatively random (if calculations aren't centered around a power-of-2 base).
Anyway, thanks for the link!


Upgrade to Tailwind v1 beta.

Includes (unused) default v1 configuration in tailwind.default.js
Hi:
Thanks for this starter. I have created a branch to hold the changes needed to upgrade to v1 which should be released very soon.
Yjis is my first ever pull request so accept my apologies if I've missed something.
I have not tested deploy to Netlify or a production build, but dev build works fine.
Nigel

Hi @nigelb135,
Good job on your first PR! There are a few things I've noticed:

Don't commit your .vscode folder (should probably be in .gitignore)
tailwind.default.js is not needed
Welcome string is missing bold styling
Colors are a bit too lucent in comparison to current state
There was already an existing PR for porting to v1.

As to 5. I'll let the project owner decide what works best.
happy coding!
-impulse

@nigelb135 Thank you so much for doing this! @impulse already put up a PR to upgrade to v1. I really appreciate you taking the time to do this. If you have any ideas for other improvements to the starter, they are much appreciated!
@allcontributors Add @nigelb135 for code! 🎉


Add newly missing parameter to Version.lower call

deepnightLibs 1.0.68 breaks builds using the latest version of ldtk-haxe-api because of the interface change

Thank you!


Uppercase Voxa

Coverage remained the same at 97.852% when pulling c6b7b867c0a09de62fbd6cf6b808f19d17fbdb7b on Voxa-capitalization into 82a205d363a2fdced669cb3cb718cbc762919fd3 on master.

Coverage remained the same at 97.852% when pulling 4c8a750838514e4348b131710e22991d2d76cfa0 on Voxa-capitalization into 82a205d363a2fdced669cb3cb718cbc762919fd3 on master.


add /write command

note: fonts must use indexed color
colors other then 1 mean transparency
added 8 and 12 sized monospaced and non-monospaced fonts

Since this module requires a python dependency (pillow), do you want to split it off into its own module so that the rest of buildingcommands wont be affected?

yes

Hey there, thanks for the feature! I want to keep everything dependency-less for now, so I'll probably pull this after either (1) I finish the pip management system I wanted or (2) after the full v1.0 release.
(tracking: https://github.com/EdwardJXLi/ProjectObsidian/issues/12)


Can't right click in "Shader" window

While it's possible to ctrl+c to copy text, it would be more intuitive if you got a context sensitive menu and copy the text through that.

A search function would be useful as well.


Check if command exists

File: ImageOptimizer/Command.php@23
if(!is_executable($this->cmd)) {
It would be better if you check first with "which jpegoptim", becouse it can happen that command is accesible only with absolut path "/usr/bin/jpegoptiom".

With config file you can configure the path of the command:
https://github.com/approached/laravel-image-optimizer/blob/master/config/imageoptimizer.php#L32

Thanx, but...
I have added to .env...
JPEGOPTIM=/usr/bin/jpegoptim
but cmd is not changed.
Then for test I have saved direct in config...
'jpegoptim_bin'     => '/usr/bin/jpegoptim',
and cmd is still not changed?

@benjamindk can you post your full code?

@approached i was having the same problem till i found this ticket,
as mostly the path will be either /usr/bin or /usr/local/bin.
so maybe the package can check internally for both paths and use which exist and if non then it can throw the exception ?


Is this method works with other PQ methods? (OPQ, LOPQ)

My main goal is minimizing error of PQk-means clustering that comes from quantization.
I want to use PQk-means clustering over Ak-means (Approximate k-means clustering with kd-tree forest) because of the fantastic speed. At the same time, I want to minimize error discrepancy between PQk-means and Ak-means.
There are few parameters I know to do that.

Increase M and L to make more accurate approximation of corresponding original vector.

However, from this picture from http://image.ntua.gr/iva/research/lopq/

I can see PQ has inherent limitation for approximate quantization compare to LOPQ. That is why I came up with idea of using LOPQ on PQk-means clustering.
I am new to PQ worlds, so I am not sure if PQk-means's assignment and update are still valid for other methods such as OPQ and LOPQ.
Do you have any idea?

Hi @insikk
OPQ is a straightforward extension of PQ, where a rotation matrix is applied for each vector in advance. Implementing OPQ is on my TODO list, but PR is welcome :)
LOPQ is a different technology, and cannot be combined to the current PQk-means.
The SOTA search system consists of (1) coarse quantization and (2) PQ compression for each vector. LOPQ is a strategy to train the coarse-quantizer in the per-cell manner, whereas PQk-means does not include coarse-quantization step (because maintaining such data structure is an additional cost in our setting).

Thank you for your kind explanation. Now I understand what is the difference.
I am really looking forward OPQ implementation.
Because I don't know much about OPQ, I don't think I can send PR on this feature.
Meanwhile, I might able to plug and play with external OPQ library. Can you recommend any C++, C++ + Python binding, or Pure Python implementation of OPQ?

OPQ is an encoding step, so it should be pure Python (pq_encoder.py). Actually I have my own C++ implementation of OPQ. I'll port it to Python (maybe next month)

May I get your C++ implementation of OPQ encoding (just for educational purpose)? This is my email<EMAIL_ADDRESS> I'll really appreciate it if you could send me a copy.

Oh I had completely forgotten about this issue 😂   Python implemention of OPQ is available here https://github.com/matsui528/nanopq


Clarify what "More Resources" is by breaking it into its parts.

This also helps distinguish it from the "More Information" section. It adds the jinja variables demo, paper, and repo. See discussion at:
https://huggingface.slack.com/archives/C025H22A3ND/p1669923069281609

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

Hi @meg-huggingface thanks for opening the PR. I have read the related slack conversation.
I am not against removing More resources without a deprecation cycle as it wouldn't break existing code. But if you don't mind could we still keep it as a other section ? Something like:
- **Repository:** {{ repo | default("[More Information Needed]", true)}}
- **Paper [optional]:** {{ paper | default("[More Information Needed]", true)}}
- **Demo [optional]:** {{ demo | default("[More Information Needed]", true)}}
{% if more_resources is defined and more_resources|length %}
- **Other [optional]:** {{ more_resources)}
{% endif %}

By default (and for most model cards) the "other" section will not be displayed. But if the field is already used by some users, the more_resources value will not be ignored. WDYT ? (cc @nateraw  as well).
Beside that, could you update ./docs/source/how-to-model-cards.mdx  ? There are 2 occurrences of more_resources that need to be changed.

For your last point @Wauplin do you mean this doc ??

Hi @meg-huggingface thanks for opening the PR. I have read the related slack conversation.
I am not against removing More resources without a deprecation cycle as it wouldn't break existing code. But if you don't mind could we still keep it as a other section ? Something like:
- **Repository:** {{ repo | default("[More Information Needed]", true)}}
- **Paper [optional]:** {{ paper | default("[More Information Needed]", true)}}
- **Demo [optional]:** {{ demo | default("[More Information Needed]", true)}}
{% if more_resources is defined and more_resources|length %}
- **Other [optional]:** {{ more_resources)}
{% endif %}

By default (and for most model cards) the "other" section will not be displayed. But if the field is already used by some users, the more_resources value will not be ignored. WDYT ? (cc @nateraw as well).
Beside that, could you update ./docs/source/how-to-model-cards.mdx  ? There are 2 occurrences of more_resources that need to be changed.

Agree on the Other, but I do wonder if anyone is actually using it? My impression is that these newer categories really aren't being used, so there isn't as much of an issue with changing (or removing). I'm happy to do the Other for now, but would like to ideally deprecate it if we find that tag hasn't been used yet.


Doesn't trigger all matched nodes by changing attributes

import { observe } from "selector-observer";

document.body.innerHTML = "<x><x></x></x>";

observe("x.y", {
  add(el) {
    console.log("x", el);
  }
});

observe("x.y x", {
  add(el) {
    console.log("y", el);
  }
});

requestAnimationFrame(() => document.querySelector("x").classList.add("y"))

Sandbox.
The second rule is never triggered here, although it matches.
That happens because this check https://github.com/josh/selector-observer/blob/master/lib/changes.js#L107 matches selector set against changed attrib target, but instead it should revalidate all rules within the document to see if any new elements match rules.

Offtopic: this looks interesting https://github.com/naugtur/insertionQuery

worth mentioning yes

Thanks for the report, but yes, this has kinda been a known limitation for a long time. I just haven't documented properly. While some descendant may appear to work in certain cases, I consider them undefined behavior. Only what CSS defines a "simple selectors" are supported.


Project: Team contribution report

Project name
Team contribution report
Description
I've written a small console app to produce reports based on all the teams a user is in to show how much a user messages each team and what percentage grouped by date, to get an insight into where a user is spending their time compared to their peers and how active in each of the teams a user is compared to their peers.
More information can be found in the repo's README.md
Repo URL
https://github.com/csferns/graphhack
Team members
csferns

Thank you for your submission @csferns! Would you be willing to record a short video to demonstrate the app? It's not required for the hackathon but it would help us showcase your work internally at Microsoft and publicly in the community 😊

Hi @waldekmastykarz
I've attached a video for you showing it running and the basic output, as well as the some of the output produced in the video.
Video
Design.txt
Design.csv
Cameron.


[5] Demonstrate Compliant Kubernetes on Azure

Please demonstrate that we can run Compliant Kubernetes on Azure via the following tech stack:

Default cloud image available on Azure
Some Azure Terraform script
Kubespray
Rook
compliantkubernetes-apps

Acceptance criteria
We have evidence for Compliant Kubernetes working on Azure, specifically:

Sample repository capturing the exact steps and versions of all tools used, potentially via git submodules.

Please plan for the repo to become publicly available.

Screenshots of:

Azure Portal
Workload cluster content (e.g., kubectl get all --all-namespaces)
Service cluster content (e.g., kubectl get all --all-namespaces)
Sample application working in the browser (e.g., https://github.com/bitnami/charts/tree/master/bitnami/wordpress)

Kibana (application log and Kubernetes audit log)
Grafana
Harbor with some image being pushed and scanned

Also fixes: https://github.com/elastisys/compliantkubernetes-kubespray/issues/43

Closing due to https://github.com/elastisys/compliantkubernetes/pull/68 getting merged.


Live Quiz

Erase existing environment (screen capture)
Setup our working environment (git clone's)

Erase environment

Clone Repo

activate tools step
https://github.com/nighthawkcoders/portfolio_2025.git

Setup Environment for Project
This command creates my virtual environment.

scripts/venv.sh

default:~/nighthawk/john_2025$ ls
404.html     Gemfile.lock  _layouts    _notebooks     requirements.txt
assets	     images	   LICENSE     _posts	      _sass
_config.yml  _includes	   Makefile    README4YML.md  scripts
Gemfile      index.md	   navigation  README.md      venv

Run Server

Run Server Address


Issue 249: added topic containing information on the S2I build process

@rhoads-zach Mind taking a look? Also, where in the docs do we include this?

Fixes #249

@inoxx03 can you make this topic appendix A in the 3 dev guides:
https://github.com/openshiftio/appdev-documentation/blob/master/docs/vertx-runtime/master.adoc
https://github.com/openshiftio/appdev-documentation/blob/master/docs/wf-swarm-runtime/master.adoc
https://github.com/openshiftio/appdev-documentation/blob/master/docs/spring-boot-runtime/master.adoc

merged: https://github.com/openshiftio/appdev-documentation/commit/163a7870f5328e2b964ad5d281ef4284bca42edd