text:
gem install --pre pycall Error on Windows Ruby installed by Rubyinstaller

I executed "gem install --pre pycall" on Windows Ruby installed by Rubyinstaller.
I faced the instalation Error.
The following is the Ruby version I'm using.
c:\Temp>ruby --version ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [x64-mingw32]
When I used Ruby version 2.[67], installation was success.
Yesterday, I've just updated Ruby version 3.0 .
The following is the "gem install" log.
c:\Temp>gem install --pre pycall
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...
ERROR:  Error installing pycall:
        ERROR: Failed to build gem native extension.

    current directory: C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/pycall-1.3.1/ext/pycall
C:/Ruby30-x64/bin/ruby.exe -I C:/Ruby30-x64/lib/ruby/3.0.0 -r ./siteconf20210503-9804-2mrxul.rb extconf.rb
creating Makefile

current directory: C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/pycall-1.3.1/ext/pycall
make DESTDIR\= clean

current directory: C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/pycall-1.3.1/ext/pycall
make DESTDIR\=
generating pycall-x64-mingw32.def
compiling gc.c
compiling libpython.c
compiling pycall.c
pycall.c: In function 'pycall_without_gvl_p':
pycall.c:83:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   83 |   return (int)pycall_tls_get(without_gvl_key);
      |          ^
pycall.c: At top level:
pycall.c:121:22: warning: 'pycall_pyptr_data_type' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
  121 | const rb_data_type_t pycall_pyptr_data_type = {
      |                      ^~~~~~~~~~~~~~~~~~~~~~
pycall.c: In function 'Init_pycall':
pycall.c:2239:21: warning: passing argument 1 of 'pycall_tls_create' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2239 |   pycall_tls_create(&without_gvl_key);
      |                     ^~~~~~~~~~~~~~~~
In file included from pycall.c:1:
pycall_internal.h:514:39: note: expected 'pycall_tls_key *' {aka 'long unsigned int *'} but argument is of type 'volatile pycall_tls_key *' {aka 'volatile long unsigned int *'}
  514 | int pycall_tls_create(pycall_tls_key* tls_key);
      |                       ~~~~~~~~~~~~~~~~^~~~~~~
compiling range.c
compiling ruby_wrapper.c
ruby_wrapper.c: In function 'PyRuby_hash_long':
ruby_wrapper.c:148:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  148 |   return (void *)(h == -1 ? pycall_hash_salt : h);
      |          ^
ruby_wrapper.c: In function 'PyRuby_hash_long_with_gvl':
ruby_wrapper.c:155:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  155 |     return (long)CALL_WITH_GVL(PyRuby_hash_long, pyro);
      |            ^
ruby_wrapper.c:157:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  157 |   return (long)PyRuby_hash_long(pyro);
      |          ^
ruby_wrapper.c: In function 'PyRuby_hash_hash_t':
ruby_wrapper.c:177:28: warning: left shift count >= width of type [-Wshift-count-overflow]
  177 |   h = (pycall_hash_salt_32 << 32) | FIX2LONG(rbhash);
      |                            ^~
ruby_wrapper.c:178:48: warning: left shift count >= width of type [-Wshift-count-overflow]
  178 |   return (void *)(h == -1 ? ((pycall_hash_salt << 32) | pycall_hash_salt) : h);
      |                                                ^~
ruby_wrapper.c: At top level:
ruby_wrapper.c:363:3: error: initializer element is not constant
  363 |   &pycall_pyptr_data_type, 0, RUBY_TYPED_FREE_IMMEDIATELY
      |   ^
ruby_wrapper.c:363:3: note: (near initialization for 'pycall_pyrubyptr_data_type.parent')
make: *** [Makefile:245: ruby_wrapper.o] エラー 1

make failed, exit code 2

Gem files will remain installed in C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/pycall-1.3.1 for inspection.
Results logged to C:/Ruby30-x64/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/pycall-1.3.1/gem_make.out

Same issue here, did you manage to fix it?

@yamatakau08  did you find a workaround by any chance?

@yamatakau08 @Tcheetox pycall.rb does not support Windows currently.  Sorry for inconvenience.  Could you please try to use with WSL2?

I will release the new version 1.4.0 soon.  This new version resolves the compile errors you mention in the description.  So I guess you can install pycall 1.4.0 in your environment.
But, the bug I filed in https://github.com/mrkn/pycall.rb/issues/144 is still remaining in the new version.
If you can investigate the problem, it is very helpful for me.

mrkn-san,
Thank you for fixing.
pycall installation is succeeded.
c:\Temp>gem install --pre pycall
Fetching pycall-1.4.0.gem
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...
Successfully installed pycall-1.4.0
Parsing documentation for pycall-1.4.0
Installing ri documentation for pycall-1.4.0
Done installing documentation for pycall after 2 seconds
1 gem installed

c:\Temp>gem list --local

*** LOCAL GEMS ***

I close this issue.

@yamatakau08 I've resolved the bug on Windows.  Please try the new version 1.4.1.

authors: Tcheetox mrkn yamatakau08


text:
Make _showDropdown public

Hi,
thanks for such a nice plugin. Due to the input box (which is gr8 btw), the user has to click the flag to see the list. We have found idiot users find it hard to figure where to click.
What would be very useful, is some way to toggle() this via and external API. So developers can use their own UX to invoke your drop-down.
I saw the code and realized _showDropdown was one such method that could be public, or maybe have a pair showList(), hideList() that makes this possible.
If you feel its useful and is a quick fix for you, please do it. If not, Id be happy to try and contribute :)

