Equivalent of value.isSameTypeWith(NoSuchInstance()) in pysnmp.hlapi.asyncore?

Hello,
I am using the following in the standard library, and I have moved towards trying the asyncore library for speed gains as I am querying 2-3k hosts.  I can't seem to find a suitable way to duplicate the following, where I want to write out to a text file any host that didn't have the OID(s) set by returning that string object.  I am open to a different export method or approach, but given the target list size, I need to quickly be able to determine which ones DID NOT work, so I can review those manually.
from pysnmp.hlapi import *  (the non async library allows me to use this)
for oid, value in varBinds:
    if value.isSameTypeWith(NoSuchInstance()) or value.isSameTypeWith(NoSuchObject()):
        print('object {oid} does not exist at {ipAddress}'.format(oid=oid, ipAddress=ipAddress))
                return str(ipAddress + " - OID was missing during validation")
    else:
        print('Check was good for {oid}'.format(oid=oid))

Here is my code that I am using for reference on the asyncore setup, also since this is my first stab at an async script, should I open the text file for writing in main() and return the result on each call or where does that best fit from an efficiency standpoint?
import csv
import time
from datetime import datetime

from pysnmp.hlapi.asyncore import *

# Wait for responses or errors
# noinspection PyUnusedLocal,PyUnusedLocal
def cbFun(snmpEngine, sendRequestHandle, errorIndication,
          errorStatus, errorIndex, varBinds, cbCtx):
    transportTarget = cbCtx
    print('%s' % transportTarget)

    if errorIndication:
        print(errorIndication)
        return True
    elif errorStatus:
        print('%s at %s' % (errorStatus.prettyPrint(),
                            errorIndex and varBinds[int(errorIndex) - 1][0] or '?'))
        return True
    else:
        for varBind in varBinds:
            print(' = '.join([x.prettyPrint() for x in varBind]))

if __name__ == '__main__':

    start = datetime.now()
    targets = []

    with open('C:\\temp\\SERSysLog\\test.csv') as routerFile:
        routerDict = csv.DictReader(routerFile)
        for row in routerDict:
            # List of targets in the following format:
            # ( ( authData, transportTarget, varNames ), ... )
            targets.append(
                # 1-st target (SNMPv2 over IPv4/UDP)
                (CommunityData('COMMSTRINGHERE'),
                 UdpTransportTarget((row['IP'], 161)),
                 (ObjectType(ObjectIdentity('<IP_ADDRESS>.4.1.65<IP_ADDRESS>.<IP_ADDRESS>.3')),
                  ObjectType(ObjectIdentity('<IP_ADDRESS>.4.1.65<IP_ADDRESS>.<IP_ADDRESS>.45')))),
            )
    print(f'We loaded in {len(targets)} targets - Standby')

    # Create SNMP Engine instance
    snmpEngine = SnmpEngine()

    # Submit GET requests
    for authData, transportTarget, varNames in targets:
        getCmd(snmpEngine, authData, transportTarget, ContextData(), *varNames,
               **dict(cbFun=cbFun, cbCtx=transportTarget))
    snmpEngine.transportDispatcher.runDispatcher()

    end = datetime.now()
    time_taken = end - start
    print('Time Elapsed in (%H:%M:%S):', time_taken)

If I understand you correctly, your only issue is how to get hold of the NoSuchInstance error indicator, is that correct?
The NoSuchObject or NoSuchInstance classes and instances are available from pysnmp.proto.rfc1905, however you can also just import them from pysnmp.hlapi as you do with the sync version.
Once you have these sentinels in place, you can probably perform the same treatment inside the for loop over varBinds in your async code as you've don in the sync version.
Does it make sense? Let me know if I misread your comment.

Yes you are understanding perfectly, and you gave me a good clue, I was able to import those items from that RFC file, so that takes care of one aspect.
I am now am embarrassingly having troubles figuring out how to return something in the async function to a text file, mainly in the sense I'm not sure where to catch the returns period, as the async stuff is very new to me.  Do you have any examples?  Outside of returning the results in the varBinds, I need to catch the errorIndications, as I think those are triggered from dead hosts, or in my case, bad commstrings, so I need to have a backup commstring to try on those.  I will likely just send those to a text file on their own and just run the list again with a better commstring to keep it simple for version 1.0.
I really wanted to use Asyncio since the documentation in general outside of just this library is pretty plentiful, but I guess there is some bug with Windows 10, Asyncio and Python 3.7, where it never opens the sockets/connects.

how to return something in the async function to a text file, mainly in the sense I'm not sure where to catch the returns period

I am not sure I understand your confusion here... Can you just append stuff to a text file from the callback function?
If you need to keep some state (e.g. data from previous responses), the usual way is to utilize the cbCtx reference. If can be anything that you pass to your initial query, then this very same object will always be available in the callback function. For example, it can be a dict with your own keys referring to something you need to pass in and/or out of the callback function.

Ah ok, so doing something like this is acceptable?  I wasn't sure if it was this simple or if I was going to cause blocking by doing it this way, as I assume I am opening the file to append as many times as I have hosts.   Also, if I hit the errorIndication, is there a way to easily switch the commstring out for the additional retry attempts?   Thank you for your help with this, it is very fast, 2,000 hosts in 14 seconds fast.
def cbFun(snmpEngine, sendRequestHandle, errorIndication, errorStatus,
      errorIndex, varBinds, cbCtx):

transportTarget = cbCtx

# Open a text file for results
with open('C:\\temp\\test_validation.txt', 'a') as f:

# Let them know what host we are starting on
print(f'Starting on {transportTarget}')

if errorIndication:
  print(errorIndication)
  return True
elif errorStatus:
  print('%s at %s' %
        (errorStatus.prettyPrint(),
         errorIndex and varBinds[int(errorIndex) - 1][0] or '?'))
  return True
else:
  for oid, value in varBinds:
    if value.isSameTypeWith(NoSuchInstance()) or value.isSameTypeWith(NoSuchObject()):
      results = (
          f'{transportTarget} - OID was was not located for this host\n'
      )
      # Write the results out
      f.write(results)
    else:
      print('Check was good for {oid}'.format(oid=oid))


Event handling causing odd display issues

I have this
pub fn read_enumerated(message: &str, choices: &[&str], default_idx: usize) -> Result<String> {
    let mut ctx = Context::new();
    let mut idx: usize = default_idx;
    let buff = choices[idx].to_owned();
    let hints: HashMap<char, usize> = choices.iter()
        .enumerate()
        .map(|(idx, choice)| (choice.chars().next().unwrap(), idx))
        .into_iter()
        .collect();
    ctx.read_line_with_init_buffer(format!("{} (TAB or arrows to select {:?}): ",
                                            message,
                                            choices),
                                    &mut |Event { editor, kind }| {
            if let EventKind::AfterKey(key) = kind {
                match key {
                    // hitting enter should still work as expected
                    Key::Char('\n') => return,
                    // change to the next choice, wrap around to the 1st choice
                    Key::Left | Key::Down | Key::Char('\t') => {
                        idx = if idx == 0 { choices.len() - 1 } else { idx - 1 }
                    }
                    // change to the previous choice, wrap around to the last choice
                    Key::Right | Key::Up => {
                        idx = if idx + 1 == choices.len() { 0 } else { idx + 1 }
                    }
                    // change to the choice matching the initial char
                    Key::Char(key) => {
                        if hints.contains_key(&key) {
                            idx = hints[&key];
                        }
                    }
                    // anything other than tab, arrows or hints should do nothing
                    _ => {},
                }
                let new_choice: Vec<char> = choices[idx].chars().collect();
                editor.move_cursor_to_end_of_line().unwrap();
                editor.delete_all_before_cursor().unwrap();
                editor.insert_chars_after_cursor(&new_choice).unwrap();
            }
        },
                                    buff)?;
    Ok(choices[idx].to_owned())
}

When I use it with 0.4.1, though, instead of re-drawing the line in place, is like some extraneous new lines are being introduced. I am trying to track this down, if I can figure it out, I will submit a PR. I thought you might have an idea or at least be able to reproduce using my code.

Some more context: a version of this code was working in 0.4.0, with the fork I originally created.
I suspect this is something to do with the buffer re-factor. When I comment out the lines at the end of my handler so I am not directly manipulating the buffer, then the problem still happens when I hit any other character, so either the wildcard branch or the else in the Key::Char branch.

I don't think this is a bug in liner. I think I have some stray new lines in the code calling this function, in the prompt argument.


File format and extension doesn't match while exporting

I am getting this error
"file format and extension doesn't match, File could be corrupt or unsafe. Unless you trust its source...."
While it use this in end. " })->download('xls'); "
But when i use "})->download('csv');" it open without error in excel but in csv format.
I want to export file in xls format.
please let me know where i have mistaken ?
Thanking you in advance.

I have same problem, I export chinese data.
I have success sample when first use Laravel-Excel.
But fail on second.
Maybe is it controller file format problem?

I found solution,  because my extends controller have one sapce before "<?php".

Thank you Lance70176. I will check in my project that it is working or not.


feat(bootstrap, material): allow removing the required asterisk symbol.

fix #738
What kind of change does this PR introduce? feature

This change is

Codecov Report

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

@@           Coverage Diff           @@
##           master     #741   +/-   ##
=======================================
  Coverage   94.24%   94.24%
=======================================
  Files          17       17
  Lines         782      782
  Branches      228      228
=======================================
  Hits          737      737
  Misses         45       45

Continue to review full report at Codecov.

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


Official Docker / docker-compose?

This tool looks interesting, do you have an official Dockerfile / docker-compose example somewhere?

Thanks for your attention.So far, still in to do list.


Create user personal page on Admin

Create user personal management page on Admin.
Mockup:

Tasks:

[x] Create controller that returns user personal page
[x] Create thymeleaf template for page
[x] Create neccessary services and repositories
[x] Add tests

Functionality not available yet:
• Achievements pictures

• Created Events table
• Actions button in Custom Habits table

Nothing to test


Getting the following error after I login to my Azure B2C account in IOS

This issue is for:
- [X] bug report -> please search issues before submitting
- [ ] feature request
- [X] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

I used the sample provided from git clone https://github.com/Azure-Samples/ms-identity-ciam-dotnet-tutorial.git
I followed the instructions and setup everything as requested.
I am able to login successfully but the SignInUserAndAcquireAccessToken method throws an exception on the last line:
return this.AuthResult.AccessToken; because AuthResult is null. See log message below for issue with Entitlements.plist
I am using automatic provisioning to may apple developer account. I have KeyChain checked in the Entitlements.plist file. The contents of my Entitlements.plist file is what came with the sample which has:
`

keychain-access-groups

$(AppIdentifierPrefix)com.microsoft.adalcache

`
I added the override of the OpenUrl method in my AppDelegate.cs file, which does not get called. Not sure if that matters? I also don't understand why the instructions say to ensure this is used but yet it is not in the sample code.
Give the error below I have done extensive research and I don't see what I have done wrong.
I have also looked at this url given in the error message which appears to be an older version of what you have in the sample above:
https://aka.ms/msal-net-enable-keychain-groups
Any assistance would be greatly appreciated.
Any log messages given by the failure

