Can reverb and chorus be set while audio is playing?

I've been able to use createAudioNode to specify reverb and chorus settings. But can these be adjusted while audio is playing?
Fantastic project, by the way - finding this extremely useful, and I love the WASM approach for libFluidSynth.

In MIDI reverb and chorus are defined as types of control changes. To apply these effects, please use midiControl in ISynthesizer, using ctrl = 91 for reverb or ctrl = 93 for chorus (I did not test yet).
If using ISequencer (Synthesizer.createSequencer), please use sendEventAt with ControlChangeEvent.

Thanks! I also found in non-worklet mode I could use the "setReverb..." functions to vary effects, so that's working pretty well. I don't have experience yet with AudioWorklets. That appears to involve including libfluidsynth-2.3.0.js twice - once in a script tag and once in the addModule function. Does that effectively double the memory footprint of libfluidsynth? We haven't decided which mode to run this in yet - need to do some testing with other components of our app.
I'm curious how this is used in other applications - any place with a list of such things? It's really perfect for what we need.

Does that effectively double the memory footprint of libfluidsynth?

Yes, we need to load libfluidsynth both in main script (script tag) and in Audio Worklet context, because js-synthesizer main script depends on global Module object. (This may be inconvenience, sorry.)

I'm curious how this is used in other applications - any place with a list of such things?

I don't know where js-synthesizer is used. I created js-sequencer which uses js-synthesizer in Web Worker (not in Audio Worklet; js-sequencer directly uses Audio Worklet), but it is a simple sequencer, so I wonder whether it helps you.

The MIDI file player in js-synthesizer (fluidsynth I suppose) has been working fine for that so far. Is there an advantage to using js-sequencer instead?

The MIDI file player in js-synthesizer (fluidsynth I suppose) has been working fine for that so far. Is there an advantage to using js-sequencer instead?

