TOR exit for LAN2LAN

Hi
i have a problem that i need to access internal services on the internal VPN Lan. Now when i use LANP2P i can see the needed services BUT the traffic isnt going out via tor, but i need this option. vice versa when i use Members i cant see the services but im going out through tor like expected. How can i see the other members in the subnet AND going out through tor? as i want the clients have access to internal services but use the tor exit so that the server IP is hidden. Thanks for pushing me in the right direction :)

@blubbbiz Okay I'll try to explain this as best as I can. You'll need to gain some familiarity with iptable rules. Wiregate ships with the four Configurations with their own distinct preset iptable rules via shell scripts called by the post up/down feilds in the interface config files. Can be modifed in the dashboard buy changing file path.

ADMINS is the only interface that wont drop traffic to the dashboard and the dns filter dashboard, which ever one you choose.

LANP2P is meant for special use cases where you what to connect two remote machines but also prevent traffic from leaving the server or accessing the internet. Which isn't what you want for your use case. Also i never botherd writing the tor  post up/down scripts for this interface.

GUESTS get acces to 80,433 outbound for webtraffic and 53 to <IP_ADDRESS> for dns.

MEMBERS, is meant to be configured to allow more services or whatever you want by adding them to the post up/down scripts found in iptable-rules/Memebers.

For example:
Use as Reference
https://github.com/NOXCIS/Wiregate/blob/main/WG-Dash/src/iptable-rules/Members/tor-postup.sh

These files can be found in the container path  "/opt/wireguarddashboard/src/iptable-rules"  if using wiregate from the main branch or latest release.

If Using from the amneziawg branch then it should be in a docker volume called wiregate_pf_conf.

Btw, you should check out that branch. Its double masking traffic into the sever and out of the sever. AmneziaWG is obfuscated wireguard running in userspace.  To Deep Packet Inspection, it looks like regualar encrypted UDP traffic by scrabbling the wireguard headers.
# Masquerade WireGuard LAN Internal Services
iptables -t nat -I POSTROUTING -o $MASQUERADE_INTERFACE -d <IP_ADDRESS> -p tcp -m multiport --dports 80,443 -j MASQUERADE -s $WIREGUARD_LAN
iptables -t nat -A PREROUTING -i $WIREGUARD_INTERFACE -d <IP_ADDRESS> -j RETURN

# lets say you had another container running at <IP_ADDRESS> on the same docker network for simplicity sake.
# You would have to also allow Masurading to that addres by adding the following lines.

iptables -t nat -I POSTROUTING -o $MASQUERADE_INTERFACE -d <IP_ADDRESS> -p tcp -m multiport --dports 80,443 -j MASQUERADE -s $WIREGUARD_LAN
iptables -t nat -A PREROUTING -i $WIREGUARD_INTERFACE -d <IP_ADDRESS> -j RETURN

# lets say i had another service at <IP_ADDRESS> but i need to acces it at port 3000.
# You would add something like this.

iptables -t nat -I POSTROUTING -o $MASQUERADE_INTERFACE -d <IP_ADDRESS> -p tcp -m multiport --dports 3000 -j MASQUERADE -s $WIREGUARD_LAN
iptables -t nat -A PREROUTING -i $WIREGUARD_INTERFACE -d <IP_ADDRESS> -j RETURN

# Wiregate ships with secure default firewall rules but its your ship after that.
# Configure to your hearts desire

TIPS:
When developing your own iptable rules scripts the resources below can be very helpful
https://gist.github.com/qdm12/4e0e4f9d1a34db9cf63ebb0997827d0d
https://gitlab.torproject.org/legacy/trac/-/wikis/doc/TransparentProxy

hey thanks for that long answer :) seems like i need to study docker more first as i just dont get it to work with your howto over here.
it runs but it ignores the amneziawg branch (or at least it looks like that to me) also tried running a docker container and then inserted the commands from your howto but there it also seems to ignore the amnezia part. and somehow i dont get it to work with the main branch either with the iptables rules :(
then there is that dnscrypt-proxy.toml thing which is a directory and i need to delete it and manually put a file there so that dnscrypt doesnt crash etc. dind is therefore at all not working over here for me BUT im new into docker and will look into this further, as i think its lack of knowledge on my part about docker.
any more hints or instructions on how i could setup the amnezia on ubuntu host with tor exit (dont care which plugin etc. but it would be nice if its not the slowest). i understood then that i have to modify the iptable rules to show the internal services, which worked :) but then i didnt had access to the internet with the clients. maybe the tor proxy didnt work.

@blubbbiz I got lazy writing the reply. Download and watch the video below instead
Ubuntu Demo Video

got it to work "mostly" :D ./stackscript.sh -b main -r E-A-C -t Tor-snow -n default got me a semi working build, i can connect with ios, vms and it goes out over tor. laggy but somehow ok. but now i got the feedback android isnt working. then i tried emulator android and it didnt work too. so seems an adroid issue, maybe you have a hint in the right direction? and if you have an optimized torrc file it would be nice too :)

@blubbbiz  try using this for your dnscrypt config. and set the tor exit nodes closer to your actual country. Im still working on optimizations.
listen_addresses = ['<IP_ADDRESS>:5053']
proxy = 'socks5://wiregate:9053'
max_clients = 250
ipv4_servers = true
ipv6_servers = true
dnscrypt_servers = true
#doh_servers = true
require_dnssec = false
require_nolog = true
require_nofilter = false
force_tcp = true
timeout = 2500
cert_refresh_delay = 240
dnscrypt_ephemeral_keys = true
#fallback_resolvers = ['<IP_ADDRESS>:53', '<IP_ADDRESS>:53']
ignore_system_dns = true
block_ipv6 = false
cache = true
cache_size = 4200
cache_min_ttl = 600
cache_max_ttl = 86400
cache_neg_ttl = 60
[sources]

[sources.'public-resolvers']
urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/public-resol>
minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
cache_file = 'public-resolvers.md'

[sources.'cs-resolvers']
urls = ['https://cryptostorm.is/cs-resolvers.md', 'https://raw.githubusercontent.com/cryptost>
cache_file = 'cs-resolvers.md'
minisign_key = 'RWTzXTWKLLKfM3fRQW0CUwSN17U3YMsVcVdfi3ERraxuttv2tL8dsdUE'
refresh_delay = 72

[sources.'cs-relays']
urls = ['https://cryptostorm.is/cs-relays.md', 'https://raw.githubusercontent.com/cryptostorm>
cache_file = 'cs-relays.md'
minisign_key = 'RWTzXTWKLLKfM3fRQW0CUwSN17U3YMsVcVdfi3ERraxuttv2tL8dsdUE'
prefix = ''

ok great, will try :) is this for the android issue? or the "laggy
connection" issue? as the android issue is the "neckbreaker" also i dont
get it why "normal" (by package manager apt) installed wireguard server
instance has no problem with the android client, but this one has. i assume
because of docker but need to get my graphene phone later today/this week
to try on here myself.
Am Mo., 25. Nov. 2024 um 19:35 Uhr schrieb Noxcis @.***

:

@blubbbiz https://github.com/blubbbiz try using this for your dnscrypt
config. and set the tor exit nodes closer to your actual country. Im still
working on optimizations.
listen_addresses = ['<IP_ADDRESS>:5053']proxy = 'socks5://wiregate:9053'max_clients = 250ipv4_servers = trueipv6_servers = truednscrypt_servers = true#doh_servers = truerequire_dnssec = falserequire_nolog = truerequire_nofilter = falseforce_tcp = truetimeout = 2500cert_refresh_delay = 240dnscrypt_ephemeral_keys = true#fallback_resolvers = ['<IP_ADDRESS>:53', '<IP_ADDRESS>:53']ignore_system_dns = trueblock_ipv6 = falsecache = truecache_size = 4200cache_min_ttl = 600cache_max_ttl = 86400cache_neg_ttl = 60
[sources]
[sources.'public-resolvers']urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/public-resol>minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'cache_file = 'public-resolvers.md'
[sources.'cs-resolvers']urls = ['https://cryptostorm.is/cs-resolvers.md', 'https://raw.githubusercontent.com/cryptost>cache_file = 'cs-resolvers.md'minisign_key = 'RWTzXTWKLLKfM3fRQW0CUwSN17U3YMsVcVdfi3ERraxuttv2tL8dsdUE'refresh_delay = 72
[sources.'cs-relays']urls = ['https://cryptostorm.is/cs-relays.md', 'https://raw.githubusercontent.com/cryptostorm>cache_file = 'cs-relays.md'minisign_key = 'RWTzXTWKLLKfM3fRQW0CUwSN17U3YMsVcVdfi3ERraxuttv2tL8dsdUE'prefix = ''
—
Reply to this email directly, view it on GitHub
https://github.com/NOXCIS/Wiregate/issues/57#issuecomment-2498762616,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BB4J4GOMVJIK53NCFT5BBU32CNUYNAVCNFSM6AAAAABSF4EIHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJYG43DENRRGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

@blubbbiz  Not sure about your android issue but the changing the dns crypt setup will imporve your latency. So facr ive tsted across all the mojor and no mojor operating sysytems with no issues? Would you be able to provide more detail?

The container is running an alpine distro, but ive used my moms android for testing and she hasnt been able to tell its even running on even phone. So i would like to know what causing your issue.

@blubbbiz You dont have to reinstall the the whole thing each time. its a containerized network stack at the end of the day.

@blubbbiz You dont have to reinstall the the whole thing each time. its a containerized network stack at the end of the day.

yeah need to find out that part when it all runs smoothly :) for now i got it to work 90% i just need to find out how to allow access to port range 40000-65535 udp and tcp on a service for the other members. will look into your iptables link now. with single ports it works perfect :)

@blubbbiz You dont have to reinstall the the whole thing each time. its a containerized network stack at the end of the day.

yeah need to find out that part when it all runs smoothly :) for now i got it to work 90% i just need to find out how to allow access to port range 40000-65535 udp and tcp on a service for the other members. will look into your iptables link now. with single ports it works perfect :)

@blubbbiz  Send me your docker compose and Members iptables.

@blubbbiz You dont have to reinstall the the whole thing each time. its a containerized network stack at the end of the day.

yeah need to find out that part when it all runs smoothly :) for now i got it to work 90% i just need to find out how to allow access to port range 40000-65535 udp and tcp on a service for the other members. will look into your iptables link now. with single ports it works perfect :)

@blubbbiz Send me your docker compose and Members iptables.

just sent you an email :) also i didnt found any donate links from you. maybe you have one? and maybe publish it on your pages as well, i can think that by this high quality level of support, other users want to donate smth too :)


Discord overlay stops working, cant see who is talking.