NOTE: I replaced my actual APP ID Prefix with MYAPPREFIX below. The actual error has the correct APP ID Prefix
ErrorCode: missing_entitlements
Microsoft.Identity.Client.MsalClientException: The application does not have keychain access groups enabled in the Entitlements.plist. As a result, there was a failure to save to the iOS keychain. The keychain access group 'MYAPPREFIX.com.microsoft.msalcache' is not enabled in the Entitlements.plist. Also, use the WithIosKeychainSecurityGroup api to set the keychain access group. See https://aka.ms/msal-net-enable-keychain-groups for more details on enabling keychain access groups and entitlements.
Expected/desired behavior

To get a valid AuthToken and have the info displayed on the page as specified in the tutorial.

OS and Version?

Windows 11, Visual Studio 17.10.0, .net 7.0, mac OS Ventura13.6.3

I figured it out. Your sample has an issue. In your entitlements.plist you have com.microsoft.adalcache but it should be com.microsoft.msalcache.
The code that configures it is
private void InitializePublicClientApplicationBuilder()
{
    this.PublicClientApplicationBuilder = PublicClientApplicationBuilder.Create(AzureAdConfig.ClientId)
        .WithExperimentalFeatures() // this is for upcoming logger
        .WithAuthority(string.Format(AzureAdConfig.Authority, AzureAdConfig.TenantId))
        .WithLogging(new IdentityLogger(EventLogLevel.Warning), enablePiiLogging: false)    // This is the currently recommended way to log MSAL message. For more info refer to https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/wiki/logging. Set Identity Logging level to Warning which is a middle ground
        .WithIosKeychainSecurityGroup("com.microsoft.msalcache");
}

This was fixed https://github.com/Azure-Samples/ms-identity-ciam-dotnet-tutorial/issues/66


Can't pass REACT_APP_xxxxx env values while running in Android emulator

REACT_APP_SERVER_URL=http://<IP_ADDRESS> /3003 won’t be passed to the metro bundler
Also i tried to edit .env and .env.dev - this won’t helped
The only one way for now is to hard-code <IP_ADDRESS> in config/config.js


Renaming/moving files

Issue
Have you thought about giving aider the ability to rename and move files to different parts of the subdirectory?
When asking aider to suggest improvements to my repo, it suggested that I move files into subdirectories. Because these files are long, I needed to move them manually and then change imports/references across the code base. Its a minor feature but I think it would be useful!
P.S. Thank you Paul for developing this. Aider has become my primary modality for code editing now!
Version and model info
No response

Thanks for trying aider and filing this issue. This looks like a duplicate of #528, so I'm going to close it so discussion can happen there. Please let me know if you think it's actually a distinct issue.


Link to features

Add a comment on each feature file with a link to the actual feature page, so it's possible to find them searching by text in the source code files. Related to https://github.com/ben-eb/caniuse-lite/issues/47

The idea of this package is to be very compact in your node_modules.
I will need a very good and popular use case for increasing file size.

Ok, I understand. The idea here, being a comment, it would not be included in final bundles when minified, and would provide some context when using it.

We have put airway pre-build files to the repo. There is no sources.
Also, file names copy the Can I Use URL. At least during Autoprefixer development I never had an problem of converting URL to the file name.
I think files, which you asked about in other issue really missed for some reason.


Add migration for tpch tests restructure from #1094

Manually checked this out from the benchmark db on S3; after migration is applied:

IIUC, we still lack a migration for the changes in #1044, which should arguably be applied before the migration for #1094. Is that correct?


Mystory

This pull request is invalid and it will be closed. In the git-flow explained in the slides, a developer needs to pull request their development branch (mystory) against the release main branch, not against another development branch (mystory). This is just an unfortunate guess that github makes for the developer. Never trust the machine!


D3D11: Doesn't work on Windows 7 x64 (Mingw)

Hello everyone,
It seems D3D11 renderer doesn't work on Windows 7 right now, and fallback to D3D9.
The strange thing is, if explicitly choose another one, D3D11 show up as supported (bgfx_get_supported_renderers).
And the weird thing is (on Windows 7 at least), D3D12 show up all the time.
Choosing D3D12 (as expected) doesn't work (fallback to D3D9).
(info: Windows x64, i686-w64-mingw32 GCC 5.3.0, commit f9cc6d7.)
P.S. The version I used before (downloaded at 2016.02.09) have no problem with this.
Also all examples run D3D9 by default (instead D3D11 as before) and forcing to D3D11 doesn't help.

Availability of backend renderers don't have anything to do with their ability to initialize on any particular OS/hardware combination. Technically it's possible to make Linux build with D3D12 and it obviously won't work, but it will try to initialize if requested.
My guess is that your GPU is not capable to use at least D3D11 Feature Level 10.0. Do debug build and look bgfx's debug output.

Sorry for little delay.
Here is log (cut it for short):
../../../src/bgfx.cpp (2433): BGFX Init...
../../../src/bgfx.cpp (1233): BGFX Creating rendering thread.
../../../src/bgfx_p.h (2113): BGFX render thread start
../../../src/bgfx.cpp (1242): BGFX Running in multi-threaded mode
../../../src/renderer_d3d11.cpp (869): BGFX Adapter #0
../../../src/renderer_d3d11.cpp (873): BGFX 	Description: NVIDIA GeForce GTX 580
../../../src/renderer_d3d11.cpp (874): BGFX 	VendorId: 0x000010de, DeviceId: 0x00001080, SubSysId: XXXXXXXX, Revision: XXXXXXXX
../../../src/renderer_d3d11.cpp (880): BGFX 	Memory:<PHONE_NUMBER> (video),<PHONE_NUMBER>32 (system),<PHONE_NUMBER>3791498 (shared)
../../../src/renderer_d3d11.cpp (983): BGFX Unable to create Direct3D11 device.
../../../src/renderer_d3d9.cpp (430): BGFX Adapter #0
../../../src/renderer_d3d9.cpp (431): BGFX 	Driver: nvd3dum.dll
../../../src/renderer_d3d9.cpp (432): BGFX 	Description: NVIDIA GeForce GTX 580
../../../src/renderer_d3d9.cpp (433): BGFX 	DeviceName: \.\DISPLAY1
../../../src/renderer_d3d9.cpp (434): BGFX 	VendorId: 0x000010de, DeviceId: 0x00001080, SubSysId: XXXXXXXX, Revision: XXXXXXXX
../../../src/renderer_d3d9.cpp (562): BGFX Max vertex shader 3.0 instr. slots: 4096
../../../src/renderer_d3d9.cpp (563): BGFX Max vertex shader constants: 256
../../../src/renderer_d3d9.cpp (564): BGFX Max fragment shader 2.0 instr. slots: 512
../../../src/renderer_d3d9.cpp (565): BGFX Max fragment shader 3.0 instr. slots: 4096
../../../src/renderer_d3d9.cpp (566): BGFX Num simultaneous render targets: 4
../../../src/renderer_d3d9.cpp (567): BGFX Max vertex index: 16777215
../../../src/renderer_d3d9.cpp (591): BGFX Extended formats:
../../../src/renderer_d3d9.cpp (597): BGFX 	 0: ATI1 supported
../../../src/renderer_d3d9.cpp (597): BGFX 	 1: ATI2 supported
../../../src/renderer_d3d9.cpp (597): BGFX 	 2: DF16
../../../src/renderer_d3d9.cpp (597): BGFX 	 3: DF24
../../../src/renderer_d3d9.cpp (597): BGFX 	 4: INST
../../../src/renderer_d3d9.cpp (597): BGFX 	 5: INTZ supported
../../../src/renderer_d3d9.cpp (597): BGFX 	 6: NULL supported
../../../src/renderer_d3d9.cpp (597): BGFX 	 7: RESZ
../../../src/renderer_d3d9.cpp (597): BGFX 	 8: RAWZ
../../../src/renderer_d3d9.cpp (597): BGFX 	 9: ATOC supported
../../../src/bgfx.cpp (371): BGFX Graphics debugger is not present.
../../../src/renderer_d3d9.cpp (765): BGFX GPU thread priority: 0
../../../src/renderer_d3d9.cpp (769): BGFX GPU max frame latency: 3
../../../src/bgfx.cpp (1094): BGFX Sort key masks:
../../../src/bgfx.cpp (1095): BGFX 	  View     7f80000000000000
../../../src/bgfx.cpp (1096): BGFX 	  Draw bit<PHONE_NUMBER>000000
../../../src/bgfx.cpp (1097): BGFX 	  Seq      003ff80000000000
../../../src/bgfx.cpp (1098): BGFX 	D Trans<PHONE_NUMBER>000000
../../../src/bgfx.cpp (1099): BGFX 	D Program  000001ff00000000
../../../src/bgfx.cpp (1100): BGFX 	C Program  000007fc00000000
../../../src/bgfx.cpp (1101): BGFX 	D Depth    00000000ffffffff
../../../src/bgfx.cpp (1103): BGFX Supported capabilities (renderer Direct3D 9 Ex, vendor 0x10de, device 0x1080):
../../../src/bgfx.cpp (1112): BGFX 	BGFX_CAPS_TEXTURE_COMPARE_LEQUAL
../../../src/bgfx.cpp (1112): BGFX 	BGFX_CAPS_TEXTURE_COMPARE_ALL
../../../src/bgfx.cpp (1112): BGFX 	BGFX_CAPS_TEXTURE_3D
../../../src/bgfx.cpp (1112): BGFX 	BGFX_CAPS_VERTEX_ATTRIB_HALF
../../../src/bgfx.cpp (1112): BGFX 	BGFX_CAPS_VERTEX_ATTRIB_UINT10
../../../src/bgfx.cpp (1112): BGFX 	BGFX_CAPS_INSTANCING
../../../src/bgfx.cpp (1112): BGFX 	BGFX_CAPS_RENDERER_MULTITHREADED
../../../src/bgfx.cpp (1112): BGFX 	BGFX_CAPS_FRAGMENT_DEPTH
../../../src/bgfx.cpp (1112): BGFX 	BGFX_CAPS_SWAP_CHAIN
../../../src/bgfx.cpp (1112): BGFX 	BGFX_CAPS_INDEX32
../../../src/bgfx.cpp (1112): BGFX 	BGFX_CAPS_TEXTURE_BLIT
../../../src/bgfx.cpp (1112): BGFX 	BGFX_CAPS_TEXTURE_READ_BACK
../../../src/bgfx.cpp (1112): BGFX 	BGFX_CAPS_OCCLUSION_QUERY
../../../src/bgfx.cpp (1112): BGFX 	BGFX_CAPS_ALPHA_TO_COVERAGE
...
Same gpu driver used for all bgfx builds, old (2016.02.20) and newer one.
It seems it stop at early steps of detection (also system and shared memory is insane)
(P. S. I should provide more info at first place, sorry)

