text:
🛑 cris book is down

In 65fb1fd, cris book (http://cristo.top/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: cris book is back up in 4ca1e72 after 40 minutes.


text:
Fatal Error on Indicator Import: KeyError: 'PERSONA_NAME'

python3 misp_import.py -f -nb -d -i
[2023-04-05 19:21:01,715] INFO     misp_tools    MISP Import for CrowdStrike Threat Intelligence v0.6.8
[2023-04-05 19:21:01,715] INFO     config  CHECK CONFIG
[2023-04-05 19:21:01,716] DEBUG    config  client_id                                   value redacted, check config file
[2023-04-05 19:21:01,716] DEBUG    config  client_secret                               value redacted, check config file
[2023-04-05 19:21:01,716] DEBUG    config  crowdstrike_url                             US1
[2023-04-05 19:21:01,716] DEBUG    config  api_request_max                             5000
[2023-04-05 19:21:01,716] DEBUG    config  api_enable_ssl                              True
[2023-04-05 19:21:01,716] DEBUG    config  reports_timestamp_filename                  lastReportsUpdate.dat
[2023-04-05 19:21:01,717] DEBUG    config  indicators_timestamp_filename               lastIndicatorsUpdate.dat
[2023-04-05 19:21:01,717] DEBUG    config  actors_timestamp_filename                   lastActorsUpdate.dat
[2023-04-05 19:21:01,717] DEBUG    config  init_reports_days_before                    365
[2023-04-05 19:21:01,717] DEBUG    config  init_indicators_minutes_before              20220
[2023-04-05 19:21:01,717] DEBUG    config  init_actors_days_before                     730
[2023-04-05 19:21:01,717] DEBUG    config  reports_unique_tag                          CrowdStrike: REPORT
[2023-04-05 19:21:01,717] DEBUG    config  indicators_unique_tag                       CrowdStrike: INDICATOR
[2023-04-05 19:21:01,717] DEBUG    config  actors_unique_tag                           CrowdStrike: ACTOR
[2023-04-05 19:21:01,717] DEBUG    config  reports_tags                                att:source="Crowdstrike.Report"
[2023-04-05 19:21:01,717] DEBUG    config  indicators_tags                             att:source="Crowdstrike.Indicators"
[2023-04-05 19:21:01,717] DEBUG    config  actors_tags                                 att:source="Crowdstrike.Actors"
[2023-04-05 19:21:01,717] DEBUG    config  unknown_mapping                             CrowdStrike:indicator:galaxy: UNATTRIBUTED
[2023-04-05 19:21:01,717] DEBUG    config  unattributed_title                          CrowdStrike Unattributed indicators:
[2023-04-05 19:21:01,717] DEBUG    config  indicator_type_title                        Indicator Type:
[2023-04-05 19:21:01,717] DEBUG    config  malware_family_title                        Malware Family:
[2023-04-05 19:21:01,717] DEBUG    config  log_duplicates_as_sightings                 True
[2023-04-05 19:21:01,717] DEBUG    config  misp_url                                    https://3samisp
[2023-04-05 19:21:01,717] DEBUG    config  misp_auth_key                               value redacted, check config file
[2023-04-05 19:21:01,717] DEBUG    config  crowdstrike_org_uuid                        ca4f4b5d-db04-4a5e-a6de-e60636dc01be
[2023-04-05 19:21:01,717] DEBUG    config  misp_enable_ssl                             False
[2023-04-05 19:21:01,717] WARNING  config  misp_enable_ssl                             SSL is disabled for MISP API requests
[2023-04-05 19:21:01,717] DEBUG    config  ind_attribute_batch_size                    2500
[2023-04-05 19:21:01,717] DEBUG    config  event_save_memory_refresh_interval          180
[2023-04-05 19:21:01,717] DEBUG    config  max_threads                                 16
[2023-04-05 19:21:01,717] DEBUG    config  miss_track_file                             no_galaxy_mapping.log
[2023-04-05 19:21:01,717] DEBUG    config  galaxies_map_file                           galaxy.ini
[2023-04-05 19:21:01,718] DEBUG    config  tag_unknown_galaxy_maps                     True
[2023-04-05 19:21:01,718] DEBUG    config  taxonomic_kill-chain                        True
[2023-04-05 19:21:01,718] DEBUG    config  taxonomic_information-security-data-source  True
[2023-04-05 19:21:01,718] DEBUG    config  taxonomic_type                              True
[2023-04-05 19:21:01,718] DEBUG    config  taxonomic_iep                               False
[2023-04-05 19:21:01,718] DEBUG    config  taxonomic_iep2                              True
[2023-04-05 19:21:01,718] DEBUG    config  taxonomic_iep2_version                      False
[2023-04-05 19:21:01,718] DEBUG    config  taxonomic_tlp                               True
[2023-04-05 19:21:01,718] DEBUG    config  taxonomic_workflow                          True
[2023-04-05 19:21:02,461] INFO     config  No configuration errors found (1 warning)
[2023-04-05 19:21:02,461] INFO     config
[2023-04-05 19:21:02,461] INFO     config  ____ _  _ ____ ____ _  _ ____    ___  ____ ____ ____ ____ ___
[2023-04-05 19:21:02,461] INFO     config  |    |__| |___ |    |_/  [__     |__] |__| [__  [__  |___ |  \
[2023-04-05 19:21:02,461] INFO     config  |___ |  | |___ |___ | \_ ___]    |    |  | ___] ___] |___ |__/
[2023-04-05 19:21:02,461] INFO     config
[2023-04-05 19:21:05,241] INFO     processor/main       BEGIN INDICATORS IMPORT
[2023-04-05 19:21:05,242] INFO     processor/main       Retrieving lookup data for import of CrowdStrike indicators into MISP.
[2023-04-05 19:21:05,619] INFO     processor/main       Adding 24 CrowdStrike indicator type events to MISP.
[2023-04-05 19:21:05,639] INFO     processor/main       Retrieved 0 CrowdStrike indicator malware family events from MISP.
[2023-04-05 19:21:05,728] INFO     processor/thread_8   Retrieved 309 bitcoin_address indicators from MISP.
[2023-04-05 19:21:05,736] INFO     processor/thread_12  Retrieved 495 registry indicators from MISP.
[2023-04-05 19:21:05,748] INFO     processor/thread_9   Retrieved 15 coin_address indicators from MISP.
[2023-04-05 19:21:06,002] INFO     processor/thread_3   Retrieved 1,770 hash_imphash indicators from MISP.
[2023-04-05 19:21:06,006] INFO     processor/thread_13  Retrieved 50 device_name indicators from MISP.
[2023-04-05 19:21:07,337] INFO     processor/thread_7   Retrieved 3,922 mutex_name indicators from MISP.
[2023-04-05 19:21:07,917] INFO     processor/thread_12  Retrieved 29 service_name indicators from MISP.
[2023-04-05 19:21:08,129] INFO     processor/thread_3   Retrieved 443 port indicators from MISP.
[2023-04-05 19:21:29,770] INFO     processor/thread_15  Retrieved 250 campaign_id indicators from MISP.
[2023-04-05 19:21:33,907] INFO     processor/thread_9   Retrieved 90,336 user_agent indicators from MISP.
[2023-04-05 19:21:40,469] INFO     processor/thread_4   Retrieved 201,108 file_name indicators from MISP.
[2023-04-05 19:21:45,887] INFO     processor/thread_5   Retrieved 201,108 file_path indicators from MISP.
[2023-04-05 19:21:59,117] INFO     processor/thread_2   Retrieved 412,705 hash_sha1 indicators from MISP.
[2023-04-05 19:22:08,775] INFO     processor/thread_10  Retrieved 65,980 email_address indicators from MISP.
[2023-04-05 19:23:52,617] INFO     processor/thread_14  Retrieved 1,611,349 domain indicators from MISP.
[2023-04-05 19:24:34,694] INFO     processor/thread_11  Retrieved 797,295 email_subject indicators from MISP.
[2023-04-05 19:28:23,455] INFO     processor/thread_1   Retrieved 2,807,413 hash_sha256 indicators from MISP.
[2023-04-05 19:30:26,405] INFO     processor/thread_0   Retrieved 3,351,444 hash_md5 indicators from MISP.
[2023-04-05 19:35:09,500] INFO     processor/thread_8   Retrieved 4,769,797 ip_address indicators from MISP.
[2023-04-05 20:02:58,184] INFO     processor/thread_6   Retrieved 16,365,828 url indicators from MISP.
[2023-04-05 20:03:23,340] INFO     processor/main       Found 0 pre-existing indicators within CrowdStrike reports.
[2023-04-05 20:03:51,666] INFO     processor/main       Starting import of CrowdStrike indicators into MISP.
[2023-04-05 20:05:09,132] INFO     processor/main       Retrieved 5,000 of 2,130,594 remaining indicators.
[2023-04-05 20:05:09,132] DEBUG    processor/main       Configuration states we should process batches of 2,500 indicators.
[2023-04-05 20:05:09,133] INFO     processor/main       Processing batch of 2,500 indicators.

