Support running compatibility tests for ICAD

Summary
Add support for running compatibility tests with icad (can be done in the demo repo)

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

this functionality was added to the interchain-accounts-demo repo in this pr.

thanks for the help @crodriguezvega 🥇

thanks for the help @crodriguezvega 🥇

My pleasure! 🤛


add inputDelay feature

Delay between prompt and input in ms.

Anything I can do to help push this along? Any reservations?


This version broke custom work item export for me

Using version 2.0.5885, I have no problem exporting Work Item Configuration > Work Item Types > Custom work items.  When using the latest version 2.1.6180, the custom work item types no longer appear in the list when I click 'Get Work Item Types'.

Sorry I would like to add that this is using VSO.

I've just noticed the same today against TFS 2015 Update 3, I'm investigating.

I cannot reproduce the issue on another TFS 2015 Update 3 server, so it seems to be related to the environment.
I won't have access to yesterday's server where I can repro the problem for at least two weeks, so could you quickly try something in your environment? Can you clear the local TFS cache by removing (or renaming) the %LOCALAPPDATA%\Microsoft\Team Foundation\6.0\Cache folder?

Deleted that folder, restarted TfsTeamProjectManager, and issue still persists. All standard work item types return but no custom ones appear.

Ah, I see , this is probably something else than what I had noticed: I was getting an "API resource location 8637ac8b-5eb6-4f90-b3f7-4f2ff576a459 is not registered" error and did not get any work items back.
But I assume that you're not getting an error, it's just that custom work item types do not get returned, right? Or if you are seeing an error can you copy it here? (Click on the task link on the top of the window to open the task details if needed, or open the log file.)

Correct, there are no errors that appear (and the log is quite empty, just showing start/end).
I did a little bit of troubleshooting and found the following differences between the two programs (Using Fiddler).

