ANSYS Workbench Ironpython threading problem

Description
ANSYS Workbench use Ironpython language to develop extension and  I try  to use threading modulus to improve calculating speed(most are I/O tasks). But it seems that the multi threading don't work.
Steps to Reproduce

First I build a classic as follow:

import threading

class MyThread(threading.Thread):
    def __init__(self, func, args, name=''):
        threading.Thread.__init__(self)
        self.name = name
        self.func = func
        self.args = args

    def getResult(self):
        return self.result

    def run(self):
        self.result = self.func(*self.args)

Then I use the following way to use it:

from myThread import MyThread
results = []
for i in range(3):
    t = MyThread(funcs[i], (q, nloops)_)
    t.start()
    t.join()
    results.append(t.getResult())

I can get the right result, but the calculate speed don't improve. It is almost same speed with no using thread.
Versions
IronPython <IP_ADDRESS> on .NET 4.0.30319.42000
The version is very old and it is the ANSYS Workbench contain, so I ca't update it to the lasting version.

You are misusing threading. t.join will block until the thread terminates so it's as if you weren't using threading at all. You need to do something like:
threads = []
for i in range(3):
    t = MyThread(funcs[i], (q, nloops)_)
    t.start()
    thread.append(t)

for t in threads:
    t.join()
    results.append(t.getResult())

MyThread(funcs[i], (q, nloops)_) for i in range(3)]

You are misusing threading. t.join will block until the thread terminates so it's as if you weren't using threading at all. You need to do something like:
threads = []
for i in range(3):
    t = MyThread(funcs[i], (q, nloops)_)
    t.start()
    thread.append(t)

for t in threads:
    t.join()
    results.append(t.getResult())

MyThread(funcs[i], (q, nloops)_) for i in range(3)]

I put t.join() and t.start() in one loop. you mean they should be on different  loop ?

I put t.join() and t.start() in one loop. you mean they should be on different loop ?

Yes. One loop starts all your threads and the other loop wait for them to end.

I put t.join() and t.start() in one loop. you mean they should be on different loop ?

Yes. One loop starts all your threads and the other loop wait for them to end.

Thinks! I will try it

I put t.join() and t.start() in one loop. you mean they should be on different loop ?

Yes. One loop starts all your threads and the other loop wait for them to end.

I have try it. It seems the speed is the same without using thread, I don't know why . This version ironPython don't have multiprocessing modulus, so sad. So, is there any way to improve calculate speed ?

you can try to use Net framework with AsParallel() (extension System.Linq)
https://docs.microsoft.com/fr-fr/dotnet/api/system.linq.parallelenumerable.asparallel?view=net-5.0
an example
import clr
import sys
clr.AddReference("System.Core")
import System
clr.ImportExtensions(System.Linq)
from System.IO import *
from System.Net import *
import time

request = WebRequest.Create("https://www.gutenberg.org/files/65568/65568-0.txt")
with request.GetResponse() as response:
	with response.GetResponseStream() as stream:
		with StreamReader(stream) as reader:
			html = reader.ReadToEnd()
			html = html.encode("utf-8")

def counterWords(chrt, lstTxt):
	chrt = chrt.encode("utf-8")
	count_ = lstTxt.count(chrt)
	return [chrt, count_]

searchCharacs = ["the","on","a","in","day","this", "of", "his", "and", "he", "when", "it", "an", "she", "not", "you"]
# make a big list
searchCharacs = searchCharacs * 10
lstTxt = html.split()
# test without AsParallel
print("test without AsParallel")
start = time.time()
result =[]
for s in searchCharacs:
	result.append(counterWords(s, lstTxt))
elapse = ("%s s" % (time.time()-start))
print(elapse)

# test with AsParallel
print("test with AsParallel")
start2 = time.time()
threadResult = searchCharacs.AsParallel().Select(lambda searchC: counterWords(searchC, lstTxt))
elapse2 = ("%s s" % (time.time()-start2))
# print the result
# print(list(threadResult))
print(elapse2)

my result time

you can try to use Net framework with AsParallel() (extension System.Linq)
https://docs.microsoft.com/fr-fr/dotnet/api/system.linq.parallelenumerable.asparallel?view=net-5.0
an example
import clr
import sys
clr.AddReference("System.Core")
import System
clr.ImportExtensions(System.Linq)
from System.IO import *
from System.Net import *
import time

request = WebRequest.Create("https://www.gutenberg.org/files/65568/65568-0.txt")
with request.GetResponse() as response:
	with response.GetResponseStream() as stream:
		with StreamReader(stream) as reader:
			html = reader.ReadToEnd()
			html = html.encode("utf-8")

def counterWords(chrt, lstTxt):
	chrt = chrt.encode("utf-8")
	count_ = lstTxt.count(chrt)
	return [chrt, count_]

searchCharacs = ["the","on","a","in","day","this", "of", "his", "and", "he", "when", "it", "an", "she", "not", "you"]
# make a big list
searchCharacs = searchCharacs * 10
lstTxt = html.split()
# test without AsParallel
print("test without AsParallel")
start = time.time()
result =[]
for s in searchCharacs:
	result.append(counterWords(s, lstTxt))
elapse = ("%s s" % (time.time()-start))
print(elapse)

# test with AsParallel
print("test with AsParallel")
start2 = time.time()
threadResult = searchCharacs.AsParallel().Select(lambda searchC: counterWords(searchC, lstTxt))
elapse2 = ("%s s" % (time.time()-start2))
# print the result
# print(list(threadResult))
print(elapse2)

my result time

Thinks. I will try.


Support a massive number of Talos HTML files

Related to https://github.com/populationgenomics/talos/pull/448
That version is being iterated on, but the gcloud syntax in the stage is required to try it out
This change includes:

more granular control of the memory allocated for Hail tasks
ability to override the date setting, so previous runs can be re-run/continued (will save hours/$s)
report generation stage generates all files locally, then recursive copies everything into GCP using the gcloud client

trying to manually write 6000 HTML files took 2+ hours, despite being a small amount of total data

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 78.66%. Comparing base (bdd2e03) to head (2663157).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #945   +/-   ##
=======================================
  Coverage   78.66%   78.66%
=======================================
  Files          10       10
  Lines        1786     1786
=======================================
  Hits         1405     1405
  Misses        381      381

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Transient vs Temporary Profiles

Testing #158809
A "Transient Profile" show up as "Temp 1" in the status bar.

Wouldn't it be more consistent if the feature is called "Temporary Profile" (or if we stick with "Transient Profile" use the name "Transient 1")?

Used Temporary.
arg - --profile-temp
action - Create a Temporary Settings Profile
profile name - Temp 1


[WIP] B/remove need for molinillo

Fixes https://github.com/jcampbell05/xcake/issues/80

Coverage decreased (-6.2%) to 93.776% when pulling a41d82b8828a08779af53c190732e25144987d64 on b/RemoveNeedForMolinillo into b51c2757150c3d77115ac5a4cfb8f98f22f9c00b on master.

Coverage decreased (-6.06%) to 93.939% when pulling 6f656cbfcf0ecbc46515da593a467b7d4f53724e on b/RemoveNeedForMolinillo into b51c2757150c3d77115ac5a4cfb8f98f22f9c00b on master.

Coverage decreased (-5.7%) to 94.258% when pulling 4600ae9896053204e66527db362e8640da1ef9dc on b/RemoveNeedForMolinillo into b51c2757150c3d77115ac5a4cfb8f98f22f9c00b on master.

Coverage decreased (-5.7%) to 94.276% when pulling cc0b415a89f36e3b5d912aadd52ee951ddbc75da on b/RemoveNeedForMolinillo into b51c2757150c3d77115ac5a4cfb8f98f22f9c00b on master.

Coverage decreased (-5.7%) to 94.295% when pulling d9f4e3be8351a7af9d1fb2d8b87f390fbcb0b088 on b/RemoveNeedForMolinillo into b51c2757150c3d77115ac5a4cfb8f98f22f9c00b on master.

Coverage decreased (-5.7%) to 94.309% when pulling 824271cefdfd7b6da6839d1b495ff97902b06766 on b/RemoveNeedForMolinillo into b51c2757150c3d77115ac5a4cfb8f98f22f9c00b on master.

Coverage decreased (-5.7%) to 94.341% when pulling 8ab193ab020aa4dcc528748f97e982602fde080f on b/RemoveNeedForMolinillo into b51c2757150c3d77115ac5a4cfb8f98f22f9c00b on master.

Coverage decreased (-5.6%) to 94.373% when pulling e8f26dc30005032f02ed56aede0e39ceab10568b on b/RemoveNeedForMolinillo into b51c2757150c3d77115ac5a4cfb8f98f22f9c00b on master.

Coverage decreased (-5.6%) to 94.373% when pulling e8f26dc30005032f02ed56aede0e39ceab10568b on b/RemoveNeedForMolinillo into b51c2757150c3d77115ac5a4cfb8f98f22f9c00b on master.

Coverage decreased (-5.6%) to 94.373% when pulling f3b47db35a3bca3c5a10f180dc75416847cc0fdd on b/RemoveNeedForMolinillo into b51c2757150c3d77115ac5a4cfb8f98f22f9c00b on master.

Coverage decreased (-5.6%) to 94.373% when pulling 20fc622e15c1bade806691447b94d0398ea4f26d on b/RemoveNeedForMolinillo into b51c2757150c3d77115ac5a4cfb8f98f22f9c00b on master.

Coverage decreased (-5.6%) to 94.373% when pulling 20fc622e15c1bade806691447b94d0398ea4f26d on b/RemoveNeedForMolinillo into b51c2757150c3d77115ac5a4cfb8f98f22f9c00b on master.

Coverage decreased (-5.6%) to 94.373% when pulling 20fc622e15c1bade806691447b94d0398ea4f26d on b/RemoveNeedForMolinillo into b51c2757150c3d77115ac5a4cfb8f98f22f9c00b on master.

Coverage decreased (-5.6%) to 94.373% when pulling 20fc622e15c1bade806691447b94d0398ea4f26d on b/RemoveNeedForMolinillo into b51c2757150c3d77115ac5a4cfb8f98f22f9c00b on master.

Coverage decreased (-5.6%) to 94.373% when pulling 20fc622e15c1bade806691447b94d0398ea4f26d on b/RemoveNeedForMolinillo into b51c2757150c3d77115ac5a4cfb8f98f22f9c00b on master.

Coverage decreased (-3.6%) to 96.394% when pulling d66b008039bb51df8b8c51a52bd76dc5d6112fd2 on b/RemoveNeedForMolinillo into b51c2757150c3d77115ac5a4cfb8f98f22f9c00b on master.

Coverage decreased (-3.6%) to 96.394% when pulling 40e694e482ed296c6e852e885a2ee8032e6f2613 on b/RemoveNeedForMolinillo into b51c2757150c3d77115ac5a4cfb8f98f22f9c00b on master.


Changed highways to be typesafe

This is a proposal and is source breaking! I really like the idea of having a fastlane clone written in Swift. And since we are in Swift, we should also use it's strengths by writing swifty code. I changed the DSL to rely on an instance instead of public functions, like the Swift Package Manager does.
I also changed the definition of highways from Strings to an enum, that means they are typesafe and can easily be extended. The first step was to add a usage property which could be used to print the usage of a highway when executing something like autobahn build help.
Awesome idea! Would love to contribute even more, I have a lot of ideas :)

@kdawgwilk you are not watching the repo, so you might missed my two pull requests. Just wanted to inform you so they are not forgotten, would love to get some feedback :)


Improves Development Workflow by directly serve code using Testbench