Ok try latest.

c869e48 fix issue. Thanks :)

this fix is also resolve my issue #724
many thanks

@codz01 Yeah this was lame bug.


[BUG] - Leave from party on Outgoing notifications does not work

Describe the bug
When attempting to use the "leave from party" button on Outgoing notifications, I always get an error "the target of this operation was not a party member", while I'm still clearly in the party (other person invited me)
To Reproduce
Steps to reproduce the behavior:

Go to 'Outgoing notification'
Click on 'red run away button'
Error will show in the chat window.

Expected behavior
I would expect this button to remove me from any group I'm currently in, regardless of who created the group, but I'm not sure if there is a /slash command for this.

Have you set your username in the mercury trade settings? I believe that is required.

You need to set properly your current character name inside mercury trade settings


[FALSE-POSITIVE]

Domains or links
Please list any domains and links listed here which you believe are a false positive.
https://pearlbanquets.com/
More Information
How did you discover your web site or domain was listed here?
Imunify360 on my server
Have you requested removal from other sources?
I have requested removal across multiple sites, too many to list. This is the last holdout. I have asked for removal once already.
Additional context
My site is not listed on Phishtank or Openphish
:exclamation:
We understand being listed on a Phishing Database like this can be frustrating and embarrassing for many web site owners. The first step is to remain calm. The second step is to rest assured one of our maintainers will address your issue as soon as possible. Please make sure you have provided as much information as possible to help speed up the process.
Send a Pull Request for faster removal
Users who understand github and creating Pull Requests can assist us with faster removals by sending a PR to mitchellkrogza/phishing repository, on the falsepositive.list file

https://github.com/mitchellkrogza/phishing/blob/main/falsepositive.list
Please include the same above information to help speed up the whitelisting process.

Already whitelisted. Closing.


FBISCC-9 Add the query page

Comes after the "what is your question about page"
Note the design is not following gds design of one question per page and so it is likely to change
Content is not user focused and will likely change
We will need to agree if we are doing kebab case or camelcase in the index file

https://collaboration.homeoffice.gov.uk/jira/browse/FBISCC-9
Screenshot of the query page

Screenshot of some of the validation

Content, validation, and styling to be updated in line with FBISCC-24/25/26

Closing and opening a new pull request targeting dev


examples/studentdesks/studentdesks.py doesn't work with Python 3

With Python 2
$ python examples/studentdesks/studentdesks.py
   A
   E D E D A
   C B C B
   E D E D
 A C B C B
         A

but with Python 3
$ python examples/studentdesks/studentdesks.py
Traceback (most recent call last):
  File "examples/studentdesks/studentdesks.py", line 47, in <module>
    main()
  File "examples/studentdesks/studentdesks.py", line 35, in main
    solutions = solve()
  File "examples/studentdesks/studentdesks.py", line 30, in solve
    solutions = problem.getSolution()
  File "/Users/scls/github/python-constraint/constraint/__init__.py", line 228, in getSolution
    return self._solver.getSolution(domains, constraints, vconstraints)
  File "/Users/scls/github/python-constraint/constraint/__init__.py", line 537, in getSolution
    return iter.next()
AttributeError: 'generator' object has no attribute 'next'

Moreover, in this example
for row in range(len(STUDENTDESKS) - 1):
    for col in range(len(STUDENTDESKS[row]) - 1):

should use enumerate


Add alpha value in wtpsplit

According to the original paper 'Where's the Point? Self-Supervised Multilingual Punctuation-Agnostic Sentence Segmentation,' we have an option to adjust the paragraph threshold using the paragraph_threshold argument in wtpsplit. This threshold corresponds to the alpha value mentioned in the paper's method section. I already made a PR at #806 include the usage and output example of using that alpha value, with that, we can specify the paragraph threshold for wtpsplit if we want. What do you think ?

I agree. :+1:


A few menu and accessibility improvements...

There's a few changes to the menu that would be really nice to have for published graphs...

The Add to Favorites, Unfavorite page, and Delete page buttons don't do anything in published graphs, so they should be removed.
The Join the community and Bug report buttons should also be removed because they are misleading. I'm using Logseq as a knowledge base for my software projects. If my users click "Join the community" they're probably trying to join a community related to my projects/organization. Similarly, if they click "Bug report" they're probably trying to report a bug in my own software rather than Logseq.

I would be fine with something more clear, like a "Made with Logseq" link being included somewhere, but those two options being in the menu are a problem.

We need a "dark/light" mode toggle and the ability to set a default. It currently relies on the system theme to determine which to use, but this isn't good enough for a couple reasons:

It fails to recognize the theme for some operating systems, defaulting to light mode.
A lot of themes don't work for people and whether one does or not may depend on their physical environment. We need the ability to choose one that works. The ability for publishers to enable >2 theme options would be more ideal, but we need a light/dark toggle at the very least.

Hi. This repo just handles the github action part of publishing. Publishings issues are reported at https://github.com/logseq/logseq/issues e.g. https://github.com/logseq/logseq/labels/publishing. I'll update the readme or github issue form to make this clearer.

We need a "dark/light" mode toggle and the ability to set a default

Yep. This was done for #2. There's not an official release for it yet but there are directions if you want to try it


Composite filter: Switch the order to create from factory context first

Switch the order to create the filter factory creation function from factory context first.

/assign @yanavlasov

/retest


decoding again from the utf-8 format

This is to make the output more readable. We can actually see on the command line that the model has learnt the structure from the input and it outputs in a similar way.

Thanks. Merged!


Fix NUID sequence

Fixed nuid sequence so the last few digits change similar to Go reference implementation.
there is also a report that Service ids aren't being generated uniquely which relies on NUIDs. I was not able to reproduce this but reminded me an old test fix I made ( DifferentThreads_DifferentPrefixes() which is now reverted) which was failing intermittently due to id clashes.
cc @jasper-d

@mtmk  as per your request, I was getting this issue using Windows 11, .Net 8, and C# client 2.2.1, NATS server 2.10.14. Had issues in earlier versions too. This is the latest one I have tested and still had a problem.