Version 2.0.5885 says "connected to tfs 2015" when I select my VSO project.  Version 2.1.6180 says "connected to tfs 2017"
The request api being used is different.  Version 2.0.5885 is calling "https://.visualstudio.com//_apis/ " while Version 2.1.6180 is calling "https://.visualstudio.com//_apis/wit/workItemTypeTemplate/?exportGlobalLists=False "
Finally, the biggest red flag I see is a 400 Bad Request result when querying for the custom work item in Version 2.1.6180 (this doesn't happen in the other version).  Sample request/response below.

Hopefully this gives you more ideas on where to dig into to.
Thanks,
Patrick
Request:
GET https://.visualstudio.com//_apis/wit/workItemTypeTemplate/?exportGlobalLists=False HTTP/1.1
Accept: application/json; api-version=2.3-preview.1
User-Agent: VSServices/14.102.25423.0 (TeamProjectManager.exe)
Accept-Language: en-US
X-TFS-FedAuthRedirect: Suppress
X-TFS-Session:
Cookie: FedAuth=
FedAuth1=
Host: .visualstudio.com
Accept-Encoding: gzip
Response
HTTP/1.1 400 Bad Request
Cache-Control: no-cache
Pragma: no-cache
Content-Type: application/json; charset=utf-8
Expires: -1
Server: Microsoft-IIS/10.0
X-TFS-ProcessId:
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-FRAME-OPTIONS: SAMEORIGIN
X-VSS-UserData: :
ActivityId:
X-TFS-Session:
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
P3P: CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT"
X-Content-Type-Options: nosniff
Date: Wed, 07 Dec 2016 18:16:36 GMT
Content-Length: 274
{"$id":"1","innerException":null,"message":"VS403207: The object does not exist or access is denied.","typeName":"System.ArgumentException, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089","typeKey":"ArgumentException","errorCode":0,"eventId":0}

Sorry for the delay but I was able to clear it up with the product group. Unfortunately exporting custom work item types in the new customization system (the web access-based UI as opposed to the traditional XML based system) is not currently supported. It's actually an unfortunate side effect that it used to work in VSTS, but it should not have worked.
So for now, you can only export work item types from on-premise TFS projects (that are not using the new system yet). They are working on new REST API's that will support the same scenario for the new system and when that's available I'll update the tool.


add service and service monitors for openshift

@kahootali Chart: prometheus-k8s-services Dry Run successful


Exchange for access token with unused parameters

this.getAccessToken = function (res, code, stateOut, cb) {

            if (typeof res == 'string') {
                cb = stateOut;
                stateOut = code;
                code = res;
                res = null;
            }

@ auth.js
I'm not entirely sure why we need to pass in the res since it's not being use anywhere. Ideally, I'll be function(code, state). Also I would also recommend not using parameter orders to determine your function otherwise it gets complex to debug. I can't blame the reasoning behind this because it's the nature javascript as a dynamic language (no type safety) but it'll be straight forward if all of the variables are immutable. Food for thought let me know if you want me to create a PR for this, would love to contribute.

Sound's good! Initially, it was created to support express anyway years ago. Later, been shifted to become a wide-spread npm package. That's the reason why you can see res coming in the parameters list. You can take a look over previous discussion on the same issue #14
The only idea is to not break the code anyway if anyone else is using it too. I really like the approach and would love the PR too.
What if we issue the WARN statement too so if anyone using the previous build could handle it? Cheers

Better if you write a new function retrieveAccessToken which may support Promise as well as Callback and has the similar fashion of parameters you're suggesting. We'll put the warning note with the existing function to move by the next major release.
Thoughts?


Question: Is fork correctly recognized when updating binance trade bot?

Hello. When BTB detects update and updates binance trade bot to new version, does it correctly recognize which fork is updated? There are at least 3 different forks that have different flavours of config file. If one fork is overwritten by other fork during update, config file may cause it will not work correctly or will not work at all.

Short answer : yes
Long answer : the update is no more complicated than a git pull, so it's fork agnostic


Info tool not working

The Info tool is not working on the AMI version of 1.2.

I verified that it's not working in 1.2, but it's working fine in master. Closing this issue, but we'll be sure to double-check this feature works when releasing the 1.3 AMI.


overlap-tile

Excuse me，do you have code for overlap-tile？

The overlap-tile is inherently coded in random crop.


feat: bump cosmos hardcoded gas limit to 1M

Description

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

Testing

Engineering

Operations

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #5288   👈

This comment was auto-generated by Graphite.


1.16.x 1.0.0: 5.1 - Biome resources update

We need to re-design/update resources for biomes to support all 1.16 resources. We should also do any improvements/refactoring at this point. Here's a list of current resources, need to know for each if they should be renamed/refactored/changed/removed. Also need to know if any new resources should be added.
"AboveWaterRes", AboveWaterGen
"Boulder", BoulderGen
"Cactus", CactusGen
"Dungeon", DungeonGen
"Grass", GrassGen
"Fossil", FossilGen
"IceSpike", IceSpikeGen
"Liquid", LiquidGen
"Ore", OreGen
"Plant", PlantGen
"UnderWaterPlant", UnderWaterPlantGen
"Reed", ReedGen
"SmallLake", SmallLakeGen
"SurfacePatch", SurfacePatchGen
"UndergroundLake", UndergroundLakeGen
"UnderWaterOre", UnderWaterOreGen
"Vein", VeinGen
"Vines", VinesGen
"Well", WellGen
"CustomObject", CustomObjectGen
"CustomStructure", CustomStructureGen
"Sapling", SaplingGen
"Tree", TreeGen
#######################################################################
# +-----------------------------------------------------------------+ #
# |                          Resource queue                         | #
# +-----------------------------------------------------------------+ #
#######################################################################

# This section control all resources spawning after terrain generation.
# The resources will be placed in this order.

# Keep in mind that a high size, frequency or rarity might slow down terrain generation.

# Possible resources:
# DoResourceInheritance(true|false)
# SmallLake(BlockName,Frequency,Rarity,MinAltitude,MaxAltitude)
# Dungeon(Frequency,Rarity,MinAltitude,MaxAltitude)
# UnderGroundLake(MinSize,MaxSize,Frequency,Rarity,MinAltitude,MaxAltitude)
# Ore(BlockName,Size,Frequency,Rarity,MinAltitude,MaxAltitude,BlockSource[,BlockSource2,BlockSource3.....])
# UnderWaterOre(BlockName,Size,Frequency,Rarity,BlockSource[,BlockSource2,BlockSource3.....])
# CustomObject(Object[,AnotherObject[,...]])
# CustomStructure([Object,Object_Chance[,AnotherObject,Object_Chance[,...]]])
# SurfacePatch(BlockName,DecorationBlockName,MinAltitude,MaxAltitude,BlockSource[,BlockSource2,BlockSource3.....]
# Tree(Frequency,TreeType,TreeTypeChance[,AdditionalTreeType,AdditionalTreeTypeChance.....])
# Plant(PlantType,Frequency,Rarity,MinAltitude,MaxAltitude,BlockSource[,BlockSource2,BlockSource3.....])
# UnderWaterPlant(PlantType,Frequency,Rarity,MinAltitude,MaxAltitude,BlockSource[,BlockSource2,BlockSource3.....])
# Grass(PlantType,Grouped/NotGrouped,Frequency,Rarity,BlockSource[,BlockSource2,BlockSource3.....])
# Reed(BlockName,Frequency,Rarity,MinAltitude,MaxAltitude,BlockSource[,BlockSource2,BlockSource3.....])
# Cactus(BlockName,Frequency,Rarity,MinAltitude,MaxAltitude,BlockSource[,BlockSource2,BlockSource3.....])
# Liquid(BlockName,Frequency,Rarity,MinAltitude,MaxAltitude,BlockSource[,BlockSource2,BlockSource3.....])
# AboveWaterRes(BlockName,Frequency,Rarity)
# Vines(Frequency,Rarity,MinAltitude,MaxAltitude)
# Vein(BlockName,MinRadius,MaxRadius,Rarity,OreSize,OreFrequency,OreRarity,MinAltitude,MaxAltitude,BlockSource[,BlockSource2,..])
# Well(BaseBlockName,HalfSlabBlockName,WaterBlockName,Frequency,Rarity,MinAltitude,MaxAltitude,BlockSource[,BlockSource2,..])
# Boulder(BlockName,Frequency,Rarity,MinAltitude,MaxAltitude,BlockSource[,BlockSource2,..]
# IceSpike(BlockName,IceSpikeType,Frequency,Rarity,MinAltitude,MaxAltitude,Blocksource[,BlockSource2,...])

# BlockName:      must be the name of a block. May include block data, like "WOOL:1".
# BlockSource:    list of blocks the resource can spawn on/in. You can also use "Solid" or "All".
# Frequency:      number of attempts to place this resource in each chunk.
# Rarity:         chance for each attempt, Rarity:100 - mean 100% to pass, Rarity:1 - mean 1% to pass.
# MinAltitude and MaxAltitude: height limits.
# BlockSource:    mean where or whereupon resource will be placed
# TreeType:       Tree (original oak tree) - BigTree - Birch - TallBirch - SwampTree -
#                 HugeMushroom (randomly red or brown) - HugeRedMushroom - HugeBrownMushroom -
#                 Taiga1 - Taiga2 - HugeTaiga1 - HugeTaiga2 -
#                 JungleTree (the huge jungle tree) - GroundBush - CocoaTree (smaller jungle tree)
#                 DarkOak (from the roofed forest biome) - Acacia
#                 You can also use your own custom objects, as long as they have set Tree to true in their settings.
# TreeTypeChance: similar to Rarity. Example:
#                 Tree(10,Taiga1,35,Taiga2,100) - plugin tries 10 times, for each attempt it tries to place Taiga1 (35% chance),
#                 if that fails, it attempts to place Taiga2 (100% chance).
# PlantType:      one of the plant types: Allium, AzureBluet, BlueOrchid, BrownMushroom, Dandelion, DeadBush, DoubleTallgrass, Fern, LargeFern, Lilac, OrangeTulip, OxeyeDaisy, Peony, PinkTulip, Poppy, RedMushroom, RedTulip, RoseBush, Sunflower, Tallgrass, WhiteTulip
#                 or simply a BlockName
# IceSpikeType:   one of the ice spike types: Basement,HugeSpike,SmallSpike
# Object:         can be a any kind of custom object (bo2 or bo3) but without the file extension. You can
#                 also use UseWorld to spawn one of the object in the WorldObjects folder and UseBiome to spawn
#                 one of the objects in the BiomeObjects setting. When using BO2s for UseWorld, the BO2 must have
#                 this biome in their spawnInBiome setting.

# Plant and Grass resource: both a resource of one block. Plant can place blocks underground, Grass cannot.
# UnderWaterPlant resource: a resource of one block, places blocks only in water.
# Liquid resource: a one-block water or lava source
# SmallLake and UnderGroundLake resources: small lakes of about 8x8 blocks
# Vein resource: not in vanilla. Starts an area where ores will spawn. Can be slow, so use a low Rarity (smaller than 1).
# CustomStructure resource: starts a BO3 structure in the chunk.

Also need to rewrite this whole section.

@SuperCoder7979  said on #570
A quick list of all the new resource generators we're going to need:
Coral
Kelp
Seagrass
Icebergs (shudders)
Bamboo

Nether generators (lower priority, but nice-to-haves):
Huge fungus
Weeping vines
Twisting vines
Deltas
Basalt Columns
Replace blobs
Basalt pillars
No surface ore (netherite ore)

1.17 stuff, lowest priority:
Geodes

Some of these are better spawned like other vanilla structures, but here's a quick list of worldgen stuff added in 1.13 to start with:
Buried Treasure
Coral
Kelp
Seagrass
Sea Pickles
Iceberg
Shipwrecks
Ocean Ruins

1.14:
Bamboo
New Flowers
Sweet Berry Bushes
Pillager Outposts
Large Villager Overhaul
New Bamboo Jungle Biome

Nice, thanks. The following are structures, not resources, so we'll have to make another issue for those:

Buried treasure
Ocean Ruins
Shipwreck
Pillager outpost
Bastion Remnant
Nether fossil
End City
Ruined Portal
Amethyst Geode (1.17)

And ofc we already have:

Village
Stronghold
Ocean Monument
Rare buildings (desert pyramid, igloo, jungle temple, swamp hut, any new ones?)
Woodland Mansion
Nether fortress
Mineshaft

The following are "structures spawned as resources":

Fossil
Dungeon & Desert well

I'll make a new issue for structures.

So we've got the requirements looks like:

Coral
Kelp
Seagrass
Sea Pickles
Bamboo
Iceberg(spawned as resource?)
New flowers (should be added already?)
Sweet berry bushes

"structures spawned as resources":

Fossil (already a resource? make sure it works)
Dungeon & Desert well (already a resource? make sure it works)

@MCPitman & @SuperCoder7979 Could you make a finalised list of new resources for the biome configs, that covers all these?

So we've got the requirements looks like:

Coral
Kelp
Seagrass
Sea Pickles
Bamboo
Iceberg(spawned as resource?)
New flowers (should be added already?)
Sweet berry bushes

"structures spawned as resources":

Fossil (already a resource? make sure it works)
Dungeon & Desert well (already a resource? make sure it works)

@MCPitman & @SuperCoder7979 Could you make a finalised list of new resources for the biome configs, that covers all these?

Maybe iceberg should be a SurfaceAndGroundControl: type?

Maybe iceberg should be a SurfaceAndGroundControl: type?

Should have everything now I think? Anything left has its own issue, closing.


Adding Foreignkey in MySQL

I'm trying to create this foreign key on mysql but I got an error
db.Model(&SSH{}).AddForeignKey("user_id", "users(id)", "RESTRICT", "RESTRICT")

(Error 1005: Can't create table 'iloops_test.#sql-d37_71' (errno: 150))

Solved updating the package


MissingPluginException start project from Vscode but in AS works fine

I have android application with flutter as module integrated as option B.
If I run project from Android studio all works fine. But if I run project  from VScode, my button inside project return exception.

I cant call any native code  throught platform channels. But flutter application starts and works good.

flutter doctor -v
[√] Flutter (Channel master, 1.23.0-8.0.pre.92, on Microsoft Windows [Version 10.0.19041.572], locale ru-RU)
    • Flutter version 1.23.0-8.0.pre.92 at C:\flutter
    • Framework revision 79400b2462 (2 weeks ago), 2020-10-01 09:06:46 -0400
    • Engine revision 612acf349e
    • Dart version 2.11.0 (build 2.11.0-180.0.dev)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at C:\Users\Salo\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Android Studio (version 4.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 49.0.2
• Dart plugin version 193.7547
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] VS Code (version 1.50.0)
• VS Code at C:\Users\Salo\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.15.0

try running flutter clean

in my case, I was trying to run the app with hot reload after just adding dependencies,
after  uninstalling an app it works for me

@briankariuki @mohitjadav it does not help (

Hi @Alexufo
Can you please provide a complete reproducible minimal code sample including module and android app
Thank you

https://github.com/Alexufo/test_r

Hi @Alexufo
This is working as expected, you need to launch flutter activity from native to call platform channel methods from a native app
If you want to use the platform channel without a native app, you can add your platform channel code inside the flutter module's android folder, in this case, it is trying to look for that code in the android folder of your module not native app
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


Re-use the allocated memory buffer or allocated itk::Image

Description
when using a itk::filter, results that get from filter->GetOuput() are allocated by filter, If I want to run the filter in a loop, the filter will allocate and deallocate repeatedly, if allocate a buffer/image with correct size and data type in advance, can the filter reuse the allocated buffer as output memory instead of multi-allocate/deallocate memory. I don't find this function or interface in ITK
Expected behavior
ImageType::Pointer allocedImage = ImageType::New();
// ...
allocedImage->Allocate();
filter->GetOuput(allocedImage);

You should take a look at the detailed description of ProcessObject, in particular ReleaseData* members. I think you want to call filter->SetReleaseDataBeforeUpdateFlag(false);

@dzenanz Thanks a lot for your reply, SetReleaseDataBeforeUpdateFlag(false) helps when re-using a itk::Image. Another situation, there is a allocated memory for repeated writing into, this buffer can manage itself by smart pointer. Now I want to use this buffer as the itk::Image data area,  if using ImportImageFilter, either there is a addtional data copy from fitler->GetOutput() to buffer, or the fitler->GetOutput() controlls the buffer lifetime, both are not optimal, Is ITK has the feature to create a ImageHeader, which only manage itself(just header), won't deallocate the buffer

I am not sure whether that can be accomplished. Using ImportImageFilter was a good try. One more thing to try is increase reference count on the pixel container:
auto & buf = image->GetPixelContainer();
buf->Register();
// processing
buf->UnRegister(); // decrease reference count (allows deallocation)

Now the buffer should not be automatically deallocated. You might need to help it along by calling image->SetPixelContainer(buf); to make sure the image uses the allocated buffer.


Include Open Source

Maybe we should differentiate here a bit?

Open Hardware e.g. for lab equipment based on open source construction plans or even open source materials.

Open Source Software or/and open source code as tools to e.g. work with open research data (e.g. in terms of reproducibility).

Does that make sense? And if, how do we distinguish and label these?

For all topic suggestions we have an etherpad collecting material and ideas: https://pad.okfn.org/p/OpenScience101topicsuggestions

Might break this into some subsections. There's Open Source history, the value proposition, as well as a bunch of interesting angles when it comes to setting up a project for others to contribute to. (Feel free to reuse the WOW materials, too! Under CC-BY! bit.ly/moz_wow).

Thanks @kaythaney, yes we like the WOW materials very much (were using it for PERSONAS, Code of Conduct etc.).
When I think about open source I only relate to software development, but you're right there are definitely different aspects to it. We might split the topic.

Hello! I stopped by to complain (kkk) about the lack of open source hardware, but I see a comment has brought up the issue. However I'm going to give a different suggestion.
I think in a general introduction to open science we should never introduce 'open source software' or 'open source hardware' or 'open wetware' at the start, but instead emphasize that for science they're both part of a common question, that of research instruments.
Also, that this question is different from the question of open research materials like tissue samples, cell lines and other specimens, mineral samples etc, which deserve their own entry, both in the sense that no 'source' is available for materials and that unlike materials an instrument does not constitute an /a priori/ part of the object being studied.
So my suggestion is for two main topics: "Open Instruments" (hardware, wetware, software) and "Open Materials" (samples, specimens, artifacts etc).
Such an approach emphasizes the perspective of science, and the role of the objects in science, as opposed to other circumstantial clusters related to their 'opening up'. These circumstantial similarities, on the other hand, could and should be explored within specific topics for pedagogical reasons.
Cheers!

That are great suggestions, @solstag! As @matthiasfromm mentioned the term "Open Source" is rather fuzzy and "Open Instruments" and Open Materials" could be one way of making this more precise while still being abstract enough to cover many thing.s


Flutter (stable) run for Android throwToolExit (package:flutter_tools/src/base/common.dart:14:3)

Does anyone know about this issue? I run flutter run -v on MacOS for an physical Android device, get exception says throwToolExit (package:flutter_tools/src/base/common.dart:14:3) and blah blah blah.
Attached log of flutter run -v
My flutter is on stable channel and healthy, any help would be very appreciate!
[✓] Flutter (Channel stable, v1.17.0, on Mac OS X 10.14.6 18G103, locale en-CN)
    • Flutter version 1.17.0 at /Volumes/Transcend/Development/flutter
    • Framework revision e6b34c2b5c (7 days ago), 2020-05-02 11:39:18 -0700
    • Engine revision 540786dd51
    • Dart version 2.8.1

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Volumes/Transcend/Development/AndroidSDK
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.9.0

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.45.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.10.1

[✓] Connected device (2 available)
    • SM G9500               • 988a1b474239545746                       • android-arm64 • Android 9 (API 28)
    • Capt. Michael’s iPhone • 14717dae7626a115db93783c0f4a386e6c51783e • ios           • iOS 12.4.5

• No issues found!

Solved by removing flutter_facebook_login: ^3.0.0 from pubspec.yaml.


Allow to use Curl in insecure mode to Check throw HTTPS

Currently, the base image not provide collection of ca cert which
allow to make a fully secured connection, validating cert issuer.
This commit allow config curl with the --insecureoption

I had tried to import my public certification usuing repository_cert like you done for in and out script, but absence of ca-certificate on the base image make it fail.

Thank you for reporting this! This has prompted me to fix this the "correct" way:

repository_cert is now passed to curl properly (have to store it in a file for curl to read)
new skip_cert_check configuration option can be used to skip ssl errors completely.


Create test case app(s)

The more we start hacking on the internals of the existing SDK, the more useful I think it would be to have one or more standard test case apps we can use to try to make sure we don't break existing behavior.  Ideally, I'm thinking a single, reasonably complex application which attempts to exercise most of the types of functionality people currently use which could be compiled and run, and then a testing procedure designed to make sure it does actually function as intended.  That way anybody who wants to has a well-defined procedure to test that at least basic functionality still works as expected on any given esp-open-rtos build.
Unfortunately, all of the current examples are fairly limited in scope for this purpose..  It might be good to start by finding an existing app which exercises a reasonable range of behavior, and then work from there.

Agreed.
I'm taking some baby steps in this direction at the moment setting up Travis, which will at least confirm that all the examples & experiments build on each commit.
That's obviously a much weaker condition to verify than "basic functionality still works", though. It'd be better to verify that!
Having something where anyone can run some kind of automated test script might be interesting for doing actual CI, I can leave an ESP8266 board and a little router (Raspberry Pi maybe?) in a corner somewhere and have it go through some motions on each commit, check for certain strings in the serial output. If the hardware setup is reasonably well defined then other people can make their own local test setups as well...
A manual test case program is a good first step in this direction, anyhow. As we start adding more third party libraries it should become easier to put something reasonably complex together without a lot of program code (for instance: fire up MQTT, and a web server, and some kind of i2c peripheral all concurrently and check for defined behaviour).

single, reasonably complex application which attempts to exercise most of the types of functionality people currently use which could be compiled and run, and then a testing procedure designed to make sure it does actually function as intended.

Seems to me that a number of small independent simple tests would be easier to maintain and debug, than one big and complex.

Seems to me that a number of small independent simple tests would be easier to maintain and debug, than one big and complex.

In most cases, I would agree, but there were two reasons I didn't suggest that approach here (at least for the initial way of doing things):

Somebody would have to write all the individual test cases
Without some sort of automated testing setup, I think having to build, flash, and manually test a large series of individual ESP8266 firmwares every time we wanted to check we hadn't broken anything would get extremely tedious. (And because of the nature of the architecture, getting an automated testing framework (especially one that can test a lot of the things we actually need to test) isn't just going to be a matter of spinning up some build-server software somewhere..)

A hybrid approach might be doable:  Create a bunch of independent test case code samples which then get compiled into a single ESP8266 app which runs through them in a semi-automated fashion..  Of course that still requires writing and verifying test cases for everything we want to test..

There are the makings of an automated test infrastructure in this branch:
https://github.com/SuperHouse/esp-open-rtos/tree/feature/tests
Some discussion here:
https://groups.google.com/forum/#!topic/esp-open-rtos/Kgzbpw07jDM
Once I have a Jenkins server up (and some documentation) I'll merge to master.


generated uri template include explode * for query params

fix https://github.com/microsoft/typespec/issues/4881

All changed packages have been documented.

:white_check_mark: @typespec/http

Show changes
@typespec/http - fix ✏

[API] Fix: Generated uriTemplate correctly include * for explode query params

You can try these changes here

🛝 Playground
🌐 Website
📚 Next docs


Jump equations need to run

I'm not sure if they are fully updated or not. @isaacsas help? :)

Thanks for the reminder. I’ve got several of them locally converted, but it was a while ago. I’ll try to finish updating them and merge back in now that the Weave branch is the default. I’m hopefully done traveling for a bit so should have some time to work on this soon.


Commit components across all designs

[ ] Review list of components to be committed
[ ] Commit specs for components across the designs
[ ] Propagate committed components to existing designs

I am 95% certain this has been done in figma. closing for now.


improve!: LDP-2461: remove deprecated baseURL option and fix configuration fallbacks to apply at runtime

closes #203

fixes #205


Improve violations doc to include the entire report format

Thanks for the documentation on Violations: https://github.com/konveyor/analyzer-lsp/blob/main/docs/violations.md
Could violations have an identifier (just an incremental number) ? So we could have:
  violations:
    id: 1
    chain-pom-001:
      description: ""
    id: 2
    chain-pom-002:
      description: ""

@agoncal I wonder if the ruleset and the rule name combination would work for the ID because they must be unique.
If that doesn't work, can you help us understand what you would use this ID for?


Update CRD's to be compatible with apiextensions.k8s.io/v1

Update CRD's to be compatible with apiextensions.k8s.io/v1. More info here.
I have applied this to my own cluster, but please also test before merging.
Fixes #11

@bobbywatson3 I have pushed an update on your branch that upgrades controller-gen to 0.6.0 and regenerates the CRDs with make manifests. Let me know if this looks good for you.

@alfredkrohmer @bobbywatson3 This pull request has been here quite sometimes. Wonder if will it merge into the master branch and get built. I am interested this project and plan to use it. But I am currently using k8s 1.22.

@alfredkrohmer @bobbywatson3 Wonder if will it merge into the master branch and get built? I am interested in this project and plan to use it. But I am currently using k8s 1.22.

@bobbywatson3 I have pushed an update on your branch that upgrades controller-gen to 0.6.0 and regenerates the CRDs with make manifests. Let me know if this looks good for you.

@alfredkrohmer looks good to me.

@bobbywatson3 Thanks for looking into it. The pull request is still in open state, presumably it can be merged now?

@bobbywatson3 can you merge in the pull request? thanks.

@bobbywatson3 Hi, can you merge in the pull request if it looks alright? thanks.

I do not have permission to merge pull requests.

Noted @bobbywatson3. @alfredkrohmer can you help to merge in the pull request? appreciated.

Superseded by #14


Go support not working at all

Check for existing issues

[X] Completed

Describe the feature
Opened this project in Zed: https://github.com/nikitavoloboev/sol-pay
Opened this file: https://github.com/nikitavoloboev/sol-pay/blob/main/main.go
In Zed:

In VSCode:

No idea what I am doing wrong. But I wish I could use Zed for Go code too.

https://gist.github.com/nikitavoloboev/5be6fb1411bb857dcce7156c7fa3cc80
here it is
I got the logs after doing this in a file

Sorry for giving you poor instructions, these are unfortunately the logs for the tailwind language server.
At the top of the screen after going to cmd-shift-p debug: Open Language Server Logs there is a dropdown selector for which language. You'll need to select "Go language server (sol-pay)" and it should look like this:

@ConradIrwin
I think Go language server never got started as I don't see it here.

Bizarre. Thanks for checking.
Is the language set to Go in the buffer?
Conrad
On Tue, Sep 19, 2023 at 1:37 AM, Nikita @.***> wrote:

@ConradIrwin https://github.com/ConradIrwin
I think Go language server never got started as I don't see it here.
[image: image]
https://user-images.githubusercontent.com/6391776/268876885-35791731-a1a3-4c53-8f24-c746dffef187.png
—
Reply to this email directly, view it on GitHub
https://github.com/zed-industries/community/issues/2047#issuecomment-1724983163,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAXAQHGLDKM34GOY3XBGK3X3FDULANCNFSM6AAAAAA42ZNFBM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Yes

I think that means I need to create a go workspaces file at ~/src?

@nikitavoloboev thanks for the screenshot!
This is caused by a poor handling of multiple go modules in go-pls (with a confusing error message to add to the confusion).
For more information see here: https://github.com/golang/tools/blob/master/gopls/doc/workspace.md, but TLDR you should be able to fix this by adding a go.work file at the top level that contains a list of directories containing modules and then running cmd-shift-p editor: Restart Language Server.
# go.work
go 1.21.1

use (
  ./go/sol-pay
  ./other/modules/...
)

Do you have the same issue in VSCode? If not I think we need to figure out how they work around this and copy that.

Thanks for jumping in here to help @ConradIrwin - appreciate it!


Refactor delete methods and fix delete session command

Resolves #149.
The immutable classes now provide a remove* or update* method that returns a new instance by removing or updating a particular field.  This should greatly improve the abstraction.

Codecov Report
Base: 69.48% // Head: 68.75% // Decreases project coverage by -0.73% :warning:

Coverage data is based on head (69071fc) compared to base (9247284).
Patch coverage: 25.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #207      +/-   ##
============================================
- Coverage     69.48%   68.75%   -0.74%
+ Complexity      591      590       -1
============================================
  Files           102      102
  Lines          1881     1888       +7
  Branches        210      207       -3
============================================
- Hits           1307     1298       -9
- Misses          500      516      +16
  Partials         74       74

Impacted Files
Coverage Δ

.../seedu/taassist/logic/commands/DeletesCommand.java
33.33% <0.00%> (+8.33%)
:arrow_up:

...va/seedu/taassist/logic/commands/GradeCommand.java
24.13% <0.00%> (ø)

src/main/java/seedu/taassist/model/Model.java
100.00% <ø> (ø)

.../seedu/taassist/model/moduleclass/ModuleClass.java
76.92% <0.00%> (-10.04%)
:arrow_down:

.../taassist/model/moduleclass/StudentModuleData.java
48.14% <0.00%> (-3.86%)
:arrow_down:

...c/main/java/seedu/taassist/model/ModelManager.java
68.81% <22.22%> (-8.20%)
:arrow_down:

...ain/java/seedu/taassist/model/student/Student.java
77.77% <30.76%> (+1.50%)
:arrow_up:

src/main/java/seedu/taassist/model/TaAssist.java
76.78% <45.45%> (-9.89%)
:arrow_down:

...a/seedu/taassist/logic/commands/DeleteCommand.java
100.00% <100.00%> (ø)

.../seedu/taassist/logic/commands/DeletecCommand.java
100.00% <100.00%> (ø)

... and 3 more

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

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

We need to edit javadocs later anyway for consistency in v1.4. This is good for now.


Activating Open Collective

Hi, I'm making updates for Open Collective. Either you or another core contributor signed this repository up for Open Collective. This pull request adds financial contributors from your Open Collective https://opencollective.com/newtonsoftjson-for-unity❤
What it does:

adds a badge to show the latest number of financial contributors
adds a banner displaying contributors to the project on GitHub
adds a banner displaying all individuals contributing financially on Open Collective
adds a section displaying all organizations contributing financially on Open Collective, with their logo and a link to their website

P.S: As with any pull request, feel free to comment or suggest changes.
Thank you for your great contribution to the Open Source community. You are awesome! 🙌
And welcome to the Open Collective community! 😊
Come chat with us in the #opensource channel on https://slack.opencollective.com - great place to ask questions and share best practices with other Open Source sustainers!

Thank you @monkeywithacupcake so much for adding this! Cool of you to scan the projects and creating PRs like this.
Will merge as soon as I've had some questions answered over at the slack channel. Still wondering about this whole deal about "financing a repo fork". We'll see.
❤

Hey @monkeywithacupcake, is it cool to edit the


Add and_then?

It would be useful to have:
fn and_then<F, U: ?Sized>(self, f: F) -> Option<OwningRef<O, U>> where O: StableAddress, F: FnOnce(&T) -> Option<&U>

Sometimes, the converstion in f can be conditional and sometimes yeild no results. Example would be Any::downcast_ref(), that I'm using here:
https://github.com/dpc/mioco/pull/130/files#diff-08f34ae8c4d103993320447b5f4f1fcdR507
Because I have no better way to do it, I have to first check if the operation will fail or not, and then repeat it if needed.

I added a try_map() function that works with a Result that should solve this case.

Got a thumbs up, so I assume this is solved. :)


Add Numeric Data Type in core workspace

Issues for tracking purposes
https://github.com/gluesql/gluesql/blob/main/core/src/data/value/mod.rs#L24-L43
Numeric
UINT

[ ] UINT(8)
[ ] UINT(16)
[ ] UINT(32)
[ ] UINT(64)
[ ] UINT(128) #482

INT

[x] INT(8) https://github.com/gluesql/gluesql/pull/407
[x] INT(16) https://github.com/gluesql/gluesql/pull/632
[x] INT(32) https://github.com/gluesql/gluesql/pull/608
[x] INT(64) https://github.com/gluesql/gluesql/commit/0244b769431eae941e669fd8370805507b1aac92
[x] INT(128) https://github.com/gluesql/gluesql/pull/563

MEDIUMINT

[ ] MEDIUMINT(integer)
[ ] MEDIUMINT(integer) UNSIGNED

TINYINT

[ ] TINYINT(integer)
[ ] TINYINT(integer) UNSIGNED

FLOAT

[ ] FLOAT(32) #688
[x] FLOAT, FLOAT(64) https://github.com/gluesql/gluesql/pull/21

SMALLINT

[ ] SMALLINT(integer)
[ ] SMALLINT(integer) UNSIGNED

BIGINT

[ ] BIGINT(integer)
[ ] BIGINT(integer) UNSIGNED

DECIMAL

[x] DECIMAL https://github.com/gluesql/gluesql/pull/377

If anything is missing, please reply. I'll add it.
If there is anyone who can proceed, dig up a new issue
Please leave the 623 issue as a reference.

reference: https://dev.mysql.com/doc/refman/8.0/en/integer-types.html

Adding an integer data type just got easier.
Please refer to
https://github.com/gluesql/gluesql/pull/915/commits/160d34b8042e7e5247a7009f7d82cb70ed2bcfcf
Instead, adding a new type should handle some branching in the macro.


Question on “Writing a Custom Voting Strategy”

Hey folks,
Reading through this page:
https://docs.allo.gitcoin.co/strategies/writing-a-custom-strategy

Fork the allo-protocol/contracts repo.

Is this the correct repo? Or do we want to use contracts in v2?
https://github.com/allo-protocol/allo-v2

This is a typo and thanks for flagging. It should link to Allo v2 contracts repo here


Certiticate parse error in verifyAttestationResponse

I am trying out the webauthn process using Chromes webauthn dev tools with protocol ctap2 and transport internal, and on the server side I am getting the following error
Error: hExtV parse error:<PHONE_NUMBER>
    at X509.getExtBasicConstraints (.../node_modules/jsrsasign/lib/jsrsasign.js:249:3670)
    at Object.getCertificateInfo [as default] (.../node_modules/@simplewebauthn/server/dist/helpers/getCertificateInfo.js:41:53)
    at Object.verifyAttestationPacked [as default] (.../node_modules/@simplewebauthn/server/dist/attestation/verifications/verifyPacked.js:53:107)
    at verifyAttestationResponse (.../node_modules/@simplewebauthn/server/dist/attestation/verifyAttestationResponse.js:166:48)

Hello @r0kk3rz, can you please provide a sample attestation from that virtual authenticator that causes this error?

Here is the response i am receiving from the client:
{
    "id":"9HEeR9BWrt7Z7pYJLEuqoSZ69qtIgBqWe8rthIxpIBQ",
    "rawId":"9HEeR9BWrt7Z7pYJLEuqoSZ69qtIgBqWe8rthIxpIBQ",
    "response":{
        "attestationObject":"o2NmbXRmcGFja2VkZ2F0dFN0bXSjY2FsZyZjc2lnWEgwRgIhAOj3W82tCaw04Qy-PYqkPYKHlox2cDd_OHFoZV9foh85AiEA5XsVMN_jUXJidHCy6uu7thhldCuyNct4BVdHKWNHonBjeDVjgVkB4jCCAd4wggGAoAMCAQICAQEwDQYJKoZIhvcNAQELBQAwYDELMAkGA1UEBhMCVVMxETAPBgNVBAoMCENocm9taXVtMSIwIAYDVQQLDBlBdXRoZW50aWNhdG9yIEF0dGVzdGF0aW9uMRowGAYDVQQDDBFCYXRjaCBDZXJ0aWZpY2F0ZTAeFw0xNzA3MTQwMjQwMDBaFw00MTAzMjUwNzQ2MzRaMGAxCzAJBgNVBAYTAlVTMREwDwYDVQQKDAhDaHJvbWl1bTEiMCAGA1UECwwZQXV0aGVudGljYXRvciBBdHRlc3RhdGlvbjEaMBgGA1UEAwwRQmF0Y2ggQ2VydGlmaWNhdGUwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASNYX5lyVCOZLzFZzrIKmeZ2jwURmgsJYxGP__fWN_S-j5sN4tT15XEpN_7QZnt14YvI6uvAgO0uJEboFaZlOEBoygwJjATBgsrBgEEAYLlHAIBAQQEAwIDCDAPBgNVHRMBAf8EBTADAQEAMA0GCSqGSIb3DQEBCwUAA0kAMEYCIQDY1rS1fjJp0Cj6n6_Cum8KdD4uTcUzvPag1nATnWUTgAIhAKavHd40jscCBY9k1dwZn2BAcAoW9NpdEfQEyeJjVDakaGF1dGhEYXRhWKRJlg3liA6MaHQ0Fw9kdmBbj-SuuaKGMseZXPO6gx2XY0EAAAABAQIDBAUGBwgBAgMEBQYHCAAg9HEeR9BWrt7Z7pYJLEuqoSZ69qtIgBqWe8rthIxpIBSlAQIDJiABIVggXMH-sW7hiD9ibrXbVn-IM6Xj70Wj_8rxAlLmIAifrhciWCAgTbxE_2lF2pZlhNOmcebcv7KlbMx998ENx8RAVrzqOA",
        "clientDataJSON":"eyJ0eXBlIjoid2ViYXV0aG4uY3JlYXRlIiwiY2hhbGxlbmdlIjoib1k5RGhCNVpEODRUN2VnY2gyeDgyaW9vWm02THNtZjBvUXJjcE4tZGxENCIsIm9yaWdpbiI6Imh0dHBzOi8vbG9jYWxob3N0Ojg0NDQiLCJjcm9zc09yaWdpbiI6ZmFsc2V9"
        },
    "type":"public-key",
    "clientExtensionResults":{},
    "transports":["internal"]
}

These are the options I am setting:
    const options = generateAttestationOptions({
        rpName,
        rpID,
        userID: user,
        userName: user,
        attestationType: 'indirect',
    })

I dug deep for this one: it turns out the jsrsasign dependency doesn't know how to handle the Chrome WebAuthn authenticator's thoroughly-implemented X.509 leaf certificate that specifies the byte sequence that represents whether cert is a certificate authority's (I think; I'm not as well-versed on X.509).
I have an idea for a solution in the interim that can handle this case while I submit a PR to that project to add in support for the legitimate value returned by the virtual authenticator. 🤔

It turns out Chrome's virtual authenticator feature had a bug in it! They were explicitly defining this basicConstraint value (indicating the cert is not for a certificate authority) when, according to ASN.1 DER encoding rules, i should have been implicitly defined. The bug was logged and fixed here:
https://chromium-review.googlesource.com/c/chromium/src/+/2797998/
I pulled down the latest Chrome Canary v91 today and confirmed the issue no longer exists. This issue will eventually solve itself when this bugfix makes its way into Chrome GA.


Upgrade Error Prone fork v2.16-picnic-1 -> v2.16-picnic-2

Suggested commit message:
Upgrade Error Prone fork v2.16-picnic-1 -> v2.16-picnic-2 (#410)

See:
- https://github.com/PicnicSupermarket/error-prone/releases/tag/v2.16-picnic-2
- https://github.com/PicnicSupermarket/error-prone/compare/v2.16-picnic-1...v2.16-picnic-2

For the past ~24 hours all builds have failed while trying to fetch version v2.16-picnic-1. I'm not sure what that's about and don't really have time to investigate, so I hope that this upgrade will just make it go away :eyes:.

 Great :D


2.05: spurious read errors on FUSE mount

One master, two volume servers, two filers with -peers, -defaultReplicaPlacement=001 and -encryptVolumeData.
Reading files from FUSE mount randomly fails, sometimes after 4 GiB read, sometimes after 6 or 7 GiB. One in 2400...3500 files fails to read with Read failed: Input/output error.
Mount prints ... filehandle.go:81] file handle read {FILENAME} 0: EOF.
Repeating recursive read of all files fails in about a minute on a random file. Reproducible 100%. No other errors logged by any other components.

Repeating recursive read of all files fails in about a minute on a random
file. Reproducible 100%. No other errors logged by any other components

What is the command to reproduce this?

Added a fix. Not quite sure how to confirm the fix.

What is the command to reproduce this?

You have to use some sort of recursive integrity check utility reading significant amount of data. I've copied 17288 files to SeaweedFS, 67 GiB total. On this instance I'm reading all the files and checking their integrity against pre-calculated digests from another file system using https://gitlab.com/onlyjob/hasher (but it could be any other utility).

Added a fix. Not quite sure how to confirm the fix.

I would be delighted to test. :) Thank you for quick resolution.
With c0ab458 I could not reproduce the issue any more.  I've read the whole dataset successfully, several times (formerly, before c0ab458, I could not do it even once).
I think you've nailed the problem perfectly. Thank you. Closing.

