Changing ISA to rv64g

Hi!
Changing the ISA to rv64g in the Makefile does not load the Linux correctly.
It is stuck after the RSS. Any input will be helpful
Sawan

Can you leave more detailed information?
The isa macro actually only influences toolchain and bbl compile, for linux you need to disable CONFIG_RISCV_ISA_C, for buildroot you need to disable R2_RISCV_ISA_CUSTOM_RVC config.

I noticed that you have already put a check in the Makefile to make the Linux according to the ISA specified (CONFIG_RISCV_ISA_C). I will test setting BR2_RISCV_ISA_CUSTOM_RVC to false and let you know.

Setting BR2_RISCV_ISA_CUSTOM_RVC=n in  ./repo/buildroot/configs/hifive_unleashed_defconfig also gets the same result.

You should also disable CONFIG_EFI, currently, CONFIG_RISCV_ISA_C is selected by CONFIG_EFI.
Simply disable CONFIG_RISCV_ISA_C will not work.
View the .config file or objdump the vmlinux under build/linux to check whether you turn off CONFIG_RISCV_ISA_C correctly.

I tried setting CONFIG_EFI in ./repo/linux/arch/riscv/configs/defconfig, but i checked the vmlinux still have compressed instructions. Is there some other file I need to update? Also even if linux has some compressed instruction the spike should throw an exception but it is getting stuck so the issue might be something else?
My aim is to create a setup to run only rv64g RISC-V with Linux support. Although with current settings as well if I compile my application with ISA rv64g the compressed instructions that come are from the Linux and do you think the number of compressed in this case would be significant?
Thank you for your quick answers! I really appreciate it.

Following is the linux config I used, delete the build/linux directory and re-make:
CONFIG_SOC_SIFIVE=y
CONFIG_RISCV_SBI_V01=y
CONFIG_SMP=y
# CONFIG_COMPACTION is not set
CONFIG_HZ_100=y
CONFIG_CROSS_COMPILE="riscv64-unknown-linux-gnu-"
CONFIG_DEFAULT_HOSTNAME="riscv-rss"
# CONFIG_CROSS_MEMORY_ATTACH is not set
CONFIG_NAMESPACES=y
CONFIG_BLK_DEV_INITRD=y
# CONFIG_RD_BZIP2 is not set
# CONFIG_RD_LZMA is not set
# CONFIG_RD_XZ is not set
# CONFIG_RD_LZO is not set
# CONFIG_RD_LZ4 is not set
CONFIG_EMBEDDED=y
# CONFIG_BLK_DEV_BSG is not set
CONFIG_PARTITION_ADVANCED=y
# CONFIG_IOSCHED_DEADLINE is not set
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_INET=y
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_BEET is not set
# CONFIG_INET_DIAG is not set
# CONFIG_IPV6 is not set
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
# CONFIG_FIRMWARE_IN_KERNEL is not set
CONFIG_MTD=y
CONFIG_MTD_BLOCK_RO=y
CONFIG_MTD_M25P80=y
CONFIG_MTD_SPI_NOR=y
CONFIG_VIRTIO_BLK=y
CONFIG_EEPROM_AT24=y
CONFIG_BLK_DEV_SD=y
CONFIG_ATA=y
CONFIG_SATA_AHCI=y
CONFIG_SATA_SIL24=y
CONFIG_NETDEVICES=y
CONFIG_VIRTIO_NET=y
# CONFIG_VIRTIO_CONSOLE=y
CONFIG_MACB=y
CONFIG_MICROSEMI_PHY=y
# CONFIG_INPUT_KEYBOARD is not set
# CONFIG_INPUT_MOUSE is not set
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_OF_PLATFORM=y
CONFIG_SERIAL_EARLYCON_RISCV_SBI=y
CONFIG_SERIAL_SIFIVE=y
# CONFIG_FB=y
# CONFIG_FRAMEBUFFER_CONSOLE is not set
# CONFIG_SERIAL_SIFIVE_CONSOL is not set
CONFIG_HVC_RISCV_SBI=y
# CONFIG_EFI is not set
# CONFIG_RISCV_ISA_C is not set
# CONFIG_HW_RANDOM=y
CONFIG_SPI=y
CONFIG_SPI_SIFIVE=y
CONFIG_POWER_RESET=y
CONFIG_POWER_RESET_GPIO_RESTART=y
CONFIG_MMC=y
CONFIG_MMC_SPI=y
CONFIG_CLK_U54_PRCI=y
CONFIG_CLK_GEMGXL_MGMT=y
# CONFIG_IOMMU_SUPPORT is not set
CONFIG_EXT4_FS=y
# CONFIG_PROC_PAGE_MONITOR is not set
CONFIG_TMPFS=y
# CONFIG_MISC_FILESYSTEMS is not set
# CONFIG_NETWORK_FILESYSTEMS is not set
CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE="earlyprintk"
CONFIG_PRINTK_TIME=y
CONFIG_STRIP_ASM_SYMS=y
CONFIG_DEBUG_SECTION_MISMATCH=y
CONFIG_STACKTRACE=y
# CONFIG_CRYPTO_HW is not set
# CONFIG_ZERO_CALL_USED_REGS is not set


Typo

There's a typo in this sentence.
https://github.com/trchudley/pdemtools/blob/3b38cd395f110a7f8477ae6d7eab2d0ea508be4b/docs/getting_started/supplementary_datasets.md?plain=1#L3

Thanks for catching this Adam, and all your other PRs!


move search cache to be updated async

Moves the search cache to be updated async. This is to allow this plugin to work with a collection of thousands of RRDs where synchronous calls to /search is infeasible

@0x4c6565 Thank you very much for your contribution! As well as the async search part, the updates to README and Dockerfile seem great.


403 error fix

Fixing the 403 error by making all requests use HTTPS instead of HTTP. Also removing the --secure flag as it's now enabled by default.

This version doesn't work for me

This version doesn't work for me

Do you have any specific error?