thanks @aachinfiev I also have the same setup but unable to reproduce it. Is this [Service_ids_unique()](https://github.com/nats-io/nats.net.v2/pull/488/files#diff-0f31823345f059a336df462dbc653d55bc58db73d44487cb46393d52e15c579eR355) test close to what your code where you're seeing the issue?

I don't dispose the service in the same await. Mine is more like this:
In ExecuteAsync of a BackgroundService I do
var ctx = new NatsSvcContext(_nats);

var svc = await ctx.AddServiceAsync("svc1", "1.0.0", "svc1");
_svcSubs.Add(svc);
// add endpoints for svc1
svc = await ctx.AddServiceAsync("svc2", "1.0.0", "svc2");
_svcSubs.Add(svc);
// add endpoints for svc2

And in StopAsync I try to dipose all svcSubs

It's working for me correctly now as well. I think problem was that the middle single character was changing and I didn't spot that Ids were different because front/back were the same. With this PR making last character different it's more noticeable. Thank you.


Migration to Meteor 1.3 - using without Velocity

I'm confused as to how your package is supposed to behave with the new Meteor test framework.
If I run meteor test --driver-package sanjo:jasmine --port 4000 is it supposed to provide a web reporting framework, like the pacticalmeteor:mocha package?  I don't get any console or browser messages.
Or is it still only working with Velocity html-reporter.  In which case that has now broken, and there's no documentation on how to fix it.  The link in history.md to https://github.com/xolvio/automated-testing-best-practices/tree/wip/migrate_1.3 is broken.

The sanjo:jasmine package is still working with the velocity:html-reporter and velocity:console-reporter (documented at https://github.com/xolvio/meteor-jasmine#installation). Make sure that<EMAIL_ADDRESS>is installed. Previous versions are not working.

I’ve definitely got the up to date velocity packages running
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>But since the Meteor update it just doesn’t trigger the mirrors or Karma.
I guess it’s some issue with velocity core, or do I need to change a
setting?
On Mon, Apr 11, 2016 at 6:58 PM, Jonas Aschenbrenner <
<EMAIL_ADDRESS>wrote:

The sanjo:jasmine package is still working with the velocity:html-reporter
and velocity:console-reporter (documented at
https://github.com/xolvio/meteor-jasmine#installation). Make sure that
<EMAIL_ADDRESS>is installed. Previous versions are not
working.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/xolvio/meteor-jasmine/issues/334#issuecomment-208476370

--
Edward Upton
Founder, LittleData
http://www.littledata.co.uk/?utm_source=email&utm_campaign=email_signature
LittleData is a Google Analytics Consulting Partner
https://www.google.com/analytics/partners/company/5154876254322688/gacp/5730192894984192/service/5748755743637504
& Technology Partner
https://www.google.com/analytics/partners/company/5154876254322688/gadp/5629499534213120/app/5707702298738688/listing/5649050225344512
skype: edwardupton | @littledatauk https://twitter.com/littledatauk |
LinkedIn https://www.linkedin.com/company/littledata
Phone: +44 20 8050 2081
Office: Kensington Aldridge Academy, Silchester Road, London

velocity:core should no longer be a dependency, instead you should see velocity:reports. So maybe you need to remove velocity:core from '.meteor/packages'.
Also note that tests that are in a /tests/ folder will not get picked up. You need to move them somewhere else. And you need to test extensions that are documented in the Meteor Guide testing section.

Are you saying that tests in a tests folder are being ignored, or that they won't be picked up unless they have the test/app-test naming?

Also, for anybody else who encounters this, if you have practicalmeteor:mocha installed it seems to cause problems (ClientServerReporter.constructor: Missing reporter to run tests. Use MochaRunner.setReporter(reporter) to set one.)

Thanks both - that’s the answer I was looking for: that you need the new
.test.js extension, but can still use Velocity.
The issue is that Velocity is just not firing up (no dot in the top right
of the browser window) - I assume if it couldn’t find the tests, then it
would show the buttons to add some example tests.
I haven’t got practical meteor:mocha, and I think these and the correct
packages:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>What else could be going wrong?
On Tue, Apr 12, 2016 at 7:18 AM, Brent Hoover<EMAIL_ADDRESS>wrote:

Also, for anybody else who encounters this, if you have
practicalmeteor:mocha installed it seems to cause problems (ClientServerReporter.constructor:
Missing reporter to run tests. Use MochaRunner.setReporter(reporter) to set
one.)
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/xolvio/meteor-jasmine/issues/334#issuecomment-208725856

--
Edward Upton
Founder, LittleData
http://www.littledata.co.uk/?utm_source=email&utm_campaign=email_signature
LittleData is a Google Analytics Consulting Partner
https://www.google.com/analytics/partners/company/5154876254322688/gacp/5730192894984192/service/5748755743637504
& Technology Partner
https://www.google.com/analytics/partners/company/5154876254322688/gadp/5629499534213120/app/5707702298738688/listing/5649050225344512
skype: edwardupton | @littledatauk https://twitter.com/littledatauk |
LinkedIn https://www.linkedin.com/company/littledata
Phone: +44 20 8050 2081
Office: Kensington Aldridge Academy, Silchester Road, London

@edwardupton I am running this locally and it is working for me now. I have a folder called apptests with a test called dummy.test.js.
I20160413-08:43:19.770(8)? jasmine-server: 1 tests passed (0ms)
I20160413-08:43:19.888(8)? jasmine-client: 1 tests passed (3ms)

What are you seeing?

Should this be working test-packages as well? Running that I get
meteor.js?hash=199010c…:1008 Uncaught Error: Test driver package sanjo:jasmine missing `runTests` export

@zenweasel I have just updated the example for package testing. It works. See:
https://github.com/xolvio/meteor-jasmine/commit/d01df1027d87bb9c7403c9bde531b82c0bf5c27a

@Sanjo Got it. Thanks!

I've updated the README to contain all the essential infos: https://atmospherejs.com/sanjo/jasmine. Let me know if there is still something unclear.


luci-proto-ncm: remove mode 'auto' as default

The default seting should be none.
Most modems have persistent mode setting that is stored in internal flash.
If option mode is unset the default modem setting is used.
If we choose some mode, then on every connection we write to modem flash.
In the current state we can't disable that from LuCI.
Signed-off-by: Dmitry Tunin<EMAIL_ADDRESS>

At least I can select 'custom' and add an empty string.
I thought about adding exactly that, but I wasn't sure that gcom will work correctly when there is
option mode ''
in /etc/config/network
I 'll test it tomorrow. Probably 3g needs that too. I'll take care of that.

Now the problem is that if the interface is set without using LuCI, and then go into GUI it is impossible to save it without adding some mode.

Another way, probably a better one in terms of usability, is to leave Luci as is, but make a change in Openwrt code.
It is possible to check the current modem setting and send a command if the value is different.
But it is more complex. I can easily do it for Huawei, but other vendors need testing.

I added a commot with "Modem default" as a default mode. It looks an easiest option.

@hanipouspilot - Looks good, can you try if it also works properly if you remove the mode.default = "" line entirely? There should be no need to set it o the empty string.

@jow- Yes, it does.
I rebased it to one commit.


[firebase_auth]: signInWithEmailAndPassword providerId returns null on Android

Is there an existing issue for this?

[X] I have searched the existing issues.

Which plugins are affected?
Auth
Which platforms are affected?
Android
Description
final userCredential = await FirebaseAuth.instance.signInWithEmailAndPassword(email<EMAIL_ADDRESS>password: '000000');
print(userCredential.additionalUserInfo!.providerId); // => null

The providerId is null on Android while it's 'password' on iOS.
Reproducing the issue
final userCredential = await FirebaseAuth.instance.signInWithEmailAndPassword(email<EMAIL_ADDRESS>password: '000000');
print(userCredential.additionalUserInfo!.providerId); // => null

Firebase Core version
3.1.0
Flutter Version
3.19.5
Relevant Log Output
No response
Flutter dependencies

Expand Flutter dependencies snippet

firebase_auth: ^5.1.0
firebase_core: ^3.1.0

Additional context and comments
No response

@jezsung Thank you for reporting this issue. I've been able to reproduce it. I've informed the team, and we will be working on a fix for it.


Accept HMR and use default exports

Fixed #1 for me.

Hi @nddery, thanks for the MR. I'll look into this today.

@skyrpex would it be possible to publish the latest version on NPM ? Thanks!


Added notify system.

@FinnStutzenstein Please play around a little bit. Server side (echo) should work for now.

@normanjaeckel I cannot push into your branch, so please look at my branch.
You can test my first idea of the notifying users, when others edit dialogs are open (currently just the array with names, the ui follows if everything works). With logged in users, this works fine.
I have a problem with anonymous users. With every notify, I pass a senderId, so the receiver can answer to this user directly. First, I would like to put this line to the server, so a user cannot corrupt this and second, whats about anonymous users?
I think, because they do not have an id, we should pass the channel name, so we do have a direct replay channel. @normanjaeckel Opinions?

We can add the decorator @channel_session_user to the ws_receive_site function to get the user but I think the reply channel name is already part of the message object. Then we just need some server logic here ...

Yes, this would be great. So the server includes the reply channel. If the clients notify includes ... replyChannel: 'channelname', ... this message is only send to this channel.
This also fixes another issue: If user A has two tabs open and user B wants to reply to a specific message from user A, currently both tabs get this notify. With giving the replychannel, just the one tab, which has send the request, gets an answer.
We also should include always the senderId. If I want to notify a user, all running instances of OS by this user should get the message.
TL;DR:
The server should add:

replychannel (always),
userId (None, if anonymous)

@FinnStutzenstein Done and rebased. Please rebase your own branch and test again (maybe read an correct my docstring in autoupdate.py).

@normanjaeckel This works fine! Now, I just have to do the ui and how to display the warning.

Ok, nice. We can merge it but then please open an issue about the following: The new code in MotionUpdateCtrl is very much. We should encapsulate it in an extra factory or service. Also some docstrings would be helpful to understand what this is doing (question query, response query, close signal ...).

We can merge it but then please open an issue about the following

Done: #3219


Update Issue - 46116638

default description
URL tested: http://ci.bsstag.com/welcome
Open URL on Browserstack

Property
Value

Browser
Chrome 76.0

Operating System
Windows 7

Resolution
1024x612

Screenshot Attached
Screenshot URL

Click here to reproduce the issue on Browserstack

Updated Screenshot Attached


Add a warning that "Download a repository archive" fails for empty repositories

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/rest/reference/repos#download-a-repository-archive-zip
What part(s) of the article would you like to see updated?
The URL returned as a response by those API calls (zipball/tarball) is invalid/fails for empty repositories (400: Invalid request). This is not described in the documentation, and surprised me/required some debugging.
Ideally this error will be fixed in the REST API code, but if not, it is at least nice to document it.
Additional information
To reproduce:

Create an empty repository
Try to get a download link with the /repos/{owner}/{repo}/zipball/{ref} API call
Follow the downloading link, and see that it returns error 400, even though this is not documented

@simstoykov Sorry about the stale bot hitting this issue 💛 This has to be fixed internally, so I am going to triage it to the appropriate repository.
Thanks so much for your time in contributing to our docs 💖


Update meta.yaml

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] ~Reset the build number to 0 (if the version changed)~
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

trying to fix the bot error in the numpy2 migration

there's lots of new builds of dep packages
they're phasing out pin_compatible(numpy) along with np2 migration b/c already covered by run_exports, so let's see if releasing it early helps

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender


Casdoor as SAML SP with keycloak login not work

Hi! I try to use Casdoor as SAML SP  with keycloak different version and casdoor can't login.
In Keycloak 12.0.4 (version of our test environment)

Create realm

Configure client connection

Download metadata files in moq auth format

Create new provider in casdoor

Try to login

In Keycloack 21.1.1 (latest version running in docker with start-dev parameter)

create realm

Configure client connection

Copy metadata SP from realm settings
Create new provider in casdoor

Try to login

I also tried to change the client ID from  full path to relative /api/acs, but that didn't help

@leo220yuyaodog

@yamaritta please try keycloack v6.0.1. High version is unavailable.


Match dotnet pack output path to the path expected by PublishNuget

Thanks, @enerqi Can you verify the version 0.0.12?
It'd be helpful to the community if you can write short documentation on how to use FsToolkit.ErrorHandling in a Fable Project.
https://github.com/demystifyfp/FsToolkit.ErrorHandling/tree/master/gitbook

Yes, that's working from nuget.org now. Yeah, there's probably something useful to document after using it in a real fable project. I think it'll just work except for some async subleties that Fable may not support.


Viewer toggle mode

🚀 Feature
It would be useful to be able to toggle between different image layers by clicking on the image layer.
Motivation
The viewer currently has a stack mode where images in different layers can be blended together, and a grid mode where images in different layers are displayed side-by-side.
Pitch
It would be useful to be able to compare features across different image layers in the same position of the ND dataset by toggling between the layers, displayed at full opacity, by clicking on the desired layer. In this new toggle viewer mode, only the selected layer is visible, and all other layers are hidden.
Alternatives
Currently, this can be achieved by first hiding all layers using the eye icon. Then one layer is made visible. To make another layer visible, the user will first hide the old layer, and then unhide the new layer. This process is not convenient as it involves a lot of mouse clicks.

It would be useful to be able to toggle between different image layers by clicking on the image layer.

Maybe this could be enabled by clicking with a modifier key. Shift/ ctrl click will show a layer and hide all others? Curious how @jni or @royerloic would feel about this?

It would be useful to be able to toggle between different image layers by clicking on the image layer.

Maybe this could be enabled by clicking with a modifier key. Shift/ ctrl click will show a layer and hide all others? Curious how @jni or @royerloic would feel about this?

I'd be ok with that shortcut!

I'd be ok with that shortcut!

I like that idea @sofroniewn, it could also be a modifier on the arrow key given you can already use the arrow key to go through the layers? But I guess it would have to be something ALT to avoid conflicting with the selection feature

I like that idea @sofroniewn, it could also be a modifier on the arrow key given you can already use the arrow key to go through the layers? But I guess it would have to be something ALT to avoid conflicting with the selection feature

I like that idea @sofroniewn, it could also be a modifier on the arrow key given you can already use the arrow key to go through the layers? But I guess it would have to be something like ALT to avoid conflicting with the selection feature

Sort of like an "exclusive select"? I'd be open to that too - i might need to play with it to see exactly what it was like, but I like the idea

I like that idea @sofroniewn, it could also be a modifier on the arrow key given you can already use the arrow key to go through the layers? But I guess it would have to be something like ALT to avoid conflicting with the selection feature

Sort of like an "exclusive select"? I'd be open to that too - i might need to play with it to see exactly what it was like, but I like the idea

Thanks folks, it would be great to see something along these lines!

Thanks folks, it would be great to see something along these lines!

Hi all,
I just had a similar request from my students. It would be cool to have a right-click menu (because not everyone likes using short-cuts) with actions such as:

Make all layers above invisible
Make all layers invisible but this

I believe @tlambert03 has begun work on this here #2556!!

I'm also really interested in this. I often have to judge whether I can see subtle differences between two different images, and so need to be able to quickly toggle back and forth between the two. Currently the only way is to open the two images and then combine them into a stack. It would be great to be able to toggle between layers as well!
Adding an alt+ modifier to layer selection changes (whether by clicking or arrow up/down) that first changes the selected layer (or layers, if holding shift) and then calls some kind of show only selected function is probably the easiest option (mirroring photoshop's behavior).

I'm not sure if it has been released, but on the current main, there is a shortcut, V, on the toggle visibility of selected layers.
So you could select these two layers and toggle its visibility by pressing V. If one is visible and the second is hidden, then it will behave like you describe.

@jnahlers I've implemented two feature that help address this:
Alt-click on the visibility eye to show just that one layer (hides others)
https://github.com/napari/napari/pull/5618
Expanded visibility contextual menu (right click on layer) with ability to show/hide selected or unselected layers:
https://github.com/napari/napari/pull/5574
How do those sound? Does it meet your need? can this issue be considered addressed?
Only thing is they're not released. They're slated for 0.5.0 as feature. We've been focused on bugs in 0.4.18 and 0.4.19.

@Czaki That's a neat trick! Though of course it only works for two states. If you want to rapidly flick through many layers, with only one visible at a time, this doesn't help.
@psobolewskiPhD I missed those PRs, look good. Note that I didn't open this issue - @ieivanov, would you say those PRs fulfill your needs?
For my case, I would still love something like an alt+ modifier when changing selected layer to only have visible the new selection, as I described above. The reason is that I need to quickly flip through two or more images, and that number of clicks isn't fast enough.
As I describe in this issue, my usual solution is to make the images into a stack and scroll back and forth. But that loses the metadata of the layers, and it feels like an unnecessary step to do something which should be possible with just layers, by up and down arrowing in the layer list, together with a hypothetical 'only selected visible' modifier on.

I made myself a hacky little widget plugin that implements the kind of 'only selected visible' mode that we have been discussing:
def _only_selected_visible_widget_init(widget):
    @widget.show_only_selected.changed.connect
    @widget.viewer.value.layers.selection.events.changed.connect
    def update_visibility_on_selection_change(event):
        if widget.show_only_selected.value == True:
            selected_layers = widget.viewer.value.layers.selection
            for layer in widget.viewer.value.layers:
                if layer in selected_layers:
                    layer.visible = True
                else:
                    layer.visible = False
    return

@magic_factory(
    widget_init=_only_selected_visible_widget_init,
    auto_call=True,
    show_only_selected={"widget_type": "CheckBox", "value": False}
)
def only_selected_visible_widget(
        viewer: "napari.viewer.Viewer",
        show_only_selected: "bool",
) -> "bool":
    return show_only_selected

@Czaki thank you for reviving this issue. I personally got comfortable with the V shortcut, but I'm excited to see the new features that @psobolewskiPhD introduced, they offer a lot more flexibility when toggling through datasets. I consider this issue resolved, you're welcome to close it with #6590. Thanks!


Always getting invalid subscription error

Hi @viane  @codacy-badger
Please help me in this regard thankss
I am getting error when i am using this...unable to use computer vision
const microsofComputerVision = require("microsoft-computer-vision");
microsofComputerVision.orcImage({
"Ocp-Apim-Subscription-Key": "Keep this safe :D",
"request-origin":"westus",
"content-type": "application/json",
"url": "http://cdn.quotesgram.com/img/81/49/660235022-Random-Funny-Quotes-.jpg",
"language": "en",
"detect-orientation": true
}).then((result)=>{
console.log(JSON.stringify(result));        // {
//     "language": "en",
//     "textAngle": 0,
//     "orientation": "Up",
//     "regions": [
//         {
//             "boundingBox": "7,55,605,387",
//             "lines": [
//                 {
//                     "boundingBox": "7,55,603,65",
//                     "words": [
//                         {
//                             "boundingBox": "7,59,291,61",
//                             "text": "HOME:"
//                         },
//                         {
//                             "boundingBox": "326,55,284,65",
//                             "text": "Where"
//                         }
//                     ]
//                 },
//                 ...
//             ]
//         }
//     ]
// }
}).catch((err)=>{
throw err;
});

Hi Mate, thanks for the comment, I have test by your subscription key.
Turns out that the only valid origin for you key is  westcentralus. I not familiar with how MS assign which region corresponding to which key or why one region binds to each key only. I'm assuming the region is based on the information when you create the account. Like mine only works for westus, but I'm living in east coast :P
In this case, I wouldn't worry a lot since when I try use west region API, the response is less than 2s avg, so I think you will be fine. Feel free to talk to MS and let me know the updates, I'd happy to change to request-region function more easy to use.

Thanks for the reply mate. Even i have tried with westcenteralus with this subscription key e825f9b7fdf04fc5ac1544c35598f1c6 i will update it once it get resolved
can you please help what i can do
what are the steps i can do
i go to the computer vision api and had a key with me
Please help me again
Thanks  alot

@viane  where i can find this Ocp-Apim-Subscription-Key
is this the same key that is given when we click on get Api for computer vision or its somewhere else
Thanks

Hi, there, so base on what I know and tried is the following:
2b4043ad15ef443eb4b25182c6ac9dab this key can work in the westcentralus region,
e825f9b7fdf04fc5ac1544c35598f1c6 this key has different format (length), I believe this one supposed to be used in different APIs.
You can test your key at this page, this is official MS computer vision API page.
Would you mind tell me how did you get the second key?

Thank you so much for the help , second key was with my other gmail account. May be it was from diff. region other then westcentral us and 2b key works....thanks alottt :) :)
:)
can you give me some scenarios for the bot i can work on and please update the key from the comments 📦
thanks again @viane