<<>>
[2023-04-06 04:10:21,093] DEBUG    processor/thread_11  Tagged threat TARGETED
[2023-04-06 04:10:21,101] DEBUG    processor/thread_11  Added 99bfe2258817f3a9098cf69e90b2ade1f86bb0c6711ee40dcc2a5b9abc2f24ce indicators to event Malware Family: EggShellMilt
[2023-04-06 04:10:21,101] DEBUG    processor/thread_11  Creating attribute for indicator 99bfe2258817f3a9098cf69e90b2ade1f86bb0c6711ee40dcc2a5b9abc2f24ce
[2023-04-06 04:10:21,292] DEBUG    processor/thread_12  Added 698614eb8f717cb618055f8689360452ff9a3e21210b7327a3449b00ef527804 indicators to event Indicator Type: SHA256 hashes
[2023-04-06 04:10:21,292] DEBUG    processor/thread_12  Tagged malicious-confidence HIGH
[2023-04-06 04:10:21,293] DEBUG    processor/thread_12  Tagged malware CRAT
[2023-04-06 04:10:21,293] DEBUG    processor/thread_12  Tagged mitre-attck COLLECTION
[2023-04-06 04:10:21,293] DEBUG    processor/thread_12  Tagged mitre-attck COLLECTION
[2023-04-06 04:10:21,293] DEBUG    processor/thread_12  Tagged mitre-attck COLLECTION
[2023-04-06 04:10:21,293] DEBUG    processor/thread_12  Tagged mitre-attck COMMANDANDCONTROL
[2023-04-06 04:10:21,293] DEBUG    processor/thread_12  Tagged mitre-attck COMMANDANDCONTROL
[2023-04-06 04:10:21,293] DEBUG    processor/thread_12  Tagged mitre-attck DEFENSEEVASION
[2023-04-06 04:10:21,293] DEBUG    processor/thread_12  Tagged mitre-attck DEFENSEEVASION
[2023-04-06 04:10:21,293] DEBUG    processor/thread_12  Tagged mitre-attck DEFENSEEVASION
[2023-04-06 04:10:21,293] DEBUG    processor/thread_12  Tagged mitre-attck DISCOVERY
[2023-04-06 04:10:21,293] DEBUG    processor/thread_12  Tagged mitre-attck DISCOVERY
[2023-04-06 04:10:21,293] DEBUG    processor/thread_12  Tagged mitre-attck EXECUTION
[2023-04-06 04:10:21,293] DEBUG    processor/thread_12  Tagged mitre-attck EXECUTION
[2023-04-06 04:10:21,293] DEBUG    processor/thread_12  Tagged mitre-attck INITIALACCESS
[2023-04-06 04:10:21,293] DEBUG    processor/thread_12  Tagged threat TARGETED
[2023-04-06 04:10:21,296] DEBUG    processor/thread_12  Added 698614eb8f717cb618055f8689360452ff9a3e21210b7327a3449b00ef527804 indicators to event Malware Family: CRAT
[2023-04-06 04:10:21,296] DEBUG    processor/thread_12  Creating attribute for indicator 698614eb8f717cb618055f8689360452ff9a3e21210b7327a3449b00ef527804
Traceback (most recent call last):
  File "misp_import.py", line 377, in <module>
    main()
  File "misp_import.py", line 356, in main
    importer.import_from_crowdstrike(int(settings["CrowdStrike"]["init_reports_days_before"]),
  File "/home/rx118r/src/crowdstrike/MISP-tools-main/cs_misp_import/importer.py", line 314, in import_from_crowdstrike
    self.indicators_importer.process_indicators(indicators_minutes_before)
  File "/home/rx118r/src/crowdstrike/MISP-tools-main/cs_misp_import/indicators.py", line 195, in process_indicators
    self.push_indicators(indicators_page)
  File "/home/rx118r/src/crowdstrike/MISP-tools-main/cs_misp_import/indicators.py", line 383, in push_indicators
    total, f_successes, f_failures, m_successes, m_failures = self.process_indicator_batch(batch)
  File "/home/rx118r/src/crowdstrike/MISP-tools-main/cs_misp_import/indicators.py", line 325, in process_indicator_batch
    if fut.result().get("feed"):
  File "/opt/rh/rh-python38/root/usr/lib64/python3.8/concurrent/futures/_base.py", line 437, in result
    return self.__get_result()
  File "/opt/rh/rh-python38/root/usr/lib64/python3.8/concurrent/futures/_base.py", line 389, in __get_result
    raise self._exception
  File "/opt/rh/rh-python38/root/usr/lib64/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/rx118r/src/crowdstrike/MISP-tools-main/cs_misp_import/indicators.py", line 225, in indicator_thread
    feed_return, fam_return = self.add_indicator_event(ind, batch_lock) # All sharing the same lock
  File "/home/rx118r/src/crowdstrike/MISP-tools-main/cs_misp_import/indicators.py", line 528, in add_indicator_event
    itype = IndicatorType[indicator.get('type', None).upper()].value
  File "/opt/rh/rh-python38/root/usr/lib64/python3.8/enum.py", line 387, in __getitem__
    return cls._member_map_[name]
KeyError: 'PERSONA_NAME'
(.ohm) [rx118r@md2nj02di:~/src/crowdstrike/MISP-tools-main]$

This looks to be related to a failed lookup in the IndicatorType enum.  I've not seen the PERSONA_NAME indicator type before.  Investigating where this originated from.

Lazy fix:
Added this line to cs_misp_import/indicator_type.py
PERSONA_NAME = "Persona / alias"

Lazy fix:
Added this line to cs_misp_import/indicator_type.py
PERSONA_NAME = "Persona / alias"

Adding this new type to the enum is the right solution. Adding this to the next revision.

source: gharchive/issue

authors: jshcodes netscylla packet-rat

repo: CrowdStrike/MISP-tools

license: MIT

license_type: permissive

license_source: github-api


text:
Postgres operator 5.1.0 not working in Kubernetes 1.24

The postgres operator 5.1.0 seems not be working in Kubernetes 1.24. There is no postgres cluster created.

There is a cluster cloning issue from my side.

repo: CrunchyData/postgres-operator-examples


text:
over18 is only a property for subreddits; over_18 should be used for the Post class.

https://github.com/CrustyJew/RedditSharp/blob/2.0-.Net-Core/RedditSharp/Things/Post.cs#L76
yeah. it's that stupid.

Of course that's a thing...

repo: CrustyJew/RedditSharp

license: mit

license_source: bigquery


text:
MoveItem xml request is missing namespaces in subelements

The MoveItem operation is missing crucial namespaces for it to work (at least with Exchange 2013). Fails with "{ "ResponseCode": "ErrorInvalidIdMalformed", "Message": "Id is malformed." }". Using latest release.
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:tns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soap:Header>
      <t:RequestServerVersion Version="Exchange2013" />
   </soap:Header>
   <soap:Body>
      <MoveItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
         <ToFolderId>
            <FolderId Id="AQMkADB..." ChangeKey="AQAAA..." />
         </ToFolderId>
         <ItemIds>
            <ItemId Id="AQMkAD..." ChangeKey="CQAAA..." />
         </ItemIds>
      </MoveItem>
   </soap:Body>
</soap:Envelope>

Manually adding namespaces to args fixes this:
  const ewsArgs = {
    'tns:ToFolderId': {
      't:FolderId': {
        attributes: {
          Id: folderId,
          ChangeKey: folderChangeKey
        }
      }
    },
    'tns:ItemIds': {
      't:ItemId': {
        attributes: {
          Id: messageId,
          ChangeKey: changeKey
        }
      }
    }
  };

@vlf, This works great for me if I have the FolderId, but I can't get it to work with DistinguishedFolderId.
const ewsArgs = {
  'tns:ToFolderId': {
    't:DistinguishedFolderId': {
      attributes: {
        Id: 'paid',
      },
      Mailbox: {
        EmailAddress: 'shared@mailbox.com',
      },
    },
  },
  'tns:ItemIds': {
    't:ItemId': {
      attributes: {
        Id: 'AAAbAEJvdHRvbUxpbmVJbnZvaW...',
        ChangeKey: 'CQAAABYAAABu9vp7Vv...',
      },
    },
  },
};

It might be because I'm moving emails from a shared inbox. Any ideas?

repo: CumberlandGroup/node-ews


text:
Dateformat MM or MMM or MMMM or yyyy

how to apply "Dateformat just display" MM or MMM or MMMM or yyyy?
In demo just found MM-yyyy...
or it's not supported?
Thanks...

Following dateFormat values can be sued to display Month and Year.

dateFormat: "MM yyyy"
dateFormat: "MMM yyyy"
dateFormat: "MMMM yyyy"

repo: CuriousSolutions/DateTimePicker


text:
Vision Competition Ready Code

What this PR does
What does it fix/add?
Reference issues with "Fixes #10" or "Closes #10", where #10 is the number assigned to the issue

Is this related to #117?

Not really, this is just the code for the tinkeboards that can be used at competition. The auto code for it is soon to come

source: gharchive/pull-request


text:
Removed redefined types to support GCC

The current build fails with GCC 4.4.7 due to redefined types.
gcc      -I../lib  -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wstrict-prototypes     -DZSTD_VERSION=\"r0.0.1\"  ../lib/zstd.c xxhash.c bench.c fileio.c zstdcli.c -o zstd
../lib/zstd.c:108: error: redefinition of typedef âBYTEâ
../lib/fse.c:95: note: previous declaration of âBYTEâ was here

..and so on
I've suggested a header for these type definitions. I've tested both GCC and Clang with this configuration.
This is the latest version of GCC available for RedHat/CentOS 6, so is expected to be common.

Right.
Curiously enough, I'm using GCC 4.8 and 4.6 for my tests, and none of them complain about that.
But clang does, and that's why the following lines have been added :
#  ifdef __clang__
#    pragma clang diagnostic ignored "-Wtypedef-redefinition"
#  endif

Maybe something equivalent could be added for gcc too, such as :
#    pragma gcc diagnostic ignored "-Wtypedef-redefinition"

Note that the current situation, which is a consequence of including 'fse.c' rather than 'fse.h', is not satisfying. This is due to the fact than gcc/clang look unable, or very limited, in their ability to inline functions from another module, which is a killer for performance.
I'm therefore extremely likely to change this construction in the future, although final solution is not yet known.
At best, I would like to include a normal .h file, but on condition of preserving performance for gcc/clang. At worst I plan to include all "memory types and routines" within their own module.
Which solution is most appropriate is not yet settled.

Yep, I noted after sending the pull that the Travis build runs a more recent GCC and doesn't have a problem with the existing method. Similarly, I get a tonne of warnings about strict aliasing rules which travis doesn't seem to mention.
../lib/fse.c:737: warning: dereferencing pointer âCTable.35â does break strict-aliasing rules

As far as I'm aware my PR shouldn't hurt performance - it doesn't go away with fse.c being included directly.
If you want to go in the pragma direction I'm happy to test that out.

If you want to go in the pragma direction I'm happy to test that out.

Yes please,
I'm not planning to add to any file at this stage to lib directory at this stage.
It sounds very little, but every file add complexity for project integration, so I'm trying to avoid that.
What may happen later on is that fse.c will simply disappear, being directly integrated into zstd.c. At which stage, the question relative to memory access types and functions will be already settled. As a consequence, at the cost of becoming bigger, zstd.c will remain the sole source file to include, simplifying integration process.
So yes, even the number of files matters.
For the test, adding
#    pragma gcc diagnostic ignored "-Wtypedef-redefinition"
just after the clang one should do the trick.

you said it issued an error

Correct, it is a fatal error and will not build. I have tested the pragma but gcc seems to go out of its way to ignore it:
$ make
make[1]: Entering directory `/home/technion/zstd/programs'
gcc      -I../lib  -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wstrict-prototypes   -DZSTD_VERSION=\"r0.0.1\"  ../lib/zstd.c xxhash.c bench.c fileio.c zstdcli.c -o zstd
../lib/zstd.c:74: warning: ignoring #pragma gcc diagnostic
../lib/zstd.c:110: error: redefinition of typedef ‘BYTE’
../lib/fse.c:95: note: previous declaration of ‘BYTE’ was here
.....
make[1]: *** [zstd] Error 1
make[1]: Leaving directory `/home/technion/zstd/programs'
make: *** [zstdprograms] Error 2

OK, then there is no other way than to change the code.
I'll look into it, and open an issue to track the progresses.

As stated within #25 :
Fix attempt, downloadable at :
https://github.com/Cyan4973/zstd/tree/streamAPI2


text:
Tme Series Upload-backend

Describe the feature you are requesting
Modify the data ingest to accept a datset with multiple points in time.  My suggestion is that the data take the form of
{
  data:[
    {dataset: [], timestamp: datetime },
    {dataset: [], timestamp: datetime },
    .
    .
    .
  ]
}

Areas Impacted

Upload
Download
Fetch
Format
Hierarchy Config
Index
Search

I think the smartest thing to do here is to set the backend/data side up to accept an array of arbitrary length and then at the UI level restrict the components to looking at 2 points in the dataset.  Probably just the first 2 at least to start, but there's no reason we couldn't give the users a way to say i want to see frame 1 compared to frame 17.  Plus that leaves us in the position of not needing to upgrade the backend if we come up with a clever way to display things over time
Additionally the Epics will need to take in some sort of key designation for state storage so that we have an authoritative way to determine what objects at timestamp A correspond to at timestampB.
Links to
#109, #110

After discussion with the team, the decision is decided that data will take the form of 2 entirely separate file uploads, each of which will use the existing constraints.

repo: CyberReboot/CRviz


text:
Evinse support for java with gradle project - part 2

Testing procedure
Let's focus on only java with gradle projects to start with.
git clone https://github.com/CycloneDX/cdxgen
git checkout feature/evinse-gradle
npm install
export CDXGEN_DEBUG_MODE=debug

# Build the java project with gradle
cd <path to code>
mvn compile

# Generate an SBoM for a Java project with cdxgen
node bin/cdxgen.js -t java -o bom.json <path to code>
# Ensure java >17 is installed. Needed for any language type.
node bin/evinse.js -i bom.json -o bom.evinse.json <path to code>
# Interact with repl
node bin/repl.js bom.evinse.json

# Try some repl commands
# .print
# .occurrences

What to report

[ ] Crashes/hangs when collecting evidence for Java projects
[ ] SQLite3 installation errors
[ ] Slow performance. Report the first scan time you see with the number of components in SBoM and lines of code in the application
[ ] If any package was not listed under evidence.occurrences or has incorrect filenames or line numbers

@theold190 I have rewritten the logic for maven-cache. Could you test your use case with this branch and let me know how it looks?
https://github.com/CycloneDX/cdxgen/issues/441

@prabhu thanks for the fixes! I am on vacations right now, so not able to do the tests. Can check after 28th of August when I am back from vacations.

I have tested v9.6.1 of the tool and it produces the list of dependencies. A huge improvement comparing to v9.3.1 for our project, Thanks for the fix!

repo: CycloneDX/cdxgen


text:
have the yarn plugin linked on official plugin list

goal:

requirement: the yarn plugin is compatible with yarn v2
have the yarn plugin linked on official plugin list: https://v2.yarnpkg.com/features/plugins#contrib-plugins
requirement: the yarn plugin is compatible with yarn v3
have the yarn plugin linked on official plugin list: https://v3.yarnpkg.com/features/plugins#contrib-plugins

how:

If you wrote a plugin yourself, feel free to open a PR(link differs per yarn version!!) to add it at the end of this list!

adding the plugin was triggered via https://github.com/yarnpkg/berry/pull/6315

PR was merged

repo: CycloneDX/cyclonedx-node-yarn


text:
Unused runtime dependencies?

Version 3.1.5 from PyPI declares dependencies on setuptools and toml:
Requires-Dist: setuptools (>=47.0.0)
Requires-Dist: toml (>=0.10.0,<0.11.0)

However, I found no reference to these dependencies in the installed code that comes with the package.
Are these dependencies leftovers from a time when EnvironmentParser (setuptools) and PoetryParser (toml) were still part of this codebase? Can they be dropped now?

Thanks for the report, @rolweber
Could you provide some evidence for your findings? I would love to review and investigate.

@rolweber would you create a pull request and change things to the behavior you'd expect?

Evidence:

I grepped for the package names, see below.
I removed the dependencies in question and was still able to build a BOM and output it as JSON.

ls -l cyclonedx*
cyclonedx:
total 12
drwxr-xr-x. 1 rolweber rolweber   98 Jan 13 11:29 exception/
drwxr-xr-x. 1 rolweber rolweber   64 Jan 13 11:29 factory/
-rw-r--r--. 1 rolweber rolweber  697 Jan 13 11:29 __init__.py
drwxr-xr-x. 1 rolweber rolweber  260 Jan 13 11:29 model/
drwxr-xr-x. 1 rolweber rolweber  108 Jan 13 11:29 output/
drwxr-xr-x. 1 rolweber rolweber   44 Jan 13 11:29 parser/
drwxr-xr-x. 1 rolweber rolweber   84 Jan 13 11:29 __pycache__/
-rw-r--r--. 1 rolweber rolweber  153 Jan 13 11:29 py.typed
drwxr-xr-x. 1 rolweber rolweber  488 Jan 13 11:29 schema/
-rw-r--r--. 1 rolweber rolweber 2071 Jan 13 11:29 spdx.py

cyclonedx_python_lib-3.1.5.dist-info:
total 36
-rw-r--r--. 1 rolweber rolweber     4 Jan 13 11:29 INSTALLER
-rw-r--r--. 1 rolweber rolweber 11357 Jan 13 11:29 LICENSE
-rw-r--r--. 1 rolweber rolweber  5878 Jan 13 11:29 METADATA
-rw-r--r--. 1 rolweber rolweber  6075 Jan 13 11:29 RECORD
-rw-r--r--. 1 rolweber rolweber     0 Jan 13 11:29 REQUESTED
-rw-r--r--. 1 rolweber rolweber    88 Jan 13 11:29 WHEEL

grep -r setuptools cyclonedx*
cyclonedx_python_lib-3.1.5.dist-info/METADATA:Requires-Dist: setuptools (>=47.0.0)

grep -r pkg_resources cyclonedx*

There's a _distutils_hack package in setuptools...
grep -r distutils cyclonedx*

grep -r toml cyclonedx*
cyclonedx_python_lib-3.1.5.dist-info/METADATA:Requires-Dist: toml (>=0.10.0,<0.11.0)

There are references to toml and setuptools in pyproject.toml, poetry.lock, and requirements.lowest.txt. Also some comments regarding types-setuptools, which is supposed to be kept in sync with setuptools,  but actually isn't (version 57 vs 47). As I am not familiar with poetry, your project setup looks very intricate and intimidating to me.

To be honest, the situation is not critical to me as a maintainer.
Therefore, I do not intend to work on this soon.
So this is free for everyone who has a problem with the current situation. Feel free to raise a pull request to improve this library.
If so, please keep our contribution guidelines in mind.
I will be happy to assist, if needed.

Included in 4.0.0 - now released.

authors: jkowalleck madpah rolweber

repo: CycloneDX/cyclonedx-python-lib


text:
催更新教程 自己查代码看方法太繁琐了吧

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

尝试在历史问题搜索答案。
尝试阅读文档找到答案。
尝试阅读Demo找到答案。
尝试自己检查或试验以找到答案。
尝试阅读源代码以找到答案。
请勿将产品的一些特殊交互需求 和 该库暂不支持作为bug混为一谈，请您仔细甄别

如果以上都尝试过了请提一个新的issues
参考提問的智慧
如果还是没有找到答案，提问请带上这几个必要信息

当前使用的版本号
复现操作描述
使用代码
crash日志
gif复现效果
抽取demo
将你出现的问题代码抽出来成一个可直接运行的项目。（最好fork本库修改）
在本地修改demo，然后把commit push到github上，在issue里贴下demo的地址。

有详细的描述才能使得我们更快速的定位问题并解决问题，感谢配合！

合着你就别写代码了呗

合着你就别写代码了呗

repo: CymChad/BaseRecyclerViewAdapterHelper


text:
🛑 Servicio de impuestos interno is down

In 4b4bb58, Servicio de impuestos interno (https://homer.sii.cl) was down:

HTTP code: 403
Response time: 405 ms

Resolved: Servicio de impuestos interno is back up in 8680c18.

repo: CymaSuite/upptime


text:
win32.mak: add more intermediate files to cleanup

also do not create library backups

Auto-merge toggled on

authors: rainers yebblies

repo: D-Programming-Language/dmd


text:
Updated firstore listener slightly

Updated firestore listener to work according to this discord post and added .env for firestore config:
The db structure is changing slightly.

When you're listening to the list of devices, each device object will no longer hold the id for itself. The device id will be found as the firestore id on each document.

This means you listen to the list of devices, get a list of documents, and the device id (that needs to be sent with actions etc) is the id on those firestore docs (accessible through .id or something similar depending on specific API).

Just be aware of this, as it means you can't directly translate the documents into Device objects, but you need to combine the "state" and "type" fields in the docs with the id of the doc itself.

Added.env and updated config
now ready for approval and merge


text:
Accepts multi-line FROM instructions

FROM instructions cannot have line continuations, at least from testing with docker-1.9.1:
$ cat > Dockerfile
FROM \
 scratch
$ docker build -t scratch --rm .
unable to process Dockerfile: unable to parse repository info: repository name component must match "[a-z0-9](?:-*[a-z0-9])*(?:[._][a-z0-9](?:-*[a-z0-9])*)*"

This doesn't seem to be a problem anymore with 17.09.0-ce.
$ cat Dockerfile
FROM \
scratch

$ docker --version
Docker version 17.09.0-ce, build afdb6d4

$ docker build -t scratch --rm .
Sending build context to Docker daemon  1.571MB
Step 1/1 : FROM scratch
 --->
No image was generated. Is your Dockerfile empty?

Great! Thanks for re-testing.

authors: rcjsuen twaugh

repo: DBuildService/dockerfile-parse


text:
Install bootstrap 4 via npm; port over authform scss as proof of concept

I rule and have completed some work on Case Manager that's ready for review!
I was hoping we could incrementally do bootstrap 4 scss and it looks like we can! This PR tries out loading both, and I'm pleased to say that it looks like we can incrementally move stuff over.
This means that we can release a bunch of port-it-over tickets into the pond for hacknights, which is great news.
This pull request makes the following changes:

install bootstrap 4 via npm. This does mean that we're loading it twice :(
port over scss relevant to the devise auth form and load it into webpacker

Doesn't seem to screw up anything -- compare sandbox and local:
sbx

local

It relates to the following issue #s:

Bumps #1854

I'm getting some misbehavior from Webpacker - just my setup?
Browser:
Webpacker::Manifest::MissingEntryError in Dashboards#index

Showing /home/lomky/repos/dcaf_case_management/app/views/layouts/application.html.erb where line #12 raised:
1. You want to set webpacker.yml value of compile to true for your environment
   unless you are using the `webpack -w` or the webpack-dev-server.
2. webpack has not yet re-run to reflect updates.
3. You have misconfigured Webpacker's config/webpacker.yml file.
4. Your webpack configuration is not creating a manifest.
Your manifest contains:
{
}

server log:
[FATAL]
ActionView::Template::Error (Webpacker can't find application.css in /home/lomky/repos/dcaf_case_management/public/packs/manifest.json. Possible causes:
1. You want to set webpacker.yml value of compile to true for your environment
   unless you are using the `webpack -w` or the webpack-dev-server.
2. webpack has not yet re-run to reflect updates.
3. You have misconfigured Webpacker's config/webpacker.yml file.
4. Your webpack configuration is not creating a manifest.
Your manifest contains:
{
}
):
     9:     <%= csp_meta_tag %>
    10:     <%= favicon_link_tag %>
    11:
    12:     <%= stylesheet_pack_tag 'application', 'data-search-pseudo-elements': true, 'data-turbolinks-track': 'reload' %>
    13:     <%= stylesheet_link_tag :application, media: 'all' %>
    14:
    15:     <%= javascript_pack_tag 'application', 'data-search-pseudo-elements': true, 'data-turbolinks-track': 'reload' %>

app/views/layouts/application.html.erb:12

@lomky that kinda looks like your webpack is out of sync. I would suggest giving it a refresh:
rm -rf node_modules/
yarn
rails s

if that's still giving you trouble, try starting bin/webpack-dev-server in a separate terminal tab?

authors: colinxfleming lomky


text:
reimplemented the my-sources page

fixes #110.
note: the pagination UI is ugly (but I can see that the pagination UI hasn't been customized yet). perhaps this is something we can work on in the future.

fixes #110.
note: the pagination UI is ugly (but I can see that the pagination UI hasn't been customized yet). perhaps this is something we can work on in the future.

Please post this as an issue with a lower priority.

authors: fujinaga jiwoojeongjj

repo: DDMAL/CantusDB


text:
Pairing does not complete on any keyboard

Pairing does not complete on external keyboard. Glass shows paired, but keyboard still sits in discovery mode. Tried with Favi, Microsoft Bluetooth Keyboard, Celluon Epic Laser keyboard. Glass XE16 and XE16.11

Well looks like there isn't much hope for HID getting fixed now. This was in the last email that Glass sent out:
"New feature development on the Explorer Edition will stop while we work on the next version of Glass, but you can still call or email us anytime with questions, thoughts or feedback."

Yeah, I haven't heard about the plans for the SDK yet. I know that the Explorer program is over, but I would imagine that they would have the same SDK for the new version of Glass. So there should be no reason for them to kill the SDK. But like we've seen, their focus is not on SDK features needed by developers.
I will try to reach out to a few people and see if I can get any kind of update on their plans for the SDK between now and the launch of the next version of Glass. Most likely they will do another push of SDK features and developer engagement right before the launch.

authors: DDRBoxman Splaktar saishuuheikika

repo: DDRBoxman/Bluetooth-Manager-for-Glass


text:
🛑 vicmap-transport-rest-api is down

In 6b2f9fa, vicmap-transport-rest-api (https://services6.arcgis.com/GB33F62SbDxJjwEL/arcgis/rest/services/Vicmap_Transport/FeatureServer) was down:

HTTP code: 411
Response time: 121 ms

Resolved: vicmap-transport-rest-api is back up in 0b43c0b.

repo: DELWP-DTV/santa


text:
🛑 vicmap-hydro-rest-api is down

In 80d029a, vicmap-hydro-rest-api (https://services6.arcgis.com/GB33F62SbDxJjwEL/arcgis/rest/services/Vicmap_Hydro/FeatureServer) was down:

HTTP code: 411
Response time: 11 ms

Resolved: vicmap-hydro-rest-api is back up in 7a9f073.


text:
Update notification banners to use recommended pattern

The design system now has a recommendation for notification banners – hooray!
In most cases in looks as though we can do a straight swap of what we used previously with this new design. However, there are a few issues:

‘Important’ doesn’t seem like the right heading for the informational banner shown when you can apply again. Looking for suggested alternatives for this heading:

We probably want to use the blue important style, not the green success variation for the ‘Your new application is ready for editing’ message.

Also…

The section incomplete messages we show on the application review page previously used the old banner style. This was changed in production to something more bespoke, so I have updated the prototype to reflect this change.
However… production still inherits and modifies styles from the older banner design, so we need to create a new component so we can remove this dependency. Have gone with app-summary-text. Coloured blue by default, it also has an error variation that aligns with error message style used on forms. Could alternatively use govuk-inset-text component and modify it, but given we always show a heading and an action and need to style these, thought best to create something more bespoke.

I was surprised that this page doesn't use the banner?

Oooh, good point. This message is definitely banner worthy. We should look at that separately as part of dashboard review. Apply again messaging is part of that too. Question is whether to do something in the meantime? Not like there’s a great rush to add the new banners…

Although perhaps @adamsilver's suggestion of a modifier of the Inset text could work?

Updated to do this. Actually turned out to require less code, so most definitely the right approach.


text:
Further content updates to the references section

Context
These are further changes to the new references section, following UR sessions.
Changes proposed in this pull request
Copy update for when the candidate has not yet received a reference (the link text has also been updated):

Before
After

Conditionally change the section advice:

No references received
Two (or more) references received
Section completed

Updated email copy:

Received 3 or more references
Already selected 2 and another comes in

Copy change for 'Choose your referees' guidance:

Before
After

Copy change for guidance:

Before
After

Guidance to review
Refer to the Google Doc attached to the Trello ticket for the requested changes
Link to Trello card
https://trello.com/c/yLQLuKz1
Things to check

[ ] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] API release notes have been updated if necessary
[ ] Required environment variables have been updated added to the Azure KeyVault

spotted a typo here:

give you a full reference – providers need to know if you’re a suitable to become a teacher

remove 'a'
@JR-G @B-Bonner

could we try the task list copy as inset text so it feels a bit more structured? https://design-system.service.gov.uk/components/inset-text/
thoughts @paulrobertlloyd?

re. this setence:
'The Apply service will not accept references sent to providers over email.'
We don't tend to refer to ourselves as 'the Apply service' - could we think of something different? For example:
'References sent to providers by email will not be accepted.'
@B-Bonner @JR-G

upon adding 1 referee, the task list action changes from 'Add your references' to 'Manage your references'. I think it should stay as 'Add your references' - at least until you get 2.

I've added 2 references - normally we should see inset text at the top enabling you to keep adding more references? Is this a bug?
@JR-G @B-Bonner

There seems to be some contracting information in different areas in the service - on the task list copy we say 'when you've received your references, you can select which 2 to submit with your application'. But here (see screenshot) we say 'We’ll cancel any remaining requests when you’ve received 2 references.'

@B-Bonner @JR-G

The system isn't allowing me to request more than 2 references.

How about making these 2 bits of content consistent?

the second reference email received email says this:
Screenshot 2021-07-06 at 12.37.27.png
and the 3rd reference received email says this:
Screenshot 2021-07-06 at 12.38.13.png
but technically, if we're sticking with the current system where you can select 2 after receiving only 2 - the message 'Sign in and select 2 references to submit with your application' should start to appear in emails after the 2nd ref received.

How about making these 2 bits of content consistent?

Perhaps: 'Once you’ve received 2 or more references, you need to select which 2 to include in your application.'
@B-Bonner @JR-G

Yeah. How about using the version on the dashboard for 'Select 2 references'?

the second reference email received email says this:

and the 3rd reference received email says this:

but technically, if we're sticking with the current system where you can select 2 after receiving only 2 - the message 'Sign in and select 2 references to submit with your application' should start to appear in emails after the 2nd ref received.
@B-Bonner @JR-G

Yep. In that case, we only need to change the 'Sign in' call to action in the 2 references received email to read 'Sign in and select 2 references to submit with your application'.

authors: B-Bonner EmmaFrith JR-G

repo: DFE-Digital/apply-for-teacher-training


text:
Highlight the primary navigation items based on controller path

Context
The primary navigation items are split between "details" and "applications"
for continuous applications. All general application form details
conceptually belong to the "details" tab. All application choice specific
pages belong to the "applications" tab.
Create a method that decides which tab should be displayed as active
based on the current requests controller path.
For legacy application form, only one tab exists, so the decision
method returns false always. if continuous applications, check the
current controller path against a list of matches.
For guidance, this page can be reached from either tab. if the
controller is guidance we check the referer matches choices.
Changes proposed in this pull request
Add choices_controller? method to CandidateInterface::CandidateInterfaceController. This is used to determine whether the controller processed by the current request should be considered as happening within the "Your applciations" tab in the Candidate Interface.
This method is used to make the Primary Navigation item appear active. If it's not active, then the "Your details" tab is shown as active.
Guidance to review
Visit pages and subpages and confirm that the corresponding primary navigation appears as active.
Link to Trello cardTrello Ticket
Trello Ticket
Things to check

[x] If the code removes any existing feature flags, a data migration has also been added to delete the entry from the database
[x] This code does not rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] If this code adds a column to the DB, decide whether it needs to be in analytics yml file or analytics blocklist
[x] API release notes have been updated if necessary
[x] If it adds a significant user-facing change, is it documented in the CHANGELOG?
[x] Required environment variables have been updated added to the Azure KeyVault

Screenshots

Before
After

Guidance from applications tab

Guidance from details tab

Guidance from direct visit (no referer)

A different approach would be to define this in the routes instead of a regex match. Something like
get '/choices', to: 'continuous_applications_choices#index', as: :continuous_applications_choices, defaults: { current_section: :your_application }

and
scope '/continuous-applications', defaults: { current_section: :your_application } do

And then check for params[:current_section]. Not sure if it's better/easier to maintain. 🤷

A different approach would be to define this in the routes instead of a regex match. Something like
get '/choices', to: 'continuous_applications_choices#index', as: :continuous_applications_choices, defaults: { current_section: :your_application }

and
scope '/continuous-applications', defaults: { current_section: :your_application } do

And then check for params[:current_section]. Not sure if it's better/easier to maintain. 🤷

Interesting approach, I never considered this. I'll take some time to look at it and come back. Thanks for the suggestion!

@vassyz I think I prefer it the way it's implemented here. If it's not necessary to pass default http params around the place I think it's best not to.

Yeah, I wasn't too convinced either. But I'm also not a huge fan of matching URLs like that as it's not very obvious how future paths will match.
Also the array defined as a constant APPLICATION_CHOICE_CONTROLLER_PATHS is not used in its initial form but modified straight away by a join.
So technically the value you need is /continuous_applications_choices|continuous_applications\/course_choices|continuous_applications\/application_choices|decisions/ but that is a lot less readable.

authors: inulty-dfe vassyz


text:
Journey config for GetATeacherRelocationPayment

Adds a data migration to create the GetATeacherRelocationPayment journey
configuration on produciton.

[ ] Run this data migration on production

Have opened this ticket to make sure the data migration is run. Will get it ran once I'm back


text:
adds local authority commercial resources page

Context
AB#199506 - AB#203890
Change proposed in this pull request
Adds model, view and controller for this page.
Guidance to review
View model is currently unused. Controller currently just returns the view without any local authority data. Due to this EstablishmentHeading also is missing from the view. Backlink is also missing. I propose if there are no objections that these are all picked up as tech debt when the rest of the local authority journey is built next sprint. I will add a ticket for this after review.
Checklist

[x] Work items have been linked (use AB#)
[x] Your code builds clean without any errors or warnings
[x] You have run all unit/integration tests and they pass
[x] Your branch has been rebased onto main
[x] You have tested by running locally

@J05h-L assuming tests will be on a separate PR?

@J05h-L assuming tests will be on a separate PR?

Yes will be adding tests separately


text:
检查清单

[X] 我已完整阅读胡桃工具箱文档，并认为我的问题没有在文档中得到解答
[X] 我使用的操作系统是受支持的版本
[X] 我确认没有其他人已经提出了相同或类似的问题
[X] 我会在下方的表单中附上充足的信息以帮助开发人员确定问题

Windows 版本
22621.963
Snap Hutao 版本
1.3.3.0
设备 ID
BE025FAA5819DD8F0E7D3DF23AB7BD53
问题分类
祈愿记录
发生了什么？
奔行世间并不含有角色和武器的up，而界面里有一个“up平均抽数”的数据，这会误导使用者

你期望发生的行为？
可以将“up平均抽数”修改成“四星平均抽数”或直接删去
相关的崩溃日志
No response

该字段是为了与其他两个视图对齐存在的，将来会考虑如何调整

可以考虑替换为五星角色或五星武器的平均抽数

authors: Lightczx Masterain98 Tu-Chenjia


text:
检查清单

[ ] 我已完整阅读胡桃工具箱文档，并认为我的问题没有在文档中得到解答
[X] 我使用的操作系统是受支持的版本
[X] 我确认没有其他人已经提出了相同或类似的问题
[X] 我会在下方的表单中附上充足的信息以帮助开发人员确定问题

Windows 版本
19042.1706
Snap Hutao 版本
1.3.12.0
设备 ID
EC5EAFB3B8273D466587EBF3F942BFDB
问题分类
其它
发生了什么？
打开胡桃一直显示这个元数据校验文件下载失败，除了便签以外都无法正常使用，

你期望发生的行为？
No response
相关的崩溃日志
No response

[ ] 我已完整阅读胡桃工具箱文档，并认为我的问题没有在文档中得到解答

打上这✅时，希望你是真的做过了，而不是像读用户协议一样随手一点

检查清单

[ ]  我已完整阅读胡桃工具箱文档，并认为我的问题没有在文档中得到解答
[x]  我使用的操作系统是受支持的版本
[x]  我确认没有其他人已经提出了相同或类似的问题
[x]  我会在下方的表单中附上充足的信息以帮助开发人员确定问题

Windows 版本
19042.1706
Snap Hutao 版本
1.3.12.0
设备 ID
EC5EAFB3B8273D466587EBF3F942BFDB
问题分类
其它
发生了什么？
打开胡桃一直显示这个元数据校验文件下载失败，除了便签以外都无法正常使用，

你期望发生的行为？
No response
相关的崩溃日志
No response

我也出现了这个错误


text:
Out of range ASCII

When an ASCII flag is active and the output is out of the ASCII range (e.g. negative) a nasty ruby error is thrown.  Ideally this will change but the question is how.  We could create a custom Brain-Flak error or we could implement a wraparound (i.e. mod 256 the output before conversion).

What if we extended ASCII mode to unicode characters? That still brings up the point of what to do with negative characters and characters above 65535. It seems like the most sensible thing would be to just take modulo 65536.
I suppose the other option would be to just silently ignore characters outside of ASCII.

I think extending ASCII mode to unicode would be a good idea since Brain-Flak can already handle unicode strings as input and I agree that modulo at the end would be probably most sensible as well.

I believe that we should drop support for unicode as input and have ASCII only for both input and output.

I like the idea of ASCII only being the default mode (error on non-ascii input), but having a flag to enable unicode support. My only remaining question is do we want to use ascii which is 7-bit (128 characters) or do we want to use one of the many 8 bit extensions? The only reason I would consider the 8 bit extensions is because I like 256 more than 128.

authors: 1000000000 DJMcMayhem Wheatwizard

repo: DJMcMayhem/Brain-Flak


text:
CSS refinements #2

Can something be done to make the actions in the write plan banner look more like tabs or buttons? Perhaps introduce a line between each? Or does this bar and the guidance/comments bar even have to stretch full length?

The same applies to the sign in / create account block. Is there a need for the tabs to stretch out beyond the button area? I think we need to reinstate the borders around blocks like this otherwise they look odd  / unfinished.

A couple of other minor things I noticed @bhavi - some spacing on the create plan page

And guidance / comments boxes could do with some visual boundaries. The + icons also seem overly large (can we make them smaller, narrower, less bold?), and they should be offset to the right on the guidance tabs as in the section headings.

Also, i wonder if the create plan button should move on my dashboard so it's more prominent and doesn't get lost when users have multiple plans? What do you think @stephaniesimms

I think the spacing could be improved on the edit / write plan page

I don't think we need the tick box on the section banner. Saying (1/2) is sufficient to me to denote progress. I feel this icon just clutters it. If we do retain this, it should only show as ticked when all the question in the section are answered, not just 1
The question text needs to come before the example answer and box
More spacing or perhaps a line is needed between the individual questions. At the moment the gap between the two questions is tiny compared with the gaps between the answer box and save button. The "answered less than x minutes ago" also seems disproportionately large so it makes it hard visually to break down the page.
I'm also not sure about the example answer label but have no brainwaves on how to improve yet. Perhaps it needs to be a bit bigger, or if the 'Answered x minutes ago' notice was changed to a narrow strip like this it would seem more in balance?

I've added a screengrab of this area in DMPonline as a comparison. I think the sizing and layouts are a bit easier to scan at a glance

We are likely to reinstate a grey background to keep the look and feel as close to DMPonline currently as possible. Trying to visualize this, it seems all the content within each page is much to close to the edge to allow a line to be drawn. Can each page shift in a small margin and a border be displayed please?

Can the logos in the footer be transparent white ones rather than coloured blocks please? Here's a white version of the DCC one.

One more I spotted. There's a misalignment of buttons on the template > phase edit page

authors: sjDCC stephaniesimms

repo: DMPRoadmap/roadmap


text:
Initial commit for new error codes for GET_DIGESTS

Signed-off-by: Steven Bellock sbellock@nvidia.com

Would you please don't use Merge feature - Merge branch 'main' into error_convert ?

Would you please don't use Merge feature - Merge branch 'main' into error_convert ?
Other looks good. Please rebase and merge.

I'll just open a new pull request.

repo: DMTF/libspdm


text:
feat(list): add folding actions

Adds toggle_fold, open_fold and close_fold actions.
Example usage:
mappings = {
  list = {
    ['h'] = actions.close_fold,
    ['l'] = actions.open_fold,
  },
},

Hey, thanks for the PR!
A separate fold action is indeed needed, right now it's combined with the jump action which is confusing.
I'm not so sure about two separate actions for opening and closing folds tho. Wouldn't it be easier to just toggle them with one hotkey?

I included the option to toggle. Myself, I like two separate key-maps. Note that this doesn’t add any bindings, it’s open to the user.

Thanks!

authors: DNLHC rafi


text:
Add in an awards, ranking, and contests feature

We can also use the statistics collected from the users of the website to gamify the website. We can include rankings and awards. For example a reward for most models make, highest accuracy model made on this website etc. We can also include contests and a ranking board.

Closed as duplicate to #26

repo: DSGT-DLP/Deep-Learning-Playground


text:
🛑 Fakultas Hukum is down

In 82d44ab, Fakultas Hukum (https://lawfaculty.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Hukum is back up in 7c141e8 after 10 minutes.


text:
🛑 Fakultas Kedokteran Gigi is down

In 71f2393, Fakultas Kedokteran Gigi (https://dent.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Kedokteran Gigi is back up in ccb0158 after 3 minutes.


text:
🛑 Fakultas Hukum is down

In 290b47f, Fakultas Hukum (https://lawfaculty.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Hukum is back up in 8df5d21 after 16 minutes.


text:
🛑 Fakultas Hukum is down

In ae94dc0, Fakultas Hukum (https://lawfaculty.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Hukum is back up in 0d155b4.


text:
🛑 Fakultas Hukum is down

In 75fc7cb, Fakultas Hukum (https://lawfaculty.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Hukum is back up in dee3dc3 after 12 minutes.


text:
🛑 SSO Unhas is down

In 350ef09, SSO Unhas (https://sso.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SSO Unhas is back up in 8bffdfb after 10 minutes.


text:
🛑 Unhas Main is down

In 6a2ccf0, Unhas Main (https://unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Unhas Main is back up in e9d4d08 after 14 minutes.


text:
3001번 포트 서버 제거 작업

개발용으로 배치해 두었던 3001번 포트로 통신하던 트래픽을 제거하고, 80 포트로 모든 트래픽을 combine합니다.

@half-but @RISMME
아직 업데이트되지 않은 모바일 어플리케이션에서 3001번 포트 API를 사용 중입니다. 업데이트를 강요하는 비즈니스 로직도 존재하지 않으므로, 3001번 트래픽을 80번으로 포워딩, 또는 리다이렉션 하는 방향으로 진행합니다.

repo: DSM-DMS/DMS-Backend


text:
Negative RADSH

@chporter and @kthorp ,
I'm getting floating point errors with the forage model related to the fact that RADSH is negative due to ADDF being negative in CANABS() in ETPHOT.for. When I uncomment the check for ADDF < 0.0 (see below), the problem goes away. The issue seems to be limited to situations with very low LAI.
Is there a reason why the checks for negative numbers are commented out in CANABS() in ETPHOT.for? Is there any problem with allowing ADDF, ADDFSL, etc to be set to zero when the original calculation is negative? See here:
https://github.com/DSSAT/dssat-csm-os/blob/a20a2b5a0be76ad85f3a5f76434dcacc52a319cb/SPAM/ETPHOT.for#L1793-L1800
https://github.com/DSSAT/dssat-csm-os/blob/a20a2b5a0be76ad85f3a5f76434dcacc52a319cb/SPAM/ETPHOT.for#L1814-L1827
https://github.com/DSSAT/dssat-csm-os/blob/a20a2b5a0be76ad85f3a5f76434dcacc52a319cb/SPAM/ETPHOT.for#L1862-L1869
https://github.com/DSSAT/dssat-csm-os/blob/a20a2b5a0be76ad85f3a5f76434dcacc52a319cb/SPAM/ETPHOT.for#L1883-L1890

Hi Dr. Alderman!
Yes, indeed. We have this problem right now. We had some problems with Canola experiments from Dr. White are having the same issue.
We are about the make a pull request to fix those issues. We need to check with a final testing if did not broke anything else.
Thank you so much,
Fabio Oliveira

This issue was solved by merge #168
https://github.com/DSSAT/dssat-csm-os/tree/d0c9faa89c7dc3b276197e3ea7cdca64d41bdc5b

repo: DSSAT/dssat-csm-os


text:
Missing data in frontend, but logs looks good

Looking at the sensor in the frontend and it's missing data.
attribution: Stockholms Lokaltrafik
unit_of_measurement: min
next_departure_minutes: 1
next_departure_expected: 11:55:28
departures: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
deviations:
last_refresh: 2019-04-17 11:54:04
refresh_enabled: on
friendly_name: Vanadisvägen
icon: mdi:train-car
looking in the debug log the sensor seems the contain data but that is not seen in the frontend..
2019-04-17 11:54:04 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.139664284034664] Sending {'id': 2, 'type': 'event', 'event': <Event state_changed[L]: entity_id=sensor.vanadisvagen, old_state=<state sensor.vanadisvagen=3; attribution=Stockholms Lokaltrafik, unit_of_measurement=min, next_departure_minutes=3, next_departure_expected=11:47:41, departures=[{'line': '2', 'direction': 2, 'departure': '3 min', 'destination': 'Norrtull', 'time': 3, 'expected': '2019-04-17T11:47:41', 'type': 'Buses', 'icon': 'mdi:bus'}, {'line': '2', 'direction': 1, 'departure': '5 min', 'destination': 'Sofia', 'time': 5, 'expected': '2019-04-17T11:49:22', 'type': 'Buses', 'icon': 'mdi:bus'}, {'line': '2', 'direction': 2, 'departure': '12 min', 'destination': 'Norrtull', 'time': 12, 'expected': '2019-04-17T11:56:40', 'type': 'Buses', 'icon': 'mdi:bus'}, {'line': '2', 'direction': 1, 'departure': '11:58', 'destination': 'Sofia', 'time': 15, 'expected': '2019-04-17T11:58:22', 'type': 'Buses', 'icon': 'mdi:bus'}, {'line': '2', 'direction': 2, 'departure': '22 min', 'destination': 'Norrtull', 'time': 22, 'expected': '2019-04-17T12:06:27', 'type': 'Buses', 'icon': 'mdi:bus'}, {'line': '2', 'direction': 1, 'departure': '23 min', 'destination': 'Sofia', 'time': 23, 'expected': '2019-04-17T12:07:22', 'type': 'Buses', 'icon': 'mdi:bus'}, {'line': '2', 'direction': 2, 'departure': '29 min', 'destination': 'Norrtull', 'time': 29, 'expected': '2019-04-17T12:13:30', 'type': 'Buses', 'icon': 'mdi:bus'}], deviations=[], last_refresh=2019-04-17 11:43:47, refresh_enabled=on, friendly_name=Vanadisvägen, icon=mdi:train-car @ 2019-04-17T11:43:47.420489+02:00>, new_state=<state sensor.vanadisvagen=1; attribution=Stockholms Lokaltrafik, unit_of_measurement=min, next_departure_minutes=1, next_departure_expected=11:55:28, departures=[{'line': '2', 'direction': 2, 'departure': '1 min', 'destination': 'Norrtull', 'time': 1, 'expected': '2019-04-17T11:55:28', 'type': 'Buses', 'icon': 'mdi:bus'}, {'line': '2', 'direction': 1, 'departure': '11:58', 'destination': 'Sofia', 'time': 4, 'expected': '2019-04-17T11:58:22', 'type': 'Buses', 'icon': 'mdi:bus'}, {'line': '2', 'direction': 2, 'departure': '12 min', 'destination': 'Norrtull', 'time': 12, 'expected': '2019-04-17T12:06:42', 'type': 'Buses', 'icon': 'mdi:bus'}, {'line': '2', 'direction': 1, 'departure': '13 min', 'destination': 'Sofia', 'time': 13, 'expected': '2019-04-17T12:07:22', 'type': 'Buses', 'icon': 'mdi:bus'}, {'line': '2', 'direction': 2, 'departure': '18 min', 'destination': 'Norrtull', 'time': 18, 'expected': '2019-04-17T12:12:52', 'type': 'Buses', 'icon': 'mdi:bus'}, {'line': '2', 'direction': 1, 'departure': '21 min', 'destination': 'Sofia', 'time': 21, 'expected': '2019-04-17T12:15:22', 'type': 'Buses', 'icon': 'mdi:bus'}, {'line': '2', 'direction': 2, 'departure': '27 min', 'destination': 'Norrtull', 'time': 27, 'expected': '2019-04-17T12:21:12', 'type': 'Buses', 'icon': 'mdi:bus'}], deviations=[], last_refresh=2019-04-17 11:54:04, refresh_enabled=on, friendly_name=Vanadisvägen, icon=mdi:train-car @ 2019-04-17T11:54:04.965171+02:00>>}
I'm using version 1.0.3 of sensor.py
HA version 0.91.4
My sensor config
- platform: sl
  ri4key: !secret sl_ri4key
 si2key: !secret sl_si2key
 siteid: 1074
 friendly_name: Vanadisvägen
 lines: 2
#  direction: 1
#  sensor: binary_sensor.sl_update

What is the missing data? I'm not sure I can follow? =) Sorry for not getting it but will be glad to help once I know where to look.. =)

I dev-state the sensor looks like this, departures listed as departures: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

Ah, when you look at in the dev-state it will look like this. It is a limitation in the GUI for the dev-state view (it cannot see into and render complex objects). Use the custom card sl-card.js (or make a similar one yourself) to display the actual data. This is very much like many of the weather sensors that are out there. The property that is default is the next_departure_minutes.

Ah, why didn't I test with the card. Works perfectly now! Thank you for your help and great work!

No worries! Let me know if any problems arises!

authors: DSorlov TheRealLouCipher

repo: DSorlov/ha-sensor-sl


text:
New URLs for DSpace interfaces (sword and OAI) causing issues to external tools/harvesters

Describe the bug
The pre-DSpace 7 swordv2 and OAI URLs were

[repository url]/swordv2
[repository url]/oai

The DSpace 7 swordv2 and OAI URLs are

[repository url]/server/swordv2
[repository url]/server/oai

For every upgrade projects from a pre-DSpace 7 version to DSpace 7, this URL change will break the connection between external tools / harvesters using these sword and/or OAI urls and the repository.
To Reproduce
Try to reach the pre-DSpace 7 OAI or sword URLs

[repository url]/swordv2
[repository url]/oai

They are not accessible, but can only be reached on the new /server/ URLs.
Expected behavior
To be decided what is the optimal behaviour/fix here.
I can think of :

Setting the /swordv2 and /oai URLs back to the pre-DSpace 7 ones
Implementing a redirect in the DSpace code to push /server/swordv2 to /swordv2, and /server/oai to /oai
Defining a recommendation for the affected repositories to deal with this redirect at server level (but keeping in mind that applying a redirect rule based on a HTTP 301 or 302 might not be correctly interpreted by all external tools)

Related work
N/A

This is a side-effect of splitting the UI from the backend in DSpace 7.  All backend interfaces are now subpaths of dspace.server.url, while the UI is obviously at dspace.ui.url.  So, the description above isn't accurate for all installations, as there's no guarantee that dspace.server.url and dspace.ui.url share the same hostname, etc.
Additionally, based on your setup of DSpace 7, the backend may or may not be deployed on a /server subpath. For instance, it's completely possible to deploy the frontend at dspace.ui.url = https://dspace.myu.edu, while the backend is at dspace.server.url=https://dspace-api.myu.edu... which would mean that the OAI interface would be available at https://dspace-api.myu.edu/oai/
In DSpace 6, as the UI & backend were all in one webapp, these interfaces were always subpaths of the UI.
The only way to achieve the same result out of the box in DSpace 7 would be to implement some sort of "passthrough" or  redirect in our DSpace 7 UI, such that the URL [dspace.ui.url]/oai/ -> [dspace.server.url]/oai/  (and similar).  The challenge though is that any of these interfaces can be easily disabled (e.g. oai.enabled=false) or have their path customized (e.g. oai.path = pmh would make the OAI interface appear at /pmh).  So, any passthrough or redirect would need to check the backend configuration to see which interfaces are enabled & what paths they use.

If the UI is proxied through Apache HTTPD, NGINX etc. then there is another approach:  let the proxy pick these off and route them as required.
Here's an off-the-wall suggestion to support the UI's mediation:  the backend could treat these services as "well-known URIs" (RFC 8615).  Then in the short term the UI can just ask the backend for the proper translation, and in the long term we can encourage service consumers to consult [dspace.server.url]/.well-known/pmh etc.  I recognize that, to do this right, we would need to do a lot of non-code legwork, to work with the various standard maintainers to define well-known services and register them with IANA.  But if we do this, I think it would provide a good example for other products and tame some of the complexity of integrating DSpace with other products.

authors: Atmire-github mwoodiupui tdonohue

repo: DSpace/DSpace


text:
S3 incorrect subfolders on Windows

Describe the bug
When S3 is enabled and dspace server runs on widows, folders and subfolders are not created accordingly.
Wrong slash is used ( \ instead of /). In following screenshot, first is folder in which all other items should have been placed

but since wrong slash is used, those said items just have long names
To Reproduce
Steps to reproduce the behavior:

Enable Amazon S3 bitstore with relative paths enabled and / or subfolder specified
Run dspace on windows
Upload any file to dspace through front end.
Chceck folder structure in S3

Expected behavior
Folders should have been created, not just long names of items in S3.
In screenshot first is folder, other are just files.
Related work
I suspect, that default file delimiter is used, which is different in Linux and Windows and this seems to explain the behavior fully.

As noted, this sounds like a Windows specific bug, likely cause of the file delimiter.  Needs a volunteer to investigate a proper solution to support S3 storage on Windows.

authors: MajoBerger tdonohue


text:
Enabling translation of collection's/community's names and description

Is your feature request related to a problem? Please describe.
Collection's and community's names are static in the context of language and users are not able to change their context based on selected language.
Describe the solution you'd like
We want to add a feature that provides a tool to add alternative translation of collection's and community's description. That tool should provide an opportunity to add translation of any language that could be enabled in DSpace. On collection/community view we are planning to add a language switcher which will toggle selected language inputs. That will enable translation on these parts in an easy way from an interface perspective.
Additional context
We consider this feature really important for repositories in a multilingual context. For non-English-centred repositories, it is crucial to have a complete translation in native language, but also it is important to stay as much as possible accessible for English speakers.
Contribution
We, as PCG Academia, want to develop that feature as our contribution to the DSpace 7 project. We are planning to contribute that feature to the 7.6 release.

@michdyk : I'd be in favor of this feature & I suspect others would be as well, but could you inform us more about your design?
Several questions come to mind:

There's already a language switcher in DSpace 7 (see the globe in the header), would you plan to simply show the Community/Collection name/description based on that language switcher?
Since Communties/Collections use "dc.*" metadata, are you planning on just allowing people to enter the Title (dc.title) and Description (dc.description) with a language tag?  This would be similar to how it can be done for Items (on the Edit Item page it's possible to add fields in different languages)

Overall, I think this would be a great feature & I'd welcome you to contribute it.  But, you may want to share more of your thoughts/design if you want to obtain feedback on it before you begin development of the feature.  This also makes it more likely to get more immediate acceptance into the DSpace codebase.

I agree that the display of the container's name and description should be made sensitive to the existing language switch.
The Community and Collection edit components could be extended with language code drop-lists.  But the current UI design is not set up for multiple values of a single field as the Item edit component is.  It might be well to borrow the "Add another value" button approach from the submission interface.
There are other fields on those pages which might also benefit from translation.  (But I would talk with a lawyer before extending this to any license or copyright fields!)

@tdonohue @mwoodiupui
Thanks for your questions. I answer as precisely as it is possible for now.

I confirm that we are planning to show the community/collection name/description based on a language chosen from a language list (from the globe)
I confirm that we are planning to use current metadata fields from community/collection edit view and add there language tags.
We are planning to add this feature, not as a dropdown list, but as an additional switcher (similar to the globe switcher but independent from that one). Our idea is to edit/add a new language by choosing any language from a collection/community view edit switcher, while not changing the language of the whole system (from a globe switcher). If it is ok, I will be able to send the project of our design in a few days to show what exactly we are planning.

Here is the project of our proposition:

Our assumptions:

Any language could be set as the default language
Names of sections (Name, introductory text etc.) are based on a general repository language (selected from the globe).
Any other DSpace language could be entered in the context of the default language. The default language inactive form will be displayed simultaneously with an active new language form.
@tdonohue @mwoodiupui Please, let me know if you have any thoughts. Thanks!

@michdyk : While I'm not against your team beginning this development, I want to make you aware of a recent decision by our DSpace Steering Group.  Simply put, the next release (7.6) will only include new features which existed in 6.x.  This is because Steering is transitioning 7.x to a "feature complete" status, which means 7.7 and later will not allow any new features, and will only allow for bug fixes.
That said, 8.0 planning/development will begin as soon as 7.6 is released, and this feature therefore could be considered for the 8.0 release.  I don't think it will qualify for 7.6 though, as DSpace 6.x did not include any feature of this sort.  That said, I do still believe this is a useful feature for 8.0.
Your overall design above looks reasonable to me.  However, I think that the language tabs on the "Edit Collection/Community" page must be configurable in some manner.  Currently there are >20 languages under the globe icon in the header, and it would not be possible to list all 20 of those languages as tabs on that page.  Therefore, a site likely will need to configure which  (subset of) languages they want to support for Communities/Collections.

@tdonohue: So we are going to develop this feature for 8.0 release.
Our goal is to have configurable languages from the config file. In our practice, no repositories use all >20 languages (most of them use 2-3 languages). In most cases, it will look like the one presented above.
However, I am sure there could be some seldom cases that will use more languages. In that case, we can present these languages using the wrapping method for tabs:

authors: michdyk mwoodiupui tdonohue

repo: DSpace/dspace-angular


text:
Value of dropdown changes automatically on item submission page.

Describe the bug
On item submission page, the value of first dropdown automatically resets to the first value present in the dropdown on pressing "enter" in any of the textbox.
To Reproduce
Steps to reproduce the behavior:

Go to Item submission page.
Select book from “type” dropdown. (Select any value other than first value in dropdown)
Click on text box with label as "identifier" and then press enter.
After pressing enter check the value of “type” dropdown. It changes to the first value in dropdown.

Expected behavior
On item submission page. The value of the dropdown should not change on pressing enter in any of the text box.
Related work
NA
The following demo site was used :
https://demo7.dspace.org/home
Attached screenshot of the dspace demo site on which the above mentioned issue was identified.
dspace-item-submission-bug.pdf

any update for fixes on this bug

This is waiting on a volunteer, but has been flagged as high priority. No updates other than that, but I hope we'll have a fix in 7.6

authors: aditya-sawant-dev tdonohue


text:
USW029: Ajouter PizzaPanier Amélioration stockage

Critères d'acceptations:
-Dans le localStorage, uniquement le code et la quantité de pizzas apparaissent.

Réduire le nombre d'appel au service pour récupérer la liste des pizzas
Un système de cache doit être installé

utiliser le service pizza en tant que service (injectable), généralisé l'utilisation du stockage mémoire

repo: DTAFormation/pizzeria-app


text:
Add new message types

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[ ] Internal code
[x] Library interface (affecting end-user code)
[ ] Documentation
[ ] Other: _____

Closes Issue: NaN
Description
These are new types of messages.
References:

discord/discord-api-docs#5724
discord/discord-api-docs#5815

We might need to split this PR into one for the premium and role purchase types vs the stage related ones as the stage stuff shouldn't have been merged into the docs and was rolled back. It'll get there eventually.


text:
Embed-Related Changes

can use more temporal accessors
edit message with embed only
send embeds with a file
permissions check for editing a message
clear embeds from embedbuilder

What about #224 , does this replace the other PR or will 224 be updated?
If this includes all changes from 224 please close it.

This has been merged with #260 into the new Pull-Request #265

authors: MinnDevelopment jagrosh


text:
Optionally move completed to another note

I've been thinking of a workflow where the completed todos are moved to another note and timestamped. So when I move completed todos they are moved to a note instead of a subheading in the current note.
Additionally prepending or appending the current date to the todo would enable interesting tracking features in the list of completed todos

I thought it is convenient to split the completed & todos. By moving the completed ones to another note,

I thought it is convenient to split the completed & todos. By moving the completed ones to another note,

I thought it is convenient to split the completed and uncompleted todos in one single note. Could you tell me which note you prefer the completed todos being moved to, a new note or an existed one(or both are ok)?
Timestamped todo is a good idea, I'm going to add this feature.

I thought it is convenient to split the completed and uncompleted todos in one single note. Could you tell me which note you prefer the completed todos being moved to, a new note or an existed one(or both are ok)?
Timestamped todo is a good idea, I'm going to add this feature.

For the workflow I was thinking of all completed todos - from any page - would have moved to a single configurable page.
I'm personally changing my workflow again. this time away from markdown todos. So, for me. this feature request has become moot.
thanks for the attention

For the workflow I was thinking of all completed todos - from any page - would have moved to a single configurable page.
I'm personally changing my workflow again. this time away from markdown todos. So, for me. this feature request has become moot.
thanks for the attention

authors: DahaWong brosell

repo: DahaWong/obsidian-completed-area


text:
Added line to .gitignore to discard DS_Store files

DS_Store files

Can't change the margin of the discord button. Can you help with that? @Dan5762


text:
Feature/styles

Milestone 3
Finished styling the element and adedded props styling future

[x] Deleted commented line
[x] Fix readme
[x] Fix EsLint file
[ ] Modified BG Color Attribute: The issue with this one is that since this attribute has a '-' JS detect it as it's been substracted so I would have to keep the quotes, now if I use the property just 'background' without the '-color' then it would set all other properties of background to none and it would look ugly


text:
Play audio while using Konfetti

When Play Audio in Media player and execute Konfetti ,The Audio stop.

Please give me more details to work with. What media plauyer is being used, is this happening in your own app or with a mediaplayer from a different app? etc. Without information there's isn't really anything that I can do for you. Thank you

authors: DanielMartinus ManarMustapha

repo: DanielMartinus/Konfetti

license: isc


text:
Error on date parsing

Hi Daniela,
I just forked this repo to get a try on your examples. Using example 4 I got this error:
[info] Running UserTopHashtags
[INFO] [12/13/2015 21:42:49.363] [run-main-0] [ActorSystem(twitter4s)] GET https://api.twitter.com/1.1/statuses/user_timeline.json?contributor_details=false&count=200&exclude_replies=false&include_rts=true&screen_name=odersky&trim_user=false
[INFO] [12/13/2015 21:42:52.860] [twitter4s-akka.actor.default-dispatcher-2] [ActorSystem(twitter4s)] GET https://api.twitter.com/1.1/statuses/user_timeline.json?contributor_details=false&count=200&exclude_replies=false&include_rts=true&screen_name=odersky&trim_user=false (200 OK) | 3724ms
[error] (run-main-0) spray.httpx.PipelineException: No usable value for created_at
[error] Invalid date 'Mon Nov 23 11:54:21 +0000 2015'
spray.httpx.PipelineException: No usable value for created_at
Invalid date 'Mon Nov 23 11:54:21 +0000 2015'
	at spray.httpx.ResponseTransformation$$anonfun$unmarshal$1.apply(ResponseTransformation.scala:36)
	at spray.httpx.ResponseTransformation$$anonfun$unmarshal$1.apply(ResponseTransformation.scala:31)
	at spray.httpx.TransformerPipelineSupport$WithTransformation.$tilde$greater(TransformerPipelineSupport.scala:33)
	at com.danielasfregola.twitter4s.http.clients.OAuthClient$$anonfun$unmarshalResponse$1.apply(OAuthClient.scala:30)
	at com.danielasfregola.twitter4s.http.clients.OAuthClient$$anonfun$unmarshalResponse$1.apply(OAuthClient.scala:28)
	at scala.util.Success$$anonfun$map$1.apply(Try.scala:237)
	at scala.util.Try$.apply(Try.scala:192)
	at scala.util.Success.map(Try.scala:237)
	at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)
	at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)
	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)
	at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.processBatch$1(BatchingExecutor.scala:67)
	at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:82)
	at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59)
	at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59)
	at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)
	at akka.dispatch.BatchingExecutor$Batch.run(BatchingExecutor.scala:58)
	at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:41)
	at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)
	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
Caused by: org.json4s.package$MappingException: No usable value for created_at
Invalid date 'Mon Nov 23 11:54:21 +0000 2015'
	at org.json4s.reflect.package$.fail(package.scala:96)
	at org.json4s.Extraction$ClassInstanceBuilder.org$json4s$Extraction$ClassInstanceBuilder$$buildCtorArg(Extraction.scala:462)
	at org.json4s.Extraction$ClassInstanceBuilder$$anonfun$14.apply(Extraction.scala:482)
	at org.json4s.Extraction$ClassInstanceBuilder$$anonfun$14.apply(Extraction.scala:482)
	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
	at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
	at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48)
	at scala.collection.TraversableLike$class.map(TraversableLike.scala:245)
	at scala.collection.AbstractTraversable.map(Traversable.scala:104)
	at org.json4s.Extraction$ClassInstanceBuilder.org$json4s$Extraction$ClassInstanceBuilder$$instantiate(Extraction.scala:470)
	at org.json4s.Extraction$ClassInstanceBuilder$$anonfun$result$6.apply(Extraction.scala:515)
	at org.json4s.Extraction$ClassInstanceBuilder$$anonfun$result$6.apply(Extraction.scala:512)
	at org.json4s.Extraction$.org$json4s$Extraction$$customOrElse(Extraction.scala:524)
	at org.json4s.Extraction$ClassInstanceBuilder.result(Extraction.scala:512)
	at org.json4s.Extraction$.extract(Extraction.scala:351)
	at org.json4s.Extraction$CollectionBuilder$$anonfun$6.apply(Extraction.scala:360)
	at org.json4s.Extraction$CollectionBuilder$$anonfun$6.apply(Extraction.scala:360)
	at scala.collection.immutable.List.map(List.scala:273)
	at org.json4s.Extraction$CollectionBuilder.mkCollection(Extraction.scala:360)
	at org.json4s.Extraction$CollectionBuilder.result(Extraction.scala:384)
	at org.json4s.Extraction$.extract(Extraction.scala:339)
	at org.json4s.Extraction$.extract(Extraction.scala:42)
	at org.json4s.ExtractableJsonAstNode.extract(ExtractableJsonAstNode.scala:21)
	at org.json4s.native.Serialization$.read(Serialization.scala:71)
	at com.danielasfregola.twitter4s.http.unmarshalling.JsonSupport$$anonfun$json4sUnmarshaller$1.applyOrElse(JsonSupport.scala:25)
	at com.danielasfregola.twitter4s.http.unmarshalling.JsonSupport$$anonfun$json4sUnmarshaller$1.applyOrElse(JsonSupport.scala:23)
	at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:36)
	at spray.httpx.unmarshalling.Unmarshaller$$anon$1$$anonfun$unmarshal$1.apply(Unmarshaller.scala:29)
	at spray.httpx.unmarshalling.SimpleUnmarshaller.protect(SimpleUnmarshaller.scala:40)
	at spray.httpx.unmarshalling.Unmarshaller$$anon$1.unmarshal(Unmarshaller.scala:29)
	at spray.httpx.unmarshalling.SimpleUnmarshaller.apply(SimpleUnmarshaller.scala:29)
	at spray.httpx.unmarshalling.SimpleUnmarshaller.apply(SimpleUnmarshaller.scala:23)
	at spray.httpx.unmarshalling.UnmarshallerLifting$$anon$3.apply(UnmarshallerLifting.scala:35)
	at spray.httpx.unmarshalling.UnmarshallerLifting$$anon$3.apply(UnmarshallerLifting.scala:34)
	at spray.httpx.unmarshalling.UnmarshallerLifting$$anon$2.apply(UnmarshallerLifting.scala:30)
	at spray.httpx.unmarshalling.UnmarshallerLifting$$anon$2.apply(UnmarshallerLifting.scala:29)
	at spray.httpx.unmarshalling.package$PimpedHttpResponse.as(package.scala:51)
	at spray.httpx.ResponseTransformation$$anonfun$unmarshal$1.apply(ResponseTransformation.scala:33)
	at spray.httpx.ResponseTransformation$$anonfun$unmarshal$1.apply(ResponseTransformation.scala:31)
	at spray.httpx.TransformerPipelineSupport$WithTransformation.$tilde$greater(TransformerPipelineSupport.scala:33)
	at com.danielasfregola.twitter4s.http.clients.OAuthClient$$anonfun$unmarshalResponse$1.apply(OAuthClient.scala:30)
	at com.danielasfregola.twitter4s.http.clients.OAuthClient$$anonfun$unmarshalResponse$1.apply(OAuthClient.scala:28)
	at scala.util.Success$$anonfun$map$1.apply(Try.scala:237)
	at scala.util.Try$.apply(Try.scala:192)
	at scala.util.Success.map(Try.scala:237)
	at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)
	at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)
	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)
	at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.processBatch$1(BatchingExecutor.scala:67)
	at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:82)
	at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59)
	at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59)
	at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)
	at akka.dispatch.BatchingExecutor$Batch.run(BatchingExecutor.scala:58)
	at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:41)
	at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)
	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