As you wrote, to play MIDI files simply with SoundFont, using Player in js-synthesizer (fluidsynth) is easier. But to play with complex processings, such as making smooth loop, implementing own sequencer (such as js-sequencer) may be suitable.
(I'm also using js-sequencer to play dynamically-generated MIDI messages.)

Thanks for the help. Everything is working great for now. I might migrate to js-sequencer at some point.


[SMALLFIX] Avoid busy waiting

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/16820/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/16833/
Test PASSed.

@gpang PTAL at the latest changes since they fix a related bug in transitioning from primary to secondary state

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/16844/
Test PASSed.


[Crosswalk-10][usecase][xwalk-2870] Update test for schemecontent

Impacted TCs num(approved): New 0, Update 1, Delete 0
Unit test Platform: Android
Android test result summary: Pass 1, Fail 0, Block

LGTM


Analyze all existing issues in this repository, tell me which Postman environments exist and what companies are part of the issue comments

Analyze all existing issues in this repository, tell me which Postman environments exist and what companies are part of the issue comments
ideally, create a small script in a programming language of your choice that scan this repo, analyzes the issues with the same algorithm and produces the output which Postman environments are referenced and which companies are referred to


Patch 1

Update Python best practices and some GitHub link info.

Update Python best practices and some GitHub link info.

Thank you!


testnet-config.yaml does not non-existant testnet-config.yaml

Building and running referes to testnet-config.yaml which does not exist. Other config file will not connect to testnet.
PGPASSFILE=config/pgpass-testnet scripts/postgresql-setup.sh --createdb
PGPASSFILE=config/pgpass-testnet ./cardano-db-sync-extended-exe
--config config/testnet-config.yaml
--socket-path ../cardano-node/state-node-testnet/node.socket
--state-dir ledger-state/testnet
--schema-dir schema/

It looks like there hasn't been any activity on this issue for a some time. We're closing it for now. If you're still experiencing this problem or have any updates, please reopen or create a new issue. Your feedback is valuable, thank you!


Windows agents are stuck

Starting with https://github.com/flutter/flutter/commit/68c96f100e42ab3dbf43e61e9e2fc875a2d50cb8, it looks like some or all of the Windows agents on the framework dashboard are not running jobs. The tree is now reopened, so this is now the cause of the tree closure.

The agents are failing because of a backend authentication error:
ERROR: AuthenticatedClientError:
  URI: https://flutter-dashboard.appspot.com/api/reserve-task
  HTTP Status: 502
  Response body:
^M
<title>502 Bad Gateway</title>^M
^M

502 Bad Gateway
^M

nginx^M
^M
^M

#0      AuthenticatedClient.send (package:cocoon_agent/src/agent.dart:28:7)
<asynchronous suspension>
#1      BaseClient._sendUnstreamed (package:http/src/base_client.dart:91:38)
<asynchronous suspension>
#2      BaseClient.post (package:http/src/base_client.dart:32:7)
#3      Agent._cocoon (package:cocoon_agent/src/agent.dart:84:31)
<asynchronous suspension>
#4      Agent.reserveTask (package:cocoon_agent/src/agent.dart:105:46)
<asynchronous suspension>
#5      ContinuousIntegrationCommand.run.<anonymous closure> (package:cocoon_agent/src/commands/ci.dart:97:41)
<asynchronous suspension>
#6      ContinuousIntegrationCommand.run.<anonymous closure> (package:cocoon_agent/src/commands/ci.dart)
#7      _rootRun (dart:async/zone.dart:1190:13)
#8      _CustomZone.run (dart:async/zone.dart:1093:19)
#9      _runZoned (dart:async/zone.dart:1630:10)
#10     runZonedGuarded (dart:async/zone.dart:1618:12)
#11     ContinuousIntegrationCommand.run (package:cocoon_agent/src/commands/ci.dart:66:13)
<asynchronous suspension>
#12     main (file:///C:/Users/flutter/cocoon/agent/bin/agent.dart:61:19)
#13     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
#14     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)

../../runtime/vm/thread_pool.cc: 299: error: Could not start worker thread: result = 22.
version=2.10.4 (stable) (Wed Nov 11 13:35:58 2020 +0100) on "windows_x64"
pid=2104, thread=2928, isolate_group=(nil)(0000000000000000), isolate=(nil)(0000000000000000)
isolate_instructions=0, vm_instructions=7ff67ce2dde0
  pc 0x00007ff67d0569c2 fp 0x000000d2298ff5f0 Dart_IsPrecompiledRuntime+0x23cd52
-- End of DumpStackTrace

Logs from backend:
gRPC Error (code: 14, codeName: UNAVAILABLE, message: The service is temporarily unavailable., details: [])

This is a transient error happening once approximately every three hours. The agent should be updated to be resilient to this type of errors.

Agents were restarted, we'll keep this bug open for reference until we complete the migration of devicelab to luci.

Depending on the ETA to get luci windows test beds we should reprioritize this bug.

Windows devicelab bots are now running on LUCI


Changes default value of Yogi hyper-parameters

It is found initial_accumulator_value=1e-6 works better for a range of tasks. Thus switching the default value.

Hi @manzilz since you're the author of the paper I'm good with just your word for it :smile:
If there are an references to support this though please post for user reference.


When will Mip-NeRF 360 be re-added?

Hi, I noticed mip-nerf 360 is removed from this repo. Do you have any plan to add it back?

mipnerf-360 was never added to the repo. We chose to focus development on nerfacto since nerfacto contains many of the improvements that mipnerf-360 introduced while also being significantly faster to train.

I see. Thank you very much.


chore(website): parse relative links correctly

Before it would add two forward slashes after the hash mark, thus causing the navigation to fail

Merged in at https://github.com/angular/protractor/commit/4bff24a703d71d88222d38d306b9e95067b798c1


No documentation on how to authenticate clients based on Common Name

It doesn't look like the documentation ever got completed for how to use the feature implemented in #6881 (authenticating clients based on the CN field within their TLS client certificate). I've checked all the related issues, such as #7251 and #3916 and couldn't find anything. I did find a comment from @mitake here where mentioned he was going to work on it soon, but that's where the trail seems to go cold.

@jesseendahl it is already documented here: https://github.com/coreos/etcd/blob/master/Documentation/op-guide/authentication.md#using-tls-common-name
you can use the feature with --client-cert-auth=true.

@mitake thank you! For what it's worth, in addition to checking those Github issues, I'd also checked this page https://coreos.com/etcd/docs/latest/op-guide/security.html and found no mention of the feature, even under the two examples involving client cert authentication:
Example 2: Client-to-server authentication with HTTPS client certificates
Example 3: Transport security & client certificates in a cluster
Anyway thanks again!

@jesseendahl no problem. If you have suggestions about the docs, please pointing out or send PRs.

@mitake I don't this any PR is needed, since your documentation looks good. But for some reason there is no "Authentication guide" page for v3 accessible from https://coreos.com/etcd/docs/latest/
Since the v2 page is accessible at https://coreos.com/etcd/docs/latest/v2/authentication.html
And since the security page is available at https://coreos.com/etcd/docs/latest/op-guide/security.html
I expected the v3 "Authentication guide" page to be available at https://coreos.com/etcd/docs/latest/op-guide/authentication.html
But there is nothing at that URL, and no link to it from the main docs page.
Here's a screenshot of the v2 section. You can see that there are links to 3 pages, one of which is the v2 Authentication Guide.

Now here's the section for v3:

I'm happy to do whatever work is required to get this updated on the website, but even after extensive searching I couldn't find any information on how the docs website gets updated/built/released.

@jesseendahl etcd side is fixed up (which will eventually get pulled into security.html), so closing. Please file an issue on https://github.com/coreos/docs/issues for the website menu. Thanks!


[AIRFLOW-3222] Remove bql keyword from BigQueryOperator

Will be removed in Apache Airflow 2.0
Make sure you have checked all steps below.
Jira

[x] My PR addresses the following Airflow Jira issues and references them in the PR title. For example, "[AIRFLOW-3222] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-3222
In case you are fixing a typo in the documentation you can prepend your commit with [AIRFLOW-3222], code changes always need a Jira issue.

Description

[ ] Here are some details about my PR, including screenshots of any UI changes:

Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[ ] My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[ ] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.

Code Quality

[ ] Passes flake8

Thanks! 👍


Bind on unmasked value

Hi, is it possible to bind the component to the unmasked version of the inputted data? Currently it is binding the masked data.

Hello,
I'm afraid this is the default behavior of iMask component, to get unmasked data, you should replace masked values with additional code.
I'm sure that if I had made an unmasked data version, people would have asked: can I get masked data ?
Anyway, thanks for your input !
Raphaël...
Btw, what is you exact need for this component ?

We just wanted clean data saved, in our case for phone numbers we are binding to a property and having to remove parentheses, spaces, and dashes before saving numerics only. Would have been nice to have the numbers only being bound. Currently we are only using it for just that.

Hello, I have updated the demo site + the nuget package, with a feature to get the unmasked content.
To do so, please follow these steps:

Add a ref to the component

<InputMask @ref="mask" id="yourId" @bind-Value= ... data-mask=...  />

On your code you set the object:
InputMask mask { get; set; }

On the OnValidSubmit handler you can retrieve the mask.rawValue string data.

More info here: https://github.com/raphadesa/BlazorInputMask/blob/master/BlazorInputMask/Pages/Index.razor
Hope this helps !
Raphaël


Simply Core Audio Demo is currently not working.

Steps to reproduce :
1 Clone
git clone https://github.com/rnine/SimplyCoreAudioDemo.git

2 Open in Xcode Version 13.2.1 (13C100)
The SimplyCoreAudio package is automatically loaded.
3 Build
The build fails.
'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' has been renamed to
'kAudioHardwareServiceDeviceProperty_VirtualMainVolume':
APIs deprecated as of macOS 10.9 and earlier are unavailable in Swift

Fix : Replace 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume'
with 'kAudioHardwareServiceDeviceProperty_VirtualMainVolume'

The only solution i found was to recreate the project enveloppe. And now it works.


Patriboz/swim

Implemented vertical swimming animations on keys SPACE and C.

@patriboz Vertical swimming works fine.
But if already swim up on surface of water, should turn back to floating or horizontal swimming, instead of keep swim vertically.
And I think should stick on surface until press C to dive.
Reference: https://youtu.be/prreEsPw1Qg
You may need chat with @tcm390 on how to check if on surface.

@gonnavis Yes, you are right. I will change the animation accordingly and talk to @tcm390 about this.

Vertical state to surface state need smooth transition too.
If on surface not moving, need play floating animation instead of swimming ( even holding space key ).
I feel the sinusoidal motion too "vertically", need turn back to "horizontally" a little.

https://user-images.githubusercontent.com/10785634/179241028-470ea0ab-8c77-4d8e-9c20-6583e92482ec.mp4

Looks like the "sinusoidal motion too vertically" issue caused by out of sync.
It's ok at start, but getting worse after some time, even will "impulse at most vertical pose".
Can try to sync, but maybe good to delete "sinusoidal motion" feature in this PR.
Let this PR focus on vertical swimming due to space C and camera angle.


penalty_yds is always positive (in nflgame)

I found a data issue that you may/may not be able to fix, depending upon the pull from the feed.  The play.penalty_yds data is unsigned, therefore, it does not accurately reflect the yardage gained/lost.  All data is a positive integer value.
For example, if Seattle was in possession and had an offensive holding penalty, one would expect the play.penalty_yds to contain -10, yet the actual data contained currently would be 10.  If Denver was in possession and there was a defensive encroachment penalty, one would expect the play.penalty_yds to contain 5.
Without properly signed data, it forces a string match within play.description for 'PENALTY on {team}', which may return inaccurate results in the event there were multiple penalties on the play (For example, gsis_id=2009092011, drive_id=4, play_id=836).
The column drive.penalty_yards is accurately signed, but is a composite of all plays within that drive, which does not break down the penalty yards on each particular team, let alone individual plays.
Obviously, this issue is dependent upon what data can be extracted from the data feed, so a fix may not be possible... but, it would be really nice to have!  Thanks in advance for taking a look at the issue!

Regular expression?
In [41]: s = '15 (SF, OWN 31, Q4, 1 and 10) (13:46) C.Kaepernick pass incomplete deep middle to M.Crabtree. PENALTY on TB-W.Gholston, Defensive Offside, 5 yards, enforced at SF 31 - No Play. PENALTY on SF-M.Crabtree, Unsportsmanlike Conduct, 15 yards, enforced between downs.'

In [42]: m = re.findall(r'PENALTY.*?\.', re.sub(r'(\w)\.(\w+)', r'\1*\2', s.upper()))

In [43]: m
Out[43]:
['PENALTY ON TB-W*GHOLSTON, DEFENSIVE OFFSIDE, 5 YARDS, ENFORCED AT SF 31 - NO PLAY.',
 'PENALTY ON SF-M*CRABTREE, UNSPORTSMANLIKE CONDUCT, 15 YARDS, ENFORCED BETWEEN DOWNS.']

In [44]: s = '(8:16) 4-M.Darr punts 60 yards to NE 11, Center-92-J.Denney. 11-J.Edelman pushed ob at NE 22 for 11 yards (42-S.Paysinger). PENALTY on NE-24-R.Melvin, Illegal Block Above the Waist, 10 yards, enforced at NE 20.'

In [45]: m = re.findall(r'PENALTY.*?\.', re.sub(r'(\w)\.(\w+)', r'\1*\2', s.upper()))

In [46]: m
Out[46]: ['PENALTY ON NE-24-R*MELVIN, ILLEGAL BLOCK ABOVE THE WAIST, 10 YARDS, ENFORCED AT NE 20.']

Not sure how this works across all plays though. I would imagine you wouldn't run this unless there was a penalty on the play. So... 'if PENALTY in s.upper(): m = re.findall(r'PENALTY.*?\.', re.sub(r'(\w)\.(\w+)', r'\1*\2', s.upper())). Although you would likely just convert s to upper in the DB. You could also run the reg in the DB I think, but I don't know the syntax.
That's one of the things I don't like about the NFL's play-by-play format. It's rather inconsistent, which makes it difficult to pull information out of. I'm currently scraping pro-reference, and the data is much cleaner, but the information is a bit more difficult to access.

Yeah, I don't really want to spend my time writing regexes for all the various play-by-play formats. :-)

Not really too time-consuming man, you could start here, and then elaborate . I'm working on one for pro-football-reference, and this is where it's at so far. Yea, it's hard to read, but right now I'm converting it into Python. Maybe you can adapt the two sources to suit your needs. I'm sure people would appreciate the additional information that this provides.
/* Built in LinqPad. I was experimenting with Linq at the time, so please forgive the harsh use of the ternary operator. */
var temp = (from game in Game_data
			select new {
				data = game,
				compare = game.Detail.ToUpper()
			}).AsEnumerable();

var stats =
(from game in temp
let pass = game.compare.Contains("PASS")
let passIncomplete = game.compare.Contains("INCOMPLETE")
let passRange = Regex.Match(game.compare, @"(?:COMPLETE|INCOMPLETE) (?<range>DEEP|SHORT)")
let passDirection = Regex.Match(game.compare, @"(?:COMPLETE|INCOMPLETE) (?:\w+) (?<direction>LEFT|MIDDLE|RIGHT)")
let rushDirection = Regex.Match(game.compare, @"(?<direction>RIGHT|LEFT) (?:GUARD|TACKLE|END)|UP THE (?<direction>MIDDLE)")
let rush = (rushDirection.Success) ? true : Regex.Match(game.compare, @"(\w+\s)+FOR").Success
let rushLineman = Regex.Match(game.compare, @"(?:RIGHT|LEFT) (?<lineman>GUARD|TACKLE|END)")
let kickoff = game.compare.Contains("KICKS OFF")
let punt = game.compare.Contains("PUNT")
let yards = Regex.Matches(game.compare, @"(-?\d+) YARDS?")
let isExtraPoint = game.compare.Contains("EXTRA POINT")
let isFieldGoal = game.compare.Contains("FIELD GOAL")
let isFieldGoalNoGood = game.compare.Contains("NO GOOD")
let isTouchback = game.compare.Contains("TOUCHBACK")
let isTouchdown = game.compare.Contains("TOUCHDOWN")
let isOnside = game.compare.Contains("ONSIDE")
let isBlocked = game.compare.Contains("BLOCKED")
let isSack = game.compare.Contains("SACK")
let isInterception = game.compare.Contains("INTERCEPT")
let isPenalty = game.compare.Contains("PENALTY")
let isTimeout = game.compare.Contains("TIMEOUT")
let isTwoPoint = game.compare.Contains("TWO POINT")
let isChallenge = game.compare.Contains("CHALLENGE")
let isOverturned = game.compare.Contains("OVERTURN")
let isKneel = game.compare.Contains("KNEEL")
let isSpike = game.compare.Contains("SPIKE")
let isSafety = game.compare.Contains("SAFETY")
let isNoPlay = game.compare.Contains("NO PLAY") || game.compare.StartsWith("PENALTY ON")
select new
{
PlayID = game.data.Play_id,
PlayType = (isTwoPoint) ? "TWO POINT" :
		   (isNoPlay) ? "NOPLAY" :
		   (pass || isSack) ? "PASS" :
		   (rush) ? "RUSH" :
		   (kickoff) ? "KICKOFF" :
		   (isOnside) ? "ONSIDE" :
		   (punt) ? "PUNT" :
		   (isExtraPoint) ? "EXTRA POINT" :
		   (isFieldGoal) ? "FIELD GOAL" :
		   (isKneel) ? "KNEEL" :
		   (isSpike) ? "SPIKE" : "",
PlayResult = (	((pass) ?
				(((passIncomplete) ? "INCOMPLETE" : "COMPLETE") +
				 ((passRange.Success) ? "|" + passRange.Groups["range"] : "") +
				 ((passDirection.Success) ? "|" + passDirection.Groups["direction"] : "") +
				 ((isSack) ? "|SACK" : "") +
				 ((isInterception) ? "|INTERCEPTION" : "")) :
			  	(rush) ?
				 (((rushDirection.Success) ? "|" + rushDirection.Groups["direction"] : "") +
				  ((rushLineman.Success) ? "|" + rushLineman.Groups["lineman"] : "")) :
				(kickoff) ?
				 ((isTouchback) ? "TOUCHBACK" :
				 (isBlocked) ? "BLOCKED" : "") :
				(isFieldGoal) ?
				 ((isFieldGoalNoGood) ? "NO GOOD" : "GOOD") :
				"") +
				((isTouchdown) ? "|TOUCHDOWN" :
				 (isSafety) ? "|SAFETY" : "")
			 ).Trim('|'),
Yards1 = (yards.Count > 0) ? (int?)int.Parse(yards[0].Groups[1].Value) : (int?)null,
Yards2 = (yards.Count > 1) ? (int?)int.Parse(yards[1].Groups[1].Value) : (int?)null,
IsPenalty = isPenalty,
IsTimeout = isTimeout,
IsTwoPoint = isTwoPoint,
IsChallenge = isChallenge,
IsOverturned = isOverturned,
IsNoPlay = isNoPlay,
Detail = game.data.Detail,
GameID = game.data.Game_id
}).Dump();

And now for the rest of the categories: https://github.com/BurntSushi/nfldb/wiki/Statistical-categories
And IIRC, the plays have some variation as time has moved on. Descriptions are slightly different in 2001 than now. But I haven't looked in a while.
Yes it's time consuming. But hey, if it's no problem, and you write a program that extracts all of the stats that nfldb needs from plays going back to 2001, then you can bask in the eternal love of nfldb users everywhere. :-)