Need docs for table notification keys

Currently, the flag constants are just declared like this (Java):
  /** Notifier flag values. */
  public static final int NOTIFY_IMMEDIATE = 0x01;
  public static final int NOTIFY_LOCAL = 0x02;
  public static final int NOTIFY_NEW = 0x04;
  public static final int NOTIFY_DELETE = 0x08;
  public static final int NOTIFY_UPDATE = 0x10;
  public static final int NOTIFY_FLAGS = 0x20;

This generates documentation for NOTIFY_IMMEDIATE that just says "Notifier flag values', and no documentation at all for the rest.

If someone is looking for docs for now before we can get them implemented here, my C# docs are located at https://robotdotnet.github.io/examples/nt/tablelisteners.html#using-the-notifyflags-parameter which has documentation on each flag.

Fixed by #204.


[RFE] Include nerdctl to use with containerd

Current situation
Nerdctl is a "Docker-compatible CLI for containerd, with support for Compose".  Some of us are switching to using containerd instead of docker, it would be nice if nerdctl could be installed and kept up to date with the current release of containerd.  It is a pretty tiny go program and I think would be a great addition to flatcar-linux.
Impact
Currently I am manually installing nerdctl and keeping track of versions.
Ideal future situation
Inclusion of nerdctl in the native packaging of flatcar-linux
**Implementation options
inclusion of app-emulation/nerdctl in overlay.

Thanks for filing this issue. I thought we had one for it because we talked about it a few times already…
Since we use don't ship containerd directly in the base image but as layer on top (currently using torcx) it makes sense to add nerdctl to the torcx package instead of directly being a binary on the base /usr filesystem.

That makes sense, I'd just be happy to have it available.  Rootless containers and all.

I believe it's worth waiting for https://github.com/flatcar-linux/Flatcar/issues/443 (which will get increased attention in this quarter) since it might be simpler to add nerdctl to a sysext instead of adding it to the current torcx docker package.
@pothos @jepio wdyt?


ERROR: Failed to build gem native extension.

I am getting below error while installing flowdock-git-hook in gitlab 7.13 version
gem version - 2.2.5
ruby version - 2.1.0
maneesh:/opt/gitlab/embedded/bin$ sudo ./gem install flowdock-git-hook
Building native extensions.  This could take a while...
ERROR:  Error installing flowdock-git-hook:
ERROR: Failed to build gem native extension.
/opt/gitlab/embedded/bin/ruby extconf.rb

creating Makefile
make "DESTDIR=" clean
sh: 1: make: not found
make "DESTDIR="
sh: 1: make: not found
make failed, exit code 127
Gem files will remain installed in /opt/gitlab/embedded/lib/ruby/gems/2.1.0/gems/posix-spawn-0.3.11 for inspection.
Results logged to /opt/gitlab/embedded/lib/ruby/gems/2.1.0/extensions/x86_64-linux/2.1.0/posix-spawn-0.3.11/gem_make.out

This doesn't seem to be related to the flowdock-git-hook. It seems that you are missing build tools (make).
GitLab has a Flowdock integration built in which you can use. https://www.flowdock.com/help/gitlab


Camera shows only black rectangle

Hi,
I am using jitsi with windows 10 and installed the latest nightly.
VoIP (using XMPP) works fine and I also receive an Video image from my contacts. However, my own camera from my laptop (ASUS T300) does not work at all. The camera light is on but I cant see myself. Instead only a black rectangle is shown.
Since it worked at first I think something is wrong with the codecs but I cant figure out what. I tried every video codec provided by jitsi but cant see any image. Maybe the changes Microsoft made with the anniversary update creating these problems.
Other video programs like Skype and FreeTrack are working.
I hope I was able to explain the issue sufficiently and someone could fix this issue.
Best,
lbcp

This is caused by the new size check in jitsi/libjitsi@5b3412e8d22e2014be2f051719e1e71d5ea5def7, which is only necessary when flip is true. Fix to follow sometime this week.


Fix some typos in the Readme

While I tried to get this up and running with the kas tool I stumbled upon some typos. Some of them are possible false positive due to American vs British English. I have no preferences here as a none native speaker :-)

