Bwapi 4.4.0 support

I'm trying out this great project and bumped into an issue. Actually four of them 😂
Issue 1 - Bwapi 4.4.0 support
In the doc it's mentioned in one place that 4.4.0 is supported, in the other that it's not.
In bwapi.py there's no 4.4.0, so I've tried tweaking it to add 4.4.0 support like this:
versions_md5s = {
    '4.4.0': 'cf7a19fe79fad87f88177c6e327eaedc',
    '4.2.0': '2f6fb401c0dcf65925ee7ad34dc6414a',
    '4.1.2': '1364390d0aa085fba6ac11b7177797b0',
    '4.0.1b': '84f413409387ae80a4b4acc51fed3923',
    '3.7.5': '5e590ea55c2d3c66a36bf75537f8655a',
    '3.7.4': '6e940dc6acc76b6e459b39a9cdd466ae'
}
supported_versions = ['4.4.0', '4.2.0', '4.1.2', '3.7.5']

Issue 2 - SSCAI dead means can't download map pack
With SSCAI being down, the map.py is broken as there are no maps to be downloaded, so for now I've uploaded it to my personal ftp:
map.py:19
download_extract_zip('https://ravaelles.usermd.net/sc/sscai_maps_pack.zip',

Perhaps it could be used for now?

Issue 3 - Can't say why my bot won't run
I was able to make the bwapi error disappear, but I'm still unable to run my 4.4.0 bot, it may be my fault (or may not), can't get any logs in GAMES dir. I have bot.json and other basic stuff set up.
When I run it with  --log_level=DEBUG --log_verbose it's the same, all I get is vague some containers exited prematurely:
2024-03-02 19:05:40 INFO scbw.docker_utils[26960] launched BotPlayer:Florian Richoux:P
2024-03-02 19:05:40 DEBUG scbw.docker_utils[26960] container name = 'GAME_2B634EDD_1_Florian_Richoux', container id = '['2e888dbecd']'
2024-03-02 19:05:40 DEBUG scbw.docker_utils[26960] checking if game has launched properly...
Traceback (most recent call last):
  File "D:\APPS\Python310\lib\site-packages\scbw\cli.py", line 231, in main
    game_result = run_game(args)
  File "D:\APPS\Python310\lib\site-packages\scbw\game.py", line 107, in run_game
    launch_game(players, launch_params, args.show_all, args.read_overwrite,
  File "D:\APPS\Python310\lib\site-packages\scbw\docker_utils.py", line 377, in launch_game
    raise DockerException(
scbw.error.DockerException: some containers exited prematurely, please check logs

It works fine for 2 players like "Florian Richoux" & "Florian Richoux". I get the replays etc.

Question 4 - Possible to get bot binaries?
With SSCAIT being dead, I can't get a binary for any 4.4.0 bot. Would it be possible to make at least some of them publicly available? For now I'd love to get any .jar bot that uses 4.4.0 to verify.

Regarding Issue 1
Are you sure you did check the code of this project and not of the original sc-docker?
Here's the file in this repo:
https://github.com/basil-ladder/sc-docker/blob/master/scbw/bwapi.py
This project is used extensively by the BASIL ladder which has 4.4.0 bots.
Regarding Issue 2
Ah yeah, I might just upload the zip to this repo. The SSCAIT page is currently managed by a new maintainer, and might be back up in a few weeks.
Regarding Issue 3
Your bot (I guess Atlantis with JBWAPI) should run, but maybe you used the original repo instead of my fork. Please note that the instructions for Windows are a bit different - and not tested/checked by me.
Regarding Question 4
You can get some here: https://www.cs.mun.ca/~dchurchill/starcraftaicomp/2023/bots/
At least PurpleWave is JBWAPI bot.
Other than that: I did not run the SSCAIT page. I'm running the BASIL ladder, which also heavily relied on SSCAIT. While I do have all bot binaries, I cannot hand them out as some are not from SSCAIT, but from direct downloads. Since I did not ask the authors for permission to provide binaries, I won't.
A small question: Your framework Atlantis is actually well known in the bot community. Have you considered joining our Discord? I also always wondered why you did not submit an actual bot to SSCAIT?

I can't say how much I appreciate your fast & thorough answer. Also thank you for the incentive to join the Discord and mentioning Atlantis. The reason why I didn't join SSCAIT calls for its own book. To make a very long story short: mixture of psychological reasons (I'm not good enough yet) and the fact that I was battling all sort of pesky bugs, with very limited success. Most them caused by programming being dead tired and doing false instead of true etc.
Furthermore I got mental breakdown thanks to compulsively writing it. Twice.  However I still have in plan fixing all the bugs and uploading Atlantis :- )
I have it mind for the past 6 years :- )
My ego was hurt beyond words by doing all of this, but it made me a better person. Like, really. By showing me how weak of a programmer I was.
Getting back to running sc-docker:

I realized I was having old images from somewhere around ~2yrs ago,
so I re-installed fresh python3.6 and scbw,
It still didn't work, my bwapi.py with full fresh install didn't support 4.4.0,
so I downloaded manually this repo & copied files into the scbw dir, only then it worked.
(Also had to manually fix the map pack .zip that I mentioned earlier)
Thanks a lot for Dave's bots too!

I understand where you're coming from. Imposter syndrome is pretty common in bot devs, due to the literal monsters at the top.
It's not "Dave's" bots - those are the bots for the last tournament he organized. But I guess you know that - and it was a misunderstanding on my part.
As for bwapi.py etc. I can only assume you checked out the original. Also, you really really need to build the docker files yourself. Using the ones on Dockerhub will most likely not work with my fork - or at least not fully.
Another way to fire up games vs other bots is using BWAIShotgun. On Windows it might be the easier alternative, but the amount of games that can run parallel is more limited.

Yup, I meant "bots on Dave's server".
About building the images: I forgot to mention that this time I ran ./build_images.ps1. Perhaps that was the missing step that I ignored yesterday (assuming that I already had the images).
Again, thanks a lot for your abso-freakin-lutely great work on these projects.
I will definitely try out BWAIShotgun today, funny that I haven't heard about it before. I expect I'll get back to you for some more help 😂 ...or to report (unlikely) success. I'm really interested in running the bot as quickly as possible, in as few clicks as possible, so it sounds like a great tool! ❤

I uploaded a copy of sscai_map_pack.zip to github to be used as a new download source for the map pack.
Maybe a bot pack will follow, but not for now.
I'll close this issue now, I think the issues have been resolved.


fix: Image options and Prompt messages

Expose OpenAI API params to image functions for greater flexibility in generating one or more images
Allow passing an array of messages to prompt functions for more granular control
Allow passing a previous html page to htmlPage functions to iterate on a past design or pre-existing web page

:tada: This PR is included in version 1.9.7 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


DB Management Doesn't Register Admin User

When the database is created on the DB management admin page it doesn't register the user as the admin.
If there's a DB error when a user logs in:

[x] Store the user's Discord access token & email in the session token
[x] Redirect to the admin db management page
[x] If the user's email matches the admin email allow the database migration to be run

If there are no users in the DB:

[x] Query Discord for the user's information
[x] Create a new user in the database
[x] Add the admin role to the user

Fully implemented in 9c689b2221dc9a40b973fb4115f00486b7a0885a


High MSPT when transfering from one large system to my new system

I had an old system with about 20k stacks of stuff and built a new system that are modules i can attach.
When transfering from the old to the new with a inventory hopper it works like a charm with a filter item that are set to transfer everything but a juk item. But when my new module got full the mspt took a really good hit, dont remember the exact mspt but my tps was about 1.1 or lower so had to download my world from server start it up locally and then i could add a module and now it works as it should again.
I got this error before to but not sure what hopper it was that time i just teared down all hoppers (10:ish) and it worked after that so i guess it was trying to push when an inventory was full also that time.
And i love your mod so much. Would absolutely say its the best inventory mod i used at least :)

Seems to be the same issue when my old storage got empty then mspt went up right away until i stopped the hopper either by redstone or removing it completely then i get my mspt back.

Tried the same now and when trying to fill a chestmonster with a connector and the storage got full i got 150 MSPT instead of 1.5 when just connecting some more chests. Have images if needed.
Please just check how the mod handle a full storage compared to onethat is not full.
In my example i added 105 chests to the storage witch should make it slower but it did exactly the oposit when full i got like i said crappy mspt but when adding 105 chests i got 1.5 in mspt when transfering from one chestmonster to another. I could i guess record a video if needed  to show you

First video ever made by me :)
https://streamable.com/zl3a1k


[NWBIO] Write AnalogSignals as ElectricalSeries

Is your feature request related to a problem? Please describe.
Currently only icephys series types or TimeSeries are supported when writing nwb files. However, some analysis tools, e.g. spikeinterface are loading data only from ElectricalSeries, a subclass of TimeSeries. As far as I can see the main difference is the linking to electrodes, which already exists for icepyhs series types.
Describe the solution you'd like
neo.AnalogSignals with an annotation nwb_neurodata_type='ElectricalSeries' should be saved to an pynwb.ecephys.ElectricalSeries object

@legouee @apdavison What do you think?

Yes, I'll take a look at this.


Entity diagram

It could be a Entity-Relationship Diagram or a Java-based UML Class Diagram.
Some examples:
Entity-Relationship Diagram

UML Class Diagram

ER Diagram uploaded on 1973cd4 , fixed on 726cc17 .


docs: Fix typo in README

:wave: Just checking things out and noticed a typo in the docs...

Codecov Report

Merging #53 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #53   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           7      7
  Lines         363    363
  Branches      112    112
=====================================
  Hits          363    363

Continue to review full report at Codecov.

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

Awesome! Thank you!


Question : How to search multiple words using SearchInTarget

Using the example found in the wiki, I would like to search for multiple words.
I tried setting the SearchFlag to "regex" and  for the search text,
I used something like "word1 | word2".
However, its not finding anything. Any suggestions?