It would be a fun project to convert hashier from Perl into Go.

Why bother? I'm not excited about spending time to re-write something that works well in a different language only to have identical functionality in the end. Maybe as a learning opportunity but in such case I would probably chose Rust. ;)
Anyway, IMHO hasher is unworthy of rewriting. It is neither popular nor important and it is pretty useful (to me) as is...


Run tests in the browser and natively

Custom hashing and isEqual implementations don't seem to be needed, as different instances of URLResponse on macOS always return different hash values and aren't equal to each other. Tests for this were updated accordingly.
Also added .swiftformat for consistent formatting across multiple files.
@yonihemi let me know if you prefer 4 or 2 spaces formatting, I'm only using 4 spaces here as that's how the majority of files were formatted.

Regarding formatting: Most of the code in Request/Response+tests originates from corelibs-foundation. We'd want to keep track of upstream changes for those and I'm afraid of a more difficult task with a lot of whitespace difference. Could we exclude those specific files from auto formatting?

Ah, sorry I missed the fact that it's original Foundation code.
@yonihemi WDYT of relicensing it all as Apache 2.0 for making it easier to contribute back to upstream Foundation if needed?

@yonihemi WDYT of relicensing it all as Apache 2.0 for making it easier to contribute back to upstream Foundation if needed?