https://github.com/sivel/speedtest-cli/pull/788#issuecomment-1281859178

#788 (comment)

Can you try this on Windows?

no on Linux Debian

Can confirm that on linux (arch). I was originally getting this error until I provided the --secure flag.

I'm pretty sure if you're connecting to speedtest.net then the HTTPS part should be working.

Where do you provide the '--secure' flag?  I'm running speedtest.py through curl.  And every time I I try to pass the '--secure' flag to the script in the url, curl gripes at me about it being an unknown option.  ([...]/master/speedtest.py --secure | python3 -)  Or can you not pass options to the script when running as a url?

Where do you provide the '--secure' flag? I'm running speedtest.py through curl. And every time I I try to pass the '--secure' flag to the script in the url, curl gripes at me about it being an unknown option. ([...]/master/speedtest.py --secure | python3 -) Or can you not pass options to the script when running as a url?

You're just simply using curl to download the file from github and then telling python to read the contents of the file through stdin using the - after python. You can provide any arguments you want after that like this
curl [...]master/speedtest.py | python3 - --secure
Although, I would personally just download the file or use pip to install it.

Thank you; I'm kinda new to working with curl like this, (or really in much of any capacity) so, I wasn't sure.

I have speedtest-cli 2.1.3, which I run on Linux (Mint) and occasionally I see the following.
Retrieving speedtest.net configuration...
Cannot retrieve speedtest configuration
ERROR: HTTP Error 403: Forbidden

I am unsure what workaround, if any, this page (the current webpage) is suggesting.

@LinuxOnTheDesktop - just run it with the "secure" flag and everything will be good. Provider finally starts blocking HTTP requests and looks like most of their servers allowing only HTTPS protocol:
$ speedtest-cli --secure

just run it with the "secure" flag and everything will be good.

Right. Thank you. Will do.

Provider finally starts blocking HTTP requests and looks like most of their servers allowing only HTTPS protocol

Yet me clarify that, in case someone else comes across it and has trouble understanding it. So: the servers that provide the speed tests are blocking speedtest-cli (or rather, in my experience: blocking it sometimes) because (by default, i.e. without --secure) speedtest-cli uses HTTP rather than HTTPS.

i prefer #800 for the --insecure flag


Replicator doesn't work

I have a project to run on Linux (Ubuntu 20.x). I am currently developing on Windows. I am using 4.8.0-beta00012 packages of "Lucene .Net". I want to do a replication process. I made use of this document  for this. I followed all the steps. But the replication process does not react. "client.InfoStream" is empty. What am I missing?
Thank you for your interest.
Server side:
.Net Core 3.1 Web Api
Related Code:
in Startup.cs
            #region LuceneReplicator

            var replicationService = new ReplicationService(new Dictionary<string, IReplicator> { { ReplicationConsts.SHARD_NAME, new LocalReplicator() } }, ReplicationConsts.REPLICATION_ENDPOINT);

            app.Map(ReplicationConsts.REPLICATION_ENDPOINT, builder =>
            {
                builder.Run(async context =>
                {
                    await Task.Yield();
                    replicationService.Perform(context.Request, context.Response);
                });
            });

            #endregion

Client side:
.Net Core 3.1 Hosted Service (Worker)
Related Code:
public class ClientReplicator
    {
        private const string HANDLER_INDEX_DIR = "C:/LuceneIndexes/handler";
        private const string WORKING_PATH_DIR = "C:/LuceneIndexes/clientWorkDir";
        public async Task UpdateChecker()
        {
            await Task.Run(() =>
            {
                IReplicator replicator = new HttpReplicator("localhost", 5003, $"{ReplicationConsts.REPLICATION_ENDPOINT}/{ReplicationConsts.SHARD_NAME}");

                var handlerIndexDir = FSDirectory.Open(Path.GetFullPath(HANDLER_INDEX_DIR));
                var workingPath = Path.GetFullPath(WORKING_PATH_DIR);

                var client = new ReplicationClient(replicator,
                    new IndexReplicationHandler(handlerIndexDir, () => Notify()), new PerSessionDirectoryFactory(workingPath));

                //Now either start the Update Thread or do manual pulls periodically.
                client.UpdateNow(); //Manual Pull

                Console.WriteLine(client.InfoStream.ToString());
            });
        }

        public static bool Notify()
        {
            Console.WriteLine("Update!");
            return true;
        }
    }

I am not sure if this will completely solve the problems you are seeing, but I have spotted 2 issues that are definitely obstructing your path to a solution.
Analyzing the Lucene.Net.Replicator.AspNetCore project might also prove helpful.
InfoStream
InfoStream acts like any other stream. It doesn't collect information, but it passes information along to another source.
For performance reasons, the ReplicationClient.InfoStream property uses InfoStream.NO_OUTPUT by default. To receive InfoStream messages, you need to set it to another InfoStream implementation. For example, to write to the console output, you would need to set it an instance of TextWriterInfoStream that wraps Console.Out.
    var client = new ReplicationClient(replicator,
        new IndexReplicationHandler(handlerIndexDir, () => Notify()), new PerSessionDirectoryFactory(workingPath));

// For optimal performance in production, InfoStream should not be enabled in the release.
// Although, you may wish to add a configuration switch to your application instead of using #if DEBUG
// to make troubleshooting easier in a release build.
#if DEBUG
    // Write any InfoStream messages to the console output
    client.InfoStream = new TextWriterInfoStream(Console.Out);
#endif

And of course, this line will still do nothing, so it can be removed:
Console.WriteLine(client.InfoStream.ToString());

Machine-Independent Paths
Linux won't recognize the paths you have setup as constants. An approach you could use to create machine-independent paths is to use the Environment.GetFolderPath method.
var commonApplicationDataDir = Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData);

var handlerIndexDir = Path.Combine(commonApplicationDataDir, "LuceneIndexes/handler");
var workingPathDir = Path.Combine(commonApplicationDataDir, "LuceneIndexes/clientWorkDir");

See Environment.SpecialFolder Enum for additional options.

