text:
Add /me command, closes #836

It should be better to simply create and override the /me command, instead of blocking it. Here's an image of how it looks like https://gyazo.com/dc6c7193eeb418ab816eaedd1508a9b3

You can still use /minecraft:me no matter what. We can't overwrite that command.

@iEli2tyree011 That's why I added this https://github.com/twizmwazin/CardinalPGM/pull/837/files#diff-c2eee098f5e1d9f71d4efd97974e23a2R5

@Alfalik Did you test that? I've always had problems removing default permissions with the permission module.

@iEli2tyree011 Meh, players can still use default minecraft permissions, minecraft:me in this case.

I'll be honest I'd rather just outright disable the vanilla command

what about just a #toLowerCase.startsWith(/me)

This PR can be closed

it still would be nice to add a cardinal /me so that it uses display names (with ranks and team) instead of white names, but the vanilla one should be left as it is (usable by default, and blocked during mute or gmute) and the same behaviour should be used for cardinal:me

I've ammend the commit, so if a player do /minecraft:me, the player won't have access. Also, a /me command has been added (https://gyazo.com/c584771128c1a7ed04d39871b2d5cb97). As @Pablete1234 said, it display the actual rank and team of the player.

Leave the old chat module as it was, if someone has their server on the bukkit setting that uses vanilla by default it will be better to also block the regular /me (bcos it will be the vanilla one)

The vanilla command is now totally disabled, and I've added a /me command that shows the rank and team of the player.

:+1:

Should have been fixed in 6ce8cbd , thanks for your work in this PR!

@SungMatt it isn't quite fixed, but i agree thar 1.9 fixed quite alot of stuff with player selectors (try /minecraft:say @a[team=observers]) now bukkit properly uses scoreboard team color / names or something, but it's still not the bukkit display name, it's just the scoreboard team color

repo: twizmwazin/CardinalPGM


text:
Use TP for BB

Which version are you running? The lastest version is on Github. Pip is for major releases.
NA
Upgrade.
NA
Is your feature request related to a problem? Please describe.
BB uses TP instead of close. But the current implementation uses close. Should a BB with TP be added?
https://www.investopedia.com/trading/using-bollinger-bands-to-gauge-trends/
Describe the solution you'd like
NA
Describe alternatives you've considered
NA
Additional context
NA

Hello @prRZ5F4LXZ,
The implemented version of bbands is tightly correlated to the de facto TA Lib and by default it uses a single source, typically close. There are two solutions if you want to incorporate Typical Price to bbands.

Replace close with hlc3.

tp = ta.hlc3(high, low, close)
bbands = ta.bbands(tp, ...)

Modify your local copy of ta.bbands to include high and low series, then import ta.hlc3 to calculate Typical Price.

Make sure to replace close with tp before calculating standard deviation and it's moving average.

from pandas_ta.overlap import hlc3

def bbands(high, low, close, ...):
    # ...
    else:
        tp = hlc3(high, low, close)
        standard_deviation = stdev(close=tp length=length, ddof=ddof)
        deviations = std * standard_deviation
        mid = ma(mamode, tp, length=length, **kwargs)
        # ...

Hope this helps!
Kind Regards,
KJ

Hello @prRZ5F4LXZ,
I assume by no response that the solution provided was sufficient. Thus I will be closing this issue in a few days.
Kind Regards,
KJ

source: gharchive/issue

repo: twopirllc/pandas-ta

license: MIT

license_type: permissive

license_source: github-api


text:
Broken build for 2 months

It would probably be good to fix the broken tests so that the travis build passes again.

Was looking into it today. You may know the answer to this. Is the uri
field expected to be ordered?
On Tue, May 17, 2016, 3:27 PM David Greenberg notifications@github.com
wrote:

It would probably be good to fix the broken tests so that the travis build
passes again.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/twosigma/Cook/issues/129

Build is fixed. However there are currently flaky tests from clj-http-async-pool which may bite us later. I have a pr #142  to remove that code because we don't currently use it. In the future we may make another code base for that code.

👍 🙏 🙇

authors: dgrnbrg wyegelwel

repo: twosigma/Cook

license_source: bigquery


text:
julia install doc has bad char

Pkg.add(“IJulia”)
the curly quotes break julia, need to use "

https://github.com/twosigma/beaker-notebook-www/commit/98723b987799f170194bff6213c8bee4076c0307

repo: twosigma/beaker-notebook


text:
Sketch 3.4.2: day-player creates a 0px x 0px white image

I recently downloaded this plugin and it seems to have a problem with Sketch 3.4.2. Whenever I try to place an image it creates a 0px by 0px solid white image. Has anyone else had this problem?

Yeah getting the same issue with the latest Sketch update (3.4.2). A lot of plugins have gone awry since the update it seems.

Same here.

For me too.

Same issue on 3.4.4

Seems like a lot of plugins are breaking with the new update.

Just got PR #30 merged in to fix this. Will be pushing out a new release shortly.

@jcloutz Thanks for the report, sorry about the slow response, been a busy couple months. From what I can tell, I have this fixed in the latest release https://github.com/tylergaw/day-player/releases/tag/v2.1.0

Awesome, thank you @tylergaw.

authors: Hiswe LukePettway akhalizev daneclarkcollins jbishop228 jcloutz tylergaw

repo: tylergaw/day-player

license: mit


text:
feat: Expose Globals registry to glimmerx

While GlimmerX is a module-centric world, applications can still have
macros that are defined by the surrounding build system. This was
partially there with config.additionalGlobals but we actually
need to expose a registry that can be merged into so that the
globals aren't any types

Should be able to! Merging it now, will try to release in a bit.

source: gharchive/pull-request

authors: chadhietala chriskrycho

repo: typed-ember/glint


text:
Support @group with @module as main navigation

What package is the feature request related to?
typedoc-plugin-markdown
Background
I'm using typedoc to document my domain. Therefore I changed the toplevel navigation to sound less techie and more friendly to non-tech people. Here is the relevant code:
/**
 * @group Domain Objects
 * @module Ride
 */

// in the index.ts file

along with @category to give meaning to my code. Here's the typedoc configuration:
  "navigation": {
    "includeCategories": true,
    "includeGroups": true,
    "includeFolders": false
  },
  "categorizeByGroup": false,

that gives me that navigation in typedoc:

When using typedoc-plugin-markdown (and typedoc-vitepress-theme for display) this setting is not respected, here is the result:

Repro
I have a repro repo with the example above: https://github.com/gossi/rideshare/tree/go-nest/core
This is part of a monorepo, it is the linked package above. You can safely ignore all other packages in there:

checkout
pnpm install
cd core
pnpm doc
pnpm docs:dev

You can also comment out typedoc plugin usage in typedoc.json to see the result from typedoc itself.
Proposed solution
The navigation structure generated into typedoc-sidebar.json will include that and typedoc-vitepress-theme will use it to render the navigation tree as configured.

Please try typedoc-plugin-markdown@4.2.7

That's fantastic. Great job. Thank you very much 😊

authors: gossi tgreyuk


text:
Update mockito-core to 5.14.1

About this PR
📦 Updates org.mockito:mockito-core from 5.12.0 to 5.14.1
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.mockito", artifactId = "mockito-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.mockito", artifactId = "mockito-core" }
}]

labels: test-library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #2116.

repo: typelevel/doobie


text:
feat: translate to Gradual typing #114

오픈소스 컨트리뷰톤으로 처음 참여하게 되었습니다!
처음부터 Gradual typing까지 번역해서 올렸습니다. (다른 부분은 차차...)
영어 번역에 어색한 부분이 있을 수 있지만~ 리뷰 잘 부탁드립니다:)

@annkimm confilct 있는데 resolve 후 커밋부탁드립니다

authors: annkimm guyeol


text:
Custom Meta Object

Is is possible to create a custom meta object with the count, limit and next url inside it.
Example:
 {
  "data": [],
  "meta": {
    "count": 40,
    "limit": 10,
    "next": "nextUrl"
  }
}

This is as far as I've got, as I'm not sure how to pull that count in, for starters:
router.render = function (req, res) {
  var data = res.locals.data
  res.jsonp({
    data: data,
    meta: {
      count: 40
    }
  })
}

Any help is appreciated. Thanks in advance!

As a beginner, I faced the same problem while implementing pagination. I need a count item in my api response, which can give the total of all my object.
"cities": [
    {
      "name": "Bangaluru",
      "code": "BLR",
      "type": "City",
      "id": 1
    },
  "count": 1
];

How did you solve it?

authors: SalahAdDin realph

repo: typicode/json-server


text:
Warn about unknown font families during parsing

First progress on #1967
Edit: This started out as a PR to error when fallback: true, but we decided to first add a warning when encountering an unknown font, regardless of fallback. Original description below:

As discussed in the issue, I will try to emit errors first before thinking about warnings. This PR introduces a check for the easiest situation:
#text(font: "non-existing", fallback: false, "Hello")

yields
error: font family not found: non-existing
  ┌─ ex2.typ:1:6
  │
1 │ #text(font: "non-existing", fallback: false, "Hello")
  │       ^^^^^^^^^^^^^^^^^^^^
  │
  = hint: set `fallback: true` to use another font instead

However, the slightly more complicated case
#text(font: "Linux Libertine", fallback: false, text(font: "non-existing", "Hello"))

does not produce an error. This is because the check is currently in TextElem::construct and only inspects the direct arguments, not the inherited style.
Another example of this is
#text(font: "non-existing", text(fallback: false, "Hello"))

I think this is a bit unsatisfying, but better than the status-quo. Do you think it will be difficult to do the check later when style is inherited? Or am I missing an obvious way to inspect parent styles in the constructor here?
I had some trouble with getting the span of the font argument, because as far as I can tell, the TextElem does not know the spans of its arguments after construction, so I had to get the span just before setting the style.

I think this is a bit unsatisfying, but better than the status-quo. Do you think it will be difficult to do the check later when style is inherited?

The parent styles are simply not know at this point, and there could actually be multiple different ones. Consider e.g.:
#let var = text(font: "non-existent")[Var]

#set text(fallback: true)
#var

#set text(fallback: false)
#var

After thinking some more about it, I think we can just only ever warn about this and not make the warning conditional on whether fallback is enabled. When fallback: false is specified, we will then still error at the point where we can't find a font for a glyph (in the future).
Another thing is that your current implementation doesn't work with set rules, because Construct only runs when text is directly called. To fix that, the check could be moved into a #[parse] handler. You can grep through the repo to see how those work.

I had some trouble with getting the span of the font argument, because as far as I can tell, the TextElem does not know the spans of its arguments after construction, so I had to get the span just before setting the style.