So, you're DB provides all of those categories already, or are those to-do?

Yes. All of them. Because they're available in a structured format via an undocumented JSON feed going back to 2009.

Excellent! Thanks.

Many of those statistics are not in the feed. How are you accomplishing that?

Yes they are. All of the code is open source, I invited you to examine for yourself: https://github.com/BurntSushi/nflgame/blob/master/nflgame/statmap.py and https://github.com/BurntSushi/nflgame/blob/master/nflgame/game.py

Yea, just took a look at those. That is incredible! Awesome job, you and your contributors have done here.
I'll probably borrow some of the code to add to my sqlite DB. I'm a fan of Postgresql, but I'd like to make the information more portable for those who just want to mess with the DB, and don't need an API.


Missing Sundae Tokens

Last week I successfully completed a swap of ADA for Sundae.  The tokens were in my Nami wallet last week and not the asset Sundae does not show in my Nami Wallet. https://cardanoscan.io/transaction/63187c1ef9b626a75d5248092ad0d4d55fd78d2d99d61c70368649f7744fb30b

you sent them to another address here https://cardanoscan.io/transaction/1868ff501aae26bbdcb74ce21b903e802d4072e44a9d6fdbb90fd2061422b45b

it looks like I have 3 addresses attached to the account.  I have sent 319 Sundae to a liquidity pool so I should still have 245.84 left but it isnt showing in my Nami wallet https://cardanoscan.io/addresses?stakeKey=d65699f1ef4f36773de89d744d79621d5f3e0e41035d457e1c4b7673

You have used the wallet with another wallet app than Nami. All other wallet apps use multiple addresses per wallet (a new unused change address for outgoing transactions, for example).
To make the contents reappear in Nami, just send everything to the first address (the one Nami shows as “Receive”) with that other wallet app.
If the other wallet app is ccvault, you can activate single address mode in the settings and it will cooperate more nicely with Nami.
If you also set a collateral for smart contracts, set it in Nami and then activate collateral in ccvault settings. It should pick up the collateral set aside by Nami and protect it from being spent in other transactions.


Fix test to run without cuDNN

Follow-up #3731.
The test fails to run in environment without cuDNN.

pfnCI, test this please.

Jenkins CI test (for commit f8779b0b58c599eea8f98bdffbba7ea366753940, target branch master) succeeded!


Introduced property to inject the exposed properties as sys properties

I am working on getting this project to work with Grails 4. (which is built on top of SpringBoot)
I have had problems with accessing the properties that get created by the embeddedPostgreSql Bean and injecting them into the grails-app/config/application.yml.
These properties seem to be scoped with a bootstrap context that does not get propagate to up to a context where the grails wrapping code can pick them up. (could be a problem with me or a problem with grails implementation)
I know that one can make use of system properties within application.yml files and so I decided to try that and it works.
The changes I have made involve creating a property (disabled by default) to allow the integrating party to expose the properties as system properties (transformed to uppercase and replaced '.' with '_', grails/micronaut wants them this way)

To be honest I don't like idea to expose properties to ENV. There are couple of reasons why:

on single machine (build agent or local machine) there will be no possibility to run 2 tests simultaneously (or you may end up having flaky tests) , since lib will override shared ENV variables.
this change is introduced only for postgres module and it was not requested by community.

Are you sure that Grails does not have any way to read Spring properties?

Hi Taras,
My title of the PR might be misleading, apologies for that.

Concern 1:
The changes set java system properties, and does not set ENV properties outside the java process.
This means that your first concern is not an issue since the properties will only be visible within the executed java process.
So it will not override the properties of other tests (as long as they run within their own java process)

Concern 2.1:
I don't mind introducing this to all the other modules if thats what is expected? I thought that if the other modules found this useful they could make use of.
Concern 2.2:
About the community requesting this,  how many people do you need to show interest before its considered community interest? There is atleast 1 person (me) at the moment :-) Also I am hoping to pave the way for a greater Grails community to use this lib.
I have debugged the spring-cloud "bootstrap" code and the grails startup code and after a few hours gave up and opted to solve the problem with this solution. This solution does provide an additional option to expose properties outside of the spring context and in a global context (global to java process).
NOTE: This "feature" is disabled by default.

Codecov Report

Merging #251 into develop will decrease coverage by 0.01%.
The diff coverage is 83.33%.

@@              Coverage Diff              @@
##             develop     #251      +/-   ##
=============================================
- Coverage      85.53%   85.51%   -0.02%
- Complexity       436      441       +5
=============================================
  Files            110      110
  Lines           1417     1429      +12
  Branches          24       28       +4
=============================================
+ Hits            1212     1222      +10
  Misses           194      194
- Partials          11       13       +2

Impacted Files
Coverage Δ
Complexity Δ

...esql/EmbeddedPostgreSQLBootstrapConfiguration.java
94.87% <81.81%> (-5.13%)
8.00 <3.00> (+4.00)
:arrow_down:

...playtika/test/postgresql/PostgreSQLProperties.java
85.71% <100.00%> (+2.38%)
4.00 <1.00> (+1.00)

Continue to review full report at Codecov.

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

I am working on getting this project to work with Grails 4.

Interesting, I was under impression that grails devs switched to micronaut and grails will be lost and forgotten :)

I know that one can make use of system properties within application.yml files and so I decided to try that and it works.

Why do you need to push props from bootstrap to application context? This seems a bit fishy to me...

I have had problems with accessing the properties that get created by the embeddedPostgreSql Bean and injecting them into the grails-app/config/application.yml.

Could you please share some basic "hello world" project which demonstrate issue? I would like to try other options.

About the community requesting this, how many people do you need to show interest before its considered community interest?

If there is no "cleaner" or "spring-way" to pass property source from bootstrap to application context, I don't mind to merge this PR. But I'm not convinced yet that sysops is the only way to make this happen :)

Interesting, I was under impression that grails devs switched to micronaut and grails will be lost and forgotten :)

Its more interesting :-) Grails 4 is somewhat built "ontop" of micronaut.
Besides existing systems need to run and not many customers are willing to pay for framework upgrades :-)

Why do you need to push props from bootstrap to application context? This seems a bit fishy to me... It should work out of the box.

I would like to replace the datasource field values (url, username, password etc) within the "application.yml" file (config file used by Grails) before Grails processes them, so that I can get it to connect to the postgres testcontainer.

Could you please share some basic "hello world" project which demonstrate issue? I would like to try other options.

I have setup a "hello world" project: https://github.com/craighewetson/grails_testcontainers_postgres
The readme explains a bit more, if you have any questions feel free to ask.

By using spring boot test runners everything works as expected with grails orm: https://github.com/grails-samples/gorm-7-spring-boot-2-postgresql/pull/1
There is issues with spring cloud support in grails, I found eureka related, but I bet test runners have something similar: https://github.com/grails/grails-core/issues/11354
Your best option will be to contact grails people and ask them to fix test runners integration with spring cloud (especially bootstrap context and its friends)
Another option can be switching from spring boot test containers to upstream testcontainers-java  + specific integration for test runner (in your case its spock) since issue is in spring cloud integration with this test runner. I've made example which works, but test fails after talking to postgresql: https://github.com/craighewetson/grails_testcontainers_postgres/pull/1
This issue is indication that test runner in grails has issues with spring cloud related projects: https://spring.io/projects/spring-cloud and I'm not sure if proposed fix is appropriate.

I'm closing this pr for now with recommendation to proceed with item "3" from list above.

Thanks guys for the time and effort in replying/responding to this PR.
I took @bsideup advice and used Testcontainer's JDBC support and found that (so far) its a very good solution to the problem I needed to solve.
(FYI: https://github.com/craighewetson/grails_testcontainers_postgres/pull/2 is the changes needed to get hello world grails app working using the testcontainers jdbc support for both test and dev)


Agility plugin clickbox - High level colours

See request #3754

New AgilityShortcut enum, associating a level and short description with an agility shortcut in-game
Refactored WorldMapPlugin's AgilityShortcutLocation to use new AgilityShortcut enum
Added some missing locations on AgilityShortcutLocation, fixed some bad entries
Split obstacle set in agility plugin to use new AgilityShortcut enum
Obstacle IDs referring to more than 1 agility shortcut resolved with 2D bounding box to ensure correct colouring
Added new highlighting options to config, allowing users to turn off high level shortcuts, or colour them with a colour of their choosing.

NOTE: Shortcuts which I was unable to attribute to a specific agility obstacle, area, or shortcut, have been placed at the top of the obstacle list under 'GENERIC_SHORTCUT'

@Spedwards Yeah, spotted these earlier. I fixed a few, but need to wait until I'm back from work before I can fix the rest. Cheers!

@raiyni The AgilityShortcut enum is used for the World map too to prevent level requirement duplication, and there are multiple clashes with ObstacleIDs in the Obstacles class - It's not a good unique key (see Cosmic Altar, Revenant caves)

That doesn't make sense. You are already half way doing what I said.

@raiyni I've removed the config options as requested. @Spedwards I've gone through the code conventions and fixed the issues you mentioned

@Adam- I've made the changes from your latest review


sim.py Checking isinstance of function, error checking a function

In sim.py Line:507
checking if func is function, will cause error as there is no valid keyword saved as function in python.
A valid solution would be
if callable(func):

This is an excellent example of where this project started from, and how it still has plenty of room to grow!
I agree, this is an item that really should be updated.
Long ago, in a University lab-room far, far away, I wrote this without knowing very much about the functions that Python had to support this sort of operation. In fact, it originally used a test like:
if str(type(func)) == "<type function>":

Looking back is "fun" but it also makes me cringe. We should fix this ASAP!


Is there a newer version of this?

Hi, I'd like to ask what the latest and best technique of pose synthesis is now? Is everybody dance now paper still the best or are there better ones?

Hi, I'd like to ask what the latest and best technique of pose synthesis is now? Is everybody dance now paper still the best or are there better ones?
I wonder, too.


chromosome recapture PMID:17881496

abolished GO:1990942
normal GO:1990942
standard defs
PMID:17881496

GO:1990942 is 'mitotic metaphase chromosome recapture', and it doesn't say anything about clustering in the def or synonyms. Should I just make the FYPO term names consistent with the GO name?

the title was another phenotype, which I already have...

abolished mitotic metaphase chromosome recapture FYPO:0005719
normal mitotic metaphase chromosome recapture FYPO:0005720
edit file: c1e05ea3b8989eba0ed96dee128c7a554cf6fde9
release: aed22ae32d4bad9af58aadf470a791c96e3db8e5


Please invite me to the Community Organization

Name
BladeOfCode
Discord Username (if applicable) E.g John#412
No response
Questions & suggestions?
No response

thanks.


Create/Edit Page - Add release date to application version data

When collecting the version information on the Create/Edit page also collect a release date.
This will match functionality available in legacy.

We were specifically told to remove that field for OZP by product ownership as an FYI.

This can be captured in the whats new free text field


Getting error message for correct associations

Hi,
The new error message text is more helpful, but it looks like I'm now getting an error message for a correct association between a GO MF term and a gene product:

@tmushayahama - I think this issue has been addressed so I'm going to go ahead and close the ticket.


Docker config isn't very handy

The following improvements:

Install DB and redis with docker-compose in isolation from the host system
Mount fastapi-admin and example sources as volume (no image rebuild on src changes)
Autorestart the example application on source changes
are proposed in the PR:
https://github.com/fastapi-admin/fastapi-admin/pull/82

Voted up


compiles and links with the right libraries for choosen architecture

While it's still hardcoded this at least differentiates between the
different Mono versions. Normally on Windows when people have both
versions installed the 64 bit version is installed in "C:\Program Files"
and the 32bit in "C:\Program Files (x86)".

If this would be merged a little hint on the wiki page for building should be done too, so people make sure to have the right mono version for the architecture they target to build for.
Maybe in future it would be even better to ask people on Windows to create two environment variables to read the paths from for building and naming them something like MONO_32 and MONO_64 or something similar and add that part too on the wiki page of course :)