I'd be happy to accept a pull request that handles this.

source: gharchive/issue

authors: ArjunDhar mrmarkfrench

repo: mrmarkfrench/country-select-js

license: MIT

license_type: permissive

license_source: github-api


text:
fix: fix error in bridgeless due to nativeCallSyncHook

Hi,
Closes #779
Apps running on bridgless, old arch always has nativeCallSyncHook as undefined making this:
https://github.com/mrousavy/react-native-mmkv/blob/6682adfbd9b0ccb35b50cc1063ca31e569cdc34b/src/createMMKV.ts#L49-L53
always throw.
Check this guide on insuring the interop layer:
[JavaScript] global.nativeCallSyncHook can't be used to detect legacy "Remote Debugging in Chrome" with JSC
global.nativeCallSyncHook === 'undefined' is a common way to check if you're running in "Remote Debugging in Chrome" (which is not supported with Hermes, only JSC). This is often used to provide some fallback behavior for sync native functions, because they do not work in the legacy remote debugging environment. Use "RN$Bridgeless" in global && RN$Bridgeless === true to determine if you are running in bridgeless. Learn more in LinusU/react-native-get-random-values#57.
It is generally not recommended to fork behavior based on whether bridgeless is enabled — this is an escape hatch that should be used sparingly.

Example "isRemoteDebuggingInChrome()" function
function isRemoteDebuggingInChrome () {
  // Remote debugging in Chrome is not supported in bridgeless
  if ('RN$Bridgeless' in global && RN$Bridgeless === true) {
    return false
  }

  return __DEV__ && typeof global.nativeCallSyncHook === 'undefined'
}

⚠ Not sure which branch to base on. Is there a 2.x.x maintenance branch?

Hey - thank you for your PR, I appreciate it, and I especially appreciate the detail that went into explaining the issue.

⚠ Not sure which branch to base on. Is there a 2.x.x maintenance branch?

Unfortunately no - I already don't have enough time to maintain all my react native repositories, so if I would also maintain backwards compatibility then I would have no time at all anymore.
So there's unfortunately nothing I can do with this PR - the new main branch of react-native-mmkv doesn't have this issue because it uses an all new C++ TurboModule implementation.
Hope you understand.

Got it. Thank you!

source: gharchive/pull-request

authors: itsramiel mrousavy

repo: mrousavy/react-native-mmkv


text:
[BUG] Not working

Flutter: 3.3.10
Version: icons_launcher:
The error is generated when trying to run the command flutter pub run icons_launcher:create
Error: Could not find bin/create.dart in package icons_launcher.