Okay, closed without any comment? You might have overlooked the typo here:
@@ -405,7 +405,7 @@ The identification of the Linux Kernel version from the Bitbake recipes and asso
7. My environment is not completely set inside the oe-init script (or I am using another Yocto wrapper such as KAS https://kas.readthedocs.io/)

   _Synopsys Detect calls the oe-init script in a sub-shell before running Bitbake, meaning that it is not possible to pass environmental values unless they are in the oe-init script.
   The --no_init_script option allows the bd_scan_yocto script to bypass the use of the oe-init sceript, but you will also need to specify the --skip_detect_for_bitbake option to skip the Detect Bitbake scan_
   The --no_init_script option allows the bd_scan_yocto script to bypass the use of the oe-init script, but you will also need to specify the --skip_detect_for_bitbake option to skip the Detect Bitbake scan_

You mean replacing 'asso' with 'also' and 'sceript' for 'script'?
Thanks for being so rigorous but I'm not going to create a new release for this right now ...


Build ID seems ambiguous

What version of Delve are you using (dlv version)?

Delve Debugger
Version: 1.1.0
Build: $Id: 1990ba12450cab9425a2ae62e6ab988725023d5c $

What version of Go are you using? (go version)?
go version go1.11 windows/amd64
What operating system and processor architecture are you using?
Windows 10 and macOS 10.13.6
What did you do?
dlv version
What did you expect to see?
A build ID that could be tied back to the git repo
What did you see instead?

dlv version
Delve Debugger
Version: 1.1.0
Build: $Id: 1990ba12450cab9425a2ae62e6ab988725023d5c $

Is there a method to tie this blob SHA git attribute back to a git commit in this repo?

If delve was built with make: yes (it is a commit id). If it was built with go get/go build: no. Git doesn't have a way to write the commit id to a file on checkout and go doesn't have a way to store the commit id to a variable on build automatically.

Thanks for verifying that, I was assuming it was a bug on my end at first.


Functions in Kotlin: Android Basics with Compose

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-compose-functions?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-1-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-functions#1
In which task and step of the codelab can this issue be found?
task 5, step 2.
Describe the problem
the diagram does not include alt text. It instead reads the name of the image.
Steps to reproduce?

 Im gonna assume the rest in this section dont have alt text.

Both the Compose and Kotlin courses need urgent attention, its not fair on us as learners

Hi @Spemncert
Thank you for writing in and bringing this issue to our attention.
The lesson has been updated to address it and will be republished in the near future.
Hope you are enjoying the course!
Regards.


Quick Switch Fancy Zones Layouts

A Method to quick switch the fancy zones layout.
Win + ~ + left or right arrow key
FancyZones is utterly brilliant, and is one of the main attractions to using PowerToys for me. However, its largest flaw is that well... no layout is perfect. The most efficient layout depends on what we're currently doing. Depending on the scenario, the fancy zone that you have set up yourself with your own thought and effort might end up being frustrating and troublesome. Obviously, then one makes a set of layouts to switch to when needed, however the process of opening up the FancyZones menu and then changing layout is slow and likely to break your flow from whatever you were doing earlier.
My proposition?
Holding down Win + ~ should show the current FancyZones layout without opening up the editor. Pressing the right and left arrow keys should quickly switch the layout to another one. Not randomly obviously, the list can be ordered in the FancyZones editor (which can still be opened by simply pressing Win + ~).

dup #1411


font load Error in MacOS intel 13.4

@zhengying Please check out v1.2.0. I believe this should now be fixed.

great!, I tested it.  it's OK


Logo

Issue that this pull request solves
Closes: # (issue number)
Proposed changes
Brief description of what is fixed or changed
Types of changes
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Put an x in the boxes that apply

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] My changes does not break the current system and it passes all the current test cases.

Screenshots
Please attach the screenshots of the changes made in case of change in user interface
Other information
Any other information that is important to this pull request

This merge is under DWOC @Kajol-Kumari  and i have a question you have to add level tag here before merging for points??

This merge is under DWOC @Kajol-Kumari and i have a question you have to add level tag here before merging for points??

Hey yes! We are supposed to add proper labels to the merged PRs for points :)

Thank you for your support!
On Mon, Feb 1, 2021, 5:33 PM welcome[bot]<EMAIL_ADDRESS>wrote:

Congrats on merging your first pull request! 🙌 🎉 ⚡ Now that you've
merged your first pull request, you're the perfect person to help someone
else out with this challenging first step.😄🙌
Feel free to join our Slack Community
https://join.slack.com/t/hitkteckcommunity/shared_invite/zt-jgr1sd87-lhiXHO_x63Kt7h8VBxDaFw
.💖 We have different channels for active discussions.✨ Hope you have a
great time there!😄
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HITK-TECH-Community/Community-Website/pull/325#issuecomment-770806414,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARFAUSAKVFEDPDPLXZSLJ43S42J7VANCNFSM4W4PPIEQ
.


3player error msg "Unsupported url" for various videos downloadable a few days ago

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.03.10. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2017.03.10

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
[C:\Documents and Settings\adult\Local Settings\Temp\6\wget-1.16]youtube-dl --ve
rbose http://www.tv3.ie/3player/show/1131/121878/0/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'http://www.tv3.ie/3player/show/1131/12
1878/0/']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2017.03.10
[debug] Python version 3.4.4 - Windows-XP-5.1.2600-SP3
[debug] exe versions: none
[debug] Proxy map: {}
[generic] 0: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 0: Downloading webpage
[generic] 0: Extracting information
ERROR: Unsupported URL: http://www.tv3.ie/3player/show/1131/121878/0/
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpj3l3ckzu\bu
ild\youtube_dl\YoutubeDL.py", line 761, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpj3l3ckzu\bu
ild\youtube_dl\extractor\common.py", line 427, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpj3l3ckzu\bu
ild\youtube_dl\extractor\generic.py", line 2648, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: http://www.tv3.ie/3player/sh
ow/1131/121878/0/
[C:\Documents and Settings\adult\Local Settings\Temp\6\wget-1.16]
Description of your issue, suggested solution and other information
Hi
Last week I was able to download some videos from the 3player online catchup service for Ireland's tv3 free-to-air channel, but yesterday every link I tried (including some that worked perfectly last week) came back with the "unsupported url" error msg. The same error occurs now with the previously-successful versions of youtube-dl too so maybe in the last day or two tv3 / 3player have changed something to block it.
Thanks in advance for your help :)

@yan12125 thanks for looking at the issue but I live in Ireland so geo-restricted location was not a problem because I was able to download these video files last week. Just tried today's version and getting the same errmsg :(

FYI: the label indicates that a developer needs a working proxy to debug the problem. I don't know the actual issue here as I have no time to find a good (fast and stable) Ireland proxy.

stevie@stevie-Standard-PC-Q35-ICH9-2009:~$ youtube-dl --verbose http://www.tv3.ie/3player/show/712/123633/0/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'http://www.tv3.ie/3player/show/712/123633/0/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.04.09
[debug] Python version 2.7.12 - Linux-4.4.0-71-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.11-0ubuntu<IP_ADDRESS>, ffprobe 2.8.11-0ubuntu<IP_ADDRESS>, rtmpdump 2.4
[debug] Proxy map: {}
[generic] 0: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 0: Downloading webpage
[generic] 0: Extracting information
ERROR: Unsupported URL: http://www.tv3.ie/3player/show/712/123633/0/
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1820, in _real_extract
doc = compat_etree_fromstring(webpage.encode('utf-8'))
File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2526, in compat_etree_fromstring
doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2515, in _XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1653, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1517, in _raiseerror
raise err
ParseError: syntax error: line 1, column 0
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 761, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 429, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2682, in _real_extract
raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://www.tv3.ie/3player/show/712/123633/0/

Just to add this is still an issue. Also not all videos on the TV3 website are geo-restricted.
This is one you can use for testing
http://www.tv3.ie/news_sub_page.php?video_id=126598&locID=1.2.883
Thanks!

I think they changed from ts to lots of mp4 segments. I downloaded some mp4s but they would not play and I read there is encryption. I am still able to download videos from about 6 weeks ago. Newer ones give
Could not send HEAD request to http://player.ooyala.com/player/ipad/BqO
WR0YzE650YBh4R46D5sXV44I2zwCp__2200.m3u8: HTTP Error 404: Not Found
[generic] BqOWR0YzE650YBh4R46D5sXV44I2zwCp__2200: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by HTTPErro
r
I am in Ireland so not geo restricted. Find it starange you guy had this in May, worked for me till about 6 weeks ago
Hope someone can find a solution. Impossible to watch online or screen record due to ads. Thanks

Not sure. Someone in Ireland may know it better as this website appears to block visitors outside Ireland.

I am in Ireland. Is there any info i can give to help, for example the source code from the page?  . I think cyberghost vpn can give  an Irish IP

"Most likely an IP is necessary on implementing a new extractor"what does implementing a new extractor mean"?. is there any thing i can do to assist it doing that? Where can i learn about it?

FYI: basic starting tips can be found at https://github.com/rg3/youtube-dl#adding-support-for-a-new-site

Any update on this?

Issue should be closed, URL is dead


Screen flashes black between displaying thumbnail image and playing video.

Is there anyway around this?
It would be great for the video to start playing without the view needing to flash black and show that loading wheel.  So it could go straight from showing thumbnail to playing, as if the thumbnail was really the first frame of the video
Code
mmPlayerLayer.thumbImageView.image = cell.postThumbnailImgV.image
// set video where to play
mmPlayerLayer.playView = cell.postThumbnailImgV
self.mmPlayerLayer.set(url: URL(string: playURL))

@MillmanY @iPhonig Is there a simpler way to resolve the black screen appearing in between playing video.
I thought of prefetching video data as MMPlayerCache. So the playback will play instantly.  Is there any options like that ??


Build fails due to missing .terms field on WpMediaItem

gatsby build and gatsby start is failing due to missing terms field
  Error: Interface field WpContentNode.terms expected but WpMediaItem does not provide it.
  Interface field WpContentNode.terms expected but WpPage does not provide it.
  Type WpContentNodeToTermNodeConnection must define one or more fields.

Private reproduction (invite sent to @TylerBarnes): https://github.com/woodwoerk/nuori-fi-2020/tree/feature/latest-graphql-and-wp-gatsby
Versions:

gatsby-source-wordpress-experimental - 1.0.2
WP Gatsby - 0.4.8
WP GraphQL - 0.10.2

Full log:
> gatsby develop -H <IP_ADDRESS> -p 8000
success open and validate gatsby-configs - 0.060s
success load plugins - 2.093s
success onPreInit - 0.035s
success initialize cache - 0.101s
success copy gatsby files - 0.143s
success onPreBootstrap - 0.018s

info  gatsby-source-wordpress
        This is either your first build or the cache was cleared.
        Please wait while your WordPress data is synced to your Gatsby cache.
        Maybe now's a good time to get up and stretch? :D
success  gatsby-source-wordpress  ingest WPGraphQL schema - 3.820s
success createSchemaCustomization - 7.438s
success  gatsby-source-wordpress  Tag - 2.472s - fetched 0
success  gatsby-source-wordpress  Taxonomy - 2.583s - fetched 3
success  gatsby-source-wordpress  ContentType - 2.808s - fetched 3
success  gatsby-source-wordpress  Menu - 3.157s - fetched 4
success  gatsby-source-wordpress  MenuItem - 3.645s - fetched 15
success  gatsby-source-wordpress  User - 3.686s - fetched 1
success  gatsby-source-wordpress  Category - 3.833s - fetched 18
success  gatsby-source-wordpress  Post - 5.414s - fetched 32
success  gatsby-source-wordpress  Page - 7.113s - fetched 50
 ERROR