If you use #[parse] you can use Spanned<..> in combination with it. That's also done in some other places.

Okay, makes sense! I updated the PR to warn in a parse handler instead. The span works nicely, this is what the warnings look like:
#text(font: "non-existing", "Hello")
#set text(font: "also-non-existing")
#let var = text(font: ("list-of", "non-existing-fonts"))[Var]

warning: unknown font family: non-existing
  ┌─ ex2.typ:1:12
  │
1 │ #text(font: "non-existing", "Hello")
  │             ^^^^^^^^^^^^^^

warning: unknown font family: also-non-existing
  ┌─ ex2.typ:2:16
  │
2 │ #set text(font: "also-non-existing")
  │                 ^^^^^^^^^^^^^^^^^^^

warning: unknown font family: list-of
  ┌─ ex2.typ:3:22
  │
3 │ #let var = text(font: ("list-of", "non-existing-fonts"))[Var]
  │                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: unknown font family: non-existing-fonts
  ┌─ ex2.typ:3:22
  │
3 │ #let var = text(font: ("list-of", "non-existing-fonts"))[Var]
  │                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I think the list of multiple fonts should use a smaller span to each single font, but maybe this is something for follow up work?
If you green light these changes, I can add some tests for the warning in particular. I already had to annotate warnings in two test files, I am not sure if it was intended that these fonts are missing. Should I look into it, or should we commit the warnings for now?

@laurmaedje I added the examples of my last comment to one of the test files for text, rebased on current main and separated the changes into three reasonable commits - they can probably be squashed though.

Looks good.
However, I decided to merge https://github.com/typst/typst/pull/3922 first because the whole spirit of that PR is to not merge any further large reference images, so you'll unfortunately have to merge/rebase. Sorry about that!

No problem, updated

Thanks!

authors: laurmaedje niklasmohrin

repo: typst/typst


text:
How to handle field renaming?

Suppose the remote state is:
create table students (
  id primary key,
  age integer
)

the local state is:
create table students (
  id primary key,
  score integer
)

There are two strategies to migrate the remote state to the desired local state:
1、drop/add (destrcutive)
alter table students drop column age;
alter table students add column integer;

2、rename (non-destrcutive)
alter table students rename column age to score;

In production database, the age and score may be two distinct attributes or the same  attributes with different names.
So, my question is how renovate tell these cases and choose the appropriate migrating strategy?

Thanks for your feedback. That was missing in the previous implementation see PR #4 for a resolution. So previously it will generate a drop column / add column for the migration plan. With PR #4, it will generate rename for the migration plan. However, it only works only if one field is renamed at a time.
See this test: https://github.com/tyrchen/renovate/blob/master/src/parser/table/column/mod.rs#L257.
And below is my manual test:
➜ renovate schema apply --remote
table public.todos is changed:

1   1    | CREATE TABLE public.todos (
2   2    |     title text NOT NULL,
3        |-    completed boolean,
    3    |+    completed1 boolean,
4   4    |     id bigint DEFAULT nextval('public.todos_id_seq' :: regclass) NOT NULL,
5        |-    CONSTRAINT todos_title_check CHECK (length(title) > 5)
    5    |+    CONSTRAINT todos_title_check1 CHECK (length(title) > 5)
6   6    | )

The following SQLs will be applied:

ALTER TABLE
    ONLY public.todos RENAME COLUMN completed TO completed1;
ALTER TABLE
    ONLY public.todos RENAME CONSTRAINT todos_title_check TO todos_title_check1;
✔ Do you want to perform this update? · yes
Successfully applied migration to postgres://xxxx:yyyyy@ep-frosty-block-785747.cloud.neon.tech/todo.
Your repo is updated with the latest schema. See `git diff HEAD~1` for details.

Released it with v0.2.23.

Thanks. In my opinion, database migration is hard in production environment, just like changing engines on a plane while in flight. In prodution, we need to migrate not only schema, but also data. Differing the local state and the remote state is fessible for schema migration, but not for data migration.
For example:
1   1    | CREATE TABLE public.todos (
2   2    |     title text NOT NULL,
3        |-    completed boolean,
    3    |+    completed1 boolean,
4   4    |     id bigint DEFAULT nextval('public.todos_id_seq' :: regclass) NOT NULL,
5        |-    CONSTRAINT todos_title_check CHECK (length(title) > 5)
    5    |+    CONSTRAINT todos_title_check1 CHECK (length(title) > 5)
6   6    | )

In production data migration, sometimes we just simply renaming completed to completed1. In other situations, we need drop completed and create completed1 as they are distinct attributes. Renovate can not tell the difference, only dev or DBA know the right migrating way.

authors: jingsam tyrchen

repo: tyrchen/renovate


text:
Type trait for parser's attribure

Docs section Terminology has: "Since it is not possible to write a type trait that returns the attribute type of a parser, we need notation for concisely communicating". But it isnot at all clear why that would be impossible.

A sample definition:
template <typename Parser>
using attribute_type = decltype(boost::parser::parse(std::string_view{}, std::declval<Parser>()))::value_type;

char_'s attribute type depends on the input.  So that definition is correct as long as the input is always a sequence of char.  But it's possibly (but not always, depending on the exact combination of parsers) wrong if the input is a sequence of char32_t.
See the rationale section for why I think char_ polymorphism is an important feature.
However, it's really easy to interrogate this yourself at the point of use: decltype(bp::parser(str, p).

repo: tzlaine/parser


text:
Interpolator issue

Im trying to run this example... but the second Interpolation sequence never gets called.
let duration = 5.0
let start = 0.2
let end = 0.9
        (start.interpolator(to: end, duration: duration*0.5, function: Easing.type(.sineIn)) { (value) in
            print("\(value)")
            if(value == 0.9){ //reverse
                (end.interpolator(to: start, duration: duration*0.5, function: Easing.type(.backIn)) { (value) in
                    print("\(value)")
                }).run()
            }

        }).run()

I clearly see the "0.9" printed in the console at the end of the animation. Any idea ?
0.834783264660673
0.843072425218097
0.851380677008584
0.859707158731858
0.868051016404468
0.876411403721092
0.884787482400993
0.89458297075934
0.9

The issue is because you're comparing floating point values which doesn't always work as expected due to precision of floats and doubles and small rounding errors that's not apparent when outputting one of these values as a string which uses less precision. This is a common programming concern that's not specific to Swift. You can observe this by outputting the values differently:
let duration = 5.0
let start = 0.2
let end = 0.9

start.interpolator(to: end, duration: duration*0.5, function: Easing.type(.sineIn)) { (value) in
	print("\(value), string: \(String(format: "%.20f", value)), end: \(String(format: "%.20f", end))")
	print(value == end)

	if value == end { //reverse
		end.interpolator(to: start, duration: duration*0.5, function: Easing.type(.backIn)) { (value) in
			print("\(value)")
		}.run()
	}
}.run()

Here's more info:
https://stackoverflow.com/a/43911753
https://stackoverflow.com/questions/43236212/surprising-difference-for-floating-point-arrithmetic-for-double-vs-float
http://www.floating-point-gui.de/errors/comparison/
The solution would be to explicitly provide the type for start and end as floats:
let start: Float = 0.2
let end: Float = 0.9

Also, to help resolve this, I've updated the library to add Float as an interpolatable type which works as expected alongside using the above change.


text:
Ideas for client interface

Been thinking about how absurd it is to shoehorn a client into the URL router. Better interface would be something like:
#include "Client.h"

uWS::Client({
.open = [](auto *ws) {

},
.message = [](auto *ws, auto message) {

}
.close = [](auto *ws) {

}
}).connect("wss://someplace.com");

Much simpler and totally isolated from the rest.

I think adding protocols as  optional on connect to keep client compatibility with browser will be great https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_client_applications
open, messages, close and maybe add error to deal with connection errors or just pass it to close handler
An simple an isolated client approach make completely sense.

Yep something like error makes sense for client but not for server

Does interfaces of WebSockets of this lib only support construct servers but not clients now?

Hello, joining the discussion, about the new ClientApp:
Is it a ready for production code? I saw it's not in the release yet but still though it is worth to ask (because it will be very useful for me) @uNetworkingAB

@HagaiVinik is just an Idea, for now, you can see the code is just a mock https://github.com/uNetworking/uWebSockets/blob/master/src/ClientApp.h
@woater WebSockets is focused on servers, not WS clients yet, but the idea is to implement a client, this is the idea for the interface.

@cirospaciari
Appreciate the quick answer mate, currently I need to proxy a request i have received on my uWS server to a different host, and proxy his response back. I tried to look through the framework and try using the ws method. (webSocket module?)
What is your suggestion for implementing this the best way? is there a similar example I can take inspiration from?

@cirospaciari Appreciate the quick answer mate, currently I need to proxy a request i have received on my uWS server to a different host, and proxy his response back. I tried to look through the framework and try using the ws method. (webSocket module?) What is your suggestion for implementing this the best way? is there a similar example I can take inspiration from?

Personally, I have a project that can wait for uWS, but if is not your case this are my suggestions:
I needed to do something similar to scaling, I used a message broker in this case, Redis pub/sub, another alternative will be RabbitMQ, but Redis pub/sub can do the job very well.
In my case, I need this client because I want to use UNIX domain socket to communicate internally, without any other library. If you cannot use a message broker, I will suggest you take a look in some other native libraries like libwebsockets, and do some benchmarks, load tests to see if you can rely on it for client, until uWS get the client working.

@cirospaciari
Thanks for answering.
to be honest those solutions are kind of overpowered for me.
I am trying to use the library somehow make it generate a connection with other server.
Do you have any suggestions regarding this mechanism?

@cirospaciari Thanks for answering. to be honest those solutions are kind of 'overpowered' for me. I am trying to use the uWS library somehow and make it generate a connection with a other server. Do you have any suggestions regarding this mechanism?

@HagaiVinik @woater  I opened this discussion let's go to there https://github.com/uNetworking/uWebSockets/discussions/1534

It's great to hear uWS will have client api. can not waiting for it 👍

That's speculation - this is just a simple interface idea. It literally says nothing about how, if, when, at what price, with what license, this might be implemented, if ever.

authors: HagaiVinik cirospaciari jwang0512 uNetworkingAB woater

repo: uNetworking/uWebSockets


text:
Remote-close test, try 2.

Rebased!

Ref: https://github.com/uProxy/uproxy-networking/pull/226

Awesome, thanks. So this supercedes?:
https://github.com/uProxy/uproxy-networking/pull/226

:+1:

Yeah, this has the same changes as 226, just not bungled up through a nasty merge.

authors: mollyling trevj

repo: uProxy/uproxy-networking


text:
pass more flags to run_cloud.sh, for easier testing