orchestra/testbench 8.6.0 will introduce a new workbench feature today which allow developers to directly serve the application without having to add it under any Laravel project.
https://github.com/laravel/folio/assets/172966/451541b6-3706-4591-a102-98d6f08d841d
To run the project:
composer run serve

The path workbench, should be added to .gitattributes as export-ignore.


Game freezes when using system menubar

Please check if your issue is not a duplicate by searching existing issues
Describe the bug
If you choose to use the system menu bar instead of the "custom window chrome" the game seems to freeze every now and then for up to 3 seconds.
To Reproduce
Disable "custom window chrome" in RuneLite settings
Wait or do something until it eventually happens.
Expected behavior
Not freezing seemingly at random
Screenshots
N/A
Environment (please complete the following information):
Windows 10 LTSB

Seems like your OS issue. Did you tried: https://github.com/runelite/runelite/wiki/Disable-Hardware-Acceleration

I have.
This seems to have happened recently with a new update, I am quite sure it
is a bug or unintended side-effect from one of the settings in the client
Den tir. 21. aug. 2018, 13:01 skrev Tomas Slusny<EMAIL_ADDRESS>
Seems like your OS issue. Did you tried:
https://github.com/runelite/runelite/wiki/Disable-Hardware-Acceleration
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/runelite/runelite/issues/4983#issuecomment-414636065,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AlhYjdGAhJ8f5T4YLnfjPEkkY5F5rXa2ks5uS-h7gaJpZM4WCZpN
.

Does this issue still happen? If so, can you post your application log?

This issue has seen no posts for nearly one year after being asked for more information, so I am closing it.


Deprecated Fixnum on Ruby v2.4.0+

https://github.com/bootstrap-ruby/will_paginate-bootstrap/blob/1a0d7b3af5a314f9046714c6356a750d0a6197e2/lib/bootstrap_pagination/bootstrap_renderer.rb#L11
Deprecated by Integer on Ruby 2.4.0+
Source: https://bugs.ruby-lang.org/issues/12005

I made a PR to fix it
https://github.com/bootstrap-ruby/will_paginate-bootstrap/pull/56

Looks like this is fixed in the undocumented 1.0.2 that's on RubyGems:


Investigate supporting 'extensible' enums.

Now that we're onboarded to the latest autorest, we have the ability to distinguish between 'closed' & 'open' enums. We should consider supporting this in our type system.

Possibly related: https://github.com/Azure/bicep/issues/3817 - use of a CSV list of enums raises a warning.

Possibly related: https://github.com/Azure/bicep/issues/4064

Supporting extensible enums may be as simple as distinguishing in parseEnumType between ChoiceSchema and SealedChoiceSchema objects. @autorest/codemodel will use SealedChoiceSchema if an enum's modelAsString property is set to false (per the Autorest docs, this indicates that the enum is closed) and ChoiceSchema otherwise.
For any ChoiceSchema passed to parseEnumType, the non-literal string type would be added to the union type defined for the enum.

Note that there's also the question of how we fit this into Bicep. I assume we could represent open enums as e.g. 'foo' | 'bar' | string, but we'd need to make sure language features such as completions work well with this, and that we don't accidentally coerce the type down to string. Feels like it's bound to break in a number of places without some work.
We should also think about whether we want to support the common convention of using a CSV-formatted list to support a multi-choice enum (e.g. 'foo, bar'). I'd personally say "no", but I think it's worthy of a discussion.

Bicep does coerce the type down to string when loading the type, but I was able to get completions working by removing the explicit downcast:

I'm not sure I follow the comment about the CSV-formatted list. Would that be how we should display the type signature for a multi-choice enum (instead of however it shows now, presumably something like Array<'foo'|'bar'>)?


feat: Updated to show imports in LU and LG

Description
To allow users to view and edit LG and LU when it is imported from multiple locations, this adds imported LG and LU to the project tree in the top LG/LU views.
Task Item
Closes #4551
Closes #4360
Screenshots
LG

LU

Coverage decreased (-0.1%) to 55.785% when pulling 67772ba682edeb8997a622cf268b7a154d2710cf on gcox/project-tree-imports into 59f7f116f7416915e179313b417652c6b99e0b4a on main.


Export with custom written shaders fails

Original issue as reported by catweasel: https://discourse.vvvv.org/t/error-exporting-project/19383/14
Attached are two project files with slightly different folder layouts but both show that on export the one shader gets added to both generated C# project files while it should only get added to LibraryA.
MyProject.zip
MyProject2.zip

Upcoming preview builds (>= 2021.3.3-110+bdd643fce7 ) will contain the proper fix.


why is this hosting on github?

Just curious why you don't eat your own dog food?

Because GitList is not a replacement or an alternative to GitHub. GitList is like gitk, but for the web. No issues, no wiki, no ACL, no pull requests, no editing.
If you are looking for something like GitHub, i suggest you take a look at GitLab, Phabricator or Gitonomy. They're great projects and even present new feature sets.

In my opinion, one could close this issue since the question has been answered.


missing support for fragements

This should work out of the box since preact supports fragments. Using <div> for now but would love support for this.

This should work:
import { Fragment } from 'preact'

// ...

<Fragment></Fragment>


I'm having issue creating ios app from xcode