firts run:
1.- flutter pub add icons_launcher
2.- flutter pub get
3.- flutter pub run icons_launcher:create

authors: Pedrogvas VinniciusJesus


text:
Feature Request

Support of Aptos Chain

@mrtnetwork

@mrtnetwork

Hi, I have plan for that but not for now

@mrtnetwork any tentative time?

authors: kishangohel mrtnetwork


text:
Issues in Lines 155 and 156

Currently unable to resolve issues at Line 155 and 156:
155 :  Incompatible types in assignment (expression has type "str", variable has type "TextIOWrapper")  [assignment]
156: Argument 3 to "sendmail" of "SMTP" has incompatible type "TextIOWrapper"; expected "SizedBuffer | str"  [arg-type]
155 text = message.as_string()
156 mailServer.sendmail(sender_address, receiver_address, text)
Script works without these resolved.

Resolved by removing "text = message.as_string()", and replacing "text" in following line with "message.as_string()".


text:
fmSetupAssistant: Configs

We need more than one settings list.
This could be achieved by duplicating the file for each constellation of settings one needs.
However, a better solution may be to support profiles.
Each profile can include:

a name
a subset of properties
specific values

Profiles are now called configs. Done

repo: mrwatson-de/fmSetupAssistant


text:
🛑 Do53 Roost IPv6 UDP is down