Run discord as administrator or uncheck the option in Sensei DE that says: Run as administrator. Sorry for the delayed answer as I did not notice it :(.


Combining several Examples into one Application

Let's say I would like to display three deck.gl examples in one application (e.g. having a landing page with 3 buttons to start the example).
From the documentation it says that you need to install npm for each example. Is there another way?
Thanks.

From the documentation it says that you need to install npm for each example. Is there another way?

@dleitner100 Do you want to build an app that combines our examples or do you just want to link to the examples on our web page?
Assuming the first, our examples are designed to be stand alone so that you can copy each directory out and install and build it independently of the deck.gl repo.
If you'd like to combine examples you'd be expected to cut and paste code together. There are typically two pieces you need to copy from each example, the data loading code and layer rendering code.


No such file or directory error

I keep getting this error...:
GX010374.MP4 could not be downloaded: [Errno 2] No such file or directory: './download/GX010374.MP4'
What am i doing wrong?
Should I create the folder "download" myself and where should it be located?
Thanks in advance.

@oscaralon11 If you are running this from the cloned repo directory, the download directory already exists. If not, you will need to create it.
On another note, my fork of the repo might be a better option. I was not seeing video files downloaded in the zip after about page 7. If you see the same behavior, try using my fork. My fork also sets the created date of the files to the capture date, which is important to me.

As @riznob mentioned, if you clone the repo directly, it will use the download directory within the repo. Optionally, you can provide a different directory by using -e DOWNLOAD_PATH to store the files in any other destination.


Support play/pause on media already playing

Hello,
is it possible to support play and pause command on current playing media without launching a new video?
Something like this:
client.connect(host, function() {
    // some method to load current player
    client.loadCurrentPlayer(function(err, player) {
       player.pause()
       // ...
       player.play()
    })
})

or directly operating on client object (like stop/volume/mute/unmute action):
client.connect(host, function() {
    client.pause()
    // ...
    client.play()
})

Hi. AFAIK it is possible, I've used a version of that in one of my projects. The code should be something like this, if I remember correctly.
import { Client, DefaultMediaReceiver } from 'castv2-client';

const IP_ADDR = ...;

const client = new Client();

client.on( 'status', status => {
    if ( status && status.applications instanceof Array ) {
        const app = status.applications.find( app => app.appId === DefaultMediaReceiver.APP_ID );

        if ( app != null ) {
            client.join( app, DefaultMediaReceiver, ( err, player ) => {

            } );
        } else {
            client.launch( DefaultMediaReceiver, ( err, player ) => {

            } );
        }
    }
} );

client.connect( IP_ADDR );

I wrote this code off the top of my head, so there might be dragons (more like bugs 😄) in there. Let me know if it works for you.

Thank you @pedromsilvapt - I've tried that code. :) When I run that code, the Spotify casting stops and the Default Media Reciever takes over. The code exits with a TypeError: Cannot read property 'mediaSessionId' of null. Do you have an idea of what could be a solution?

Hi @EricHier. Yeah, sorry, I assumed you were using the default application, which is why in the find method, I was looking for a session like this app.appId === DefaultMediaReceiver.APP_ID. You will have to look for the ID of the Chromecast Spotify app (you can do it by making a console.log( status ) while the spotify app is open.
One caveat is, I'm not sure the DefaultMediaReceiver can control the spotify app, never tried it. Maybe the commands are the same (play, pause, etc...).

Ah okay, I see. The sessions I get with getSessions looks like this:
[{ appId: 'CC32E753',
    displayName: 'Spotify',
    iconUrl:
     'https://lh3.googleusercontent.com/HOX9yqNu6y87Chb1lHYqhKVTQW43oFAFFe2ojx94yCLh0yMzgygTrM0RweAexApRWqq6UahgrWYimVgK',
    isIdleScreen: false,
    launchedFromCloud: false,
    namespaces: [ [Object], [Object], [Object], [Object], [Object] ],
    sessionId: 'e91fc450-998e-4d1c-b3b6-9cc95c578654',
    statusText: 'Casting: I Want To Break Free - Single Remix',
    transportId: 'e91fc450-998e-4d1c-b3b6-9cc95c578654' }]

Afterwards I tried to run
client.join(sessions[0], DefaultMediaReceiver, (err, player) => {
    player.pause();
});

and get the TypeError: Cannot read property 'mediaSessionId' of null.
Does this mean that the protocol is not the same? Or do I miss something?

Yes I suppose. That particular error seems in my view to be triggered by the status reponse message, which does not contain the mediaSessionId that the DefaultMediaReceiver needs to call the pause method. I've never worked with the Spotify App, so I can't be of much help with that. Sorry 😢

Okay. :) I highly appreciate your help - so awesome! ^^ I am not that experienced with this module and you helped me to get a realistic evaluation of the issue. :)


keyboard is not opening on iPhone and iPad when you tap on the input

Closing as a support issue.

Hi @wesleycho
What does this mean, is it working now?

Interesting comment from @wesleycho.

This is not a terribly useful issue without more details for a maintainer to look into without reproductions (preferably via Plunker) - feel free to open up an issue with those details.
I spent a lot of time this past weekend triaging issues in this repository since it needs a lot of love, but without minimum details, issues can be very costly to maintainers' mental overload to getting things fixed, or even if they are issues in many cases. With details & reliable reproductions, maintainers (or wouldbe contributors) have time saved from having to chase down if something is even an issue, and helps get things moving faster.

Minimum details is that you take an iphone and open a page where the ui-select is displayed and try to click on it and key some data. I'm sure you will see the issue with iOS native keyboard.
Using the Plunker cannot bring you that issue. You need to use native device.

A Plunker would allow being able to see what happens. A device, or emulator such as the iOS Simulator can be used with it to debug any issues.

Plunker cannot emulate 100% device's functionality.

Locking as unproductive conversation - Plunker along with iOS Simulator can improve the ability to debug something like this drastically.


NullPointerException when running in Headless mode

An error occurred when I used headless to batch import the obj files of Renesas rl78-g13 mcu to functionid, and then I tried to import a single obj file, but still reported the same error as below:
2021-09-18 18:13:17 INFO  (LoggingInitialization) Using log config file: jar:file:/C:/Users/Donglxd/Desktop/ghidra_10.0.3_PUBLIC_20210908/ghidra_10.0.3_PUBLIC/Ghidra/Framework/Generic/lib/Generic.jar!/generic.log4j.xml
2021-09-18 18:13:17 INFO  (LoggingInitialization) Using log file: C:\Users\Donglxd\Desktop\rl78_import.log
2021-09-18 18:13:17 INFO  (Preferences) Loading user preferences: C:\Users\Donglxd\.ghidra\.ghidra_10.0.3_PUBLIC\preferences
2021-09-18 18:13:21 INFO  (ClassSearcher) Class search complete (3938 ms)
2021-09-18 18:13:21 INFO  (SSLContextInitializer) Initializing SSL Context
2021-09-18 18:13:21 INFO  (SecureRandomFactory) Initializing Random Number Generator...
2021-09-18 18:13:21 INFO  (SecureRandomFactory) Random Number Generator initialization complete: SHA1PRNG
2021-09-18 18:13:21 INFO  (ApplicationTrustManagerFactory) Trust manager disabled, cacerts have not been set
2021-09-18 18:13:29 INFO  (HeadlessAnalyzer) HEADLESS Script Paths:
    C:\Users\Donglxd\Desktop\ghidra_10.0.3_PUBLIC_20210908\ghidra_10.0.3_PUBLIC\Ghidra\Debug\Debugger-agent-dbgmodel-traceloader\ghidra_scripts
    C:\Users\Donglxd\Desktop\ghidra_10.0.3_PUBLIC_20210908\ghidra_10.0.3_PUBLIC\Ghidra\Features\Base\ghidra_scripts
    C:\Users\Donglxd\Desktop\ghidra_10.0.3_PUBLIC_20210908\ghidra_10.0.3_PUBLIC\Ghidra\Debug\Debugger\ghidra_scripts
    C:\Users\Donglxd\Desktop\ghidra_10.0.3_PUBLIC_20210908\ghidra_10.0.3_PUBLIC\Ghidra\Processors\8051\ghidra_scripts
    C:\Users\Donglxd\Desktop\ghidra_10.0.3_PUBLIC_20210908\ghidra_10.0.3_PUBLIC\Ghidra\Features\GnuDemangler\ghidra_scripts
    C:\Users\Donglxd\Desktop\ghidra_10.0.3_PUBLIC_20210908\ghidra_10.0.3_PUBLIC\Ghidra\Processors\DATA\ghidra_scripts
    C:\Users\Donglxd\Desktop\ghidra_10.0.3_PUBLIC_20210908\ghidra_10.0.3_PUBLIC\Ghidra\Features\Decompiler\ghidra_scripts
    C:\Users\Donglxd\Desktop\ghidra_10.0.3_PUBLIC_20210908\ghidra_10.0.3_PUBLIC\Ghidra\Processors\PIC\ghidra_scripts
    C:\Users\Donglxd\Desktop\ghidra_10.0.3_PUBLIC_20210908\ghidra_10.0.3_PUBLIC\Ghidra\Features\BytePatterns\ghidra_scripts
    C:\Users\Donglxd\Desktop\ghidra_10.0.3_PUBLIC_20210908\ghidra_10.0.3_PUBLIC\Ghidra\Features\MicrosoftCodeAnalyzer\ghidra_scripts
    C:\Users\Donglxd\Script
    C:\Users\Donglxd\Desktop\ghidra_10.0.3_PUBLIC_20210908\ghidra_10.0.3_PUBLIC\Ghidra\Features\FunctionID\ghidra_scripts
    C:\Users\Donglxd\Desktop\ghidra_10.0.3_PUBLIC_20210908\ghidra_10.0.3_PUBLIC\Ghidra\Features\Python\ghidra_scripts
    C:\Users\Donglxd\Desktop\ghidra_10.0.3_PUBLIC_20210908\ghidra_10.0.3_PUBLIC\Ghidra\Features\FileFormats\ghidra_scripts
    C:\Users\Donglxd\Desktop\ghidra_10.0.3_PUBLIC_20210908\ghidra_10.0.3_PUBLIC\Ghidra\Features\VersionTracking\ghidra_scripts
2021-09-18 18:13:29 INFO  (HeadlessAnalyzer) HEADLESS: execution starts
2021-09-18 18:13:29 INFO  (HeadlessAnalyzer) Opening existing project: C:\Users\Donglxd\rl78-fidb
2021-09-18 18:13:29 INFO  (HeadlessProject) Opening project: C:\Users\Donglxd\rl78-fidb
2021-09-18 18:13:29 INFO  (HeadlessAnalyzer) REPORT: Processing input files:
2021-09-18 18:13:29 INFO  (HeadlessAnalyzer)      project: C:\Users\Donglxd\rl78-fidb
2021-09-18 18:13:29 INFO  (HeadlessAnalyzer) IMPORTING: C:\Users\Donglxd\Desktop\rl\rl78.16.test\libcom\1.0.1\19.rl.16\vsscanf.obj
2021-09-18 18:13:30 DEBUG (QueryOpinionService) No query results found for loader Executable and Linking Format (ELF) with primary key 197 and secondary key 18177
2021-09-18 18:13:30 ERROR (HeadlessAnalyzer) REPORT: null java.lang.NullPointerException
	at ghidra.app.util.importer.LcsHintLoadSpecChooser.choose(LcsHintLoadSpecChooser.java:62)
	at ghidra.app.util.importer.AutoImporter.getLoadSpec(AutoImporter.java:208)
	at ghidra.app.util.importer.AutoImporter.importFresh(AutoImporter.java:172)
	at ghidra.app.util.importer.AutoImporter.importFresh(AutoImporter.java:156)
	at ghidra.app.util.importer.AutoImporter.importByLookingForLcs(AutoImporter.java:91)
	at ghidra.app.util.headless.HeadlessAnalyzer.loadProgram(HeadlessAnalyzer.java:1644)
	at ghidra.app.util.headless.HeadlessAnalyzer.processFileWithImport(HeadlessAnalyzer.java:1522)
	at ghidra.app.util.headless.HeadlessAnalyzer.processWithImport(HeadlessAnalyzer.java:1688)
	at ghidra.app.util.headless.HeadlessAnalyzer.processWithImport(HeadlessAnalyzer.java:1753)
	at ghidra.app.util.headless.HeadlessAnalyzer.processLocal(HeadlessAnalyzer.java:445)
	at ghidra.app.util.headless.AnalyzeHeadless.launch(AnalyzeHeadless.java:121)
	at ghidra.GhidraLauncher.main(GhidraLauncher.java:82)

