text:
Turnip prices should update to show user input

This is work for issue #110. It doesn't include localizations, but conditionally shows turnip prices. I just took a crack at it and try to match the style of the app already.

I'm really not sure about that. Maybe the text should be more explicit? Like "Your in game price this morning is X and the predictions for this afternoon is Y". Right now it feels weird.

@TheVaan @renaudjenny on this.

I agree that it’s not that easy to find the right text. When we touch the text, we should discuss if there is more to do.
E.g. it doesn’t make sense to show the average price in the morning when it is later then 12pm and you inserted prices for the afternoon.
Maybe we need steps like:

no values for today:
Your in game price is predicted to be around X in the morning and around Y in the afternoon
value morning inserted, value afternoon missing
Your in game price was X in the morning and is predicted to be around Y in the afternoon
value in the afternoon inserted (doesn’t matter if morning value inserted)
Your in game price tomorrow is predicted to be around X in the morning and around Y in the afternoon

Just an idea.

I'm sorry we'll redo this one internally for now. Not yet clear on the features and I'm working on it to experiment.

authors: Dimillian TheVaan maeganjwilson

repo: Dimillian/ACHNBrowserUI


text:
Is it still active?

The current version crashes on Big Sur for me

I'm also interested in knowing if this is still active.

It's not abandoned, but SwiftUI have so many issues on macOS that it's hard to justify working it. I might continue this year, but I guess I'll be much more motivated when a new version of macOS will be released with a better SwiftUI.

There was a release 8 days ago. So, it seems like there's work going on.

@Dimillian Is this still maintained ?
~7 months since the last push and the release...

Well I mean, it’s working :)

Well I mean, it’s working :)

However, It is buggy as hell :(
It crashes here and there, disabled sidebar items from the settings is ignored and shown everywhere, It can't load u/usernames.... etc

I remember the original developer mentioning that this was due to Swift 4. I have since assumed he gave up, and so i removed it and gave up waiting as well ;-)

source: gharchive/issue

authors: Dimillian Magniquick armaandh jhjacobs81 samyak-jain

repo: Dimillian/RedditOS

license_type: permissive

license_source: github-api


text:
Support for 15254

Currently the app requires 17763+. Would it be possible to support 15254 or even 14393?

Sorry, it's impossible. This project references the WindowsCommunityToolkit, which requires 17763.

authors: DinoChan hihain

repo: DinoChan/OnePomodoro

license: MIT


text:
corrected grammar mistakes in CONTRIBUTING.md.

There're several grammar and spelling mistakes in this file. I just corrected it 2 minutes ago. I am still understanding the relationship inside the your Java (Minecraft Rewrite) programming.
A problem behind is: My Eclipse IDE can't push the project into the same folder in GitHub. It will push to a new folder in GitHub. I am finding ways to fix it.

Eclipse have problems to import multi-module maven project with nested modules.
NetBeans/Intellij seems to work with this.
Do you want add more here? Or I can merge it now?
And thanks for contributing ;)

You may merge now. Probably, there's nothing to change now. I just corrected spelling and grammar. May be in the future, add some Tips / TODO.

source: gharchive/pull-request

repo: Diorite/Diorite

license: mit

license_source: bigquery


text:
🛑 Master Bot is down