Sadly the native Scintilla component doesn't support alternation (|) in regular expressions. I would hazard a guess that it's because the built-in regular expression engine also doesn't support backtracking.
http://www.scintilla.org/ScintillaDoc.html#Searching
Future versions of Scintilla will hopefully have better regular expression support. Until then, you'll have to use .NET regular expressions. There is a performance hit using .NET regex on Scintilla, but hopefully it won't be an issue for you.
var text = scintilla.Text;
var match = Regex.Match(text, "word1|word2");

Thanks for the reply!
Actually, I am looking for performance at the moment..
I will look forward to future updates. Until then, I'll use the .NET regex.
Thanks.


ports.websecure.tls.forwardedHeaders not working

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What version of the Traefik's Helm Chart are you using?
20.8.0
What version of Traefik are you using?
2.9.6
What did you do?
I deployed the helm chart using Kustomization. See a redacted version below, I kept the relevant parts.
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
  - kubernetes-crd-definition-v1.yaml
  - kubernetes-crd-rbac.yaml

helmCharts:
  - name: traefik
    repo: https://traefik.github.io/charts
    includeCRDs: false
    version: 20.8.0
    releaseName: traefik
    valuesInline:
      ports:
        websecure:
          tls:
            enabled: true
            forwardedHeaders:
              trustedIPs:
                - <IP_ADDRESS>/24

In Traefik's logs, I can see a printout for "Static configuration loaded", where forwardedHeaders:{}.
What did you see instead?
The forwardedHeaders were not functioning (I'm testing this with a whoami deployment in the cluster).
However, when applying this configuration in the following way, it does work:
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
  - kubernetes-crd-definition-v1.yaml
  - kubernetes-crd-rbac.yaml

helmCharts:
  - name: traefik
    repo: https://traefik.github.io/charts
    includeCRDs: false
    version: 20.8.0
    releaseName: traefik
    valuesInline:
      additionalArguments:
        - "--entryPoints.websecure.forwardedHeaders.trustedIPs=<IP_ADDRESS>/24"

In Traefik's logs, I can see a printout for "Static configuration loaded", where forwardedHeaders:{trustedIPs:[<IP_ADDRESS>/24]}.
What is your environment & configuration?
Azure AKS
Kubernetes v1.25.2
Additional Information
Perhaps I am applying the chart incorrectly, but I'm not sure how I would troubleshoot this. Any help is much appreciated!

Hello @joachimnielandt,
Thanks for your report. You are indeed applying the chart incorrectly but the documentation in values.yaml is misleading.
It may work with this values file:
ports:
  websecure:
    forwardedHeaders:
      trustedIPs:
        - <IP_ADDRESS>/24

You can see resources created with helm like this:
helm template traefik -f myvalues.yaml traefik/traefik

I'll see what I can do to improve how it's documented in default values.


Specific issue templates including GPU

Desired behavior
Issue templates were first added in #234 and then centralized organization-wide in #250. However, I think that it would be useful to ask the reporters for the GPU and driver versions they use when reporting rendering-related issues. I'm not sure about the best approach, though.
Alternatives considered
Leave it as it is. This requires extra effort from maintainers asking for the used GPUs and leaves some issues in a hard to replicate state when no concrete GPU is mentioned.
Implementation suggestion
If you do not want to maintain two versions of the issue template, you might as well add the GPU-specific section to the general template with a note that it is only needed when reporting rendering-related issues.
The issue template should include easy to follow instructions for getting the requested info - e.g. run glxinfo | head and uname -a or something like that (+ of course some instructions for Windows). If the instructions would get too long, they might be written as an ign-docs tutorial linked from the issue template.

This would also affect ign-sensors, ign-gui and ign-gazebo.

you might as well add the GPU-specific section to the general template with a note that it is only needed when reporting rendering-related issues.

This sounds like a reasonable compromise for now. Mind opening a PR to https://github.com/ignitionrobotics/.github?
Another idea that came to mind was adding a specific issue template for rendering bugs, but that would need to be added to the entire org, and I worry it may cause confusion on repositories that don't touch rendering.

On Linux, the following commands can give necessary information about GPU:
lspci -nn | grep VGA
lshw -C display -numeric
glxinfo -B
sudo X -version

Done: https://github.com/ignitionrobotics/.github/pull/3 .


Caracol Podcast site request

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I'm running yt-dlp version 2023.01.06 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and am willing to share it if required

Region
Colombia
Example URLs
-Single podcast: https://caracol.com.co/radio/2023/01/05/podcast/1672924981_072927.html
Provide a description that is worded well enough to be understood
right now yt-dlp can't extract audio from the website
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', 'https://caracol.com.co/radio/2023/01/05/podcast/1672924981_072927.html']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2023.01.06 [6becd25] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19044-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 2022-08-13-git-c469c3c3b1-full_build-www.gyan.dev (setts), ffprobe 2022-08-13-git-c469c3c3b1-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.16.0, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1760 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2023.01.06, Current version: 2023.01.06
yt-dlp is up to date (2023.01.06)
[generic] Extracting URL: https://caracol.com.co/radio/2023/01/05/podcast/1672924981_072927.html
[generic]<PHONE_NUMBER>_072927: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic]<PHONE_NUMBER>_072927: Extracting information
[debug] Looking for embeds
ERROR: Unsupported URL: https://caracol.com.co/radio/2023/01/05/podcast/1672924981_072927.html
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1502, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1578, in __extract_info
  File "yt_dlp\extractor\common.py", line 680, in extract
  File "yt_dlp\extractor\generic.py", line 2523, in _real_extract
yt_dlp.utils.UnsupportedError: Unsupported URL: https://caracol.com.co/radio/2023/01/05/podcast/1672924981_072927.html

This site makes use of the JSON LD embedUrl field and could be supported by the generic extractor enhancement discussed here: https://github.com/yt-dlp/yt-dlp/issues/5929#issuecomment-1372401375


Additional vendoring

Signed-off-by: Michael Mattsson<EMAIL_ADDRESS>

There's some issue when pulling in common-host-libs and k8s-custom-resources, those can be manually fixed before building though but we should cut new tags on those repos I assume.

There's some issue when pulling in common-host-libs and k8s-custom-resources, those can be manually fixed before building though but we should cut new tags on those repos I assume.

Sure. Common host libs still doesn't use go.mod but an older vendoring mechanism  glide (prior to go 1.12 when go.mod became default)
We had intern convert it to go.mod https://github.com/hpe-storage/common-host-libs/pull/164 and that maybe needed if we need parity.


Multi Site origin requires different hostnames

http://traffic-control-cdn.net/docs/latest/admin/quick_howto/multi_site.html
Traffic ops is requiring the hostnames to be unique. However, it should be a combination of hostname + domain name which needs to be unique.
Test Case:
my-app.g1.kabletown.net
my-app.g2.kabletown.net
That should be acceptable.

Fixed.


Parsing date in local timezone (not fixed offset)

The following test case passes with chrono-english 1.0.7. Does interim also support parsing a date with a local timezone? If so, how do I modify the test case below to do that?
#[test]
fn test_interim() {
    let now: chrono::DateTime<_> = chrono_tz::America::Los_Angeles
        .with_ymd_and_hms(2024, 01, 01, 12, 00, 00)
        .unwrap();
    let without_timezone = parse_date_string("2024-06-01 12:00:00", now, Dialect::Us).unwrap();
    let with_timezone = parse_date_string("2024-06-01 12:00:00 -07:00", now, Dialect::Us).unwrap();

    assert_eq!(without_timezone, with_timezone);
}

I would throw in something that seems related to me: interim does not take into account shifts in local timezones such as european summer time when parsing, which leads to very confusing results (chrono-english does it correctly).
Essentially specifying a time on the other end of the timeshift leads to a time that is off by an hour if interpreted again.
>> 2024-11-01
parse_datetime: 2024-11-01 00:00:00 +01:00
       interim: 2024-11-01 00:00:00 +01:00
chrono-english: 2024-11-01 00:00:00 +01:00
>> 2024-07-01
parse_datetime: 2024-07-01 00:00:00 +01:00
       interim: 2024-07-01 00:00:00 +01:00
chrono-english: 2024-07-01 00:00:00 +02:00

I presume this is because the method returns a fixed offset date unlike chrono which returns a local datetime


The custom directive is in the production environment, and the function under instance is missing

Version
3.0.0
Reproduction link
github.com
Steps to reproduce
npm run serve
npm run serve:prd
What is expected?
The button should be triggered in both environments
What is actually happening?
In dev environment, button  be triggered

the code like：
< template >
< button  v-operate:add >button< /button >
< /template >

`
app.directive("operate", {
mounted(el, binding) {

    const { arg, instance, value } = binding;

    console.log(binding);

    const { param } = value || {};

    if (!instance?.[arg]) {

        console.log('not exist ')

        return;

    }

    el.addEventListener('click', instance[arg].bind(instance, param));
},

})
`
There is no add event defined by me on instance, but it exists in dev environment

<script setup>
const add = () =>{
  console.log('click trigger')
}
defineExpose({
  add,
})
</script>

The source of the difference in behaviour is the same as #4980 so I'll close this one as a duplicate.

@LinusBorg  I've used this method before, but it doesn't work

Seems we expose the wrong proxy here.


feat(hive): add delta lake support on hms

Current hive ingestion on Datahub cannot parse delta tables since the metadata information of these tables inside hms is limited.
See current behavior:

In this PR, I'm adding a fallback logic to delta lake ingestion when we detect the existence of a delta table registered on hive metadata server. This way, we'll be able to fetch full metadata of such tables.
See my message for the idea and why we are not directly using delta lake ingestion: https://datahubspace.slack.com/archives/C017W0NTZHR/p1680733512266989
Please review this pr for the overall approach to the problem. The code is not tested and I'm planning to refactor my current implementation to get only the table-related information from delta lake, but still using the container information and other related information from hive ingestion.

Hello, I also want to same thing. Can I contact for some discussion ? Thanks.


Run 100k TPCC