2021-09-18 18:13:30 ERROR (HeadlessAnalyzer) REPORT: Import failed for file: C:\Users\Donglxd\Desktop\rl\rl78.16.test\libcom\1.0.1\19.rl.16\vsscanf.obj

so I checked the code at ghidra.app.util.importer.lcshintloadspecchooser.choose as follows:
49		@Override
50			public LoadSpec choose(LoaderMap loaderMap) {
51
52			// Use the highest priority loader (it will be the first one)
53			Loader loader = loaderMap.keySet().stream().findFirst().orElse(null);
54			if (loader == null) {
55			return null;
56			}
57
58			// Try to use a known LoadSpec that matches the desired language/compiler spec
59			Collection<LoadSpec> loadSpecs = loaderMap.get(loader);
60			for (LoadSpec loadSpec : loadSpecs) {
61			LanguageCompilerSpecPair lcsPair = loadSpec.getLanguageCompilerSpec();
62	**this error happen:**		if (lcsPair.languageID.equals(languageID) &&
63			(compilerSpecID == null || lcsPair.compilerSpecID.equals(compilerSpecID))) {
64			return loadSpec;
65			}
66			}

so What should I do?

There are also some additions:

I use the third-party processor module for Renesas rl78 G13（ https://github.com/xyzz/ghidra-rl78 ）, I suspect that the above errors of headless are caused by the languageid of this module

The window script I used to call headless. This script refers to（ https://blog.threatrack.de/2019/09/20/ghidra-fid-generator/ and https://ecos.wtf/2021/03/12/ecos-firmware-analysis-with-ghidra ）The script in is as follows:

"C:\Users\Dong\Desktop\ghidra_10.0.3_PUBLIC_20210908\ghidra_10.0.3_PUBLIC\support\analyzeHeadless" "C:\Users\Dong" "rl78-fidb" -import "C:\Users\Dong\Desktop\rl\rl78.16.test" -recursive -scriptPath "C:\Users\Dong\Desktop\ghidra_10.0.3_PUBLIC_20210908\ghidra_10.0.3_PUBLIC\Ghidra\Features\FunctionID\ghidra_scripts" -preScript "FunctionIDHeadlessPrescript.java" -postScript "FunctionIDHeadlessPostscript.java" -processor "RL78:LE:16:default" -cspec “default”
ps:If you import a single obj, the window script command also has the same error code

The directory structure of the imported obj file containing rl78 is as follows:

rl
-- rl78.16.test     -- libcom
-- 1.0.1             -- 19.rl.16
|-- vsscanf.obj
|-- vsprintf.obj
|-- vsnprintf.obj
[...]
|-- vscanf.obj
|-- vprintf.obj
`-- truncl.obj

The obj format is elf format. You can manually select the processor module (rl78) with the GUI of ghidra v10.0.3 and import and analyze a single obj file. However, this link is encountered during batch import using the batch import menu function of the GUI of ghidra v10.0.3（ https://github.com/NationalSecurityAgency/ghidra/issues/1934 ）The same problem that rl78 language cannot be selected

My ultimate goal is to generate a functionid library from obj files

Can you attach one of the object files?

I uploaded some obj files with this url:https://github.com/donglxd/RL78_Static_Library_To_Obj/tree/main/rl78cm4s.lib_to_obj_sampile/function2

I uploaded some obj files with this url:https://github.com/donglxd/RL78_Static_Library_To_Obj/tree/main/rl78cm4s.lib_to_obj_sampile/function2

In your rl78/data/languages/ directory, try adding this rl78.opinion file:
  <constraint loader="Executable and Linking Format (ELF)">
    <constraint compilerSpecID="default">
      <constraint primary="197" secondary="18177" processor="rl78" endian="little" size="16" variant="default"/>
    </constraint>
  </constraint>
</opinions>

I just tested a single obj file. It seems that there is no problem. I'll try importing obj files in batches tomorrow. Thank you!

Sure thing.  Let's keep this ticket open though, because we should be able to handle this case better.

A fix for the exception has been added for release with 10.0.4 which could occur when no opinion is found.

I'm sorry that it took me so long to reply to you. These two days, I took the time to batch generate all the library files of rl78-g13 (CS + cc-rl compiler). According to the rl78.option you gave, I added some options, as follows(https://github.com/donglxd/RL78_Static_Library_To_Obj/blob/main/rl78.opinion):

Through this file, I finally generated the fidb file. I can also see the exported 2000 + functions in the tools - function ID - table viewer in the main menu. However, when I create a new analysis project to load my rl78 hex program analysis, the function name is not displayed. I searched the problem library. My situation is a little similar to this link ( https://github.com/NationalSecurityAgency/ghidra/issues/1007 ）, but I didn't understand the last responder of the post（0x6d696368). Do I need to compile the whole ghidra to get the. Fidbf file? I'm looking forward to your help to solve this problem?
a. The fidb file I generated is linked as follows:（ https://github.com/donglxd/RL78_Static_Library_To_Obj/blob/main/RL78.fidb )
b. The link to the hex file I used for the test is as follows:（https://github.com/donglxd/RL78_Static_Library_To_Obj/blob/main/TEST_FUNCTIONID_lib.hex ）I only called one isascii function in this hex

Screenshot of source code of hex file in CS + cc_rl compiler:

Screenshot of the built-in disassembly code in the CS + cc_rl compiler hex file:

Loading the hex file in ghidra does not analyze the isascii function in the functionid library

I just spent some time compiling ghidra (version 10.0.3) added with rl78.fidb file and generated rl78.fidbf(https://github.com/donglxd/RL78_Static_Library_To_Obj/blob/main/RL78.fidbf). The test result of Hex is disappointing or does not display isascii function. So what's the problem? I look forward to your reply!

Two days have passed. Can someone help me solve the above problems?

NullPointerException has been fixed by 564cab0b1bbc2e27b28256f6490eb7e17c4667c8.  Closing ticket to reflect that.

Are you sure the libraries you generated the FID from were the exact ones uses in your sample?


Changes stable link to 0.11.0

Updates versions.html and stable symlink.

@mthrok Hey Moto, not sure if you needed this but I ran it for you. Cheers


missing php tag

You are right! This was aready fixed on the dev branch. Thank you for your contribution!


Fix: Allow minor variations in random_summary plot

Hopefully this will fully pass on CI, and close #4.
Similar vein to #76.


Write Network Security SOP

https://github.com/Ops-201-Team-Name/Ops-201-Team-Name/wiki/Network-Security

SOP has been reviewed and is detailed and answers questions precisely


Need postgres with graph extensions running on windows OS

I have a graph kit with custom stored procedures, but it's a subpar to true graph engine.
Any assistance building this code on Windows OS would be greatly appreciated.

I got the application to compile for branch release/PG15/1.5.0
If it works out will create a fork and some instructions.

@MironAtHome Thank you! This would definitely be helpful to others.

Just finished port for PG14 version 1.5.0
Will be running regression tests and update with quality check.
A few warnings regarding cast from 64 bit long long value type to 32 bit long integer type is something will be checking.
Please, look over switch to postgres memory / string handling functions from malloc and various to palloc0 family.

Similar for Postgres 16
https://github.com/MironAtHome/agewin/tree/port/win32msvc/PG16/1.5.0
Any help testing  ( within scope of port and some function substitution ) greatly appreciated.

When running regression I am seeing this error: cache lookup failed for type 190232
It would seem related to my missing some component in the extension creation SQL script.
Debugger session seems to help with some of the troubleshooting, but it would take from me a bit more to ram up.
Any suggestion is greatly appreciated.
Error is related to the very first regression script statement:
SELECT * FROM ag_catalog.create_graph('ag_graph_1');

@MironAtHome Unfortunately, I haven't done Windows coding in a long while and can't help. I will see if any others on the team might be able to assist you.

@muhammadshoaib ?

Thank you for checking on my messages.
I am mostly looking for just running regression and being par for the course with what it produces on linux.
I got the functions running, the handle intercept is not working for now, I think I need to redefine the handle related function set along the lines the macro PGMODULEEXPORT was redefined.
Will get back once I try and have results.
It would help if you could please share email or some other token to communicate more detailed technical messages, so that my explorations in how the engines works internally was more of an engineering channel.

Just pushed two comments to branches
PG14/1.5.0
PG16/1.5.0
Looks like hook functionality is now intact.
Again, any help with regression greatly appreciated.

It looks like most of cypher functionality and C functions are working under branch port/win32msvc/PG14/1.5.0 in the fork
CSV loading module is in works
As as aside, I am not 100% convinced that yet another API CSV within graph module in C is easy to maintain, platform wise.
Would you be open to consider loading files into Postgres tables for regression sakes and than ingesting data into graph from table?
This might help to obviate some of the sharp(er) corners of dealing with character sets, since it would match what Postgres loads.
By itself, I believe, Postgres has both, LOAD feature for the CSV files, that should be able to handle any character set comfortably, and 3rd party extensions handling CSV file(s).

@MironAtHome I will ping someone again on the team who might be able to help.

Hi,
Could you please provide the information about your environment weather you are running AGE on windows using Visual Studio compiler or you are using WSL. We have done a testing on WSL long time ago.
Your feedback will help in determining the issue and will lead to eventual solution.
Thanks.
MS

Thanks John!
Greetings MS,
Windows OS, dev station(s) is Microsoft Windows 11 Pro running Postgres release 14 till latest, thinking to synch to Postgres 16.
Compiler - Microsoft cl.exe, however, I use Visual Studio 2022 and drive build using Microsoft project ( all checked in under fork's branches ).
I drive development under branch port/win32msvc/PG14/1.5.0, here is branches I use
port/win32msvc/PG14/1.5.0
port/win32msvc/PG16/1.5.0
after I like what I have in 14 I sync to 16, it's a bit delicate merge due to differences.
I have setup ( yesterday ) cross compilation environment running Linux CentOS 8, just applied Postgres 16 compiled from source, stable 16 branch paired with matching Age extension for cross check of behaviors.
So, you can see, no WSL is used in either case. I am not 100% comfortable using subsystems for eventual production grade workloads, so, WSL will have to be left away from this exploration.

I started working on this, hopefully I will be done in couple of days with minimal changes in AGE to make it cross platform.

Hello, I really appreciate effort.
My fork just got all the changes needed for the code.
There is still a bit of work left to document steps needed to setup windows flavor of flex, add build targets for the Visual Studio project file and wrap up on drawing table based ingestion, regression and cleanup.
Please do let me know if I can be of any assistance, I am hoping to wrap up work on my fork by end of this week.
Thank you greatly for your help!

I have updated build scripts and branches to sufficient quality to get a quality build with certain well known hacks related to Windows SDK.
Here is two branches of the fork:
https://github.com/MironAtHome/age/tree/port/win32msvc/PG14/1.5.1
https://github.com/MironAtHome/age/tree/port/win32msvc/PG16/1.5.1
Those are branched off of PG14 and PG16 respectively.
Here is build instructions ( copied over from issue #1877
Please see here

Need to set PG_CONFIG environment variable, similar to Postgres version 16 Microsoft Windows build instructions
Need Microsoft Visual Studio 2022 latest c compiler with SDK
Need to have perl on build machine
Need to have windows edition of flex and bison on the machine and edit tools\msvc\config.pl, similar to Postgres version 16 Microsoft Windows build instructions

Please run tools\msvc\build.pl from under root
Please note, you may run into some SDK conflicts, please let me know. Need to modify some of the SDK files, here is how it looked on my machine:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winternl.h
STRING ->  STRING_TYPE;
typedef STRING_TYPE *PSTRING_TYPE;

#define STRING STRING_TYPE
#define PSTRING PSTRING_TYPE

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\shared\wtypes.h
DECIMAL -> T_DECIMAL
typedef DECIMAL *LPDECIMAL; -> typedef T_DECIMAL *LPDECIMAL;
#define DECIMAL T_DECIMAL

I wish I had checked this issue before I built my binary port.
I built a binary ship with PG17.
https://github.com/ShanGor/apache-age-windows


supplier services listing: add partial test for page title

Very very slightly restore some of the strictness removed by my last PR #318  along with improving the comment.

:+1:


Add Support for Provisioned Concurrency

This is another thing that would be very nice to have available for latency sensitive applications or just applications where users do not tolerate cold starts well.  On the Terraform side of things, this is accomplished normally with:

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lambda_function and setting publish to be true so that each creation is under a new version.
(optional) https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lambda_alias defining an alias that gets updated and is used for consistently defining the provisioned concurrency configuration.
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lambda_provisioned_concurrency_config which then puts the provisioned concurrency in effect by function name, either a version or alias qualifier, and the number of hot copies of the code you want.

You also need to use the qualified ARN for API Gateway routing then too so that requests land on the appropriate version with the provisioned concurrency setup.
Thinking this through, I think this could be configured in the top level with either 1 or 2 (potentially splitting for page vs API Lambda functions) where if not null, then define the PC config and put it in place.  I think that should be the gist of it though.
For reference, if I try to do this now, Terraform will put new code under $LATEST as expected and revert the routes to point at $LATEST.  This does not eliminate the PC config but renders it useless.  I have not tried manually versioning and updating after a deployment and then repeating as a manual workaround.

Hi, I personally don't see the need for provisioned concurrency from a user perspective:

Usage of provisioned concurrency would mostly benefit sites with low traffic.
Sites with high traffic have a higher possibility to hit a warm Lambda. So you would basically pay a very high price (provisioned concurrency is really expensive) to serve a site with low traffic.
That's exactly the opposite of the selling point for serverless applications: You can use it for low traffic sites and don't have to pay the bills for an idling server.

In general the average cold start time is between 200ms and 400ms for JavaScript.
For a low-traffic site this is still very fast.

Don't get me wrong, I am not against implementing provisioned concurrency here, but I think provisioned concurrency was built with another use case in mind.
E.g. creating a CloudWatch event that triggers a route/Lambda every 15 minutes (or scheduled to be active when the site hits low traffic) would be a much cheaper option compared to provisioned concurrency.

So let me give some context because I do not disagree that that average cold start time is acceptable.  In experimentation, that cold start time (200 - 400ms) is only actually achievable if you do not touch resources inside a VPC and the function purely runs in Lambda.  With VPC overhead, we see cold starts start creeping up into the 2 - 3 second range, and this is across all runtimes and not just NodeJS.  One of our primary reasons for deploying to AWS and not Vercel is to access VPC resources without having to expose them publicly; Vercel's recommendation to expose things like DBs to all IPs and use password rotation is laughable.
If I manually hack in a provisioned concurrency (PC) config, these execution times drop to just code time as you would expect.  What is unusual to me is that with NextJS, these cold start times are especially brutal.  Here is a screenshot contrasting a cold start vs a normal run captured straight from CloudWatch:

So 300ms vs 7500ms.  The difference is staggering with the latter being too painful for any user to be willing to tolerate.  I assume some of that pain is NextJS doing some server-side rendering on first load, but if I can keep that hot, then that is one-time pain and not every-time pain.
Another thing I want to address is that PC is mostly beneficial for low traffic sites (your first point).  Our findings have been that it is basically essential to have a small pool of PC functions available for everything coupled with an autoscaling policy or else you get killed by chained cold starts.  Lambda needs to start a second copy of a function (second container) every time there is not an idle paused container available, so if you get a spiky workload, your first request can rack up 2s cold start penalties all the way through along with repeated attempts.  The cost is negligible compared to having a terrible user experience.
I hope that helps contextualize things.

Hey @ofhouse , I wound up doing some internal testing of this targeting localhost and avoiding Lambda entirely following doing some other work in which I removed all VPC networking from our deployed code in a given environment (so only Lambda overhead existed) and still found that the start-up time was bad.  I then compared that against a vanilla NextJS app and that basically pinned it down to it being our code at fault.
With that in mind though, I think that provisioned concurrency presents an immediate way to pay to "fix" this issue for people that are willing to pay and opens up another way to run NextJS code on AWS in a way that Lambda supports that is currently walled off.  What do you think?

Thanks for providing more context. 👍
Agree that for VPC integrations PC could provide a quick win.
However I still think that invoking the Lambdas through scheduled CloudWatch events is still a more preferable solution to keep the Lambdas warm, since its way cheaper than PC.
Unfortunately I currently don't have time to bring PC support to the module.
But would accept an PR for this, if you have time to put something together.

I am fairly busy but am fine with taking this on and putting up a PR since I am the only one asking for it to be supported 😅 .  Thank you for the prompt reply.  I'll try to get something up in the next week or so.

@JT-Bruch what does your EventBridge look like? It would nice to have an opt-in parameter to automatically create EventBridge triggers to keep lambdas warm (every 5m).
I manually created a rule scheduled every 5 minutes to keep my site warm.
Function: [your-app]__NEXT_PAGE_LABMDA_0
Configure input: Constant (JSON text)
{"requestContext": {"http": {"method": "GET"}}, "headers": {"x-nextjs-page": "/index"}}

NOTE: you may need to update your page, or add multiple rules for specific pages.

@JT-Bruch no, I never had time to put this in place.  We went with a simpler engineering approach and decided to compare our app against a vanilla NextJS app to see what other things we could do.  This led to us ripping out almost everything from _app.tsx and where appropriate instead using dynamic imports: https://nextjs.org/docs/advanced-features/dynamic-import.  Even after that though, a cold start will run about 6  seconds but that is more acceptable for us since we are not focused on SEO.
We wound up even adding logs throughout our code for capturing elapsed times and reasoned that during a cold start, our .env.local data gets loaded and then nothing happens for several seconds.  It is all NextJS initialization as far as we can tell as things are processed for the first time.  Subsequent requests process in roughly 200 milliseconds most times.
@khuezy that will only keep one Lambda container warm.  If you ever have 2 requests come in with any overlap such that the single container is busy, you will get another cold start and a bad user experience.  Provisioned concurrency allows you to keep as many hot containers running as you are willing to pay for.

@curtis-trynow-io  sorry, was on vacation and that makes total sense.  I ran into the same issue even hosting the application on vercel, which leads me to believe its not an AWS issue.
@khuezy that is the issue I am running into, there happens to be enough concurrent requests to cause a second cold start when GTMetrix hits the site.

Doesn't Vercel use AWS?

Yes, the SSR part currently runs on AWS Lambda. However they actively working on swapping it out in favour of CloudFlare workers.
Vercel has build an internal service that invokes the Lambdas (while not executing any Next.js code) on a custom schedule directly through the AWS SDK to keep them warm.
They don't use provisioned concurrency for this.

@ofhouse What do you think about adding https://github.com/jeremydaly/lambda-warmer to the node-bridge normalizeAPIGatewayProxyEvent function?

Yeah, I think it would make sense to add a built-in solution to keep the Lambdas warm. 👍
Since the module aims to simplify the deployment, we should add an option where you can enable and customize the schedule how often the Lambdas should be invoked via CloudWatch Events.


help(COMPONENT): TITLE

from
https://angular.io/guide/docs-style-guide

This heading is not displayed in the TOC

" h3 class="no-toc"
This heading is not displayed in the TOC
/h3"
Is there a special  built in , class="toc"   that will enable generate a table of content [ TOC ] for my components ?

This is a question for AIO, so I'm moving it over to the angular/angular repo where that project lives.


What is the boot sequence of the RP 4B?

https://raspberrypi.stackexchange.com/questions/10442/what-is-the-boot-sequence?newreg=09e9dba2330e4036bf9d404d71cf22f2

As of 0ct 05, 2012, loader.bin is not used anymore. It was integrated into bootcode.bin and removed.


Support more error levels than warning and error (like pylint)

Having warning and error is nice, but many linters (e.g. pylint) have even more error levels. It would be nice if sublime linter had more options and gave each plugin a way to map its error hierarchy onto the sublimelinter error levels.

We don't want to support anything else than errors and warnings because it just complicates everything without adding value.

Error - you need to do something about it now
Warning - you should do something about it soon


Update javaparser-symbol-solver-core to 3.25.8

About this PR
📦 Updates com.github.javaparser:javaparser-symbol-solver-core from 3.25.7 to 3.25.8
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.javaparser", artifactId = "javaparser-symbol-solver-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.github.javaparser", artifactId = "javaparser-symbol-solver-core" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #1952.


Add extension catalog image sync script to workflow

This will add a mechanism to build the Extension Catalog Image for the ui-plugin-charts repository. This image will consist of each extension and subsequent versions defined in the manifest.
Versioning of this catalog image will be accomplished by releasing a tag. The workflow is gated by a released trigger, the released tag that triggers this workflow will be the tag or version of the catalog image.
For example, cut a new release with a tag name 0.1.0, this will trigger the workflow to build the image with that tag as the version.
I have created a test image that can be used to import within the Rancher UI and will contain all of Kubewarden and Elemental versions.

@rohitsakala I do not know how the image names are generated in the rancher-images.txt file, I assume this is automated. Can you give some insight on how this could be accomplished?

@rohitsakala I do not know how the image names are generated in the rancher-images.txt file, I assume this is automated. Can you give some insight on how this could be accomplished?

@jordojordo Yes it is automated and the code that generates is in here https://github.com/rancher/rancher/blob/release/v2.8/pkg/image/utilities/utilities.go#L200. Maybe you could add a func in a new file named extensions.go just like charts.go and that func can add your image to the list of images.


[ANDROID] Wrong position when using react-native-navigation from wix

When using the wix navigator and:

windowSoftInputMode="adjustResize", it scrolls to the wrong position (maybe ~40px off?)
windowSoftInputMode="adjustPan", it removes the navbar from the screen, which is not what I want
inside a modal, it scrolls to the wrong position on input focus.

Setting extraHeight={Platform.select({ android: 200 })} helps.

and which windowSoftInputMode you use with that?


Fix stopping non-sentinel Redis on RedHat with non-default bind address.

Before this commit, the RedHat non-sentinel init script failed to stop Redis if Redis was configured with a non-default bind address, since the bind address was not used or considered in the CLI shutdown command.
This commit also rationalizes the various init scripts in terms of how the CLIEXEC var was constructed. In some cases previously the -h option was actually supplied twice, because it was included both as part of CLIEXEC and then supplied again as part of the shutdown command. Now all necessary options are always included as part of the CLIEXEC var, and none are supplied directly in the shutdown command.

In case anyone comes across this before it's merged, a workaround is to change e.g. redis_bind: "<IP_ADDRESS>" to redis_bind: "<IP_ADDRESS> <IP_ADDRESS> -- that is, allow connections to the localhost address, which is the default used by redis-cli, too.

Thanks @carljm. I'm pretty sure this (finally) closes #7 too. I'll do some more testing and get this merged in and a new version tagged.

@carljm This change has been pushed to Galaxy in version 1.0.6; let me know if you're still having any issues.


Support a proj query parameter for rendering in various projections

Vector Tiles have no projection, thus any cylindrical projection on the WGS84 Datum can be rendered into Vector Tiles in meters. The default is currently web-mercator (3857), but 3395 (Elliptical Mercator) could be supported.

@ARolek - what would you like the proj API to support, to give you this use case? Do you want proj strings, or something else?

@mpgerlek from an user's perspective I think it would be ideal to use SRID values. This could then be leveraged in the tegola config, query strings for tile requests, and it's also the value we work with when determining if a geometry from a data provider needs re-projection.
For the proj project have you considered generating Go code from a list of projection strings? In an ideal world an interface could be established that all the projections could leverage and tegola would be able to call a method like (rough sketch):
var p []float64{32.715738,-117.161084}

// proj.Project(from, to uint, point ...float64) ([]float64, error)
p, err := proj.Project(4326, 3857, p...)
if err != nil{
  // handle err
}

Do we have a means to generate the proj string from an arbitrary SRID? Or are you thinking about just hardcoding in support for a handful of well-known epsg codes?
I'm not sure what you mean by "generate code" -- are you thinking about generating the actual AST on the fly can then calling into it, or..?

NGA would like to display data in 3395 specifically, but they have the
means and resources to author their own projection code. In fact, they
prefer to use an in-house projection library. Some support for interfaces
would suffice for NGA uses if they could author their own custom code for
specific projections. I believe their issue was the hard-coded nature of
Tegola's output engine.
-Steve
PS. I am no longer involved in that NGA project as I have moved to the
commercial satellite division of my company (Spaceflight Industries,
Blacksky GeoSpatial)
On Fri, Apr 13, 2018 at 3:14 PM, Michael P. Gerlek<EMAIL_ADDRESS>
wrote:

Do we have a means to generate the proj string from an arbitrary SRID? Or
are you thinking about just hardcoding in support for a handful of
well-known epsg codes?
I'm not sure what you mean by "generate code" -- are you thinking about
generating the actual AST on the fly can then calling into it, or..?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/go-spatial/tegola/issues/267#issuecomment-381235556,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABbwW7uzL5MKUW32nrYGE59er8ceKakTks5toPkdgaJpZM4RqBBE
.

@mpgerlek I was thinking more about having the SRID "hardcoded". Another way to think about this is using a registration type system, like Go does with the image package. We also take this approach with data providers and cache backends in tegola. This would also allow for @singram7 to to register a custom projection code (though it would require a custom build of tegola).
Re: generating code. I'm more referring to a way to automate parsing the proj4 codes and generating the Go code which would adhere to a common interface. I have not worked too much with proj4 strings so I'm not quite sure if this is possible. Ideally the proj package would have a list of ESPG codes and their respective proj4 strings, which we could then use to generate Go code that would make up much of the proj package. Want to add a new ESPG code?  Add it ands the pro4 string to the list and regenerate.
Again, I don't know if this is possible based on my limited knowledge around proj4 strings, but this is the high level idea.

Discussion moved to https://github.com/go-spatial/proj4go/issues/3

Would be great to have custom projection for vector tiles output.
+1

I would like to add projection 25833. Where should I start to look?

@RobertSasak
Currently, the projection system in Tegola only supports transforming data in a different projection to webmercator. At current the render system only outputs to webmercator. The proj project will help us to remove this limitation.
Well it depends on which direction you want to go:

the quick way would be to adapt the current system, that will be thrown away.

Add a new package that can do the conversion.

Currently  for webmercator it's in the (math/webmercator package.)[https://github.com/go-spatial/tegola/tree/master/maths/webmercator]

Add  a new constants to (tegola/projections.go)[https://github.com/go-spatial/tegola/blob/master/projections.go#L5]
Add a case to the (toWebMercator)[https://github.com/go-spatial/tegola/blob/6a08f2c826fe849dfd4571a58b4361c6c95aa7e0/tile.go#L122] and (fromWebMercator)[https://github.com/go-spatial/tegola/blob/6a08f2c826fe849dfd4571a58b4361c6c95aa7e0/tile.go#L137].

The long way, which would be to add it to the proj package, and then integrate that into tegola. This is the long-term direction. This will probably take quite some time, and I have not had the time to look over the proj package and code review it. This is my plan after the refactor of the math and geom package which is what I'm doing now.

Thank you for a quick reply. As I am only playing with data I found the easiest to convert all data to correct projection directly in DB.
Below is my sql script. First I select all tables that contain myColumn and then I concat ALTER command.
select
'ALTER TABLE ' || table_schema || '.'|| table_name || '
 ALTER COLUMN myColumn TYPE geometry(Geometry,3857)
  USING ST_Transform(myColumn,3857);
'
 FROM information_schema.columns WHERE column_name = 'myColumn';


Remove login redirect b/c the auth process immediately returns the sessionId

The auth process immediately returns the sessionId instead of redirecting, so we...

Check for the sessionId header instead of the login redirect header
Remove the GET request to the login redirect URL

The code redemption process will then work:
Setting up . . . . . success!
Logging in as<EMAIL_ADDRESS>. . . . . success!

Getting previously redeemed SHIFT codes . . . . . not found.

Trying 'steam' SHIFT code 'KHWTB-3CBJB-6XWFZ-6B3BB-T5CCJ' . . . . . code already redeemed.
Trying 'xboxlive' SHIFT code 'KHWTB-3CBJB-6XWFZ-6B3BB-T5CCJ' . . . . . code already redeemed.
Trying 'psn' SHIFT code 'KHWTB-3CBJB-6XWFZ-6B3BB-T5CCJ' . . . . . code already redeemed.
Trying 'epic' SHIFT code 'KHWTB-3CBJB-6XWFZ-6B3BB-T5CCJ' . . . . . code already redeemed.
Exiting in 5 4 3 2 1

I've only tested this with a single code (using the -shift-code arg). I haven't tested the rest of the processes yet.

This project has been forked and updated to work with the latest auth as well as with Wonderlands codes: jauderho/bl3auto


Cannot install with uv pip install -r requirements.txt when --extra-index-url is present

Hey,
We have our own package index and when I specify deps in a requirements.txt I have:
--extra-index-url <link>
--trusted-host <host>
my_pkg

I am able to use regular pip like pip install -r requirements.txt but when I try to use uv pip install -r requirements.txt I get:
error: Unexpected '-', expected '-c', '-e', '-r' or the start of a requirement at requirements.txt:3:1)

Which seems to imply the file isn't parsed properly.
For compatibility with other tools, I can't do away with the requirements.txt sadly. Is this a bug or is there a way to fix it?
Thanks!

We don't support --trusted-host in a requirements.txt file.

Is there a plan to support it in the future or an alternative?

We do support the behavior -- just not in a requirements.txt file. You can use --allow-insecure-host on the command-line or in a uv.toml file (https://docs.astral.sh/uv/reference/settings/#allow-insecure-host).

(And no we don't intend to support it in the file https://github.com/astral-sh/uv/issues/7702)

Fair enough, thanks for the quick answer guys!


feat: [meet] new module for meet

Generated with https://github.com/googleapis/google-cloud-java/actions/workflows/generate_new_client.yaml
Command used:
python generation/new_client/new-client.py generate --api_shortname="meet" --proto-path="google/apps/meet" --name-pretty="Google Meet API" --product-docs="https://developers.google.com/meet/api/guides/overview" --api-description="The Google Meet REST API lets you create and manage meetings for Google Meet and offers entry points to your users directly from your app" --transport="grpc"

This was a test


Realtime Updates - last_messaged updates to a different time

I got a text alert 11/18 @ 7:42pm but the database says last_messaged is 11/19 @ 1:42AM
I think this is in the send_alerts.py script right now

This was an easy fix. Just needed to change user setting in Twilio (their default is Pacific time)


How to test slider component with testID?

[ ] I have searched existing issues
[x] I am using the latest multi slider version

I want to test the slider component on my application, but I need to have a testID. Could we implement a one? Where is the component that we can set a testID?

Sure, I don't mind. Feel free to send a pull request and we can add this.

Maybe we can have something like datetime picker solution: https://stackoverflow.com/a/60746762/2285631

Although the documentation says that it accepts the testId attribute, apparently it was not attached in the current version


Added SELECT2_JSON_ENCODER option in Django settings.py

Added support to set a custom JSON encoder via Django settings.py

Oh an @N1K1TAS95 you'll need to move the docstring under the attribute, to make it work. I'd recommend running python setup.py build_sphinx to check the docs locally.

@codingjoe I've moved attribute docs under the attribute itself.
python setup.py build_sphinx compiles and docs are updated with new attribute.

Woop woop 🎉 let's ship it

Thanks!


Publishing to Tableau server 2018.1

Hello,
When I try to get Logshark v2.1 to publish to Tableau Server 2018.1 I get the following error:
Publishing of workbook 'ClusterController.twb' failed: Failed to publish workbook 'ClusterController.twb': Failed to retrieve successful response for POST request to 'http://xx.xx.xx.xx/api/2.2/sites/0120d718-bef4-4057-b319-96b7b2334a28/workbooks?overwrite=True' after 3 attempts: The remote server returned an error: (403) Forbidden. [3 attempts made]
I've tried this with  Explorer (can publish), site administrator explorer and server administrator permissions and I get the same error. I know the API is enabled as I ensured this was the case this morning.
Any ideas?
Thanks
Rob

Hey Rob,
Hm, sounds like you've checked most of the things I would recommend here (making sure Logshark is using a site admin account, and making sure the REST API is enabled).
The only other thing I can think of to check is whether the server has permission to access the data source in the workbook.  Does your Tableau Server have access to query data from your Logshark Postgres database? Typically this involves editing the pg_hba.conf file.

Hello,
Thanks for the quick response. Unfortunately the server does have access. I've managed to publish the dashboards by copying the output to a dev server and publishing with Tableau desktop. I think it might be related to the server name that's being used in the connection. When doing the workaround I made sure to use IP address instead and that seems to work.
Thanks
Rob

Hi Rob,
Does it work if you use IP address in Logshark.config as well? If yes - what is the hostname which fails? I saw in the past that some symbols in URLs can make other applications to act weird (i.e. IE doesn't accept any cookies from URLs with dash in them)

Closing due to the lack of activity in this thread


Selecting residues when using mdentropy.metrics.AlphaAngleMutualInformation

My protein has two domains and I just want to perform MI of one domain WRT other domain. How can I add this mask?

You can use Trajectory.atom_slice to select atoms that you would like to use in the analysis.


modify README_CN.md, JWT link is wrong

 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.tangke01 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@supermario1990 please assign the CLA. is tangke01 also your account?

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.
tangke01 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

<EMAIL_ADDRESS>

@supermario1990 please assign the CLA. is tangke01 also your account?

sorry，I wrote a wrong user name


How would I compile this project?

Error when requiring crass:

~/crworkspace/crass (master ✔) ᐅ crystal build src/crass.cr
Error in src/crass.cr:4: instantiating 'Crass::CLI:Module#run()'

  Crass::CLI.run
             ^~~

in src/crass/cli.cr:21: instantiating 'OptionParser:Class#parse!()'

      OptionParser.parse! do |opts|
                   ^~~~~~

in /Users/isaac/.anyenv/envs/crenv/versions/0.21.1/src/option_parser.cr:60: instantiating 'parse(Array(String))'

    parse(ARGV) { |parser| yield parser }
    ^~~~~

in /Users/isaac/.anyenv/envs/crenv/versions/0.21.1/src/option_parser.cr:60: instantiating 'parse(Array(String))'

    parse(ARGV) { |parser| yield parser }
    ^~~~~

in src/crass/cli.cr:21: instantiating 'OptionParser:Class#parse!()'

      OptionParser.parse! do |opts|
                   ^~~~~~

in src/crass/cli.cr:26: no overload matches 'Crass::CLI::Options#show_filename=' with type String
Overloads are:
 - Crass::CLI::Options#show_filename=(show_filename : Bool)

          options.show_filename = show_filename

yup failed with 21.1, let me fix it and push.

Thanks so much.
On Apr 20, 2017 3:21 PM, "Kingsley Lewis"<EMAIL_ADDRESS>wrote:

yup failed with 21.1, let me fix it and push.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/vonKingsley/crass/issues/1#issuecomment-295919072,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHmpGexw4jZAVS5YY3ECzYaxK09CLV0ks5rx8w6gaJpZM4NCFYp
.

ok pull it, and give it a try.  You may need to be in the root directory when you compile it
crystal build --release src/crass.cr


Can you un-hardcode your account information from truffle-config and provide some more reproduction steps? What commands are you using to start a local node and deploy the EVM

Can you un-hardcode your account information from truffle-config

Feel like it makes most sense if you do this, as I don't know what is the end result you want (like e.g. if I were you I'd just hardcode different info).

and provide some more reproduction steps?

Do you mean it doesn't reproduce with latest near-evm and ./node_modules/.bin/truffle test --network near test/userLibrary.js? What is the result you get?
Unfortunately I don't think I have commands I used to start node. I think I just used default local setup + increased some gas limit in config (as NEAR was previously returning error about gas limit).

steps I'm taking to try to reproduce:
audius-protocol branch: evm-bug-demo
near-web3-provider branch: evm-bug-demo
nearcore branch: stable
near-evm branch: master
modify audius truffle-config.js
-          fileKeyStore, ACCOUNT_ID, networkId, 'vg-evm');
+          fileKeyStore, ACCOUNT_ID, networkId, ACCOUNT_ID, 'near_evm')

# start local test net
(nearcore) $ python scripts/start_unittest.py --local --release

# deploy near evm at account `near_evm`
(near-evm) $ cargo test

# create a new account named `vg-evm`
$ near create_account vg-evm --masterAccount test.near --nodeUrl http://localhost:3030 --keyPath nearcore/testdir/validator_key.json

# move keys to where audius truffle config expects
(audius-protocol/contracts) $ cp $NEARKEYS/default/vg-evm.json ./neardev/default

# run with additional logging
(audius-protocol/contracts) $ truffle test --network near test/userLibrary.js --verbose-rpc

current status: hanging after solidity compilation. investigating more.

Update: checking out near-web3-provider branch fixes runs tests, which error with the following message:
    1) "before each" hook for "Should add one track save"

  0 passing (14s)
  1 failing

  1) Contract: UserLibrary
       "before each" hook for "Should add one track save":
     Error: invalid bytes value (arg="_subjectSig", coderType="bytes", value={})
      at Object.exports.addUserAndValidate (test/_lib/testUser.js:24:30)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)
      at Context.<anonymous> (test/userLibrary.js:75:5)

Okay.   Invalid sign
00000050  61 74 75 72 65 20 66 6F 72 20 67 69 76 65 6E 20  ature for given
00000060  75 73 65 72                                      user

as a sidenote I strongly disapprove of putting so much logic in the before each hook

Okay.

For future reference, here is the bytecode that produces the error message:
	0FAB    5B  JUMPDEST
	0FAC    60  PUSH1 0x02
	0FAE    60  PUSH1 0x01
	0FB0    14  EQ
	0FB1    60  PUSH1 0x05
	0FB3    54  SLOAD
	0FB4    60  PUSH1 0x06
	0FB6    60  PUSH1 0x00
	0FB8    90  SWAP1
	0FB9    54  SLOAD
	0FBA    90  SWAP1
	0FBB    61  PUSH2 0x0100
	0FBE    0A  EXP
	0FBF    90  SWAP1
	0FC0    04  DIV
	0FC1    73  PUSH20 0xffffffffffffffffffffffffffffffffffffffff
	0FD6    16  AND
	0FD7    60  PUSH1 0x40
	0FD9    51  MLOAD
	0FDA    60  PUSH1 0x20
	0FDC    01  ADD
	0FDD    80  DUP1
	0FDE    80  DUP1
	0FDF    7F  PUSH32 0x61646455736572322e7573657253746f7261676552656769737472794b65793a
	1000    81  DUP2
	1001    52  MSTORE
	1002    50  POP
	1003    60  PUSH1 0x20
	1005    01  ADD
	1006    83  DUP4
	1007    81  DUP2
	1008    52  MSTORE
	1009    60  PUSH1 0x20
	100B    01  ADD
	100C    80  DUP1
	100D    7F  PUSH32 0x3a00000000000000000000000000000000000000000000000000000000000000
	102E    81  DUP2
	102F    52  MSTORE
	1030    50  POP
	1031    60  PUSH1 0x01
	1033    01  ADD
	1034    82  DUP3
	1035    73  PUSH20 0xffffffffffffffffffffffffffffffffffffffff
	104A    16  AND
	104B    73  PUSH20 0xffffffffffffffffffffffffffffffffffffffff
	1060    16  AND
	1061    60  PUSH1 0x60
	1063    1B  SHL
	1064    81  DUP2
	1065    52  MSTORE
	1066    60  PUSH1 0x14
	1068    01  ADD
	1069    92  SWAP3
	106A    50  POP
	106B    50  POP
	106C    50  POP
	106D    60  PUSH1 0x40
	106F    51  MLOAD
	1070    60  PUSH1 0x20
	1072    81  DUP2
	1073    83  DUP4
	1074    03  SUB
	1075    03  SUB
	1076    81  DUP2
	1077    52  MSTORE
	1078    90  SWAP1
	1079    60  PUSH1 0x40
	107B    52  MSTORE
	107C    90  SWAP1
	107D    61  PUSH2 0x1121
	1080    57  *JUMPI

And here is my hand-annotated decompiled code:
// load the free mem pointer.
// We will start writing 0x20 bytes after it.
// This leaves space for the solidity bytearray length prefix
var startWritePointer = memory[0x40:0x60] + 0x20;

// write the raw string "addUser2.userStorageRegistryKey":
memory[startWritePointer:startWritePointer + 0x20] = 0x61646455736572322e7573657253746f7261676552656769737472794b65793a;
nextWrite = startWritePointer + 0x20;

// userStorageRegistryKey
memory[nextWrite:nextWrite + 0x20] = storage[0x05];
nextWrite += 0x20;

// write the raw string "":""
memory[nextWrite:nextWrite + 0x20] = 0x3a00000000000000000000000000000000000000000000000000000000000000;
nextWrite += 0x01;

// verifierAddress
// It gets shifted right by 12 bytes. normally the address is in the low 20 bytes, we want it in the high 20
memory[nextWrite:nextWrite + 0x20] = (storage[0x06] & 0xffffffffffffffffffffffffffffffffffffffff) << 0x60;

// determine where the string ends
var stringBodyEnd = nextWrite + 0x14;

// determine where the length prefix ought to go
var freeMemPointer = memory[0x40:0x60];

// write the length prefix
memory[freeMemPointer:freeMemPointer + 0x20] = stringBodyEnd - freeMemPointer - 0x20;

// Update the free mem pointer to point at free space after the string.
memory[0x40:0x60] = stringBodyEnd;

Alright.

Can this issue be closed?

Yes it can be :)


[direct-io-blob]: improve logging in BlobLogObservable

Original output like
Starting to observe partition cz.o2.proxima.direct.blob.BlobLogObservable$BulkStoragePartition@99491d5

is not so useful, this looks better
Starting to observe partition BulkStoragePartition{id=0, size=201, minTimestamp=0, maxTimestamp=3600000}

LGTM. Thanks!


Use faster-rcnn training DPN network by alt

Hi,
I am trying to training dpn network using faster-rcnn by 4-steps method, the training process is normal, both the rpn loss and fast-rcnn loss are reducing. But during the test, the result is very poor, Have you used 4-steps to training dpn network?

I am sorry, I only used the end2end training procedure.

Another question, I am trying to use end2end method to training DPN networks, when I use the dpn92-merge.caffemodel to initial the network, the output of some loss are very large(in my case are loss_bbox=210.396, loss_cls=87.0391, rpn_cls_loss=0.7288, rpn_loss_bbox=0.8088), So It made me can't training the network, but when I use the dpn92.caffemodel to initial the network, the loss is normal and decreasing by the time. But the test result is poor... Did you meet such question in your training ?  And I think this is also the answer of my first question, in which I also initial the network using dpn92.caffemodel

I think you should check that your train.prototxt is also merge bn-scale or not?

@soeaver  I used the network on your github 'det/faster_rcnn/models/pascal_voc/dpn92/faster_voc_dpn92-merge.prototxt'  initial weights are 'dpn92-merge.caffemodel' to training using end2end method. Got the loss I described in last question.

Sorry, so that nothing I can help.


aten::arange

@eaidova please resolve merge conflicts

@eaidova please resolve merge conflicts

@mvafin resolved, thanks


PasswordBox An asterisk "*" cannot be entered

Describe the bug
An asterisk "*" cannot be entered
To Reproduce
An asterisk "*" cannot be entered
Expected behavior
An asterisk "*"  entered
Screenshots
No response
OS version
Win11
.NET version
.net 7
WPF-UI NuGet version
3.0.0-preview.2
Additional context
No response

To add a bit more detail to this:

If my password was "Password**", it will allow me to type the letters but hitting the symbol (asterisk) does nothing. No new characters are inputted. However, if I click the little eyeball thing so I can see what the password is that I'm typing... it will allow me to proceed.


Add support setting some cli options for I-,P- and B-frames separately

NumFramePartitions, ForceCtuSplit and FastIntraMode have a huge impact on quality/performance trade-off, so setting them for each frame type separately allow better experience in tuning HEVC FEI.

@mgonchar, thanks for your remarks. I've changed code according to them. By the way, std::set::contains is available since C++20 (https://en.cppreference.com/w/cpp/container/set/contains).


Update CLIENT_ID

Hey
I see you have copied my code from https://github.com/Danielhiversen/home_assistant_tractive
That is ok, but it would be great if you do not use the same client id

Thank you! May I ask you where did you get these IDs?

Got it from someone at Tractive


When looking at the download.
A.) Why is flac being downloaded from some other subdomain other than downloads.sourceforge
B.) Why are sox and lame not using https.
Trying this one to see if it works.
Chuan

create a new pull request.


Localized file check-in by OneLocBuild Task: Build definition ID 21368: Build ID 97230144

This is the pull request automatically created by the OneLocBuild task in the build process to check-in localized files generated based upon translation source files (.lcl files) handed-back from the downstream localization pipeline. If there are issues in translations, visit https://aka.ms/icxLocBug and log bugs for fixes. The OneLocBuild wiki is https://aka.ms/onelocbuild and the localization process in general is documented at https://aka.ms/AllAboutLoc.

closing old automated PR since newer one has been merged


How to set Microsoft Edge as default browser for WEBVIEW

Can you please help us to setup Microsoft Edge as a default browser when opening a WebView.
Actually the website that we want to open in WebView, only works on Microsoft Edge.
That's why we want that WebView should use Microsoft Edge as its default.
Please let me know if its possible or not. And if possible then how can we do that?

As far as I'm aware, the WebView is considered a separate browser. I'm quite sure I have seen "Android WebView" as its own category on caniuse.com for example. (However, I don't see that right now).
That said, all Chromium browsers are quite similar, but if you really need Edge, you probably need to solve your problem without the help of this library.


[WIP] Backward compatible framework for OAP data file

What changes were proposed in this pull request?

Split OAP data file reading to 2-level classes: OapDataReader(higher level) & OapDataScanner
OapDataReader identifies the version of PartitionedFile, then use different versions of OapDataReader like OapDataReaderV1, inside which OapDataScannerV1 is used. It will follow the meta definition in OapDataFileMetaV1.
Refactor, like extract OapDataReader, OapDataWriter from OapDataReaderWriter.scala

How was this patch tested?
Existing tests.

Thanks @linhong-intel , this is postponed after v0.4 release due to it's not a block issue, will update it later.

Will close this and create a new PR.


Refactor Broadcast Page

Deliverable:

[ ] Make a test_data directory under frontend/src folder. Make a file named broadcast.json and add the broadcast data there. Remove the strings from here
[ ] Use this json to render on the broadcast and all_broadcast page and also in the carousel

Format of json -
{
   "title": "Title of the Broadcast",
   "content" : "This will contain the data of the broadcast (well formatted)",
   "link" : the url will go here
}

Please make sure to execute the html tags present in the content of the broadcast i.e the content should be well formatted instead of of just string

I'd like to work on it.

I'd like to work on it

I'd like to give it a try.

I want to do this. will submit PR within 2 days😁

Hey @ashuvssut as we need to follow FCFS so I am assigning this issue to @nehaparmar99
Happy learning :)


Add include feature

Should fix #66

Thank you for your contribution.  Please review our contribution instructions here:
https://github.com/wercker/stern/blob/master/CONTRIBUTING.md
In particular, we can only merge contributions from signatories of the Oracle Contributors Agreement:
https://www.oracle.com/technetwork/community/oca-486395.html

@markxnelson The last commit has been signed-off. Is that all I have to do?

@stevenklar I can only merge PRs from people who have singed the Oracle Contributors Agreement.
https://www.oracle.com/technetwork/community/oca-486395.html

@markxnelson Ah okay. If nobody who signed the oca would sign my last commit this PR can be closed without merge.

@hatchan thanks, great suggestion. Tested your change it worked like a charm.
Merged the suggestion.

@stevenklar Unfortunately GitHub doesn't allow the "suggestion" so span multiple lines (ie. it only replaced the first line with my suggestion), so you need to remove some of the original lines.

@stevenklar Unfortunately GitHub doesn't allow the "suggestion" so span multiple lines (ie. it only replaced the first line with my suggestion), so you need to remove some of the original lines.

Ya. I noticed that and removed the duplication.

Thank you for review again. Everything should work as expected now.

The OCA has been signed and sent to the given mail. Would be happy if this will be merged.
@hatchan @majewsky

thanks, sorry for taking this long

Hi, the documentation (README) does not seem to reflect this new option. Is that right ?


modprobe updates

These patches all add various updates to the modprobe configuration:

Comments are added to explain each workaround.
Older Intel iGPUs have Vulkan support enabled.
Very old AMD/ATI GPUs are supported again.

I can understand if this is not desired. Let me know and I can drop the last patch.

I completely understand. When Mesa 23.1.0 came out, it had a bunch of build issues with r600. I ended up just disabling it in my package and never looked back.
I removed that patch that re-enabled the radeon driver. Comments are added to the existing file and Intel Vulkan drivers are enabled on older hardware still.

Somewhat related, I was reading the comments on hid_steam and it appears the current version is supposed to detect when steam is running and unload itself, then reload in desktop mode. How long has it been since we didn't blacklist hid_steam? It might be worth trying in unstable to see if it works as intended.

Good find, @pastaq !
It appears those issues were when the hid_steam driver was introduced in the Linux kernel 5 years ago. I tested my Steam Controller and can confirm it works with Steam games even with the hid_steam driver loaded. I tested on Arch Linux and SteamOS 3.4.8 (had to SSH in to verify while it was in gamescope-session / Game Mode).

BEHAVIOR
Steam client
In-Game

Arch Linux
Mouse
Controller

SteamOS 3.4.8 (gamescope-session)
Controller
Controller

I added a commit to remove that workaround since it is no longer needed.


Airline slowing down all commands

environment

vim: 8.0
OS: raspbian I guess? I'm SSHing into it
Have you reproduced with a minimal vimrc: yes
terminal: xterm (PuTTY emulation)
$TERM variable: xterm
color configuration (:set t_Co?): Occurs with both 256 and whatever the default is

Vim is unusabley  slow to do most everything with airline installed, any sort of operation or switching between modes, or switching between split windows. I've tried without any other plugins, and a blank vimrc. Here's a profile if I did it correctly: https://pastebin.com/8x0Qi1gG

duplicate of #1026

To clarify, is it better now with caching enabled?

Enabled caching and the problem persists, here's another profile after enabling it if there's anything helpful there: https://pastebin.com/gxhvuPCB

try disabling all extensions:
let g:airline_extensions = []
Other then that, there is not much that I can do.
BTW: What vim version?

Still experiencing slowdown with all extensions disabled.

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Apr 23 2017 12:10:29) Included patches: 1-197, 322, 377-378, 550

Thanks for trying.

you might want to try a self-compiled Vim of the latest version just to make sure. Also, perhaps trying a theme, that does not change colors might help a bit, so perhaps try this experimental one


[Features] Stack AdGuardHome / Unbound / Cloudflared / Stubby

Description of the feature
Create a complete DNS DoH/DoT stack with AdGuardHome / Unbound / Cloudflared / Stubby based on https://github.com/trinib/AdGuard-WireGuard-Unbound-Cloudflare of course without the VPN.
Benftits of feature
For a better safety in our environment
Additional context

Hello, thanks for the idea. This isn't something I'm interested in implementing, but you're welcome to fork this and build it.


Is it necessary to include vcpkg as submodule?

Vcpkg is installed with Visual Studio and available in GitHub Windows runner. Why is it necessary to include it as submodule?

@yasar11732, great question! The recommendation could indeed be adjusted if vcpkg is already provisioned, but we shouldn't assume all vcpkg users are working with Visual Studio. I'd love to hear more from you on this to help keep the template project up to date with the latest vcpkg developments.


FR: For the builtin select, add an option to disable the number keys

I don't really use the number keys in DressingSelect, so I'd prefer to hide them altogether to save a bit of space for selections with longer lines.

Done in 15ef9a398c81ec9b98ec95feb74bad9d12ac474c

Thank you!


add  fusion base class

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks for refactoring the code base by adding an abstract class!!
Is it possible for adopting the design like in https://github.com/deepset-ai/haystack/tree/8002cf92d6a54c60ac8180f85d1c42b1105f547c/haystack/nodes/ranker . We can use the following folder structure:
multimodal/models/fusion/__init__.py
multimodal/models/fusion/base.py
multimodal/models/fusion/fusion_mlp.py
multimodal/models/fusion/fusion_ner.py
multimodal/models/fusion/fusion_transformer.py

@zhiqiangdon We can consider to refactor the other folders by using base.py for storing the base class, and separately store important modules as independent files.

@zhiqiangdon We can consider to refactor the other folders by using base.py for storing the base class, and separately store important modules as independent files.

Sure. Data processors may also need a base class.


Terraform managed in k8s

Details
Currently, the terraform is being applied prior to the cluster bootstrap process which creates a cluster-specific configuration for resources consumed within the cluster. Such as GCS buckets for Thanos etc.
Ideally having these resources applied within the cluster means their life-cycle management is more coupled with the application that consumes them and I can ensure no application dependencies in cloud providers gets left behind if an application is either updated or removed.
Additionally, I will have the flexibility of re-using existing kustomization to overlay the terraform variables per cluster to create cluster agnostic impressions of the resource and apply them uniquely per cluster or environ.

One viable option https://github.com/crossplane/crossplane

Successfully deployed and used crossplane to create a cloudSQL instance in GCP from within my k8s cluster hosted on RPis - This would ideally deprecate the existing infrastracture/gcp/*.tf files that are XR to the applications hosting in the cluster.


Mistype

When you created a new label called unstal, I think you meant unstable.

i meant unstale but thx for telling me

fixed the name


Add MicroBitPowerManager::readInterfaceRequest()

See https://github.com/lancaster-university/codal-microbit-v2/issues/169

This has been merged already via https://github.com/lancaster-university/codal-microbit-v2/commit/f4ebd24b5715d893c92c05e112c93fa050488d51, thanks Martin!


Default module name when name not set

The module/function name is captured by PySB when Components
are defined, but in some interpreters the __name__ attribute
is not set for interactive sessions. To avoid an error, this
introduces a default value of __unnamed__.

Coverage increased (+0.2%) to 78.667% when pulling 254f603fead06c2bab61ff96d1ecdad5eb6862f8 on alubbock:fix_modname_core into<PHONE_NUMBER>6b6df74872f1ebf94a1ef148775a63 on pysb:master.


Use RecordRtc

Audio Recording on IOS/OSX
Important: keep in mind that to be able to acces the mic on ios you need to run your local env using https, otherwise the os won't allow accessing the mic.
MediaRecorder API is poorly supported and needs to be activated as an experimental feature on both, desktop and mobile safari (on desktop by using safari's developer mode settings, on mobile by using settings>safari>advanced>experimental-feature). I would call this a no-go for the ux but thats up tp you to decide. See https://caniuse.com/#feat=mediarecorder
alternatives
Input Capture
Instead of accessing the mic directly use voice recording app provided by Os. (approach promoted on google developers: https://developers.google.com/web/fundamentals/media/recording-audio)
Unfortunately does not work for the "microphone" case but should be kept in mind for future development.

see https://bugs.webkit.org/show_bug.cgi?id=202039

<input type="file" accept="image/*" capture="camera" />
<input type="file" accept="video/*" capture="camcorder" />
<input type="file" accept="audio/*" capture="microphone" />

RecordRTC
Use cross browser RecordRTC lib. Postpone the headache of implementing/testing cross browser logic yourself. Has the benefit that ios/osx users don't need to enable the experimental mediaRecorder api.
Outcome
You can see the recordrtc implementation in this pr.
I tested it on mobile & desktop safari and chrome, edge and firefox.
Further suggestions
Generally, since the scope of the application is relatively small it could be a good choice to provide native apps or vue/react-native approaches to have better acces to hardware peripherals. Flutter could also be a feasible approach here. From a user perspective i would guess that the succes of the application will be based on the friction of the default use scenario, which potentially is mainly on mobile.

Missed some bugs in chrome, going to update tomorrow

as the xcode simulator does not support audio capture I'm not able to test this but works solid across all my browser :D will integrate immediatly into the main repo.

I was actually not done yet, the issue is on desktop safari not on chrome and still exists. The audio is not being recognized after recording.. Still investigating here. For other browsers i encountered an issue where the recording is being cropped somehow, don't know if this is a general issue or related to the lib. I'll let you know if i can solve these issues.

weird, desktop safari worked fine for me.
sorry didn't meant to merge this prematurely

weird, desktop safari worked fine for me.
sorry didn't meant to merge this prematurely

On OsX? would be interesting to know if its related to the safari or Os version, on IOS it works as intended

I just updated my environment and running newest os and safari versions things seem to work.

Safari Version 13.0.4 (156<IP_ADDRESS>.3)
Catalina 10.15.2 (19C57)

I'm going to update my software


[BUG] How-To /etc/ persistent changes not Documented

Describe the bug
How-to make persistent changes to /etc/ are not documented
To Reproduce

Modify /etc/sysctl.conf or /etc/ssh/sshd.conf
reboot
Changes are lost
Look how to make these changes in the Harvester Docs

Expected behavior
There should be a section that explains how to make changes to the system and make them persist across a reboot.

This ticket wasn't resolved as explained here. One is how to install packages and the other is based on a config file that isn't usable after install. At one point, the answer was to place these files in /usr/local/etc...


About the train of Feedback Policy: a bug

Hi, I'm trying to run train_calvin.sh. When running to FeedbackPolicy/train/train_utils.py, but I encountered an error.

I find that the output of model which represents the state of gripper is not in [0, 1]

I've modified the loss func to binary_cross_entropy_with_logits, should have solved the issue

I've modified the loss func to binary_cross_entropy_with_logits, should have solved the issue

It works. Thanks for your help!


Webauthn Javascript not working

Describe the bug
The javascript that enables our Webauthn for two-factor provisioning and login appears to be broken.
The button shows as greyed out for me in Safari, Chrome, and Firefox on MacOS.
To Reproduce
Attempt to provision a new Webauthn device or login with an existing one.

Resolved by #7650.


Reorder alphabetically - development

Reordering alphabetically.

          1 Warning

:warning:
Too many changes (when adding, please keep it to one project per Pull Request)

  Generated by :no_entry_sign: Danger


[AMBARI-24036] Config Group Names are converted to uppercase once selected on UI

What changes were proposed in this pull request?
Once selected config group names are converted to uppercase on UI.
How was this patch tested?
21800 passing (35s)
48 pending

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/2601/
Test PASSed.


Added HTML code to application

This PR adds all of the HTML we need for the rework study guide application.

hihi

This PR adds all of the HTML we need for the rework study guide application.


Can we add multi assignments to dynamic update?

Hi rbock.
Currently, we use dynamic_update like this:
 auto sql =
      sqlpp::mysql::dynamic_update(*db_conn, table)
          .dynamic_set(...)
          .where(...)
          .limit(2u);
 if (...) {
    sql.assignments.add(table.alpha = 1);
    sql.assignments.add(table.beta = "test");
    sql.assignments.add(table.gamma = 3);
  }

Can we put the three assignments into one statement like:
sql.assignments.add(table.alpha = 1,
                table.beta = "test",
                table.gamma = 3
);

That would be much better, isn't it?

Hi Zhengmin,
It would be possible to change that and it would not be that hard.
Since you are trying to learn about the library code: This might be a good training task :-)

Sorry for the late reply. I've been quite busy working on my own project lately. I will try to finish that training task :)


Password Generation

Password Generation
User Story
AS AN employee with access to sensitive data
I WANT to randomly generate a password that meets certain criteria
SO THAT I can create a strong password that provides greater security
Acceptance Criteria
GIVEN I need a new, secure password
WHEN all prompts are answered
THEN a password is generated that matches the selected criteria
WHEN the password is generated
THEN the password is either displayed in an alert or written to the page

Application now meets all acceptance criteria


Vendetta Crashes on Startup

I just got a notification from Vendetta Manager that a new update was ready. It downloaded and installed version 207.23 without issue. However, Vendetta will not open at all any more. It simply crashes on startup, and gave me this crash log:
time:<PHONE_NUMBER>166
msg: android.system.ErrnoException: open failed: EISDIR (Is a directory)
stacktrace: java.io.FileNotFoundException: /data/user/0/dev.beefers.vendetta/cache/mmkv/https:/vd-plugins.github.io/proxy/vendetta.nexpid.xyz/plugin-browser: open failed: EISDIR (Is a directory)
	at libcore.io.IoBridge.open(IoBridge.java:492)
	at java.io.FileInputStream.<init>(FileInputStream.java:160)
	at com.discord.cache.CacheModule.readLargeEntry(SourceFile:59)
	at com.discord.cache.CacheModule.access$readLargeEntry(Unknown Source:0)
	at com.discord.cache.CacheModule$1.invoke(SourceFile:6)
	at com.discord.cache.CacheModule$1.invoke(SourceFile:1)
	at lg.a$a.run(Unknown Source:2)
Caused by: android.system.ErrnoException: open failed: EISDIR (Is a directory)
	at libcore.io.IoBr

Out of curiosity, I have now checked the Vendetta Discord server to see if anyone else knows about this. Hmm, this looks awfully relevant!

Here's the problem with that advice: I have my Vendetta Manager set to the Stable branch.

If all versions above 207.7 were known to be broken, then why was version 207.23 released through the Stable branch???

we don't control discord updates

Can you try the alpha channel, 210.5?

Hello,
The error for me materializes as being unable to open the plugins page.
This is not fixed on the alpha channel

After some testing I concluded this:
Let's first start off with that I personally use the latest version of discord however anything I will discuss here has been tested on 207.7 aswell.
Firstly, to fix the issue clear your cache and the entire data of your app, you will lose as your plugins and themes but you won't need to reinstall discord all together + you'll have a working vendetta again.
Secondly, this seems to only happen when installing a lot of plugins using the plugin-browser plugin, after scrolling down a while it gets very laggy, downloads take way longer, pressing gets laggy etc.
When installing plugins using the discord plugins channel it seems to work fine and won't crash vendetta. Furthermore, it seems that if you search for a plugin in the plugin-browser instead of scrolling it also works fine and doesn't lag.
What I think is happening (this is not based an any evidence since I don't know how to test this effectively) is that when scrolling down in the plugin-browser (btw scrolling down too far makes it loop back which is also weird) it probably doesn't install the plugin you want correcly/fully turning it into an uncomplete file which crashes the plugins tab. Again, I don't have any evidence for this so this needs to be investigated futher.
For now, I suggest staying away from the plugin-browser all together (or atleast filter by search before installing), this should prevent the issue from accuring. However, this is just what I experienced and I could have just gotten lucky or smth.
(On a sidenote, I haven't had anything break (except this) with vendetta on the latest discord version (208.17) so if anyone could clarify what exactly should be broken that isn't in 207.7 that would be great.)


Person details

Nice to have: If s.o. likes to fill in the rates of the budget/projekt someone is working in, it would be great if budgeteer only shows the project this person is working on.

As far as I can see, the Budget drop down on the "Edit Person" page still lists all budgets instead of only the budgets the person worked on.

It seems like the patch gets revertig wird the commit 2b4c277fdbda5f7912fc4ba3577ec3b203d0d7e5. I will make a PR with reactivation of the patch.


Complains about 'restricted functions' when using invoke-Restmethod, other Invoke-* cmdlets devskim / DS104456

Devskim markdown file is empty and provides no information at all on why it's bitching about using a builtin function.
If the idea is that you should try not to define your own functions that use the verb 'invoke', it should say so, and the detection method should be updated to not complain when you're using a cmdlet built by microsoft.

Hi @aaroneg  - sorry about that, that's a known poorly constructed rule that shouldn't have made it into the released plugins.  We are rebuilding it for our general availability release (hopefully towards the end of September).  In the interim, if that's vscode that you are using, you can use the ignoreRuleList setting to shut that rule up.

Thanks! I'll just keep using the ISE for now. VSCode also has a tendency to complain about a line when there is something wrong with it, and not re-evaluate it when you've changed it and unmark it as broken, so I have to either reload the file or just use the ISE anyway. Haven't filed a bug about that yet, but I'm sure i'm not the only one who's noticed. Appreciate your help @joshbw !

@scovetta can you rewrite this rule to be more precise


Hide other Commands in Ribbon Bug

Describe the bug
Hiding commands does not work. All commands show always.
Relevant errors (if available)
No response
Steps to reproduce
Latest Obsidian on iOS with on commander installed. I added a single command and tried to hide the others.
Expected Behavior
Hidden commands are hidden.
Additional context
No response
Operating system
iOS

Similar for me.
On my Windows laptop it hides what it should hide in the ribbon, but not on the android phone it doesnt. Which is a bummer, because it is more important on the phone.
Hope there will be a fix

Same

Similar for me. On my Windows laptop it hides what it should hide in the ribbon, but not on the android phone it doesnt. Which is a bummer, because it is more important on the phone. Hope there will be a fix

Check this out