I made a few improvements including the environment variables: #16

Nice, thanks :)


Default usecase

User should have easy access for service. Make it via simple address like xxx.com/api/convert and pass parameters through form-data.

Will be closed on master merge.


Add step that notifies Slack when jobs in the hub deployement workflo…

…w fail
Fixes https://github.com/2i2c-org/infrastructure/issues/2436
When or if https://github.com/integrations/slack/issues/1563 is implemented, we should switch to that to avoid adding an extra step on every workflow's job.

It should go to #gha-failures 🤞🏼


Are there plans to bring the Form primitive to radix-ui/themes?

Excellent library! Just noticed that there's a TextField, but no Form. Given the importance of forms, Its hard to make this consistent with everything else using custom CSS. Are there plans to add this to the lib?

At some point, perhaps! We've got some other features/updates we're prioritizing at the moment. Gonna move this over into a discussion for future consideration.


Migrate from Jcenter to Maven Central

Following as Jcenter shutting down.
https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/

Especially important now when jcenter is down.
https://status.gradle.com/incidents/9740r6bzx438

This is a duplicate of https://github.com/avioli/uni_links/pull/144

Thank you for this contribution, but I don't have any time to maintain this package, so it is now marked as discontinued and app_links recommended replacement.


[UI] [Host Setup] Host Setup page is not available after the initial setup

Version: v0.12.0
With the updated "Add Host" page, the Host Setup page has no ability to be edited.
Instead of putting it back in the "Add Host" page, could we create some kind of settings link in the UI to allow people to change the Host Setup page?
If we add it back in, we need to make sure that https://github.com/rancherio/rancher/issues/243 is fixed with the updated UI.

Put into the user menu in rancherio/ui#101

Verified Failed


[rayci] pass RAYCI_BISECT_TEST_TARGET to docker plugin environment

https://github.com/ray-project/rayci/commit/5ff677f9044619acce14add77c3c90b4f08c4ea7 added RAYCI_BISECT_TEST_TARGET to the buildkite build environment list. I also need to pass this to the docker plugin environment list for the step applications to use this value.

actually it probably pass it down automatically, i just haven't upgrade the rayciversion


Weblate 10200

Cherry pick of https://github.com/mattermost/mattermost-webapp/pull/10200 to cloud

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Trying to auto merge this PR.

Pull Request successfully merged
SHA: e313eda3513d193b1295ba5bf046fe7f7559f211


Azure Security Benchmark Mapping File for Azure AD Does not Exist

This page says "Controls not applicable to Azure Active Directory, or for which the responsibility is Microsoft's, have been excluded. To see how Azure Active Directory completely maps to the Azure Security Benchmark, see the full Azure Active Directory security baseline mapping file."
However, when I drill into the link for the security baseline, there is no mapping file for Azure AD. I see lots of other files for other services. You should update the link to point directly to the mapping file for Azure AD.

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

ID: bbc0759d-deb8-42b4-798c-770347ccb527
Version Independent ID: 5846d3f2-0aa4-d4d4-7e1d-659477e722e2
Content: Azure security baseline for Azure Active Directory
Content Source: benchmark/azure/baselines/aad-security-baseline.md
Service: active-directory
GitHub Login: @msmbaldwin
Microsoft Alias: mbaldwin

@brianmoore180
Thanks for your feedback! We will investigate and update as appropriate.

Thank you! I sent a note to the author to look update this. This other article has the correct file linked and the current one will be updated to match that one. https://docs.microsoft.com/en-us/security/benchmark/azure/baselines/security-center-security-baseline
I am closing this out but will update the comments when the document refreshes with the right link.


bazel-super-formatter

https://github.com/aspect-build/bazel-super-formatter ?

https://github.com/aspect-build/rules_lint instead now


installing on aarch64

Everything installs  on AArch64 architecture,, but the two binaries don't run ( dssp and the DalphaBall )
I think there's a pure python version of dssp that could be used to replace the binary quite easily.

see: https://github.com/martinpacesa/BindCraft/issues/80

Hi , I am just trying to build BindCraft on a GraceHopper aarch64 platform.It actually fails for me already with building the conda env...
I used : bash install_bindcraft.sh --cuda '12.4' --pkg_manager 'conda'
The error it throws is:
PackagesNotFoundError: The following packages are not available from current channels:

  - jaxlib=[build=*cuda*]

I tried different cuda versions etc, always fails. Did you change something in the installation script for the jax/jaxlib packages/ channels/cuda versions?  Or did it just work out of the box ?
Any help appreciated,
Greta

Hi there, unfortunately I don't have a space to test this sort of environment, maybe some kind user can help out here :)

Thanks! Yes, I was hoping @jonglees  could maybe comment on that!

Hello,
maybee you can try to manually pick jax wheels from here https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
I imagine something like that, let say you are using python version 3.10, eg
wget https://storage.googleapis.com/jax-releases/cuda12/jaxlib-0.4.27+cuda12.cudnn89-cp310-cp310-manylinux2014_aarch64.whl
pip install  ./jaxlib-0.4.27+cuda12.cudnn89-cp310-cp310-manylinux2014_aarch64.whl

thanks, I will try to play around!


xpcall error handler result gets coerced incorrectly

When you call error inside an xpcall and your error value is not a table, no matter what you return from your error handler, the resulting error will always be turned into a string.
local function err_handler() return {} end

local ok, err = xpcall(function() error({}) end, err_handler)
print("table err", type(err))

local ok, err = xpcall(function() error("oh no") end, err_handler)
print("string err", type(err))

You can see the difference between luaj and PUC lua:
$ luaj scratch.lua
table err	table
string err	string

$ lua scratch.lua
table err	table
string err	table

This bug prevents the luaunit test framework from working with luaj: https://luaunit.readthedocs.io/en/luaunit_v3_2_1/

but value is an table
local function err_handler() return {} end

local ok, err = xpcall(function() error({}) end, err_handler)
print("table err", err, type(err))

local ok, err = xpcall(function() error("oh no") end, err_handler)
print("string err", err, type(err))

Result
table err 	table: 67b92f0a 	table
string err 	table: 4f970963 	string

It looks like a table, but I think it's just because luaj accidentally called tostring on the table and returned that. Either that or the type function is blatantly lying.

local function err_handler() return {} end

local ok, err = xpcall(function() error({}) end, err_handler)
print("table err", err.gmatch, type(err))

local ok, err = xpcall(function() error("oh no") end, err_handler)
print("string err", err.gmatch, type(err))

table err	nil	table
string err	function: gmatch	string

Looks like a string to me!

Its corret with code :
local function f (a,b)
  return a + b
end

local function err (x)
  print ("err called", x)
  return "oh no!"
end

local function pcallfun()
    return f(1,2)
end

status, err, ret = xpcall (pcallfun, err)

print (status)
print (err)
print (ret)

Result
┌[ .../usr/tmp ]─[ ]
└─$ java -cp /storage/emulated/0/Archives/Program/jar/luaj-jse-3.0.2.jar lua scratch2.lua
true
3
nil

┌[ .../usr/tmp ]─[ ]
└─$ lua5.2 scratch2.lua
true
3
nil

I don't understand what your code is intended to demonstrate. There are no errors involved in that code, so it does not trigger the bug.
My code, which actually does call error, shows the bug because the return value is coerced in a type which is different from what it should be.
Perhaps this would be clearer:
local e = {}
local function err_handler() return e end

local ok, err = xpcall(function() error("oh no") end, err_handler)
print(err == e)

-- $ luaj /tmp/scratch.lua
-- false
-- $ lua5.2 /tmp/scratch.lua
-- true

I don't understand what your code is intended to demonstrate. There are no errors involved in that code, so it does not trigger the bug.
My code, which actually does call error, shows the bug because the return value is coerced in a type which is different from what it should be.
Perhaps this would be clearer:
local e = {}
local function err_handler() return e end

local ok, err = xpcall(function() error("oh no") end, err_handler)
print(err == e)

-- $ luaj /tmp/scratch.lua
-- false
-- $ lua5.2 /tmp/scratch.lua
-- true

Maybe this

I think (afraid I'm more familiar with LuaJ 2's codebase) the problem occurs here:
https://github.com/luaj/luaj/blob/daf3da94e3cdba0ac6a289148d7e38bd53d3fe64/src/core/org/luaj/vm2/LuaClosure.java#L570
errorHook is the function responsible for calling the xpcall callback. It's being called with getMessage rather than getMessageObject, meaning the table is coerced to a string.