In 648687b, Do53 Roost IPv6 UDP (http://107.189.10.142:9204) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Do53 Roost IPv6 UDP is back up in fcc9673 after 9 minutes.

repo: mschirrmeister/upptime-loopx


text:
🛑 Do53 Roost IPv4 TCP is down

In 43cc8bb, Do53 Roost IPv4 TCP (http://107.189.10.142:9203) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Do53 Roost IPv4 TCP is back up in 27d7efa after 18 minutes.


text:
🛑 Do53 Roost IPv4 UDP is down

In 64df7d6, Do53 Roost IPv4 UDP (http://107.189.10.142:9202) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Do53 Roost IPv4 UDP is back up in 512ed74 after 9 minutes.


text:
Change the site-generating tool from Docsify

This issue is to track the progress of migrating from Docsify to an alternative.
Motivation
Redirect Web's support website is generated using Docsify, which is undoubtedly a great tool. However, normal search engines only index the top page (mshibanami.github.io/redirect-web) because the site is dynamically generated.
When I first created the support website, I wasn't overly concerned about this issue since the documentation didn't have much content. However, now that I've added many tips, warnings, and other information, it's time to reconsider my choice. Reaching this information through search engines is crucial, and I can't ignore that.
According to https://github.com/docsifyjs/docsify/issues/136#issuecomment-1973556725, the Docsify team has decided not to support SSG for now. Therefore, I should look for an alternative.
Candidates
Before adopting Docsify, I considered Docusaurus, GitBook, and a few others, but I didn't choose them. I can't remember why, but it's been two years since then, so it's time to take another look.

In the same boat, so following.

authors: Fmstrat mshibanami

repo: mshibanami/redirect-web


text:
Online tool isn't working

Unfortunatelly the online tool at https://prop-types.vercel.app/ isn't working.

Thanks for reporting.  I've found and fixed the issue.

authors: bsides mskelton

repo: mskelton/prop-types-to-ts

license: ISC


text:
Remove references to Transient Fault Handling Application Block

Fixes #551

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/best-practices/retry-service-specific.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

authors: MikeWasson VSC-Service-Account

repo: mspnp/architecture-center


text:
Pramp should be mentioned in this document.

It's a free peer to peer platform to help prepare you for technical interviews. Check out pramp.com

Closed by #117

authors: Mortuie siriniok

repo: mtdvio/every-programmer-should-know


text:
Add a list of keyword abilities, keyword actions, and ability words in card info

A list of keyword abilities, keyword actions, and ability words that each card has would be helpful.
https://github.com/mtgjson/mtgjson/issues/285

So no plans to make card-specific fields, just the game-wide list of all keywords and ability words?

Hmm... I think I misread your ticket then. Thought you wanted the global list. I can work on a new one that's card specific if you open a new ticket

I think either one works. Having only a global list adds an extra step for all the uses that need to know the keywords that are on a specific card, but it's not too hard to match them with a regex.


text:
🛑 https://detulkarm.edu.ps is down

In 5b4ca4e, https://detulkarm.edu.ps (https://detulkarm.edu.ps) was down:

HTTP code: 0
Response time: 0 ms

Resolved: https://detulkarm.edu.ps is back up in a8d5921.

repo: mtitservice/site


text:
🛑 https://db.hcys.ps is down

In 837fd56, https://db.hcys.ps (https://db.hcys.ps) was down:

HTTP code: 0
Response time: 0 ms

Resolved: https://db.hcys.ps is back up in d42a753.


text:
🛑 https://911.ps is down

In e637b55, https://911.ps (https://911.ps) was down:

HTTP code: 0
Response time: 0 ms

Resolved: https://911.ps is back up in 0974f61.


text:
🛑 https://www.pncecs.plo.ps is down

In 4781579, https://www.pncecs.plo.ps (https://www.pncecs.plo.ps) was down:

HTTP code: 0
Response time: 0 ms

Resolved: https://www.pncecs.plo.ps is back up in c18665d.


text:
🛑 https://minfo.ps is down

In 6298ba1, https://minfo.ps (https://minfo.ps) was down:

HTTP code: 0
Response time: 0 ms

Resolved: https://minfo.ps is back up in 56308d2.


text:
🛑 https://verify.moj.pna.ps is down

In eafd70d, https://verify.moj.pna.ps (https://verify.moj.pna.ps) was down:

HTTP code: 0
Response time: 0 ms

Resolved: https://verify.moj.pna.ps is back up in ba074e8.


text:
🛑 https://archive.minfo.ps is down

In fb3e0f9, https://archive.minfo.ps (https://archive.minfo.ps) was down:

HTTP code: 0
Response time: 0 ms

Resolved: https://archive.minfo.ps is back up in d8460ab.


text:
🛑 https://detulkarm.edu.ps is down

In 7387423, https://detulkarm.edu.ps (https://detulkarm.edu.ps) was down:

HTTP code: 0
Response time: 0 ms

Resolved: https://detulkarm.edu.ps is back up in 8067930.


text:
🛑 https://www.pncecs.plo.ps is down

In b883de3, https://www.pncecs.plo.ps (https://www.pncecs.plo.ps) was down:

HTTP code: 0
Response time: 0 ms

Resolved: https://www.pncecs.plo.ps is back up in 30d60fe.


text:
Sub menu

Although there aren't many options right now there will be more soon, I need to work out the best way to do it with the current routing setup.

No longer doing it this way...

license: mit

license_source: bigquery


text:
Execute region

Is your feature request related to a problem? Please describe.
Currently, the only way to execute a query is to use codelens or highlight the query and invoke the execute command.
Describe the solution you'd like
It would make it a lot easier to execute queries by only having to have the cursor in the bounds of the query and having vscode-sqltools recognize the bounds of the query. This usually corresponds to line breaks but a more robust logic can easily be developed based on keywords.
Describe alternatives you've considered
I currently click command-open_curly_bracket to jump to the previous line break, then shift-V to enter Vim-line-highlight mode. Followed by command-close_curly_bracket to jump to the next line break. After This is done, I can then proceed to press command-e command-e to run the highlighted query

Dup of https://github.com/mtxr/vscode-sqltools/issues/277. Closing.

authors: mtxr sshantt

repo: mtxr/vscode-sqltools


text:
Rename ComputeError exception

Same name as field on QCElemental FailedOperation object. Creates confusion.

Switched to qcio; no longer relevant.

repo: mtzgroup/chemcloud-client


text:
Called in wrong state: STATE_INPROGRESS

Hey,
I'm getting the error above on some of my connections:
Uncaught (in promise) Failed to set local answer sdp: Called in wrong state: STATE_INPROGRESS

Is this "normal behavior" or an issue with RTCMultiConnection?

I get the very same error message:
Uncaught (in promise) DOMException: Failed to set local answer sdp: Called in wrong state: STATE_INPROGRESS
Also it seems that the Id I get from "event.userid" inside the onmessage callback is always equal to the sender. How can that be? Something seems odd...

@cpetry If both users are using UNIQUE-userids then connection.onmessage MUST return correct values for event.userid.
Please test this demo: TextChat+FileSharing.html
Make sure to link /dist/rmc3.min.js. Also add console-logs for connection.onmessage event.

Code ref:

TextSenderReceiver.js#L25-L30
MultiPeersHandler.js#L479

Ahh I found my mistake:
I added this into the onopen callback
`this.connection.userid = event.userid;'
Now I get the correct event.userid.
Still I get these errors as mentioned above.
For now I'll just ignore them. BTW I use Chrome.

authors: cpetry dnish muaz-khan

repo: muaz-khan/RTCMultiConnection


text:
webrtc-experiment.com certificate expired

Certificate on https://www.webrtc-experiment.com/ exipired today.

Fixed.

authors: aquu muaz-khan

repo: muaz-khan/WebRTC-Experiment


text:
How to get black background with white tabs as seen in README?

How do you get a black background with white tabs as seen in README?
I'm using macOS 10.15.6, and setting theme to default gives me the light theme.

The theme turns dark when your system is in dark mode. If you're on "default" or "auto" during the day, you'll have to manually toggle dark mode on.

The theme turns dark when your system is in dark mode. If you're on "default" or "auto" during the day, you'll have to manually toggle dark mode on.

Ah no, I'm not talking about the complete dark theme, I'm talking about the dark theme with white tabs

Turning on system dark mode while using the "default" theme gives the equivalent of the dark theme

That was the default theme in Firefox. It's been a while but I think at some point I decided to check for default theme or light theme and override the CSS colours to match Chrome's light theme, and same for the dark theme and private browsing mode. The default theme originally had some overrides as well but I think this became too difficult to maintain and usually when people install this theme they expect it to look like Chrome (light or dark).
You can get this look pretty much exactly by using something like Firefox Color. MaterialFox will detect that you're using a custom theme and won't override the colours.
I still need to update the screenshot in the README to take out that middle image.

That was the default theme in Firefox. It's been a while but I think at some point I decided to check for default theme or light theme and override the CSS colours to match Chrome's light theme, and same for the dark theme and private browsing mode. The default theme originally had some overrides as well but I think this became too difficult to maintain and usually when people install this theme they expect it to look like Chrome (light or dark).
You can get this look pretty much exactly by using something like Firefox Color. MaterialFox will detect that you're using a custom theme and won't override the colours.
I still need to update the screenshot in the README to take out that middle image.

Oh okay thank you! I was partially worried you're not active on GitHub and this project would die... This project will remain maintained right?

Oh okay thank you! I was partially worried you're not active on GitHub and this project would die... This project will remain maintained right?
That's the plan. It does get harder to maintain as time goes on. Every Firefox update breaks things and more code must be added to fix them. You end up with quite a lot of old code which no longer does anything. Might need to do some "spring cleaning" and simplify the codebase at some point. I've been putting a few things off because of this but the intention is to fix most of these bugs.

Oh okay thank you! I was partially worried you're not active on GitHub and this project would die... This project will remain maintained right?

That's the plan. It does get harder to maintain as time goes on. Every Firefox update breaks things and more code must be added to fix them. You end up with quite a lot of old code which no longer does anything. Might need to do some "spring cleaning" and simplify the codebase at some point. I've been putting a few things off because of this but the intention is to fix most of these bugs.

Nice. Thanks!

authors: KhushrajRathod adamrobertt muckSponge

repo: muckSponge/MaterialFox


text:
Ability to recover a deleted tag

This will introduce a new command called /tags restore <tag: str> that is only usable by server managers. When used, it will undo the deletion of a tag with that name. If it conflicts with a new tag using the same name, it will prompt the user to delete or rename the new tag.
Part of #1.

Closed since I am happy with the current implementation

repo: mudkipdev/leaf