Background: https://airtable.com/tblD3oZPLJgGhCmch/viw1DKmbKhg2MIECH/recJoC8UbQ5oxgSJU
Description: We ran 100k TPC-C to demonstrate Cockroach DB's business throughput for the performance landing page.
Team: John Kendall, Andrew Werner

We did this.


ENYO-2214 : ImageView doesn't move when being dragged.

Issue.
Layout#ImageView does not work, because moonstone is blocking the drag.
Fix.
When the move to Enyo Dev 0.51, I moved moonstone to a request instead of a require, so the offending code will not load until the samples are loaded.
Enyo-DCO-1.1-Signed-off-by: Derek Anderson<EMAIL_ADDRESS>

Taking a more focused fix for PanZoomView


UDP messages are not sent

Before switching to Python 3, netcat showed UDP messages. Now even if you send 1K messages it remains blank.

This bug has been fixed while trying to fix #4 .


feat(dx): feature flag check script + cron

The type of this PR is: feat
Description

little future friday DX idea, based on our retro discussion add a reminder to mobile practice to check feature flags before release:

Adds a js script for reading live and hidden feature flags from the project, outputs to a file flags.json
Adds a fastlane script to call this script, read the file and send a slack message
Adds a circle cron to try to run every Thursday
Adds a wrapper bash script to only run every other week

Follow-ups:

[x] some tests, specifically around regex
[ ] would be nice to also have a stale feature flag check, e.g. a feature has been live for ~2 releases remove the flag

PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[x] I have added tests/stories for my changes, or my changes don't require testing/stories, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a changelog entry below or my changes do not require one.

To the reviewers 👀

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

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Add a biweekly reminder about feature flags - Brian

This PR contains the following changes:

Dev changes (Add a biweekly reminder about feature flags - Brian)

  Generated by :no_entry_sign: dangerJS against cd26e051349d3eb9e14959ed124f359b43dfb10c

Alright fixed the export and I think this should be good to go, I might also try to take a crack still at making the hidden flags bit a bit more readable because I agree it is not great now


Enhancements Security

Hi Have some suggestions for security and user management

[ ] - Can you include a view for user management, and if possible multitenancy
[ ] - Can you include honey pot to track the list of scammy sites reported ( a good list reported by the government directly) 1 2
[ ] - In the bundle config you have fall back options, can you also please extend this to support IE 8 shiv, I can include the code

<!--[if lt IE 9]>       <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>       <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>       <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>     <![endif]-->

[ ]  notification to both 1) target users and/or 2) pub sub would be nice too like Hangfire.io with Toastr

Boilerplate does not contain any authentication at the moment let alone user management. Take a look at Azure Active Directory or IdentityServer4, it has user management covered.
Spam prevention is interesting. The two links you provided are both in PHP. I don't think this is a feature that every site needs however.
I deliberately removed support for IE8. Support for IE8 is being dropped by a lot of sites these days as it is a pain to code for.  The next version of Bootstrap will drop support for it altogether. You can add respond.js if you need to support it for work.
Notifications are cool but not something every site needs. Boilerplate is supposed to contain everything that every site needs to be fast, effecient, secure, accessible etc.

ok thx :+1:


Is there a way to increase the line spacing?

Is there a way to increase the line spacing?

@0xc3u I am currently taking care of that for my usecase. I am happy to contribute a PR once done.


Syntax highlighting not applied to code

Been using this theme for a while, but suddenly the highlighting just isn't being applied to my code (JS and Python). Ive tried re-installing many times, and have even deleted the .atom folder and reinstalled that way, but still not being applied even with the fresh atom install

Looks like this might have a duplicate in https://github.com/jesseweed/seti-syntax/issues/149
I'm having the same issue on Ubuntu, and I've not been able to figure out a workaround yet.

Yeah it looks like the same issue, I found a workaround a posted it in #149, hope it helps!


Make build wait a bit to let sonar process report

Codecov Report

Merging #30 (52f87ec) into master (c1b5642) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #30   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           18        18
  Lines         1505      1505
  Branches       261       261
=========================================
  Hits          1505      1505

Continue to review full report at Codecov.

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


check date/time of files at OptimizeMojo

OptimizeMojo does this:
            if (tojo.exists(AssembleMojo.ATTR_XMIR2)) {
                Logger.debug(
                    this, "Already optimized %s to %s",
                    Save.rel(src), Save.rel(Paths.get(tojo.get(AssembleMojo.ATTR_XMIR2)))
                );
                continue;
            }

Instead, it should also check the date/time of the XMIR2 file. If it exists by is older than the source, we should optimize.
Let's not forget to unit-test this.

@andreoss please, help us with this (budget is 30)

@yegor256 Done in #442. Please close

@yegor256 It's still open


Problems with Laravel MongoDB Eloquent

Hello Everyone!
I'm starting to use jenssegers/laravel-mongodb library to handle my mongodb database, I was trying it out, doing some examples by myself and I couldn't get it to work with Eloquent (Moloquent).
When I use something like  DB::collection('usuarios')->get(); it's ok, bring me the result with no problem, but when I try to use Model::all() or Model::find(x) don't work...
I really don't know what happen, anyone can help me solve this?
The error message
https://drive.google.com/open?id=0B4Te5CFLgo4ARGo5bkE2NnJyeXM
The Provider and Alias
Jenssegers\Mongodb\MongodbServiceProvider::class

'Moloquent' => Jenssegers\Mongodb\Eloquent\Model::class,

The Connection Config
'mongodb' => [
            'driver'   => 'mongodb',
            'host'     => 'localhost',
            'port'     => 27017,
            'database' => env('DB_DATABASE'),
            'username' => env('DB_USERNAME'),
            'password' => env('DB_PASSWORD'),
            'options'  => [
                'database' => 'testes' // sets the authentication database required by mongo 3
            ]
        ]

The Model
namespace App\Models;

use Moloquent;

class UsuariosModel extends Moloquent
{
    protected $collection = 'usuarios';
}

The Controller
    namespace App\Http\Controllers;

    use App\Http\Requests;
    use App\Models\UsuariosModel;

    class UsuariosController extends Controller
    {
        public function index()
        {
            $usuarios = UsuariosModel::all();

            dd($usuarios);
        }
    }

I guess you are using laravel 5.3?
If that is the case you need to use v3.1.0-alpha of this library to be compatible with the latest release of Laravel.
Run composer require jenssegers/mongodb:v3.1.0-alpha to use that version, or edit your composer.json file and then run composer update.

Thanks a lot @linusstaf!
I thought might be something like this. Now everything is running like should... xD

I am using latest version still i am getting undefined type everywhere but works fine with laravel but showing problem with undefined with when where get everywhere


Gzip - Grpc-Accept-Encoding

Is your feature request related to a problem? Please describe.
Using createGrpcWebTransport I can't get zipped responses. It would be nice if those were implemented.
Describe the solution you'd like
zip responses
Describe alternatives you've considered
Regular responses without gzip. Currently my grpc service returns an 800kb message when it is unzipped. Zipped the message becomes 90kb (it has a lot of repeat information and is highly compressible).
Additional context
When using the following interceptor with a grpc server that supports gzip:
const interceptor: Interceptor = (next) => async (req) => {
  req.header.set('Grpc-Accept-Encoding', 'gzip');
  return await next(req);
};

I get the following message:
[unknown] illegal tag: field no 3 wire type 7
My server is a dotnet implementation with the following setting:
services.AddGrpc(o =>
{
    o.ResponseCompressionLevel = System.IO.Compression.CompressionLevel.SmallestSize;
    o.ResponseCompressionAlgorithm = "gzip";
});

We have been thinking about compression quite a bit, thank you for opening this issue!
Message-level compression (via Grpc-Accept-Encoding and Grpc-Encoding) is indeed not implemented in connect-web. We do not offer it because the specification doc for web browsers explicitly advises against it. Instead, full-body compression with the standard Accept-Encoding and Content-Encoding fields is recommended.
You can see it in use on the BSR and in Buf studio. For an extreme example, visit https://studio.buf.build, click "Select method", and select the repository "googleapis/googleapis". A call to GetImage will show up in the network inspector of your browser:

The image is huge, but thanks to full-body gzip compression, the payload transferred over the wire is reduced to 5% of its original size. The compression is transparently handled by the browser.
Kestrel currently doesn't offer built-in support for full-body compression, so you will have to add a middleware to enable it. See https://github.com/grpc/grpc-dotnet/issues/1276 for an example on how to set it up.
While there are some benefits to the control Grpc-Encoding allows, we believe that relying on standard HTTP semantics is actually a good call. Closing this, but happy to hear your thoughts.

Full body compression is actually a much better solution since it keeps in line with web standards. Thanks.


Pre-create /tmp/lldp dir

If you do not have /tmp/lldp (or any other chosen dir) pre-created, it just errors out on each "juju scp" instead of gracefully aborting. It could send a nice error message or pre-create the dir for you.

Thanks fro comment.
Definitely it should precreate directory. I'll fix that


CHEBI:33854, please add structural data

Dear ChEBI curators,
Please would you add structural data R-OH for CHEBI:33854, an aromatic alcohol
I hope it fits with the 2D structure of its child CHEBI:33857 (an aromatic primary alcohol)
Need to create Rhea reaction for EC <IP_ADDRESS>
an aryl dialkyl phosphate + H2O = dialkyl phosphate + an aryl alcohol
Thanks for your time
Cheers, Anne

Hi Anne,
I think there is a problem here.  For the EC <IP_ADDRESS> reaction, if the aryl group of the aryl dialkyl phosphate is phenyl or substituted-phenyl, then the product will be a phenol or substituted-phenol. An alcohol is the name given to a hydroxy group attached to a saturated carbon. The term "aryl alcohol" in the EC <IP_ADDRESS> description is incorrect. "Aromatic alcohol" is used to describe alcohols in which the hydroxy group is attached to a carbon which is itself attached to an aromatic ring (e.g. benzyl alcohol, PhCH2OH)