@angular/cli in devDependencies

Category: Bug or question
Severity: Medium
Expected behaviour:
no warning from executing ng serve
Actual/current behaviour:
Your global Angular CLI version (7.1.1) is greater than your local
version (7.0.6). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false".

Steps to reproduce:
I installed (2018-11-6) npm install -g @angular/cli and tried to serve the project ng serve
my-thai-star/develop branch
My question is why is it required the @angular/cli module on the package.json if it is installed globally.
Following instructions on our wiki gives this warning as the first experience you get from trying to get experience devon4ng to work... which is bad in my opinion

You need a local @angular/cli in order not to mess up things with the global one. When you run an Angular CLI command inside a project you run the local Angular CLI, so you do not have to worry about  the version that you have globally. This is the version of the project that will be used by all the developers of the team independently of the global version that each one has installed.
In any case, Angular CLI notifies you that you could have a different global version instead but only for information purposes.


feat(runtime): set up a tracing-subscriber as a default feature

Example log:

The warning could say "Shuttle's default tracing subscriber is initialized!"

Addressed the review comments.


max_tokens error for google's models

dspy.Google does not work properly as it always results in KeyError: 'max_tokens'. The problem stems from line 95 in dsp/primitives/predict.py
 max_tokens = kwargs.get("max_tokens", dsp.settings.lm.kwargs["max_tokens"])

This creates a key error since google's models have max_output_tokens property instead of max_tokens.

Here's a snippet that I use to work around the problem. hth, but obviously a fix would be better.
# Configure temperature & tokens
self.is_google = dspy.settings.lm.__class__.__name__ == "Google"
max_tokens_key = 'max_output_tokens' if self.is_google else 'max_tokens'
kwargs = {max_tokens_key: max_tokens, "temperature": temperature}

Monkey patching the settings and client at runtime. I used the try catch block so that when the upstream is fixed, the branch with the fix will not be used. This also allows you to pass request_options during generation - retry is given as an example.
import dspy
from dsp.utils import Settings

class GoogleSettings(Settings):
    def __getattr__(self, name):
        translations = {"Google": {"max_tokens": "max_output_tokens"}}
        try:
            return super().__getattr__(
                name
            )  # Will follow this when dspy fixes the issue
        except KeyError:
            model_name = super().__getattr__("lm").__class__.__name__
            return super().__getattr__(translations[model_name][name])

dspy.settings = GoogleSettings()

class GoogleRetry(dspy.Google):
    def basic_request(self, prompt: str, **kwargs):
        request_options = kwargs.pop("request_options", None)
        raw_kwargs = kwargs
        kwargs = {
            **self.kwargs,
            **kwargs,
        }

        # Google disallows "n" arguments
        n = kwargs.pop("n", None)
        if n is not None and n > 1 and kwargs["temperature"] == 0.0:
            kwargs["temperature"] = 0.7

        response = self.llm.generate_content(
            prompt,
            generation_config=kwargs,
            **({} if request_options is None else {"request_options": request_options}),
        )

        history = {
            "prompt": prompt,
            "response": [response],
            "kwargs": kwargs,
            "raw_kwargs": raw_kwargs,
        }
        self.history.append(history)

        return response

def setup_lm(config):
    _lm = GoogleRetry(
        model="gemini-1.5-flash",
        api_key=config["GOOGLE"]["GOOGLE_API_KEY"],
        safety_settings={},
    )
    dspy.settings.configure(lm=_lm, inherit_config=True)
    return _lm

Thanks for opening this! We released DSPy 2.5 yesterday. I think the new dspy.LM and the underlying dspy.ChatAdapter will probably resolve this problem.
Here's the (very short) migration guide, it should typically take you 2-3 minutes to change the LM definition and you should be good to go: https://github.com/stanfordnlp/dspy/blob/main/examples/migration.ipynb
Please let us know if this resolves your issue. I will close for now but please feel free to re-open if the problem persists.


Exposed the EAGI FD as a reader

Would be handy to use this for Enhanced AGI - let me know if I've missed something on this one.
This may be considered as an interim push - and is untested. Reporting-in on real-world tests soon.

Thanks.
Rather than change the signature of the existing New(), can you just create a new NewWithEAGI()?    Better would be to adapt the system to use functional options, but that would mandate a bit more rearrangement, which I can do later.

Yes makes sense! Pushing the NewWithEAGI variant in a bit; will look at functional options and see if I can help in the meanwhile.

Thanks, @angadn


TypeScript Example

Hi there,
I'm trying to use your fine docs to run Express as a serverless function on Netlify, but my function file is written in TypeScript, which is necessary for my use case.
I've tried:
const handler = serverless(app);
export { handler };

Unfortunately, this results in a 404 when I try to do a get on a route when the function is being served by netlify functions:serve, using the Netlify CLI.
Am I missing a step here?  Did I do the export wrong?  A TypeScript example would be very useful here.
Thanks!

Okay, it took me a while, but it appears I was missing an important thing, and the export wasn't the issue.
const app = express();
const router = express.Router();
const functionName = "api";
const routerBasePath =
    process.env.NODE_ENV === "development"
        ? `/${functionName}`
        : `/.netlify/functions/${functionName}/`;
app.use(routerBasePath, router);
router.use(cors());

If I don't have the routerBasePath setup with the function name, things don't work.
Frankly, I have no idea why that's needed, so any explanation around that would be enlightening.


State of support for iPhone X

Hello guys, thanks for great UI lib!
Do you currently support iPhone X?
Do we need to use SafeAreaView alongside nativebase, or nativebase handle all styles itself?
Thanks in advance.

@neemah Please follow issue template guidelines
this doesn't report any kind of issue, hence closing

NativeBase supports iPhoneX

You are very kind, thank you!


Can't import latest version?

When I use gfm on the deno 2, the error occurs and it does not work.
Reproducible code
import { CSS, render } from "https://deno.land/x/gfm/mod.ts";
const body = render("");

The result
Expected result
works without error.
Actual result
Dumps following error.
error: Import assertions are deprecated. Use `with` keyword, instead of 'assert' keyword.

import emojis from "./all.json" assert { type: "json" };

  at https://deno.land/x/emoji@0.3.0/emoji.ts:2:1

Environment
> deno --version
deno 2.0.6 (stable, release, x86_64-pc-windows-msvc)
v8 <IP_ADDRESS>-rusty
typescript 5.6.2

Other information
When I saw the contents of https://deno.land/x/gfm, The latest version shows still 0.6.0, even if the actual latest version is 0.10.0.

@hirohitokato we don't recommend using the /x/ package anymore, but rather the JSR package: https://jsr.io/@deno/gfm


Adding FS2 Producer/Consumer

Codecov Report

Merging #345 into master will decrease coverage by 0.41%.
The diff coverage is 76.38%.

@@            Coverage Diff             @@
##           master     #345      +/-   ##
==========================================
- Coverage   90.56%   90.14%   -0.42%
==========================================
  Files         134      136       +2
  Lines        2840     2883      +43
  Branches      134      129       -5
==========================================
+ Hits         2572     2599      +27
- Misses        268      284      +16

Impacted Files
Coverage Δ

...src/main/scala/hydra.ingest/modules/Algebras.scala
0.00% <0.00%> (ø)

...src/main/scala/hydra.ingest/modules/Programs.scala
0.00% <0.00%> (ø)

...n/scala/hydra/kafka/algebras/MetadataAlgebra.scala
0.00% <0.00%> (ø)

...c/main/scala/hydra/kafka/model/TopicMetadata.scala
84.21% <ø> (ø)

...cala/hydra/kafka/algebras/KafkaClientAlgebra.scala
97.77% <97.77%> (ø)

...ain/scala/hydra/avro/registry/SchemaRegistry.scala
87.50% <100.00%> (+0.83%)
:arrow_up:

...scala/hydra/kafka/algebras/KafkaAdminAlgebra.scala
100.00% <100.00%> (ø)

.../main/scala/hydra/kafka/producer/KafkaRecord.scala
100.00% <100.00%> (ø)

...cala/hydra/kafka/programs/CreateTopicProgram.scala
100.00% <100.00%> (ø)