Thank you. As you suggested, I get directories from environment enums now.
I understood my problem. I applied the solution and it was fixed. The problem was that the LocalReplicator I used in Startup and the LocalReplicator I indexed the document was not common. I realized it must be common. When I defined LocalReplicator as Static, the problem was solved. I was able to replicate. (Is this a correct determination? And a correct solution?)
But now I have caused another problem. My API takes the index name from outside. The user can dynamically index. If I want to add a new record to the same index, I get the error "cannot compare IndexCommits from different Directory instances". I re-create IndexWriter and directory for each request.
What can I do to overcome this problem and provide editing?

First and foremost, you probably need to describe your scenario a bit more so we know what you are trying to achieve over all, as it stands there is a few things that goes against common recommendations. Also for what is described in https://github.com/apache/lucenenet/blob/master/src/Lucene.Net.Replicator/Http/replicator.md it really only provides the most basic example so that people can get started using the replicator.
I don't know if this crude sample can help you: https://github.com/jeme/LuceneNet.ReplicatorSample
It uses a class called DataIngestSimulator to simulate changes over time to each index. (An update to a random number of documents each 30 seconds).
When you say that the user can dynamically index, what do you exactly mean?... Are you simply trying to provide the users with Real-time search, as in the user may update a document/an entity of some sort which you then want to index and make available right away? or are you referring to something else?
You should avoid recreating your Index writers unless they experience an error (e.g. OutOfMemmoryExceptions) and share them across all indexing, (That is one writer Per index in your case).

First and foremost, you probably need to describe your scenario a bit more so we know what you are trying to achieve over all, as it stands there is a few things that goes against common recommendations. Also for what is described in https://github.com/apache/lucenenet/blob/master/src/Lucene.Net.Replicator/Http/replicator.md it really only provides the most basic example so that people can get started using the replicator.
I don't know if this crude sample can help you: https://github.com/jeme/LuceneNet.ReplicatorSample
It uses a class called DataIngestSimulator to simulate changes over time to each index. (An update to a random number of documents each 30 seconds).
When you say that the user can dynamically index, what do you exactly mean?... Are you simply trying to provide the users with Real-time search, as in the user may update a document/an entity of some sort which you then want to index and make available right away? or are you referring to something else?
You should avoid recreating your Index writers unless they experience an error (e.g. OutOfMemmoryExceptions) and share them across all indexing, (That is one writer Per index in your case).

The project you created has been very useful for me, thank you.  I completed my shortcomings from there. My project is working as I want right now.
So is the scenario below possible with Lucene .Net?
A master, slave B and C
B master, slave A and C
C master, slave A and B
There will be always 2 copies.

Yes that will certainly be possible, but it's up to you to implement the details.
The obvious approach here would be to have a configuration which defines what indexes a node are master of and which indexes it should replicate from a different master.


Cleaned up some code

♥♥♥

Don't merge yet pls.

Thank you! Best I have is the stuff in the tests folder

Where is that folder at?

Oh lol deleted it, rip


Add webbtc.com dnsseeds for main- and testnet

Add dnsseeds running on webbtc.com. They are based on http://github.com/mhanne/bitcoin-ruby-dnsseed

Thanks for providing the pull request!  @phelixbtc, @JeremyRand and others - ok?

untested ACK


failure to build with link time optimization enabled