Caused by: org.json4s.package$MappingException: Invalid date 'Mon Nov 23 11:54:21 +0000 2015'
	at org.json4s.Extraction$.formatDate(Extraction.scala:617)
	at org.json4s.Extraction$.convert(Extraction.scala:594)
	at org.json4s.Extraction$.extract(Extraction.scala:350)
	at org.json4s.Extraction$ClassInstanceBuilder.org$json4s$Extraction$ClassInstanceBuilder$$buildCtorArg(Extraction.scala:450)
	at org.json4s.Extraction$ClassInstanceBuilder$$anonfun$14.apply(Extraction.scala:482)
	at org.json4s.Extraction$ClassInstanceBuilder$$anonfun$14.apply(Extraction.scala:482)
	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
	at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
	at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48)
	at scala.collection.TraversableLike$class.map(TraversableLike.scala:245)
	at scala.collection.AbstractTraversable.map(Traversable.scala:104)
	at org.json4s.Extraction$ClassInstanceBuilder.org$json4s$Extraction$ClassInstanceBuilder$$instantiate(Extraction.scala:470)
	at org.json4s.Extraction$ClassInstanceBuilder$$anonfun$result$6.apply(Extraction.scala:515)
	at org.json4s.Extraction$ClassInstanceBuilder$$anonfun$result$6.apply(Extraction.scala:512)
	at org.json4s.Extraction$.org$json4s$Extraction$$customOrElse(Extraction.scala:524)
	at org.json4s.Extraction$ClassInstanceBuilder.result(Extraction.scala:512)
	at org.json4s.Extraction$.extract(Extraction.scala:351)
	at org.json4s.Extraction$CollectionBuilder$$anonfun$6.apply(Extraction.scala:360)
	at org.json4s.Extraction$CollectionBuilder$$anonfun$6.apply(Extraction.scala:360)
	at scala.collection.immutable.List.map(List.scala:273)
	at org.json4s.Extraction$CollectionBuilder.mkCollection(Extraction.scala:360)
	at org.json4s.Extraction$CollectionBuilder.result(Extraction.scala:384)
	at org.json4s.Extraction$.extract(Extraction.scala:339)
	at org.json4s.Extraction$.extract(Extraction.scala:42)
	at org.json4s.ExtractableJsonAstNode.extract(ExtractableJsonAstNode.scala:21)
	at org.json4s.native.Serialization$.read(Serialization.scala:71)
	at com.danielasfregola.twitter4s.http.unmarshalling.JsonSupport$$anonfun$json4sUnmarshaller$1.applyOrElse(JsonSupport.scala:25)
	at com.danielasfregola.twitter4s.http.unmarshalling.JsonSupport$$anonfun$json4sUnmarshaller$1.applyOrElse(JsonSupport.scala:23)
	at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:36)
	at spray.httpx.unmarshalling.Unmarshaller$$anon$1$$anonfun$unmarshal$1.apply(Unmarshaller.scala:29)
	at spray.httpx.unmarshalling.SimpleUnmarshaller.protect(SimpleUnmarshaller.scala:40)
	at spray.httpx.unmarshalling.Unmarshaller$$anon$1.unmarshal(Unmarshaller.scala:29)
	at spray.httpx.unmarshalling.SimpleUnmarshaller.apply(SimpleUnmarshaller.scala:29)
	at spray.httpx.unmarshalling.SimpleUnmarshaller.apply(SimpleUnmarshaller.scala:23)
	at spray.httpx.unmarshalling.UnmarshallerLifting$$anon$3.apply(UnmarshallerLifting.scala:35)
	at spray.httpx.unmarshalling.UnmarshallerLifting$$anon$3.apply(UnmarshallerLifting.scala:34)
	at spray.httpx.unmarshalling.UnmarshallerLifting$$anon$2.apply(UnmarshallerLifting.scala:30)
	at spray.httpx.unmarshalling.UnmarshallerLifting$$anon$2.apply(UnmarshallerLifting.scala:29)
	at spray.httpx.unmarshalling.package$PimpedHttpResponse.as(package.scala:51)
	at spray.httpx.ResponseTransformation$$anonfun$unmarshal$1.apply(ResponseTransformation.scala:33)
	at spray.httpx.ResponseTransformation$$anonfun$unmarshal$1.apply(ResponseTransformation.scala:31)
	at spray.httpx.TransformerPipelineSupport$WithTransformation.$tilde$greater(TransformerPipelineSupport.scala:33)
	at com.danielasfregola.twitter4s.http.clients.OAuthClient$$anonfun$unmarshalResponse$1.apply(OAuthClient.scala:30)
	at com.danielasfregola.twitter4s.http.clients.OAuthClient$$anonfun$unmarshalResponse$1.apply(OAuthClient.scala:28)
	at scala.util.Success$$anonfun$map$1.apply(Try.scala:237)
	at scala.util.Try$.apply(Try.scala:192)
	at scala.util.Success.map(Try.scala:237)
	at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)
	at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)
	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)
	at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.processBatch$1(BatchingExecutor.scala:67)
	at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:82)
	at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59)
	at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59)
	at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)
	at akka.dispatch.BatchingExecutor$Batch.run(BatchingExecutor.scala:58)
	at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:41)
	at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)
	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