Found this very handy when testing out https://github.com/uProxy/uproxy/pull/2868 and the latest release.
Rather than cloning the repo and switching to the development branch, etc., it let me run:
curl https://raw.githubusercontent.com/uProxy/uproxy/trevj-curl-installer-additions/install-cloud.sh | sh -s -- -u -s uproxy/sshd-alpine -z uproxy/firefox-stable -b trevj-alpine-ssh

I think this will be useful in future, too.

This change is

👍 Excellent, yes this will be helpful!

authors: dborkan trevj

repo: uProxy/uproxy


text:
Segfault on many rapid connections/disconnections

Include the following information (where applicable):

What operating system are you running?

Linux

What platform/language are you using?

C++

Are you using SSL, if so, how?

SSL via µWS or Node.js

I tried to start working on the 100% cpu issue I posted, but when I updated to the current version of this repo I started getting segfaults.
Specifically, I get a segfault on one of the two lines:
https://github.com/uWebSockets/uWebSockets/blob/master/src/Group.cpp#L94
https://github.com/uWebSockets/uWebSockets/blob/master/src/Group.cpp#L125
The socketData->next->data dereference is fine, but the data->prev fails because data is nullptr. I tried checking for data to be non-null, but then the same line somehow gives a segfault with non-null values for data.
The segfaults occur during a specific phase of my code where my server receives a large number of incoming connections and closes them almost immediately. I'm pretty stumped about what could be causing this, do you have any ideas?

Maybe related to #433 I'll run many stress tests before I release so this should be easy to find

I get this:
=================================================================
==24952==ERROR: AddressSanitizer: heap-use-after-free on address 0x60f00002d618 at pc 0x00000044460b bp 0x7ffc43d39c50 sp 0x7ffc43d39c40
WRITE of size 8 at 0x60f00002d618 thread T0
    #0 0x44460a in uWS::Group<true>::addWebSocket(uv_poll_s*) ../uWebSockets/src/Group.cpp:103
    #1 0x443235 in uWS::HttpSocket<true>::onData(uS::Socket, char*, int) ../uWebSockets/src/HTTPSocket.cpp:114
    #2 0x42eafa in void uS::Socket::io_cb<uWS::HttpSocket<true> >(uv_poll_s*, int, int) ../uWebSockets/src/Socket.h:290
    #3 0x7fb0aed05937 in uv__io_poll (/usr/lib64/libuv.so.1+0x1a937)
    #4 0x7fb0aecf72d3 in uv_run (/usr/lib64/libuv.so.1+0xc2d3)
    #5 0x40f24c in serveBenchmark() ../uWebSockets/tests/main.cpp:98
    #6 0x404f88 in main ../uWebSockets/tests/main.cpp:958
    #7 0x7fb0ae09d400 in __libc_start_main (/usr/lib64/libc.so.6+0x20400)
    #8 0x405369 in _start (/home/alexhultman/build-uWebSockets-Desktop-Release/uWebSockets+0x405369)

0x60f00002d618 is located 56 bytes inside of 168-byte region [0x60f00002d5e0,0x60f00002d688)
freed by thread T0 here:
    #0 0x7fb0afae0520 in operator delete(void*) (/usr/lib64/libasan.so.3+0xc8520)
    #1 0x432155 in uWS::WebSocket<true>::onEnd(uS::Socket) ../uWebSockets/src/WebSocket.cpp:172

previously allocated by thread T0 here:
    #0 0x7fb0afadfea0 in operator new(unsigned long) (/usr/lib64/libasan.so.3+0xc7ea0)
    #1 0x442e78 in uWS::HttpSocket<true>::onData(uS::Socket, char*, int) ../uWebSockets/src/HTTPSocket.cpp:113

SUMMARY: AddressSanitizer: heap-use-after-free ../uWebSockets/src/Group.cpp:103 in uWS::Group<true>::addWebSocket(uv_poll_s*)
Shadow bytes around the buggy address:
  0x0c1e7fffda70: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c1e7fffda80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c1e7fffda90: fa fa fa fa fa fa fa fa fa fa fa fa fa fa 00 00
  0x0c1e7fffdaa0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0c1e7fffdab0: 00 00 00 fa fa fa fa fa fa fa fa fa fd fd fd fd
=>0x0c1e7fffdac0: fd fd fd[fd]fd fd fd fd fd fd fd fd fd fd fd fd
  0x0c1e7fffdad0: fd fa fa fa fa fa fa fa fa fa fd fd fd fd fd fd
  0x0c1e7fffdae0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa
  0x0c1e7fffdaf0: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
  0x0c1e7fffdb00: fd fd fd fd fd fd fd fd fd fd fd fd fd fa fa fa
  0x0c1e7fffdb10: fa fa fa fa fa fa fd fd fd fd fd fd fd fd fd fd
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07
  Heap left redzone:       fa
  Heap right redzone:      fb
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack partial redzone:   f4
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
==24952==ABORTING

It runs stable if I remove all calls to removeHttpSocket and addHttpSocket so I guess those calls interfere with addWebSocket and removeWebSocket in a way that I haven't looked at. Makes sense since I recently added those functions and they might be messing with the SocketData or something.

I think last commit solves this and #433

I will test if it solves #443

Yes, it works just fine now! I've tested quite thoroughly. Good job with finding the bug! :)

That's awesome. I think 0.13 is starting to get stable now. Thanks for testing and reporting

authors: alexhultman jimmyt857 mafrost

repo: uWebSockets/uWebSockets


text:
Express values for initfibthick and inithumthick as meters

For forest community types (CMT01, CMT02, CMT03), values for initfibthick and inithumthick within cmt_dimground.txt were expressed in cm. The model calls for these values in meters, so convert accordingly.

This addresses #538

Setup a little test as follows:
$ CASE="test-PR539"

$ setup_working_directory.py --input-data-path /data/input-catalog/cru-ts40_ar5_rcp85_ncar-ccsm4_BNZ-LTER_CRREL_Met_10x10/ /data/workflows/$CASE

$ cd /data/workflows/$CASE

$ outspec_utils.py --empty config/output_spec.csv

$ outspec_utils.py config/output_spec.csv --on ALD y
$ outspec_utils.py config/output_spec.csv --on TSHLW m
$ outspec_utils.py config/output_spec.csv --on TDEEP m
$ outspec_utils.py config/output_spec.csv --on DEEPC m
$ outspec_utils.py config/output_spec.csv --on SHLWC m
$ outspec_utils.py config/output_spec.csv --on GPP m
$ outspec_utils.py config/output_spec.csv --on CMTNUM y

#ncdump /data/input-catalog/cru-ts40_ar5_rcp85_ncar-ccsm4_BNZ-LTER_CRREL_Met_10x10/vegetation.nc
# find pixels with correct CMT, in this case, 1, 2, 3

$ runmask-util.py --reset run-mask.nc
$ runmask-util.py   --yx 1 8  run-mask.nc
$ runmask-util.py   --yx 1 7  run-mask.nc
$ runmask-util.py   --yx 0 0   run-mask.nc

$ dvmdostem -l err -p 100 -e 1000 -s 250 -t 115 -n 85

$ cd ..

Repeat the above steps for CASE="test-master".
Then do the following:
$ mkdir -p "test-PR539/plots"

$ ipython

And at the Python prompt, do the following:
import sys
sys.path.insert(0, '/work/scripts')
import output_utils
import netCDF4 as nc
import matplotlib.pyplot as plt

def make_comparison_plot(var, timeres, tailsize=24):
  master, units  = output_utils.stitch_stages(var=var, timestep=timeres, stages='sp tr sc'.split(), fileprefix='test-PR539-master/output')
  pr539, units = output_utils.stitch_stages(var=var, timestep=timeres, stages='sp tr sc'.split(), fileprefix='test-PR539/output')
  fig = plt.figure(figsize=(12,8))
  axes = fig.subplots(3,3)
  pixels = [(1,8),(1,7),(0,0)]
  for i, (y,x) in enumerate(pixels):
      ax = axes[i,0]
      ax.sharex(axes[0,0])
      ax.plot(master[:,y,x], color='black', linewidth=2, label='master')
      ax.plot(pr539[:,y,x], color='red', linewidth=2, label='pr539')
      ax.set_ylabel(f"{var} {units}")
      ax.set_title(f"px(y,x):({y},{x})")
      ax.legend()

      ax = axes[i,1]
      ax.sharex(axes[0,1])
      ax.plot(master[0:10,y,x], color='black', linewidth=2, label='master')
      ax.plot(pr539[0:10:,y,x], color='red', linewidth=2, label='pr539')
      ax.set_title(f"px(y,x):({y},{x})")
      ax.legend()

      ax = axes[i,2]
      ax.sharex(axes[0,2])
      ax.plot(range(master.shape[0]-tailsize, master.shape[0]), master[-tailsize:,y,x], color='black', linewidth=2, label='master')
      ax.plot(range(master.shape[0]-tailsize, master.shape[0]), pr539[-tailsize:,y,x], color='red', linewidth=2, label='pr539')
      ax.set_title(f"px(y,x):({y},{x})")
      ax.legend()

  plt.tight_layout()
  plt.savefig(f'test-PR539/plots/{var}.png')
  plt.show()

for var in 'ALD'.split():
  timeres = 'yearly'
  make_comparison_plot(var, timeres)

for var in 'TSHLW TDEEP SHLWC DEEPC GPP'.split():
  timeres = 'monthly'
  make_comparison_plot(var, timeres)

Left column is the full time series, (spinup, transient, scenario),
middle column is the initial 24 time steps (years or month, depending on the variable) and
right column is the final 24 time steps.

Overall not nearly as much influence as I would have expected for changing the values by 2 orders of magnitude??

repo: uaf-arctic-eco-modeling/dvm-dos-tem


text:
[INFRA] Host Client to Heroku

Development Task 🔧
What? ❓
Host the client in a Heroku Dyno using the team's Gmail.

Completed!
https://hireflow-client.herokuapp.com/
Docs have been updated with Heroku credentials if anyone on the team needs to change anything.

repo: ubclaunchpad/club-manager-client


text:
Revert "Added 2-way proto-thrift mapper (#1130)"

This reverts commit 0fb34ee81bd8c395f71c9e9d8e2351101c12b211.
RunID is not always present, causing panics.

other fixes needed, opening another pull request.

repo: uber-go/cadence-client


text:
Testing components in Node environments