Although there is a Wikipedia page which describes "Aromatic alcohol"  as any Ar-OH, where Ar is any aromatic ring, I don't like it - it is not in keeping with the IUPAC definition of an alcohol having  the hydroxy group attached to a saturated carbon  -
see [http://www.sbcs.qmul.ac.uk/iupac/class/alcoh.html]


Duplicate entries getting created for static DNS.

Currently, we store the dbus DNS values in a vector that causes duplicate entries and due to those duplicate entries created.
With this commitment, we are going to store static DNS values in a SET rather than a vector to create a unique list of DNS values
Tested By: PATCH -d '{"StaticNameServers":["<IP_ADDRESS>", "<IP_ADDRESS>"]}'
https://${bmc_ip}/redfish/v1/Managers/bmc/EthernetInterfaces/eth0
Change-Id: I0c18eb5fec36c4305f1ded4c5e57bbd046ca4576

Can one of the admins verify this patch?

@nitinkotania the PR should be against 1040 branch.

Changed it to 1040 branch.

jenkins run tests please

Created a new PR: https://github.com/ibm-openbmc/phosphor-networkd/pull/77 for 1050 driver

Administrators often have primary and backup name server. Depending on client history and the policy for sending the request reordering the name Servers can result in degraded service (eg using a server farther away).
Also redfish patch sematic requires order to be preserved.

Modified the code and now the order is not changing, create a new PR : https://github.com/ibm-openbmc/phosphor-networkd/pull/78

Created a new PR: https://github.com/ibm-openbmc/phosphor-networkd/pull/78


Bug: TV episode titles misread from pre-named files

Version: 2.9.7
Build: 2017-12-28 20:10
OS: Linux localhost 4.14.13-300.fc27.x86_64 #1 SMP Thu Jan 11 04:00:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux (Fedora 27)
JDK: OpenJDK Runtime Environment (build 1.8.0_151-b12)
What is the actual behaviour?
TV show titles are being detected with season and episode numbers included
Example:
Filename: Adventure Time - S08E01 - Two Swords.mkv
Title: - S08E01 - Two Swords
Season: 8
Episode: 1
What is the expected behaviour?
TV show files that are already named with the appropriate convention should not have this issue.
Example:
Filename: Adventure Time - S08E01 - Two Swords.mkv
Title: Two Swords
Season: 8
Episode: 1
Steps to reproduce:

Pre-name files as $N - S$2E$E - $T
Add new files

re:

You need to scrape anyway... so if the S/E is correct, it's fine...

That's not quite true. TMM may need you to scrape it, but it may not be possible. The statement assumes the title data is in an online "scrape-able"  database. I have the situation in which the TV program I'm cataloguing (Vivir del Cuento) is not available in any database. I realize that I could go into each of a few hundred files in TMM and edit the title, but it would be nice not to have to do so. Is there some way to import the titles etc. from an Excel worksheet or .csv file instead? I have all the required data there and it is indexed on the season and episode.


[BugFix] The weights for dimension fields not getting set for some ta…

…bles during PinotTablePartitionRule
The FixedLenBitset array is set during PinotTablePartitionRule with dimension weights. The length of this array is same as numDimensions in the table. When the parsePredicateList is called in PinotTablePartitionRule https://github.com/apache/pinot/blob/master/pinot-controller/src/main/java/org/apache/pinot/controller/recommender/rules/impl/PinotTablePartitionRule.java#L258
The index of the dimension colname may fall out of range for FixedLenBitset array, and thus never get set, leading to partition column not being correctly detected by the algorithm.
bugfix
testing

Codecov Report
Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (3cefed5) 61.72% compared to head (0c59895) 34.85%.
Report is 1 commits behind head on master.

Files
Patch %
Lines

.../pinot/controller/recommender/io/InputManager.java
0.00%
2 Missing :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #12369       +/-   ##
=============================================
- Coverage     61.72%   34.85%   -26.88%
- Complexity      207      953      +746
=============================================
  Files          2426     2350       -76
  Lines        132682   128936     -3746
  Branches      20506    19948      -558
=============================================
- Hits          81901    44942    -36959
- Misses        44765    80772    +36007
+ Partials       6016     3222     -2794

Flag
Coverage Δ

custom-integration1
?

integration
<0.01% <0.00%> (ø)

integration1
<0.01% <0.00%> (ø)

integration2
?

java-11
<0.01% <0.00%> (-61.67%)
:arrow_down:

java-21
46.73% <ø> (-14.86%)
:arrow_down:

skip-bytebuffers-false
34.83% <0.00%> (-26.83%)
:arrow_down:

skip-bytebuffers-true
46.70% <ø> (-14.88%)
:arrow_down:

temurin
34.85% <0.00%> (-26.88%)
:arrow_down:

unittests
46.73% <ø> (-15.00%)
:arrow_down:

unittests1
46.73% <ø> (-0.18%)
:arrow_down:

unittests2
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Added several sections in parallel with Player handbook for DnD.

Also cleaned up some spelling and clarified some wording on existing sections.

What is this?

Many months ago we talked about cleaning up the wording in basic rules and adding some sections based on the research I was doing with the DnD player handbooks. This is the first shipment of it. Have you seen the changes to the file in the file changes tab?
https://github.com/trowl223/Compound_X/pull/43/files


/var/run/docker.sock not mounted correctly in docker 1.11.2

Rancher Version: 1.1.0 dev 1
Docker Version: 1.11.2
OS and where are the hosts located? (cloud, bare metal, etc): Ubuntu 16.04, bare metal
**Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)**single node, external DB
Environment Type: (Cattle/Kubernetes/Swarm/Mesos) Cattle
Steps to Reproduce:
This docker-compose.yml:
gitlab-runner:
  log_driver: ''
  labels:
    io.rancher.sidekicks: gitlab-runner-data
    io.rancher.container.pull_image: always
    io.rancher.scheduler.affinity:host_label: system=test
  log_opt: {}
  image: gitlab/gitlab-runner:alpine
gitlab-runner-data:
  log_driver: ''
  labels:
    io.rancher.container.start_once: 'true'
    io.rancher.scheduler.affinity:host_label: system=test
  entrypoint:
  - /bin/true
  log_opt: {}
  image: gitlab/gitlab-runner:alpine
  volumes:
  - /var/run/docker.sock:/var/run/docker.sock
  - /srv/gitlab-runner/config:/etc/gitlab-runner

Results:
When building with the CI-runner:
Get http://unix.sock/v1.18/version: dial unix /var/run/docker.sock: connect: no such file or directory
The file isn't mounted properly inside the container.
This worked with docker 1.9.1 on the host.
Expected:
/var/run/docker.sock being accessible from the container.
I need to mount the docker socket because the build runner is using Docker-in-Docker.

I was not able to reproduce on v1.1.0-dev5 (note: this is the first release we started supporting docker 1.11).
I had copied and pasted your yaml file into a v1.1.0-dev5 setup that had 1 DO host running Ubuntu 14.04.

Hey @deniseschannon I upgraded my rancher-server to v1.1.0-dev5 to make sure that this is not the root of the problem.
What did you try to reproduce? The image runs fine, connects to Gitlab after executing gitlab-runner register inside the container. My problem occurs when a build is triggered by Gitlab (using the runner-container). I even added privileged: true to gitlab-runner and tried mounting /var/run/docker.sock as well as the real file /run/docker.sock it links to.

I had just got the containers running. I didn't actually try to trigger anything in Gitlab. :) So that makes more sense.

is there a workaround for this issue?

1+ here, I'm looking for an answer too

+1

@rabun788 are you experiencing this with docker 1.11.x or a different version?


Sensor translations no longer work

With the introduction of integrations, we are no longer able to translate sensors with a fixed set of textual values, like the moon sensor.
I don't see how this could work in the current system.
For 92, we should at least update the translation docs that this feature is no longer available. For long term, we should come up with a solution.

I guess they actually still work, they just need to be moved.


"gateway transit is not allowed for cross-location peering"

Documentation states that the peering is global. Why am I receiving the error "gateway transit is not allowed for cross-location peering"?

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

ID: 9d098f17-7f58-4304-0634-0f57d1d3300a
Version Independent ID: 5624ffea-22c6-8f02-e9fe-a3be3a7cced5
Content: Configure VPN gateway transit for virtual network peering: Azure Resource Manager
Content Source: articles/vpn-gateway/vpn-gateway-peering-gateway-transit.md
Service: vpn-gateway
GitHub Login: @yushwang
Microsoft Alias: yushwang

This is a bug. I created the peering without transit. Then edit the peering to allow transit and it worked.

@anavinahar to check

Hi there! Portal is not currently supported. the document states below:
Gateway transit is currently supported with global virtual network peering in preview. The preview is available in all Azure regions, China cloud regions, and Government cloud regions, but not across clouds. No whitelisting is required. You can test in preview through CLI, PowerShell, Templates, or API. Portal is not supported in the preview.
#please-close

@Placid7 We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Put a hard pragmatic limit on metadata size

We should limit metadata to 10 MB (of what? msgpack? JSON? either?) to ensure it doesn't choke the server and that it fits in various storage media. Thinking of MongoDB's 16 MB document size limit and sqlite's 1 GB limit on blob size.
We should impose this limit on uploads (POST/PUT metadata) and also when transmitting metadata from Adapters. That is, neither clients nor Adapters should be permitted to violate it.

See #328. This should be enforced at the Adapter later because depending on the specific storage used (like Mongo vs SQLite) there will be different good values for default limit and, perhaps, configurable range.


Remove the preview-only note about Color-Picker

Since the deployment freeze is lifted. The color-picker is not available publically. Removing the special note.

@srijan55 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@vgorbenko please merge the PR as well

@ktoliver should be able to merge, I am not authorized to merge itto master


WIP: 1.7pg-skydb-2

@cheungpat, thanks for your PR! By analyzing the annotation information on this pull request, we identified @rickmak to be a potential reviewer


Ignore nancy issue for June internal patch release

coverage: 83.952%. remained the same when pulling 924733b26861d22aa03f63c95ead15724c51ab54 on prankulmahajan:golang4 into 564aa688c069300ef4350fa9d7ec5c841a32a257 on kubernetes-sigs:v5.1.