[trace] Stack trace suppressed: run last compile:run for the full output.

I'm not using twitter4s from the source, but from maven.

Of course, I added an Await.result

Hi Giampaolo, thank you for raising this issue!
Can I please know your JDK version? Also, can I have your pom?
I'll try to replicate the issue and fix it asap :smile:

For sure!
pom.xml
<?xml version='1.0' encoding='UTF-8'?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
    <modelVersion>4.0.0</modelVersion>
    <groupId>default</groupId>
    <artifactId>twitter4s-demo_2.11</artifactId>
    <packaging>jar</packaging>
    <description>twitter4s-demo</description>
    <version>0.1</version>
    <name>twitter4s-demo</name>
    <organization>
        <name>default</name>
    </organization>
    <dependencies>
        <dependency>
            <groupId>org.scala-lang</groupId>
            <artifactId>scala-library</artifactId>
            <version>2.11.7</version>
        </dependency>
        <dependency>
            <groupId>com.danielasfregola</groupId>
            <artifactId>twitter4s_2.11</artifactId>
            <version>0.1</version>
        </dependency>
    </dependencies>
    <repositories>
        <repository>
            <id>Mavencentral</id>
            <name>Maven central</name>
            <url>http://repo1.maven.org/maven2/</url>
            <layout>default</layout>
        </repository>
    </repositories>