In #186 we ran into a case where a component was throwing errors server-side because it tried to reference browser specific globals.
Our current unit tests and e2e tests make sure that our components work in browser environments, but we don't have any tests to ensure that errors aren't thrown when rendering on the server.
We've historically used unitest for this, which requires you to bifurcate your tests into /node and /browser folders. It seems like unitest is more focused on tap for tests than jest, so maybe it's not the best tool for us this time around.
Other options:
Use jest "projects" option
I haven't 100% validated that this would work, but it seems like we may be able to use Jest projects to run in multiple environments in parallel.
{
  "projects": [
    {
      "displayName": "browser",
      "testMatch": ["<rootDir>/**/*.browser.test.js"],
      "testEnvironment": "jsdom"
    },
    {
      "displayName": "node",
      "testMatch": ["<rootDir>/**/*.node.test.js"]
      "testEnvironment": "node"
    }
  ]
}

Separate Jest configs
Create separate jest configs jest.browser.config.js jest.node.config.js with different environments and globs, and run them as separate unit test commands.
Thoughts? Other ideas?

Interesting use case. So we are discussing two issues (I think):

jest vs tape
how do we make a system that test in node and browser env

I prefer jest personally, it's a plus that fusionjs is using it too.
For 2, is it possible to run the same test over both node and browser configurations?

I like the Jest projects option - do you want me to give it a try @schnerd , or will you?

jest vs tape

To be clear, this issue is not about jest vs tape. We're sticking with jest.

For 2, is it possible to run the same test over both node and browser configurations?

I don't think so unfortunately, many of our current unit tests invoke component functionality that is dependent on a DOM–or a fake DOM like jsdom–being present. Enzyme's mount() isn't intended to work in a node environment and we use that in plenty of our tests.
@gergelyke it'd be awesome if you or someone else on the team wanted to volunteer to try it out.

yeah, I'll do it!

Opened a PR for this #1464 👍

authors: gergelyke jh3y kahwee schnerd

repo: uber-web/baseui


text:
Why not using kotlin so far ??

Thanks for using NullAway. Before you create an issue, please consider the following points:

[x] If you think you found a bug, please include a code sample that reproduces the problem. A test case that reproduces the issue is preferred. A stack trace alone is ok but may not contain enough context for us to address the issue.

[x] Please include the library version number, including the minor and patch version, in the issue text.

Not really an issue.  See here for discussion

repo: uber/NullAway


text:
Upgrade to Php 8.2