Greetings,
for information, the Debian project is investigating the use of link time optimization at large scale, and Matthias Klose noticed in Debian Bug #1015653 that the rocm-smi-lib was failing to link with the following error:
[ 87%] Linking CXX shared library librocm_smi64.so
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/rocm_smi && /usr/bin/cmake -E cmake_link_script CMakeFiles/rocm_smi64.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -fno-rtti -m64 -msse -msse2 -std=c++11  -Wconversion -Wcast-align  -Wformat=2 -fno-common -Wstrict-overflow   -Woverloaded-virtual -Wreorder  -DFORTIFY_SOURCE=2 -fstack-protector-all -Wcast-align -Wl,-z,noexecstack -Wl,-znoexecheap -Wl,-z,relro  -Wtrampolines -Wl,-z,now -fPIE -ggdb -O0 -DDEBUG -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,librocm_smi64.so.1 -o librocm_smi64.so.1.0 CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_device.cc.o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_main.cc.o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_monitor.cc.o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_power_mon.cc.o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_utils.cc.o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_counters.cc.o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_kfd.cc.o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_io_link.cc.o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_gpu_metrics.cc.o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi.cc.o CMakeFiles/rocm_smi64.dir/__/third_party/shared_mutex/shared_mutex.cc.o  -lpthread -lrt
/usr/bin/ld: warning: -z noexecheap ignored
/usr/bin/ld: /tmp/ccSiNzIs.ltrans0.ltrans.o: warning: relocation against `_ZNSt17_Function_handlerIFbcENSt8__detail11_AnyMatcherINSt7__cxx1112regex_traitsIcEELb1ELb0ELb0EEEE10_M_managerERSt9_Any_dataRKS8_St18_Manager_operation' in read-only section `.text'
/usr/bin/ld: /tmp/ccSiNzIs.ltrans0.ltrans.o: relocation R_X86_64_PC32 against symbol `_ZTVSt9exception@@GLIBCXX_3.4' can not be used when making a shared object; recompile with -fPIC

You can refer to a more complete log in the Debian bug tracker.  Note that the build occurred with -fPIC enabled, so the message is probably a red herring.  I'm not sure what to make of this error.  It may be nothing, or maybe it could be symptomatic of something else, I don't know.  In doubt, I thought you might be interested to be aware of the issue.
In the meantime, I can simply make sure no attempt will be made to build rocm-smi-lib with link time optimization enabled in Debian.  This shouldn't be too harmful, I don't believe it's in the rocm-smi-lib that performances are the most critical.
Have a nice day  :)
Étienne.

I managed to go past this issue with the following change, as it seems the -fPIE option landing late in the compiler command line was erasing the behavior of -fPIC:
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -103,7 +103,7 @@ else ()
     set(CMAKE_CXX_FLAGS
       "${CMAKE_CXX_FLAGS} -Wl,-z,noexecstack -Wl,-znoexecheap -Wl,-z,relro ")
     set(CMAKE_CXX_FLAGS
-      "${CMAKE_CXX_FLAGS} -Wtrampolines -Wl,-z,now -fPIE")
+      "${CMAKE_CXX_FLAGS} -Wtrampolines -Wl,-z,now")
 endif ()

 # Use this instead of above for 32 bit

Additionally, this change fixed a build failure on PA-RISC; see Debian bug #1030876.  Please don't hesitate to let me know if this change is of interest, so I prepare a proper merge request, or if in the contrary this is causing other problems.


Add web risk to list of clients.

Is the module in the bom?

Yes, this was the only place it was missing.


Log invalid lines

The read stream now sends invalid lines from parser >=2.0 to an 'invalid' event.
Tweaked the logging setup code in the client to allow logging of different stream events at different levels.
Has not been functionally tested yet. Published for comment.

Coverage decreased (-0.43%) to 98.62% when pulling 0b2f13a63e70c65cbeecd8a8780c10a776f9831a on Renegade334:devel-invalid-lines into 94f131905986f542342199672ce2946f60d893e0 on phergie:master.

Needs a connection release if it's going to use getMask().

Coverage decreased (-0.21%) to 98.85% when pulling 7f629a29cb2f3a73a305cc5e0f6c47505eaee2fd on Renegade334:devel-invalid-lines into 94f131905986f542342199672ce2946f60d893e0 on phergie:master.

Coverage decreased (-0.21%) to 98.85% when pulling 7f629a29cb2f3a73a305cc5e0f6c47505eaee2fd on Renegade334:devel-invalid-lines into 94f131905986f542342199672ce2946f60d893e0 on phergie:master.

connection 2.0.0 is tagged.

Coverage decreased (-0.23%) to 98.82% when pulling 040506a9c8af68cf6c1850b5fd3c98aac3c37477 on Renegade334:devel-invalid-lines into 386e0f006d3bed268db009d09f5a4331b038cb0b on phergie:master.

Coverage decreased (-0.29%) to 98.77% when pulling 040506a9c8af68cf6c1850b5fd3c98aac3c37477 on Renegade334:devel-invalid-lines into 386e0f006d3bed268db009d09f5a4331b038cb0b on phergie:master.


added Careerflow AI LinkedIn Optimization and more

Careerflow.ai is your AI Copilot for your career -- Optimize your LinkedIn Profile, use AI to generate cover letters, automate your job search by auto-fill applications and tracking them in a dashboard, and much more -- all in one!
Why add this to awesome chrome extensions?
Help developers to get better job opportunity.

@RashakDude Kindly merge it if it has no issues


docs(core): update example uris

Updated the uris to not working documentation, please correct me if it's not valid.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Infinite Water Sources do not follow enderio fluid conduit settings

Hello,
I am currently playing through the modpack Omnifactory and I am using the Dense Infinite Water Source to generate water that I pump into a machine via enderio Ender Fluid Conduits. To limit the production of the machine, I have an ME Fluid Level emitter underneath the ender fluid conduit and the conduit itself is set to extract when there is a redstone signal present, which is given the the level emitter. However, I noticed that water was still entering the machine even though there was no redstone signal being given by the emitter. To check the interaction, I then switch the enderio fluid conduit to never extract, however water was still being input into the machine. The infinite water source is the only source of water that is connected to the machine. I was also able to reproduce this with the dense infinite water source, and enderio fluid conduit and fluid tank, and a redstone torch. Would it be possible for this interaction, where the settings of the fluid conduit are respected,  between the infinite water source and the ender fluid conduit to occur?
A screenshot of the setup

MC Version: 1.12.2
NuclearCraft version: 2.17a
Enderio version: 5.0.46

@ALongStringOfNumbers Which machine in that image is receiving the water? If it’s the one adjacent, the water sources auto-push to adjacent fluid handlers.

The machine receiving the fluid is the chemical reactor from greg tech community edition, the white machine on the left of the image. Adjacent to the water source, which would be behind it in this picture, is only a ME interface from applied energistics. The only other thing connected to the water source via conduits is a fluid interface, which takes the output fluid of the chemical reactor. I have included a screenshot of the other setup I tested which used an enderio fluid tank, which is a little less cluttered. In this screenshot, the fluid conduit is set to never extract mode, however, water is still inserted into the fluid tank. No input/output options were configured for the tank. As for the original situation, I am having trouble reproducing it consistently, however the original instance is still occurring.
Screenshot:

Hmm, I think this is technically 'intended' behaviour. Whether a conduit is actively pulling or not doesn't determine whether other blocks can automatically push to it. I could add a config to stop these sources from auto-pushing, so that an actively pulling pipe/conduit is required?

@ALongStringOfNumbers Would this work?

That would work for me, thanks for looking into it

No prob! Thanks for the quick response :)


Completely has stopped working on Twitter/x since upgrade yesterday.

Completely has stopped working on Twitter/x since upgrade yesterday.  Shows all threads/blogs as offline and won't allow downloads.
Is there anywhere I can get the previous version before the upgrade? I'd like to downgrade to that one again, since it worked with minor manual adjustment.

You can download older versions here: https://github.com/TumblThreeApp/TumblThree/releases
In case you do not see any files listed under Assets for a certain release, then you can click on the arrow in frond of the word Assets and the files will be shown.

It's fixed in the new version.


where can i get the packet srv6_explicit_path_pb2_grpc and srv6_explicit_path_pb2?

hello, thanks for providing this repo.
I'm trying to run your grpc api but I can't find these packets: srv6_explicit_path_pb2_grpc and srv6_explicit_path_pb2.
ps: python version 2.7

Hi, you need to generate these files using the proto file - like a typical grpc project.
@cscarpitta

WOW  I had never used proto files before.
Now it works.
Thanks!

Glad you resolved!


Reduce impact of JGit in Gradle's runtime API

Context

Contributor Checklist

[ ] Review Contribution Guidelines
[ ] Make sure that all commmits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[ ] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[ ] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[ ] Provide unit tests (under <subproject>/src/test) to verify logic
[ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[ ] Ensure that tests pass locally: ./gradlew <changed-subproject>:check

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

I think @oehme is out, but could you take a look at this @melix for inclusion in 4.4.1?
I ended up putting a band-aid into the runtime jar creator because it was simpler to do.  I attempted to completely remove our dependency on JGit (and delegate directly to the command line git), but that just opened up a can of worms with Windows support.
The reproduction case was derived from @blindpirate's example.  The test verifies that we're using the correct version of JGit, the unshaded JGit can load JGitText resources and our shaded JGit can still load its resources.
Thanks!

Thank you guys. I really appreciate your work.


[Foundry v10] Not able to create clocks

Using Foundry v10, Lancer Clocks v0.5.0
Clocks are no longer an available sheet type, and cannot be spawned using the tile tab.

I am seeing the same thing with the following:
Foundry Version 10 Build 286
Lancer Clocks version 1.0.17

I am unable to recreate these issues with Lancer Clocks version L1.0.18 for Foundry v10 Build 288. Can you both update to this version and see if things are fixed? If not, can I get more info on the OS and platform used (eg. Win10, NodeJS)?

Using Foundry v10 build 288, Lancer Clocks L1.0.19, problem remains. Tried on several different systems.
Problem exists both on the Windows 10 desktop app, and Linux.

Are there any logs that appear? Does this happen with every game system or only specific ones?

This is the only one I can find, but I don't know if its related.

Tested on pf1, pf2, custom-worldbuilding, custom system builder, wicked ones
All updated to newest versions.

Is there the same error with pf1 or pf2?

Yes, same error. I tried disabling Lancer Clocks and that removes the
error. So definitely related. No other modules enabled at any of my tests.
Den fre 21 okt. 2022 kl 23:25 skrev Argonius-Angelus <
@.***>:

Is there the same error with pf1 or pf2?
—
Reply to this email directly, view it on GitHub
https://github.com/Argonius-Angelus/lancer-clocks/issues/8#issuecomment-1287450258,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABHATB6AH252J6FILOS37YTWEMC5ZANCNFSM6AAAAAARA4R5G4
.
You are receiving this because you authored the thread.Message ID:
@.***>

I see the issue now. They changed the data structure for Actor templates between v9 and v10. I will mark it as not compatible with v10 for now until I fix this issue.

Glad to be able to help!
Den fre 21 okt. 2022 kl 23:33 skrev Argonius-Angelus <
@.***>:

I see the issue now. They changed the data structure for Actor templates
between v9 and v10. I will mark it as not compatible with v10 for now until
I fix this issue.
—
Reply to this email directly, view it on GitHub
https://github.com/Argonius-Angelus/lancer-clocks/issues/8#issuecomment-1287457719,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABHATB3K6OKVZBSDYNMYEBDWEMD2ZANCNFSM6AAAAAARA4R5G4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ok, I have created an update that should fix these issues. I'm not going to even try to figure out why it worked for some systems but not others with the v10 structure. Let me know if there's any further issues in this regard even with this update.


404 error when using custom authentication.

I am using Azure B2C as a OpenID Connect provider, and have used the example auth configuration from https://docs.microsoft.com/en-us/azure/static-web-apps/authentication-custom?tabs=aad. I have used the B2C setup with MSAL several times without issue, and testing the B2C user flow works without issue.
When I launch the static website i get a 404 error on the /.auth/login/myProvider page. Is there anything missing in the documentation, my configuration or a way to troubleshoot the issue? (No errors in the github deployment action)
I confimed the app/route works using the oob github identity provider.
My Config:
{
  "routes": [
    {
      "route": "/api/*",
      "allowedRoles": ["authenticated"]
    }
  ],
  "auth": {
    "identityProviders": {
      "openIdConnectProviders": {
        "azureb2c": {
          "registration": {
            "clientIdSettingName": "MY ID",
            "clientCredential": {
              "secretSettingName": "My Secret"
            },
            "openIdConnectConfiguration": {
              "wellKnownOpenIdConfiguration": "https://tenant.b2clogin.com/tenant.onmicrosoft.com/v2.0/.well-known/openid-configuration?p=B2C_1_authSignIn"
            }
          }
        }
      }
    }
  }
}

Error
GET https://<site>/.auth/login/azureb2c 404

Is the GitHub repo public that I could take a look at?

Sure, just made one.
https://github.com/TellonUK/azureswa
( I've setup a Azure SWA at https://polite-desert-0bd142f0f.azurestaticapps.net/ I just need to configure the env config for a demo b2c, will update here when that's done too )

In staticwebapp.config.json:
  "auth": {
    "identityProviders": {
      "openIdConnectProviders": {
        "azureb2c": {
          "registration": {
            "clientIdSettingName": "<SWACLIENTID>",
            "clientCredential": {
              "secretSettingName": "<SWASECRET>"
            },
            "openIdConnectConfiguration": {
              "wellKnownOpenIdConfiguration": "<SWAWELLKNOWN>"
            }
          }
        }
      }
    }
  }

The clientIdSettingName, secretSettingName, wellKnownOpenIdConfiguration properties are invalid.
Try removing the <> in the setting names:
          "registration": {
            "clientIdSettingName": "SWACLIENTID",
            "clientCredential": {
              "secretSettingName": "SWASECRET"
            },

And create 2 app settings: one named SWACLIENTID containing the client ID, and one named SWASECRET containing the secret.
And for wellKnownOpenIdConfiguration, change <SWAWELLKNOWN> in the config file to the actual value of the issuer url.
+ @mkarmark to take a look as well. There might be other issues here.
Regarding this:

Not seeing any documentation on how to save an environment variable in the JSON file so that its picked up by the value in the Application Settings. (process.env.xxx works for the API but cant use that in JSON).

@craigshoemaker I think the app settings page might need to be updated now that app settings are no longer just for API apps.

@anthonychu I wouldn't have thought that failing to get the values from config would result in a 404 on the auth provider, I'd have expected a 500

In my staticwebapp.config.json I updated it to the suggested format.
{
  "routes": [
    {
      "route": "/api/*",
      "allowedRoles": ["authenticated"]
    }
  ],
  "auth": {
    "identityProviders": {
      "openIdConnectProviders": {
        "azureb2c": {
          "registration": {
            "clientIdSettingName": "SWACLIENTID",
            "clientCredential": {
              "secretSettingName": "SWASECRET"
            },
            "openIdConnectConfiguration": {
              "wellKnownOpenIdConfiguration": "https://glmtesting.b2clogin.com/glmtesting.onmicrosoft.com/v2.0/.well-known/openid-configuration?p=B2C_1_authSignIn"
            }
          }
        }
      }
    }
  }
}

I also updated my SWA app settings to have keys SWACLIENTID and SWASECRET, using a @Microsoft.KeyVault value and then also the ClientID and Secret in plaintext. Neither resolved the issue.
The SWA  site still has a 404 when you go to /.auth/login/azureb2c
When I have the auth key in my staticwebapp.config.json the /.auth/login/github route also responds with a 404. Which I would expect, as per the documentation when you override a pre-configured provider by configuring an auth section the built in providers are disabled. This suggests the auth section of my staticwebapp.config.json is being picked up. I can also confirm, if I remove the auth section from my staticwebapp.config.json  then the /.auth/login/github route works again.
I have replicated the issue on two SWA's, in the East US 2 region using the above staticwebapp.config.json, both have the same 404 issue.

Hi @TellonUK, can you rename in the json "openIdConnectProviders" to "customOpenIdConnectProviders"? That should fix the issue. We realize the docs are leading people to incorrectly use "openIdConnectProviders" and are trying to get the fix out ASAP.

Thanks, That did the trick.


New features

added a side menu as a page

Andrei wanted it to be on the right side. We had this discussion already and he didn't like when the hamburger button is before the app name. So we decided to place it with all icon buttons on the right side.

Fine, then let's do it as @frostyandy2k wishes.


How to divide validation set?

When retraining and finetuning A2B, is it proper to use ShanghaiB_test imgs and its gt label as validation set directly, or is there any other way to validate best checkpoint?

Thank you for your suggestion. In previous experiments, we directly used ShanghaiB_test images for validation. We appreciate your input and will consider using pseudo-labels to validate the best checkpoint in our future work.


Basics of machine learning

This pull request adds a tutorial explaining:

the basics of machine learning
how to do machine learning using Galaxy

Thanks @anuprulez for this tutorial

After merge, I am getting this error while doing make serve
  Liquid Exception: Liquid error (line 6): comparison of String with nil failed in /_layouts/topic.html
jekyll 3.8.3 | Error:  Liquid error (line 6): comparison of String with nil failed

Can it be related to --incremental build

Hi @anuprulez, we changed the way metadata works in the repository, so I updated your PR accordingly, metadata is now at the top of the tutorial.md file

@bebatut I have updated this tutorial ...

@bebatut I have updated this tutorial ...

Looks like a great start! Thanks a lot!


Implement a case for 'clamp' ChartCanvas property as function

Implement a case for 'clamp' ChartCanvas property as function, to use some custom clamp logic.
For example, logic to restrict scroll to left by some condition - by more data availability: if there are more data on server, then leave clampedDomain as is, and load more data on onLoadMoreData event.
Otherwise, fix clampedDomain to fit data domain left bound.

Thank you


chore: upgrade all non-major dependencies to latest

Changes

upgrade all dependencies by patch or minor version
move @types/ethereumjs-abi from dependencies to devDependencies
remove various unused dependencies

#306  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @mcmxcdev and the rest of your teammates on  Graphite

Merge activity

Mar 18, 11:29 AM EDT: @mcmxcdev merged this pull request with Graphite.


Add the docker "repository", not just the account

I wrote the documentation before getting the account set up
by INFRA. No reason to not link the actual site.

Thanks; I included this in 97d90a32e191861e013b041144ce775560069860.


add PingRelays method to RelayPool

In order to keep relay sockets open indefinitely I added this PingRelays() method to the RelayPool struct. There may be better ways to structure this, perhaps a method that allows one to ping an individual relay by passing the normalized url as a key. If that is preferred, please let me know and I'm happy to make that version of this request.

The WebSocket protocol has native pings that the browser and most WebSocket client libraries do automatically for us.
Are you having issues with WebSocket disconnections? It could be that some relay has not implemented these things correctly.

I am indeed having issues with disconnections. You are correct about ping, I would have expected it to be sent periodically by gorilla, but I can find no evidence that it is. could just be I don't understand how it's being accomplished. I have been running go-nostr code with the above patch for about week, with a time.Tick calling it every 30 seconds, in a long lived process running on a digital ocean droplet that watches a list of relays and just saves all the new, unique messages it finds, and those relaypools are mostly flawless since the addition of periodic pinging. it could absolutely be correlation and not causation.

You have to set it up manually when using gorilla, see https://github.com/fiatjaf/relayer/blob/eee9952fac0eca34ea13972dea8905340b17f32a/handlers.go#L76-L79 and https://github.com/fiatjaf/relayer/blob/eee9952fac0eca34ea13972dea8905340b17f32a/handlers.go#L249-L258.

That was my conclusion as well, and my approach to setting it up manually was to patch go-nostr with the above method. I'm an active user of go-nostr and so I wanted at least to see if you were interested, as I'd rather not have to patch it or fork it. if not, no big deal.


Add zipkin-instrumentation-vue-resource

An interceptor for vue-resource that adds some Zipkin love to Vue applications.


define-typed-variable-syntax

Defines a function macro-var-assign which returns a fuction for current-var-assign that invokes a macro.
> (current-var-assign (macro-var-assign #'foo))
> ((current-var-assign) #'x '(:) #'(τ))
#'(foo x : τ)

Defines a macro define-typed-variable-syntax which provides a nice interface for users defining type rules for variables. The macro just creates a macro with define-typed-syntax and then immediately binds it as current-var-assign using the above function.
(define-typed-variable-syntax (#%lin-var x : σ) ≫
  #:do [(unless (unrestricted-type? #'σ)
          (use-lin-var #'x))]
  --------
  [⊢ x ⇒ σ])

What I find weird about this is how define-typed-_-syntax implies a limited scope, but this pull request basically sets it globally for all files that depend on that file.
Would it be better if it instead modified current-var-assign to only do this when a define-typed-variable-syntax macro in the current scope? Which scope should matter here? The one for the language definition, or the use site?

Isn't this already a problem for languages that set parameters globally? stlc+sub does something similar with define-sub-relation. In any case, if a module has been required (directly or indirectly) which sets some parameter globally, this has a real possibility of screwing up languages which depend on default behavior for that parameter. This doesn't seem very reliable.
The only immediate solution I can see is reset the parameters at the top of every language which depends on default behavior for those parameters.

Concretely, I believe what @AlexKnauth dislikes is that define-typed-variable-syntax currently defines a named macro, but then the language never uses it, which I agree feels weird.
I think the global scope and setting a parameter is what we want, so maybe we need a slightly different name.
I will modify and merge this.

I ported the Typed Rosette project to use define-typed-variable-syntax but it revealed a potential issue, which is that some evaluation is moved to the variable use site instead of the macro definition. This potentially complicates things like parameters.
For now, I manually set current-var-assign a second time but it's not ideal. @AlexKnauth do you want to play around with the design of define-typed-variable-syntax to see if Typed Rosette can use it in a nicer way?

Typed Rosette needs to assign the syntax property before the macro expands, so I doubt define-typed-variable-syntax will work for that.


Invalid pluralization for todo

assertThat(English.plural("todo"), is("todos"));

This one fails as the value returned is todoes.

Hi there! My name is Abhi from a company called Prisma. We use this package to pluralize data types and our users rely on these types in their applications. With this change we have several schemas out there that we generated models based on the word 'Todo' -> 'Todoes'.
For example for a given type Todo, we generate crud operations like createTodoes, updateTodoes.
With this change I'm afraid we have broken users or at least caused some friction in upgrading to newer versions of our product. Do you have any recommendations for us?

First, you can simply stick to the older version of this library. If the users complain about pluralization of some words then you can advise them to override the version to the newer one. This will work very well because there are hardly any other changes in this library than the ones fixing pluralization of some words.
Also the opposite is true. You can upgrade the evo-inflector version informing users about possible compatibility issues and possible workaround.
Also note that from the evo-inflector point of view, changes in pluralization is not an API change. Such changes can and will happen between minor versions of this library. The way you use the library amplifies the impact of the changes and that is why you need to upgrade the version with care.


How to replace old nixpkgs with mach-nix.mkPython

Hi, some python nixpkgs is old. I'm trying to use mach-nix to install that package from official registries (like pip) instead.
what I tried so far:
    (python3.withPackages (ps: with ps; [
      (mach-nix.mkPython {
        requirements = ''
          pynvim
          python-lsp-black
          python-lsp-server
          pylsp-mypy
        '';
      })
    ]))

but I don't get the pylsp binary installed. This code is working:
    (python3.withPackages (ps: with ps; [
          pynvim
          python-lsp-black
          python-lsp-server
          pylsp-mypy
    ]))

but of course the version is older.

Try
let
  mach-nix = import (builtins.fetchGit {
    url = "https://github.com/DavHau/mach-nix/";
    ref = "refs/heads/master";
    #rev = "..."; # recommended to pin a commit
  }) { };

  customPython = mach-nix.mkPython {
    requirements = ''
      pynvim
      python-lsp-black
      python-lsp-server
      pylsp-mypy
    '';
  };
in
  customPython

That got me a 'pylsp' binary..

I tried that already. That won't work because python need to be aware of those python packages:
https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/python.section.md#ad-hoc-temporary-python-environment-with-nix-shell-ad-hoc-temporary-python-environment-with-nix-shell

I'm not exactly sure what you're aiming for, but perhaps you get what you want by changing mkPython to mkPythonShell and then use nix-shell?

@bjornfor hi, thanks for your help. I'm trying to set up the neovim lsp for python. I want to install the lsp server packages using nix, but they are old. so I thought I could use mach-nix to install newer version. but apperently it doesn't work with mach-nix because neovim python need to reference them as its site packages, basically the nix venv version of python.

So you want neovim from nixpkgs to be built with a custom python from mach-nix?

not neccessary, just the python from nixpkgs need to be aware of python packages from mach-nix

I looked a bit into it and found the nixpkgs expressions for neovim to be written in such a way that providing a mach-nix customPython to it wasn't that straight forward.
I'm not sure whether this interface mismatch is an issue in mach-nix or nixpkgs :-)

you can always config neovim python with vim.g.python3_host_prog = vim.env.HOME .. '/.nix-profile/bin/python' . It's just that python need to be aware of site packages installed by mach-nix. I still can not figure out.

Then point to a customPython from mach-nix instead of $HOME/.nix-profile/bin/python?

@bjornfor where is that python though . I  need the path

For a quick hack, run command -v python3 when you're in your working mach-nix python env. That'll give you the path.

I got /nix/store/10nbcgpi5vgbadacrd1b8aw0gfgpk293-python3-3.10.5/bin/python, but I want to have something like "${customPython.pkgs}/bin/python" in my nvim config instead of hard coding.

I got /nix/store/10nbcgpi5vgbadacrd1b8aw0gfgpk293-python3-3.10.5/bin/python, but I want to have something like "${customPython.pkgs}/bin/python" in my nvim config instead of hard coding.

"${customPython.pkgs}/bin/python" -> "${import ./your-mach-nix-python-file.nix}/bin/python"?


Feature/1589 rd

Warning
Info
Issues
Fixes #1589
Fixes #1592

@njjc this is ready for review. thanks.


Unit tests for compas_fab.robots.robot.py

@tetov do you plan to continue on this one? or do you prefer if we take over?

@tetov do you plan to continue on this one? or do you prefer if we take over?
I can see if I can find some time to update these tests, but take over if you want!

Coming back to this PR exactly one year after opening it!
I made these tests quite fancy since I wanted to learn pytest. There's a lot of parametrized tests that ironpython-pytest doesn't understand.
We could either:

Add test parametrization to ironpython-pytest
Rewrite the failing tests
Add a way to skip tests, maybe by marking the test function with a # ipy-pytest: SKIP or something.

I could do either 2 or 3, 1 I leave to you @gonzalocasas ;).

We could either:

Add test parametrization to ironpython-pytest
Rewrite the failing tests
Add a way to skip tests, maybe by marking the test function with a # ipy-pytest: SKIP or something.

I could do either 2 or 3, 1 I leave to you @gonzalocasas ;).

I was checking the tests and they could easily be rewritten to not need this feature from pytest. Eventually I'll add it to ironpython-test, but for now, I'd ask you to go for option 2.

I was checking the tests and they could easily be rewritten to not need this feature from pytest. Eventually I'll add it to ironpython-test, but for now, I'd ask you to go for option 2.

Done! Now there's something with the fixtures though. Multiple failed tests with:
 __________ tests\robots\test_robot.py::test_get_base_frame_w_artist[1] __________
Traceback (most recent call last):
  File "C:\ProgramData\Chocolatey\lib\ironpython\Lib\site-packages\pytest\test_runner.py", line 127, in run
    kwargs[argkey] = FIXTURES[argkey]()
TypeError: panda_robot_instance_w_artist() takes exactly 1 argument (0 given)

Integration test failing with a 404 from compas.get('faces.obj').
=================================== FAILURES ===================================
_______ [doctest] compas_fab.robots.constraints.BoundingVolume.from_mesh _______
119         -------
120         :class:`BoundingVolume`
121             Mesh to define :class:`BoundingVolume` with.
122
123         Examples
124         --------
125         >>> import compas
126         >>> from compas.datastructures import Mesh
127         >>> from compas_fab.robots import BoundingVolume
128         >>> mesh = Mesh.from_obj(compas.get('faces.obj'))
UNEXPECTED EXCEPTION: <HTTPError 404: 'Not Found'>

Integration test failing with a 404 from compas.get('faces.obj').
=================================== FAILURES ===================================
_______ [doctest] compas_fab.robots.constraints.BoundingVolume.from_mesh _______
119         -------
120         :class:`BoundingVolume`
121             Mesh to define :class:`BoundingVolume` with.
122
123         Examples
124         --------
125         >>> import compas
126         >>> from compas.datastructures import Mesh
127         >>> from compas_fab.robots import BoundingVolume
128         >>> mesh = Mesh.from_obj(compas.get('faces.obj'))
UNEXPECTED EXCEPTION: <HTTPError 404: 'Not Found'>

resolved!

The nested fixture issue is now resolved in ironpython-pytest v0.4.0.

Jippie!!


Last update to Lightrun Logo

Pre-submission checklist:
Please check each of these after submitting your pull request:

[ ] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[ ] Is your project closed source or, if it is open source, does your project have at least 300 GitHub stars?
[ ] Have you picked the single best (existing) category for your project?
[ ] Does it follow the other guidelines from the new entries section?
[ ] Have you added your SVG to hosted_logos and referenced it there?
[ ] Does your logo clearly state the name of the project/product and follow the other guidelines?
[ ] Does your project/product name match the text on the logo?
[ ] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?

I made some mistake, this should point to the only dark logo now, sorry for all the pr's

Can someone please merge and assist?

Looking good!


[Broken Plugin] Update for the latest WHMCS with PHP 8 Support

Kindly update the plugin to support PHP 8 as PHP 7.4 is depreciated and your plugin is now broken and does not work which generates handling errors.

Yes, please fix it.

Hi,
I am getting empty card issue when paying an invoice, but when I click on mass invoice pay it works now. Any help or fix for this issue?
Bests

getting same issue on php 8.1 with latest whmcs release.
Once I upload this plugin immediately the whole payment gateway page is broke and cannot see or configure any plugins.
error returned :
Error: Non-static method TwocheckoutHelper::config() cannot be called statically in ../modules/gateways/twocheckoutapi.php:199]
Stack trace:
#0 [internal function]: twocheckoutapi_config()
Have to delete all the files uploaded for whmcs to function again and us to access the payment gateway page.

I am sorry for the delay in getting this addressed. We have now fixed this issue in the latest release.


Unable to select which domains in cpanel account to create cert for

Hello,
After using the addon, I have discovered an issue:
There is no way to select which domains attached to a cpanel account to generate a certificate for.
I have a cpanel account that is used not only to host a site, but to manage DNS for a few other domains, as creating a DNS zone in cpanel requires an existing account to attach the zone to for management purposes.  For an account like this, where the dns may be setup to host on a different server, will result in errors and an inability to generate a certificate for the desired domain.
Would it be possible to, before beginning the generation process, have the addon detect what domains are available to generate a cert for, and instead of selecting all, provide a dialogue to the user to allow them to select which domain(s) to generate the certificate for?

So you would like to see an option to select and de-select domain aliases before attempting to generate let'sencrypt certificate right?

Yes, that would be excellent!

Thank you, Will work on this when I get much free time :)

Cool. I'll let my boss know this feature should be coming :)
Thanks for your time!

This feature has been implemented. I have tested this only on centos 6.8, so if anyone using centos 7. Please test it and let me know.


dbeaver/dbeaver#16798 fix: explicitly specify the driver version

Newer drivers are compiled for Java17+

Also, see the PR that changes the driver version on PRO products