java -version
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)

Hi Giampaolo, this should now have been fixed in version 0.2.

authors: DanielaSfregola giampaolotrapasso


text:
Interpreting results: Inspecting NRPS A-domain specificities.

Hi,
Thanks for this amazing tool. I think it's pretty useful in searching hypothesized non-ribosomal peptides.
I have some confusion in the result interpretation. In the output, it has a column for 'putative linearized NRP sequence' which corresponds to monomeric linearized version of query peptide derived from rBAN. Since the genome predicted NRP may not be an exact match to this linearized query, it might be useful to include a column for what was used as a genome predicted NRP for alignment.  Below is an example output for your reference:
Chromosome ID	Coordinates of cluster	Strand	Substance	BGC ID	Putative linearized NRP sequence	Biosynthesis profile	Sln score	Mln score	Sdn score	Mdn score	Sdt score	Mdt score	Slt score	Mlt score	Relative score	Binary
tig00000001	[1456645:1572935]	-	NPA022110	BGC_cand_3_1	orn--ser--ser--orn--nan	Type A	1	0.94	1	0.98	1	0.9	1	0.97	0.967	1
In the above example, antiSMASH/NRPSPredictor2 predicted monomers in captioned BGC (BGC_cand_3_1) were (ctg1_1495: X, ctg1_1499: X, ctg1_1500: ser, ctg1_1504: ser, ctg1_1507: X ).  The week predictions for ctg1_1495, ctg1_1499 and ctg1_1507 were (asp, asn, glu, gln, aad), (hydrophobic-aliphatic) and (dhpg, hpg) respectively. I see that based on two consecutive Ser in a peptide of 5 monomers it is a decent match.
BioCAT PSSM output for the BGC_cand_3_1 is below:
Module name	tyr	ala	dhpg	val	glu	orn	gly	hpg	asp	phe	gln	ser	ile	thr	bht	cys	leu	asn	pro
nrpspksdomains_ctg1_1507_AMP-binding.1	0.537259615	0.58808933	0.485008818	0.434500649	0.394242068	0.415716857	0.548672566	0.442642643	0.311602871	0.619939577	0.397076023	0.37653127	0.368231047	0.386792453	0.6039953	0.337223587	0.513598988	0.296454768	0.543891958
nrpspksdomains_ctg1_1504_AMP-binding.1	0.037860577	0.035359801	0.032333921	0.031128405	0.055816686	0.047990402	0.041087231	0.03963964	0.042464115	0.04592145	0.161988304	0.754996776	0.029482551	0.041778976	0.034077556	0.028255528	0.044908286	0.034841076	0.042971148
nrpspksdomains_ctg1_1500_AMP-binding.1	0.358173077	0.360421836	0.248677249	0.18612192	0.66039953	0.49430114	0.478508217	0.282282282	0.324760766	0.324471299	0.838011696	0.994197292	0.163056558	0.276280323	0.337250294	0.274570025	0.322580645	0.240831296	0.310006139
nrpspksdomains_ctg1_1499_AMP-binding.1	0.022235577	0.022952854	0.037624927	0.022697795	0.022914219	0.024595081	0.024020228	0.025825826	0.020933014	0.023564955	0.022807018	0.026434558	0.022864019	0.024932615	0.02173913	0.022727273	0.024035421	0.023227384	0.023327195
nrpspksdomains_ctg1_1495_AMP-binding.1	0.010817308	0.00248139	0.016460905	0.004539559	0.017626322	0.00239952	0.022123894	0.009009009	0.005382775	0.012084592	0.016374269	0.012250161	0.019253911	0.005390836	0.019388954	0.018427518	0.006957622	0.01405868	0.005524862
In the PSSM too, ctg1_1504 and ctg1_1500 has a high score for Ser, consistent with linearized peptide and antiSMASH.  Both antiSMAH and biocat score suggest Dhpg for ctg1_1499, however, one might expect Orn based on the query. All A-domains show very low scores for Orn.
In this example, the high relative score (0.967) is likely driven by the positions of the two serine and total number of monomers in the peptide under-appreciating that only 2 out of 5 monomers match? Any other way that you would suggest to inspect results?
Thanks,
Rahim.