Yes, was thinking the same. There's a note on the bottom of LICENSE but better to just change to Apache 2.0 as you suggest.

better to just change to Apache 2.0 as you suggest.

Great, that's done now. 👍


Latency of TAGE-SC-L

Hi, may I ask a simple question about your paper? In your paper you said TAGE-SC-L costs 4 cycles to predict, could you please explain why? I can just count 3, maybe I lost some precedures. Thanks!

I provided the answer to your question below, but can you tell me how you arrived at the number 3? What do you mean by counting "procedures"?
The latency is just an estimate using CACTI for large structure accesses and manually counting gate delays for logic structures.  Note that a more accurate estimate of latency needs implementing TAGE-SC-L in RTL and using modern synthesis and routing tools to measure the latency of a specific design.
Quoting the paper, this is what we assumed TAGE-SC-L's critical path to be: "The critical path of TAGE-SC-L: accessing banked TAGE tables, tag comparisons, TAGE mux tree (with a depth of log(n)), selection logic for alternative prediction and the loop predictor, accessing the statistical corrector GEHL tables, a 20-input 6-bit adder tree, and final selection logic."
In comparison, this is how BranchNet's latency is estimated. "The critical path of updating the convolutional histories consists of hashing the most recent branches, the convolution table look-up, an addition (7-bit running sum), quantization,
and insertion into a convolution history buffer. Using CACTI [39] for the table lookups and counting the gate delays of the
arithmetic operations, we computed the update latency to be roughly equal to the latency of a 64-bit Kogge-Stone adder (21
gate delays). Since 64-bit additions are single-cycle operations in modern processors [40], we estimate that Mini-BranchNet updates are also single-cycle operations. The critical path of the prediction pipeline for a 2KB Mini-BranchNet model includes the weight table look-up, the selection of the convolutional history, and a forward pass of the fully-connected layers (a 4-bit multiply, a 110-input 8-bit adder tree, a comparison, and accessing a 1024-entry table). The prediction latency is roughly 4 times the latency of a 64-bit Kogge-Stone adder. The latency of a 64KB TAGE-SC-L5
is 1.1 times the latency of the Mini-BranchNet inference engine. Thus, we conservatively estimate both Mini-BranchNet and 64KB TAGE-SC-L are 4-cycle predictors."