This updates the arcanist to be compatible with Php 8.2. libphutil also needs to be upgraded for this to actually work. (https://github.com/uber/libphutil/pull/28)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: sywhang:x: tchung1118You have signed the CLA already but the status is still pending? Let us recheck it.

Diffing against the stable branch as that's where these needs to be merged.

authors: CLAassistant behinddwalls tchung1118

repo: uber/arcanist


text:
History Error Injection Client

What changed?
Add an error injection client for history client

Why?
Injection random client error during in bench test to expose potential error handling bugs.

How did you test it?
Local test.

Potential risks
No risk. Error injection client won't be created if error rate is 0 on service start up.

I know this is a common trend in this repo to add such decorators. But did anyone considered to use code generation for such occasions? This seems like it could be easily generated from a template.

I think that's a good idea, let me create an issue to track it.

repo: uber/cadence


text:
controller:graceful deployments: add support for hostGoingDown state

This patch adds support for a new host state in DFDD called "GoingDown" state. Any host that's going down for a planned deployment or maintenance will be in this state. This allows controller to gracefully handover extents and reduce publish errors / duplicates. The host state itself would come from the load reporter. Changes:

Load reporter handles new host status metric
DFDD state machine now keeps track pf goingDown hosts
Moved the remoteZoneExtentReplication fix up into extentMon, previously was coupled with dfdd

Prerequisite: https://github.com/uber/cherami-thrift/pull/19

Coverage decreased (-0.8%) to 68.293% when pulling c5ff655502eac20b3d1ebf819d119b82d4abaa95 on nodestatus into 3fbd20b913823fcfb61e99354230e73dce820cb0 on master.

Coverage decreased (-0.4%) to 68.734% when pulling c5ff655502eac20b3d1ebf819d119b82d4abaa95 on nodestatus into 3fbd20b913823fcfb61e99354230e73dce820cb0 on master.

Changes Unknown when pulling 7d968745ee8ef95738546105f8930f7b749a1418 on nodestatus into ** on master**.

repo: uber/cherami-server


text:
Question: declaratively setting GL parameters?

The documentation is not particularly clear on how to set GL properties via the parameters Deck prop. I understand that this is now the preferred way to set GL properties (as opposed to using onWebGLInitialized).
Using this interface, how do we obtain a gl instance so we can set parameters? For example, I want to pass
parameters: {blendEquation: gl.FUNC_ADD}

but this requires me to get a WebGLRenderingContext instance from the initialization callback.
I wonder if the API can be asynchronous instead and supply a context as a callback parameter, e.g.
<Deck
  parameters={(gl) => ({ blendEquation: gl.FUNC_ADD })}
/>

Yes good question.
luma.gl exports static constants that enable you to use gl constants without access to a gl context.
import GL from 'luma.gl/constants'; // deck/luma v6
import {GL} from 'luma.gl'; // deck/luma v5

  parameters: {
    blendEquation: GL.FUNC_ADD

This should be clarified in the docs, tagging this for tracking.

I see, is GL re-exported from deck.gl at all? It feels awkward to import from luma.gl since it is a dependency of deck.gl rather than a peer dependency of the root project.

authors: LINKIWI ibgreen


text:
Add ArcLayer example to the gallery

For #2968

Added ArcLayer demo example to the gallery.

Coverage remained the same at 62.456% when pulling bfb9fe6c4c65544fcfdd4f46b34e7cc77260eb48 on kaushikb11:gallery-examples into fa784e757846f28602c3db6e81a93cbd9c18fd5e on uber:master.

This is a great start. A few suggestions,

format the code as other examples. I am not sure it is because of github or not, but the continuation indent should be 2 spaces, also there should be an extra line after the last line of the file. I have an issue to track applying lint rule to our gallery examples.

could divide the fetch callback into small functions to make the code more readable.

const deckgl = new DeckGL({
  ...
}); // intialize deckgl

function renderLayers(data, selectedFeature) {
  selectedFeature = selectedFeature || data.features.find(f => f.properties.name === 'Los Angeles, CA') // default to feature with name 'Los Angeles, CA';

   // construct the layers
   // then in your GeoJsonLayer, 'onClick' callback could trigger renderLayers
   ...

   deckgl.setProps({layers: ...})

}

fetch(data-url)
  .then(...)
  .then(data => {renderLayers(data)});

@xintongxia Did the required changes. Refactored the functions and fixed the lint errors.

authors: coveralls kaushikb11 xintongxia


text:
JSON Example: Add Maniphest Tasks Comment.

Hi guys,
could you give me an example of your JSON string used to add the maniphest comment?

Can you clarify what you're looking for?

I'm automating some stuff in phabricator and need to add a comment to an existing tasks.
Therefore I would like to use the conduit method maniphest.edit like you did. But I've got a little bit confused reading the help .
So I'm searching for an JSON syntax example.

Phabricator jenkins plugin is not working with maniphests directly... You should seek help in official Phabricator forum/IRC...

authors: OCram85 artms sectioneight

repo: uber/phabricator-jenkins-plugin


text:
GUVNOR-2559: Guided Decision Table Editor: Improve appearance (for Red Hat Summit)

See https://issues.jboss.org/browse/GUVNOR-2559

Part of an ensemble:
https://github.com/uberfire/uberfire/pull/393
https://github.com/droolsjbpm/drools-wb/pull/201

Please do not merge.. just figuring something out...

Jenkins please retest this.

@Rikkola @csadilek @ederign anyone.. could somebody please review?
It's 99% UI rendering changes, so don't expect a lot of tests..

+1

authors: csadilek manstis

repo: uberfire/uberfire


text:
Deprecation types option

https://developers.google.com/maps/documentation/javascript/places?csw=1#deprecation
Should change your API accordingly :)
Awesome project btw!

I really like this library which saved me a lot of work on UI so I researched Google and made "types" work again in #301 .

Google has changed the parameter from "types" to "type", but most of type values remain unchanged.

Regardless, the only change we need to make is to explicitly call a new method setTypes() of AutoComplete. For example, I added this line right after autocomplete object initialization.
this.autocomplete.setTypes(types);

I did test locally but didn't check in test code due to lake of cleanness. Hope it helps!

This is true for "text search requests" but looks like, AutoComplete is not affected: https://developers.google.com/maps/documentation/javascript/3.exp/reference#AutocompleteOptions

authors: Frexuz aemkei chrisli30

repo: ubilabs/geocomplete


text:
Change lat and lng input name

It's possible to change lat / lng input name?
Or is mandatory that should be input[name=lat] and  input[name=lng]?
thanks

+1 . I use Symfony, and if I change the name of the input, the data is not persist :(

thanks! I will try

This don't fix my issue, because seem that you can't change the name of input, I mean change to:

  Latitude:
  Longitude:

authors: airv-b kamov


text:
Bounty Hunter Protection

I think it could be interesting to create some type of incentive system to protect bounty hunters from teams that take too long to finish reviews and approve bounties

          > Do you have any updates? @zgorizzo69

Waiting for fam to review pr #600
Originally posted by @zgorizzo69 in https://github.com/ubiquity/ubiquity-dollar/issues/593#issuecomment-1467558055

Bounty hunter protection is an interesting idea.
I have been thinking about similar ideas.
Let's discuss this.

Protection fund

Protects bounty hunters from projects that are not effective in terms of bounty review (need to track metrics like time of PR review, etc)
Protects projects from bounty hunters that are not effective in terms of bounty implementation (need to track metrics that we discussed for the well done bounty - according to time, not high number of PRs, etc)
If a bounty hunter or a project are not effective to not meet (violate) some thresholds of metrics then they should pay a fee in UBQ (or uAD as a part of their bounty) into this Protection fund.
Fee in UBQ can be in fixed amount, for example 100 UBQ for 1 bounty. Fee in uAD can be a percentage of the bounty price, for example 10%. In the future, additional fees can be applied to parties that violated were not defective in several bounties.
If a bounty hunter or a project is suffered from a not effective partner then he should be able to get compensation in UBQ from this Protection fund.

Lottery

If a bounty hunter is suffered from a project who slowly reviews his PR, then each day he can win a bonus in UBQ.
A bonus in UBQ is randomly varies from 1 to 1000 UBQ.
The longer he waits the higher chances to win a large bonus.

Bounty efficiency standard and report

Ubiquity can define a kind of a golden standard for the bounties.
The standard will consist of the best practices and metrics to track.
We already discussed the some examples of metrics - time, number of PRs, etc
Then Ubiquity can scrape data on the all (DevPool and others bounties from the GitHub and publish regular Bounty state report (currently, not clear how to recognise the bounty).
Bounty state report will show current bounty resolution metrics and trends:

Number of projects who offer bounties
Number of open and done bounties
Average bounty price
And other metrics

Such reports are published by the companies who want to position as leaders on this market
Google - DORA and other reports
Alchemy - Web3 development https://www.alchemy.com/blog/web3-developer-report-q4-2022
The further development of the Bounty standard and support of the Bounty state report can be a way to apply for non-profit grants.

authors: pavlovcik sergfeldman

repo: ubiquity/bounty-bot


text:
Fan control?

Describe the bug
Fans get loud, is there fan control?
What did you expect to happen?
Fan curve management
Output of rpm-ostree status
No response
Hardware
No response
Extra information or context
No response

Hi, is there fan control  on Rog ally Bazzite, if so, how

Hi, is there fan control on Rog ally Bazzite, if so, how

try lact, idk if it will work
ujust install-lact

Hi, is there fan control on Rog ally Bazzite, if so, how

try lact, idk if it will work ujust install-lact

Hi , what is lact, does it allow fan control? Thanks :)

Please ignore the fact suggestion, that's completely wrong.
Follow https://github.com/ublue-os/bazzite#alternative-handhelds

Please ignore the lact suggestion, that's completely wrong.
Follow https://github.com/ublue-os/bazzite#alternative-handhelds
Our guides cover fan control.

This is not completed? Incomplete the issue, atleast above he gave a suggestion, what kind of suggestions is a link to the info page? What suggestion can you give for fan control

repo: ublue-os/bazzite


text:
Cos function

@LinxuanHu @AhmedCode99 @tirthbha
ipython-input-8-fe2d73df47d6>:5: RuntimeWarning: divide by zero encountered in divide
return np.cos(1 / x)
:5: RuntimeWarning: invalid value encountered in cos
return np.cos(1 / x)
:5: RuntimeWarning: divide by zero encountered in double_scalars
return np.cos(1 / x)
Trapezoidal rule result for cos(1/x): nan
Simpson's rule result for cos(1/x): nan
N = 2, Integral = 1.0806046117362795
N = 2.0, Integral = nan
Adaptive trapezoidal rule result for cos(1/x): nan
I have got these things in cos(1/x) function, Can you elaborate what it mean?
My graph for this function appears like this, is it correct?

@poojashresthacode I got the same runtime error, and which is due to singularly about x=0. You have to handle the singularly at x=0.

@poojashresthacode As you can see the function has indeterminate form at x=0, it will encounters errors or warning unless you resolve this singularity issue.

@poojashresthacode I have resolved this issue, you can see here: https://github.com/ubsuny/23-Homework6G5/pull/19

https://github.com/ubsuny/23-Homework6G2/issues/16
This can be of some help.

This is a possible way of dealing with a singularity: (https://github.com/ubsuny/23-Homework6G2/issues/47)

authors: AhmedCode99 poojashresthacode reshnashrestha tirthbha


text:
Add diagram

Adds the architectural diagram to the README file.

Too many things got screwed up. I'll try rebasing from Thor instead of my fork.

repo: uc-cdis/thor


text:
19 1er feedback   correcciones

closes #19

Pull Request Test Coverage Report for Build 2267077028

190 of 190 (100.0%)  changed or added relevant lines in 10 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 2192651087:
0.0%

Covered Lines:
237

Relevant Lines:
237

💛  - Coveralls

authors: aguskrembs coveralls


text:
More utils cleanups

ONLY NEEDS LGTM
SHOULD BE MERGED BY #267

By the way, I verified no functional changes (at least on rocket.fir) for any of the style commits

authors: donggyukim jackkoenig

repo: ucb-bar/firrtl


text:
Update links from NCEA landing page

The NCEA landing page (/output/en/teacher/curriculum-guides/ncea/index.html) has 7 links that are promised in "early 2016". I think the documents are basically done, so they need to be linked to this index page. One or more level 3 documents might be just about ready too?

Everything that is ready/ almost done is currently linked to. The stuff that is not linked to is not ready. The level 3 documents that are ready are linked to.

authors: Heidirose timbellnz

repo: uccser/cs-field-guide


text:
Confirms should be posts

Would need to wrap the buttons in forms

Pending items on the confirm page, both individually and the confirmAll button, should be changed away from links into buttons which submit a POST.  The server side should change to only accept [HttpPost]

authors: jSylvestre srkirkland

repo: ucdavis/Peaks


text:
Try segmentation by color as a first step for target detection instead of a NN object detector

@Dat-Bois can you expand on this and estimate when you'll get it done by?

Un-assigning this since we talked about it and this isn't possible with just a script, we need to modify the label generation as well to give us letter bounding boxes since they're different from the shape ones.


text:
Add ConfiguredTool object

Background
Need to represent multiple different configurations of the same tool, each referencing the same Tool object. Knowing what tool was run for each different configuration should be represented as a link in the graph, and not rely on the string name value. In addition, tool configuration needs an added property to reference an object that was provided as an argument/input to the Tool (e.g. so you could have a graph-object for NSRL-as-of-March-2022 or ClamAV signature-database version X, and show where in the graph that object had been involved in decision processes).
Requirements
Requirement 1
UCO must be able to represent how a tool was configured at the time of its invocation.
Requirement 2
A tool configuration that uses an object (such as a file or service endpoint) must be representable similar to the literal-valued tool:itemValue.
Requirement 3
UCO must be able to represent that one tool was used under multiple configurations.
Requirement 4
UCO must be able to use one tool configuration in multiple invocations.
E.g. if a tool analyzer_engine has a configuration involving calling it on the command line with the flag --auto-detect-content-type, and the tool is called once per input file for two input files, those two tool invocations should have their action:instrument objects use the same ConfiguredTool.
Requirement 5
UCO must support looking up when a tool is used with a certain flag.
E.g. if a tool analyzer_engine can take the unparameterized (0-argument) command-line flag --auto-detect-content-type, a UCO graph should be reviewable for when analyzer_engine is configured to use that flag, and in what action:Actions that configuration was used.
Requirement 6
UCO must support looking up when a tool is used with a certain flag-value.  This applies to object-values (such as a file or service end-point reference), and literal-values (such as a string).
E.g. if a tool analyzer_engine can take the parameterized (1-argument) command-line flag --assume-content-type, a UCO graph should be reviewable for when analyzer_engine is configured to use that flag, and in what action:Actions that configuration was used.
Requirement 7
One tool used in multiple configurations should be linkable between those configurations and the actions using those configurations.
Risk / Benefit analysis
Benefits
Permit representation of multiple different configurations of the same tool, while maintaining link to the same Tool
Risks
The submitter is unaware of risks associated with this change
Competencies demonstrated
Competency 1
When a single tool is used in a workflow with multiple configuration sections, determine which Tool was used to obtain all observables, independent of all different tool configurations used.
Competency Question 1.1
What Tool was used to obtain all observables?
Result 1.1
Query returns a single result Tool.
Competency 2
A version of a tool known to contain a defect should be locatable within a graph, to understand the impact of results.
Competency Question 2.1
analyzer_engine version 1.0 is known to include a defect that reverses the latitudes and longitudes within JPEG EXIF metadata.  What results, under any configuration of analyzer_engine, are affected by this defect?
Competency 3
When different versions of a resource (e.g., NSRL hashset, AntiVirus database) were provided in various ConfiguredTool objects, determine which resource was provided as an argument to a given ConfiguredTool object.
Competency Question 3.1
What resource was referenced in the itemObject property of a given ConfiguredTool object?
Result 3.1
Query returns a single object that was referenced in the itemObject of the given ConfiguredTool object.
Solution suggestion

Add ConfiguredTool object to UCO tool: ontology.
Add uco-tool:itemObject property for use in uco-tool:ConfigurationSettingType to reference an object that was provided as an argument/input to the ConfiguredTool.
Add new irreflexive object-property tool:isConfigurationOf, with rdfs:range tool:Tool, rdfs:domain tool:ConfiguredTool.

Unresolved implementation question: Should isConfigurationOf be restricted to have a domain that is a tool:Tool, but also not a tool:ConfiguredTool?  Put another way: can a ConfiguredTool be configured further?  The initial implementation will assume it is permissible to permit knowledge representations like this:

{
    "@id": "kb:some-configured-tool-2",
    "tool:isConfigurationOf": {
        "@id": "kb:some-configured-tool-1"
    }
}

Coordination

Tracking in Jira ticket OC-115

[x] Administrative review completed, proposal announced to Ontology Committees (OCs) on 2022-06-27
[x] Requirements to be discussed in OC meeting, 2022-06-30
[x] Requirements Review vote occurred, passing, on 2022-07-11
[x] Requirements development phase completed.
[ ] Solution announced to OCs on (TODO-date)
[ ] Solutions Approval to be discussed in OC meeting, date TBD
[ ] Solutions Approval vote has not occurred

[ ] Solutions development phase completed.
[ ] Implementation has not been merged into develop

[ ] Milestone linked
[ ] Documentation logged in pending release page

@cyberinvestigationexpress Some questions/remarks:

In Requirement 1:

It is currently specified as a solution to achieve something, without indicating what that something actually is. Please specify your requirements in terms of what it is that this CP wants to achieve for the user, its functionality, what it is that cannot be achieved in the current version. In fact, the background already describes the requirements in general terms. You might want to further elaborate on its details (the tool (in a particular version?) must be represented as a unique datum, having one (or more?) specific configurations). The background can then address the context of use, and/or its kinds of tools that should be supported.
Is it the intention to differentiate between a Tool and a ConfiguredTool? If not, I'd suggest to remove Configured from its name. If a distinction does exist, please indicate their distinction as well as how both concepts relate to each other.

About Competency 2:

This uses the terms resource and argument that have not been introduced before. Do they refer to the same thing, or different things? Is this the same as Tool, or Configuration, or something else? In the current competency description I don't understand the question nor its answer.

@plbt5 , I'll process most of your replies (I agree with specification of solution being confused with specification of need), as Eoghan and I had both come to roughly the same representation needs, and settled a way forward recently.
In response to your "Difference between Tool and ConfiguredTool question - it is a question of specialization.  Say I have a command-line tool analyzer_engine that has two significant and mutually-exclusive flags, --auto-detect-content-type, and --assume-content-type X.  I have these questions I would want to answer:

What are the results when using --auto-detect-content-type?
What are the results when using --assume-content-type X for X=foo?
What are the results when using --assume-content-type X for X=bar?
What is the version of the tool used to generate my results?

@cyberinvestigationexpress , @plbt5 - I have made an in-progress update, revising the issue's initial draft.
R1 was:

Add ConfiguredTool object to UCO

It is now:

UCO must be able to represent how a tool was configured at the time of its invocation.

This requirement is already mostly satisfied with tool:ToolConfigurationTypeFacet.  However, there is no corresponding tool:ToolConfiguration object; nor is it clear if there should be one.
R2 (by copy-paste error, a second R1) was:

Add uco-tool:itemObject property for use in uco-tool:ConfigurationSettingType to reference an object that was provided as an argument/input to the Tool

It is now:

A tool configuration that uses an object (such as a file or service endpoint) must be representable similar to the literal-valued tool:itemValue.

I've added a new R3--R7, and a third competency.  I need to pause for another meeting.

I would concur with the outlined Requirements in this proposal but do not think I agree with the proposed solution. Without an example I am unsure I am fully understanding the proposed solution so it is possible that is part of my reticence.
It seems to me that a more effective way to address these requirements would be:

add the tool:configurationSettings property to tool:ToolConfigurationTypeFacet

this would allow instantial configuration details to be specified for a tool using this facet which is the intent of the facet anyway. I believe it is a bug that this property somehow got left off of this facet

add a tool:itemObject property optionally on tool:ConfigurationSettingType

Using these simple changes,

you can specify the characterization of a tool independent of its instantial usage configuration with a tool:Tool object.
you can specify the characterization of a tool specific to its instantial usage configuration with a tool:Tool object containing a tool:ToolConfigurationTypeFacet

In a specific action taken at a specific time this approach would be taken

you can specify that a configuration-specific tool (number 2 above) is a specific configuration of a configuration-independent tool (number 1 above and relevant to multiple different potential usage configurations and usages) with a simple Relationship with core:kindOfRelationship="Is_Configured_Version_Of"

Example:
{
  "@graph": [
    {
      "@id": "kb:Tool-0b635b9f-bdb8-4492-9b4e-dec6797b82db",
      "@type": "uco-tool:Tool",
      "uco-core:name": "IDA Pro",
      "uco-tool:toolType": "binary code analysis tool",
      "uco-tool:creator": "hex-rays",
      "uco-tool:version": "7.7"
    },

    {
      "@id": "kb:Tool-be707329-48fe-4d5d-84f3-7978ba63869e",
      "@type": "uco-tool:Tool",
      "uco-core:name": "IDA Pro",
      "uco-tool:toolType": "binary code analysis tool",
      "uco-tool:creator": "hex-rays",
      "uco-tool:version": "7.7",
      "uco-core:hasFacet": [
        {
          "@type": "uco-tool:ToolConfigurationTypeFacet",
          "uco-tool:configurationSettings": {
            "@type": "uco-tool:ConfigurationSettingType",
            "uco-tool:itemName": "auto-detect-content-type",
            "uco-tool:itemValue": "true",
            "uco-tool:itemType": "commandline-flag"
          }
        }
      ]
    },
    {
      "@id": "kb:Relationship-f32b41f8-2b33-4f0f-9bb4-3a0a0752e3ec",
      "@type": "uco-core:Relationship",
      "uco-core:source": "kb:Tool-be707329-48fe-4d5d-84f3-7978ba63869e",
      "uco-core:target": "kb:Tool-0b635b9f-bdb8-4492-9b4e-dec6797b82db",
      "uco-core:kindOfRelationship": "Is_Configured_Version_Of"
    },
    {
      "@id": "kb:Action-94446a56-1f78-42e4-a4f4-ec94ad7e9118",
      "@type": "uco-action:Action",
      "uco-core:name": "Reverse engineer software to determine malicious intent",
      "uco-core:startTime": {
        "@type": "xsd:dateTime",
        "@value": "2022-05-12T10:21:00.00Z"
      },
      "uco-core:endTime": {
        "@type": "xsd:dateTime",
        "@value": "2022-05-14T15:58:00.00Z"
      },
      "uco-action:location": {
        "@id": "kb:9b82c2bc-10f7-47b2-81a8-443a9f458440"
      },
      "uco-action:performer": {
        "@id": "kb:Analyst-c1d5f9cc-10cd-4fdb-9570-e9d00e6df6f7"
      },
      "uco-action:instrument": {
        "@id": "kb:Tool-be707329-48fe-4d5d-84f3-7978ba63869e"
      },
      "uco-action:environment": {
        "@id": "kb:Computer-e640f827-1f5b-4e8a-bd89-7afdf2c85caa"
      },
      "uco-action:object": [
        {
          "@id": "kb:Software1-2ef1d3c7-eb2d-470d-89ea-291daed6549b"
        }
      ],
      "uco-action:result": [
        {
          "@id": "kb:ProvenanceRecord-aa90afe6-9069-49bb-8ad8-b05d3f4f143b"
        }
      ]
    },

    {
      "@id": "kb:Tool-f40e2a5f-7fdf-491f-8c87-b4cb766a6377",
      "@type": "uco-tool:Tool",
      "uco-core:name": "IDA Pro",
      "uco-tool:toolType": "binary code analysis tool",
      "uco-tool:creator": "hex-rays",
      "uco-tool:version": "7.7",
      "uco-core:hasFacet": [
        {
          "@type": "uco-tool:ToolConfigurationTypeFacet",
          "uco-tool:configurationSettings": {
            "@type": "uco-tool:ConfigurationSettingType",
            "uco-tool:itemName": "assume-content-type",
            "uco-tool:itemValue": "foo",
            "uco-tool:itemType": "commandline-argument"
          }
        }
      ]
    },
    {
      "@id": "kb:Relationship-fd59e98c-b31c-48c8-adde-07b5358911da",
      "@type": "uco-core:Relationship",
      "uco-core:source": "kb:Tool-f40e2a5f-7fdf-491f-8c87-b4cb766a6377",
      "uco-core:target": "kb:Tool-0b635b9f-bdb8-4492-9b4e-dec6797b82db",
      "uco-core:kindOfRelationship": "Is_Configured_Version_Of"
    },
    {
      "@id": "kb:Action-ce95584e-5065-4287-83fd-81df2ac72180",
      "@type": "uco-action:Action",
      "uco-core:name": "Reverse engineer software to determine malicious intent",
      "uco-core:startTime": {
        "@type": "xsd:dateTime",
        "@value": "2022-05-12T10:21:10.00Z"
      },
      "uco-core:endTime": {
        "@type": "xsd:dateTime",
        "@value": "2022-05-14T15:58:12.00Z"
      },
      "uco-action:location": {
        "@id": "kb:9b82c2bc-10f7-47b2-81a8-443a9f458440"
      },
      "uco-action:performer": {
        "@id": "kb:Analyst-c1d5f9cc-10cd-4fdb-9570-e9d00e6df6f7"
      },
      "uco-action:instrument": {
        "@id": "kb:Tool-f40e2a5f-7fdf-491f-8c87-b4cb766a6377"
      },
      "uco-action:environment": {
        "@id": "kb:Computer-e640f827-1f5b-4e8a-bd89-7afdf2c85caa"
      },
      "uco-action:object": [
        {
          "@id": "kb:Software1-2ef1d3c7-eb2d-470d-89ea-291daed6549b"
        }
      ],
      "uco-action:result": [
        {
          "@id": "kb:ProvenanceRecord-8cf982c3-f6d7-4e11-9acf-d5dcc4390f42"
        }
      ]
    },

    {
      "@id": "kb:Tool-134e3cc0-7f74-4ea2-9ac1-3c447f4f6195",
      "@type": "uco-tool:Tool",
      "uco-core:name": "IDA Pro",
      "uco-tool:toolType": "binary code analysis tool",
      "uco-tool:creator": "hex-rays",
      "uco-tool:version": "7.7",
      "uco-core:hasFacet": [
        {
          "@type": "uco-tool:ToolConfigurationTypeFacet",
          "uco-tool:configurationSettings": {
            "@type": "uco-tool:ConfigurationSettingType",
            "uco-tool:itemName": "ruleset",
            "uco-tool:itemObject": {
                "@id": "kb:File-0fedea11-3c8b-400c-9cdb-593edc146194"
              },
            "uco-tool:itemType": "external-ruleset"
          }
        }
      ]
    },
    {
      "@id": "kb:Relationship-529c3413-9706-489c-ad61-e65c989240f4",
      "@type": "uco-core:Relationship",
      "uco-core:source": "kb:Tool-134e3cc0-7f74-4ea2-9ac1-3c447f4f6195",
      "uco-core:target": "kb:Tool-0b635b9f-bdb8-4492-9b4e-dec6797b82db",
      "uco-core:kindOfRelationship": "Is_Configured_Version_Of"
    },
    {
      "@id": "kb:Action-1a8cd716-c0c6-42d4-955f-19b2b9f0e3e6",
      "@type": "uco-action:Action",
      "uco-core:name": "Reverse engineer software to determine malicious intent",
      "uco-core:startTime": {
        "@type": "xsd:dateTime",
        "@value": "2022-05-12T10:21:10.00Z"
      },
      "uco-core:endTime": {
        "@type": "xsd:dateTime",
        "@value": "2022-05-14T15:58:12.00Z"
      },
      "uco-action:location": {
        "@id": "kb:9b82c2bc-10f7-47b2-81a8-443a9f458440"
      },
      "uco-action:performer": {
        "@id": "kb:Analyst-c1d5f9cc-10cd-4fdb-9570-e9d00e6df6f7"
      },
      "uco-action:instrument": {
        "@id": "kb:Tool-kb:Tool-134e3cc0-7f74-4ea2-9ac1-3c447f4f6195"
      },
      "uco-action:environment": {
        "@id": "kb:Computer-e640f827-1f5b-4e8a-bd89-7afdf2c85caa"
      },
      "uco-action:object": [
        {
          "@id": "kb:Software1-2ef1d3c7-eb2d-470d-89ea-291daed6549b"
        }
      ],
      "uco-action:result": [
        {
          "@id": "kb:ProvenanceRecord-c462c7de-0391-4c88-a17c-1f9607fb0c46"
        }
      ]
    },

    {
      "@id": "kb:Action-5f6d3a6e-99ee-48bc-9a65-a7e0ae5d9fb8",
      "@type": "uco-action:Action",
      "uco-core:name": "Reverse engineer software to determine malicious intent",
      "uco-core:startTime": {
        "@type": "xsd:dateTime",
        "@value": "2022-05-12T10:31:10.00Z"
      },
      "uco-core:endTime": {
        "@type": "xsd:dateTime",
        "@value": "2022-05-14T16:12:12.00Z"
      },
      "uco-action:location": {
        "@id": "kb:9b82c2bc-10f7-47b2-81a8-443a9f458440"
      },
      "uco-action:performer": {
        "@id": "kb:Analyst-c1d5f9cc-10cd-4fdb-9570-e9d00e6df6f7"
      },
      "uco-action:instrument": {
        "@id": "kb:Tool-kb:Tool-134e3cc0-7f74-4ea2-9ac1-3c447f4f6195"
      },
      "uco-action:environment": {
        "@id": "kb:Computer-e640f827-1f5b-4e8a-bd89-7afdf2c85caa"
      },
      "uco-action:object": [
        {
          "@id": "kb:Software2-bec1d8eb-2db1-444d-9175-b3c60ac47410"
        }
      ],
      "uco-action:result": [
        {
          "@id": "kb:ProvenanceRecord-0db01c96-f34f-431a-9aff-e1cc4fac9842"
        }
      ]
    }
  ]
}

I believe this example demonstrates support for all 7 requirements and related competencies specified in this CP.
This approach avoids the complexity of a new ConfiguredTool type and a new isConfigurationOf property.
As a general note, we should also remove the "type" string from the class names in this namespace to conform with our naming conventions throughout the rest of UCO.

@sbarnum , I've transcribed your sketch from the last comment into CASE-Examples, here.
Somebody should implement the competencies of this proposal as SPARQL queries.

I'd gotten something backwards in my initial sketch of the solution for this proposal:

Add new irreflexive object-property tool:isConfigurationOf, with rdfs:domain tool:Tool, rdfs:range tool:ConfiguredTool.

I reversed the domain and range on accident.  I'm adjusting the proposal now to word that correctly.

The implementation for this Issue is in PR 447.  Note that an sh:xone ("Exactly one") shape-selector was used to cover these mutually-exclusive cases:

The tool configuration is parameterized with a literal-string value.
The tool configuration is parameterized with an object reference.
The tool configuration is parameterized with a value-less flag (e.g. --debug).

I encountered an interesting consequence of over-prescribing constraints, with description and demonstrations linked in this commit.  The short is, if an sh:xone is used, the shapes within it need to be minimal.

PR 447 contains a tested Solution for Issue 405.
Issue 432 might be implemented and supersede Issue 405, but if it isn't, Issue 405 will be voted for inclusion in 1.0.0.

Issue 432, if approved by vote Thursday, will supersede this Issue.

Closing as superseded by Issue 432.

authors: ajnelson-nist cyberinvestigationexpress plbt5 sbarnum

repo: ucoProject/UCO


text:
pc - update setup instructions

Closes #87
User Story
As a developer, I have easy to follow instructions, so that I can set up the repo without too much pain.
Acceptance Criteria

[x] Setup instructions are similar to those for W21 jpa03-STARTER (SETUP-FULL, SETUP-QUICKSTART)
[x] setHerokuVars.py script is modified to make javascript/.env.production optional
[x] pom.xml is modified to use SPRING_PROPERTIES instead of HEROKU_PROPERTIES
[x] custom values needs for the application (e.g. MongoDB URL) are set properly

Addressed @JacquelineMai 's comment about README.md.
Would like to merge soon.

Addressed @JacquelineMai 's comment about README.md.
Would like to merge soon.


text:
update from original

update from original

update from original

repo: udacity/deep-learning


text:
Add "Locked / unlocked" to batch operations for librarians.

Enhancement
Add "Locked / unlocked" to batch operations for librarians.
Expected behaviour (if we decide to make it a feature)

[ ] When going to https://backoffice.biblio.ugent.be/publication/batch, I can use an operation to adapt the "Locked" status of a publication
[ ] The statuses I can switch it to are locked and unlocked
[ ] It's impossible to have a publication without locked or unlocked

Suggestion
8701504,lock.set,locked
In line with options such as https://booktower.gitbook.io/product-docs/producten-en-diensten/biblio-academische-bibliografie-en-repository/handleidingen/batch-operaties#voorbeelden-batch-operaties

@nicolasfranck what is the syntax? I cannot seem to reproduce it, I am not sure whether this is because it's broken or because I'm not using the correct syntax.

@mietcls lock and unlock

authors: mietcls nicolasfranck

repo: ugent-library/biblio-backoffice


text:
As a researcher, I can determine where and how I get a notification from Biblio

Story
As a researcher, I can determine where and how I get a notification from Biblio
Success criteria

[ ] [only when notification settings exist] Researchers get a notification of a new message in Biblio whenever the librarian adds one

Context
Related https://github.com/ugent-library/biblio-backend/issues/512

Will fix this later


text:
[GRPC Client] Add Keycloak-based authentication

Story
Basic authentication in de gRPC server/client is too limited if we want to build a cli client which can be distributed / used outside our team.  Replace basic authentication by token based authentication which piggy backs on an identity provider: Keycloak.
Todo

[ ] check the python example provided by our service provider.
[ ] timebox build of a prototype integration in our gRPC service.

return json web tokens with authorization encoded?

@mietcls Updates this per the conversation yesterday

As we are not going to build a CLI client that will be used outside of our team any time soon; we will not prioritise this now.

authors: mietcls netsensei nicolasfranck


text:
Fix the Jasmine tests for the Select All checkbox

Ticket Link
Ticket 1613
List of squashed commits

Change Number to String type

Test Checklist

[x] Exhibits Clear Code Structure:
[x] Project Unit Tests Passed:
[x] Project Jasmine Tests Passed:
[x] Executes Expected Functionality:
[x] Tested For Incorrect/Unexpected Inputs:

It was fixed within the devrc-2-5-0 branch during the backport but must be re-opened as the Jasmine tests needed to be fixed on the main branch as well.


text:
upload file like phantomjs

http://phantomjs.org/api/webpage/method/upload-file.html
page.uploadFile('input[name=image]', '/path/to/some/photo.jpg');

Hello, I've forked the project and will see what I can do. I will be using this project extensively. Currently, I am working to load specified jquery files. I will see about multipart form loads and things as I become comfortable with the API. This project goes way beyond s coniguous and simple browser. Perhaps trying to submit your load form would help until then (e.g. page.executeJavaScript("document.getElementById('forma').submit()");


text:
ECMAScript Usage with NextConfig

https://nextjs.org/docs/pages/api-reference/next-config-js
CommonJS works just fine with the docs provided but the ecma script does not
/** @type {import('next').NextConfig} */
const nextConfig = {
  reactStrictMode: true,
  swcMinify: true,
  async redirects() {
    return [
      {
        source:
          "/2021/06/29/simple-telegram-bot-in-python-hosted-easily-on-heroku",
        destination: "/simple-telegram-bot-in-python-hosted-easily-on-heroku",
        permanent: true,
      },
      {
        source: "/2021/07/11/easy-proxy-scraper-and-proxy-usage-in-python",
        destination: "/easy-proxy-scraper-and-proxy-usage-in-python",
        permanent: true,
      },
      {
        source:
          "/2021/05/27/panel-data-econometrics-an-introduction-with-an-example-in-python",
        destination:
          "/panel-data-econometrics-an-introduction-with-an-example-in-python",
        permanent: true,
      },
      {
        source: "/2021/06/06/time-series-data-an-easy-introduction",
        destination: "/time-series-data-an-easy-introduction",
        permanent: true,
      },
      {
        source: "/simple-image-classification-with-efficientnet",
        destination: "/efficientnet-classification",
        permanent: true,
      },
      {
        source: "/page/3",
        destination: "/",
        permanent: true,
      },
      {
        source: "/author/fedotovn19/page/3",
        destination: "/",
        permanent: true,
      },
      {
        source: "/tabular-playground-overfitting-solvers-club",
        destination: "/",
        permanent: true,
      },
      {
        source: "/data-science-playground-solvers-club",
        destination: "/",
        permanent: true,
      },
      {
        source: "/honest_protocol_data_analytics",
        destination: "/data_analytics",
        permanent: true,
      },
      {
        source: "/blog/0",
        destination: "/blog",
        permanent: true,
      },
      {
        source: "/.Unlock",
        destination: "/",
        permanent: true,
      },
    ];
  },
};

const removeImports = require("next-remove-imports")();
module.exports = removeImports({ ...nextConfig });

@Pfed-prog
// next.config.mjs
import removeImports from 'next-remove-imports'

/** @type {function(import("next").NextConfig): import("next").NextConfig}} */
const removeImportsFun = removeImports({
  // test: /node_modules([\s\S]*?)\.(tsx|ts|js|mjs|jsx)$/,
  // matchImports: "\\.(less|css|scss|sass|styl)$"
});

export default removeImportsFun({
  webpack(config, options) {
    return config
  },
});

@Pfed-prog
// next.config.mjs
import removeImports from 'next-remove-imports'

/** @type {function(import("next").NextConfig): import("next").NextConfig}} */
const removeImportsFun = removeImports({
  // test: /node_modules([\s\S]*?)\.(tsx|ts|js|mjs|jsx)$/,
  // matchImports: "\\.(less|css|scss|sass|styl)$"
});

export default removeImportsFun({
  webpack(config, options) {
    return config
  },
});

This gives build error

https://github.com/uiwjs/next-remove-imports/blob/243d8483bffde971465ca3c821201cd72d732ef8/example/esm/next.config.mjs#L1-L17
@Pfed-prog  If you provide a reproducible example, I can help you take a look.

https://github.com/dspytdao/dspyt-homepage/tree/main/dspyt
https://github.com/dspytdao/dspyt-homepage/blob/main/dspyt/next.config.js

authors: Pfed-prog jaywcjlove

repo: uiwjs/next-remove-imports


text:
VM should have multiple accounts and a shared folder where the code lives

title

Accounts made, shall I just clone the repo into a new folder? At the moment, it only exists in 'samuel'

repo: ukaea/fair-mast


text:
Feature/add market magiceden

add magic eden - solana NFT market

https://magiceden.io/
https://magiceden.io/marketplace/degods

@marpore Thanks for your support!

authors: marpore ukaznil

repo: ukaznil/nft-market


text:
TP2000-469 GA18 should use sid instead of PK

TP2000-469 GA18 should use sid instead of PK

Why

GA18 isn't firing when two overlapping memberships have been created with different versions of the same member area
What

Makes GA18 filter on sid, rather than pk and adds test for bug scenario

Codecov Report

Merging #649 (aea48a5) into master (ce4cddb) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #649      +/-   ##
==========================================
+ Coverage   93.34%   93.36%   +0.02%
==========================================
  Files         324      324
  Lines       20760    20769       +9
  Branches     1655     1655
==========================================
+ Hits        19378    19391      +13
+ Misses       1068     1066       -2
+ Partials      314      312       -2

Impacted Files
Coverage Δ

geo_areas/business_rules.py
85.71% <ø> (ø)

checks/tests/test_checkers.py
100.00% <100.00%> (+5.26%)
:arrow_up:

geo_areas/tests/test_business_rules.py
99.23% <100.00%> (+0.03%)
:arrow_up:

importer/taric.py
79.73% <0.00%> (+1.30%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

authors: codecov-commenter gabelton

repo: uktrade/tamato


text:
Create tests to match readme examples

There's a helluva lot of overlap in the tests, and I think it might help to start again.  If I do, then start by creating tests that are basically implementations of the examples in the readme (those are what devs look to for how it works after all), maybe keep a few crucial tests for more edge-case behaviours, and then delete everything else.

Created tests for examples, now to see if any of the other tests are just overlaps of what I have...

Completing for now as I'll be encountering the tests to update as I go, which is what I'm doing now.

repo: ultraq/thymeleaf-layout-dialect


text:
Problem sending .png-image read-in data

Hello,
I am reading .png-images from disk into memory using the stb_image.h-library. This seems to work properly as I can read out pixel values from the image array which correspond to what I get out of gimp for the selected pixel. But as soon as I try to send those images over the network with uvgRTP it throws a segmentation fault. Do you guys know this problem?
Best regards,
Robert

Hi.
At least I'm unaware of such crashes. Assuming the input data is not invalid, there shouldn't be a crash, but all those problems have not yet been ironed out from uvgRTP. I'm assuming you are using the generic sender.
Can you run the code through a debugger to get a sense where the crash happens?

Thank you for the quick reply!
I will try to walk through it, but I am also wondering, what invalid value actually means?

Since it also sounds you are sending a lot of data, is the fragmentation flag enabled in the session?
You should have it initialized something like this:
sess->create_stream(8888, 8889, RTP_FORMAT_GENERIC, RCE_FRAGMENT_GENERIC);

@lubertRoft I just meant that the pointer given uvgRTP is valid and does not point to unreserved memory. This is something that is uvgRTP does not guard against.

@fador,@jrsnen: thanks for the hint, I forgot that there is the possibility of using generic frames, that solved the problem!
@jrsnen: ok, I definitely know that the pointer is pointing to valid memory. But I have a more general question: is there some kind of data that can not be send using RTP_FORMAT_H265?

@fador @lubertRoft Yes, only H265 data is supported for RTP_FORMAT_H265. It probably shouldn't crash if other kinds of data are inputted, but it is not meant to do anything sensible in those situations.

authors: fador jrsnen lubertRoft

repo: ultravideo/uvgRTP


text:
Remove the ScriptableObject test.

Fix for #9.
I'm not sure we have any plan to support JsonConvertSerializer again, so I've removed the test which was added with JsonConvertSerializer.

SUUUUUUUUPERRRRRRRRRRRR THANKS!

authors: mattak milkcocoa


text:
Error caused by slash directions on Windows

When I run the same clone method that works perfectly on Ubuntu Server 16 LTS system on a Windows PC, I get the following error:
2017-01-31 16:25:23,626 - DEBUG - [chan 0] lstat(b'/home/.../../static\\index.htm')
2017-01-31 16:25:23,702 - ERROR - Error while opening remote folder. Are you sure it does exist?
2017-01-31 16:25:23,703 - DEBUG - EOF in transport thread

On both systems, Python 3.5.1 is used.
It turns out the reason is that at Windows, paths both contain forward and backward slashes after os.path.join.
I currently solve it by modifying path_join in sftpclone.py manually:
def path_join(*args):
    """
    Wrapper around `os.path.join`.
    Makes sure to join paths of the same type (bytes).
    """
    args = (paramiko.py3compat.u(arg) for arg in args)
    joined = os.path.join(*args)
    joined = joined.replace("\\" ,  "/") #same slash direction for all path
    return joined

Thanks for the report! :)
We actually never tried sftpclone on Windows, so I'm glad it runs almost without issues.
As for this one, I'd prefer making all the slashes homogeneous by "construction" to account for additional (future) problems. For now, however, your solution fixes the issue, so thanks!

No prob, thanks for the fast response :)

When I run the same clone method that works perfectly on Ubuntu Server 16 LTS system on a Windows PC, I get the following error:
2017-01-31 16:25:23,626 - DEBUG - [chan 0] lstat(b'/home/.../../static\\index.htm')
2017-01-31 16:25:23,702 - ERROR - Error while opening remote folder. Are you sure it does exist?
2017-01-31 16:25:23,703 - DEBUG - EOF in transport thread

On both systems, Python 3.5.1 is used.
It turns out the reason is that at Windows, paths both contain forward and backward slashes after os.path.join.
I currently solve it by modifying path_join in sftpclone.py manually:
def path_join(*args):
    """
    Wrapper around `os.path.join`.
    Makes sure to join paths of the same type (bytes).
    """
    args = (paramiko.py3compat.u(arg) for arg in args)
    joined = os.path.join(*args)
    joined = joined.replace("\\" ,  "/") #same slash direction for all path
    return joined

Hello, i am new to this community.
Can you please share the script that's working on windows.
Thanks

@kramit912 you can find the modified code in this branch:
https://github.com/fcivaner/sftpclone/tree/windows-path-fix
sftpclone.py:
https://github.com/fcivaner/sftpclone/blob/windows-path-fix/sftpclone/sftpclone.py
@aldur I created a PR :)
https://github.com/unbit/sftpclone/pull/38

authors: aldur fcivaner kramit912

repo: unbit/sftpclone


text:
President/gowon

Included the President Gowon into the list of Nigerians to have governed Nigeria

Kindly resolve conflict


text:
Update README bundling for zbar-wasm v0.10.0

Currently instructions needs to update on how to use bundled-in or inlined zbar.wasm introduced in zbar-wasm v0.10.0.
https://github.com/undecaf/zbar-wasm/issues/11

As the current version of barcode-detector-polyfill depends on zbar-wasm 0.9.15 there is nothing wrong with the documentation as it is.
But I do agree that barcode-detector-polyfill should be updated to use zbar-wasm 0.10 and that then the docs must be updated, too. I will be on vacation next week (yes, one more time) and will work on that afterwards.

I will be on vacation next week (yes, one more time) and will work on that afterwards.

Nice, enjoy :-)