Hello, Rahim!
Thanks for your feedback!
Formally, yes, in your case the final score is so high due to only two serine monomers because such good matches are not expected to be observed randomly in general. 1st and 4th rows in the PSSM do not contain any significant outliers, so all substrates in these positions are considered by the model as roughly equally possible and do not influence the final score dramatically.
In general, the BioCAT final score was designed to be more sensitive than specific, thus, false positive hits can be observed. An intuitive definition of the final score is the probability that a given BGC is responsible for synthesizing a given NRP rather than not. In your case, due to two strong matches and two weak mismatches, this probability is definitely above zero.
We should mention that A-domain specificity values predicted for ‘orn’ can be controversial in some cases due to this monomer was found almost only in Streptomyces produced NRPs, so, the profile HMM and the negative background for this monomer have some bias caused by the taxon-specific overfitting. Thus, if your organism of interest does not belong to Streptomyces, ‘orn’ specificity predictions might be not consistent.
If you want, you can additionally inspect the results in the following ways:

If the cluster responsible for the synthesis of your substance has been described in the literature, you can compare it with the antiSMASH predictions obtained on your fasta-file.
If the monomer assigned as ‘nan’ in your structure is a modified alpha-amino acid, you can simplify the monomer identification by manually removing its modifications from the SMILES string. Being identified, this monomer can significantly increase the specificity of the alignment.