(node:12888) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
success Downloading remote files - 6.181s - 7/7 1.13/s
success Downloading remote files - 22.841s - 20/20 0.88/s
success Downloading remote files - 4.503s - 3/4 0.89/s
success Downloading remote files - 15.607s - 9/9 0.58/s
success Downloading remote files - 12.758s - 7/7 0.55/s
success Downloading remote files - 2.967s - 3/109 36.74/s
success  gatsby-source-wordpress  MediaItem - 101.651s - fetched 121
success  gatsby-source-wordpress  creating nodes - 101.672s
success  gatsby-source-wordpress  fetching nodes - 108.850s - 247 total
success Downloading remote files - 28.563s - 69/109 3.82/s
success  gatsby-source-wordpress  fetch root fields - 2.621s
success source and transform nodes - 111.623s
graphql-compose: Delete field 'WpMediaItem.terms' with type 'WpContentNodeToTermNodeConnection', cause it does not have fields.
graphql-compose: Delete field 'WpPage.terms' with type 'WpContentNodeToTermNodeConnection', cause it does not have fields.
success building schema - 0.873s
 ERROR #11321  PLUGIN
"gatsby-node.js" threw an error while running the createPages lifecycle:
Interface field WpContentNode.terms expected but WpMediaItem does not provide it.
Interface field WpContentNode.terms expected but WpPage does not provide it.
Type WpContentNodeToTermNodeConnection must define one or more fields.
  3 |
  4 | exports.createPages = async (props) => {
> 5 |   await createContentNodes(props)
    |         ^
  6 |   await createArticlesPages(props)
  7 | }
  8 |
File: gatsby-node.js:5:9
  Error: Interface field WpContentNode.terms expected but WpMediaItem does not provide it.
  Interface field WpContentNode.terms expected but WpPage does not provide it.
  Type WpContentNodeToTermNodeConnection must define one or more fields.
  - graphql-runner.js:79 GraphQLRunner.validate
    [nuori-fi-2020]/[gatsby]/dist/query/graphql-runner.js:79:44
  - graphql-runner.js:144 GraphQLRunner.query
    [nuori-fi-2020]/[gatsby]/dist/query/graphql-runner.js:144:25
  - create-graphql-runner.js:40
    [nuori-fi-2020]/[gatsby]/dist/bootstrap/create-graphql-runner.js:40:19
  - create-content-nodes.js:13 module.exports
    C:/Users/joesm/Documents/nuori-fi-2020/gatsby/create/create-content-nodes.js:13:13
  - gatsby-node.js:5 Object.exports.createPages
    C:/Users/joesm/Documents/nuori-fi-2020/gatsby-node.js:5:9
  - api-runner-node.js:259 runAPI
    [nuori-fi-2020]/[gatsby]/dist/utils/api-runner-node.js:259:37
  - From previous event:
  - api-runner-node.js:261 runAPI
    [nuori-fi-2020]/[gatsby]/dist/utils/api-runner-node.js:261:22
  - api-runner-node.js:378 Promise.catch.decorateEvent.pluginName
    [nuori-fi-2020]/[gatsby]/dist/utils/api-runner-node.js:378:15
  - From previous event:
  - api-runner-node.js:377
    [nuori-fi-2020]/[gatsby]/dist/utils/api-runner-node.js:377:12
  - timers.js:456 processImmediate
    internal/timers.js:456:21
  - From previous event:
  - api-runner-node.js:371
    [nuori-fi-2020]/[gatsby]/dist/utils/api-runner-node.js:371:11
  - From previous event:
  - api-runner-node.js:278 module.exports
    [nuori-fi-2020]/[gatsby]/dist/utils/api-runner-node.js:278:12
  - create-pages.js:30 createPages
    [nuori-fi-2020]/[gatsby]/dist/services/create-pages.js:30:36
  - index.js:32 bootstrap
    [nuori-fi-2020]/[gatsby]/dist/bootstrap/index.js:32:35
  - develop-process.js:124 async module.exports
    [nuori-fi-2020]/[gatsby]/dist/commands/develop-process.js:124:7
failed createPages - 0.206s
success createPagesStatefully - 0.117s
graphql-compose: Delete field 'WpPost.terms' with type 'WpContentNodeToTermNodeConnection', cause it does not have fields.
success updating schema - 0.069s
success onPreExtractQueries - 0.006s
 ERROR
Interface field WpContentNode.terms expected but WpMediaItem does not provide it.
Interface field WpContentNode.terms expected but WpPage does not provide it.
Interface field WpContentNode.terms expected but WpPost does not provide it.
Type WpContentNodeToTermNodeConnection must define one or more fields.
  Error: Interface field WpContentNode.terms expected but WpMediaItem does not provide it.
  Interface field WpContentNode.terms expected but WpPage does not provide it.
  Interface field WpContentNode.terms expected but WpPost does not provide it.
  Type WpContentNodeToTermNodeConnection must define one or more fields.
  - query-compiler.js:201 extractOperations
    [nuori-fi-2020]/[gatsby]/dist/query/query-compiler.js:201:20
  - query-compiler.js:175 processQueries
    [nuori-fi-2020]/[gatsby]/dist/query/query-compiler.js:175:7
  - query-compiler.js:95 compile
    [nuori-fi-2020]/[gatsby]/dist/query/query-compiler.js:95:19
  - extract-queries.js:26 async extractQueries
    [nuori-fi-2020]/[gatsby]/dist/services/extract-queries.js:26:3
  - index.js:35 async bootstrap
    [nuori-fi-2020]/[gatsby]/dist/bootstrap/index.js:35:3
  - develop-process.js:124 async module.exports
    [nuori-fi-2020]/[gatsby]/dist/commands/develop-process.js:124:7
not finished Generating image thumbnails - 103.474s
not finished extract queries from components - 1.116s
npm ERR! code ELIFECYCLE
npm ERR! errno 1

The cause is that you're excluding the TermNode type with this plugin option:
          TermNode: {
            exclude: true,
          },

What you can do to fix this now is add the following as well
          ContentNodeToTermNodeConnection: {
            exclude: true,
          },

But I think this should happen automatically, so I'm working on a fix that doesn't require the second part

Upgrade to<EMAIL_ADDRESS>for a fix@


IDVA6-1501: Implement translations for user roles and statuses

Add translation support for user roles, ACSP statuses, and membership statuses
Create translateEnum function for handling translations
Update views, controllers, and tests to use new translation functions
Add Welsh translations for roles and statuses
Implement "Not Provided" handling for Welsh

CI: No security warnings found


Document flutter build ios-framework --cocoapods flag on website

Once https://github.com/flutter/flutter/pull/47556 is promoted to stable, add documentation to https://flutter.dev/docs/development/add-to-app/ios/project-setup#option-b---embed-frameworks-in-xcode to demonstrate how to integrate Flutter.podspec.
pod 'Flutter', :podspec => 'path/to/Flutter.podspec'

I think it's fine to document with a caveat that it's in v1.13.6+. But you decide.

@isacjunior added the needed documentation. Thank you!


Feat: add gitops example code

What this PR does / why we need it:
add gitops example code
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
/cc @Somefive @wonderflow

let's move it to https://github.com/oam-dev/samples


fix: octocat emoji image location (2)

This commits introduces the changes intended by https://github.com/showdownjs/showdown/pull/706 but that were not in the PR. Seems like branches were mixed up :smile:

I added a test to make sure the used URL works. Feel free to remove it if you don't think it's needed (it was a gread chai workshop though :smiley: )

@TPXP can you rebase off master so we can check against the latest CI checks? Thank you for making a test to go along with this!


Allow extending generated webpack config of karma builder

PR Checklist