I do consider it in RTL way. In your assumption, "The critical path of TAGE-SC-L: accessing banked TAGE tables, tag comparisons, TAGE mux tree (with a depth of log(n)), selection logic for alternative prediction and the loop predictor, accessing the statistical corrector GEHL tables, a 20-input 6-bit adder tree, and final selection logic." , does this mean:
stage1: access TAGE table, tag comparisons, TAGE mux tree, access loop predictor,
stage2:  access the statistical corrector GEHL tables,
stage3: a 20-input 6-bit adder tree,
stage4: final selection logic.
In my view, corrector GEHL tables accessing and TAGE table accessing can be done concurrently（access GEHL tables to get ctr of all confidence and then use a Mux to select ），that's how I get 3 cycles.

I see. If you actually implement the predictor in RTL, and synthesized and routed using a specific technology, that is more accurate than counting gate delays. Technically, you still need the complete design of a core to know what the cycle time is. Basically, the more you simulate and design, the more accurate your estimation is. I'm not sure exactly how you're estimating your cycle time.
I did not actually design a 4-stage RTL design, so I do not know what the 4 stages look like. However, your proposed 4 stages do not seem balanced. The final selection logic is probably has a much shorter latency than the other stages. You want to divide the latency across all stages equally, and the stage boundaries do not have to be at the boundaries of the high-level components.
I suppose you could access TAGE and GEHL tables concurrently and then use a mux to select the correct GEHL entries based on TAGE's output. But note that one of the SC tables is indexed by 5 TAGE bits, meaning you need to access 32 entries, when only really needing 1 of them. You also need to include the 32-to-1 mux in the critical path. I do not know which way is faster.

Ok,  thanks for your suggestion, I will consider it seriouly.


[Feat] Add highway assignment and skim tests

In order to validate that the code pieces for highway assignment and skims work now, and with any additional development, we need to develop a basic set of tests.

[x]  unit tests
[x] integration tests

Closed via #16


Display inventory package

If:

Receive O package, or, E was pressed.

Then:

Display a 16x8 inventory on the screen. The server sends a list of items to display: -1, 0, 1, 2 ...

-1 is "disabled", this slot is hidden.
0 is an empty slot
1+ to display a block