Thank you for using our program,
Danil
P.S. Thanks for your helpful suggestion, we will consider adding genome-predicted monomeric sequences to the result file in addition to linearized rBAN predictions

authors: DanilKrivonos rajwanir

repo: DanilKrivonos/BioCAT


text:
Logic of reordering code?

@mlipok Please explain why having these listed in alphabetical order is important. I can understand with the error messages. How does changing the order within a Switch structure improve the code? Couldn't this actually make the code run slowing in some cases where commonly called commands are moved down in the comparison list?
Originally posted  in https://github.com/Danp2/WebDriver/pull/183#pullrequestreview-875003426

I was not aware, I was not checking performance issues.
I focused on organizing the code in a way that facilitates its analysis and management.
Quick test:
#include "..\wd_core.au3"
#include "z:\!!!_SVN_AU3\UDF_Forum\mLipok\ErrorLog.au3"

_Log_SetOutputFunction(ConsoleWrite)

_Example()

Func _Example()
	_Log_Durations(@ScriptLineNumber & ' START' )

	_WD_Window('', 'FAKE PRE TEST')
	_Log_Durations(@ScriptLineNumber & ' after FAKE PRE TEST' )
	ConsoleWrite(@CRLF)

	_WD_Window('', 'close')
	_Log_Durations(@ScriptLineNumber & ' after CLOSE 1' )
	ConsoleWrite(@CRLF)

	_WD_Window('', 'close')
	_Log_Durations(@ScriptLineNumber & ' after CLOSE 2' )
	ConsoleWrite(@CRLF)

	_WD_Window('', 'window')
	_Log_Durations(@ScriptLineNumber & ' after WINDOW' )
	ConsoleWrite(@CRLF)

	_WD_Window('', 'close')
	_Log_Durations(@ScriptLineNumber & ' after CLOSE 4' )
	ConsoleWrite(@CRLF)