...la/hydra/kafka/endpoints/BootstrapEndpointV2.scala
90.00% <0.00%> (-10.00%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

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


Incorrect link display in the standard link management editor

This is due to the work of the plugin vue-quill-editor, which sets the default values through the method pasteHTML.
Steps to reproduce:

Paste the existing HTML into the editor, for example: https://google.com
Click on the link https://google.com
In the link editing menu that appears, the text https://google.com will be displayed, instead of the text https://yandex.com

Example to reproduce on codepen

@visualjerk please can comment on this situation?

A fix for this is released in version 4.1.3


Alerts' tones

Hi, is it possible to use this app to change the sounds for the alerts as well? Thanks.

I'd appreciate this also. Thanks for the app.


[Draft] Add support for django's contenttypes framework

Description
Adds support for Django's contenttypes framework
This is a WIP and currently has what smells like the right solution.
TODO:

[ ] Investigate rough edges / further optimisations (if any)
[ ] Write tests
[ ] Format / lint

Closes Issue: #66

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

-5 of 15 (66.67%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.7%) to 99.322%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

query_optimizer/utils.py
8
10
80.0%

query_optimizer/optimizer.py
2
5
40.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.7%

Covered Lines:
733

Relevant Lines:
738

💛  - Coveralls

Decided to add support on my own. See this comment: https://github.com/MrThearMan/graphene-django-query-optimizer/issues/66#issuecomment-2036590764. Support exists in 0.5.1.


Bug Report

Describe the bug | Bug描述
Piccolo 使用的BRDB LUT资产文件brdf_schilk.hdr是OpenGL的坐标格式吧（原点在左下）
fragment shader "mesh_lighting.inl"中：
highp vec2 brdfLUT = texture(brdfLUT_sampler, vec2(clamp(dot(N, V), 0.0, 1.0), roughness)).rg;
是否应为：
highp vec2 brdfLUT = texture(brdfLUT_sampler, vec2(clamp(dot(N, V), 0.0, 1.0), 1 - roughness)).rg;

HI Ginn,
Thanks for following Piccolo.
Actually, according to the convention, the texture will be filpped during the loading process, and thus we don't need to flip the UV in the shader.
For example, here is the GLSL and HLSL code of the same logic in LTC.
And here are some other facts which may help you comprehend this LUT case. Evidently, the artists are createing the model in 3dsMax which is based on Direct3D. However, when we render the model by Vulkan, we don't need to flip the UV of the model. This is analogous to this case when we are sampling the LUT.

Thanks

Hi Ginn,
I have verified this problem again and I realize that there do exist some bugs in the loading process.
Actually, the UV coords of Vulkan is the same as Direct3D. And we do NOT need to flip the texture during the loading process.
However, this texture is flipped during the loading process.
Perhaps this is a big bug, and we need to change the loading process and the related code.


Base project enums

[x] better "list of values" UI

[x] editable name
[x] sortable list
[x] custom color
[x] custom icon/tile

[ ] External import

[x] HX source file (ie. Types.hx)
[ ] CastleDB
[ ] Exp DB (home: https://github.com/kevinresol/exp-db)

[x] tidy project when editing enum def

Moved to RC2: #20


Filter box doesnot applies to mapbox

Make sure these boxes are checked before submitting your issue - thank you!

[ ] I have checked the superset logs for python stacktraces and included it here as text if any
[ ] I have reproduced the issue with at least the latest released version of superset
[ ] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
0.20.6
Expected results
Filtering should applies to mapbox. So that particular state is zoomed when selecting it from filterbox.
Actual results
Does filter box can be applied to mapbox??
Or is there any configuration/procedure that I am missing??
Thanks in Advance.

The columns need to be checked as "Filtereable" in the table editor.

Thanks...Working fine


PLAT-101272: Add a new prop scrollMode

The new prop scrollMode is added.

'translate': the scroll content is scrolled by CSS translate.
'native': the scroll content is scrolled by scrolltop (native way).

LGTM


Backport Bitcoin PR#8708: net: have CConnman handle message sending

This is backport of Bitcoin PR bitcoin/bitcoin#8708.
This PR moves responsibility for sending messages from CNode to CConnman.
The naive (textual) application of Bitcoin PR bitcoin/bitcoin#8708 caused a problem with Dash-specific code.
This PR introduces CNode::nSendVersion member that is initialised to 0 initially and then set to minimum of version received in verack message and PROTOCOL_VERSION when initial handshake is complete (verack message received after sending version message). CConnman::PushMessage() method requires nSendVersion to be non-zero and fails with assertion failure otherwise. In order to send message during handshake, CConnman::PushMessageWithVersion() method is used, but it's used only for initial version, verack messaged as well as reject messages in case initial handshake fails. This is OK because no other messages are accepted before initial handshake is completed.
However, Dash sends getsporks message in another thread without waiting for initial handshake to complete. As a temporary solution to avoid assertion failure caused by zero nSendVersion, I had to use CConnman::PushMessageWithVersion() method with INIT_PROTO_VERSION version for this message as well. However, I think, more correct solution would be better to send getsporks message only after initial handshake is completed.
The original PR description follows.
See individual commits for more description. In particular, bitcoin/bitcoin@75ead75.
This (along with bitcoin/bitcoin#8707) fixes the current maxupload test failure.

I think this workaround for getsporks violates the idea of "handshake first" approach and should be reverted. Should probably modify CopyNodeVector() instead to have an optional param which would allow to return only nodes that completed handshake already (i.e. with nSendVersion != 0) and then call it and use results of that version in the main loop of CMasternodeSync::ProcessTick().

No, this workaround does not violate "handshake first" approach. Original design does. Dash was sending getsporks message from a separate thread without waiting for handshake completion before thid PR. This PR changes nothing in this regard, it just uses CConnman::PushMessageWithVersion() method instead of CConnman::PushMessage() to not trigger assertion failure. Before it, CNode::PushMessage() did not have this assert and was used in all cases.

Well, yes, ok, that's the way to put it correctly :)
I guess we should fix it in a separate PR then.
utACK

I completely agree. Let's hope that there's nothing in code that depends on this "feature".

utACK


updating R packages broke R serve connection

I was running Beaker just fine earlier today, then decided to update my packages from within Rbase.
Since then, impossible to run R in Beaker.
Jun 15, 2016 7:03:25 PM com.twosigma.beaker.r.utils.RServerEvaluator$workerThread startRserve
SEVERE: exception starting RServe
org.rosuda.REngine.Rserve.RserveException: eval failed, request status: error code: 127
	at org.rosuda.REngine.Rserve.RConnection.eval(RConnection.java:234)
	at com.twosigma.beaker.r.utils.RServerEvaluator$workerThread.startRserve(RServerEvaluator.java:444)
	at com.twosigma.beaker.r.utils.RServerEvaluator$workerThread.run(RServerEvaluator.java:473)

I have uninstalled both R and Beaker, and reinstalled all dependencies as well as the packages I normally use. Still not working.
I have checked the previous Beaker install for path preferences: none were set, so this shouldn't be the issue here.
Any thoughts?

did you install.packages('roxygen2')?

Yes, along with the other mentionned in the "Getting Started".
I have tried re-running the command for roxygen2, to no avail.

confirmed, i reproduced this.

@scottdraves could you please check if RCurl package has been installed successfully (in terminal run require('RCurl'))

@mnavasiolava I checked on mine. 'RCurl' wasn't properly installed, even after running install.packages('Rcurl').
However, after correcting that, the problem persists - exact same message as above.

@Rom1Garnier could you please check the other packages from the 'Getting started' page
require('Rserve');
require('ggplot2');
require('devtools');
require('RCurl');
require('RJSONIO');
require('jpeg');
require('png');
require('base64enc');
require('roxygen2');

Fixed it.
Somehow, roxygen2 (which I installed yesterday) was not working properly.
It was appearing in the list of packages within R base, was present in the library, but R wasn't able to load it. Trying to overwrite the install returned a message stating that R wasn't able to remove the previous installation.
 Then a cleaninstall.packages('roxygen2')seems to have done the trick.
I suspect the fact the package failed during the update process somehow?


Editor doesn't detect duplicate keys in Redux mapDispatchToProps / mapStateToProps

VSCode Version: 1.26.1
OS Version: 10.13.6

The editor is able to detect the duplicate const test declaration, but it's not able to detect the duplicate modalHide in mapDispatchToProps. Intellij is able to detect this.
Does this issue occur when all extensions are disabled?: Yes

Is this in a typescript file? Or are you using checkJs in a js file?

@mjbvz Thanks for looking into this! It is not a typescript file and no checkJs. Please let me know anything else you need!

Can you share a screenshot of the message when you hover over the error squiggly on test. Our built-in js support should not report semantic errors so I need to know where it the error is coming from

So...in desperation I installed eslint globally and added a global eslintrc file. That's what was producing the red line. I've since removed the eslintrc file.
Are you saying VSCode doesn't detect these type of errors...such as duplication?

Yes we only report syntax errors by default in js files, mainly because js allows for lots of craziness that would produce a lot of false positive errors in our tooling.
Consider using checkJs if you want more advanced built-in semantic analysis, or another extension like  eslint

@mjbvz Thanks for the recommendation! All setup and does what I was looking for 👍


Fix #46 - division by zero

Fix divisionByZero error if self._total=0 e.g. on harvester-only machines by setting percentage_skipped zero by default and only calculating the percentage if self._total is greater than zero.

Thanks @cbacon93, appreciate the PR! Though I'm preparing a release now that includes this + a few other modifications so I won't merge this now.


ThinkPad Yoga 460 Supported

Model
ThinkPad Yoga 460

Patchset
xx60_patches_v1.txt

TPM
Yes, Hex was already fixed

Notes
None

The TDP is controlled by the EC which overrides BIOS setting. However, one can get away with setting the IMON slope in BIOS. The CPU (6600u) needs ~22W for full performance.


Always getting password authentication fail

Hi,
I am always getting a password authentication fail, no matter
which account (postgres or others).
I know you can specify the --connection option, but no password can be passed as a parameter.
Wondering what I am doing wrong.
Bye and good job.

I am receiving this as well, however, my issue appears to be tied to the lack of custom port support. I provided my command and response below.
CONNECTION="host=$DB_HOST user=$DB_USER password=$DB_PASSWORD port=$DB_PORT sslmode=require"
COLUMNS="active"
timescaledb-parallel-copy --db-name main \
  --table mytable \
  --connection $CONNECTION --reporting-period 2s --columns $COLUMNS \
  --copy-options "CSV NULL ''" --workers 1 --file /tmp/data.csv

Error log provided below with IP address redacted.
panic: dial tcp x.x.x.x:5432: connect: connection timed out
goroutine 19 [running]:
github.com/jmoiron/sqlx.MustConnect(...)
        /go/src/github.com/jmoiron/sqlx/sqlx.go:650
main.processBatches(0xc00008a2a4, 0xc00008e1e0)
        /go/src/github.com/timescale/timescaledb-parallel-copy/cmd/timescaledb-parallel-copy/main.go:206 +0xd2f
created by main.main
        /go/src/github.com/timescale/timescaledb-parallel-copy/cmd/timescaledb-parallel-copy/main.go:124 +0x181

@blagojts could you have a look?

I have confirmed your issues, there seems to be a bug, will update the connection options and let you know. Thank you for reporting

Sorry for the delay @blagojts, I was traveling last week.
I received the same error as I shared above executing your script. Your testing environment is using the default postgres port (5432). The issue I am running into is due to a custom, non-default postgres port being used.
Do you mind trying this on a custom port and reporting back?

Hi @Lotiara and others:
I have made a PR here https://github.com/timescale/timescaledb-parallel-copy/pull/20 that will hopefully make this kind of thing easier to do. You can set appropriate environment variables for password, port, whatever like you would with psql and it should end up working.

@jd0x and @Lotiara this has been merged with #20.


rustc: regenerate patches for 1.29.0 & 1.54.0

This should fix #298. 1.39.0 seems to work fine as-is, so left it for now.
An alternative would be to update the docs to instruct macOS users to avoid "Apple patch" i.e:
# patch --version
patch 2.0-12u11-Apple

and instead install and use something like GNU patch. i.e brew install gpatch.
Happy to do that in this PR if you'd prefer.

Sorry, another merge caused a conflict.
Also, do 1.19 and 1.39 need regenerating?

Thanks for this. It'll probaly make reintegrating the borrowck branch more interesting, but that's a me problem :)


module 'jax' has no attribute 'api'

when calling:    state = jax_utils.replicate(state, devices=devices)
the terminal return: AttributeError: module 'jax' has no attribute 'api'

Same issue.
Upgrading flax from 0.3.4 to 0.3.5 solves the problem for me.

i have tried but it said that the latest version only up to 0.3.4

i have tried but it said that the latest version only up to 0.3.4

Maybe you need to upgrade pip3 first.
You can also try to install it offline using a whl file.

Same issue. Upgrading flax from 0.3.4 to 0.3.5 solves the problem for me.

I get another error when upgrading flax to 0.3.5
Traceback (most recent call last):
File "/home/lhm/NeRF/nerfies/train.py", line 23, in
from flax import jax_utils
File "/home/lhm/anaconda3/envs/nerf-env/lib/python3.9/site-packages/flax/init.py", line 37, in
from . import linen
File "/home/lhm/anaconda3/envs/nerf-env/lib/python3.9/site-packages/flax/linen/init.py", line 23, in
from .attention import (MultiHeadDotProductAttention, SelfAttention,
File "/home/lhm/anaconda3/envs/nerf-env/lib/python3.9/site-packages/flax/linen/attention.py", line 26, in
from flax.linen.linear import default_kernel_init
File "/home/lhm/anaconda3/envs/nerf-env/lib/python3.9/site-packages/flax/linen/linear.py", line 21, in
from flax.linen.module import Module, compact
File "/home/lhm/anaconda3/envs/nerf-env/lib/python3.9/site-packages/flax/linen/module.py", line 31, in
from jax._src.numpy.lax_numpy import isin
ImportError: cannot import name 'isin' from 'jax._src.numpy.lax_numpy' (/home/lhm/anaconda3/envs/nerf-env/lib/python3.9/site-packages/jax/_src/numpy/lax_numpy.py)

Same issue. Upgrading flax from 0.3.4 to 0.3.5 solves the problem for me.

I get another error when upgrading flax to 0.3.5 Traceback (most recent call last): File "/home/lhm/NeRF/nerfies/train.py", line 23, in from flax import jax_utils File "/home/lhm/anaconda3/envs/nerf-env/lib/python3.9/site-packages/flax/init.py", line 37, in from . import linen File "/home/lhm/anaconda3/envs/nerf-env/lib/python3.9/site-packages/flax/linen/init.py", line 23, in from .attention import (MultiHeadDotProductAttention, SelfAttention, File "/home/lhm/anaconda3/envs/nerf-env/lib/python3.9/site-packages/flax/linen/attention.py", line 26, in from flax.linen.linear import default_kernel_init File "/home/lhm/anaconda3/envs/nerf-env/lib/python3.9/site-packages/flax/linen/linear.py", line 21, in from flax.linen.module import Module, compact File "/home/lhm/anaconda3/envs/nerf-env/lib/python3.9/site-packages/flax/linen/module.py", line 31, in from jax._src.numpy.lax_numpy import isin ImportError: cannot import name 'isin' from 'jax._src.numpy.lax_numpy' (/home/lhm/anaconda3/envs/nerf-env/lib/python3.9/site-packages/jax/_src/numpy/lax_numpy.py)

solver by : "pip install jax==0.3.4 jaxlib==0.3.2"


Add a memory profiler

Introduction
Add an implementation of a memory profiler.
The functionality of this tool is similar to php-meminfo, but works in the phpspy-ish way.
It can capture the memory contents of the target from outside of the process, and analyzing it with the knowledge of the internal structures of the interpreter. Then dump them all.
Requirements

FFI
PHP 8.1 or above for execution
PHP 7.0+ for targets
Only NTS target is tested currently

Usage
This tool can be used like this.
sudo ./reli i:m -p <pid_of_target_process> >memory_analyzed.json

And the output is like below. The target process is psalm in this example.
{
    "summary": [
        {
            "zend_mm_heap_total": 153092096,
            "zend_mm_heap_usage": 126947784,
            "zend_mm_chunk_total": 153092096,
            "zend_mm_chunk_usage": 126947784,
            "zend_mm_huge_total": 0,
            "zend_mm_huge_usage": 0,
            "vm_stack_total": 262144,
            "vm_stack_usage": 8720,
            "compiler_arena_total": 1900544,
            "compiler_arena_usage": 1791992,
            "possible_allocation_overhead_total": 10196000,
            "possible_array_overhead_total": 21284000,
            "memory_get_usage": 129053816,
            "memory_get_real_usage": 153092096,
            "cached_chunks_size": 0,
            "heap_memory_analyzed_percentage": 98.36809784842008,
            "php_version": "auto"
        }
    ],
    "per_type_analysis": {
        "ZendObjectMemoryLocation": {
            "location_count": 124341,
            "memory_usage": 45245784
        },
        "ZendArrayTableOverheadMemoryLocation": {
            "location_count": 108548,
            "memory_usage": 21204736
        },
        "ZendArrayTableMemoryLocation": {
            "location_count": 109462,
            "memory_usage": 17964240
        },
        "ZendStringMemoryLocation": {
            "location_count": 242532,
            "memory_usage": 16149456
        },
<--- snip --->
    "per_class_analysis": {
        "Psalm\\CodeLocation": {
            "count": 32875,
            "total_size": 13413000
        },
        "Psalm\\Type\\Union": {
            "count": 24924,
            "total_size": 12960480
        },
        "Psalm\\Internal\\MethodIdentifier": {
            "count": 8838,
            "total_size": 636336
        },
<--- snip --->
    "context": {
        "call_frames": {
            "#node_id": 0,
            "#type": "CallFramesContext",
            "0": {
                "#node_id": 1,
                "#type": "CallFrameContext",
                "#function_name": "Psalm\\IssueBuffer::finish",
                "local_variables": {
                    "#node_id": 2,
                    "#type": "CallFrameVariableTableContext",
                    "project_analyzer": {
                        "#node_id": 3,
                        "#type": "ObjectContext",
                        "#locations": [
                            {
                                "address":<PHONE_NUMBER>65152,
                                "size": 424,
                                "refcount": 3,
                                "type_info":<PHONE_NUMBER>,
                                "class_name": "Psalm\\Internal\\Analyzer\\ProjectAnalyzer"
                            }
                        ],
                        "object_handlers": {
                            "#node_id": 4,
                            "#type": "ObjectHandlersContext",
                            "#locations": [
                                {
                                    "address":<PHONE_NUMBER>3472,
                                    "size": 200
                                }
                            ]
                        },
                        "config": {
                            "#node_id": 5,
                            "#type": "ObjectContext",
                            "#locations": [
                                {
                                    "address":<PHONE_NUMBER>96800,
                                    "size": 1544,
                                    "refcount": 7,
                                    "type_info":<PHONE_NUMBER>,
                                    "class_name": "Psalm\\Config"
                                }
                            ],
                            "object_handlers": {
                                "#reference_node_id": 4
                            },
<--- snip --->
...

This can be read as:

ZendMM allocates 153092096 byte of chunks in total
126947784 bytes of them are located by this tool
If the target process calls memory_get_usage(false) in this moment, the return value would be 129053816
So 98.36809784842008% of areas reported by memory_get_usage() is analyzed
The kind of the top most numerous collected locations of memory area is the locations for zend_object, corresponding to the PHP objects in the target process

The number of objects is 124341, and the total analyzed size of them is 45245784 bytes

The most numerous class of objects collected is Psalm\\CodeLocation

The number of objects is 32875, and the total analyzed size of them is 13413000 bytes

The contexts field in the output JSON indicates in what context each memory area is referenced. It recursively dumps local variables and $this on the call stack from the running call frame to the root of script invocation, as well as the contents of complex values such as objects or arrays referenced by their zval. To avoid infinite recursion, each context is assigned a unique node ID, #node_id, and references to the same output area are output as "#reference_node_id": 4. This means that the contexts field is effectively represented as a tree with:

the call stack,
the global variables table,
the function table,
the class table,
the global constants table,
the interned strings table,
the included files strings table
and the objects_store
as the top-level children. The objects_store is an important table that holds references to all objects inside the script, and most references are represented by #reference_node_id only. If there is an object in the objects_store that is represented by #node_id with its contents, it is most likely to be an object whose reference that is held by an internal structure not supported by this tool, such as \Closures passed to register_shutdown_function(), or objects whose reference cannot be followed in the normal path due to circular references.

Curretly not yet supported

Generators
Fibers
TMP/VARs in PHP 7.0 target
internal classes other than \Closure
\Closure passed to register_shutdown_function()
\Closure passed to set_exception_handler()
The contents of resources

ToDo

ADD TESTS
add settings to control the contents of outputs

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

261 of 3237 (8.06%)  changed or added relevant lines in 141 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-41.0%) to 38.198%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Lib/FFI/Cast.php
1
2
50.0%

src/Lib/PhpInternals/Types/Zend/ZendFunction.php
2
3
66.67%

src/Lib/PhpInternals/Types/Zend/ZendString.php
4
5
80.0%

src/Lib/PhpProcessReader/PhpMemoryReader/CollectedMemories.php
0
1
0.0%

src/Lib/PhpProcessReader/PhpMemoryReader/LocationTypeAnalyzer/LocationTypeAnalyzerResult.php
0
1
0.0%

src/Lib/PhpProcessReader/PhpMemoryReader/MemoryLocation/RefcountedMemoryLocation.php
0
1
0.0%

src/Lib/PhpProcessReader/PhpMemoryReader/MemoryLocation/ReferenceCountAnalyzer.php
0
1
0.0%

src/Lib/PhpProcessReader/PhpMemoryReader/ObjectClassAnalyzer/ObjectClassAnalyzerResult.php
0
1
0.0%

src/Lib/PhpProcessReader/PhpMemoryReader/ReferenceContext/InternalFunctionDefinitionContext.php
0
1
0.0%

src/Lib/PhpProcessReader/PhpMemoryReader/RegionAnalyzer/Result/RegionAnalyzerResult.php
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/Lib/PhpInternals/Types/Zend/ZendExecuteData.php
1
33.33%

Totals

Change from base Build<PHONE_NUMBER>:
-41.0%

Covered Lines:
2149

Relevant Lines:
5626

💛  - Coveralls


Date arithmetic INTERVAL keyword not handled correctly

Minimal example:
package main

import (
    "fmt"
    "github.com/xwb1989/sqlparser"
)

func main() {
    sql := "SELECT DATE_SUB(NOW(), INTERVAL 1 MONTH)"
    tree, err := sqlparser.Parse(sql)
    if err != nil {
        fmt.Println("Error: ", err)
        panic("oh no")
    }
    fmt.Println(tree)
}

$ go run main.go
Error:  syntax error at position 34 near 1
panic: oh no

[trace info]

Looks like it's failing to handle the MONTH after INTERVAL.

This issue seems fixed by d093d029e2170e41f99261ab9b8e947cf602a1d6 (Imported the latest https://github.com/youtube/vitess sqlparser)

Closing this issue. Feel free to reopen with an example if you still encounter the issue.


Add Sustainable Software Engineering

Insert URLs to the project here:
https://github.com/luiscruz/course_sustainableSE

[x] The projects is active, documented, open source licensed, shows usage from external parties and is directly targeting environmental sustainability. Find more details in the Contribution Guide.

All issues labeled as 'Good First Issue' of the project listed on OpenSustain.tech will be visible on ClimateTriage.com. This is a great way to welcome new community members to your project.

@luiscruz


trimmed resource string which is passed as value in AWS dimensions in case of alb

@linefeedse - As you initially added ALB support. Does this PR breaks anything for you?
From my first view it looks good. But as me personally and the company i work for not use ALBs i am afraid to merge.
Greetings, Thomas

I will merge this together with the other PR in a new version. @GeeksWine - Sorry for the long delay was hoping we get more input on this.

Sure. No problem :)

https://github.com/ivx/yet-another-cloudwatch-exporter/issues/42 - Reference PR with Issue.


remove inequality operator

Maybe inequality operator not needed there? 🧐

Alright, seems reasonable, thanks! 👌


1st: Top text unselectable

What happened?
The confetti animation seems to cover the text at the top of the page such that the text is currently unselectable. This makes links to more information unreachable.

To be clear, the page this issue is referring to is https://acmcsuf.com/1st.

Add pointer-events: none; to .confetti-wrapper. 👍🏼

Fixed #867.


Add HTML documents to TypeScript project system

The JavaScript inside of .cshtml files should be part of the TypeScript project system. Today virtual HTML documents that contain JavaScript don't make their way into a known project.
This will rely on us working with the TypeScript team to ensure that we can add an API to monitor virtual documents as if they were part of a project.

This is equivalent with the VS experience. Closing this.


Some usage questions

Thank you for this library! There are very few options for using json localization files in Rust, and this looks like the best one. There are some things which are unclear though, and I hope you can explain them to me:

How can i select the language dynamically? The examples only show Lang::En.hello(), but i need something like get_string("en", "hello") in order to select the language at runtime.
Can errors about unused arguments be disabled? We are using the same translation files across multiple projects, so its normal that some of them are unused.error: named argument never used
--> /home/felix/workspace/lemmy/target/debug/build/lemmy_websocket-5c9ec7d2402ea26c/out/rosetta_output.rs:1:1957
|
1 | ...tring { match self { _ => format ! ("{{count}} Abonnés" , count = count) } } # [allow (clippy :: match_single_binding)] pub fn select_...
|                                        -------------------           ^^^^^ named argument never used
|                                        |
|                                        formatting specifier missing

When enabling translations for en and fr from these files, it gives another error. Maybe its because we dont follow your string formatting rules, or because the variable has a different name in both language files?Compiling lemmy_websocket v0.15.1 (/home/felix/workspace/lemmy/crates/websocket)
error: failed to run custom build command for `lemmy_websocket v0.15.1 (/home/felix/workspace/lemmy/crates/websocket)`

Caused by:
process didn't exit successfully: `/home/felix/workspace/lemmy/target/debug/build/lemmy_websocket-d9289556ed2bb147/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-changed=translations/translations/en.json

--- stderr
Error: Parse(InvalidType { key: "number_online_plural", expected: "string" })

Thanks in advance :)

Hello! Thanks for your interest in this project :smile:

How can i select the language dynamically?

The generated Lang type implement the Language trait and have a from_language_id() method to get the variant corresponding to a specific language. The LanguageId type actually only support ISO_639-1 format, it is planned to switch to IETF BCP 47 language tags that are used by HTML and HTTP (see #3).

Can errors about unused arguments be disabled?

The translation strings are actually directly used in the format! macro, so only variables enclosed with single braces are supported ({count} instead of {{count}}). It looks like parsing doesn't fail when you have variables with two braces, but it is not properly recognized by the format! macro.

When enabling translations for en and fr from these files, it gives another error.

The variables do need to have the same name, otherwise the parsing fails. This allows to have multiple variables that are not in the same order in the different translations.
I plan to rewrite the entire parser and code generator in a next release to support more syntaxes (like variables with two braces or nested keys) and maybe consider other file formats than json (like Fluent).

The generated Lang type implement the Language trait and have a from_language_id() method to get the variant corresponding to a specific language. The LanguageId type actually only support ISO_639-1 format, it is planned to switch to IETF BCP 47 language tags that are used by HTML and HTTP (see #3).

Thats it. I would suggest you add an example in the readme/documentation, because its not mentioned anywhere, and wasnt clear to me at all.

The variables do need to have the same name, otherwise the parsing fails. This allows to have multiple variables that are not in the same order in the different translations.

Okay i will see how to fix our translation files then.

I plan to rewrite the entire parser and code generator in a next release to support more syntaxes (like variables with two braces or nested keys) and maybe consider other file formats than json (like Fluent).

Any rough estimate how long this rewrite would take? Like if its a matter of weeks, or months, to determine whether i should wait for the new version, or change our files for now.

Any rough estimate how long this rewrite would take?

I haven't much free time right now, I think I'll start working on it in the next month or two.

Great, thank you :)


[WIP] Rollback for steps

Added rollback feature to workflows framework. Rollback method would be called if run has returned error thus making a certain step idempotent. For instance if provisioning failed we don't need that instance (EC2, droplet, etc) and it could be deleted automatically.
Also, added panic handler in case some step panics it would mark entire provisioning as failed.

Coverage decreased (-0.6%) to 48.062% when pulling 7833e38c505913e2cc406182da9ac98752487b8d on egopher:workflow_rollback into 88735359bee1433a347a24d9488c7e3e9e1aad25 on supergiant:master.


Musa infer perf merge to branch: musa_dev

小模型推理部分代码合入，from @gonggqing

@gonggqing Hi gongqing, I didn't see any code about general infer，please push again


TriMesh vs Network Graph

Long term, I'd like the ability to interact with the mesh in a more dynamic way.

Ability to view node index
ability to view element index
Ability to move nodes in drawing
ability to select a group of elements based on material type/kdims

I started using networkx in one of my workflows to hold my 3dm mesh vertices and edges. An issue that just came up in holoviews made me start looking into Network Graph so I started poking around at this http://holoviews.org/user_guide/Network_Graphs.html . I like some of the functionality provided with Graph as part of the TriMesh objects, namely the ability to select a node and get the node index.
I also briefly looked at TriMesh and it seems like its inheriting from Graph so I'm wondering what is their connection? By the time its a TriMesh, is it no longer a networkx graph? I see that TriMesh holds the vertices of each element, which is critical, but maybe we could expose more of the Graph functionality to TriMesh?

@philippjfr Can I get your opinion on this?

Okay, I'll start by summarizing what the relationship between Graph and TriMesh is. Fundamentally they are fairly similar, particularly in terms of the datastructures they share, which consist of:

A set of edges which describe the connections between nodes
A set of node locations and indices

That's why I chose to implement TriMesh as a subclass of Graph. However there is also one significant different which is that the "edges" in a TriMesh aren't really edges, they are better described as faces or simplexes. This means that unless we extend TriMesh significantly a lot of the features will not work quite right, specifically selecting on vertices or simplexes will not work quite correctly since it does not take into account the third node index of each simplex. However some of the features you asked for should be possible:

Ability to view node index: This should be possible right now simply by enabling hover on a Trimesh
Ability to view element index: If by element index you mean the index of the simplices that should also be possible either by adding a custom hover tool which displays the index or by adding an index column as a value dimension.
Ability to move nodes in drawing: This should be reasonably straightforward to implement by drawing the nodes as a separate set of points and linking them to the node positions.
Ability to select a group of elements based on material type/kdims: This would require improving TriMesh.select to take into account the third node id of each simplex and may be a bit of work.

This has been superseded. The available tools have changed since this was opened.


download file doesn't work

docker run -p 8081:8081 --env TELEGRAM_API_ID=123 --env TELEGRAM_API_HASH=xyz --env TELEGRAM_ALLOW_USERS=1 --name tdlight tdlight/tdlightbotapi
steps:
http://<IP_ADDRESS>:8081/user{token}/getuserprofilephotos?user_id=123 -> {"file_id":"xyz"}
http://<IP_ADDRESS>:8081/user{token}/getFile?file_id=xyz -> {"file_path":"photos/file_0.jpg"}
http://<IP_ADDRESS>:8081/file/user{token}/photos/file_0.jpg ->{"ok":false,"error_code":404,"description":"Not Found"}
if i attache to container by command docker exec -it tdlight /bin/ash
I can see file /var/lib/telegram-bot-api/123:xyz/photos/file_0.jpg
how to download file by file_path?

@limassolsk files are not served by the botapi, you need yo setup a proxy (eg with nginx)

you need yo setup a proxy (eg with nginx)

how to do it with docker?
why no information about docker image doesn't work with files?

@limassolsk See
https://github.com/MarcoBuster/tdlight-telegram-bot-api-traefik

more easy is to change in README.md:

Installation
The simplest way to use it is with this docker command:

by adding -v /var/lib/telegram-bot-api/:/var/lib/telegram-bot-api/


Limit enable "Insights and reporting" in B2C tenant CA policy

Hi Team, we seems to have limited to enable "insights and reporting" function in B2C tenant CA even P2 enabled/diagnostic setting enabled (light house linked subscription). The button is grey out.
May I know if we possibly add some explanation for grey out button function close in document? The admin side could consider this UI grey out relate the permission/license issue instead of the UI just close this function.

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

ID: 1c73cf1e-1f14-6e21-ac23-682c9a2a30fb
Version Independent ID: bcd6680b-70d1-0440-e32e-bef79f5beb8a
Content: Add Conditional Access to a user flow in Azure AD B2C
Content Source: articles/active-directory-b2c/conditional-access-user-flow.md
Service: active-directory
Sub-service: conditional-access
GitHub Login: @kengaderdus
Microsoft Alias: kengaderdus

@TonySh127-ms
Thanks for your feedback! We will investigate and update as appropriate.

@kengaderdus
Can you please check and add your comments on this doc update request as applicable.

@TonySh127-ms
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.

Hi @TonySh127-ms
This specific issue has been thoroughly checked, and there is no problem related to the document. We have already consulted internally with the document author. To seek further assistance with this matter, please proceed to raise a support request.
I'd recommend you create a support ticket since the support team will be able to respond much more quickly and have a conversation with you to figure out what could be going on.