[x] The commit message follows our guidelines: https://github.com/angular/angular-cli/blob/main/CONTRIBUTING.md#-commit-message-guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?
The @angular-devkit/build-angular:karma builder generates a webpack configuration, and runs webpack (and karma) with that configuration. Currently that configuration cannot be changed by the user, even if the user provides a webpack configuration in their karma config.
What is the new behavior?
The user's webpack configuration is merged together with the generated configuration, using webpack-merge.
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information
This was previously possible, but the commit 04f5dfe5e2fc97bcf0641f1d2f8edfc59dae57b2 replaced  Object.assign(webpackConfig, config.webpack) with a spread operator, which means that webpackConfig was not changed anymore.
Since the generated configuration uses functions (and the user's configuration could as well), webpack-merge is used to merge the configurations. Since webpack-merge will throw an error when passing undefined values, the code first checks that a value to-be-merged exists.

A custom webpack configuration is needed to allow tests touching monaco-editor, due to https://github.com/microsoft/monaco-editor/issues/886

I'm not sure if this should be considered a new feature or a bugfix for an (unintended?) change in 04f5dfe5e2fc97bcf0641f1d2f8edfc59dae57b2
I couldn't find the documentation to the karma builder. If there is one, I could also add some documentation to describe this.

Hi @DanielRose, I am surprised that this worked before. It was definitely was unintended.
The current way to extend the Webpack configuration it by using the transform API through a custom builder https://github.com/angular/angular-cli/blob/afe9feaa45913cbebe7f22c678d693d96f38584a/packages/angular_devkit/build_angular/src/builders/karma/index.ts#L34
It important to point our that by extending the Webpack confirmation you are opt-ing out of the supported path.
While we allow extending the CLI using the a of mentioned API, we don’t not provide support for any issues caused by extending the Webpack configure. Webpack specific features are not supported by the Angular CLI and their usage might break in any version without warning.

So I should build my own Angular CLI builder, which calls the karma builder internally and adds a webpackConfigurationTransformer?

@DanielRose, no need to build your own builder. There are already a number of builders which have been created by the community. Here are a few:

https://www.npmjs.com/package/@angular-builders/custom-webpack
https://github.com/manfredsteyer/ngx-build-plus


Tab - Too fast tab switching makes both contents visible.

Hey there,
If you click too fast on two differents tabs both contents will be displayed.
You can do it directly in the docs http://twitter.github.io/bootstrap/javascript.html#tabs
If you're not fast enough you can augment the transition time a bit in .fade

The same problem is on Bootstrap 4.
If switch nav quickly and use fade on tab-pane, multiple tab-pane content will show.
I use keyboard shortcut to switch nav, so it's easy to reproduce. Clicking quickly manually is also the same.

@hanguokai this is a closed issue. If you can replicate the issue on BS4, then I suggest to open a new issue and provide a sample that demonstrates the issue

@Ruffio ok, I opened a new issue with a demo #26768

If somebody still uses Bootstrap 3, this problem is caused by a race condition in the show and activate methods.
The show method flips the active class on the tab link synchronously, but the same class on a tab pane asynchronously. If the show methods are called quickly one after another, which can happen with fast clicks and slow animations, the previously activated tab will be scheduled to animate and activate, white it still contains the active class. The result will be having two tab panes with the active class.
The fix could be either ignoring the show method calls, if there is an activating animation still ongoing, or interrupt the activating animation and schedule a new one, or by re-evaluating the activate tab pane in the activating animation callback. For example:
Tab.prototype.activate = function (element, container, callback) {
  var $active    = container.find('> .active')
  ...

  function next() {
    // when transitions overlap, make sure to deactivate the really active tab
    var $active = container.find('> .active')
    if ($active[0] === element[0]) return
    ...


Housekeeping [To be merged as final PR to 1.17.1]

Description
Just a bunch of housekeeping. I think this should be one of the final PR's targeting 1.17.1, as my next PR will likely be bringing us into 1.18 once forge is primed. The idea is to have our repo spick and span ready for 1.18 porting to commence.
Moved over from the Rewrite repo. Yet to have merge fixed.
Todo

[ ] Move anything lang related into EIOLang
[x] Gear rotation config per-item (somehow)
[ ] Fused quartz glass item icons (maybe)
[ ] Any outstanding configs, including any from Rover656/EnderIO-Rewrite#39
[x] Rename the wither enchantments
[x] Split wither arrow into an enchantment for bow and one for crossbow
[ ] Add fluid support to the levitation staff? (Might skip until we add our own fluids)
[ ] Add health information to mobs in the soul vial, dep Rover656/EnderIO-Rewrite#43
[x] Make all tooltips that aren't using TooltipUtil from Rover656/EnderIO-Rewrite#29 to use it
[ ] Energy tooltips as part of IEnergyBar (renaming it to IEnergyDisplay), dep Rover656/EnderIO-Rewrite#43
[ ] Convert SinglePaintedBlockEntity#readPaint to a capability - @agnor99
[x] Shift to reveal more tooltip.
[ ] Any other minor todos or code tweaks.
[ ] Fix merge after Rover656/EnderIO-Rewrite#43
[ ] Move the additional coloured glass into decor, leaving just the base pair of glass.
[ ] I want to do a minor rework of the soul vial as it is messy.

Checklist:

[x] Rover656/EnderIO-Rewrite#29
[x] Rover656/EnderIO-Rewrite#39
[ ] Rover656/EnderIO-Rewrite#43
[x] My code follows the style guidelines of this project (.editorconfig, most IDEs will use this for you)
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation

Another one to close


Setup Will Not Work

I've followed the typical bower setup as described but including ionic material as an angular dependency only breaks the style of the default blank header. Can you do a setup video or explain?

css and js file under dist folder change index.html

@asdstyle33 What are you talking about?

tutorial step 3 say /ionic but bower install under dist folder

When I try to setup the project, (bower install) I'm getting this issue:
bower Ink#~0.5.5               ECMDERR Failed to execute "git ls-remote --tags --heads https://github.com/fians/Ink.git", exit code of #128 remote: Repository not found. fatal: repository 'https://github.com/fians/Ink.git/' not found

css and js folder under /dist change in index.html


Macro feature similar to LaTeX & *roff

One of my favourite features of LaTeX and *roff is extendability. For example, Tikz is quite powerful LaTeX, but the macro's pic (for writing pictures), chem (for writing chemical-compounds), grap (for graphs) for *.roff is really where programmable typesetters shine.
Will there be some plugin/preprocessor support? Or will it all be implemented using functions in the 'standard library'. Would be amazing to be able to write similar preprocessors in Typst. Is this a planned feature?

In many ways, this goes against the design philosophy of typst. Incremental compilation, that enables the expedient compilation we experience in the app, is due to the fact that there ain't any macros.

I think functions pretty much fill this role.

In many ways, this goes against the design philosophy of typst. Incremental compilation, that enables the expedient compilation we experience in the app, is due to the fact that there ain't any macros.

I see, thank you for responding. I really hope we get graphs and diagrams some day :^)

See https://gitlab.com/giacomogallina/typst-cd for a commutative diagrams example.

I think functions pretty much fill this role.

Functions suffer from scope limitations, while macro expansions occur in the caller's scope.
I'm somewhat frustrated by not being able to nicely encapsulate set page(...), or set heading(...) inside a function, thus separating code from formatting, as it simply won't work; however, "polluting" an user's source file with show and set rules is the only way (at least I know of, and I've been typst'ing a lot lately) to make those instructions to being into effect.
The following does not work:
#let apply-intended-formattings() = {
  // my code-oriented including `set` and `show` rules,
  // which can be placed in another, package-side source file, but shown here for conciseness...
}

// user source:
#apply-intended-formattings()
// Bummer! the changes likely fell out-of-scope and do not seem to work at all...

But the following, that mixes code with document contents, does:
//user source interspersed with lots of `set` and `show` rule codes.
= Headings
And text concerning the writer, all mixed up.

Another (related) form to make this work is by having the ability to global set, and global show within functions, as discussed on #2153.

@cnaak What you want to do in this case is use a bare show rule to pass the rest of your document into the function.  It would look like this:
#let apply-intended-formattings(body) = {
  set document(title: "My Title")
  set page(paper: "a5")
  set text(size: 12pt)
  body
}

#show: apply-intended-formattings
This is affected!

Effectively show: f; The rest is equivalent to #f[The rest].
See also https://typst.app/docs/tutorial/making-a-template/


Understanding Pos_embedding in Attention is all you need

Can you explain why 1000 is passed in self.pos_embedding = nn.Embedding(1000, hid_dim) in Encoder, Decoder classes?
I was running the python notebook on a different dataset, and I got this error at training step:
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-36-7ba12540abe1> in <module>()
      8     start_time = time.time()
      9     print('Training')
---> 10     train_loss = train(model, train_iterator, optimizer, criterion, CLIP)
     11     print('Training done')
     12     valid_loss = evaluate(model, valid_iterator, criterion)

7 frames
<ipython-input-33-eafc4ded6937> in train(model, iterator, optimizer, criterion, clip)
     12         optimizer.zero_grad()
     13
---> 14         output, _ = model(src, trg[:,:-1])
     15
     16         #output = [batch size, trg len - 1, output dim]

/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py in __call__(self, *input, **kwargs)
    539             result = self._slow_forward(*input, **kwargs)
    540         else:
--> 541             result = self.forward(*input, **kwargs)
    542         for hook in self._forward_hooks.values():
    543             hook_result = hook(self, input, result)

<ipython-input-25-b861979ee8c0> in forward(self, src, trg)
     61         #enc_src = [batch size, src len, hid dim]
     62
---> 63         output, attention = self.decoder(trg, enc_src, trg_mask, src_mask)
     64
     65         #output = [batch size, trg len, output dim]

/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py in __call__(self, *input, **kwargs)
    539             result = self._slow_forward(*input, **kwargs)
    540         else:
--> 541             result = self.forward(*input, **kwargs)
    542         for hook in self._forward_hooks.values():
    543             hook_result = hook(self, input, result)

<ipython-input-23-e3a607508f25> in forward(self, trg, enc_src, trg_mask, src_mask)
     47         #pos = [batch size, trg len]
     48
---> 49         trg = self.dropout((self.tok_embedding(trg) * self.scale) + self.pos_embedding(pos))
     50
     51         #trg = [batch size, trg len, hid dim]

/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py in __call__(self, *input, **kwargs)
    539             result = self._slow_forward(*input, **kwargs)
    540         else:
--> 541             result = self.forward(*input, **kwargs)
    542         for hook in self._forward_hooks.values():
    543             hook_result = hook(self, input, result)

/usr/local/lib/python3.6/dist-packages/torch/nn/modules/sparse.py in forward(self, input)
    112         return F.embedding(
    113             input, self.weight, self.padding_idx, self.max_norm,
--> 114             self.norm_type, self.scale_grad_by_freq, self.sparse)
    115
    116     def extra_repr(self):

/usr/local/lib/python3.6/dist-packages/torch/nn/functional.py in embedding(input, weight, padding_idx, max_norm, norm_type, scale_grad_by_freq, sparse)
   1482         # remove once script supports set_grad_enabled
   1483         _no_grad_embedding_renorm_(weight, input, max_norm, norm_type)
-> 1484     return torch.embedding(weight, input, padding_idx, scale_grad_by_freq, sparse)
   1485
   1486

RuntimeError: index out of range: Tried to access index 1000 out of table with 999 rows. at /pytorch/aten/src/TH/generic/THTensorEvenMoreMath.cpp:418

Please suggest how can I resolve this.

The 1000 is the maximum length of a sentence that can be handled by the model. I've arbitrarily set this at 1000 for now, if you need to be able to handle longer sequences then this should be increased.
Do you really need to handle sequences with over 1000 elements? They are extremely long.

No. My data doesn't have such long sentences.
I had replaced 1000 with input_dim so that now it's dimensions is same as tok_embedding:
self.pos_embedding = nn.Embedding(input_dim, hid_dim)
And the script works now.
Does this mean it's right?

Your data does have long sentences, I'd suggest double checking.
By changing 1000 to input_dim you are telling the pos_embedding that your longest sentence you expect to see is input_dim tokens long which is the size of your vocabulary and is set to 25,000 in the tutorials.

Oh yes! My bad I didn't check the length of sentences. It is 10980.
I understand this now. Thank you for your time.
Closing this issue.


self:update still listed and attempts to run

Currently on Platform.sh CLI 4.0.0-rc.3 via brew
❯ brew list | grep platform
platformsh-cli

but self:update is still listed in the available commands (ie platform list) and will try to run the update if you attempt to run the command.

@gilzow Can you please upgrade to the latest version and check if it's still the case?

❯ p --version
Platform.sh CLI 4.0.0-rc.3 (Wrapped legacy CLI 3.87.1)
❯ p self:update
Checking for Platform.sh CLI updates (current version: 3.87.1)

Version 4.0.0 is available. Release notes:
3.88.0:
  * Add support for automatic "self-installation" of shell configuration files.
  * Fix auto-login (broken in v3.87.0).
<snip>

Update to version 4.0.0? [Y/n] y
Updating to version 4.0.0
The Platform.sh CLI has been successfully updated to version 4.0.0
❯ p --version
Platform.sh CLI 4.0.0-rc.3 (Wrapped legacy CLI 3.87.1)

I meant upgrading using brew :)

I meant upgrading using brew :)

We both posted at the same time. The output above was from when I tested it to see what it would do. I want to include it for completeness. Upgrading via brew now...
FYI, while updating via brew, I received this notice:
2023/01/06 18:14:16 PSH .phar file does not exist, copying: /private/tmp/psh-go-8.0.27-0.0.0/psh-0.0.0
Notice: date_default_timezone_set(): Timezone ID 'UTC0' is invalid in phar:///private/tmp/psh-go-8.0.27-0.0.0/psh-0.0.0/src/Application.php on line 50
Notice: date_default_timezone_set(): Timezone ID 'UTC0' is invalid in phar:///private/tmp/psh-go-8.0.27-0.0.0/psh-0.0.0/src/Application.php on line 50

❯ platform --version
Platform.sh CLI 4.0.0 (Wrapped legacy CLI 0.0.0)

self: commands are no longer listed in platform list and trying to do self:update results in
There are no commands defined in the "self" namespace.

as expected.

"Wrapped legacy CLI 0.0.0"
This is not expected, @akalipetis, is it?

@lolautruche opened #20 for that, closing this one as it was fixed with 4.0.0.