EndFunc   ;==>_Example

Here are my logs
! [ 3 / 0 ] : 09-11-13.050 : Durations = 0.0002435 sec : from: { 9 START } to: { 12 after FAKE PRE TEST }
! [ 10 / 0 ] : 09-11-15.106 : Durations = 2.05515 sec : from: { 12 after FAKE PRE TEST } to: { 16 after CLOSE 1 }
! [ 10 / 0 ] : 09-11-17.131 : Durations = 2.0249518 sec : from: { 16 after CLOSE 1 } to: { 20 after CLOSE 2 }
! [ 6 / 0 ] : 09-11-19.184 : Durations = 2.0530938 sec : from: { 20 after CLOSE 2 } to: { 24 after WINDOW }
! [ 10 / 0 ] : 09-11-21.226 : Durations = 2.0414093 sec : from: { 24 after WINDOW } to: { 28 after CLOSE 4 }
btw.
will do some more test.

Testing how fast Case 'close' is reached
--> 09-16-13.504 : Durations = 0.0001123 sec : from: { 516 Func _WD_Window: before "Switch" } to: { 519 Func _WD_Window: just after: "Case close" }
Testing how fast Case 'window' is reached
--> 09-16-11.446 : Durations = 0.0001736 sec : from: { 516 Func _WD_Window: before "Switch" } to: { 566 Func _WD_Window: just after: "Case window" }
The diferences is about 0.0001736 - 0.0001123 = 0.0000613 sec == 0,0613 msec
btw.
my CPU is:   i7-3770S

Thanks for sharing your test results. Thankfully the difference is negligible,

I nominate this ISSUE for closure ;)


text:
b3log/siyuan:latest

IMAGE SYNC

docker.io/b3log/siyuan:latest

repo: DaoCloud/public-image-mirror


text:
bash -c "$(curl -sSLf https://xy.ggbond.org/xy/docker_pull.sh)" -s emby/embyserver:latest

白名单级别
只需要这一个镜像 (如 docker.io/library/busybox)
项目源码地址 或 组织地址
bash -c "$(curl -sSLf https://xy.ggbond.org/xy/docker_pull.sh)"
官网 或 文档 或 项目源码 中哪提及对应的镜像的地址 (需要证明这个镜像和源码有实际关联)
bash -c "$(curl -sSLf https://xy.ggbond.org/xy/docker_pull.sh)" -s emby/embyserver:latest
镜像仓库地址
bash -c "$(curl -sSLf https://xy.ggbond.org/xy/docker_pull.sh)" -s emby/embyserver:latest
补充说明
No response

docker.io/emby/embyserver 已经有了

authors: CinderellaGT wzshiming


text:
FAILED SYNC IMAGE docker.io/martialbe/one-api:

SYNC docker.io/martialbe/one-api: latest

镜像不存在