@undecaf Hi, any progress on this?
I need it for this: https://github.com/capacitor-community/barcode-scanner/pull/276

@iBobik My apologies for the lack of progress in this matter, but I am rather occupied by my bread-and-butter job right now (which I did not expect earlier). I hope that things go back to normal in two weeks.

authors: iBobik undecaf

repo: undecaf/barcode-detector-polyfill


text:
可否从mac11  bigsur开始支持？

图标风格是从11才开始的，老电脑运行12系统有点拉垮，可否从11开始支持？

对不起，macOS11对于SwiftUI的支持与macOS12有较大不同，而且不支持Async代码。

repo: underthestars-zhy/IconChanger


text:
UNDERTOW-2275 Suspend reads before terminating a request to cleanup read-timeout

Issue: https://issues.redhat.com/browse/JBEAP-24861
Upstream issue: https://issues.redhat.com/browse/UNDERTOW-2275
Upstream PR: https://github.com/undertow-io/undertow/pull/1480

There are two test failures in the CI jobs: HttpContinueSslServletTestCase, SameSiteCookieHandlerTestCase. Both are buffer leak issues, I think they are intermittent as I couldn't reproduce them locally.

@TomasHofman there is a failure in the CI that needs to be checked.

@fl4via sorry, that was trailing spaces in source file...
Now there are two test failures which look unrelated to me.