@petterarvidsson We have talked about to change the I package to send data to both inventories. Just to be clear, is this correct:
Currently the I package is defined like this:
if (sscanf(line, "I,%d,%d,%d", &pos, &amount, &id) == 3) {

And we intend to change it to this:
if (sscanf(line, "I,%d,%d,%d,%d", &inv, &pos, &amount, &id) == 4) {

(where inv is the inventory number, 0 for the belt and 1 for the new inventory)
I this correct?
Should we drop the O package completely and just open the external inventory for any package that updates "inventory 1"? Or do we like to keep them separated?

That looks correct. I'd say let's drop the O field for now.

I did something like this, to keep comparability with the current server:
#if PROTOCOL_VERSION == 3
  // code for v3
#else
  // code for v4
#endif


Feature Request: Support for Multiple Level Systems

I would like to request a feature that allows the creation of multiple, distinct level systems within the plugin. Each level system should be able to have a unique name for easy differentiation and management. This feature would greatly enhance the flexibility and usability of the plugin, especially for servers with multiple game modes or role-specific level systems.
Proposed Functionality:
Multiple Level Systems:
Implement functionality to support the creation and management of multiple level systems.
Each level system should be independent, with its own set of levels, experience requirements, and rewards.
Named Level Systems:
Allow each level system to be assigned a unique name.
These names should be used for referencing and managing the level systems within configuration files and in-game commands.
In-Game Commands:
Introduce new or updated commands to interact with the different level systems.
Commands should include options to specify which level system to interact with based on its name.
Benefits:
This feature will allow server administrators to create more complex and varied gameplay experiences by utilizing multiple, named level systems.
It provides clear organization and separation of different leveling systems, reducing potential confusion and management overhead.

in addition to the above add support in the level.yml for & together with hex colors and gradients, as currently you have to use §

Thank you for your advice.
It may be adopted in the following version.

Hello!
Thank you for your suggestion.
The Multiple Level Systems feature has been basically completed and will be released in version 4.0. Here is a snapshot of version 4.0 (currently available only in Simplified Chinese).
Please note that the data structure of version 4.0 is significantly different from 3.x, so make sure to back up your previous player data before installation to prevent any data loss.


Sidebar empty state links to an old documentation page

Description

The sidebar empty state links to an old doc.
This could send new users astray, especially if they're kicking the tires with Tina Init and they open the sidebar on a page that's not our init demo content.

@spbyrne Just flagging this for you.  Seems like we'll want to get this fixed before the beta.

What link should we point to? https://tina.io/docs/forms/?
Look like it's just a matter of updating a URL (and publish a new release)
https://github.com/tinacms/tinacms/blob/1a16ef190c3ad07c16751d87acbf27759d14d347/packages/%40tinacms/toolkit/src/packages/react-sidebar/components/NoFormsPlaceHolder.tsx#L34-L36


Public contributions to point into master branch

Docs Build status updates of commit 9c9f08d:
:clock10: Pending: waiting for processors (83 builds ahead of you)
:warning: Docs Build is busy, currently there are 83 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 9c9f08d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Clean CLustertConfigurationVersion after the deletion is completed

Description
Changes proposed in this pull request:

clean CLusterConfigurationVersion must be cleaned after the deletion is completed

Related issue(s)

/retest

/retest


Fetcher and Headers should be mutable per request.

Hello,
Thank you for the great library. I hit couple roadblocks. When I create client on client side it works great. When I need to write tests I need to add custom headers, this is not allowed after client is created. Also for fullstack frameworks like SvelteKit, we have custom fetcher on the server side which works as event bus. I need to reinstantiate the client on server side, which seems unnececssary. I think it would be helpful to have client created with given data but when you do a query or mutation I should be able to individually set those parameters per request for edge cases. I can edit the library myself but need to fork it then. What do you think about this request?

You can pass a function for headers to change them
https://genql.dev/docs/usage/create-the-client#e670ccc1623a47bfa6a482a297e03f47

Instantiating a new client is a cheap operation


Fix front and backend

The pullari created by Herman cannot be directly pushed to main because frontend requires changes for the system to remain functional. This pull request combines the work made by Herman with the required frontend changes to add a working increment towards main.

This should be good after merging latest changes from my branch and resolving conflicts


[BUG] Git logo link not working!!

What / Why
I was surfing through the npm website. There is a Github logo in the footer that doesn't link to the repo.
When
whenever you open the website
Where
npm official website : npmjs.com
How
Current Behavior
inactive icon links
Expected Behavior
should link to this organization repo
Who
@everyone
References
check out the website npmjs.com

It’s not supposed to - it’s the company that owns npm.

hey @restrictedCodex thanks for opening the issue. This repo is for tracking work on the docs, where as this is a report about the general website.
There is an existing discussion tracking the addition of the GitHub logo to the site
https://github.com/npm/feedback/discussions/93
We'll keep that discussion up to date with developments. Currently talking to engineering about what we want to do with those icons.


Fixed link to bootstrap css

Pre-Submission Checklist

[Y ] Your pull request targets the staging branch of FreeCodeCamp.
[Y ] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[Y ] You have only one commit (if not, squash them into one commit).
[Y ] All new and existing tests pass the command npm run test-challenges. Use git commit --amend to amend any fixes.

Type of Change

[Y ] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[Y ] Tested changes locally.
[Y ] Closes currently open issue (replace XXXX with an issue no): Closes #XXXX

Description

After trying the example in my own html file, I found that the provided link did not work.  http://getbootstrap.com/dist/css/bootstrap.min.css worked.  Removing // led my browser to http://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css which also worked.  I applied the change to all six instances in bootstrap.json which fixes links to bootstrap and font-awesome css files.

@TechnologyClassroom your browser should have been able to find the correct web resource without the scheme (http or https). Here's a discussion on the topic. What browser are you using? In response to your PR, I don't think this is a necessary change.

Firefox 49.0.1 and Chrome 53.0.2785.116 m (64-bit) for Windows 7 Pro apparently are not URI syntax complaint from the RFC.  According to that link they should be.
To test, try to run these html files in your browser.  WithScheme works for me.  WithoutScheme does not.
HTML.zip

@TechnologyClassroom thanks for the code and browser specs. I was able to reproduce your issue. However, I think the real issue is that when you run your web pages directly in web browsers, it has some restrictions on it.
Usually, web pages are served by servers and so to really test your web pages, you should serve it on some servers. Here I've set up a server locally (I've used MAMP) to show the code you have it works fine.

I've even copied the code onto CodePen and it works just fine.

I learned something from this pull request.  I will test my code with my local Nginx server in the future.  I had never seen a difference between a local page and a local server.  You showed me RFC 3986 and CodePen.  Thank you, Eric!


[ACS JobRouter] Add job scheduling properties to JobRouter

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Communication.JobRouter


Trying to run sheepit using zluda

I think the issue is when some process run subprocess when started with zluda, in this case sheepit detect zluda gpu, but its launching blender and blender seems not be able to detect zluda (propably the blender process is not ran via zluda?)
ps sheepit is java based its just job dispatcher and running handless blender

Tried to run as admin, my command im using is
zluda.exe -- "C:\Program Files\Eclipse Adoptium\jre-<IP_ADDRESS>-hotspot\bin\java.exe" -jar "C:\Users\barto\OneDrive - 0mfx0\Pulpit\animtest\sheepit-client-7.24059.0.jar"

It looks like you are rendering with OptiX. ZLUDA's OptiX does not work with Blender as is not even distributed with ZLUDA

It looks like you are rendering with OptiX. ZLUDA's OptiX does not work with Blender as is not even distributed with ZLUDA

Yeah, but normally blender works with those if im not wrong it still uses cuda not optix but its named diffriently, or im wrong, but running blender using zluda work well


Using autoWidth:true, loop:true, and autoplay:true. Gaps at end of loop.

loop doesn't seem to work correctly when using autoWidth:true, loop:true, and autoplay:true together, see this fiddle: http://jsfiddle.net/yau5fy66/
When getting to the end, theres a gap, few seconds, and then jumps into place again...

Yes, I can report this too ... I thought at first that it was an code optimization issue (cloning items is probably "heavy job" fo browser), but it seems more like  bug ... :(

while loop is false; also slider not working well, as last item should not have space at the end
http://jsfiddle.net/yau5fy66/6/
please fix the bug.
thank you.

for the above problem
/.owl-carousel .owl-item img {
transform-style: preserve-3d;
}/
.owl-carousel .owl-item img {
display: block;
width: 100%;
/-webkit-transform-style: preserve-3d;/
}
comment those styles will solve the problem
as i was did the same for our project.
thank you.

I have this problem too.

We have this problem too. fix plz.

the same here. Quick and dirty try change the following line
Owl carousel @version 2.0.0
Line 289:
delta = this.settings.loop ? clones.length - Math.max(this.settings.items * 2, 4) : 0;
delta = this.settings.loop ? clones.length - Math.max(this.settings.items * 2, 18) : 0;

Also noticing this issue, with autoplay set to the default setting (false) and autoWidth:true, loop:false.


Where to find pretrained models presented in the paper

Hi, I was curious about are you planning to release the pretrained models mentioned in the paper or is it already released somewhere else?

The GemNet-OC model weights used in the paper are available here. We're working on getting the relevant SCN model weights ready for release, but that might take a while.


Slow startup on android?

Tried on Poco x3 NFC and motorola g3 - bare bones helloworld starts equally slowly, about half a second - no big deal of a game but a deal breaker for an app you expect to use often. Is there any mitigation?

If you want speed you should stick with Java. The way it runs the Kivy applications on your device is Python through Java. The amount of time it takes is getting better as devices are much faster today than five years ago + some optimizations in the code.


Update backing-up-and-restoring-an-active-directory-server.md

Clarification on the incrmenetal backups statment

For history on this internally we are using Veeam Backup and Restore that lists support for backup on AD
https://www.veeam.com/blog/backing-up-domain-controller-best-practices-for-ad-protection.html
and are getting pushback from clients based on the docuemtation on the above page as well as this one
https://learn.microsoft.com/en-us/windows/win32/ad/backing-up-and-restoring-an-active-directory-server


Refine

This version is update for iOS8.
It's support iPhone 6 and iPhone6Plus.
Fix the cell size for All Device in landscape or portrait.

Now checking.

You added a cell size for iPhone 6/Plus and Chinese localization, right?
Thanks!

Oh, you also modified en.lproj/QBImagePickerController.strings.


help command is not helpful

The help command for the start command is missing
help
    containers      List available containers
    help            Print help
    install         Install a container
    mount           Start a container
    quit            Quit
    repositories    List configured repositories
    shutdown        Shutdown Northstar
    start
    stop            Stop a container
    umount

It does not indicate that one must now also add the version number to the start command.

Also, I don't know where the gifs are coming from, but they should be removed as they may not render correctly on all terminals.
 uninstall       Uninstall a container✔ success
📣  Started(Container { inner: Inner { name: "hello-world", version: Version { major: 0, minor: 0, patch: 1, pre: [], build: [] } } })
➜ stop hello-world 0.0.1
📣  Stopped(Container { inner: Inner { name: "hello-world", version: Version { major: 0, minor: 0, patch: 1, pre: [], build: [] } } })

I'll try to address these issues in #299


Update Jtreg version

Close #2642
Signed-off-by: Sophia Guo<EMAIL_ADDRESS>

Depends on https://github.com/adoptium/TKG/pull/215


[SPARK-28757][SQL] File table location should include both values of option path and paths

What changes were proposed in this pull request?
If both options path and paths are passed to file data source v2, both values of the options should be included as the target paths.
Why are the changes needed?
In V1 implementation, file table location includes both values of option path and paths.
In the refactoring of https://github.com/apache/spark/pull/24025, the value of option path is ignored if "paths" are specified. We should make it consistent with V1.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Unit test

Test build #109206 has started for PR 25473 at commit 47854e8.

@cloud-fan

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14276/
Test PASSed.

Test build #109206 has finished for PR 25473 at commit 47854e8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109206/
Test PASSed.

thanks, merging to master!


add options to useAuthState hook "onUserChanged"

Add possibility to pass options for onUserChanged, a function which is called if a user auth state changed.
This might close https://github.com/CSFrequency/react-firebase-hooks/issues/33

Thanks @dohomi and apologies for the slow review of the PR. I think this is an interesting way of solving the problem and can't decide if this or a useIdTokenResult hook might be a better approach?

@chrisbianca I added a try catch block inside of the function. I followed the documentation of Firebase thats why I added the option into the result of the onUserChanged. I am not sure if useIdTokenResult is handling it in the same way.

v5 is now released: https://github.com/CSFrequency/react-firebase-hooks/releases/tag/v5.0.0


Error when using HNSWLib/MemoryVectorStore

I am trying to use HNSWLib for the code below.
`
import { HNSWLib } from "langchain/vectorstores/hnswlib";
import { OpenAIEmbeddings } from "langchain/embeddings/openai";
console.log("Start HNSWLib vectorstore");
    const vectorStore = await HNSWLib.fromTexts(
        ["Hello world", "Bye bye", "hello nice world"],
        [{ id: 2 }, { id: 1 }, { id: 3 }],
        new OpenAIEmbeddings()
    );
    console.log("HNSWLib similaritySearch");
    const resultOne = await vectorStore.similaritySearch("hello world", 1);
    console.log("My result");
    console.log(resultOne);`

This is the error I am getting:
rejected promise not handled within 1 second: ReferenceError: Headers is not defined extensionHostProcess.js:102 stack trace: ReferenceError: Headers is not defined     at createRequest (/home/matheus/<package>/dist/extension.js:29734:21)     at fetchAdapter (/home/matheus/<package>/dist/extension.js:29655:21)     at dispatchRequest (/home/matheus/<package>/dist/extension.js:27012:10)     at Axios.request (/home/matheus/Projects/<package>/dist/extension.js:26769:15)     at Function.wrap [as request] (/home/matheus/<package>n/dist/extension.js:26652:15)     at /home/matheus/Projects/<package>/dist/extension.js:28819:22     at /home/matheus/Projects/<package>/dist/extension.js:25955:123     at async RetryOperation._fn (/home/matheus/Projects/<package>/dist/extension.js:30236:12)
I did the same test for MemoryVectorStore and the same error is happening.

Are you using Node v18? Switching to 18 did it for me.
thx to @LarchLiu in https://github.com/hwchase17/langchainjs/issues/747#issuecomment-1504487312 for pointing it out.

I am using Node v18.15.0 and npm v9.6.5
I also tested with node v19 and v20 but I get the exact same error on both.

I did a node js app here and it worked!
However, the problem persists inside the vscode extension application I am developing.

for me i get the error bellow and until now cannot found solution to fixe it:
Error: Timeout was reached

@masasso i am using node v18.16.0 i send request and i get any thing, i increase timeout still nothing


Add zkSync / Immutable to registry

Those are EVM compatible zk rollup L2 networks

اضافه کنید

@hewigovens is anyone working on the issue? If not, I would like to take the issue.

@AyushBherwani1998 we're refactoring to support any evm chain without changing code: https://github.com/trustwallet/wallet-core/issues/2214, this issue is on hold

Hi @hewigovens, Is anyone picking StarkNet integration as well ? or I can look into it

@punithbm https://github.com/trustwallet/wallet-core/issues/2679 need to fix this, contributions are welcome


Add option to avoid direct .value changes from triggering event handlers

Hello,
I've been trying to implement the accessible-autocomplete inside a html table which has 3 instances of accessible-autocomplete per row (one instance for each column).
What I'm trying to do is to set the two other column's instances of autocomplete input.value with javascript with a custom onConfirm:function(){... input.value = "newValue"}
The problem arise when the value gets injected because all events trigger at the same time when autoselecting with the "Tab" control.
For reference here you can see the result of trying to change CATEGORIE + TAXE from the onConfirm of NOM:
https://i.imgur.com/1ny6TJJ.png

The CATEGORIE column should have been "Honoraires professionnels" but it was skipped probably because a focusin event happenned so fast on it just before setting TAXE to "QC".
The other problem is that the menu--overlay is showing up too.
The desired result would be something like this:
https://i.imgur.com/78XAKDE.png

I tried disabling the other input before changing the values. I also tried to make _listeners = "" while changing values too.
In any case it doesn't handle it well because there seems to be too many thing happening at once.
Bottom line, would it be possible to have an option allows direct value changes without triggering all the bound event handlers please ?
PS: I cannot edit the source code, I'm just starting out in Javascript
Thanks in advance for any hints
EDIT: I managed to be able to get a bit of success by creating empty input fields before instantiating autocompletes in my  cells to be able to create the instance with a default value, but its very messy and hard to manage.

+1 for this, we've encountered a similar problem.
We're using this component for a search input box, and we're using the history API to change the URL of the page dynamically, for example to /search?q=text.. When a user navigates using the browser back/forward buttons we're grabbing the q parameter value from the querystring and updating .value on the input, which triggers the autocomplete suggestions to load.

@DRocksCoding maybe this is a duplicate of #250?

@DRocksCoding maybe this is a duplicate of #250?

I had not seen that one but you are right, I think its a similar request. Both can complement well in my opinion.

I'm going to close this issue as I believe it's a duplicate of https://github.com/alphagov/accessible-autocomplete/issues/250


[main < E-path] Add path functions

Description

path.slice - get a subset of a path,
path.combine - combine two paths into one,
path.elements - get path elements as a list of nodes and relationships PR368
refactor the path module and change path.subgraph to bfs instead of dfs which improves the speed and lowers memory usage by a lot PR370

Pull request type

[ ] Bugfix
[X] Algorithm/Module
[ ] Feature
[X] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Related issues
Delete if this PR doesn't resolve any issues. Link the issue if it does.
######################################
Reviewer checklist (the reviewer checks this part)
Module/Algorithm

[ ] Core algorithm/module implementation
[ ] Query module implementation
[ ] Unit tests
[ ] End-to-end tests
[ ] Code documentation
[ ] README short description
[ ] Documentation on memgraph/docs
[ ] Update GQLALchemy signatures in query builder using query module signature generator

######################################

@vpavicic docs are here https://github.com/memgraph/documentation/pull/274

@vpavicic docs are here https://github.com/memgraph/documentation/pull/274


Added Castalia *.stat files

Castalia is a free plugin for Delphi since XE7 and it's distributed by Embarcadero with Delphi XE7. It uses *.stat files to save statistics of the IDE usage for each project (compile time, debug time etc.)
It is safe to delete it, and it is useless to move *.stat files between developers (each developer has its own IDE statistics).

Thanks!


Restoring a unified maximum timeout

Set to a generous 10 minutes
The tests are suppose to return much earlier in case of success

ok ![pap] ( https://media.giphy.com/media/hTh9bSbUPWMWk/giphy.gif)


Update OpenID .env.example

changed to match api/server/routes/config.js
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

Thank you!


Fix type mismatch on PlacesDetailsResponse.fromJson(json)

Fix type mismatch on PlacesDetailsResponse.fromJson(json) where result should receive null rather than [] (List) when json['result'] is equal to null.
Fixes issue #57 and #53

This test is causing travis build failures:
test('missing photoReference', () {
        try {
          // ignore: missing_required_param
          places.buildPhotoUrl();
        } catch (e) {
          expect((e as ArgumentError).message,
              equals("You must supply 'photoReference'"));
        }
});

Sorry for late review, I am back on the project now.


Support markdown in wysiwyg mode

Question
when in wysiwyg mode, I have a use case of the expert pasting some text into the input. If the text is in markdown, Is it possible for the editor to format it automatically.
Current Behavior
pasting hello into the wysiwyg mode does nothing
Expected Behavior
formats the text

@oreporan
You mean pasting the text in other markdown editor to wysiwyg mode?
It's hard to understand what you want exactly.
Can you give us more detail information like screenshot?

Hi, sorry - I mean pasting this text:
**hello**
I would expect the wysiwyg to make it: hello

I would add more nuance to this... markdown can be beginning-of-line sensitive.  If you're pasting markdown that starts with a heading, for example, ## Heading 2 you want to ensure that the paste operation automatically puts a newline at the beginning... so what actually gets pasted should be \n## Heading 2
So basically... if the first line in the pasted text is beginning-of-line sensitive, add the newline.
Haven't thought about it... but there may also be cases where you would want to put a newline on the end?  Perhaps when the last line pasted as a beginning-of-line sensitive markup... so if the last line pasted was a list bullet
*Item 1\n* Item 2\n* Item 3
you would go ahead and insert:
\n*Item 1\n* Item 2\n* Item 3\n

@oreporan
Unfortunately, we are not planned to support the functionality you commented yet. They(wysiwyg, markdown editor) are very different from each other internally so that it is hard to support markdown syntax in wysiwyg.


Serialize() Crash for sure when Unity Android is built with iL2cpp

We use ZeroFormatter in a Unity Project. Zero Formatter will crash the app when calling ZeroFormatterSerializer.Serialize() if we choose to build with iL2cpp.  There is a few observation below:

When building Unity Android app with mono, the problem will not exist.
When building Unity iOS app with il2cpp, the problem will not exist too.
When building Unity Android app with il2cpp, the app will crash when calling ZeroFormatterSerializer.Serialize(). To be more exact, the app crashes when serializing System.DateTIme() like this: ObjectSegmentHelper.SerializeFromFormatter<TTypeResolver, global::System.DateTime>().

I attached a unity project to demonstrate the problem.  I tried Unity 5.5 - 5.6.3, and also Unity 2017.1. The problem is just the same.
Actually, I tried to debug the source of zeroFormatter and finally found that the following pointer assignment in BindaryUtil.cs causes the problem:
    public static unsafe int WriteDateTime(ref byte[] bytes, int offset, DateTime dateTime)
    {
        dateTime = dateTime.ToUniversalTime();
        // Do the arithmetic using DateTime.Ticks, which is always non-negative, making things simpler.
        long secondsSinceBclEpoch = dateTime.Ticks / TimeSpan.TicksPerSecond;
        int nanoseconds = (int)(dateTime.Ticks % TimeSpan.TicksPerSecond) * Duration.NanosecondsPerTick;
        EnsureCapacity(ref bytes, offset, 12);
        fixed (byte* ptr = bytes)
        {
            *(long*)(ptr + offset) = (secondsSinceBclEpoch - Timestamp.BclSecondsAtUnixEpoch);
            *(int*)(ptr + offset + 8) = nanoseconds;
        }

        return 12;
    }

Author, would you take care of this problem? If not, would you mind giving us hint on how to solve it?
TestZeroFormatter.zip

Can confirm, TimeSpan deserialization and Datetime serialization crash on android with il2cpp with signal 7 (SIGBUS), code 1 (BUS_ADRALN)

I would also like to add that crash doesn't happens if ((offset%4) == 0) which is indication that the issue is with arm alignment requirements. But the exact reason eludes me:
            Debug.Log("Testing long");
            for (int i = 0; i < 45; i++)
            {
                Debug.Log("Testing aligment " + i);
                Debug.Log("Writing");
                BinaryUtil.WriteInt64(ref test, i, textLong);
                Debug.Log("Reading");
                var result = BinaryUtil.ReadInt64(ref test, i);
                Debug.Log(textLong == result);
            }

            int textInt = Int32.MaxValue;
            Debug.Log("Testing int");
            for (int i = 0; i < 35; i++)
            {
                Debug.Log("Testing aligment " + i);
                Debug.Log("Writing");
                BinaryUtil.WriteInt32(ref test, i, textInt);
                Debug.Log("Reading");
                var result = BinaryUtil.ReadInt32(ref test, i);
                Debug.Log(textInt == result);
            }

Works alright for any i including those that are i%4 != 0, but
            Debug.Log("Testing timeSpan");
            for (int i = 0; i < 35; i++)
            {
                Debug.Log("Testing aligment " + i);
                Debug.Log("Writing");
                BinaryUtil.WriteTimeSpan(ref test, i, testTimeSpan);
                Debug.Log("Reading");
                var result = BinaryUtil.ReadTimeSpan(ref test, i);
                Debug.Log(testTimeSpan == result);
            }

crashes with (i == 1), at BinaryUtil.ReadTimeSpan(ref test, i);, which is weird because BinaryUtil.ReadTimeSpan is basicaly ReadInt64 + ReadInt32
My gut tells me that it is something to do with code il2cpp generates, but i'm not familiar with arm architecture enough to investigate it. For now I'll try to do if (offset%4 == 0) ... else ... logic in Write/ReadIntX as it is done in Read/WriteSingle. But @neuecc, please, if you have time look into it or at least comment if I'm on the right track here. Thanks!


Whitelist Fedora mirrors

Being able to execute Fedora in Ubuntu is a killer feature, IMHO. )
But there is nothing to test even if container started. It comes even without Python. I can not copy/paste code to prove that, because of #5, but it would be much better experience being able to install some packages, and for that at least https://mirrors.fedoraproject.org/ should be whitelisted.

As I mentioned in the linuxcontainers.org issue, Internet access is blocked on purpose for security reason.
It is possible for someone to create a fedora container or any distro for that matter in the try-it environment and to then get a shell inside it, proving that it does work. Installing packages in there is out of scope and allowing it would be a potential security and legal risk for us.

But Ubuntu http://archive.ubuntu.com/ works. Why not allow the same with official Fedora path?

As mentioned in the other issue, the reason why some servers under ubuntu.com and canonical.com are reachable from try-it is because I'm either the one in charge of those services or I've worked with the sysadmins that do and so in the event that someone is using tryit to attack any of those services, they know what this is and how to reach me.

But package service is only used to fetch software. Everything else will be done from LXD server. It is also possible to pipe bad shellcode to terminal.

Or you mean that LXD can be then used to attack those servers? Then any host can be used to do so.

Yes, any host can be used to do so, but the problem here is that it's my IP address which would be used for such an attack and so would legally be my responsibility.

That's not right. Any host can be hacked. Making best known efforts to secure the site should be enough to be clean from accusation.

Whitelist Fedora mirror with limiting requests by request/second
Get stats about container traffic patterns
Provide a DNS record that allows to contact you (automatically?) in case of DoS or other incident

Why it is not possible?

It's possible, I just have no intention of doing any of it. I'm the one providing the service and so I get to make the decision on what I find acceptable to allow and what I don't.
This service is provided as a way to try LXD by following a set of step by step instructions. Those instructions work perfectly fine with the current network restrictions so there's really no reason to open things up any more than they are today.

So somebody should take the task of creating a LXD solution with explanation how to secure it and monitor incidents so that it can be deployed as a backend to various online tutorials like Katacoda instead of Docker.


REMOTE_STORE_FORWARD_HEADERS support

This patch implements support for the REMOTE_STORE_FORWARD_HEADERS config option, and adds some supporting changes for #1818.  The general approach is the same as #1736 and if desired we could apply that separately which (after some cleanup & conflict resolution) would reduce this patch to an update to  pass an explicit "now" value to backends, make the requestContext available in more places, and some other supporting refactor work to reduce the size of the #1818 patch.

It's not really clear what relation of this patch to #1818 - is it required for it?
Also tests are broken. :(

Codecov Report

Merging #1821 into master will increase coverage by <.01%.
The diff coverage is 59.45%.

@@            Coverage Diff             @@
##           master    #1821      +/-   ##
==========================================
+ Coverage   65.88%   65.89%   +<.01%
==========================================
  Files          55       55
  Lines        6308     6339      +31
  Branches     1248     1253       +5
==========================================
+ Hits         4156     4177      +21
- Misses       1938     1946       +8
- Partials      214      216       +2

Impacted Files
Coverage Δ

webapp/graphite/render/attime.py
100% <100%> (ø)
:white_check_mark:

webapp/graphite/settings.py
74.35% <100%> (+0.16%)
:white_check_mark:

webapp/graphite/storage.py
54.16% <100%> (+0.38%)
:white_check_mark:

webapp/graphite/node.py
88.88% <100%> (+1.93%)
:white_check_mark:

webapp/graphite/util.py
76.92% <100%> (+0.76%)
:white_check_mark:

webapp/graphite/render/datalib.py
72.35% <41.3%> (+0.45%)
:white_check_mark:

webapp/graphite/readers.py
39.14% <50%> (ø)
:white_check_mark:

webapp/graphite/intervals.py
37.8% <50%> (+0.3%)
:white_check_mark:

webapp/graphite/render/views.py
46.76% <58.82%> (-0.07%)
:x:

webapp/graphite/remote_storage.py
38.79% <59.09%> (-0.06%)
:x:

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 8e61ee2...1e9af25. Read the comment docs.

@deniszh missed the tests, just needed a couple of tweaks from clustering_skip_find.  All sorted now.
So the relationship is that the functionality in #1818 requires that requestContext be passed down into the readers.  This patch implements that change with minimal changes to the core functionality itself, so we can reduce the overall size of the #1818 patch and keep things more "bite-sized".
I didn't realize when doing this that #1736 already existed, so at this point I'd suggest that we first look at merging that PR, then I can rebase this branch and the patch set here will be reduced to the structural changes needed to support #1818 as well as some assorted cleanups.
Also of note, the large change in datalib.py is due to moving _fetchData out of fetchData, the logic changes involved there are minimal and can be seen more clearly with whitespace changes disabled https://github.com/graphite-project/graphite-web/pull/1821/files?w=1#diff-9cfc4413865fc2a2f6942d9a215fc4e1

Actually I can open a separate PR just for moving _fetchData, which should clarify things here also.

@deniszh this should be a lot clearer now

I'm generally :+1: in favor of this but I'd also like to see #1736 go in first and then add the supporting changes for #1818.

@obfuscurity we can do that, but it'll need to be rebased and have the requestContext stuff wired up properly since right now it doesn't forward headers for render requests because of the missing link in node.fetch

This is now just various small refactors to support #1818

Strange, test was flaky, done after second run


Implement the SSTORE and SLOAD commands

Context
This is the first implementation of the EVM storage.
The goal is to be able to store some data in a persistent storage.
Goal
Have two internal functions corresponding to SSTORE and SLOAD. The store should take as an argument a key and a value to store, the load function should take a key to load.
Don't use the stack implementation at this point unless https://github.com/onlydustxyz/zk-evm/issues/15 is done.
Expectations

100% test covered code
do use storage var
store 32 bytes keys and 32 bytes values

Closed by #23


The link in the documentation don't work.

Hi everybody,
the link on the site https://github.com/Microsoft/Virtualization-Documentation/tree/master/hyperv-tools/Convert-WindowsImage in the ReadMe.md doesn't work.
It point to this: https://github.com/Microsoft/Convert-WindowsImage.
But this page doesn't exsists.

@pronichkin - hey Artem, can you checkout this out?

This link is still present and broken - does the script have a new home? The copy of the script in this repository does not match the one available on the TechNet gallery (https://gallery.technet.microsoft.com/scriptcenter/Convert-WindowsImageps1-0fe23a8f).

Anyone working on this script, I already published on PowerShellGallery. It's a version from this repo.
Although It's for me to install it from PowerShellGet. If anyone wants to take ownership on the package, please let me know in the comments.

The version in the docs is the one we (Hyper-V) use for testing.  I'm updated the README to say as much.


nav-justified

This doesn't seem to work when I add the 'nav-justified' class to the ul. Ideas?

Hi Jake,
I haven't implemented that feature.  Want to take a shot at it?
Cheers,
Carson

Shortcut that worked for my purposes was to add "col-md-3" to each of the 's as I had 4 steps in my wizard. Kudos on a nice looking piece of css though.

Sounds good.  I'll leave this issue open and try to address it at some point.
Thanks!


Bug##196780

Attempt to fix Bug # 196780 by increasing the file comparison limit.

Yeah sorry, this is not the right fix for this. This is something the diff editor has to handle similar to how the normal code editor does. We cannot just take a limit that is in place for good reason and multiply it by 5


Simplify Offense#corrected

We can simplify a == b ? false : a == c to a == c.
Note: This method returned a nil when @status is :unsupported. But the behaviour was removed, so we can simplify it.
https://github.com/bbatsov/rubocop/pull/4165/commits/23451c40056cfa036672a7d6501d8815f7a1a2c3

Maybe we can add a cop for this problem, but the cop will be for too rare cases.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[ ] Added tests.
[ ] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] All tests(rake spec) are passing.
[x] The new code doesn't generate RuboCop offenses that are checked by rake internal_investigation.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[ ] Updated cop documentation with rake generate_cops_documentation (required only when you've added a new cop or changed the configuration/documentation of an existing cop).

What's the reason for having the non-? alias? 🤔

What's the reason for having the non-? alias? 🤔

I guess it is for compatibility, because the method has @api public annotation.


Edit interface name in master's etcd discovery

etcd discovery container defaults to eth0 interface to detect etcd IP and compare it with etcd SRV record.
This PR would pull MCS config, extract etcd-member k8s manifest, add --if-name argument to the container, pack it back and restart MCS to serve new ignition files to masters.
In the future this will be reverted and interface name would be a part of platform config, set in the installer. MCS would read this and automatically set args when assets are being generated

Works for me
I0214 22:37:41.640184       1 run.go:57] ip addr is <IP_ADDRESS>
But there is a lot there to follow, it might be ugly but how would you feel about editing the file with a sed, there would be a lot less going on to figure out for anybody looking at the code.
+ssh -o StrictHostKeyChecking=no core@$IP sudo sed -i.old \

  -e "s/-%20%22--discovery-srv%3Dostest.test.metalkube.org%22/-%20%22--if-name=${MASTER_INTERFACE}%22%0A%20%20%20%20-%20%22--discovery-srv%3Dostest.test.metalkube.org%22/g" \

  ${MASTER_CONFIG}

The code is ugly, the proper solution would be:

A PR to installer, which adds a new interface setting for platform: none. It would store it in cluster config
A PR to Machine Config Operator which would adjust container options after reading this setting from cluster config

The code is ugly, the proper solution would be:
* A PR to installer, which adds a new `interface` setting for `platform: none`. It would store it in cluster config

* A PR to Machine Config Operator which would adjust container options after reading this setting from cluster config

If we don't plan to do that now, can you please raise a Jira card to track these improvements please :)

@hardys done - https://jira.coreos.com/browse/KNIDEPLOY-107

But there is a lot there to follow, it might be ugly but how would you feel about editing the file with a sed, there would be a lot less going on to figure out for anybody looking at the code.

The code is ugly, the proper solution would be:

Just in case it wasn't clear, I was referring to my sed command that might be ugly. That said I still think it would be easier to follow then the 7 lines it would replace. Either way we need to merge something, So if your happy with the original patch would you mind adding a small detail in a comment about whats going on and I'll merge it.

That said I still think it would be easier to follow then the 7 lines it would replace.

A proper framework for patching resource would soon land in #79

Either way we need to merge something, So if your happy with the original patch would you mind adding a small detail in a comment about whats going on and I'll merge it.

Updated commit message, PTAL

thanks.


chore(flake/stylix): f8699483 -> 4912f4db

Commit
Message

4912f4db
stylix: bump base16 input (#640)

Deleting because the stylix team doesn't check their build before updating.


Feat/docs - static site generator

Adds static site generator for docs with localization

Hey, is it somehow generated?
We need to automate it then with GH action

@Razikus I wrote the instructions in discord yesterday, if you dont find them just lmk.
Yes it can be automated, if you deploy it to netlify in the example I gave you it will be automatically integrated from Netlify, no need to run github actions.
If you are not opting this methods keep in mind this things.
In /docs folder is where the nuxt docs project exists, you can run different scripts from package json. check README.md
Deploy purposes you will run: yarn generate -> will create static site in /docs/dist, this is the folder you need to deploy.

will resolve that tommorow

Decided not to merge - we should not use external services as amuch as we can not use external services


KOGITO-4959 DMNKogito internal callbacks

(creating a new PR since Jenkins was not reacting to https://github.com/kiegroup/kogito-runtimes/pull/1233)
https://issues.redhat.com/browse/KOGITO-4959
Please make sure that your PR meets the following requirements:

[x] You have read the contributors guide
[x] Your code is properly formatted according to this configuration
[x] Pull Request title is properly formatted: KOGITO-XYZ Subject
[x] Pull Request title contains the target branch if not targeting master: [0.9.x] KOGITO-XYZ Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains link to any dependent or related Pull Request
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket

How to retest this PR or trigger a specific build:

Pull Request
Please add comment: Jenkins retest this

Quarkus LTS checks
Please add comment: Jenkins run LTS

Native checks
Please add comment: Jenkins run native

Full Kogito testing (with cloud images and operator BDD testing)
Please add comment: Jenkins run BDD
This check should be used only if a big change is done as it takes time to run, need resources and one full BDD tests check can be done at a time ...

Jenkins retest this

as discussed with Daniele I will re-work this PR to make use of Property checking, rather than the Substitution paradigm

jenkins retest this please

The Linux check has failed. Please check the logs.

Build finished. 9299 tests run, 463 skipped, 0 failed.

13:50:01,291 [INFO] --- maven-failsafe-plugin:2.22.2:integration-test (default) @ integration-tests-trusty-service-quarkus ---
13:50:01,303 [INFO]
13:50:01,304 [INFO] -------------------------------------------------------
13:50:01,304 [INFO]  T E S T S
13:50:01,304 [INFO] -------------------------------------------------------
13:50:02,288 [INFO] Running org.kie.kogito.it.trusty.QuarkusTrustyExplainabilityEnd2EndIT
Cancelling nested steps due to timeout
Sending interrupt signal to process
22:08:13,473 [INFO]
22:08:13,474 [INFO] Results:

Failure is unrelated and the PR is quite small. Merging