/close


add Java 21 (with and without Snapstart)

This PR adds support for Java 21 (with and without Lambda Snapstart)
https://aws.amazon.com/about-aws/whats-new/2023/11/aws-lambda-support-java-21/
https://github.com/aws/aws-cdk/releases/tag/v2.109.0

Amazing! I was about to write those!
Thank you so much! Let me run some quick tests but it should be live tomorrow!

It seems that java:21 is not based on centos anymore (so yum is not installed)
would you be able to fix that and use dnf instead? You have an example here:
https://github.com/maxday/lambda-perf/blob/main/s3-uploader/runtimes/rust_on_provided_al2023/Dockerfile#L7
Otherwise I can create a PR on your repo as well, let me know :)

@maxday ah sorry I did not notice that! I will take a look and fix it!

@maxday I've updated both Dockerfiles with the use of dnf. I've tested both Dockerfiles by running a docker build . locally and they seem to build fine now. Let me know if you spot any other issues!

All good now! 🥳  Thanks!


⚠ Bofrost.lu has degraded performance

In 1117345, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1460 ms

Resolved: Bofrost.lu performance has improved in 708045f after 4 hours, 48 minutes.


trainY25625616.csv

Oh, I did not find the code to generate it. Finally I made one by myself according to the code which uses this csv

Would you consider sharing this code you wrote to generate the csv file?

Oh, I did not find the code to generate it. Finally I made one by myself according to the code which uses this csv

Would you consider sharing this code you wrote to generate the csv file?
It is a pity that the code was not kept. However, I can send you that  csv if you need. plz leave your email

It is a pity that the code was not kept. However, I can send you that  csv if you need. plz leave your email @Sempronius

It is a pity that the code was not kept. However, I can send you that  csv if you need. plz leave your email @Sempronius
Please send it to me<EMAIL_ADDRESS>Thank you so much.

Thanks SunAnLan!, I managed to write something that worked out.


feature/add-signify-lct016

Mapped another Philips Hue 800 Lumen White and Color A19 bulb model, LCT016

Great job. Thanks!


Changes maxBufferingDuration payload to be taken from millis directly…

Changes GroupIntoBatches payload to compute MaxBufferingDuration via Duration.getMillis() instead of Duration.standardSeconds() * 1000. The latter causes unnecessary truncation. Also adds a test case that fails without this change.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

assign set of reviewers


Add NUMBER check in JsonFieldWriter

fix #415

Thanks for the PR, but right now 1.34.x branch is for blocker only and I don't think it's a blocker. We'd want to keep it only in master for now.