In c1f3b06, Master Bot (https://MasterBot.DLCDevelopment.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Master Bot is back up in b587dbe.

repo: Discord-Development-Centre/status


text:
[feature request] loading custom font support

deno-canvas supports writing text to a canvas:
import { createCanvas } from 'https://deno.land/x/canvas/mod.ts'

const canvas = createCanvas(500,600)
const ctx = canvas.getContext('2d')
ctx.fillStyle='red'
ctx.fillText(50,50,"Hello World")
await Deno.writeFile("image.png", canvas.toBuffer());

this is currently only limited to fonts your system knows about (it might even be more limited than that). Canvas kit has an api for loading custom fonts https://skia.org/docs/user/modules/quickstart/#text-shaping. Itd be great if deno-canvas supported loading custom fonts. I think pulling in the whole paragraph builder api might be substantial, but all I would personally be interested in is mirroring the browser's canvas apis with the addition of being able to load custom fonts. E.g.
import { createCanvas, registerFont } from 'https://deno.land/x/canvas/mod.ts'

const canvas = createCanvas(500,600)
const ctx = canvas.getContext('2d')
await registerFont({
  font_family: 'Comic Sans',
  // extra fancy would be supporting a url here (e.g. file:///my-fonts/comic-sans.ttf or any web url)
  src: './my-fonts/comic-sans.ttf'
})
ctx.font = 'Comic Sans'
ctx.fillStyle='red'
ctx.fillText(50,50,"Hello World")
await Deno.writeFile("image.png", canvas.toBuffer());

the registerFont method is very similar to the css interface for loading fonts:
@font-face {
    font-family: 'KulminoituvaRegular';
    src: url('http://www.miketaylr.com/f/kulminoituva.ttf');
}

[edit]
it seems like ctx.font =  is not a supported api at all in the current version. Setting font to anything, including fonts available to the system looks like:
> ctx.font = 'Roboto'
Uncaught TypeError: Cannot read property 'family' of null
    at q.set [as font] (https://deno.land/x/canvas@v1.3.0/src/lib.js:2264:37)
    at <anonymous>:2:10

For loading custom fonts, there is canvas.loadFont.
For setting font you'll need to specify size too.

oh if this is already supported thats fantastic. I am looking at the code now https://github.com/DjDeveloperr/deno-canvas/blob/master/src/types.ts#L1065, what should the descriptors field be?

ah, I figured it out:
canvas.loadFont(fontBuffer, {
  family: 'Comic Sans',
  style: 'normal',
  weight: 'normal',
  variant: 'normal'
})

it probably wouldnt hurt to make the type signatures more accurate than Record<string, string>. Perhaps:
type FontDescriptors = {
  /* identifying name of font */
  family: string
  style: 'normal' | 'italic'
  variant: 'normal' | ...
  weight: 'normal' | 'bold' | ...
}
  loadFont(
    bytes: ArrayBuffer | Uint8Array,
    descriptors: FontDescriptors,
  ): void;

seems like the context.measureText results are very inaccurate.
const text = "Hello There"
// load a font
    const font = await Deno.readFile(family)
    const font_identifier = new Date().toString()
    canvas.loadFont(font, {
      family: font_identifier
    })
    context.font = `${size}px ${font_identifier}`
// get the font measurements
  const metrics = context.measureText(text)
// draw a rect around it
    context.fillStyle = 'white'
    context.fillRect(0, 0, metrics.width, metrics.fontBoundingBoxAscent + metrics.actualBoundingBoxDescent)
// draw the text
    context.fillStyle =  "black"
    context.fillText(text_chunk, 0, 0)

if this looks like a real issue I can create a separate issue or change the title on this one

Here are some repros. First a jsfiddle which correctly measures the width of text:
https://jsfiddle.net/8dk71toq/2/

and second, deno-canvas incorrectly measuring the same text:
import { createCanvas } from 'https://deno.land/x/canvas@v1.3.0/mod.ts'

const canvas = createCanvas(500, 200)
const context = canvas.getContext('2d')

function draw_text(text: string, x: number, y: number) {
  const metrics = context.measureText(text)
  console.log(metrics)
  context.fillStyle = 'red'
  context.fillRect(
    x,
    y,
    metrics.actualBoundingBoxLeft + metrics.actualBoundingBoxRight,
    metrics.fontBoundingBoxAscent,
  )

  context.fillStyle = 'black'
  context.fillText(
    text,
    x + metrics.actualBoundingBoxLeft,
    y + metrics.fontBoundingBoxAscent,
  )
}

context.fillStyle = 'white'
context.fillRect(0, 0, canvas.width, canvas.height)
const font_buffer = await Deno.readFile('./fonts/tangerine/Tangerine-Regular.ttf')
canvas.loadFont(font_buffer, {family: 'Tangerine'})
context.font = '50px Tangerine'
draw_text("Hello World", 50, 50)
await Deno.writeFile('canvas.png', canvas.toBuffer())

both examples use this font https://fonts.google.com/specimen/Tangerine?query=tangerine

some further debugging shows that the builtin font (monospace in the case of my mac) correctly measures the text. 50px monospace is shown below.

loading a different font and specifying it via context.font does produce different measurements, so its clear that canvaskit is reading the new font. It just doesnt quite interpret the sizes correctly. Is this an issue I should move upstream to canvaskit?

All values in TextMetrics except width were added with a hacky workaround, so they might not be right. And no, actual canvaskit does not even implement measureText as they just say to use Paragraph API instead. So this is a issue in deno-canvas only.

Got it. Well it is unfortunate that measuring text can't be done with deno canvas. I wanted to build out text captions with borders. I suppose there's an extremely hacky workaround for me where I dump the image data and find the max & min x & y

Right.. text rendering as a whole is not-so-good with canvaskit-wasm. Btw, deno-canvas does expose Skia related APIs, such as Paragraph API if that's any helpful for you. I plan on porting Node.js skia-canvas using Deno FFI, if that works out we'd have a more performant and compatible canvas API. Though can't say for sure it'll be a thing, or anytime soon as FFI is limited a lot right now.

It would definitely be cool to see an ffi bridge to skia. For what I need though, if the paragraph api is exposed that would probably get me everything I need. Would you mind showing an example of how to use it in deno canvas (I have seen canvaskits docs but I'm not sure it's the same api here)

Skia related APIs are all exposed in a namespace that is default exported from mod.ts.
import Skia from "https://deno.land/x/canvas@v1.3.0/mod.ts";

// Use Skia.Paragraph, Skia.ParagraphBuilder, etc.
// API should be same as canvaskit.

@DjDeveloperr could you give me a primer on contributing to this library? Would it be this file https://github.com/DjDeveloperr/deno-canvas/blob/master/src/lib.js#L2750? Its hard to tell if this is a source file because some of this code looks minified. Could you show where another skia specific method is used as an example?

Yeah, in src/lib.js. Right.. it was minified at first. a variable contains everything exported as default in mod.ts, so all Skia APIs. You can use ctrl+f to find implementation of measureText.

@andykais your first attempt at the implementation looks great. I think it would be good enough for first pass (better than currently inaccurate implementation)
And yes, we do have access to Font in context (it's a minified property, which we can access through context.we), and even FontMgr (in canvas.Cf).
So I think you can PR this function (but slightly modified to accept FontMgr and Font instead of), and I can add it in lib.js 🤔

whats the current CanvasKit version?

It is 0.32.0

I think I've figure out how to measure text correctly.
First, ignore measureText() method. It is not accurate.

// Make sure to set the font size first!
 context2d.font = `16px sans-serif`;

 // The text to display
 const text: string = `Hello World`;

 // Measure the width of a single character
 const charWidth: number = Math.floor(context2d.measureText("X").width);

 // Get the length of the text string
 const textLength: number = text.length;

 // textWidth at selected fontSize
 const textWidth: number = charWidth * textLength;

@webdev3301 I believe there is still an issue with measuring custom loaded fonts. See this message above: https://github.com/DjDeveloperr/deno-canvas/issues/17#issuecomment-926166920

authors: DjDeveloperr andykais webdev3301

repo: DjDeveloperr/deno-canvas


text:
socket_bot hangs - no bot response

Hi, thanks for sharing this tool! I've been through the steps to get this set up with Invoke AI today. I've managed to run through your installation instructions as expected, but seem to fail without an error. At your last instruction, I run socket_bot.py and the last four messages I receive are:
DEBUG:slack_sdk.socket_mode.builtin.client:A new message enqueued (current queue size: 1)
DEBUG:slack_sdk.socket_mode.builtin.client:A message dequeued (current queue size: 0)
DEBUG:slack_sdk.socket_mode.builtin.client:Message processing started (type: hello, envelope_id: None)
DEBUG:slack_sdk.socket_mode.builtin.client:Message processing completed (type: hello, envelope_id: None)
Then the tool hangs for at least 20 minutes (I haven't waited longer)
I've tried restarting the env, I've also tried having invoke AI running in advance of starting socket_bot, as well as not having it running at all.
Can you please help me? Is it possible I've missed something in the slack bot set up?
Further info: In the slack bot set up I was forced to choose a specific event subscription in order to save event subscriptions being 'on' - I did so with the only one available from the list.
Thanks!
    "display_information": {
        "name": "Dreamboat"
    },
    "features": {
        "bot_user": {
            "display_name": "Dreamboat",
            "always_online": false
        }
    },
    "oauth_config": {
        "scopes": {
            "bot": [
                "app_mentions:read",
                "chat:write",
                "files:write",
                "groups:write",
                "im:write",
                "mpim:write",
                "reactions:write",
                "chat:write.public"
            ]
        }
    },
    "settings": {
        "event_subscriptions": {
            "bot_events": [
                "app_mention"
            ]
        },
        "interactivity": {
            "is_enabled": true
        },
        "org_deploy_enabled": false,
        "socket_mode_enabled": true,
        "token_rotation_enabled": false
    }
}```

Issue was potentially caused by typo in env variables.

repo: Djings/slacksd


text:
DjvuPage.BuildImage dimension mismatches for foreground, background and mask are not compensated for

In function which constructs final image by blending data from background, foreground and mask in the case width and height of images is not exactly same AccessViolotaionException is thrown.

Issue resolved with commit f9cd2f2

repo: DjvuNet/DjvuNet


text:
Fix button showing up on secret page.

What's this PR do?
We never hooked up the variables to the "Connect with Northstar" button on the secret login page ✨ 🔒 ✨ so you can actually secretly log in on Thor/Production!
How should this be reviewed?
The variable is being passed now, yeah?
Any background context you want to provide?
No.
Relevant tickets
Fixes 🚯.
Checklist

[ ] Documentation added for new features/changed endpoints.
[ ] Tested on staging.
[ ] Pinged a PM if this is a larger PR that would benefit from some additional testing love.

👍

authors: DFurnes weerd

repo: DoSomething/phoenix


text:
File System Todo: fix doctests

The doctests currently fail due to file persistence. Unlike GenServers, you can't can't simply start a new link/pid and begin afresh!
The current doctests will still fail if the code is run repeatedly, so it's not a silver bullet, though I'm not currently sure of a better approach except for simply removing the doctests entirely.

I think we should simply avoid running these doctests by removing iex> from.
Alternatively, we could remove the file before each doctest to avoid persistence issues, but I don't like this option as much.

I made the changes. Thank you for the PR!

authors: BrooklinJazz matt-humphrey

repo: DockYard-Academy/curriculum


text:
Create Account does not work after two.

"I want to create many accounts in short time. But after two success account create can't create more not working. I guess steam block you after two account create.
Also i add third minutes for each create still not work after two."
Above is quoted from someone, and I am meeting this same problem now, any suggestions to solve this? Thanks!

Slow down more.

Just curious but, isn't it supposed to be after 5?

authors: DoctorMcKay Raikiree ylms

repo: DoctorMcKay/node-steam-user


text:
🛑 Ceresana is down

In 42de2e9, Ceresana (https://www.ceresana.com) was down:

HTTP code: 500
Response time: 761 ms

Resolved: Ceresana is back up in 7cfbf47.


text:
🛑 Apodeko is down

In 72c7ac4, Apodeko (https://www.apodeko.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Apodeko is back up in 8d0a84a.


text:
Add dist folder containing current 'dist' files.

This is just an issue for me to upload the dist files.
I will do this myself, thank you!

I am creating a branch to start the pull now.

I have merged pull request #8 but will keep the issue open as there is more to do.

repo: Dog-Face-Development/Bars


text:
Allow optional "x" to dismiss toast messages.

Continuing the discussion from #1389.
The Problem:  Many users aren't aware that they can close the toast messages by swiping on it. This is apparent especially on Desktop devices where the user is not accustomed to swiping.
Here is a more recent complaint on the Gitter board: https://gitter.im/Dogfalo/materialize?at=5568b4cfa891bec12ef4d221

The solution: Provide the user with some hint on how to close the modal.
I am in favor of two options, although I do prefer the latter.

Make the click event close the message (This would work, but it may cause some unexpected closes; this may not be the ideal option since the problem of the user not knowing that it's closable still exists until the user clicks/taps the message).
Add an "x" button to the message (This is ideal since the user will immediately know that they have the option to manually close the modal).

Refer to the docs for the current method of dismissing notifications: http://materializecss.com/dialogs.html
I'm not saying that the swiping method be replaced with one of these options; it's the opposite, actually. By adding the "x" to the message, it triggers an instinct in users that the toast message is  indeed closable, something that is not apparent in the current setting.
cc: @jcapogna @acburst @mdcsfk @Dogfalo

I vote for adding an an X close. The mechanism I mentioned in #1389 has been very well received by people I've showed it to.

Modals should also have an "X" to close, with respective options and callbacks

:+1:

+1

:+1:

If anyone's interested in a quick easy workaround:
$(document).on('click', '#toast-container .toast', function() {
    $(this).fadeOut(function(){
        $(this).remove();
    });
});

+1

@davidbielik in addition, you can add this css:
#toast-container .toast::after {
	font-family: 'Material Icons';
	content: "close";
	-webkit-font-feature-settings: 'liga';
	color: #dd2c00;
    font-size: 1.5rem;
	font-weight: 300;
    float: right;
	padding-left: 3rem;
}

Complete code
HTML File

CSS File
#toast-container .toast {
    cursor: pointer;
}
#toast-container .toast::after {
	font-family: 'Material Icons';
	content: "close";
	-webkit-font-feature-settings: 'liga';
	color: #dd2c00;
    font-size: 1.5rem;
	font-weight: 300;
    float: right;
	padding-left: 3rem;
}

@flexbrane awesome snippet. I used it. It works.

So here is what I did:
function closetoast(){ 			$('#toast-container').fadeOut(); 		};
Materialize.toast('Toasttext X', 5000);

0-1 actions, not dismiss or cancel
If an action is present, comply with dialog spacing and affordance rules. For two or more actions, use a dialog, not a snackbar, even when one of the actions is a dismiss action. If the action described in the snackbar is important enough to block the use of the screen, it should be a dialog.

Source: https://material.io/guidelines/components/snackbars-toasts.html#snackbars-toasts-usage

Interestingly, inbox.google.com uses the following when you press "done".

I got it working using the toast's own dismiss function. This should make the usual callbacks.
close or icon

authors: GloverDonovan artus9033 cwg999 davidbielik eutervogel flexbrane gizotti hsali jcapogna koustuvsinha nrozic pumpknhd rapito tomscholz

repo: Dogfalo/materialize


text:
Does materialize work with angular?

I have a project that uses angular and I want to use materialize on it. Is that possible?

Yep, though not all features have been implemented yet.
https://github.com/krescruz/angular-materialize

It wasn't quite working for me, but did you ever give it a try @Toujimon ?

I'm currently working on a project with this and it's working just fine. My major complains are about the datepicker (it works really funny and I just used the one referenced in the angular ui selection).
Can you be more specific about your problem using it?

Well, in an ongoing project, I tried to use the select option as set on https://github.com/krescruz/angular-materialize.
That did not work at all, because I had to set the select functionality by hand on my JS like this:
$('select').material_select();

So we ended up throwing away jquery and all materialize.js and used angular material. =/

I understand. I must admit that for dropdowns, I prefer to use the "browser-default" class option instead.

Thanks @Toujimon for the responses.

The materialize DatePicker didn't work for me with AngularJS.

authors: Dogfalo Toujimon dcoferraz ferchoman09


text:
Bug with the class on NavBar "navbar-fixed"

Good evening,
I have a bug on the NavBar Mobile Collapse, which appears when you add the class "navbar-fixed", the left pane becomes all grayed out, and you can not select any link Below, and I've linked you live
You can see it in the screenshot below, and in the link, which leads directly to the bug

And here is a screenshot without the class "navbar-fixed" there is no problem, so I guess the bug vient of the class "navbar-fixed", I put a screenshot below.

You can see the bug, live on this link, with the code below.

            Logo
            menu

Sass

Components

Javascript

Mobile

Sass

Components

Javascript

Mobile

See you soon.

Try to move the sidenav ul outside of its wrappers.

Duplicate of https://github.com/Dogfalo/materialize/issues/3844

tomscholz marked this as a duplicate of #3844 18 hours ago

For what not to correct it since version 0.9.7 it has no way?

@tomscholz, myself and some others joined as contributors this year. The best solution has to be found but there are more things to be done than this. PR's are very welcome.

authors: CodingWeb DanielRuf tomscholz


text:
Autocomplete doesn't complete the last character

Hello guys,
I was searching for issues related to my problem and I thought this one could be duplicate:
https://github.com/Dogfalo/materialize/issues/4230
It was said that the related autocomplete problem was solved. I've downloaded the last materialize-sass gem version but it seems it wasn't fixed.
The problem I'm facing with is: I have the tag "notebook". the autocomplete works until "noteboo", when I enter the "k", the tag simply doesn't appear.
That's how I'm declaring my autocomplete component:
$('.chips-autocomplete').material_chip({
            autocompleteOptions: {
                data: tagoptions.autoCompleteData,
                limit: Infinity,
                minLength: 1
            },
            secondaryPlaceholder: 'Adicione a tag',
            placeholder: '+Tag',
            data: tagoptions.data
        });

The tagoptions.autoCompleteData object is defined as:
{
  eraser:null,
  notebook:null,
  pencil: null
}

The tagoptions.data is an array of chips:
[{
  id,
  tag
}]

Is it a real problem or am I missing something?
Thank you,
Guilherme

same problem in node and meteor

What version? I cannot reproduce this on: http://materializecss.com/forms.html#autocomplete

materialize:materialize@=0.99.0

Thank you, guys.
I'm using 0.97.8.
@neutron92 , did you solve it with this snippet?

i have this errors
materialize_materialize.js?hash=38aa0de00bf1da3e83504deced815b530abaefa4:7826 Uncaught Error: Scss compiler error: Undefined variable: "$medium-and-down".

    at materialize_materialize.js?hash=38aa0de00bf1da3e83504deced815b530abaefa4:7826
    at materialize_materialize.js?hash=38aa0de00bf1da3e83504deced815b530abaefa4:7830
    at materialize_materialize.js?hash=38aa0de00bf1da3e83504deced815b530abaefa4:7842
(anonymous) @ materialize_materialize.js?hash=38aa0de00bf1da3e83504deced815b530abaefa4:7826
(anonymous) @ materialize_materialize.js?hash=38aa0de00bf1da3e83504deced815b530abaefa4:7830
(anonymous) @ materialize_materialize.js?hash=38aa0de00bf1da3e83504deced815b530abaefa4:7842
global-imports.js?hash=5e0f0a71522c063bb881071904e7eeca01779ebd:16 Uncaught TypeError: Cannot read property 'Materialize' of undefined
    at global-imports.js?hash=5e0f0a71522c063bb881071904e7eeca01779ebd:16
(anonymous) @ global-imports.js?hash=5e0f0a71522c063bb881071904e7eeca01779ebd:16
app.js?hash=8d04954afed1b707ef74ab0f7fa58a663df0fea6:1 Uncaught ReferenceError: meteorInstall is not defined
    at app.js?hash=8d04954afed1b707ef74ab0f7fa58a663df0fea6:1

same prob here
https://codepen.io/AlphaDx/pen/xgmXgw

This should be fixed on the latest version

authors: Dogfalo acburst guilhermemaranhao neutron92


text:
For limit order get status EXPIRED_IN_MATCH on Binance testnet

ver: 2.0.3 + 2.0.4.post3 + 2.0.4.post2
main.account_name: Demo - Binance
main.exchange: binance
main.srv_version: 1.4.1
12/12 09:03:16 Exception in fetch_order: <AioRpcError of RPC that terminated with:
        status = StatusCode.UNKNOWN
        details = "Unexpected <class 'google.protobuf.json_format.ParseError'>: Message type "martin.FetchOrderResponse" has no field named "preventedMatchId" at "FetchOrderResponse".
 Available Fields(except extensions): "['symbol', 'orderId', 'orderListId', 'clientOrderId', 'price', 'origQty', 'executedQty', 'cummulativeQuoteQty', 'status', 'timeInForce', 'type', 'side', 'stopPrice', 'icebergQty', 'time', 'updateTime', 'isWorking', 'workingTime', 'origQuoteOrderQty', 'selfTradePreventionMode']""
        debug_error_string = "UNKNOWN:Error received from peer ipv4:127.0.0.1:50051 {created_time:"2023-12-12T09:03:16.12978971+00:00", grpc_status:2, grpc_message:"Unexpected <class \'google.protobuf.json_format.ParseError\'>: Message type \"martin.FetchOrderResponse\" has no field named \"preventedMatchId\" at \"FetchOrderResponse\".\n Available Fields(except extensions): \"[\'symbol\', \'orderId\', \'orderListId\', \'clientOrderId\', \'price\', \'origQty\', \'executedQty\', \'cummulativeQuoteQty\', \'status\', \'timeInForce\', \'type\', \'side\', \'stopPrice\', \'icebergQty\', \'time\', \'updateTime\', \'isWorking\', \'workingTime\', \'origQuoteOrderQty\', \'selfTradePreventionMode\']\""}"
>

For some pair can't off STP mode:
'defaultSelfTradePreventionMode': 'EXPIRE_MAKER', 'allowedSelfTrade
PreventionModes': ['EXPIRE_TAKER', 'EXPIRE_MAKER', 'EXPIRE_BOTH']

repo: DogsTailFarmer/exchanges-wrapper


text:
[Suggestions] Feature Requests

Thanks for putting this addon together! Had a few suggestions in using it (currently in the Beta):
1.) Is it possible to close the window on Esc key?  This is done by adding the frame's name to the UISpecialFields table:
table.insert(UISpecialFrames, windowFrame:GetName());

2.) Is there a faster way to clear the selected dropdown's multi-select? If I have 4-5 selected and want to clear it there is no easy way to do this other than to unclick all of them.
3.) Perhaps a "fix" to #2, is there an "All" category? That just shows me all groups?  This would have to be removed from the dropdown for the "Create Group" tab.
4.) Is there a checkbox or some feature that can be set to "Check Dungeons Out of my Level Range".  Would be helpful if im leveling an alt while looking for a dungeon group for my main / higher level alt.   You would still of course need to either change to your main to whisper the group or say "Hey I can bring my level XX YY and I can log over in Z minutes"
5.) Dropdowns match the input fields in look.  from this window it looks like the input field for invite message "invite please" is part of the dropdown for broadcast channel:

That's all I have for now having just installed it.  I'll be sure to report any Lua errors etc too!

Hey thanks for your feedback, I really appreciate it!
#1 Yeah sure, thats not a problem, will be in for the next build!
#2 The UI you see right now is actually a complete rework that I just published yesterday, I will add the possibility to select and deselect all items at the same time!
#3 See #2
#4 I did not want to overwhelm people with a huge dungeon list, also some people might not know which dungeons to run on a given level. Experiences players don't need this hand-holding so I will make it an option in the settings menu!
#5 I realized this too, I am still trying to figure out how to properly make the dropdown items stand out a bit more without breaking the visual style, but a fix should come soon!

Out of curiosity, how did you get to know of this addon?

Update:
#1, #2, #3 and #4 are in, still trying to figure out what the best way to handle #5 is.
The new version should be available on curseforge/twitch by now

Awesome :) Thanks!  I know you get a bad rep for being called "LFG" but hope there is a decent size of people to propagate information and make finding a group easier without having to stand in a city for an hour much easier :)

Even if you are the only user on the realm (which I hope is not going to be the case) you still have all the groups looking for people in a nicely organized window :)

Dropdown menus now have a slightly different color and should more recognizable now, closing this issue now!

authors: DomenikIrrgang sinkda

repo: DomenikIrrgang/ClassicLFG


text:
🛑 USPS - Registration is down

In 183f772, USPS - Registration (https://reg.usps.com/) was down:

HTTP code: 400
Response time: 128 ms

Resolved: USPS - Registration is back up in 1af280b.

repo: DotGov-Dev/govuptime


text:
Autoformat should keep indentation level

When I make a text selection like this:

And then I hit cmd-shift-f to invoke auto-format, I get this:

From the  "n:explorer" element downwards the indentation level is wrong. It seems everythign is aligned on the last closing tag which is on most left column.
Actually It should always use the indentation level based on the whole document, even if just the selection is autoformatted.

I will not have time to work on this in the near future. I will accept PRs for this after v2.0.0 is released.

repo: DotJoshJohnson/vscode-xml


text:
Invalid json using collect over a relationship in bolt client

This PR addresses https://github.com/DotNet4Neo4j/Neo4jClient/issues/417 issue

Fix typo Deserilizes => Deserializes
StatementResultHelper.cs is fixed to build valid JSON in case of IRelationship
New test is provided that emulates the initial problem

Thank you @andrey-kastryukhin !

Thanks! Greetings from Ibiza

No problem at all! Greetings to Ibiza
PS - Generally PRs like this which are tested are super easy to go through - so if there are things like this, please feel free to PR them!!

authors: Clooney24 andrey-kastryukhin cskardon

license: MS-PL


text:
Could a setting be considered for SA1501/SA1503 to relax on some kind of statements?

Somewhat related to #1175 our team uses something in the lines of the following rule to account for common guards:

When the body of an if statement consists of a single jump statement (e.g. return, throw, break, continue) we allow that statement without braces and on the same line.

Which would mean that the initial code on that linked issue will be valid for us:
if (condition) return;

But not so other kinds of statements like:
if (condition) someVariable = "someValue";

if (condition) someMethod();

or even
if (condition)
    someMethod();

if (condition)
    return;

We feel this is terse and removes clutter without causing readability concerns since the situation is pretty clear with jump statements which break the flow of execution (basically it allows us to have multiple one-liner guards, taking less space).
// Just some example, maybe not the best.
if (obj == null) throw new ArgumentNullException("obj");
if (obj.Whatever == null) return;

foreach (var item in obj.Whatever.List)
{
    if (!item.Condition) continue;

    Process(item);
}

Now, I know that it's impossible to account for every team particular requirement or nuance and that maybe this is not even in the spirit of StyleCop at all (cannot say, while we feel we follow common sense standards, we have never adopted the tool until we discovered this great version using analyzers) but having the option to allow these kind of statement while also enforcing the already existing related restrictions is something that will be very good for us.
I imagined that before going and doing our own thing to enforce it or change the way we work to accomodate, it wouldn't hurt asking the project and the community if they would be interested in considering this behavior as optional or maybe even allow it as a contribution.

Thanks for the well written proposal. I see benefit in this (narrow) case so a 👍 from me. This will have to be optional, with the default behavior to remain the same as it is now.
The statement on the same line is paramount here, as it reduces the chance of somebody typing a next statement and assuming that it will be executed as part of the if statement. This could be further strengthened by demanding an empty line, but that should probably be a new rule.

I believe the selective omission of braces where the child element is on the next line is covered by leaving SA1519 and SA1520 enabled, but disabling SA1503.
I'm :-1: on an additional option allowing the child statement to appear on the same line in these cases, as that option would be equivalent to the current ability to disable SA1501 in essentially all real-world cases.

@sharwell I do not agree that disabling SA1501 would cover all cases. This proposal talks about allowing this only for if statements. Disabling SA1501 would also open up other statements (like lock, for, while, etc.) to become single line statements, something that was never the intention of the proposal.
An alternative for the proposed solution could be to only allow configuration of SA1501 so that it will allow single line if statements. The braces will then be mandatory, as SA1503 is not modified.

@vweijsters Thanks, I misread a section of the proposal and was under the impression that the following was allowed:
if (something)
  someMethod();

It seems like there are two options at play here:

May braces be omitted for an if statement with a single child that branches?
If so, is that single child placed on the current line or the following line?

I have no real preference for question 1.
I'd say that the answer to the 2nd question should be yes.
💭 There may be benefit in adding it for people that cannot / may not upgrade to Visual Studio 2017 in the near future.

Thanks for the thoughtful discussion guys. As mentioned, we only allow this for if statements with jumps as their single child, and we do like the current validations for both SA1501 and SA1503 enabled to happen on other cases than these.
I also agree that those seem to be the options at play here and of course our answers would be "yes" and "current line", but were you to decide to go forward with this I'm not imagining any other way than having these as settings affecting the two rules, which I realize seems rather specific.

I'm going to give a mild 👎 . If implemented, it should be disabled by default. I think returns or throws should be the first thing on a line and be by themselves on a line to make them easier to find. I say this in spite of recognizing that it is a pretty frequent coding style to do validation and return at the start of a method, that there may be several of these, and that it extends quite a bit of vertical space when that is done.
I ask another question...what is the blank line spacing around the "if" if there are no braces. Is it legit to do:
if (condition1) return;
if (condition2) return;
or do there need to be blank lines between them. This may just open a whole new can of worms that shouldn't be opened.

In principle I like this proposal. I always allow this in my guidelines, but with StyleCop it currently all or nothing in this case (SA1503). I want this fine grain ment of this rule, so a big YES ( 👍 ) to question 1.
For question 2 (same or following line) I see that most comments are answering this with 'current line'. I understand this answer, because it saves a line and looks clear on simple examples.
But after using both current line and following line in the past, I ended up with the following line as preference, because of two reasons:

Whenever you want to place breakpoint for debugging, you can't place this only on the jump statement (return, throw, continue). When you are only interested in the 1 out of 1000 case that it throws, your will be glad you put a breakpoint only on the throw statement.

With conditions that are longer and in variable sizes it becomes more unclear what will happen when the condition is meet. Your eyes need to scan the line for the jump statement. If the jump statement is on the following line the logic is easier to spot. Also with 'current line' the line length more often exceeds my preferred max line length (130 characters).  See the following more real life example:

Current line
if (resource != "products" && resource != "people" && resource != "pricegroups") throw new NotImplementedException("Resource is not implemented yet!");
if (-99999 <= anotherlimit && anotherlimit <= 99999) throw new ArgumentOutOfRangeException("limit", "Must be between -99999 and 99999!");
if (limit > 100) throw new ArgumentOutOfRangeException("limit", "Must be less or equal to 100!");
if (obj == null) throw new ArgumentNullException("obj");
if (obj.Whatever == null) return;

foreach (var item in obj.Whatever.List)
{
    if (!item.Condition && someValue == otherValue && value1 == 2) continue;

    Process(item);
}

Following line
if (resource != "products" && resource != "people" && resource != "pricegroups")
    throw new NotImplementedException("Resource is not implemented yet!");
if (-99999 <= anotherlimit && anotherlimit <= 99999)
    throw new ArgumentOutOfRangeException("limit", "Must be between -99999 and 99999!");
if (limit > 100)
    throw new ArgumentOutOfRangeException("limit", "Must be less or equal to 100!");
if (obj == null)
    throw new ArgumentNullException("obj");
if (obj.Whatever == null)
    return;

foreach (var item in obj.Whatever.List)
{
    if (!item.Condition && someValue == otherValue && value1 == 2)
        continue;

    Process(item);
}

:memo: I didn't have a question 1 and question 2. I was saying if implemented, there would be two new options in stylecop.json to allow each project to "answer the questions" with respect to just that project.

@sharwell Aha, didn't catch that :-). Then yes, those would be the two new options to make SA1503 not too strict.
I'm personally in favor to add those options, because I always end op disable the stylecop rule and have a bad feeling about it, because SA1503 in itself is a good rule to have.

My 2 cents as this is dear to me as well
// Allowed scenario 1: terse and **risk free** code
if (false) Console.WriteLine("statement1");

// Disallowed scenario 2: this is a trap for a future developer
if (false)
	Console.WriteLine("statement2");

// Disallowed scenario 3: the trap is stepped on as the developer thinks statement4 is part of the if
if (false)
	Console.WriteLine("statement3");
	Console.WriteLine("statement4");

In the code snippets above, only the string "statement4" is printed out
I love to use scenario 1, "the 1-liner", but can't because there is no way I will disable SA1503BracesMustNotBeOmitted
As soon as it is not a 1-liner anymore you one should introduce braces.
Otherwise a developer that sees scenario 2 can add a statement at the same indentation thinking it is part of the if (which it is not).
The following avoids the trap by adding braces to prevent the trap
// Allowed scenario 4
if (false){
	Console.WriteLine("statement3");
}

@buckleyGI Your disallowed scenario 3 is impossible when SA1137 is enabled. It should also be impossible when the built-in FormattingAnalyzer is enabled (IDE0055).

@sharwell  Thanks, I didn't know about IDE0055 and it seems a solution if we can't enforce it.
But The version my company uses, VS 2022 Version 17.2.1, still allows me to setup the developer trap as shown in the screenshot below.
All the scenario's are allowed by this VS (no squiggles) and our Azure DevOps build server also doesn't complain, it just compiles.
Do we have to explicitly turn on IDE0055?

It is not 100% clear how these IDExxx rules work. Are they rules only for the IDE (suggestion/quick fixes) or can you also enforce them at compilation time?
Is it because we still use ruleset instead of the editorconfig and should we migrate to editorconfig to enforce IDE055 by DevOps? I read in the documentation that you can influence the IDExxx rules only with editorconfig.

@sharwell Thanks, I didn't know about SA1137 and the following configuration will allow the one liner without introducing the trap.
    <Rule Id="SA1503" Action="None" />
    <Rule Id="SA1137" Action="Error" />

authors: GregReddick buckleyGI liquidsnk remyvd sharwell vweijsters

repo: DotNetAnalyzers/StyleCopAnalyzers


text:
Code fix: SA1405 (DebugAssertMustProvideMessageText)

Implement a code fix for #94.
A candidate for the generated string is rendering the assertion expression to a string literal.

Do we really want a code fix here? The goal is that the developer provides a meaningful message, something which will be impossible to generate. I would personally prefer to have no code fix over having a code fix that generates meaningless boilerplate text (something that will not improve code quality)
(Same holds for #658)

My initial thought was a reasonable message for the following:
Debug.Assert(x != null || Foo());

Would be: Assertion failed: x != null || Foo()

I think that message has no value, other than eliminating the useful warning. I would prefer forcing developers to enter a message that is more meaningful than that. Of course it is impossible to really enforce that from a tool, but I would opt for not providing an easy way out.

Remember that Debug.Assert is typically only even evaluated in a debug build. Personally if I can see the assertion that failed, I already have a very good idea what the problem was.

I agree, I normally disable SA1405 because it has limited value.

I would also think there should be no CodeFix for this one. The developer should add their own message if this rule is enabled. Maybe this issue should be closed?

authors: dlemstra sharwell vweijsters


text:
POMs have lots duplication and different versions for dependancies

The current POMs have a lot of duplication (i.e.: same plugins copy+pasted) and use the same dependancies (i.e.: version specified in 2 different POMs) or use different versions (i.e.: OSGi framework).
Would make it easier going forward to have a parent POM to control versions/common plugins across the components.

do you think that upgrade to gradle would make more sense?

@buzdin ; i don't have any experience of gradle / not seen any customers use it in my day-to-day job, but happy to create an issue to add support and investigate.

authors: buzdin garethahealy

repo: DozerMapper/dozer


text:
🛑 Moegirl Commons is down

In 33096d2, Moegirl Commons (https://commons.moegirl.org.cn/Mainpage) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Moegirl Commons is back up in 8c5b344.

repo: Dragon-Fish/moegirl-uptime


text:
Docker WebUI want start

OS: Fedora Linux 40 (Workstation Edition) x86_64
Kernel: 6.10.7-200.fc40.x86_64
CPU: AMD Ryzen 9 5900X (24) @ 3.700GHz
GPU: NVIDIA GeForce RTX 3090
Memory: 96457MiB
Docker WebUI want start
If I execute docker run -it --rm --gpus all -p 7860:7860 athomasson2/ebook2audiobookxtts:latest the Webui won't start. I simply drop to a root shell on the container, diplaying the following:
==========
== CUDA ==
==========

CUDA Version 11.8.0

Container image Copyright (c) 2016-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.

This container image and its contents are governed by the NVIDIA Deep Learning Container License.
By pulling and using the container, you accept the terms and conditions of this license:
https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license

A copy of this license is made available in this container at /NGC-DL-CONTAINER-LICENSE for your convenience.

If I then try to manually start the webui, the installation seems broken
root@42368a76209a:/ebook2audiobookXTTS# python custom_model_ebook2audiobookXTTS_gradio.py
starting...
Traceback (most recent call last):
  File "/ebook2audiobookXTTS/custom_model_ebook2audiobookXTTS_gradio.py", line 7, in <module>
    from pydub import AudioSegment
ModuleNotFoundError: No module named 'pydub'

Can't build container from Dockerfile
If I try to build the container myself using the Dockerfile it looks like scapy can't compile.
Could be related to this (already closed) issue https://github.com/explosion/spaCy/issues/13449.
597.0   Downloading spacy-3.0.6.tar.gz (7.1 MB)
599.8      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.1/7.1 MB 2.5 MB/s eta 0:00:00
600.2   Installing build dependencies: started
607.1   Installing build dependencies: finished with status 'done'
607.1   Getting requirements to build wheel: started
608.2   Getting requirements to build wheel: finished with status 'error'
608.2   error: subprocess-exited-with-error
608.2
608.2   × Getting requirements to build wheel did not run successfully.
608.2   │ exit code: 1
608.2   ╰─> [164 lines of output]
608.2
608.2       Error compiling Cython file:
608.2       ------------------------------------------------------------
608.2       ...
608.2           int length
608.2
608.2
608.2       cdef class Vocab:
608.2           cdef Pool mem
608.2           cpdef readonly StringStore strings
608.2                 ^
608.2       ------------------------------------------------------------
608.2
608.2       spacy/vocab.pxd:28:10: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
608.2
608.2       Error compiling Cython file:
608.2       ------------------------------------------------------------
608.2       ...
608.2
608.2
608.2       cdef class Vocab:
608.2           cdef Pool mem
608.2           cpdef readonly StringStore strings
608.2           cpdef public Morphology morphology
608.2                 ^
608.2       ------------------------------------------------------------
608.2
608.2       spacy/vocab.pxd:29:10: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
608.2
608.2       Error compiling Cython file:
608.2       ------------------------------------------------------------
608.2       ...
608.2
608.2       cdef class Vocab:
608.2           cdef Pool mem
608.2           cpdef readonly StringStore strings
608.2           cpdef public Morphology morphology
608.2           cpdef public object vectors
608.2                 ^
608.2       ------------------------------------------------------------
608.2
608.2       spacy/vocab.pxd:30:10: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
608.2
608.2       Error compiling Cython file:
608.2       ------------------------------------------------------------
608.2       ...
608.2       cdef class Vocab:
608.2           cdef Pool mem
608.2           cpdef readonly StringStore strings
608.2           cpdef public Morphology morphology
608.2           cpdef public object vectors
608.2           cpdef public object _lookups
608.2                 ^
608.2       ------------------------------------------------------------
608.2
608.2       spacy/vocab.pxd:31:10: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
608.2
608.2       Error compiling Cython file:
608.2       ------------------------------------------------------------
608.2       ...
608.2           cdef Pool mem
608.2           cpdef readonly StringStore strings
608.2           cpdef public Morphology morphology
608.2           cpdef public object vectors
608.2           cpdef public object _lookups
608.2           cpdef public object writing_system
608.2                 ^
608.2       ------------------------------------------------------------
608.2
608.2       spacy/vocab.pxd:32:10: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
608.2
608.2       Error compiling Cython file:
608.2       ------------------------------------------------------------
608.2       ...
608.2           cpdef readonly StringStore strings
608.2           cpdef public Morphology morphology
608.2           cpdef public object vectors
608.2           cpdef public object _lookups
608.2           cpdef public object writing_system
608.2           cpdef public object get_noun_chunks
608.2                 ^
608.2       ------------------------------------------------------------
608.2
608.2       spacy/vocab.pxd:33:10: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
608.2
608.2       Error compiling Cython file:
608.2       ------------------------------------------------------------
608.2       ...
608.2           cdef float prior_prob
608.2
608.2
608.2       cdef class KnowledgeBase:
608.2           cdef Pool mem
608.2           cpdef readonly Vocab vocab
608.2                 ^
608.2       ------------------------------------------------------------
608.2
608.2       spacy/kb.pxd:31:10: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
608.2       Copied /tmp/pip-install-s1yoqgkp/spacy_a3a04683ec794ce8805d0f2ae47f9987/setup.cfg -> /tmp/pip-install-s1yoqgkp/spacy_a3a04683ec794ce8805d0f2ae47f9987/spacy/tests/package
608.2       Copied /tmp/pip-install-s1yoqgkp/spacy_a3a04683ec794ce8805d0f2ae47f9987/pyproject.toml -> /tmp/pip-install-s1yoqgkp/spacy_a3a04683ec794ce8805d0f2ae47f9987/spacy/tests/package
608.2       Cythonizing sources
608.2       Compiling spacy/training/example.pyx because it changed.
608.2       Compiling spacy/parts_of_speech.pyx because it changed.
608.2       Compiling spacy/strings.pyx because it changed.
608.2       Compiling spacy/lexeme.pyx because it changed.
608.2       Compiling spacy/vocab.pyx because it changed.
608.2       Compiling spacy/attrs.pyx because it changed.
608.2       Compiling spacy/kb.pyx because it changed.
608.2       Compiling spacy/ml/parser_model.pyx because it changed.
608.2       Compiling spacy/morphology.pyx because it changed.
608.2       Compiling spacy/pipeline/dep_parser.pyx because it changed.
608.2       Compiling spacy/pipeline/morphologizer.pyx because it changed.
608.2       Compiling spacy/pipeline/multitask.pyx because it changed.
608.2       Compiling spacy/pipeline/ner.pyx because it changed.
608.2       Compiling spacy/pipeline/pipe.pyx because it changed.
608.2       Compiling spacy/pipeline/trainable_pipe.pyx because it changed.
608.2       Compiling spacy/pipeline/sentencizer.pyx because it changed.
608.2       Compiling spacy/pipeline/senter.pyx because it changed.
608.2       Compiling spacy/pipeline/tagger.pyx because it changed.
608.2       Compiling spacy/pipeline/transition_parser.pyx because it changed.
608.2       Compiling spacy/pipeline/_parser_internals/arc_eager.pyx because it changed.
608.2       Compiling spacy/pipeline/_parser_internals/ner.pyx because it changed.
608.2       Compiling spacy/pipeline/_parser_internals/nonproj.pyx because it changed.
608.2       Compiling spacy/pipeline/_parser_internals/_state.pyx because it changed.
608.2       Compiling spacy/pipeline/_parser_internals/stateclass.pyx because it changed.
608.2       Compiling spacy/pipeline/_parser_internals/transition_system.pyx because it changed.
608.2       Compiling spacy/pipeline/_parser_internals/_beam_utils.pyx because it changed.
608.2       Compiling spacy/tokenizer.pyx because it changed.
608.2       Compiling spacy/training/align.pyx because it changed.
608.2       Compiling spacy/training/gold_io.pyx because it changed.
608.2       Compiling spacy/tokens/doc.pyx because it changed.
608.2       Compiling spacy/tokens/span.pyx because it changed.
608.2       Compiling spacy/tokens/token.pyx because it changed.
608.2       Compiling spacy/tokens/span_group.pyx because it changed.
608.2       Compiling spacy/tokens/graph.pyx because it changed.
608.2       Compiling spacy/tokens/morphanalysis.pyx because it changed.
608.2       Compiling spacy/tokens/_retokenize.pyx because it changed.
608.2       Compiling spacy/matcher/matcher.pyx because it changed.
608.2       Compiling spacy/matcher/phrasematcher.pyx because it changed.
608.2       Compiling spacy/matcher/dependencymatcher.pyx because it changed.
608.2       Compiling spacy/symbols.pyx because it changed.
608.2       Compiling spacy/vectors.pyx because it changed.
608.2       [ 1/41] Cythonizing spacy/attrs.pyx
608.2       [ 2/41] Cythonizing spacy/kb.pyx
608.2       Traceback (most recent call last):
608.2         File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
608.2           main()
608.2         File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
608.2           json_out['return_val'] = hook(**hook_input['kwargs'])
608.2         File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
608.2           return hook(config_settings)
608.2         File "/tmp/pip-build-env-sbvqvvd7/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 332, in get_requires_for_build_wheel
608.2           return self._get_build_requires(config_settings, requirements=[])
608.2         File "/tmp/pip-build-env-sbvqvvd7/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 302, in _get_build_requires
608.2           self.run_setup()
608.2         File "/tmp/pip-build-env-sbvqvvd7/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 318, in run_setup
608.2           exec(code, locals())
608.2         File "<string>", line 224, in <module>
608.2         File "<string>", line 211, in setup_package
608.2         File "/tmp/pip-build-env-sbvqvvd7/overlay/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize
608.2           cythonize_one(*args)
608.2         File "/tmp/pip-build-env-sbvqvvd7/overlay/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
608.2           raise CompileError(None, pyx_file)
608.2       Cython.Compiler.Errors.CompileError: spacy/kb.pyx
608.2       [end of output]
608.2
608.2   note: This error originates from a subprocess, and is likely not a problem with pip.
608.2 error: subprocess-exited-with-error
608.2
608.2 × Getting requirements to build wheel did not run successfully.
608.2 │ exit code: 1
608.2 ╰─> See above for output.
608.2
608.2 note: This error originates from a subprocess, and is likely not a problem with pip.
------
Dockerfile:30
--------------------
  28 |     # Install Python dependencies
  29 |     RUN pip install --upgrade pip
  30 | >>> RUN pip install bs4 pydub nltk beautifulsoup4 ebooklib tqdm mecab-python3 tts==0.21.3
  31 |
  32 |     # Download unidic
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install bs4 pydub nltk beautifulsoup4 ebooklib tqdm mecab-python3 tts==0.21.3" did not complete successfully: exit code: 1

Interesting....
Try running this docker?
It's the docker of this space tbh, but it's up and running so we know it works at least
HUGGINGFACE SPACE
'''bash
docker run -it -p 7860:7860 --platform=linux/amd64
registry.hf.space/drewthomasson-ebook2audiobookxtts:latest python app.py
'''

I'll see about updating the docker file in the readme,
To make it more inline with this one
Docker hub-page

just modified the dockerfile with the GPU one instead

authors: DrewThomasson matthiss


text:
Flipping tiles on an axis

Great library. I'm render a Tiled map and am unable to find any way to flip a tile on an axis. Does this a feature exist, or would implementing this feature be possible?

That should be possible with custom shader code. Lemme merge some WIP code for that and then i'll add an example on how to do it. Prolly next weekend-ish.

@cedtwo Can you check out the custom_shader_code example in 0.7.3? That should help with flipping tiles :)

authors: Droggelbecher cedtwo

repo: Droggelbecher/bevy-fast-tilemap


text:
Use explicit API for core/model module

Idea Description
You can see the 2022 pr
Reference images and links
https://github.com/DroidKaigi/conference-app-2022/pull/554/files

🤚🏻

Thanks! Assigned 👍

authors: mikanIchinose takahirom


text:
Change namespace of converts to sub namespace "currencies"

Fix phpcs issues
Remove todo rule from phpcs.xml

Coverage remained the same at 100.0% when pulling 0549c922e87b2d8514db103025fed5fa186cf816 on some_changes into 61fbf0a83546621457cbfce1748be3058c44206a on master.

authors: Dropelikeit coveralls

repo: Dropelikeit/PriceCalculator


text:
Reward System?

I love RPG games even if they are text-based, Good to know it's in development. I was wondering you could add reward system like if player founds a key in the dungeon then he shall be rewarded with a clue or something so he can pass the next stage easily.

Maybe that could be a nice addition once I get around to adding dungeons.

authors: DuhonTheGuy itsOwen

repo: DuhonTheGuy/RPG-Generator


text:
[Feature] Do not allow players to re-enter played games in 2020

So that they cannot retry to get a higher score.

Done.

repo: DukeMobileDevCenter/Jigsaw


text:
Add Subscription Modal

Changes

create Modal Wrapper Component
create Subscription Modal Body
fix the home view dependent on the user's role
fix the add room form such that student role is dependent on the teacher role.

Screenshots

Great code, just 2 comments.

Links should open in new tab
why so many changes to package-lock?

authors: ShenyiCui astraxq


text:
doc: remove bigdrop

Removes bigdrop from the list
Resolves https://github.com/Dun-sin/react-open-source-projects/issues/23

Thanks for this @malavshah9

repo: Dun-sin/react-open-source-projects


text:
Fix: Use pydantic 1.10 due to homeassistant incompatibility with pydantic>2.0

There is currently an error when trying to use the latest mytoyota version under a Homeassistant env.
This is apparently due to the pydantic>=2.0.  incompatibility of some of the packages included in Homeassitant.
We should therefore also use pydantic=1.10 as the maximum version for the time being.
home-assistant:~# pip install mytoyota==1.0.0
Looking in indexes: https://pypi.org/simple, https://wheels.home-assistant.io/musllinux-index/
Collecting mytoyota==1.0.0
  Downloading mytoyota-1.0.0-py3-none-any.whl.metadata (5.7 kB)
Requirement already satisfied: arrow<2.0,>=1.1 in /usr/local/lib/python3.11/site-packages (from mytoyota==1.0.0) (1.3.0)
Collecting hishel<0.0.20,>=0.0.19 (from mytoyota==1.0.0)
  Downloading hishel-0.0.19-py3-none-any.whl.metadata (8.1 kB)
Requirement already satisfied: httpx>=0.18.1 in /usr/local/lib/python3.11/site-packages (from mytoyota==1.0.0) (0.25.0)
Collecting langcodes<4.0,>=3.1 (from mytoyota==1.0.0)
  Downloading langcodes-3.3.0-py3-none-any.whl (181 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.6/181.6 kB 4.5 MB/s eta 0:00:00
Collecting pydantic<3.0.0,>=2.5.1 (from mytoyota==1.0.0)
  Downloading pydantic-2.5.3-py3-none-any.whl.metadata (65 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.6/65.6 kB 23.5 MB/s eta 0:00:00
Requirement already satisfied: pyjwt<3.0.0,>=2.8.0 in /usr/local/lib/python3.11/site-packages (from mytoyota==1.0.0) (2.8.0)
Requirement already satisfied: python-dateutil>=2.7.0 in /usr/local/lib/python3.11/site-packages (from arrow<2.0,>=1.1->mytoyota==1.0.0) (2.8.2)
Requirement already satisfied: types-python-dateutil>=2.8.10 in /usr/local/lib/python3.11/site-packages (from arrow<2.0,>=1.1->mytoyota==1.0.0) (2.8.19.14)
Requirement already satisfied: certifi in /usr/local/lib/python3.11/site-packages (from httpx>=0.18.1->mytoyota==1.0.0) (2023.11.17)
Requirement already satisfied: httpcore<0.19.0,>=0.18.0 in /usr/local/lib/python3.11/site-packages (from httpx>=0.18.1->mytoyota==1.0.0) (0.18.0)
Requirement already satisfied: idna in /usr/local/lib/python3.11/site-packages (from httpx>=0.18.1->mytoyota==1.0.0) (3.6)
Requirement already satisfied: sniffio in /usr/local/lib/python3.11/site-packages (from httpx>=0.18.1->mytoyota==1.0.0) (1.3.0)
Collecting annotated-types>=0.4.0 (from pydantic<3.0.0,>=2.5.1->mytoyota==1.0.0)
  Downloading annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB)
Collecting pydantic-core==2.14.6 (from pydantic<3.0.0,>=2.5.1->mytoyota==1.0.0)
  Downloading pydantic_core-2.14.6-cp311-cp311-musllinux_1_1_x86_64.whl.metadata (6.5 kB)
Requirement already satisfied: typing-extensions>=4.6.1 in /usr/local/lib/python3.11/site-packages (from pydantic<3.0.0,>=2.5.1->mytoyota==1.0.0) (4.9.0)
Requirement already satisfied: anyio<5.0,>=3.0 in /usr/local/lib/python3.11/site-packages (from httpcore<0.19.0,>=0.18.0->httpx>=0.18.1->mytoyota==1.0.0) (4.0.0)
Requirement already satisfied: h11<0.15,>=0.13 in /usr/local/lib/python3.11/site-packages (from httpcore<0.19.0,>=0.18.0->httpx>=0.18.1->mytoyota==1.0.0) (0.14.0)
Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.11/site-packages (from python-dateutil>=2.7.0->arrow<2.0,>=1.1->mytoyota==1.0.0) (1.16.0)
Downloading mytoyota-1.0.0-py3-none-any.whl (40 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.3/40.3 kB 128.0 MB/s eta 0:00:00
Downloading hishel-0.0.19-py3-none-any.whl (30 kB)
Downloading pydantic-2.5.3-py3-none-any.whl (381 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 381.9/381.9 kB 10.5 MB/s eta 0:00:00
Downloading pydantic_core-2.14.6-cp311-cp311-musllinux_1_1_x86_64.whl (2.1 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 11.4 MB/s eta 0:00:00
Downloading annotated_types-0.6.0-py3-none-any.whl (12 kB)
Installing collected packages: pydantic-core, langcodes, annotated-types, pydantic, hishel, mytoyota
  Attempting uninstall: pydantic
    Found existing installation: pydantic 1.10.12
    Uninstalling pydantic-1.10.12:
      Successfully uninstalled pydantic-1.10.12
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pykoplenti 1.2.2 requires pydantic~=1.10, but you have pydantic 2.5.3 which is incompatible.
aiopurpleair 2022.12.1 requires pydantic<2.0.0,>=1.10.2, but you have pydantic 2.5.3 which is incompatible.
aionotion 2023.5.5 requires pydantic<2.0.0,>=1.10.7, but you have pydantic 2.5.3 which is incompatible.
pyaussiebb 0.0.15 requires pydantic<2.0.0,>=1.9.0, but you have pydantic 2.5.3 which is incompatible.
aioopenexchangerates 0.4.0 requires pydantic<2.0,>=1.9, but you have pydantic 2.5.3 which is incompatible.
demetriek 0.4.0 requires pydantic<2.0.0,>=1.9.0, but you have pydantic 2.5.3 which is incompatible.
systembridgemodels 3.10.5 requires pydantic<2.0.0, but you have pydantic 2.5.3 which is incompatible.

We should switch back to pydantic >= 2.0 as soon as the issue on home assistant side is resolved: https://github.com/home-assistant/core/issues/99218

Hi @GitOldGrumpy. Since @DurgNomis-drol seems to be quite busy and inactive here lately; Could you approve this MR without maintainer rights?
I don't know if it works, but it would be worth a try 😉

Hi @GitOldGrumpy. Since @DurgNomis-drol seems to be quite busy and inactive here lately; Could you approve this MR without maintainer rights? I don't know if it works, but it would be worth a try 😉

Afraid I dont have such options, maybe if you can add me to the list of reviewers I will have such an option?

Hi @GitOldGrumpy. Since @DurgNomis-drol seems to be quite busy and inactive here lately; Could you approve this MR without maintainer rights? I don't know if it works, but it would be worth a try 😉

Afraid I dont have such options, maybe if you can add me to the list of reviewers I will have such an option?

Unfortunately not. Looks like I can only request a review from maintainers. :-/

repo: DurgNomis-drol/mytoyota


text:
Git folder to Feature1

Just one folder want to merge to master

👍

repo: DurgapriyaVanam/remoterepo


text:
Added collaboration between students

Students' state is now affected by green (active) neighbours as well as red.
Also refactored changes in state to avoid multiple state changes per tick. As discussed with Peter, we now look at the current colour first, then make up to 1 change of colour per tick.

Changes have increased end maths scores by a large amount but we'll adjust that as part of the parameterisation.

repo: DurhamARC/classroom-abm


text:
Question about Sparsity-Based Temporal Augmentation

Hi👋 , great job, yet I still got a question about the Sparsity-Based Temporal Augmentation.
In the paper you mentioned "each augmented clip was con- strained to have length of 30-frame. Therefore, the longest clip (i.e., stride of 5) contained 5-second information, while the shortest clip (i.e., stride of 1) had 1-second information" in section 4 Experiment Setup.
However, as far as I know, given two fix-length video clips(30-frame here), if they have different fps, then they ought to represent different heart rate(the larger the fps is, the lower the heart rate. the smaller the fps is, the larger the heart rate). The Sparsity-Based Temporal Augmentation used in the paper will generate two 30-frame clips with different HRs from the exact one source video.
Not only the HRs is different, so do other physiological signals I suppose.
Since the two fix-length video clips have different physiological signals, how can they be trained with contrastive loss? I mean, intuitively, the contrastive loss used in paper ought to help model learn the physiological signal invariance from two views of the same video and learn the difference of  physiological signals from different video.
It's a bit confusing, I would be very appreciate if you could answer the questions, many thanks.

Hi,
Thank you for being interested in our work!
The sparsity-based temporal augmentation is designed based on the Nyquist–Shannon sampling theorem. Suppose the HR value we have is 120 bpm which means the sampling rate has to be at least 120/60*2=4, i.e., 4 fps. Theoretically, videos with over 4 fps should be able to recover the same HR if you can perfectly extract underlying signals from them. However, this is not realistic for the real-world application since there are too many noises we need to account. Therefore, our aim is to train a model which learns to ignore these noises and find the underlying invariant signals.
Think about the data augmentation settings in MoCo v2, they used random crop with ratio of [0.2, 1]. How do you expect two crops from corners look similar?
Cheers

Hi,
Thank you for your reply!
I am afraid I still can't follow up, the algorithm do work, but I am thinking it's because of something unknown instead of what's explained in the paper.
Here is an example.
Actually we need to notice that model does not see the fps or stride of the input video clip, it only see the input 30 frames. Imagine that we use stride 1 and stride 5 to generate two video clips respectively from exact same video, the video clip generated by stride 5 will squeeze 5-second BVP(or ECG)  wave signal into 30 frames, while the stride-one video only squeeze 1-second BVP wave, thus the 5-second BVP will seem much denser than the 1-second BVP.
Specifically, say I have a 40-bmp video and a 200-bmp video, the video clip generated from the 40-bmp video using stride 5 will have exactly the same HR with the video clip generated from the 200-bmp video using stride 1, given that the model does not see fps or stride. I wonder how can the model recover the same HR?
Actually this is a data augmentation method used in rPPG field, by using stride to change the GT HR of a video, you can see it in 《Robust Remote Heart Rate Estimation from Face Utilizing Spatial-temporal Attention》.
Thank you for your patience,  I would be very appreciate if you can replay, many thanks.

I see what you are confused about. I agree with your opinions about the change of HR due to the fps changes. The paper you refer is using HR ground truth to constrain the model and assumes the input video has the same time-length.
However, it is not our case and the underlying theory of our work remains the same. The objective of sparsity-based temporal augmentation is to find invariant recovered HR of the original videos instead of the processed clips. It is true that the HR of processed clip will change only if we say the signals behind them have the same time-length. But we do not have such labels to force this condition. Instead, we use contrastive loss to force the model recover the original video HR and model should learn the knowledge of stride/fps. Additionally, this knowledge is then reinforced by the later pseudo-label classification task.
Cheers

I get it now, thank you for your patience. I realized now that it's the rPPG version of MoCo, but not that intuitive, really wonder how the model can learn the knowledge of stride/fps.
Again, great work, many thanks ! 😊

authors: BluebirdStory Dylan-H-Wang

repo: Dylan-H-Wang/SLF-RPM


text:
View config not found

"react": "^16.3.0",
"react-native": "0.54.4",

I get this error when running:
<FastImage source={{ uri }} resizeMode={FastImage.resizeMode.contain} />

+1

+1

+1

i installed it using pod and it's working fine now.

Probably it's a linker error. I unlinked and linked the FastImage library in Xcode again, and it worked.

So instead of running react-native link you can set up it manually for now to get it to work.

getting this error, but only sometimes (ios). Seems to work fine. But in the release I keep seeing it from time to time. Sometimes during initial load of the app, but also happens when app is already loaded, using FastImage successfully and suddenly this happens (we get crash reports)
"react-native": "0.59.3",
"react-native-fast-image": "^5.2.0",

repo: DylanVann/react-native-fast-image


text:
Noisy inputs are not properly implemented

Take the Izhikevich model in dsDemos as an example:
eqns={
  'C=100; vr=-60; vt=-40; k=.7; Iapp=70; ton=200; toff=800'
  'a=.03; b=-2; c=-50; d=100; vpeak=35'
  'dv/dt=(k*(v-vr)*(v-vt)-u+I(t))/C; v(0)=vr'
  'du/dt=a*(b*(v-vr)-u); u(0)=0'
  'if(v>vpeak)(v=c; u=u+d)'
  'I(t)=Iapp*(t>ton&t<toff)*(1+.5*rand)' % define applied input using reserved variables 't' for time and 'dt' for fixed time step of numerical integration
  'monitor I'                            % indicate to store applied input during simulation
};
data=dsSimulate(eqns, 'tspan',[0 1000], 'study_dir','demo_izhikevich');

DynaSim generates a solve file that instead of computing I(t) first and use its value to integrate v, it uses Iapp*(t>ton&t<toff)*(1+.5*rand), so each v_ki sees a different noise.
Also the monitor being computed on its own represents a different noise realization from the one the system is seeing.
See all this below:
function [T,pop1_v,pop1_u,pop1_I]=solve_ode
% ------------------------------------------------------------
% Parameters:
% ------------------------------------------------------------
params = load('params.mat','p');
p = params.p;
downsample_factor=p.downsample_factor;
dt=p.dt;
T=(p.tspan(1):dt:p.tspan(2))';
ntime=length(T);
nsamp=length(1:downsample_factor:ntime);
% ------------------------------------------------------------
% Initial conditions:
% ------------------------------------------------------------
% seed the random number generator
rng_wrapper(p.random_seed);
t=0; k=1;

% STATE_VARIABLES:
pop1_v = zeros(nsamp,p.pop1_Npop);
  pop1_v(1,:) = p.pop1_vr;
pop1_u = zeros(nsamp,p.pop1_Npop);
  pop1_u(1,:) = 0*ones(1,p.pop1_Npop);

% MONITORS:
pop1_I = zeros(nsamp,p.pop1_Npop);
  pop1_I(1,:)=p.pop1_Iapp*(t>p.pop1_ton&t<p.pop1_toff)*(1+.5*rand);
% ###########################################################
% Numerical integration:
% ###########################################################
n=2;
for k=2:ntime
  t=T(k-1);
  pop1_v_k1=(p.pop1_k*(pop1_v(n-1)-p.pop1_vr)*(pop1_v(n-1)-p.pop1_vt)-pop1_u(n-1)+((p.pop1_Iapp*(t>p.pop1_ton&t<p.pop1_toff)*(1+.5*rand))))/p.pop1_C;
  pop1_u_k1=p.pop1_a*(p.pop1_b*(pop1_v(n-1)-p.pop1_vr)-pop1_u(n-1));
  t=t+.5*dt;
  pop1_v_k2=(p.pop1_k*(((pop1_v(n-1)+.5*dt*pop1_v_k1))-p.pop1_vr)*(((pop1_v(n-1)+.5*dt*pop1_v_k1))-p.pop1_vt)-((pop1_u(n-1)+.5*dt*pop1_u_k1))+((p.pop1_Iapp*(t>p.pop1_ton&t<p.pop1_toff)*(1+.5*rand))))/p.pop1_C;
  pop1_u_k2=p.pop1_a*(p.pop1_b*(((pop1_v(n-1)+.5*dt*pop1_v_k1))-p.pop1_vr)-((pop1_u(n-1)+.5*dt*pop1_u_k1)));
  pop1_v_k3=(p.pop1_k*(((pop1_v(n-1)+.5*dt*pop1_v_k2))-p.pop1_vr)*(((pop1_v(n-1)+.5*dt*pop1_v_k2))-p.pop1_vt)-((pop1_u(n-1)+.5*dt*pop1_u_k2))+((p.pop1_Iapp*(t>p.pop1_ton&t<p.pop1_toff)*(1+.5*rand))))/p.pop1_C;
  pop1_u_k3=p.pop1_a*(p.pop1_b*(((pop1_v(n-1)+.5*dt*pop1_v_k2))-p.pop1_vr)-((pop1_u(n-1)+.5*dt*pop1_u_k2)));
  t=t+.5*dt;
  pop1_v_k4=(p.pop1_k*(((pop1_v(n-1)+dt*pop1_v_k3))-p.pop1_vr)*(((pop1_v(n-1)+dt*pop1_v_k3))-p.pop1_vt)-((pop1_u(n-1)+dt*pop1_u_k3))+((p.pop1_Iapp*(t>p.pop1_ton&t<p.pop1_toff)*(1+.5*rand))))/p.pop1_C;
  pop1_u_k4=p.pop1_a*(p.pop1_b*(((pop1_v(n-1)+dt*pop1_v_k3))-p.pop1_vr)-((pop1_u(n-1)+dt*pop1_u_k3)));
  % ------------------------------------------------------------
  % Update state variables:
  % ------------------------------------------------------------
  pop1_v(n)=pop1_v(n-1)+(dt/6)*(pop1_v_k1+2*(pop1_v_k2+pop1_v_k3)+pop1_v_k4);
  pop1_u(n)=pop1_u(n-1)+(dt/6)*(pop1_u_k1+2*(pop1_u_k2+pop1_u_k3)+pop1_u_k4);
  % ------------------------------------------------------------
  % Conditional actions:
  % ------------------------------------------------------------
  conditional_test=(pop1_v(n)>p.pop1_vpeak);
  if any(conditional_test), pop1_v(n,conditional_test)=p.pop1_c; pop1_u(n,conditional_test)=pop1_u(n,conditional_test)+p.pop1_d; end
  % ------------------------------------------------------------
  % Update monitors:
  % ------------------------------------------------------------
  pop1_I(n,:)=p.pop1_Iapp*(t>p.pop1_ton&t<p.pop1_toff)*(1+.5*rand);
  n=n+1;
end
T=T(1:downsample_factor:ntime);

end

I realized about this while I was trying to use vectorized expressions for monitors in Octave while keeping the code as is for Matlab (issue #69)
I got it working when monitors are functions of state variables, however I found an issue with these Gaussian inputs. Because of this, I realized of the error above...

I think it would be best that before working on the fix I merge the changes I introduced, don't you think?

Another problem I'm seeing is that (n=2) neurons monitor the same noise. Once this is fixed, the noise should be different.

There are two components in this issue:

Each component of the RK4 sees a different noise, but, after double-thinking about it, I actually think now that this may be the right way to do it.

The monitor doesn't store the actual noise used in the simulation. I think this is what really needs fixing here. I think the proper way to do it would be to save pop1_I(n,:) as the noise value used in computing next k1 component of RK4 integration (k1 = f(tn,yn), for dy/dt=f(t,y))

repo: DynaSim/DynaSim


text:
Service Now alerting profile

Describe the bug
We may upgrade to Monaco v2 when its GA/supported. But until then, we we'll use v1.
We experience the following when trying to create Service Now alerting profiles:
Snippet of config
config:
  - customer common services apis_pn_snow_high: service-now.json
customer common services apis_pn_snow_high:
  - name: customer common services apis_pn_snow_high_{{ .Env.MONACO_ENV }}
  - alertingProfile: config/alerting-profile/customer common services apis_ap_high.id
  - instanceName: REDACTED
  - username: REDACTED
  - password: REDACTED

The service-now.json looks like this:
{
  "type": "SERVICE_NOW",
  "name": "{{ .name }}",
  "alertingProfile": "{{ .alertingProfile }}",
  "active": true,
  "message": "{ProblemID} {ProblemTitle}",
  "instanceName": "{{ .instanceName }}",
  "username": "{{ .username }}",
  "password": "{{ .password }}",
  "sendIncidents": true,
  "sendEvents": false
}

Resulting error:
You are currently using the old CLI structure which will be used by
default until monaco version 2.0.0

Check out the beta of the new CLI by adding the environment variable
  "NEW_CLI".

We can't wait for your feedback.

2023-03-06 06:30:27 INFO  Dynatrace Monitoring as Code v1.7.0
2023-03-06 06:30:27 INFO  Executing projects in this order:
2023-03-06 06:30:27 INFO        1: config (131 configs)
2023-03-06 06:30:27 INFO  Processing environment cky14011...
2023-03-06 06:30:27 INFO        Processing project config...
2023-03-06 06:30:33 INFO  Deployment summary:
2023-03-06 06:30:33 ERROR Deployment to cky14011 failed with error!
2023-03-06 06:30:33 ERROR       Failed to create DT object customer common services apis_pn_snow_critical_secondary (HTTP 400)!
    Response was: {"error":{"code":400,"message":"Validation failed for 2 Validators.","constraintViolations":[{"path":"builtin:problem.notifications/0/serviceNowNotification/url","message":"Given property 'url' with value: '' violates the following constraint: Size must be between 1 and 1000.","parameterLocation":"PAYLOAD_BODY","location":null},{"path":"builtin:problem.notifications/0/serviceNowNotification/url","message":"Given property 'url' with value: '' violates the following constraint: Not a valid http(s) URL.","parameterLocation":"PAYLOAD_BODY","location":null}]}}, responsible config: config/notification/service-now.json
2023-03-06 06:30:33 ERROR Errors during deployment! Check log!

How to reproduce
See above
Expected behavior
Service now alerting profile to be created
Log output
error dump above
Environment (please complete the following information):

OS: macOs Ventura, but same error on our AWS CodeBuild image
Tool version 1.7.0 (also tried with 1.8)

Additional context
Add any other context about the problem here.

Hi @edfenergy-stevebowerman, please read the API error message in the log you shared
"builtin:problem.notifications/0/serviceNowNotification/url","message":"Given property 'url' with value: '' violates the following constraint: Size must be between 1 and 1000."

Your JSON template is missing an URL.
If this problem persists after adding one/none is part of the Config API payload, this is an issue in the internal conversion from the deprecated API to the "builtin:problem.notifications" Settings schema.
In that case, please contact Dynatrace Support, letting them know you're facing issues with the Notifications API/Settings 2.0.
In either case, closing this as not a Monaco specific issue.

See also: https://www.dynatrace.com/support/help/dynatrace-api/configuration-api/notifications-api/models#servicenow-notification.
The description of the URL field being mutually exclusive to instanceName suggests that this may really be a problem in how this is validated as a Setting internally.

Hi, thanks for the response, but I have read the error message before posting.
url and instanceName are mutually exclusive. So as you can see in my posting, we've supplied the instanceName, but NOT the url in the service-now.json
However, monaco seems to disagree as I'm clearly NOT passing in the url attribute, just the instanceName.

However, monaco seems to disagree as I'm clearly NOT passing in the url attribute, just the instanceName.

As I tried to mention, this Error is coming from Dynatrace, not Monaco.
Monaco is not aware of the exact contents of the payload it simply fills the template and calls the Dynatrace API.
The log shows an HTTP 400 reply and the accompanying message.
As mentioned, I think this might be an issue with validating the "builtin:problem.notifications" Settings schema.
Please contact Dynatrace Support, letting them know you're facing issues with the Notifications API/Settings 2.0 not with monaco.

authors: UnseenWizzard edfenergy-stevebowerman


text:
GeneticVariant Traits - Rest endpoint to get all traits associated to a given Genetic Variant

As developer
I want an api endpoint
So that when I send a GET request, hateoas, paginated list of all traits associated to a given Genetic Variant in the database is returned in JSON Format
Management Rules:
Rule 1: Endpoint - /v2/variants/{variantId}/traits
Rule 2: HTTP Request Method - GET
Rule 3: HATEOAS, with filer, sorting, pagination, and sizing
Rule 4: Endpoint should accept filter, and sort parameters as in /traits?label=...&page=0&size=20&sort=...
Rule 6: Sort feature should be available for: traits
Rule 6: Returned Study Json entity must include: Trait Label(s), ReportedTrait(s), AssociationCount
Acceptance Tests:
Given no parameter
When the front end sends a GET request to the endpoint
Hateoas compliant list of studies is returned in the specified JSON Format
Given sorting, pagination, and/or some search and filter parameters
When the front end sends a GET request to thesame endpoint
Hateoas compliant filtered list of studies satisfying the conditions in the url parameter must be returned

@ala-ebi The API details are below
Uri -: http://gwas-snoopy.ebi.ac.uk:9780/gwas/api/v2/variants//traits
Search Params -:
 @JsonProperty("reportedTrait")
    private String reportedTrait;

    @JsonProperty("efoTrait")
    private String efoTrait;

Sort Params -:
associationCount

authors: sajo-ebi sprintell

repo: EBISPOT/gwas-ui


text:
Some search boxes do not work

On this page: https://www.ebi.ac.uk/gwas/labs/downloads/summary-statistics, in the first table, typing in the Trait(s) box does not work.

Also, search box does not work for first author in studies table on any page

@sajo-ebi please add firstAuthor search param to the search params for Study

@ala-ebi the 'firstAuthor' param has been added to Studies endpoint

Done, waiting to be deployed

@ljwh2 Deployed in Dev http://gwas-snoopy.ebi.ac.uk:9780/gwas

Confirmed First author search now works

When searching by trait on the sumstats page: https://www.ebi.ac.uk/gwas/labs/downloads/summary-statistics I encountered an error on loading the page. Cleared the error and the table loaded without any data in the reported trait column.  Searching in the Trait(s) box produced the error again, but the search did work after clearing the error.

Confirmed reported traits are still not displayed in sumstats table (but I don't see the error message now)

We expect this will not happen in prod

First author search box still does not work

See also goci#1107

needs releasing

Now released

authors: ala-ebi ljwh2 sajo-ebi sprintell


text:
Ontologies load failure - OLS4

We are facing multiple issues while loading ontologies through OLS4. Below are the issues

OntologyId
Issue
Exception

abcd
Invalid URI
org.apache.jena.riot.RiotException: Bad character in IRI (space): http://rs.tdwg.org/abcd/terms/Specimen[space]...

battinfo
URL doesn't exist
org.apache.jena.riot.RiotNotFoundException: Not found: https://w3id.org/emmo/domain/battery/0.8.0-beta/battery

bdsubj
Content Type
org.apache.jena.riot.RiotException: Failed to determine the content type: (URI=https://purl.org/fidbaudigital/subjects : stream=text/plain)

peco
Content
org.apache.jena.riot.RiotException: [line: 1, col: 1 ] Content is not allowed in prolog.

hoom
Multiple Children
org.apache.jena.riot.RiotException: [line: 21, col: 74] {E201} Multiple children of property element

These ontologies are loaded successfully in OLS3. Is there a way/approach we can follow to load these ontologies in OLS4?

Hi @deepananbu, looking at the table you have provided I can see the majority of the issues you are facing are because of the format of the ontologies.
OLS4 only accepts ontologies which are in RDF/OWL format so this the ontology itself and all the imports need to be RDF format. If for example the ontology itself is not in RDF format or one of its import is not in RDF format then OLS would complain.
Just a note, PECO is already in OLS4 you can access it here: https://www.ebi.ac.uk/ols4/ontologies/peco

@haideriqbal - Do we have any workaround or temp solution to load these ontologies in OLS4? And what would be ideal solution to fix these kind of issues?

@deepananbu possible fix would be to convert your ontologies to RDF format. You can do this using protoge (https://protege.stanford.edu/) or robot (https://robot.obolibrary.org/)

http://www.ebi.ac.uk/efo/EFO_0009603 请问 这个数据如何下载？急，请求帮助。

@deepananbu I am closing this ticket for now as to the best of our knowledge this needs to be fixed on your side. Please feel free to open this again if this proves otherwise.

authors: deepananbu haideriqbal henrietteharmse yangyangmiao2019


text:
Right-click menu for systems and components

Through a right-click menu the user should be able to rename or delete.

this goes under #69


text:
Tune model assumptions

This PR brings in some further improvements to the model configuration prior to the public launch scheduled for this Weds.

Updates the hot water model to account for outdoor cylinder location (for HWHP systems) and indoor location (for other cylinder types) and refines the efficiencies for natural gas hot water systems. Corrects wood thrown density and calorific value figures to match those in the reference.

Pre-filters plans to those from the big-four gentailers, reducing the risk of plans belonging to bundles e.g. with internet being mistakenly selected by the optimization routines. Modifies the gas-using household profile to not have gas space heating as this is uncommon in NZ. Updates the electricity and natural gas plans selected as a result.

Updates the lookup tables based on these new model assumptions.

Tests passing.

Happy to merge with gg-eeca's review.

repo: EECA-NZ/home-efficiency-calculator


text:
[Auto-generated] Update dependencies

Update dependencies
Automatically created PR from ci/dependabot-updates.
For more information see the "Dependabot updates" workflow.
To-do

[ ] Check that the diff is sensible, and that tests and builds pass with the new dependency versions.
[ ] Make sure that the PR is squash merged, with a sensible commit message.

Codecov Report
Base: 68.43% // Head: 68.43% // No change to project coverage :thumbsup:

Coverage data is based on head (1f07385) compared to base (50bddac).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #206   +/-   ##
=======================================
  Coverage   68.43%   68.43%
=======================================
  Files          17       17
  Lines         491      491
=======================================
  Hits          336      336
  Misses        155      155

Flag
Coverage Δ

pytest
68.43% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

repo: EMMC-ASBL/oteapi-services


text:
🛑 EC3 portal for EOSC-Synergy is down

In c77f54a, EC3 portal for EOSC-Synergy (https://servproject.i3m.upv.es/ec3-synergy/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: EC3 portal for EOSC-Synergy is back up in 7f7e5ed.

repo: EOSC-synergy/status


text:
🛑 EC3 portal for EOSC-Synergy is down

In ae8080b, EC3 portal for EOSC-Synergy (https://servproject.i3m.upv.es/ec3-synergy/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: EC3 portal for EOSC-Synergy is back up in ea89e35.


text:
Plugin and Nodeos test failed.

     30 - plugin_test (Failed)
     31 - nodeos_sanity_test (Failed)
     32 - nodeos_run_test (Failed)
     34 - nodeos_run_test-mongodb (Failed)
     35 - distributed-transactions-test (Failed)
     36 - restart-scenarios-test-resync (Failed)
     37 - restart-scenarios-test-hard_replay (Failed)
     38 - restart-scenarios-test-none (Failed)
     39 - validate_dirty_db_test (Failed)
     40 - nodeos_sanity_lr_test (Failed)
     41 - nodeos_voting_lr_test (Failed)

running Ubuntu as Windows Linux Subsystem with EOS.IO 1.10.0 build.

Windows Linux Subsystem is not supported.  If you wish to discover why those tests are failing and submit pull requests that correct the problem on Windows, we will evaluate them for possible merging.

possibly related: #3842

Windows Linux Subsystem is not supported.

As things stand, the problem with the test-failures is not related to WSL

authors: bluabaleno jgiszczak lazaridiscom

repo: EOSIO/eos


text:
Add unity build support for some targets

Change Description
This PR add support to enable cmake unity build for certain targets. Enabling unity build can significantly improve the build time for the project. However, it's not possible enable it globally with CMAKE_UNITY_BUILD because some of the libraries/submodules requires modification to make it work. This PR uses ENABLE_UNITY_BUILD flag to enable unity build for the targets don't have problem with it.
Consensus Changes

[ ] Consensus Changes

API Changes

[ ] API Changes

Documentation Additions

[ ] Documentation Additions

@spoonincode do you see any issues with providing this option?

I played with it some and I guess not. It does feel a little hokey needing to sprinkle these all through various cmakefiles. Unless someone is actively using the feature it risks becoming wrong/broken like a handful of other cmake stuff we have sprinkled about still.

IMO, the option should be enabled by default for CI build. This is build times I got from comparing the CI build with the ENABLE_UNITY_BUILD ON and OFF.

ENABLE_UNITY_BUILD=OFF
ENABLE_UNITY_BUILD=ON

Amazon Linux
26.35
18.15

CentOS
28.03
17.34

macOS.
23.14
18.34

Ubuntu 16.04
27.58
17.10

Ubuntu 18.04
24.38
15.19

Docker
21.59
16.45

Personally, I don't use build script in the EOS repo. I prefer to supply the cmake options I need and use ninja. Without unity build, using "ninja" for clean build without limiting jobs would freeze my Mac with 32 GB ram, I need to explicit limit the jobs to 4 to avoid it. With unity build, I don't need to specify the number of jobs and it also compiles a lot faster. I can even go as far as 18 jobs on my 8-core machine without any issues.

Should we be keeping CI & build script in parity?

authors: heifner huangminghuang spoonincode


text:
Post dawn4.1 updates

Updates to stay in sync with eosio/eos master..
Related: https://github.com/EOSIO/eosjs/issues/106

Ah, nice! pubkey account lookup back in :))

Released eosjs@13 passing with dawn-v4.2.0

authors: Dylan-Phoon jcalfee

repo: EOSIO/eosjs


text:
Please add EOS symbol

Please add EOS symbol
'EOS@eosio': { precision: 4 },
'EOS@eosio.token': { precision: 4 }

https://github.com/EOSIO/eosjs/blob/f18e43fe753a9b35ed09ae8c389fa43324495385/src/asset-cache.js#L9

published eosjs@12.0.1
related: https://github.com/EOSIO/eosjs/issues/95


text:
Bugfixes to labelling

Resets the labels on restarts, and fixes a wrong ifdef.

Do we still need this branch?

authors: matt-frey sjboeing

repo: EPIC-model/epic


text:
Let's Encrypt cron time

When I set my first cert from Let's Encrypt, ee created the auto-renew cron.
But, different from what is showed in the docs, the cron was set to 0 0 * * *, which does not serve its purpose – and I had to manually renew every site.
I think this is a bug (other people appears to have a similar issue), but besides that,  it would not be better if the cron was executed every 10 days or something like that?
The documentation shows 0 12 * * *, which means everyday 12:00. That's not necessary, since Let's Encrypt allows renews 20 days before the expiration.
In my server, I use 0 23 */10 * *, so it can renew everything every 10 days at 23:00 (11pm), when load is low.
Right now I am running ee v3.7.4, but it was an older version when I set Let's Encrypt.
–
0 23 */10 * * ee site update --le=renew --all 2> /dev/null

Thanks, I seem to have this same issue.

@hmaesta, are you getting automatic renewals processing correctly with the changes cron time?

@cfrazier I want to say Yes!, but one single website is not renewing and I don't know why – but I don't think it is crontime's fault.

I recommend you set the cron job to renew SSL every 70 - 80 days like this:
0 23 */70 * * ee site update --le=renew --all 2> /dev/null
Because I myself got this error when renew SSL manually:

More than 30 days left for certificate Expiry. Not renewing now.

What if you have two or more sites, with non coincident expiry dates?
Think twice.

@janiosarmento If you have two or more sites with non coincident expiry dates, IMHO, there is no other way but setting the cron job for each website:
instead of
0 23 */70 * * ee site update --le=renew --all 2> /dev/null
using:
0 23 */60 * * ee site update site1.com --le=renew 2> /dev/null #if site1 has SSL from 1/1/2017 and today is no later than 30 days from 1/1/2017.
0 23 */60 * * ee site update site2.com --le=renew 2> /dev/null #if site2 has SSL from 15/3/2017 and today is no later than 30 days from 15/3/2017.
and so on.
You may have more efficient way to configure above crons. Read more at: https://www.pantz.org/software/cron/croninfo.html

Or you can make it run every day on midnight for both sites and then you're certain that your certificate is renewed :)

@tuxcomputing Have you tried? Have you got the error message:

More than 30 days left for certificate Expiry. Not renewing now.

@hermesmarcom it does not matter if you get the error or not. just run it through cron every night, set the output to 2> /dev/null and it will renew itself when you have less than 30 days. :)

We have handled this in a better way in v4.
You may check this PR https://github.com/EasyEngine/easyengine/pull/1005
Please use http://community.rtcamp.com/c/easyengine for future support questions.

authors: cfrazier hermesmarcom hmaesta janiosarmento rahul286 rsmith4321 tuxcomputing

repo: EasyEngine/easyengine


text:
Unable to install dependencies

问题描述
[问题描述：无法安装项目依赖]
复现步骤
[复现问题的步骤]

git clone https://github.com/EasyTuan/taro-msparis.git
cd taro-msparis
npm install

期望行为
[安装成功]
报错信息
[Unhandled rejection RangeError: Maximum call stack size exceeded
at RegExp.test ()
at C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\node_modules\aproba\index.js:38:16
at Array.forEach ()
at module.exports (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\node_modules\aproba\index.js:33:11)
at flatNameFromTree (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\lib\install\flatten-tree.js:37:3)
at flatNameFromTree (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\lib\install\flatten-tree.js:39:14)
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     https://npm.community
npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2018-12-18T02_08_38_750Z-debug.log]
系统信息

操作系统: [e.g. Windows 10]
Taro 版本 [Taro v1.2.0-beta.16]
Node.js 版本 [e.g. v8.12.0]
npm版本 [6.5.0]

补充信息
[百度是：超过最大调用栈问题；给npm降级到5.4.0或者升级到6.5.0 都没解决问题]

问题已解决，我试了下cnpm i 命令可以安装成功！[cnpm@6.0.0]

好的

authors: EasyTuan qiilee

repo: EasyTuan/taro-msparis


text:
CODE_OF_CONDUCT-bn

I would like to create the code of conduct in Bengali. Please assign this issue to me.

@Akash190104 please feel free to add it. Add fixes #8919 to the PR to close this issue automatically

repo: EbookFoundation/free-programming-books


text:
[Update] free-programming-books-ko.md

What does this PR do?
Add Resource(s)
For resources
Add Raspberry pi free docs link.
Why is this valuable (or not)
I thought it was worth it because it would help Koreans use raspberry pi.
How do we know it's really free?
Free online books from WikiDocs.
For book lists, is it a book?
To be exact, it is a translation of the official Raspberry Pi document.
Checklist:

[x] Not a duplicate
[ ] Included author(s) if appropriate
[x] Lists are in alphabetical order
[ ] Needed indications added (PDF, access notes, under construction)

Thanks, and welcome to free-programming-books!

authors: Kim-SuBin eshellman


text:
[BUG] Edit button to manage link is not positioned properly

Has this bug been raised before?

[X] I have checked "open" AND "closed" issues and this is not a duplicate

Where did you find this bug?
production on biodrop.io
Version of BioDrop (for example "v1.2.3")
v2.83.8
Description
The Edit button on the /account/manage/links page is not positioned correctly, which results in visual inconsistency and usability problem. This affects the user experience when attempting to manage links in their account.
Screenshots

Do you want to work on this issue?
Yes
If you want to work on this issue...
To fix this issue I will be changing the position of edit link/button using Tailwind CSS styles

Thank you for raising - this has been raised before.  This will be improved as part of the redesign process which is coming up, so I will close this for now.

authors: SaraJaoude mrical

repo: EddieHubCommunity/BioDrop


text:
data:StarKnightt

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] My change requires changes to the documentation.
[x] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Please check the rest of the icons from the set of available icons at : https://linkfree.io/icons

looks good

Thank YOU

authors: ChinmayMhatre StarKnightt

repo: EddieHubCommunity/LinkFree


text:
[PROFILE ADDITION]

Profile screenshot
Profile screenshot

wow

wow


text:
Brenda Michelle

Due we close new issues on PR merge and voting is still possible on closed issues I will close this one. Nice Profile btw 🚀

authors: BrendaMichellle schmelto