I have a developed app but when I'm creating ios archive it creates the ipa but when I transfer it to my iPhone it comes up with no icon and doesn't open.
This happens when I choose "iOS app store" option but ipa created by "development" option works fine. Is this suppose to not work or am I doing something wrong?
Doctor: ```
[✓] Flutter (Channel master, v1.3.12, on Mac OS X 10.13.6 17G65, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.3)
[!] Connected device
! No devices available
! Doctor found issues in 1 category.

To run an IPA on an iphone it needs to be signed and uploaded through the app store. There are exceptions for local development, which only needs to be signed locally.

So I must upload the ipa to the app store in order to use it?


Add support for None scope

The issue
This works:
import weaviate

resource_owner_config = weaviate.AuthClientPassword(
  username = "username",
  password = "password",
  scope = "offline_access"
  )

client = weaviate.Client(url, auth_client_secret=resource_owner_config)

but this:
import weaviate

resource_owner_config = weaviate.AuthClientPassword(
  username = "username",
  password = "password",
  scope = None
  )

client = weaviate.Client(url, auth_client_secret=resource_owner_config)

throws:

File /opt/conda/lib/python3.10/site-packages/weaviate/connect/authentication.py:96, in _Auth._get_session_user_pw(self, config)
94 def _get_session_user_pw(self, config: AuthClientPassword) -> OAuth2Session:
95     scope: List[str] = self._default_scopes.copy()
---> 96     scope.extend(config.scope)
97     session = OAuth2Session(
98         client_id=self._client_id,
99         token_endpoint=self._token_endpoint,
(...)
102         default_timeout=AUTH_DEFAULT_TIMEOUT,
103     )
104     token = session.fetch_token(username=config.username, password=config.password)
TypeError: 'NoneType' object is not iterable

despite the type hint in AuthClientPassword saying None scope is allowed:
    username: str
    password: str
    scope: Optional[SCOPES] = field(default_factory=lambda: ["offline_access"])

just tried it out again and it does not produce the error anymore. Please reopen in case you can still reproduce it


DisconnectedHandler Null exception

Bug
I'm not able to get the Disconnection event args to know the Exception or AuthenticateResult which stay in null state.
Project

Client

To Reproduce
Using 3.0.8:

IMqttClient client;
this.options = new MqttClientOptionsBuilder()
.WithTcpServer(ip, port)
.WithCredentials(login, password)
.WithClientId(ClientId)
.WithCleanSession(true)
.WithWillMessage(lastWill)
.WithCommunicationTimeout(new TimeSpan(0, 0, 1))
.WithKeepAlivePeriod(TimeSpan.FromSeconds(0.5))
.Build();
client = new MqttFactory().CreateMqttClient();
client.DisconnectedHandler = new MqttClientDisconnectedHandlerDelegate(e =>
{
ex = e.Exception;
});
await mqtt.ConnectAsync(options, CancellationToken.None).ConfigureAwait(false);

In case of disconnection, (broker down or bad login, or whatever the reason), the MqttClientDisconnectedEventArgs e values give the right ClientWasConnected state, but the Exception and AuthenticateResult stay null.
State of the MqttClientDisconnectedEventArgs in case of broker stop:
AuthenticateResult = null
ClientWasConnected = true
Exception = null
Expected behavior
I would like to know the disconnected event reason.

Hi, thank you for reporting the issue.
Do you what exactly causes the disconnect? When the client disconnects via DISCONNECT packet the mentioned fields are null. This is by design.

Hi, thank you for reporting the issue.
Do you what exactly causes the disconnect? When the client disconnects via DISCONNECT packet the mentioned fields are null. This is by design.

I've done two disconnection event tests:

One by shuting down the broker
Ther other with wrong credential (used a bad password)

Please retest with latest version 4 and reopen this issue if the problem persists.


alignments - use owl:equivalentProperty/Class not owl:sameAs

gnaf-ont has some alignments expressed using owl:sameAs. This is generally not recommended for T-box elements - sameAs is primarily intended to be used for A-box (individuals). It is recommended to use equivalentProperty/Class axioms for T-box alignment.
However, if they are equivalent, then putting the alignment axiom in the ontology graph is tantamount to saying that a local property is not needed, as you can use the equivalent one instead.

Better to make them rdfs:subPropertyOf (Protege does not like the equivalence in these cases)


404 link error???

Equivalent WinUI constructor: Microsoft.UI.Xaml.Controls.CaptureElement.CaptureElement.
when i enter in the link go to a 404 page

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

ID: 06a41ab8-e5b2-9f32-a0d7-153a1cc96de2
Version Independent ID: 12fa1a0c-1b8c-416a-575b-27b6a007bf18
Content: CaptureElement Constructor (Windows.UI.Xaml.Controls) - Windows UWP applications
Content Source: winrt-api-build/xml/Windows.UI.Xaml.Controls/CaptureElement.xml
Product: uwp
Technology: winui
GitHub Login: @jwmsft
Microsoft Alias: jimwalk

Thanks for reporting this issue. The link should not have been there and has been removed.


read_bedlike

The current read_bed is very strict. I'd like a method which reads any table where the three first columns are Chromosome, Start and End and the optional strand can be anywhere else. This would lessen the need for
gr = pr.PyRanges(pd.read_table("bla"))
# pr.read_bedlike("bla") much more convenient

Thanks for developing this excellent resource.
On this point, I'm happy with the current solution posted on readthedocs: pr.PyRanges(pandas.read_table(f)) , however, in terms of being 'too strict', using this appreach did give me the following error message:

The dataframe does not have all the columns Chromosome, Start and End

Which surprised me, until I realized that the columns were "chrom", "start", and "end" (lower-case), and didn't match. The pr.read_bed function was much more forgiving for variations on these names.
Of course I can manually change these  to match the needed "Chromosome", "Start"/"End"(capitalized), but "chrom/start/end" are the standard output from bedtools functions like unionbedg, etc.
With the current solution based on pr.PyRanges(pandas.read_table(f))  is there a way to accommodate column labels like this?  In the long run, it would be ideal if the read_bedlike (or whatever) could allow for 'chrom'='Chromosome' and not be case-sensitive on 'Start'='start'/'End'='end' so that it could work smoothly together with bedtools (which is pretty important for anyone working with bed-like files).
Thanks again for this project, it looks really promising.

DataFrames can only have one name per column. Therefore I cannot allow "chrom" and "Chromosome" to refer to the same column.
If I allowed pyranges to have aliases for column names (start and Start) code that used the dataframes underlying the pyranges would break since no aliasing-code is implemented in pandas.
One possibility is to write a function to read bedtools-like data:
def read_bedtools(f):
    df = pd.read_table(f)
    df = df.rename(columns={"chrom": "Chromosome", "start": "Start", "end": "End", "strand": "Strand"})
    return pr.PyRanges(df)

# the opposite for write_bedtools

Thanks for the question and the kind words btw.


Avoid nil pointer when checking for version

After a recent upgrade, the EX platform seems to have a different result when
checking the version.  Here we make an update to avoid an assumption on how many
items are found in the result.

I didn't look too close, so if this is not the right change here let me know.  Just ran into this on an EX switch with 18.1R3.3.

Thanks for catching this @xaque208, and providing a fix!


Emit 'else' case for trivial-valued async reset regs to avoid latches

Type of improvement: backend code generation
API impact: none
Backend code generation impact: emits 'else' case for all async registers when they have trivial non-reset values. This prevents the emission of latch-inferring Verilog in the cases brought up by @mwachs5 in #1355.
The test case I added is a little simplistic, but it fails on master and passes with this PR.

@azidar @jackkoenig, the github traffic storm continues :)

I changed it to symmetric on both sides of the if/else from the original thread with @aswaterman and @jackkoenig.
There are lots of ways to further refine these patterns (like no if/else at all, which could even be applied to non-async-reset registers), but the way it is now minimizes the invasiveness of the backend emission changes and the amount of emitter const-prop.
For now, it seems like this emission pattern is the consensus.


Add some explanatory text intended to help contributors run tests

Just a few small steps I had to figure out recently, hopefully helps future contributors save some time.

Nice, thanks! Can you link to this from the main README too so that people can find it?

Good shout, added

Might be nice to add a Linux-specific section in future, although it's ostensibly should be easy enough to suss out based on the macOS instructions.
Please give a shout if anything needs attention, otherwise intending to hit the green button

Merging


fix: auth flow performance

This PR resolves []
Description
This PR comes as a follow-up to https://github.com/artsy/palette-mobile/pull/281
Here I am making the input uncontrolled. You can see the performance benefits of that here

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

improve auth flow inputs performance - mounir

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Cross-platform user-facing changes (improve auth flow inputs performance - mounir - MounirDhahri)

  Generated by :no_entry_sign: dangerJS against 7e1d4c47da2d75b73f0c323fc0d2f700e3fab172


How to add the stickers option in the emoji

@egnimos I'm not planing to include a Stickers option in near future. But I would suggest you to wrap the EmojiPicker inside a TabBarView and implement the Stickers option individually by yourself.


Looking for a tool to migrate data from TimescaleDB to InfluxDB

Hi, I want to migrate data from TimescaledDB to InfluxDB, is there any tool or technique can help me.
thanks in advane.

I don't know any specific tools to achieve this, but if you export from Timescale into CSV file that's correctly formatted, you could import that into InfluxDB.
https://docs.influxdata.com/influxdb/v2.6/write-data/developer-tools/csv/


Facility Identification Number

FACILITY IDENTIFICATION NUMBER
6 digit Facility Identification Number (the unique facility number assigned by HCAI)
OSHPD’s financial and utilization databases begin with a 3-digit number that indicates the “type of facility” (106=hospital, 206=long term care, 306 = clinic, 406 = home health/hospice agency). The last six digits are the Facility Number that is issued by HCAI; this number is also used in the PDD & ED/AS Data Sets. The first two digits indicate the county in which the facility operates. The last four digits are assigned by HCAI to identify the facility.
https://hcai.ca.gov/data-and-reports/request-data/data-documentation/#:~:text=The last six digits are,HCAI to identify the facility.
Synthea provides us:
provider_num and npi
For example, for Keck Hospital we have:
provider_num,npi,name,address,city
"50696","1013514199","KECK MEDICAL CENTER OF USC","1500 SAN PABLO ST"

50696 ("provider_num") appears to be CMS CCN (previously known as Medicare Provider Number/Medicare ID)
1013514199 ("npi") refers to the National Provider Identifier (NPI) records. Healthcare providers acquire their unique 10-digit NPIs to identify themselves in a standard way throughout their industry.
But the HCAI (previously known as OSHPD) id for Keck is 106194219, so the Facility ID we would supply would be 194219
So the issue here is how do we map provider number or npi to HCAI ID and therefore facility ID?

For now I am going to try to use provider_num for our field because it is a more appropriate length and will allow us to easily see care given by unique identifier (even if its not the identifier California wants)

We found that if we use an override for hospitals we can arbitrarily add a column at the end of the hospitals data containing the HCAI 9-digit code.  We can strip the first 3 digits to get the common 6-digit code.
We added code support to do this work for us, although its somewhat hard-coded right now:
https://github.com/orchid-initiative/synthetic-database-project/issues/89
In theory we could add a general NPI -> HCAI map and try to match multiple fields on the organizations.csv to the underlying hospitals.csv synthea input to get a pretty accurate NPI and then run that through the mapping.


Native Lambda runtimes instead of custom containers

Hi and thanks for the repo!
From skimming through it looks like nearly/all the lambda/ functions in this library are using custom containers rather than plain zip file architecture, but the ones I saw also didn't seem to have any particular reason for doing that over using @aws-cdk/aws-lambda-python-alpha/PythonFunction?
The PythonFunction construct still runs Python install commands in a Lambda-compatible Docker image locally (to avoid build vs deployment compatibility issues with libraries that include native components), but packages the result as a standard zip-based function.
As I understand, the DockerImageFunction construct used here builds the image locally and then packages it to Amazon ECR - defining a container-based function in Lambda.
If there are no particular complex build requirements, it seems like using native zip function runtimes could deliver some benefits? E.g:

Avoiding ECR cost and clutter (permissions, management, etc)
Possibly a little less boilerplate (Dockerfiles vs requirements.txt/pyproject.toml)
I have no data to support it, but seems logical to me that if there were any cold-start performance difference between the two approaches, then pulling a customer-specific container image might be trickier than a native platform runtime?

...But maybe I'm missing some reason containerized functions are useful here?

Hi @athewsey , Thx! It was primarily a decision to avoid Lambda limitations (50 MB zipped) and complexities around dependency management (layers e. g.). Lambda Python standard container is still behind rgdg boto3 for example with version 1.20.32 vs the most current boto3 being 1.26.97 Lambda runtimes. I just prefer to 'know' exactly what I am running and being able to create that environment.

ECR cost and clutter has not been an issue so far, but we'll see. If that becomes an issue, maybe we'll reconsider.
Dockerfiles are standard and well described, that's all we need
Have not seen any performance comparison, but expect it to minimal. Guess it depends more on the overall size of the container.
You could potentially see this as an advantage because the containers could be used in different environments as well - even though it was not designed for that initially.


WIP: Implement Space Age

First version that passes the tests.
This first commit is intended so we can discuss the crate's API and the tests. There are two decisions I made here that I can see people finding odd.

Creating each class as a separate struct.

I did this because I want students to learn about traits. Obviously they'll have do deal with the From trait, but I can also see implementations grappling with shared behavior between the various planets that can be handled via traits.

Testing that a struct is equal to a float This was dumb

I'm not bound to either of these decisions, but they were intentional.
To Do Before Merge

[ ] Confirm API makes sense
[x] Add test helper that can compare floats
Update example code to implement From<u64> and From<f64> generically Skipping, not necessary and probably requires the num crate anyway.
[x] Can we add to Readme with links to Traits & From?
[x] Placing it in the problem order

I wouldn't spend much time looking at the example code yet. It's not meant to be good. Just there to get the tests passing.

I have observations, but not necessarily positions on how things should be done. I will give the obesrvations, and maybe come back in a day with positions when I have had time to think about them.

Testing that a struct is equal to a float

Currently, we would have to accept that the example's partial equivalence is not symmetric, which is contrary to https://doc.rust-lang.org/core/cmp/trait.PartialEq.html .
We can see that if we changed one of the assertions from assert_eq!(age, 31.69); assert_eq!(31.69, age); it would be a compilation error! Well, we would fix the error if the example would also define impl PartialEq<EarthAge> for f64, etc.
Although the symmetricity would not get tested unless we explicitly have assertions both ways in our tests. So I guess one question is "the tests don't require that the partial equivalence is symmetric; should they?"
The same goes for transitivity if f64 defines its equivalence to other types - then for the partial equivalence to be transitive *Age would have to define its equivalence to those other types as well. But would we even want to test that?
Huh. This gets quite verbose quite the more types we wish to define as equal to one another, since O(n^2) pairs of eq functions need to be defined, it seems...! I wonder how others have dealt with this problem?
I wonder what it would be if the various *Age were equatable to just each other, though maybe that would make it deriveable, contrary to one of the stated goals.

Yeah, I had already decided that my Value Object idea was terrible. This is just more evidence to support that. I'll switch that part of the implementation.

I will attempt the exercise myself and see what I think of the idea of using this exercise for traits. The stub file is very verbose. I will attempt to curb the verbosity when I implement, but of course we can't guarantee that all students will think this way. Perhaps that has to be left to discussion on the site.
If I can't find a way to curb the verbosity, then I would question the choice to make each *Age a different type.

Life would probably be better if there was a tolerance on the expected values
thread 'earth_age' panicked at 'assertion failed: `(left == right)` (left: `31.688087`, right: `31.69`)', tests/space-age.rs:8
I don't think I should be required to round that

the #[derive(Debug)] can probably be removed?

The least-repetitive I came up with: https://gist.github.com/petertseng/0b3928f0ee8881e94bf654d3f2153df9
Repeating X and XAge on the same line is unfortunate, but I didn't find a way around it.

Macro rules. Interesting! Never occurred to me.
I think my approach looks something like this:
https://gist.github.com/9a9ddb50afd08f4ae5a20258c056916b
My least favorite part of it is that the Planet trait has to define a seconds function that ends up being an alias for the seconds value. Maybe there's a way around that, but I don't know what it is.
I will also have to implement From<u64> for each individual planet, right? Though maybe there's a way to make that generic over each T: Planet?
Questions like that are why I structured the tests the way I did, honestly. I want to push students towards thinking about generics, traits and code reuse. To me that's how we make this problem interesting and valuable to people learning Rust.

Macro rules. Interesting! Never occurred to me.

I only use them to take care of the duplication that I could not avoid.
All other duplication was avoided with the Planet trait.
Someone could ostensibly write the entire thing in a macro (From<u64> and years for each individual planet).
I would consider that bad style and too much to put in a macro: If it can be done outside of a macro, do so.
(But enough soap-boxing from me)

I will also have to implement From<u64> for each individual planet, right? Though maybe there's a way to make that generic over each T: Planet?

There absolutely is. See the impl <T: Planet> From<u64> for Age<T> if you need, though I would encourage a search for other solutions in addition - perhaps there are other ways! The desire to avoid that duplication was what drove me to start my solution.

Questions like that are why I structured the tests the way I did, honestly. I want to push students towards thinking about generics, traits and code reuse. To me that's how we make this problem interesting and valuable to people learning Rust.

You certainly got me interested and made me learn a few things, so you have me convinced.

Over the course of several hours I worked on a long comment explaining why this approach wouldn't work. Turns out I rubber ducked myself
I think this does what I want
https://play.rust-lang.org/?gist=9e1acfeae7ebfdc7dd8176c1c015adb9&version=stable&backtrace=0
It's pretty different from the first approach. After working on this a few ways, I realized that at its core, the problem has a couple of concepts

Durations (seconds, orbital lengths [i.e., years])
Planets

The language of the exercise makes you think about "Years" as a property of a person, or some other object separate from a Planet. So I kept trying to put that logic somewhere outside of Planet.
But a "year" is the same as a planetary orbit, and it makes perfect sense to ask a planet how many orbits it's made in a duration. Hence the orbits_during function. And the trait can easily provide a default implementation for that function that works for all <T: Planet>
I would like to combine the 2 implementations of From for Duration , but found differing advice on how to declare a function generic over numeric types.
Planets have orbital lengths. And durations-in-seconds can be converted to durations-in-years, but only if you provide the planet.
From (and Into) only convert one type into another. But taking a durations-in-seconds and getting a duration-in-years requires two: the seconds and the planet. So I can't use From to give me:
YearDuration::from(seconds, planet)

And I can't think of a single type that really encapsulates the idea of a number of years spent on a specific planet. Well, I can, but it doesn't seem like a sensible type. It seems like an unnecessary conflation of two types just so that I can use the from trait.
The crate Chrono has some similar concerns, as it has to create DateTime values from more than one input. So I'm thinking that might be the best approach here.

Life would probably be better if there was a tolerance on the expected values

Looking at the Ruby implementation they can use the assert_in_delta method. Rust doesn't have that, but it's easy enough to add.

I've updated the implementation. And I've put a To Do list at the top of the PR so that I can track progress.

Problem order specified. I think its current position is OK.

One of the to-do items has baffled me

Update example code to implement From and From generically

I've tried tackling this a variety of ways, all with no luck. Anyone know how to implement From for all numeric types? I would thinks something like:
impl<T: Num> From<T> for Duration {
  fn from(s: T) -> Self {
    Duration { seconds: s }
  }
}

Would work. But no. I get "non-scalar cast: T as f64". I think I'm getting the syntax wrong, but I'm not sure how.

I'm on the fence about 81fa6eeab0caa8dd2a48729480fc46fa5170dbba. Interested in what others think of the idea.
If we're OK with the API then this should be ready to go.

I know you aren't thinking about the genericity over u64 and f64 anymore, but you weren't alone on that "non-scalar cast": https://github.com/rust-lang/rust/issues/31174#issuecomment-174481550
I do suppose the num crate would have done it, but then we'd be including the num crate for the example only (it's not used by the test), and I wonder whether it would confuse students to see the crate and wonder whether they have to use it. We're not the only track with this problem either.
I have no complaints about the problem placement or topics.md
I imagine there may be questions like "why isn't Planet just an enum and the interface years_on(p: Planet, seconds: u64)?!" or "does it make sense that they're separate types if there's only one of each panet", but that will probably have to be the way things be if taking this approach. I'm not opposed.

I imagine there may be questions like "why isn't Planet just an enum and the interface years_on(p: Planet, seconds: u64)?!" or "does it make sense that they're separate types if there's only one of each panet", but that will probably have to be the way things be if taking this approach. I'm not opposed.

I think we're always welcoming of suggested changes like this. We can always point to PRs like this one (or the commit history) to say, "Here was the goal of this API". And if people can provide a good alternative that satisfies the same goals, then all the better.

interesting point that Earth.years_during is used rather than Earth::years_during. This is possible because Earth is a struct with no members (a unit-like struct in the nomenclature). Doesn't seem to me like these functions need to take a self though...

Agreed that self is unnecessary here. Commit incoming.

This allows for the "unusual" solution of https://gist.github.com/petertseng/ec3887c899f0259661847e8fbfba820d

Ok. I think this one is winding down so I've rebased down to a single commit. I'll let this PR sit until Friday, August 19th. If nothing comes up, I'll merge it.


Fix rethink init race

Fixes #1087
With this change I can run the tests locally

This doesn't strike me as the simplest solution to this problem. Afaict you're creating a table with a random uuid and exponential backoff on the creation process because it might fail then deleting the table and proceeding to create the new tables under the assumption that they're now guaranteed to create successfully. I see a couple of issues with this:

if the process dies in the middle we'll be left with a bogus uuid table, not the end of the world but a little bit annoying.
the assumption that after the first table creation is finished all future ones will succeed is true under normal operation but in some cases won't be

Why don't you just put the retry code around the real table creations? Those are the things you actually want to unsure get created right? Why ensure that a different table gets created then delete it and assume that the things you actually care about are going to succeed?

Good points all.
This code evolved from playing w rethink in different ways to see if there was another call (e.g. if we could read the table list from the db) we could use as a proxy for 'database readiness', but there's no substitute for the real thing.
Will make these changes.

Ok, ready for another look @jdoliner

Yea, that was a very silly mistake. Of course the slice changes over loop iterations.
It was working by coincidence.
https://play.golang.org/p/VFFsEJdyfD
Notice that on the second and third iteration I get the same value for val. Then it would error because that table didn't exist, and the backoff function would get called again w just [Commits] for the value for tablesToInitialize
I'm not sure tbh why the loop behaves that way. It makes sense to me why the second value would be '3', but not why the 3rd value would be '3'.


Unify layout for C++ interop tests

This was discussed here:
https://forums.swift.org/t/reorganize-swift-compiler-tests-for-c-objc-c-interop/34411
Resolves: SR-12475

@gribozavr @martinboehme

@swift-ci Please smoke test and merge


sigs folder missing from package installation dir

Description
With version 2.0.0 (installed via pip) when running capa with no signatures argument it reports an error and exit. The issue seems to be in get_default_signatures method which tries to get the sigs folder from the package installation dir but which is missing.
Steps to Reproduce
1 . Run capa with no -s argument
Expected behavior:
Run with the default signatures and continue without exiting.
Actual behavior:
It runs, report the error below and exit.
ERROR:capa:signatures path %REDACTED%/env/lib/python3.9/site-packages/capa/../sigs does not exist or cannot be accessed
Versions
2.0.0

Yes, this is definitely not the most user-friendly behavior but when installing via pip no rules or signatures are installed.
For now you'll have to provide the sigs directory manually.
See the note here https://github.com/fireeye/capa/blob/master/doc/installation.md#note

I see, perhaps if no sigs, just continue and don't use them rather exit? Does this make sense?

thats a good idea.
we should also try to detect when installed via pip and show a warning and explain how to fix the situation.

Should we package the signatures like done in https://github.com/mandiant/flare-floss/pull/578?


Gray Box around Meta Data is not aligned and doesn't look good

Sorry, I know this is probably opinion but I don't like the grey box around the meta data.. it looks bad IMO, so lets revert back to the original functionality.

Sorry, I made these changes on my own, but just undo them.
Already in the main! :)


Enable kubelet health monitor

What this PR does / why we need it:
Enables kubelet monitoring and restarting with Kubernetes' health-monitor.sh script. Syncs up the acs-engine implementation with that being used on AKS infrastructure.
cc: @juan-lee @jwilder
Special notes for your reviewer:
I tested this with a new acs-engine cluster to make sure units landed in the right places and everything starts up correctly.
If applicable:

[ ] documentation
[ ] unit tests
[ ] tested backward compatibility (ie. deploy with previous version, upgrade with this branch)

Release note:

Kubernetes: add kubelet health monitoring

/lgtm
@juan-lee @seanknox could you kindly review?


Create a kubernetes deployment in a minikube cluster

Problem Statement
With a growing framework, it is necessary to have a deployment automation
Expected Behavior
The lokal kubernetes cluster works similar to #72 but with kubernetes features like autoscaling, etc.
Tasks

[ ] Create a kubeconfig.yaml with all the necessary containers
[ ] Add the documentation of how to setup the kubernetes cluster
[ ] Add the tutorial steps to the Tutorial section in rtd

Notes
Issue to be refinded!

Discussion with other Team Members after Docker Issue has been completed


Comments not supported on root type

# Color it is
type Color {
  name: String
  hex: String
  red: Int
  green: Int
  blue: Int
}

if you do loadSchema, then getSchema, comment is gone. And that leads to introspection queries not returning a description for the type.

Want to make a PR?


OpenAPI does not verify userId authenticity

What's the purpose of this PR
Avoid OpenApi from reporting errors due to non-existent users when people leave. After not verifying userid, the potential operation objects of apollo configuration also change, either system-id, or user-id, which can be displayed in the release history as audit objects.
Which issue(s) this PR fixes:
Fixes #4240

Codecov Report

Merging #4246 (91d06bb) into master (0f06662) will increase coverage by 0.04%.
The diff coverage is 100.00%.

:exclamation: Current head 91d06bb differs from pull request most recent head 1bc5ed6. Consider uploading reports for the commit 1bc5ed6 to get more accurate results

@@             Coverage Diff              @@
##             master    #4246      +/-   ##
============================================
+ Coverage     52.59%   52.64%   +0.04%
+ Complexity     2632     2631       -1
============================================
  Files           486      486
  Lines         15221    15189      -32
  Branches       1572     1560      -12
============================================
- Hits           8006     7996      -10
+ Misses         6660     6637      -23
- Partials        555      556       +1

Impacted Files
Coverage Δ

...llo/openapi/v1/controller/NamespaceController.java
37.50% <ø> (+2.50%)
:arrow_up:

...pollo/openapi/v1/controller/ReleaseController.java
14.63% <ø> (+1.17%)
:arrow_up:

...pollo/openapi/v1/controller/ClusterController.java
21.42% <100.00%> (-2.11%)
:arrow_down:

...k/apollo/openapi/v1/controller/ItemController.java
16.00% <100.00%> (+0.37%)
:arrow_up:

...enapi/v1/controller/NamespaceBranchController.java
14.28% <100.00%> (ø)

...ework/apollo/internals/RemoteConfigRepository.java
85.27% <0.00%> (-2.46%)
:arrow_down:

.../apollo/internals/RemoteConfigLongPollService.java
77.71% <0.00%> (-0.61%)
:arrow_down:

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 0f06662...1bc5ed6. Read the comment docs.


After update bios, led error b1

My pc blank no post and led indicate b1

B1 = Runtime Set Virtual Address MAP End of
Memory related
Press power for 10 seconds, motherboard will turn off and clear CMOS
If it dont work try turn it on with only 1 memory stick.
What's your CPU ? And bord Rev?

Problem solved,
I realize that i use Xeon E5 2660 V4 that not compatible with the latest Bios Mod.
So Reflash my bios with CH341A with stock bios, solve the problem.


WIP: Update menu translations for Russian

Developers who know the language are now needed to help complete this PR.  The menu translation items template is generated by https://github.com/adaext/vim-menutrans-helper. I've scanned all the menu items and created a fairly completed template. It haven't been updated for years, many new items would be added except items inmenu.vim.

@chrisbra can we close this?
i just checked and all menu items seems to be translated on russian

This seems to be maschine translated with some errors. I am not including this. Closing.


Add A/B Street

Great example! Thanks @dabreegster. Long term we might move this in the list, but it is a great resource.


Enable compiler optimizations in SmartContractCompiler

SmartContractCompiler is used to compile our contracts via Roslyn.
The OptimizationLevel is currently set to the default, Debug.
In order to significantly reduce the size of contracts we'd like to compile with Release.
Changing this will break some tests so we need to update this and then ensure all tests pass.
@rowandh is there any complexity here you know of that I'm missing?
Current Bounty: 10 STRAT

Would also be great to have the deterministic option turned on.

Closed by #2478


Folding issues

This is a meta-issue for bugs with folding

BUG: folding fails if body of headline was not inserted with o key.
How to reproduce:

On a blank line, enter insert mode and type * foo.
Without leaving insert mode, hit enter to go to a new line and type bar.
Leave insert mode, go back to the heading and try to fold it with <TAB>.

This returns [orgmode] No fold. However, if you exit insert mode after inserting the heading and then hit o to enter the newline, folding will work.
This also seems to be influenced by our last line issue. Best to deal with that first.

@jgollenz  can you check if this is still happening? We switched to nvim-treesitter folding some time ago, so maybe this is fixed now.

Nope, still happening for me

Folding has stopped working all together (<S-Tab> doesn't cycle through folding levels, and <Tab> doesn't fold headings).
I tried reinstalling treesitter org to no avail.

@gerazov what's your foldexpr in org buffer?

It's foldexpr=OrgmodeFoldExpr()
In the messages there is no error.

Got it - works like a charm!
For some reason I had an autocommand set it to:
    vim.opt_local.foldexpr = "OrgmodeFoldExpr()"

Can't remember where I got that from :sweat_smile:

I may have a misconfiguration, as I'm new to this project, but I believe I am exhibiting the same behavior here but I do not know why.
For me to reproduce:

Create a .org file
Create a heading, then multiple subheadings (all in insert mode) with some desecriptions, like the example snippet.
I get the "[orgmode] no folds" error. If I write the file, close the buffer, then reopen the file, it works fine.

I checked, my foldexpr is set to the proper nvim_treesitter#foldexpr(). Plus, it does work fine like described above if I create new lines using o and <leader>oih, but that requires a lot of switching between Normal and Insert mode.
Example org file:
#+title: Test file

* This is a header
** This is a subheader
   Some descriptive text
** This is another subheader
   More descriptive text

I have not messed around deep in configuration yet, so this is what my vim.init file looks like:
set nu rnu
imap kj <Esc>
set ts=4
set sw=4
set sts=4
set et
set mouse=

call plug#begin(stdpath('data') . '/plugged')
"Plug 'prabirshrestha/vim-lsp'
"Plug 'mattn/vim-lsp-settings'
"Plug 'prabirshrestha/asyncomplete.vim'
"Plug 'prabirshrestha/asyncomplete-lsp.vim'
"Plug 'Yggdroot/indentLine'
Plug 'nvim-treesitter/nvim-treesitter', {'do':':TSUpdate'}
Plug 'vim-pandoc/vim-pandoc'
Plug 'vim-pandoc/vim-pandoc-syntax'
Plug 'dhruvasagar/vim-table-mode'
Plug '~/.config/nvim/after'
Plug 'skywind3000/asyncrun.vim'
Plug 'folke/tokyonight.nvim', {'branch':'main'}
Plug 'nvim-lualine/lualine.nvim'
Plug 'nvim-tree/nvim-web-devicons'
Plug 'ms-jpq/coq_nvim', {'branch':'coq'}
Plug 'ms-jpq/coq.artifacts', {'branch':'artifacts'}
Plug 'nvim-orgmode/orgmode'
call plug#end()

"Load Theme
colorscheme tokyonight-night

"Load COQ Autocomplete
let g:coq_settings = {'auto_start':'shut-up'}

"Load LuaLine, COQ, and nvim-orgmode
lua << END
require('lualine').setup()
require('coq')
require('orgmode').setup_ts_grammar()
require('nvim-treesitter.configs').setup {
    highlight = {
        enable = true,
        additional_vim_regex_highlighting = {'org'},
    },
    ensure_installed = {'org', 'vim'},
}

require('orgmode').setup({
    org_agenda_files = {'~/Sync/org/**/*'},
    org_default_notes_file = '~/Sync/org/refile.org',
})

vim.opt.conceallevel = 2
vim.opt.concealcursor = nc

--local lspconfig = require('lspconfig')
END

"asynccomplete Auto Complete Config
"inoremap <expr> <Tab>   pumvisible() ? "\<C-n>" : "\<Tab>"
"inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
"inoremap <expr> <cr>    pumvisible() ? asyncomplete#close_popup() : "\<cr>"

"vim-table-mode config
let g:table_mode_corner_corner='+'
let g:table_mode_header_fillchar='='

"pandoc render and open preview
command Pv AsyncRun zathura '%:r.pdf'
command Rd silent exec "!pandoc -t pdf -o %:r.pdf --pdf-engine=xelatex --from=markdown+escaped_line_breaks -V geometry:margin=1in %"
command Rr exec "!pandoc -t pdf -o %:r.pdf --pdf-engine=xelatex --from=markdown+escaped_line_breaks -V geometry:margin=1in %"

"Auto-rerender markdown files to pdf
autocmd BufWritePost *.mkd :Rd

So quick update for me, folding works fine when the file is newly opened, and I found after some searching that zx updates the folds correctly and will work, it's just a matter of the folds not being auto updated when entering/leaving insert mode occasionally for whatever reason.

Whenever I run org_move_subtree_up or org_move_subtree_down on an item the moved item is hidden in the fold where it was going. So if it's moved down it's hidden inside the fold of the item below itself.

The folding of the recurring tasks iterations is also kind of broken. For the next example
** TODO Recurring task
   DEADLINE: <2024-02-08 Thu .+14d -0d>
   :PROPERTIES:
   :LAST_REPEAT: [2024-01-25 Thu 11:53]
   :END:
   - State "DONE" from "TODO" [2024-01-25 Thu 11:53]
   - State "DONE" from "TODO" [2024-01-10 Wed 23:24]
   - State "DONE" from "TODO" [2024-01-03 Wed 19:39]
   - State "DONE" from "TODO" [2023-12-11 Mon 21:30]
   - State "DONE" from "TODO" [2023-11-24 Fri 13:10]

   - [ ] Do X

When folded the State changes is not added to the Properties fold. It's shown something like:
** TODO Recurring task
   DEADLINE: <2024-02-08 Thu .+14d -0d>
   :PROPERTIES:...

   - State "DONE" from "TODO" [2024-01-25 Thu 11:53]
   - State "DONE" from "TODO" [2024-01-10 Wed 23:24]
   - State "DONE" from "TODO" [2024-01-03 Wed 19:39]
   - State "DONE" from "TODO" [2023-12-11 Mon 21:30]
   - State "DONE" from "TODO" [2023-11-24 Fri 13:10]

   - [ ] Do X

I don't know if this is a bug or a feature, but when you have many iterations it's difficult to see the task description. So it would be awesome if they could be included into the properties fold or have their own fold.

Exiting out of insert re-folds the heading I'm in when when in Overview mode, which is very annoying.

So quick update for me, folding works fine when the file is newly opened, and I found after some searching that zx updates the folds correctly and will work, it's just a matter of the folds not being auto updated when entering/leaving insert mode occasionally for whatever reason.

Thanks for the tip - I was reloading the file using :e to get the folds to align ...


Secret Door port

Port of Secret Door functions. No alterations.

@doug1234, may I ask you to make code review? This is port from IDA, no changes.

One thing has me a bit confused.  What's up with SecretdoorDetect in obj.h?  Should it be changed to call you function directly?

@doug1234, indeed there is no need now to use objects.SecretdoorDetect. Removed that and made reference to secret_door directly in python_object. Thank you!!

That change looks good.

@doug1234, may I ask you to make code review? This is port from IDA, no changes.

Hmm, did you make sure to include the fix for seen scenery?

Hmm, did you make sure to include the fix for seen scenery?
What fix?

What I mentioned in co8. I want to make sure this doesn't undo the fix for secret doors. Are you sure it doesn't?

@DudeMcDude, I have not touched that. Moreover there will be no changes in algorithms in comparison to previous implementation in toee.dll. I simply exposed them in T+.
This is your fix, right? It remains untouched.
uint32_t SecretDoorSys::secretDoorIsRevealed(objHndl secDoor)
{	// this function replacement should fix the motherfucking secretdoor bug
	// it worked on Aquinas' save!
	// The problem was that there's some sort of "revealed scenery" list which for some reason the secret door appears there
	// so I just removed that - there's the secret_door_found flag anyway
	// come to think of it, it may have supposed to prevent the player from searching again and again, but fuckit
	// they take 20 anyway (well maybe not in KotB >_>)
	if (!secDoor) return 0;
	uint32_t secDoorFlags = objects.getInt32(secDoor, obj_f_secretdoor_flags);
	if ( (secDoorFlags & OSDF_SECRET_DOOR) == 0 )  return 0;
	return (secDoorFlags & OSDF_SECRET_DOOR_FOUND) != 0;
	// there was also a look up in some name table, but that seems to be bugged (the door would already appear there in the secret door bug case, thus preventing its revelation)
}


eth_sendRawTransactionConditional L2 RPC endpoint

Describe the feature
The eth_sendRawTransactionConditional endpoint is implemented in op-geth and live on OPM. This endpoint is becoming a blocked for broader 4337 adoption on chains like Base as op-reth is used in production.
We should get this implemented in this client as well. See the diff in 4337 improvements

Conditional type, checks against header & state
Sequencer RPC. (ratelimit, conditional check prior to mempool submission)
Conditional checks prior to block inclusion when blockbuilding
Tx Rejection -> Rejection from mempool as well
Filter from p2p tx gossip

Although (6) filters conditional txs from p2p gossip, this will be implemented as a followup between op-geth/op-reth to remove the need for a broadcast to all possible block builders
Additional context
Related op-geth PRs:

https://github.com/ethereum-optimism/op-geth/pull/330
https://github.com/ethereum-optimism/op-geth/pull/377
https://github.com/ethereum-optimism/op-geth/pull/414

Hello! Can I take this if it is still available?

@oac1771 yes! feel free to take a stab at it

@oac1771 since this an optimism specific extension I'd like to add the API trait to
https://github.com/alloy-rs/op-alloy/blob/b756ac9a5088813dd52eb7cebfce79ed351112f1/crates/rpc-jsonrpsee/src/traits.rs#L139-L142
like OpEthApiExt

we already have the conditonal options type https://github.com/alloy-rs/alloy/pull/1823

@oac1771 since this an optimism specific extension I'd like to add the API trait to
https://github.com/alloy-rs/op-alloy/blob/b756ac9a5088813dd52eb7cebfce79ed351112f1/crates/rpc-jsonrpsee/src/traits.rs#L139-L142
like OpEthApiExt

ERC-7796 (eth_sendRawTransactionConditional) is not optimism specific.  Supported by other chains such as Arbitrum and Polygon.  It'll be relevant for other rollups that use reth.

I see, then we can add the extension trait to alloy's rpc-api crate instead

@yoavw @mattsse
Since it's common to have active/passive sequencer setups, it would be great if we could also consolidate the gossip mechanism for these conditional txs to avoid having to broadcast to all replicas that's upstreamed into reth, that all L2 clients could leverage.
I can put some more detailed thoughts but my thinking is to have a node flag to enable/disable p2p conditional tx gossip. When enabled, using a separate message for gossiping these tx separately from the regular ones for separation of concerns (the conditional is not apart of the rlp serialized tx)

Can I take this from here?

@aidenwong812, I am still working on this

Hey @hamdiallam,
I am a bit confused on the scope of this issue and wanted to clarify.
It seems like the rpc endpoint for this has been defined here, but it doesnt seem like the L2EthApiExtServer trait has been implemented. Is this issue about implementing the server trait?

Would love to tackle this!

May I try my hand at this?


Add system-polyfills.js to src.

Should correct a problem in IE11 whereby SystemJS is undefined on attempting to render the main page.

Awesome, thanks! :)


Update license skus and products

A number of license names (products) and SKUs have changed since GSuite was rebranded to Workspace, therefore a majority of the license functions failed as the products and SKUs were not recognised by the API. I have updated all of the product and SKU information to reflect the rebranding, and retained the aliases where possible.
I also noticed that Get-GSUserLicense -User user.name would fail to return any data if the -CheckAll parameter was omitted and a license match was found. I've have fixed this by returning the API response.

@FISHMANPET apologies for bothering you, but if it's not too much trouble and you think it seems reasonable, would you mind approving and merging this pull request (as well as possibly reviewing some of the other open pull requests for approval consideration that fix other issues such as this one https://github.com/SCRT-HQ/PSGSuite/pull/377)?
I've used this PowerShell module in the past and really appreciate the amount of effort that scrthq, you, and the other developers have put in! I could manually fork / edit the code to incorporate some of these pull request fixes / improvements that other users have submitted, but I figured I'd try reaching out to you since I see you were the last person to approve a pull request and it would hopefully help other users more easily benefit from the fixes / improvements being officially merged.

I'm working on merging this into the 3.0.0 release.


No WiFi on raspberry4

Describe the bug
Leda image 0.1.0-M2 on a Raspberry4B does not connect to WiFi
To Reproduce

follow the steps to write the image to an SD card as described in https://eclipse-leda.github.io/leda/docs/general-usage/raspberry-pi/
Add a wpa_supplicant.conf file to the boot partition with the following contentctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=DE

network={
     scan_ssid=1
     ssid="my_ssid"
     psk="my_wpa2_pwd"
}

Boot Raspi from SD card
Verify that Raspi has not connected to WiFi using router Web UI

Expected behaviour
Raspi should have connected to WiFi and should show up in router's Web UI
Screenshots / Logfiles
Leda Version (please complete the following information):

Version: 0.1.0-M2
Machine: raspberrypi4-64
Connectivity: local WiFi with transparent internet access

Hi Kai,
According to our documentation Headless Wi-Fi configuration, you can use:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
update_config=1
network={
        key_mgmt=NONE
}
network={
    ssid="my_ssid"
    psk="my_wpa2_pwd"
    key_mgmt=WPA-PSK
}

The file can be created by Notepad++ as a Unix one (LF only).
If you already saw that your previous file (wpa_supplicant.conf) does not work, you can delete it from /etc and /boot folder.
You can also create the file as described in step Connecting to a network just to see if it is working for you, and then move it to /boot partition or distribute it if you like to, or just keep it there in /etc. Note that the line:
wpa_passphrase <SSID> <Passphrase> >> /etc/wpa_supplicant.conf appends

Hey @stlachev thanks for the quick response. I failed to see the dedicated section on WiFi configuration in the docs (stupid me ;-)) In any case, I had been following the guide at https://eclipse-leda.github.io/leda/docs/general-usage/raspberry-pi/ and there is one line

Optional: If you need to adapt the network configuration eg Wifi credentials, edit the configuration files on the boot partition.

which IMHO could benefit from including a link to https://eclipse-leda.github.io/leda/docs/general-usage/wifi-configuration/ ...

I have update my config according to the Leda documentation and everything works as expected now. Thanks again for your help @stlachev :+1:


Consolidating MeTTa type definitions in one place for Atom Types and Grounded Atom Types

Originally, I had put the Python definition of ATOM_TYPE_GROUNDED_SPACE in atom.rs (precursor for the C API) and exported GroundedAtomType.SPACE to the Python API.
My thinking was to keep a separation from types returned by atom_get_type() and types returned by atom_get_grounded_type().  However, it does make things a little more confusing.
Vitaly suggested putting the MeTTa types in the same place: https://github.com/trueagi-io/hyperon-experimental/pull/329#discussion_r1229642538
That is the purpose of this PR.

Agh... I just saw this after I pushed this PR.  https://github.com/trueagi-io/hyperon-experimental/pull/329#discussion_r1230870089

In my opinion it makes sense to keep separation between GroundedAtom types (sub-types within grounded atoms) and Atom types.  (Sym, Var, Expr, & Grounded).  However I will defer to your opinions because you have thought more deeply about this.

Agh... I just saw this after I pushed this PR. #329 (comment)

No problem. If you have already done this, then it will be easier to see if this is the right choice, and if everything else is ok

In my opinion it makes sense to keep separation between GroundedAtom types (sub-types within grounded atoms) and Atom types. (Sym, Var, Expr, & Grounded). However I will defer to your opinions because you have thought more deeply about this.
However. Spaces are a little bit special as Grounded atoms go, because they are exposing a fundamental MeTTa construct in a different way - as opposed to exposing an external interface.

I agree that having Grounded Space as a normal type (rather than meta-language type like Sym, Var, etc.) may make sense. That's why I wanted to analyze this more carefully. While grounded space is special indeed, it doesn't look like a meta-type. because a space atom cannot have any other ordinary type besides of space type. At the same time, we can treat it is a singleton meta-type. The question is if there are any consequences to MeTTa after merging this PR. Are there some expressions, which will become valid or invalid after this? I'm not precisely sure.

Well, sorry for the confusion guys. Actually AtomType is not a collection of meta-types. It is a collection of types which are used in MeTTa and it was created even before we agreed on not returning meta-types in the list of atom's type. Originally it is an analogue of this list of types in Python: https://github.com/trueagi-io/hyperon-experimental/blob/b5acba1905d9bb47a8ad336ae56285ef93865f9c/lib/src/metta/mod.rs#L15-L21 and thus maybe atom.py is not correct place for it, and  MettaType would be better name than AtomType . From this perspective for the Space type is totally correct to be there.
If @Necr0x0Der  is going to add some new types then I think we can merge it and fix it in further PRs.


[Auto] Localization - Translated Strings

Closing this PR so that the loc team will re-issue the change.


1.Xupgrade1.3.2 报错  report errors

1.Scheduled tasks are not executed
2.Manual tasks can be performed
3.master log
[ERROR] 2020-11-04 11:21:51.172 org.quartz.impl.jdbcjobstore.JobStoreTX:[3956] - MisfireHandler: Error handling misfires: Couldn't store trigger 'jobgroup_5.job_608' for 'jobgroup_5.job_608' job:Couldn't retrieve job because a required class was not found: cn.escheduler.api.quartz.ProcessScheduleJob
org.quartz.JobPersistenceException: Couldn't store trigger 'jobgroup_5.job_608' for 'jobgroup_5.job_608' job:Couldn't retrieve job because a required class was not found: cn.escheduler.api.quartz.ProcessScheduleJob

Repeat with #4023, will close


support multiple ranges in attribute partial update

For #1576
Change List

Support invalidating a partial range of an attribute
Unit tests

Coverage increased (+0.1%) to 62.194% when pulling 5ec59fc6cf2abbb661cddf56ed01f71373b15f3d on x/partial-invalidate into 8e382c65aefaeefec240f30d36b20215cd3af5c9 on master.


No icon image is visible in the systray

I'm using Windows 10 (1709). I'm trying out this library but so far I can't see an icon in the systray. There is an entry being added to the systray though.  So technically it's working fine. But the systray entry is empty, the icon is invisible.
I've also tried to use the string that's being used in this file:
https://github.com/zaaack/node-systray/blob/master/test/menu.json
But it makes no difference.
I'm afraid that some cache could be involved here and some incorrect icon string is being cached now from when I started the app for the first time. I've already restarted my laptop but that didn't help.
Do you know what that could be and how this can be fixed? Or is it not working in general?

You can see more docs in go systray library, which under the hood. In windows you should using .ico format for icons, The icon format in test folder is .png, which can work in linux/macos.

Ah, great. Converting the png to ico and using that instead works. Thank you.


Missing header and footer in Terms and condition and privacy policy page

Describe the Feature you want to end

Header and footer is mission in the terms and condition and privacy policy page as its present in about us and other main pages.
Expected behavior

it should be present there as well i want to add  them assign me this
Screenshots (optional)

Additional context (optional )

@pranjay-poddar Please assign me this under the hacktoberfest.

We are using third party in privacy policy and terms and conditions that can't be edited


WindowsAudioSession sample does not do stream redirection if the default audio device changes

Many audio APIs will automatically follow the default audio device, e.g. if you connect or disconnect an audio headset (3.5mm, USB, or Bluetooth).
WASAPI supports this via passing DEVINTERFACE_AUDIO_RENDER or DEVINTERFACE_AUDIO_CAPTURE to ActivateAudioInterfaceAsync
It is also possible to listen for the Windows.Media.Devices.MediaDevice.DefaultAudioRenderDeviceChanged or Windows.Media.Devices.MediaDevice.DefaultAudioCaptureDeviceChanged events, and tear down and recreate the stream accordingly.
But the sample does neither of these things. So if you start playing on the speakers, and then plug in headphones, the sample continues to play to the speaker.

I've asked the feature team to determine whether this is something they want the sample to demonstrate.

Thanks for your feedback & question.  This sample demonstrates the minimal work to provide offload and low latency. A future sample will show how to manage audio stream redirection on device changes.


Use async methods

Roughly 3/4 of the time each loop is spent in self.sdr.read_samples(n).
PyRTLSDR supports async reads which could potentially speed things up.

Fixed with 74c9063ebf80d67c29638231d237c36d32fcebff


Increase unit test coverage

This PR increases the unit test coverage.
It purposely avoids code that will be removed in later versions.

@rmotitsuki thanks for pushing latest commit, looks good, could you please revert the reload import reload(sys.modules["kytos.core.helpers"]) related statements that you tried, thanks.

I'll go ahead and merge as it is and then revert the last part in a new PR to speed up this NApp for its 2022.2.0 release


GetDecisions fails to lookup attribute definition of resource attributes that are not in the entitlements

Error output:
time=2024-05-13T14:53:47.877-04:00 level=DEBUG msg=DetermineAccess
time=2024-05-13T14:53:47.877-04:00 level=ERROR msg="error grouping data attributes by definition: unexpected empty value FQN in GetDefinitionFqnFromValueFqn"
time=2024-05-13T14:53:47.877-04:00 level=ERROR msg="unexpected empty value FQN in GetDefinitionFqnFromValueFqn" error="unexpected empty value FQN in GetDefinitionFqnFromValueFqn" extra="DetermineAccess request to Access PDP failed"
time=2024-05-13T14:53:47.877-04:00 level=ERROR msg="Error received from GetDecisionsByToken" err="rpc error: code = Internal desc = resource retrieval failed"
time=2024-05-13T14:53:47.877-04:00 level=WARN msg="Could not perform access decision!" err="authorization decision unexpected\nrpc error: code = Internal desc = resource retrieval failed"

Ended up being because the values returned in GetAttributeValueFqns didnt have the fqn field populated, solution is to manually populate them grabbing the key from the response map


terminal not showing an output

Type: Bug
The program runs in a termminal but it not showing any kind of output in the terminal.please solve this issue as soon as possible
VS Code version: Code 1.83.1 (f1b07bd25dfad64b0167beb15359ae573aecd2cc, 2023-10-10T23:48:05.904Z)
OS version: Windows_NT x64 6.0.6002
Modes:

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i5-11400H @ 2.70GHz (12 x 2688)

GPU Status
2d_canvas: unavailable_softwarecanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: disabled_softwaremultiple_raster_threads: enabled_onopengl: disabled_offrasterization: disabled_softwareraw_draw: disabled_off_okvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_softwarewebgpu: unavailable_software

Load (avg)
undefined

Memory (System)
15.65GB (8.63GB free)

Process Argv
--crash-reporter-id a4a1f412-dac9-4202-b031-66e9e0e11890

Screen Reader
no

VM
0%

Extensions (10)

Extension
Author (truncated)
Version

vscode-html-css
ecm
1.13.1

code-runner
for
0.12.1

autopep8
ms-
2023.6.0

python
ms-
2023.18.0

vscode-pylance
ms-
2023.10.20

cmake-tools
ms-
1.15.31

cpptools
ms-
1.17.5

cpptools-extension-pack
ms-
1.3.0

LiveServer
rit
5.7.9

cmake
twx
0.0.17

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263cf:30856253
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
2e4cg342:30602488
f6dab269:30613381
a9j8j154:30646983
showlangstatbar:30737416
03d35959:30757346
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxpt:30805730
pythonnoceb:30805159
copilotsettingt:30859503
dsvsc013:30795093
dsvsc014:30804076
diffeditorv2:30821572
dsvsc015:30845448
pythonmypyd1:30859726
pythontbext0:30864172

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!


Mixed Bioconductor 3.11/3.12 installation

Looking at the GH-actions output (example) I see many package versions from Bioconductor 3.11(!) and others from 3.12 being installed. I suspect this is due to non-BiocManager installs in .basic_checks.yaml: https://github.com/waldronlab/enrichOmics/blob/9f8c24f222e6e0f73179081b2373fd4e3a888e5e/.github/workflows/basic_checks.yaml#L35
Fixing that would make likely-ineffective hacks like this one I just committed unnecessary.
@LiNk-NY @lgeistlinger would you take a look if I don't manage to resolve it early this morning?

Closed by https://github.com/waldronlab/enrichOmics/commit/1e8c399ae89d29fa5671914fde0f21b6c6f1a36c (with no more remove.packages)


DevOps Generator "Could not load your organizations"

I have successfully used the generator in the past to create projects in my organization. When I tried to use it today using the same credentials that I use for my DevOps organization the generator web site gives me the message -
"Could not load your organizations. Please check if the logged in Id contains the Azure DevOps Organizations or change the directory in profile page and try again."

There is no 'profile page' in the devops site. My devops stuff is working fine, just can't the generator to behave.
Any ideas?
AB#3551

Hi @TrevorBarry thank you for reaching us.
One of the reason for this behavior, you might have logged in to different directoctory where the API is unable to find any organizations.
You can sign out and sign in again or use  incognito window of the browser and login and retry.
Let us know your updates.
Thanks.

Hi @TrevorBarry thank you for reaching us.
One of the reason for this behavior, you might have logged in to different directoctory where the API is unable to find any organizations.
You can sign out and sign in again or use incognito window of the browser and login and retry.
Let us know your updates.
Thanks.

Yep, I've done all that. Tried different browsers, different machines, incognito mode.
Doesn't make any difference the generator can't see my organizations.

Could you please confirm the logged in active directory and the directory which has the organizations are same ?

Could you please confirm the logged in active directory and the directory which has the organizations are same ?

How? I'm using the same credentials to log in to Azure, Azure devops and the demo generator. The generator does not provide a way for me to see what I'm logged in to.

Demo Generator look for organizations present in the logged in directory to display it for end user.
You can change the logged in directory here
Also you can refer to this doc for more info.
Let us know your updates.
Thanks

#291

Demo Generator look for organizations present in the logged in directory to display it for end user.
You can change the logged in directory here
Also you can refer to this doc for more info.
Let us know your updates.
Thanks

Ah, thank you! I didn't know that page (https://aex.dev.azure.com/me?mkt=en-US&campaign=o~msft~old~vsts~profile which redirects you to https://aex.dev.azure.com/me?mkt=en-US#) existed.
That fixed my problem, thank you again!

Thanks for your updates 👍

See also #436.


[Protocol Change] Add the In-Commit Timestamps spec change proposal

Which Delta project/connector is this regarding?

[ ] Spark
[ ] Standalone
[ ] Flink
[ ] Kernel
[X] Other (Protocol)

Description

Adds the proposal for spec change In-Commit Timestamps (see https://github.com/delta-io/delta/issues/2532) to the RFC folder.
How was this patch tested?

Spec-only change.
Does this PR introduce any user-facing changes?

No

Oh, but we do need to add a proposed entry for this to the RFC index.md!

Done


[PRESET] Create compiler preset "PaRappa the Rapper 2 (C++)"

I would like to create a compiler preset on decomp.me.
Not to be confused with the current preset, this is for the C++ library of the game that handles rendering, animations, VU1 and other boring stuff.

Preset Name: PaRappa the Rapper 2 (C++)
Platform: ps2
Compiler ID: ee-gcc2.9-991111-01
Compiler Flags: -O2 -G8 -x c++ -fno-exceptions -gstabs

Thanks. *capybara emoji*

dun https://decomp.me/preset/133


coc-clangd has magically stopped working

Right yesterday all was working fine, today, with opening a cpp file on vim 8.2, autocmpletion and all the other stuff by coc-clangd are gone. I'm not very expert to investigate what is going on, I hope you could help me to solve my problem! Thanks in advance. I'm on Ubuntu 18.04.5 LTS and here is my settings:
$ uname -r
5.4.0-52-generic
$ clangd --version
clangd version 10.0.0-4ubuntu1~18.04.2

CocInfo output:
2020-11-11T20:44:06.129 INFO (pid:668) [services] - registered service "clangd"
2020-11-11T20:44:06.132 INFO (pid:668) [services] - clangd state change: stopped => starting
2020-11-11T20:44:06.135 INFO (pid:668) [language-client-index] - Language server "clangd" started with 687
2020-11-11T20:44:06.138 ERROR (pid:668) [language-client-client] - connection error: Error: write EPIPE
at afterWriteDispatched (internal/stream_base_commons.js:156:25)
at writeGeneric (internal/stream_base_commons.js:147:3)
at Socket._writeGeneric (net.js:788:11)
at Socket._write (net.js:800:8)
at doWrite (_stream_writable.js:403:12)
at writeOrBuffer (_stream_writable.js:387:5)
at Socket.Writable.write (_stream_writable.js:318:11)
at StreamMessageWriter.write (/home/ricciolino/.vim/plugged/coc.nvim/build/index.js:18391:27)
at /home/ricciolino/.vim/plugged/coc.nvim/build/index.js:17539:35
at new Promise ()
at Object.sendRequest (/home/ricciolino/.vim/plugged/coc.nvim/build/index.js:17529:26)
at Object.initialize (/home/ricciolino/.vim/plugged/coc.nvim/build/index.js:74367:44)
at LanguageClient.doInitialize (/home/ricciolino/.vim/plugged/coc.nvim/build/index.js:76483:27)
at LanguageClient.initialize (/home/ricciolino/.vim/plugged/coc.nvim/build/index.js:76479:25)
at /home/ricciolino/.vim/plugged/coc.nvim/build/index.js:76401:25 {
errno: 'EPIPE',
code: 'EPIPE',
syscall: 'write'
} undefined
2020-11-11T20:44:06.140 INFO (pid:668) [services] - clangd state change: starting => stopped
2020-11-11T20:44:06.140 ERROR (pid:668) [language-client-client] - connection error: Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
at doWrite (_stream_writable.js:399:19)
at writeOrBuffer (_stream_writable.js:387:5)
at Socket.Writable.write (_stream_writable.js:318:11)
at StreamMessageWriter.write (/home/ricciolino/.vim/plugged/coc.nvim/build/index.js:18393:27)
at /home/ricciolino/.vim/plugged/coc.nvim/build/index.js:17539:35
at new Promise ()
at Object.sendRequest (/home/ricciolino/.vim/plugged/coc.nvim/build/index.js:17529:26)
at Object.initialize (/home/ricciolino/.vim/plugged/coc.nvim/build/index.js:74367:44)
at LanguageClient.doInitialize (/home/ricciolino/.vim/plugged/coc.nvim/build/index.js:76483:27)
at LanguageClient.initialize (/home/ricciolino/.vim/plugged/coc.nvim/build/index.js:76479:25)
at /home/ricciolino/.vim/plugged/coc.nvim/build/index.js:76401:25 {
code: 'ERR_STREAM_DESTROYED'
} undefined
2020-11-11T20:44:06.141 ERROR (pid:668) [language-client-client] - connection error: Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
at doWrite (_stream_writable.js:399:19)
at writeOrBuffer (_stream_writable.js:387:5)
at Socket.Writable.write (_stream_writable.js:318:11)
at StreamMessageWriter.write (/home/ricciolino/.vim/plugged/coc.nvim/build/index.js:18391:27)
at /home/ricciolino/.vim/plugged/coc.nvim/build/index.js:17539:35
at new Promise ()
at Object.sendRequest (/home/ricciolino/.vim/plugged/coc.nvim/build/index.js:17529:26)
at Object.shutdown (/home/ricciolino/.vim/plugged/coc.nvim/build/index.js:74368:36)
at /home/ricciolino/.vim/plugged/coc.nvim/build/index.js:76575:31 {
code: 'ERR_STREAM_DESTROYED'
} undefined
2020-11-11T20:44:06.141 ERROR (pid:668) [language-client-client] - connection error: Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
at doWrite (_stream_writable.js:399:19)
at writeOrBuffer (_stream_writable.js:387:5)
at Socket.Writable.write (_stream_writable.js:318:11)
at StreamMessageWriter.write (/home/ricciolino/.vim/plugged/coc.nvim/build/index.js:18393:27)
at /home/ricciolino/.vim/plugged/coc.nvim/build/index.js:17539:35
at new Promise ()
at Object.sendRequest (/home/ricciolino/.vim/plugged/coc.nvim/build/index.js:17529:26)
at Object.shutdown (/home/ricciolino/.vim/plugged/coc.nvim/build/index.js:74368:36)
at /home/ricciolino/.vim/plugged/coc.nvim/build/index.js:76575:31 {
code: 'ERR_STREAM_DESTROYED'
} undefined
2020-11-11T20:44:07.096 WARN (pid:668) [extensions] - Extension coc-clangd activate cost more than 1s
2020-11-11T20:44:07.097 INFO (pid:668) [plugin] - coc.nvim 0.0.79-d3293597d1 initialized with node: v12.19.0 after 1038ms
2020-11-11T20:44:07.147 INFO (pid:668) [completion-complete] - Results from: around
2020-11-11T20:44:08.017 INFO (pid:668) [completion-complete] - Results from: around
2020-11-11T20:44:08.152 INFO (pid:668) [completion-complete] - Results from: around
2020-11-11T20:44:08.190 INFO (pid:668) [completion-complete] - Results from: around

CocList -> extentions:

coc-clangd 0.4.14 ~/.config/coc/extensions/node_modules/coc-clangd

coc-vimtex 1.0.4 ~/.config/coc/extensions/node_modules/coc-vimtex
coc-tsserver 1.5.5 ~/.config/coc/extensions/node_modules/coc-tsserver
coc-python 1.2.12 ~/.config/coc/extensions/node_modules/coc-python
coc-json 1.2.6 ~/.config/coc/extensions/node_modules/coc-json

My CocConfig:
{
"python.linting.pylintEnabled": true,
"python.linting.enabled": true,
"python.linting.pylintArgs": ["--extension-pkg-whitelist=cv2","--generated-members=torch.*"],
"clangd.enabled": true,
"clangd.path": "/home/ricciolino/.config/coc/extensions/coc-clangd-data/install/10.0.0/clangd_10.0.0/bin/clangd",
"clangd.arguments": ["-std=c++17"]
}

Can't reproduce, try upgrade your coc.nvim to latest release.

I upgrade coc.nvim to the latest release, but I cannot get coc-clangd working. Any suggestion?

I try to reinstall coc.nvim (with Plug 'neoclide/coc.nvim', {'branch': 'release'} ), then I reinstalled coc-clangd (:CocInstall coc-clangd) but when I attempt to install the latest release of clangd (:CocCommand clangd.install) I get a "client coc abnormal exit with: -1"

I solved by removing clangd-10 from my system:
$ sudo apt remove --purge --auto-remove clangd-10
Then I install again coc-clangd (:CocInstall coc-clangd) and the latest release of clangd  (:CocCommand clangd.install).

Getting the same stacktrace,
$ uname -r
4.15.0-123-generic
$ clangd --version
clangd version 11.0.0 (https://github.com/llvm/llvm-project 176249bd6732a8044d457092ed932768724a6f06)
$ node --version
v14.15.1
## versions

vim version: NVIM v0.5.0-828-g0a95549d6
node version: v14.15.1
coc.nvim version: 0.0.79-1e1f452a03
coc.nvim directory: /home/rcornall/.vim/plugged/coc.nvim
term: xterm-256color
platform: linux

## Log of coc.nvim

2020-11-17T12:36:42.952 INFO (pid:10610) [plugin] - coc.nvim 0.0.79-1e1f452a03 initialized with node: v14.15.1 after 89ms
2020-11-17T12:36:47.589 INFO (pid:10610) [services] - registered service "clangd"
2020-11-17T12:36:47.590 INFO (pid:10610) [services] - clangd state change: stopped => starting
2020-11-17T12:36:47.595 INFO (pid:10610) [language-client-index] - Language server "clangd" started with 10731
2020-11-17T12:36:47.615 INFO (pid:10610) [services] - clangd state change: starting => stopped
2020-11-17T12:36:47.615 INFO (pid:10610) [services] - clangd state change: stopped => starting
2020-11-17T12:36:47.620 INFO (pid:10610) [language-client-index] - Language server "clangd" started with 10732
2020-11-17T12:36:47.624 ERROR (pid:10610) [language-client-client] - connection error: Error: write EPIPE
    at afterWriteDispatched (internal/stream_base_commons.js:156:25)
    at writeGeneric (internal/stream_base_commons.js:147:3)
    at Socket._writeGeneric (net.js:785:11)
    at Socket._write (net.js:797:8)
    at writeOrBuffer (_stream_writable.js:352:12)
    at Socket.Writable.write (_stream_writable.js:303:10)
    at StreamMessageWriter.write (/home/rcornall/.vim/plugged/coc.nvim/build/index.js:18418:27)
    at /home/rcornall/.vim/plugged/coc.nvim/build/index.js:17566:35
    at new Promise (<anonymous>)
    at Object.sendRequest (/home/rcornall/.vim/plugged/coc.nvim/build/index.js:17556:26)
    at Object.initialize (/home/rcornall/.vim/plugged/coc.nvim/build/index.js:79591:44)
    at LanguageClient.doInitialize (/home/rcornall/.vim/plugged/coc.nvim/build/index.js:81706:27)
    at LanguageClient.initialize (/home/rcornall/.vim/plugged/coc.nvim/build/index.js:81702:25)
    at /home/rcornall/.vim/plugged/coc.nvim/build/index.js:81624:25 {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
} undefined
2020-11-17T12:36:47.625 INFO (pid:10610) [services] - clangd state change: starting => stopped
2020-11-17T12:36:48.508 WARN (pid:10610) [extensions] - Extension coc-clangd activate cost more than 1s

vim version: NVIM v0.5.0-828-g0a95549d6
node version: v14.15.1
coc.nvim version: 0.0.79-1e1f452a03
coc.nvim directory: /home/rcornall/.vim/plugged/coc.nvim
term: xterm-256color
platform: linux

## Log of coc.nvim

2020-11-17T12:36:42.952 INFO (pid:10610) [plugin] - coc.nvim 0.0.79-1e1f452a03 initialized with node: v14.15.1 after 89ms
2020-11-17T12:36:47.589 INFO (pid:10610) [services] - registered service "clangd"
2020-11-17T12:36:47.590 INFO (pid:10610) [services] - clangd state change: stopped => starting
2020-11-17T12:36:47.595 INFO (pid:10610) [language-client-index] - Language server "clangd" started with 10731
2020-11-17T12:36:47.615 INFO (pid:10610) [services] - clangd state change: starting => stopped
2020-11-17T12:36:47.615 INFO (pid:10610) [services] - clangd state change: stopped => starting
2020-11-17T12:36:47.620 INFO (pid:10610) [language-client-index] - Language server "clangd" started with 10732
2020-11-17T12:36:47.624 ERROR (pid:10610) [language-client-client] - connection error: Error: write EPIPE
    at afterWriteDispatched (internal/stream_base_commons.js:156:25)
    at writeGeneric (internal/stream_base_commons.js:147:3)
    at Socket._writeGeneric (net.js:785:11)
    at Socket._write (net.js:797:8)
    at writeOrBuffer (_stream_writable.js:352:12)
    at Socket.Writable.write (_stream_writable.js:303:10)
    at StreamMessageWriter.write (/home/rcornall/.vim/plugged/coc.nvim/build/index.js:18418:27)
    at /home/rcornall/.vim/plugged/coc.nvim/build/index.js:17566:35
    at new Promise (<anonymous>)
    at Object.sendRequest (/home/rcornall/.vim/plugged/coc.nvim/build/index.js:17556:26)
    at Object.initialize (/home/rcornall/.vim/plugged/coc.nvim/build/index.js:79591:44)
    at LanguageClient.doInitialize (/home/rcornall/.vim/plugged/coc.nvim/build/index.js:81706:27)
    at LanguageClient.initialize (/home/rcornall/.vim/plugged/coc.nvim/build/index.js:81702:25)
    at /home/rcornall/.vim/plugged/coc.nvim/build/index.js:81624:25 {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
} undefined
2020-11-17T12:36:47.625 INFO (pid:10610) [services] - clangd state change: starting => stopped
2020-11-17T12:36:48.508 WARN (pid:10610) [extensions] - Extension coc-clangd activate cost more than 1s

I noticed it's only failing to start in some directories, with larger projects. If I start a simple test.cpp somewhere it works OK,
Eg:
## versions

vim version: NVIM v0.5.0-828-g0a95549d6
node version: v14.15.1
coc.nvim version: 0.0.79-1e1f452a03
coc.nvim directory: /home/rcornall/.vim/plugged/coc.nvim
term: xterm-256color
platform: linux

## Log of coc.nvim

2020-11-17T12:48:55.613 INFO (pid:14928) [plugin] - coc.nvim 0.0.79-1e1f452a03 initialized with node: v14.15.1 after 90ms
2020-11-17T12:49:03.709 INFO (pid:14928) [services] - registered service "clangd"
2020-11-17T12:49:03.710 INFO (pid:14928) [services] - clangd state change: stopped => starting
2020-11-17T12:49:03.715 INFO (pid:14928) [language-client-index] - Language server "clangd" started with 14973
2020-11-17T12:49:03.737 INFO (pid:14928) [services] - clangd state change: starting => running
2020-11-17T12:49:03.748 INFO (pid:14928) [services] - service clangd started

I have an empty CocConfig.

Have you tried to
• Uninstall the coc-clangd extension:

:CocUninstall coc-clangd

• Remove the "coc-clangd-data" folder inside the $HOME/.config/coc/..... path (can't remember the precise folder name and the precise path right now, if you browse a bit you'll find a folder with your current clangd installation)
• Uninstall and Reinstall the coc-nvim plugin thought VimPlug (Comment and Uncomment inside the .vimrc file)
• Reinstall the coc-clangd extension

:CocInstall coc-clangd

• Reinstall the latest clangd version:

:CocCommand clangd.install

In my case this solve the issue !

Actually I did those steps almost exactly, including forcing re-install of coc-nvim (with :PlugClean + :PlugInstall).
Clangd I installed manually.
I downgraded to coc.nvim  v0.0.78, and have found root cause, I get some nicer errors:
## Output channel: clangd

clangd: Unknown command line argument '-–query-driver'.  Try: '/home/rcornall/.config/coc/extensions/coc-clangd-data/install/11.0.0/clangd_11.0.0/bin/clangd --help'
clangd: Did you mean '--query-driver'?
clangd: Unknown command line argument '/home/rcornall/wd/****hiding..this..****sysroots/x86_64/....'.  Try: '/home/rcornall/.config/coc/extensions/coc-clangd-data/install/11.0.0/clangd_11.0.0/bin/clangd --help'

So,

1st issue was I can see It's reading my  ../.vim/coc-settings.json from some upper parent directory which I didn't realize it would do.
2nd issue is I somehow had some weird hyphen character '-–' in those settings which caused clangd to fail.

But 3rd issue is why don't these nice clangd logs show up on the later coc.nvim release though.. maybe a coc.nvim issue?

Well my knowledge is out of scope in this case...it would be nice if someone could explain what cause this strange behavior!

@rcornall It's not recommend to downgrade coc.nvim, you'd better to use latest release.

But 3rd issue is why don't these nice clangd logs

You can get clangd logs in :CocCommand workspace.showOutput. There's something broken in coc-clangd 0.5, I've just released v0.5.2 to fix this.

I don't think this follows the line along the current solution in the thread. Since I'm installing everything on HPC (no sudo rights), I installed my own clangd (v12.0.1) on my home dir, then inspired by @ricciolino I found coc-clangd-data folder, then replaced the coc-clangd-data/install/12.0.0/clangd_12.0.0/bin/clangd with a symlink of my own clangd install, then i got it working


Exception about Tracer Row Group column missing value

validation broken by a missing value in the Tracer Row Group:  I am taken to an error page like this one

Originally posted by @mneinast in https://github.com/Princeton-LSI-ResearchComputing/tracebase/discussions/1040#discussioncomment-10384526

I couldn't quite copy/paste the error here, but here are two versions of the study doc (one that works and one that doesn't).
MASTER STUDY DOC FOR TRACEBASE_exp011b3_240816.xlsx
MASTER STUDY DOC FOR TRACEBASE_exp011b3_240816_breaks validation.xlsx

the only change is in the Tracers sheet:  the Tracer Row Group field for water was deleted.


Unneccessary duplications / overrides - alertify-bootstrap-3.css

I haven't checked the alertify-bootstrap.css, but with alertify-bootstrap-3.css I've noticed a lot of unnecessary duplications / double instances of classes, some of which override previous instances of it.
e.g.
line 86:
alertify-dialog {
   padding: 25px
}

line 153:
.alertify-dialog {
   padding: 0
}

line: 232
.alertify-button-cancel,
.alertify-button-cancel:active,
.alertify-button-cancel:focus,
.alertify-button-cancel:hover {
   color: #fff;
   background-color: #d9534f;
   border-color: #d43f3a
}

line: 241
.alertify-button-cancel:active,
.alertify-button-cancel:focus,
.alertify-button-cancel:hover {
   color: #fff;
   background-color: #d2322d;
   border-color: #ac2925
}

Interesting that there are 284 lines of code in this version compared to the 134 lines of code in the previous alertify.bootstrap.css from the master branch as well.
I'm doing some cleanup of it for my purposes atm, I'll post the code if you don't end up getting to it first.
Most of it seems like an easy fix.. just tedious.

Just an update on this:
The src files seem fine, and make sense (basically cleaned up versions of the old files) it's just the dist files that are messed up.
This brings me to the conclusion that something funny is going on in the build process.

 Maybe that should be documented someplace actually. Think some work actually could be done to improve the documentation. If you have any ideas, feel free to mention them. The whole website itself is on GitHub, too, for what it's worth.

I think my main problem was that I didn't read the documentation or check the website, assuming everything was the same.
Putting a tiny readme / txt file with a bold name in the dist/css folder that states that it's only necessary to include one of the stylesheets could help people who are just migrating like I was.
Eventually in the future once most of the migration is done you could always just remove it too.

Makes sense, good suggestion. Thanks!