repo: undertow-io/undertow


text:
🛑 Stories on exposure.co is down

In b5cf27c, Stories on exposure.co (https://stories.undp.org) was down:

HTTP code: 502
Response time: 368 ms

Resolved: Stories on exposure.co is back up in 5edf595.

repo: undp/uptime-monitor


text:
🛑 Nitter is down

In 98f9eda, Nitter (https://nitter.unforest.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nitter is back up in 560becf after 17 minutes.

repo: unforest/uptime


text:
🛑 Nitter is down

In 0841895, Nitter (https://nitter.unforest.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nitter is back up in 18f20b2 after 11 minutes.


text:
🛑 Libreddit is down

In 43c563b, Libreddit (https://libreddit.unforest.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Libreddit is back up in f81288f after 5 minutes.


text:
安装超时

描述问题
运行 npm i -D @uni-helper/uni-types 安装超时
复现

系统信息

使用的包管理器
npm
核对

[X] 遵循我们的 行为准则
[X] 检查是否已经有一个报告相同错误的问题，以避免重复创建。
[X] 这是一个具体的错误。请开启 GitHub 讨论你的疑问。
[X] 所提供的复现是这个问题的 最小复现。

还没发布

authors: AgainstAh ModyQyW

repo: uni-helper/uni-types


text:
treeview: initial evaluation

I like the colors per superkingdom. Here's some of the additional features I could think of upon first use of the tool.

instead of opening a single level when clicking a node, try to open as much levels as would fit the viewport (as in the JIT tree) -> very hard to do
sometimes clicking (or unintentional double clicking ???) showed the tree in most detailed zoom level (bug ???) -> couldn't reproduce, must be due to double click
make focus node the new "root" of the tree: size of node should represent maximal node size and only sizes in subtree are relevant (nodes beyond subtree should be greyed out somehow) -> already the case
synchronize focus point of sunburst, treemap and treeview; trace to focus point of all tree visualization could be show as bread crumbs -> would need treemap rewrite in d3 (#54)
base spacing between siblings based on the size of the circles around the nodes; this would avoid overlapping circles -> #388
right clicking a node should not pan the tree so that this node becomes the center of the viewport -> center == highlight. performing an action on a node highlights it.
option to open a complete subtree -> implement using shift+click (#395)
automatically bundle "other" group (which can be expanded upon request) -> #396

show at most x children and bundle remaining children in "other",
only show children that have a certain abundance, and bundle remaining children in "other"

include "unidentified" in root node -> we don't do this in the other graphs
add extra information about nodes in popup menu (maybe also additional functionality that cannot be activated by clicking, double clicking or right clicking) -> tooltip info is the same across graphs
options to sort siblings -> might be implemented with #396

alphabetically (default)
based on their abundance

advantages of treeview over treemap or sunburst

possibility to focus on several branches at the same time
both treeview and sunburst have a real representation of node sizes, whereas treemap uses an approximation of the size

Original issue by @pdawyndt on Fri Jul 04 2014 at 10:52.
Closed by @bmesuere on Fri Aug 08 2014 at 18:47.

todo: evaluate + triage into separate issues
Original comment by @bmesuere on Mon Aug 04 2014 at 14:12.

Added comments to the separated items and created issues for the ones to implement. Closing this one for now.
Original comment by @bmesuere on Fri Aug 08 2014 at 18:47.

authors: bmesuere pdawyndt

repo: unipept/unipept