I see, but from my POV it could be blocker. You basically can't map to json if it's specified by JSON schema and uses number types.
sourceSchema: `{
          "type" : "object",
 "properties" : {
          "sourceJsonString" : {
            "type" : "string"
          },
          "sourceJsonInteger" : {
            "type" : "integer"
          },
          "sourceJsonLong" : {
            "type" : "number"
          },
}

For example sourceJsonLong will be always null

Ugh right, I almost forgot number is a primitive type in terms of json schema. Can you rebase this against latest 1.34.x branch?

It seems that it's already up to date.
git rebase upstream/atlasmap-1.34.x
Current branch atlasmap-1.34.x is up to date


[2.1.4] Controller ID Mismatch

On Windows 10, with stable 2.1.4 build, using PS4 Controllers.
When using multiple controllers, the IDs get mixed up if you plug and unplug them in a particular order.
This problem shows up in the Input signal joy_connection_changed, and will also manifest oddly in the InputEvent.device property.
To recreate signal problem:

Have two controllers plugged in, figure out which one has ID or index = 0.
Unplug the controller with ID zero.  The signal code will report an index = 1.
Now unplug the other controller, it's ID has shifted to 0.  The signal will report this index as zero.

To recreate InputEvent problem:

Locate the controller that has index = 1.  I will label it Controller 2, and the one with ID zero is Controller 1.
Unplug Controller 2.
Unplug Controller 1.
Plug Controller 2 back in.
Plug Controller 1 back in.
Start hitting buttons on both controller and observe the InputEvent.device.
Controller 1 will return nothing, and Controller 2 will return both 0 and 1.

If there might be something dumb I'm doing to cause this, please let me know.

@Hinsbart Thanks for looking into it.  X)

It seems almost fixed in 2.1.5 beta and 3.  The indexes no longer appear to get completely lost, crossed up, and stacked anymore, but when the first controller is unplugged and plugged back in, the second controller will increment its index and then send a joy_connection_changed signal with the values of true and the new index.
Unplug controller 1
index = 0, connection = false
Plug in controller 1
index = 0, connection = true
index = 2, connection = true   <-- This is the second controller.
I imagine it isn't intentional to have the index increment like this, since it isn't reporting its disconnection.
Can't easily rely on the signal, but at least in the current state, with variables and some extra logic in the script it can be tracked and worked around.  At least for two controllers.  Not sure about the pattern of the index shifting with 3 or more.

Any idea @Hinsbart?

@akien-mga @Hinsbart
Still present in beta 2, with an additional wrinkle.  When the controller with id 0 gets unplugged.  The controllers with the 1+ id, will stop giving signals when it plugs and unplugs.  It will resume giving signals only when the previous controller is plugged back in.  That's also when it's id gets incremented.

@Hinsbart any progress on this?

@reduz Hey Juan, from looking at it yesterday, I can say it is still in 3.1.  It's a problem on Windows, but seemed to be working fine on Ubuntu at least.
I gandered at the joypad code, and I don't know enough about the libraries to follow the logic.  But it seems like it is some sort of index leak for the device IDs.  As if maybe when the first controller reconnects the second controller is also getting reconnected, but never getting disconnected and relinquishing its previous ID.
If you unplug and replug the first controller in and out, while a second stays connected, the ID array keeps growing by one, in relation to the 2nd joypad.  The first index (0) does clean itself up.
The array looks like this as you disconnect and reconnect joypad 1.  It uses ID 0.

[0, 1]
[1]
[0, 1, 2]
[1, 2]
[0, 1, 2, 3]

On and on it goes.  I made some crazy work around for it that can support at least for 2 joypads, by taking the first and last IDs, and tracking the increment if there is a 0 or not in the first position.  It at least prevents fatal crashes, but the second controller does become unresponsive in one specific condition.  So it is not ideal, and quite a bit of extra code.
I'm porting this hack over to my new project today, and I was considering posting an update example project for it soon.

Here is an example project for anyone interested in inspecting the problem.  Tested on Windows and Linux, and seems to be fine on Linux.
Joypad Issue.zip

Closing, this is a duplicate of this:  https://github.com/godotengine/godot/issues/17566
The cause is the same, run away joypad ID accumulation on windows, when disconnecting and reconnecting the joypad that uses ID #0.


[cmd diff] Run names with / in them unconditionally attempted as local directory

Describe the bug
If the run name is in some way "complex", cmd diff constantly reports No run names with the given pattern:. However, the exact same format of run name is accepted by cmd results (and also store).
The complex run-name in question looks like this: my/complex-run: name. (Auto-generated from Git user/repository: branch format.)
CodeChecker version
612b726a9f4ad822a6c676b2ad854f9c228752b4
To Reproduce

store --name simple-1
store --name simple-2
store --name "my/complex-run: name"
cmd results "my/complex-run: name" works. ✔
cmd diff --new --basename "simple-1" --newname "simple-2" works. ✔
cmd diff --new --basename "my/complex-run: name" --newname "simple-1" doesn't work. ❌

Expected behaviour
The run name is accepted, and before pattern-matching(?) or file system traversal, exact string match is done for the remote name. (In addition, if there are BOTH a local directory structure AND a remote run with the same pattern(?), a warning is emitted.)
System

OS: Ubuntu 18.04

Additional context
The issue appears both when diffing remote to local and remote to remote, and in both directions.
If I make a directory locally, and execute diff, it will pick the directory up as the local run. That is, if the following directory structure appears locally (even if empty) ...
$ tree my
my
└── complex-run: name

... then all the remote findings will be regarded as --new, and reported.
I tried escaping most of the suspicious characters in the run name, i.e. "my\/complex-run: name", "my\/complex\-run\:\ name", and various other combinations of escape, but had no luck.
The exact error message is a bit misleading, I had to have the hunch to try making a directory, because the following relevant lines are printed, even with --verbose debug.
[INFO][2021-12-06 11:25:31] {system} [14277] <140079117096768> - cmd_line_client.py:1190 handle_diff_results() - Given remote runs (--baseline): my/complex-run: name
[DEBUG][2021-12-06 11:25:31] {system} [14277] <140079117096768> - client.py:257 setup_client() - Initializing client connecting to [...] done.
[WARNING][2021-12-06 11:25:32] {system} [14277] <140079117096768> - cmd_line_client.py:156 process_run_args() - No run names match the given pattern: my/complex-run: name

It does not even say that it is trying to find local directory structures.

@whisperity The client thinks that you gave  complex-run as the run name and  name as the history tag name:
https://github.com/Ericsson/codechecker/blob/612b726a9f4ad822a6c676b2ad854f9c228752b4/web/client/codechecker_client/cmd_line_client.py#L149

The client thinks that you gave complex-run as the run name and  name as the history tag name

@csordasmarton Ah, thank you. Then it seems local directories do indeed take priority!
Would it be possible to implement some sort of an "escape" mechanism here, e.g. first match for \:, then do not split, and rewrite as :? The issue is that other commands happily accept : as-is, without trying to understand it as a tag. (store has a dedicated --run-tag or somesuch CLI option, I'm not sure about cmd results.)
Or should I just come up with a better run name generating logic, and add something to my documentation to discourage users from putting : into their run names (if they configure it themselves)?

I think we can support escaping here something like this:
>>> run_name="my/comple-run\: name:tag_version"
>>> list(map(lambda x: x.replace("\:", ":"), re.split(r"(?<!\\):", run_name)))
['my/comple-run: name', 'tag_version']

@csordasmarton Perfect! :smiley: Will you have some time to add this small feature, or should I?

If you have time, please create a PR for it. Also don't forget to add a test case for it :blush:


Auto reload app with nameko run?

Is anyone planning to add auto reloading through nameko run? If not I might add it as its very annoying having to restart it manually all the time.

This has been discussed before but nothing has landed in the main repo. Check this thread on the mailing list -- https://groups.google.com/forum/#!searchin/nameko-dev/reload|sort:relevance/nameko-dev/aNAs2cHBJME/62QS1G3cAQAJ
It would be a welcome addition!

will implement this in the next week roughly


Add devcontainer and fix several issues

This PR includes serveral changes in README.md and phoenix.toml. It also adds .devcontainer for contributors.

cc @libertyeagle


samplegen: implement ApplicationChooser

Implement an ApplicationChooser with extensive copy and paste from Jon's DemoCode repo (non-interactive mode only)
Update the project generator to generator project files for samples that reference the ApplicationChooser, as well as configures the StartupObject to Google.Cloud.SomeApi.V1.Samples.Program
An upcoming PR in gapic-generator to generate the Program.cs per API will come shortly

@jskeet PTAL
cc/ @googleapis/samplegen

I'm on vacation tomorrow, but will look at this on Monday.


igir: add p7zip as a dependency

This fixes https://github.com/NixOS/nixpkgs/issues/279695
Description of changes

Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[X] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 279842 run on x86_64-linux 1

1 package built:

igir

I don't think this is a correct fix. The build output does not reference p7zip.
❯ nix path-info -Srh ./result
/nix/store/i93s7xxblavsacpy82zdbn4kplsyq48l-libunistring-1.1       1.8M
/nix/store/ji01n9vinnj22nbrb86nx8a1ssgpilx8-libidn2-2.3.4          2.1M
/nix/store/ldrslljw4rg026nw06gyrdwl78k77vyq-xgcc-12.3.0-libgcc   139.1K
/nix/store/9y8pmvk8gdwwznmkzxa6pwyah52xy3nk-glibc-2.38-27         31.1M
/nix/store/l3lhzwrfgzncjj1z4wyq6kkrp6czx5qp-gcc-12.3.0-libgcc    139.1K
/nix/store/dghjv6hfz0s0z4kffa5ahyw2mhp79215-gcc-12.3.0-lib        38.8M
/nix/store/42xvz6zy0n46ihc4qbz3swmphrnnl7j5-gmp-with-cxx-6.3.0    39.5M
/nix/store/c7rf6w8xvxc4423m9rsgq5nsqhknshvy-openssl-3.0.12        37.3M
/nix/store/q8qq40xg2grfh9ry1d9x4g7lq4ra7n81-bash-5.2-p21          32.6M
/nix/store/sr9ka27mzwb3mpvmh1k9180k9rrzlrky-openssl-3.0.12-bin    39.8M
/nix/store/7yx2i1wm89zhypky0l0lmmpl10yf0bh7-openssl-3.0.12-dev    41.7M
/nix/store/v3kjfcaysin90dqyna1rwgnxsf3pg7fz-attr-2.5.1            31.2M
/nix/store/7zqx95qyg38fic8mzk0nxz06ag3jkh12-acl-2.3.1             31.3M
/nix/store/l77dphhwcw7j5k5kqxw1rqxbvhszgaw7-icu4c-73.2            78.0M
/nix/store/zx8aqgdy735qzk81glfwil6mbi6ddqb1-coreutils-9.4         41.1M
/nix/store/9dhsn7y43f0s1vvxwby671n9qb8ab4vm-icu4c-73.2-dev        85.8M
/nix/store/lprrvg44cyn9ajpq77lh7rlnp4kzdqzs-zlib-1.3              31.2M
/nix/store/fak09pxs42fqcgngf2yznw83f88kmw7s-zlib-1.3-dev          31.3M
/nix/store/p4x3hr44ah240zascb7ygk4m5b6sbrnx-libuv-1.47.0          31.3M
/nix/store/v0r02wg7qbxchccl81k1x1srxg9nb9ib-libuv-1.47.0-dev      31.4M
/nix/store/yc5bicc5zs5czjp5q5aygz79km84rmd4-nodejs-20.10.0       160.7M
/nix/store/qcav845wwqj12sjla9zfx7hjn83laf3j-igir-2.2.1           201.9M

Ah thanks, indeed ... I tested igir on a random 7z of mine before doing this PR and I was sure it worked, as I remember having a different error that doesn't say "Could not start dynamically linked executable" ... Except that this is the error I'm getting now. The only explanation i see is that I went too fast on it and didn't see that error. So this problem might be more complicated to solve than I thought ...
Do you happen to have a proper DAT collection that's in a 7z file, so I can test this properly ?

Ok, after thinking long enough about it the solution is quite simple: I just use autoPatchelfHook to patch the bundled binary so that you can use it.
I've now tested it properly, after all I could just make myself a 7z that contains a DAT from the DATs I have ... It works.


Remove .root symlink

I think the .root symlink functionality can be replaced by using Direnv in a project to create an absolute symlink in the top directory. Jinjaform should copy it into the working directory and it will continue to point to wherever it was pointing to. Direnv should replace the symlink every time so that it works even if the project gets moved.
Project structure:
environments/
  main.tf
  modules --> /home/ray/myproject/terraform/modules
  dev/
    terraform.tfvars
  prod/
    terraform.tfvars
modules/
  my-module/
  other-module/

Contents of .envrc:
# Add Terraform modules symlink
ln -fs $(pwd)/terraform/modules $(pwd)/terraform/environments/modules

Contents of .gitignore:
terraform/environments/modules

Contents of main.tf:
module "my_module" {
  source = "modules/my-module"
}

For this to work, Jinjaform will need to support symlinks. It currently ignores them when creating the workspace.
Making this change will make the projects neater (source = "modules/my-module" vs source = ".root/modules/my-module") and allow projects to name the symlink whatever they want. Fewer features in Jinjaform is good too, as one of the goals is to make it simple and as transparent as possible.
This pattern should be added to the example too.

Hooks #9 could also be used instead of Direnv to create the symlink.


[EL] Added sensor_HassGetState

Pre Draft Need work..

Because there hasn't been any activity on this PR for quite some time now, I've decided to close it for being stale.
Feel free to re-open this PR when you are ready to pick up work on it again 👍
../Frenck


Make NumericEntityState TryParse use invariant culture

Example:
A huminity sensor reads 505 on my German developement system (Windows PC VS2020) and 50.5 on my production system (Synology Docker).
Probable cause "Parameter s is parsed using the formatting information in a NumberFormatInfo object initialized for the current system culture."

Thanks for the suggestion. We should have a solid story for the culture problem. Not sure this are not creating same problem as it creates. Maybe some way to allow the user to set the culture and use neutral as default. What you think @FrankBakkerNl ?

Hmm this is kind of embarrassing, just did not pass an invariant culture in the Double.TryParse, looks like an easy fix

Yepp, sorry, just one day with NetDaemon by now.
Having had a look into the source meanwhile, my header is missleading.
In NumericEntity the double.TryParse should use invariant culture ....
I think :-)

Yes indeed it should be culture-UN-aware. At first from the title I thought you were actually requesting the opposite which was a NO GO of course ;-)

Thanks Frank, and sorry for the misleading title, I should have "smelled" the bug even without the source ;-)

Fixed


erasing my files

Type: Bug
my files disappeared on vs and has a port 5500 below
VS Code version: Code 1.73.0 (Universal) (8fa188b2b301d36553cbc9ce1b0a146ccb93351f, 2022-11-01T15:38:50.881Z)
OS version: Darwin x64 21.3.0
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8210Y CPU @ 1.60GHz (4 x 1600)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
3, 3, 3

Memory (System)
8.00GB (0.05GB free)

Process Argv
--crash-reporter-id 681d8279-2360-4a51-a5d0-90f0c15db3ba --crash-reporter-id 681d8279-2360-4a51-a5d0-90f0c15db3ba

Screen Reader
no

VM
0%

Extensions (6)

Extension
Author (truncated)
Version

gitlens
eam
13.0.4

live-server
ms-
0.4.3

indent-rainbow
ode
8.3.1

material-icon-theme
PKi
4.22.0

LiveServer
rit
5.7.9

open-in-browser
tec
2.0.0

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627cf:30244335
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
pyindex848cf:30577861
nodejswelcome1:30587005
fc301958:30595537
3biah626:30602489
gswce2:30605431
iaj6b796:30604794
dbltrim-noruby:30604474

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.73.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Click on KUBECONFIG to open Finder, it is stuck.

Describe the bug
Click on KUBECONFIG to open Finder, it is stuck. It takes a long time to open.
To Reproduce
Steps to reproduce the behavior:

Expected behavior
Quickly open the directory.
Screenshots
Opening this directory is very slow:

Environment (please complete the following information):

Lens Version: 2024.5.271333-latest
OS: macOS 14.5

Hello youngledo,
Thank you for reaching out to Lens support!
Thank you for reporting a bug.
We are working on your issue. Stand by for further updates.
Best Regards,
Tikhon Kudinov
Lens Support Engineer
Mirantis, Inc

Hello youngledo,
Thank you for reaching out to Lens support!
Thank you for reporting a bug.
We are working on your issue. Stand by for further updates.
Best Regards, Tikhon Kudinov Lens Support Engineer Mirantis, Inc

Hi, how is it going?


Update Deprecated Constants or Remove Unused Ones

This PR is to update the deprecated constants as of HA 2024.1.0 (https://developers.home-assistant.io/blog/2023/12/19/constant-deprecation/).
This addresses issue #218.

Can you rebase this to the dev branch?

Completed.


Add zsh completion for 'docker network ls --filter label'

Ref. #21495
Signed-off-by: Steve Durrheimer<EMAIL_ADDRESS>

LGTM 🐯

LGTM :+1:


Add Mint Support (Includes Updated Documentation)

This PR includes the previous pull request from @lilpit and adds the following modifications:

provides the additional documentation requested by @mac-cain13 in the original PR review
adds .swiftpm to the .gitignore file (pretty sure this should be ignored)

As a refresher, @lilpit submitted #485 :

If you don't use Cocoapods in your project, there is no proper way to manage the R.swift dependancy.
A dependency manager based on SwifPM called Mint is ganning traction in the community and is already supported by some other swift based tools like Carthage or SwiftGen.
This PR just adds a product to Package.swift, the only required thing needed by Mint to work.
To make R.swift installable via mint, a new Release of R.Swift will be needed

NOTE: My R.Swift.Library Pull Request 34 should also be accepted (probably first) because it is required for the instructions in part 2 here.
Thanks!

Thanks a lot for this detailed PR!
Library installation instructions don't work yet because there isn't a tag for an SPM release. But that will be fixed before the R.swift 5.1 release.


Reachable Sites Github Action + Badge

Hey webring contributors,
Big fan of the project. I want to make the lives of the maintainers easier so I wrote this Github action plus README.md badge to track no reachable sites in the ring.

fully automated script that checks if each site in the webring is reachable on the net
runs every 4 hours
runs on when someone merges into master
does not run on pull-requests pushes only when pr is merged into master
does not block merge requests or anything like that
updates a badge on the README.md of the project
clicking on the badge takes you to a generated page that contains list of sites that could not be reached
no notifications
does not check rss or twtxt links. searches for links via body > ol > li a then filters out ones with classes

DEMO

This feature is fully operational in my fork of the repo here

I just wanted to say that it looks very cool, I'm currently not in a position to test this properly, my current setup doesn't support js nor npm. But once I have a access to shore power again, I'll have a look :) Keep it open for a little while longer please.

Oh my, this is an old PR, which I totally forgot to return to. I remember this, but I had no idea was CI even meant back then, so does this still work with the current html of the webring? I'm not really familiar with github actions, but I am interested in having a way to test broken websites automatically. Anyone wanna give me a hand to see how I can test this out?

Hello @neauoire, nice sailing log book btw. It has a proud spot of my coffee table.
Let me look back into this PR and see if I can clean it up and make something useful for the webring.

Thank you for saying so :) I hope you get to make some of the recipes at the end!
I'm sorry it took me two years to get back to this.. I hope the index format hasn't changed too much.
Let me know!

Alright updated this pull request and doubled check things are in working order.
Summery
This PR adds a GitHub Action to check which sites on the ring are reachable with accompanying badge.
The output of the action is a commit of a _badges/reachable-site.svg file and _badges/reachable-site-errors.txt  file on a reachable-sites branch of this repo, ex of my fork https://github.com/BTBTravis/webring/tree/reachable-sites. This badge and text file are linked in the README.md. The action is run every merge to main branch and also on a scheduled cron everyday at 00:00h.
The badge can be seen working on my fork https://github.com/BTBTravis/webring.
How to test
Required: node.js + npm.
To manually test. simply check it out and run (cd .github/site-checker && npm ci && npm run check-sites) this will create the badge and error text in _badges.

@BTBTravis It looks like sites hosted by Vercel are reported as not responding within 30 seconds in your checks. My site is one of those listed as unreachable, but there are four more as well.


Update README.md

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

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

@DurgaPrasadWebDev will you update this PR? Thanks in advance!

With The Things Network V2 shut down, we're going to archive this repository. This pull request will be locked.


Add a way to disable/ignore particular health checks

I have some external services used by an app and the services can be reconfigured (enabled or disabled) at runtime. For those services we have implemented health checks but the problem is that health checks are configured at startup and there is no easy way to exclude disabled services from the health report.
So far I see the following possibilities to achieve desired result.

Either add additional Disabled status to HealthStatus enum
Allow a health check to return null and ignore it inside DefaultHealthCheckService (but since HealthReportEntry is a structure it may be hard)
Provide an additional Predicate in HealthCheckOptions to filter-out instances of disabled health checks

Can't you use the predicate that can be passed into CheckHealth? Presumably you need to check against some external list of enabled/disabled services and you can match them there.

@zihotki I'm closing this because we haven't heard back from you. You can provide a predicate to HealthCheckService and the middleware that filters the set of checks. It's unclear to me why we would need another feature to do what you need.

Sorry for delay with response.
@rynowak For an example consider the following health check:
    public class RedisHealthCheck : IHealthCheck
    {
        private readonly RedisCacheOptions _options;

        public RedisHealthCheck(IOptions<RedisCacheOptions> options)
        {
            _options = options.Value;
        }
        public async Task<HealthCheckResult> CheckHealthAsync(...)
        {
...
        }

It's using options for passing in configuration values which are injected into constructor. I would like to implement a check which will use provided options to determine whether the service is configured or not. If it's not configured I want to ignore the health check.
Predicate unfortunately is not suitable for particular scenario because predicate doesn't have access to the scope and service provider. You can only check there only the registration and can't check instantiated health check service.
Another good candidate was to extend HealthCheckRegistration and do the check inside of registration's factory. But unfortunately current implementation will throw null reference exception if factory returns null.
So far I don't see any way of implementing the desired behavior.


how to send header?

Hey @vitalets how do i send a header with apikey and apiuser with editables? (i am using tastypie and it requires the user and key) I tried doing the beforesend field xhr.setRequestHeader but it continues to ask me to enter in the user and pass manually.

@aop
i think you can do this by setup the headers in $.ajaxSetup before $(...).editable():
$.ajaxSetup({             headers: {                 'Authorization': Token,                 'Content-Type': 'application/json'             },         });         $('#fullname').editable({ url: ..., params: function(params){ var data = [];  data['id'] = params.pk; return data; }})


Published under new package name

It doesn't seem like the gradle plugin has been published since the move from com.twilio to dev.guardrail

Yeah, I registered a new repo for it in the Gradle plugin repo, but I haven't had time to get back to it. If this is blocking you I can try to get to it this week

Sorry for this taking so long Chad, I haven't had a tremendous amount of recreational programming time recently. I haven't forgotten about this.

No worries, I'm fine with the older version under the Twilio namespace.

Alright. v0.71.0 published, pending approval:


A3X Error

On attempted run, receive the following error
Line 37481 (File "C:\Program Files (x86)\Stash
Helper\Stash_Helper.a3x"):
Error: Subscript used on non-accessible variable.

I see that it was caused by earlier code being lazy. Now I use _WinHttpCrackUrl to properly handle the StashURL.
It should be fixed in next update. If not, please post again.


[Gally]: master <- dev

Automatically created by Git-Ally

:tada: This PR is included in version 3.2.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Support Angular 6 and RxJS 6

I removed /typings since the project uses @types/*
Closes #798

No, because of the RxJS, but if someone still uses RxJS 5 it can work with rxjs-compat package.

@lozjackson the package is only backwards-compatible to angular v4 since this https://github.com/text-mask/text-mask/commit/c604c3e84bd8c24def7ab9f1ecbfe937564745af


Eliminate grains.cloud_provider (in preference to grains.cloud) from SaltStack

This variable can be entirely derived from grains.cloud, and it
simplifies the configuration somewhat. (Or someone convince me I'm
wrong. I'm happy to be wrong here.)

cc @derekwaynecarr @erictune

Assigning to @derekwaynecarr, feel free to reassign.

Fixed. PTAL.

LGTM


build: support building with elogind

#510 adds support for building without systemd itself, but still probes for libsystemd. However, elogind by default doesn't install libsystemd.pc but only libelogind.pc.

The elogind option could also be integrated into the systemd option.

sorry about the delay, github doesn't send email when you update a branch. merged now, thanks!

No worries, thanks for your suggestions :)


Cand use Github In SCAN

-->

CKAN Version: 1.24.0pre
KSP Version: <IP_ADDRESS>1
Operating System: Windows 7 x64
Have you made any manual changes to your GameData folder (i.e., not via CKAN)?
Нет не вносил\Not
Problem:   Не получаеться загружать контент с Github вообще, ето касаеться только его при загрузке с spacedock или других все впорядке\Cant download any content from github in Scan

Try upgrading your version of .NET. Windows 7 comes with 3.5.1 by default, but GitHub now requires 4.5 or later to access their servers.

ok will try now.

nope its not working,same result

Oh, sorry! I didn't notice you were still using the PRE version. You'll need this now:
https://github.com/KSP-CKAN/CKAN/releases/tag/v1.24.0
That makes this a duplicate of KSP-CKAN/CKAN#2293.


bridge boards/threads to anonymous telegram imageboard bots

https://github.com/secretlounge/secretlounge-ng

I think this can be handled via a plugin, ideally a Lua plugin using something like this.


Geographic raster imagery support in Guardian

Problem description
As of #1563 implementation of geo-spatial data type it is now possible to introduce getJSON data objects in the VCs/VPs and scemas in the Guardian. However much of historic geographic data, specifically satellite imagery, is stored in getTIFF format. Also see https://www.sentinel-hub.com data and API for such archives. Such data also needs to be natively supported by Guardian.
Requirements
Introduce support for getTIFF and other raster types of data.
Definition of done
TBD
Acceptance criteria
TBD

@agryo-company please review

We will write down a small proposal of some of the important points that can support the guardian ecosystem.

Typo; should be "geoTIFF"
ECW, and JPEG 2000 also popular compressed format.
Also ERDAS Imagine (IMG) is popular for multispectral data sets.


Some unexpected hotspot visibility behavior?

Description
Just added a hotspot to the robot's front, and it doesn't seem to be "visible" (ie. solidly opaque) as expected. See this screenshot:

And this:

But sometimes when I move the camera around to the same positions, it does work:

Live Demo
Just using the live tester with the robot: https://modelviewer.dev/examples/tester.html
Browser Affected

[x] Chrome
[ ] Edge
[ ] Firefox
[ ] Helios
[ ] IE
[ ] Safari

OS

[ ] Android
[ ] iOS
[ ] Linux
[ ] MacOS
[x] Windows

Versions

model-viewer: v0.10.0
three.js: ?

I've reproed it, thanks. Hopefully this is specific to animated models, as hotspots don't really support animation yet anyway. I'll probably fix this as part of #1053.

it may not be only problem with animated model.
added a hotspot to lantern's front.

and lotated it.

Shouldn't the z-normal be positive in this case?

The bottom hotspot of lantern works well.

@motinados upon further inspection, you are exactly correct. I was not transforming the normals to the proper coordinate space. Should be fixed shortly, though animated models will have to wait.


Python 3.11.1 reports the following error

_websocket.c
      aiohttp/_websocket.c(198): fatal error C1083: Cannot open include file: “longintrepr.h”: No such file or directory
      error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.34.31933\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for aiohttp
Failed to build aiohttp
ERROR: Could not build wheels for aiohttp, which is required to install pyproject.toml-based projects

This is an error with your environment, you should not be running in VS. It works with later Python versions.

This is an error with your environment, you should not be running in VS. It works with later Python versions.

Thank you for your response; it is very helpful.


license as cc-by-sa, add maintainer and Catwatch config

Fixes #1

@LappleApple I would suggest using the Creative Commons here because it's documentation and not  source code :smile:


VSCode extension can not open VSCode

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
OS Version:

Steps to Reproduce:

when I open cmd, and then input code, It can open VSCode
but I was writing the extension,  my code is child_process.exec('code', () => {}), It can not open vscode, what's wrong, Can you help me?

Can you post screenshots of the cmd prompt and the error you are seeing? @18392152392

To be clear, your extension running in VS Code is attempting to launch an instance of VS Code?

We have a great developer community over on slack where extension authors help each other. This is a great place for you to ask questions and find support.
Happy Coding!


Add mappings for more numpad buttons, fixes #2524

This PR will map some of the unmapped numpad buttons so you can use them on desktop games.
If we have missed anything, please let us know and point us in the right direction.
Should fix #2524
The following (unmerged) commits were used as references on how this should be done:
https://github.com/libgdx/libgdx/pull/2542/commits/d8c32b64790a664abe7e2e1411cb0005a10a6570
https://github.com/libgdx/libgdx/pull/2542/commits/f7fe73242cf70b4e1f73a561f9624fbc45780897
Done together with @GeorgeYildiz

Can anyone help us figure out what went wrong with the travis build?

It is an issue with the build itself, not this PR.

Ok, how should we proceed then?

Do we need changes for the other backends?

FWIW, you're still missing:

  	case NUM_LOCK:

  	case SYSRQ:

  	case SCROLL_LOCK:

  	case BREAK:

  	case CAPS_LOCK:

and there's still the backspace/del Android mixup there.

I've taken over and will note process so far here.
According to https://github.com/libgdx/libgdx/wiki/Adding-new-Keycodes

[X] Add the keycodes to Input.Keys (don't forget to define Input.Keys.toString() for the new codes.

[ ] Android: If they exist for Android, use same codes as in Android's KeyEvent class. If not existent for Android, define a keycode non-clashing with Android's codes and document it as a comment. Due to Android's key code being same than libgdx, no change is needed in Android's backend.

[ ] GWT: Changes needed in DefaultGwtInput.keyForCode(). GWT's KeyCode.java is incomplete. Check with all browsers and OS at hand (might be slightly different) at https://keycode.info/

[ ] RoboVM: Changes needed in DefaultIOSInput.getGdxKeyCode(). Check UIKeyboardHIDUsage enum (yes, you can do that on any OS).

[X] Lwjgl: Use Keyboard constants in DefaultLwjglInput.getGdxKeyCode() and getLwjglKeyCode(),

[ ] Lwjgl3 is similar.

[ ] Don't forget LwjglAwtInput

[ ] CHANGES: Document newly added keycodes and if they are completely new (unmapped before) or changing a mapping existing before:
Added: NUMPAD_DIVIDE, NUMPAD_MULTIPLY, NUMPAD_SUBTRACT, NUMPAD_ADD, NUMPAD_DOT, NUMPAD_COMMA, NUMPAD_ENTER, NUMPAD_EQUALS, NUMPAD_LEFT_PAREN, NUMPAD_RIGHT_PAREN, NUM_LOCK
Following changes might be done depending on platform: Keys.STAR to Keys.NUMPAD_MULTIPLY, Keys.SLASH to Keys.NUMPAD_DIVIDE, Keys.NUM to Keys.NUM_LOCK, Keys.COMMA to Keys.NUMPAD_COMMA, Keys.PERIOD to Keys.NUMPAD_DOT, Keys.COMMA to Keys.NUMPAD_COMMA, Keys.ENTER to Keys.NUMPAD_ENTER, Keys.PLUS to Keys.NUMPAD_ADD, Keys.MINUS to Keys.NUMPAD_SUBTRACT

Okay people, I think I am done here. I requested a few fellow contributors to check and test on their prefered platforms as this concerns every platform.
These key mappings is really fiddly without the opportunity to earn glory, but I think the change is good and we should do it.

@MrStahlfelge what about other 4 of those: https://github.com/libgdx/libgdx/pull/5207#issuecomment-386766337 ? While https://github.com/libgdx/libgdx/issues/5389 is IMVHO of a very low priority (F13-F24 are seldom found in the wild), e.g. CapsLock is (IMO) a quite common key. Any chance of mappings for it appearing in this PR?

I am aware of the F13 up request and the other keys. I will take care of it after this is merged to keep the number of changes to review low. You can help by testing the platforms you use and state here if everything works as expected, thanks. :)


WASI support

I've made a fork of coreutils that implements provisional support for running most coreutils under WASI.
Currently this involves quite a bit of conditional flagging, in large part because Rust hasn't adopted newer proposals that implement file permissions to WASI. However, the number of changes is not terrible, though there are still quite a few warnings I'd need to fix up.
I was wondering what the appetite is of coreutils maintainers to merge something like this into the repo and start officially supporting WASI, at least for a subset of tools.

That's very cool!
Not sure how the other maintainers feel, but I'm in favor of merging something like that! It would be another step towards making uutils truly "universal" :)
The number of differences with other platforms indeed feels manageable. In order to make the support "official" we will have to add it to the CI though, so we don't break it by accident.

at least for a subset of tools.

Do you know what subset of utils is useful on WASI? Do unix-specific utilities like chmod make sense?

Great! 🙂 This is still a rough sketch and there's polishing to do before we'd be ready to PR. I don't know if that'll happen this month or next.
Also cc @dbaeumer who is leading the wasi work for VS Code

Do you know what subset of utils is useful on WASI? Do unix-specific utilities like chmod make sense? I think the first version we could merge would require support for at least the "common core" set of utils (the ones enabled by default).

chmod would be relevant when file permissions are available in Rust's wasi libc. I think this is even possible today if one uses the wasi-sdk, though I have not tried it, and imo we should not write code that doesn't work with Rust/clang out of the box.
However, not all utils reference functionality present in WASI proposals. For example, there are no processes for kill to kill.

Edit: Why are you requiring path dependencies for libc and nix? Do you need to patch them to work with WASI?

Yea, I have a couple of PR's into both nix and libc at the moment (https://github.com/rust-lang/libc/pull/3142 https://github.com/rust-lang/libc/pull/3143 https://github.com/nix-rust/nix/pull/2011)

Not sure how the other maintainers feel, but I'm in favor of merging something like that! It would be another step
towards making uutils truly "universal" :)

+1 :)

Our current goal is to implement a WASM/WASI host for VS Code running in the browser so that web assemblies have transparent access to the VS Code file system to the console and the terminal. Here is a small demo running CPython in the browser with access to the files in the workspace which are hosted in a GitHub repository:

What we would like to provide as well is some sort of basic terminal support so that users can execute python directly or run command like ls, cat, ...
This being said commands like kill or chmod are not high priority for that support.

That sounds awesome! I'd love for uutils to be a part of that effort!

@connor4312 I have some time to write a GitHub worker YAML. Sorry, I didn't see in your code. Were you using Chromium or some other WASM/WASI runtime? Also what is the list of WASM/WASM runtimes that we are expecting to support?

I was using wasmer to develop locally. But out of the box rust targets a very minimal set of WASI APIs so I would expect it to be quite portable. Dirk was able to build upon this work to run the subset of coreutils in Chrome.


Unable to run raml2html on windows: Error: unknown protocol c:

I have just installed raml2html using npm, and I cannot execute it on windows, I am getting the following error
$ raml2html -i dad-mobile.raml -o dad-mobile.html

C:\Users\Alan.Domain-LTD\AppData\Roaming\npm\node_modules\raml2html\node_modules\raml2obj\node_modules\raml-parser\lib\raml.js:46
          throw new exports.FileError("while reading " + file, null, "unknown
                ^
Error: unknown protocol c:

I have tried with -i and -o, I have also tried the > approach, I tried cygwin and command prompt, all give the same error.
I have also tried pre-pending my file names with file://C:/..., and I also tried hosting my file on HTTP and executed
$ raml2html -i http://localhost:8081/raml

Still same issue.

This is a problem with the raml-js-parser: https://github.com/raml-org/raml-js-parser/issues/110. Once they release a new version it will also be fixed for raml2html. I'm sorry that I can't give you a quicker solution.

Do we have any idea about the planned date of this fix?
On which OS this converter works fine?

I don't know. They actually fixed the problem but haven't released it yet. See https://github.com/raml-org/raml-js-parser/pull/122.
raml2html works fine on Mac OS X and Linux.

Thanks for your quick response. I will wait till it get resolved.

Thanks for the information.

Today I saw the update from Dmartinezg that "It has been tagged and released as 0.8.10". Are you guys merging it? Please keep us posted when its resolved.

There is nothing to merge for me, raml2html indirectly uses any 0.8.x version of raml-js-parser. Running npm update -g raml2html should fix it for you, otherwise try uninstalling raml2html first and reinstall it.

Thanks.. It just worked.. :)

Hooray! :)


Test /packit retest-failed

/packit retest-failed

/packit retest-failed

/packit-stg retest-failed

/packit-stg test

/packit retest-failed