text:
Support for translate api call

Hey,
I am working on my script that translates all the kindle words user checks on Kindle and creates the flashcards. I find your library saving me a bit of work for english, but was wondering if you'd be interested in my contribution that will add translate call.

I think you have emailed the wrong person. I am not in the Oxford team.
Good luck my friend!
On Wed, Jun 27, 2018, 11:24 PM Piotr Kołodziej notifications@github.com
wrote:

Hey,
I am working on my script that translates all the kindle words user checks
on Kindle and creates the flashcards. I find your library saving me a bit
of work for english, but was wondering if you'd be interested in my
contribution that will add translate call.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/witoong623/OxfordDictionariesAPI/issues/1, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADdPPt6HcenwJRlHG-db82vfiO1NMa1zks5uBGh4gaJpZM4U6xGq
.

Don’t you own the project on GitHub?
shanti

On 28 Jun 2018, at 11:15, Aaron notifications@github.com wrote:
I think you have emailed the wrong person. I am not in the Oxford team.
Good luck my friend!
On Wed, Jun 27, 2018, 11:24 PM Piotr Kołodziej notifications@github.com
wrote:

Hey,
I am working on my script that translates all the kindle words user checks
on Kindle and creates the flashcards. I find your library saving me a bit
of work for english, but was wondering if you'd be interested in my
contribution that will add translate call.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/witoong623/OxfordDictionariesAPI/issues/1, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADdPPt6HcenwJRlHG-db82vfiO1NMa1zks5uBGh4gaJpZM4U6xGq
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@piotrkolodziej  This project is unofficial oxford dictionary API client written in C#, I created it when I was working on project that I had to use dictionary.  I didn't work on that project anymore.  Having said that, I'm interested, what do you mean by translate call?

Hey,
In your project you are consuming one endpoint:
I think it might be a good idea to add:
and also:
The last one retrieves the complete list of supported source and target languages.
Piotr

On 28 Jun 2018, at 13:41, witoong623 notifications@github.com wrote:
@piotrkolodziej https://github.com/piotrkolodziej This project is unofficial oxford dictionary API client written in C#, I created it when I was working on project that I had to use dictionary. I didn't work on that project anymore. Having said that, I'm interested, what do you mean by translate call?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/witoong623/OxfordDictionariesAPI/issues/1#issuecomment-400950729, or mute the thread https://github.com/notifications/unsubscribe-auth/Afx3m0rOuCiAsMBhvyy73XFFfV8ZGt6yks5uBI-pgaJpZM4U6xGq.

@piotrkolodziej I can't read you all of your message because you replied me via email, please use Github issue.

@witoong623 I updated the comment.

@piotrkolodziej That is interesting.  I would love to merge your PR for adding translation call.
I will implement GET /languages in a few days.
I already updated testing library of project and edited test code so that the test pass, the problem is not about the structure of models or deserialization but the order of lexicalEntries returned by API for a given word that I used to test last time changed.


text:
[Detox 20] funpermaproxy.callable | undefined is not a function

What happened?
❯ yarn detox build -c ios.staging
yarn run v1.22.17
$ /Users/frexuz/www/currenxie-mobile-react-native/node_modules/.bin/detox build -c ios.staging
/Users/frexuz/www/currenxie-mobile-react-native/node_modules/detox/src/realms/DetoxContext.js:73
  element = funpermaproxy.callable(() => this[symbols.worker].element);
                          ^
TypeError: undefined is not a function
    at DetoxPrimaryContext.<instance_members_initializer> (/Users/frexuz/www/currenxie-mobile-react-native/node_modules/detox/src/realms/DetoxContext.js:73:27)
    at new DetoxContext (/Users/frexuz/www/currenxie-mobile-react-native/node_modules/detox/src/realms/DetoxContext.js:20:14)
    at new DetoxPrimaryContext (/Users/frexuz/www/currenxie-mobile-react-native/node_modules/detox/src/realms/DetoxPrimaryContext.js:31:5)
    at Object.<anonymous> (/Users/frexuz/www/currenxie-mobile-react-native/node_modules/detox/src/realms/primary.js:3:18)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:93:18)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

What was the expected behaviour?
Tried follow the Migration instructions. Expecting build/test to work :)
Was it tested on latest Detox?

[X] I have tested this issue on the latest Detox release and it still reproduces.

Help us reproduce this issue!
No response
In what environment did this happen?
Detox version: 20.0.0
React Native version: 0.70.4
Node version: 14.18.1
Test-runner (select one): jest
Also

"jest": "29.3.1",
"ts-jest": "29.0.3",

Detox logs
No response
Device logs
No response
More data, please!
{
  "globalSetup": "detox/runners/jest/globalSetup",
  "globalTeardown": "detox/runners/jest/globalTeardown",
  "maxWorkers": 1,
  "preset": "ts-jest",
  "reporters": ["detox/runners/jest/reporter"],
  "setupFilesAfterEnv": ["./init.ts"],
  "testEnvironment": "detox/runners/jest/testEnvironment",
  "testTimeout": 300000,
  "verbose": true
}

init.ts
import { device } from 'detox'

beforeAll(async () => {
  await device.launchApp()
})

beforeEach(async () => {
  await device.reloadReactNative()
})

detox.config.js
module.exports = {
  testRunner: {
    $0: 'jest',
    args: {
      config: 'e2e/config.json',
      _: ['e2e'],
    },
  },
  behavior: {
    init: {
      exposeGlobals: process.env.DETOX_EXPOSE_GLOBALS === '0' ? false : true,
    },
  },
  apps: {
    'ios.staging.app': {
      type: 'ios.app',
      binaryPath:
        'ios/build/Build/Products/Release.Staging-iphonesimulator/CX Staging.app',
      build:
        "RN_SRC_EXT=e2e.ts,e2e.tsx,e2e.js xcodebuild -workspace ios/CurrenxieMobileReactNative.xcworkspace -scheme 'CurrenxieMobileReactNative - Release.Staging' -configuration Release.Staging -sdk iphonesimulator -derivedDataPath ios/build -parallelizeTargets -UseModernBuildSystem=YES | xcpretty",
    },
  },
  devices: {
    simulator: {
      type: 'ios.simulator',
      headless: process.env.CI ? true : undefined,
      device: {
        type: 'iPhone 13 Pro',
        os: 'iOS 15.2',
      },
    },
  },
  configurations: {
    'ios.staging': {
      device: 'simulator',
      app: 'ios.staging.app',
    },
  },
}

❯ cat node_modules/funpermaproxy/package.json
{
  "name": "funpermaproxy",
  "version": "1.0.1",

Thank you for the report!
The problem can be resolved either by re-creating yarn.lock file.
The generic fix is coming:
Thttps://github.com/wix/Detox/pull/3691

Upgrade your Detox dependency to ^20.0.1.
If the fix does not help, please reopen the issue.
Thanks for the report! 🙏

recreating yarn.lock worked 👌 20.0.1 should too :)

@kg-currenxie thanks again for the prompt report!
Would you consider adding currenxie to our showcase page? If so, please tap the join showcase button 🙏🏻

Hell yeah we would! :)

source: gharchive/issue

authors: d4vidi kg-currenxie noomorph

repo: wix/Detox

license: MIT

license_type: permissive

license_source: github-api


text:
xcodebuild puts binaries in different locations than expected

Description
In trying to get the example project tests running on a fresh machine, I ran into build problems. I actually ran into this same type of problem when installing applesimutils (https://github.com/wix/AppleSimulatorUtils/pull/9), so I'll quote myself:

xcodebuild takes a -derivedDataPath option that seems like it should place all build artifacts in that folder. But it seems like it only puts some artifacts in there, and it is still putting the binary in a different location (by default, in ~/Library/Developer/Xcode/DerivedData).

When running the example tests in release (or debug) mode per the instructions, I first get:
detox-server info 13:37:43: server listening on localhost:49933...
detox info 1: Searching for device matching iPhone 6...
detox info Building Detox.framework (5.8.1) into /Users/gerard/Library/Detox/ios/69ec938fe7df49aef2463408303498305f87bb24...
  1) "before all" hook

  0 passing (1m)
  1 failing

  1)  "before all" hook:
     Error: Command failed: /Users/gerard/_work/detox/examples/demo-react-native/node_modules/detox/scripts/build_framework.ios.sh "/Users/gerard/_work/detox/examples/demo-react-native/node_modules/detox" "/Users/gerard/Library/Detox/ios/69ec938fe7df49aef2463408303498305f87bb24"
mv: rename /Users/gerard/Library/Detox/ios/69ec938fe7df49aef2463408303498305f87bb24/DetoxBuild/Build/Products/Release-universal/Detox.framework to /Users/gerard/Library/Detox/ios/69ec938fe7df49aef2463408303498305f87bb24/Detox.framework: No such file or directory
 `/Users/gerard/_work/detox/examples/demo-react-native/node_modules/detox/scripts/build_framework.ios.sh "/Users/gerard/_work/detox/examples/demo-react-native/node_modules/detox" "/Users/gerard/Library/Detox/ios/69ec938fe7df49aef2463408303498305f87bb24"` (exited with error code 1)

This is because Detox.framework got put in ~/Library/Developer/Xcode/DerivedData/Build/Products/Release-universal/Detox.framework instead of where the script expects it: ~/Library/Detox/ios/.../DetoxBuild/Build/Products/Release-universal/Detox.framework.
If I append BUILD_DIR="${detoxFrameworkDirPath}"/DetoxBuild/Build/Products to the end of the xcodebuild command in scripts/build_framework.ios.sh, it puts it in the expected location.
Then, when I re-run detox test, I get the same type of error because detox build did not get put where expected:
detox-server info 14:07:06: server listening on localhost:58302...
  1) "before all" hook

  0 passing (90ms)
  1 failing

  1)  "before all" hook:
     Error: app binary not found at '/Users/gerard/_work/detox/examples/demo-react-native/ios/build/Build/Products/Release-iphonesimulator/example.app', did you build it?
      at Device._getAbsolutePath (node_modules/detox/lib/devices/Device.js:202:15)

Same problem with xcodebuild in package.json.
I'm not sure why this works out-of-the-box for some but not others. There is nothing unique about my Xcode installation AFAIK. I have updated it from the App Store for years. Also, I'm not an Xcode developer, so I don't know the difference between -derivedDataPath and BUILD_DIR. The Apple docs aren't helpful.
Steps to Reproduce

Just following the instructions for release mode in examples/demo-react-native/README.
Node, Device, Xcode and macOS Versions

Node: v8.6.0
Device: iPhone 6, iOS 11, simulator
Xcode: 9.0
macOS: Sierra 10.12.6

Thanks for opening this issue.
This bugs me, and I want to investigate this further. One workaround is we append that BUILD_DIR but I want to understand why it helps.
Could be related to location settings in Xcode preferences. Could you please paste a screenshot of those? Xcode (menu) -> Preferences -> Locations

@LeoNatan

💩
Thanks! I will investigate.

I had this issue a few months back with Xcode 8.3.3 after messing with the defaults. I took me a while to solve this.
Eventually I changed everything back to default, deleted and reinstalled Xcode. it now respects derivedDataPath again.

@LeoNatan @rotemmiz can you screenshot your location settings in Xcode if it is not default? I can try with that setup.

My settings are default in both the main screen and in Advanced.

Did you reinstall Xcode?

@LeoNatan I just had this problem, in the end, this was fixed?

authors: LeoNatan chirag04 hellogerard rotemmiz tastafur

repo: wix/detox


text:
Allow customization of navbar title font and size

This PR allows a user to pass navBarFontFamily and navBarFontSize in the style attribute.

Hi, we wanted to update you that we are currently postponing the processing of pull requests.
Please refer to React native controllers evolution, we'll appreciate your feedback.

source: gharchive/pull-request

authors: drorbiran nickw

repo: wix/react-native-controllers

license: mit

license_source: bigquery


text:
fix(ios): make it possible to install via CocoaPods

The podspec file was npm ignored, resulting in linking via CocaPods did not work

Why would this not be merged?

This is critical to merge for React Native 0.60 :)

1

+1

@sondremare Friendly ping 🤗

@Inbal-Tish Friendly ping 🤗

@Inbal-Tish could you please give a look at this PR? this is crucial to anyone upgrading to RN 0.60. thanks a lot!

I've just installed from master in the interim to include the podspec

Yeah, that's crucial!

Bumping this. @Inbal-Tish Can we get this approved?

BUMP!!!!!

bump again <3

Is this repo dead? This PR was opened 7 months ago and it changes 3 lines. Seriously no one can test and approve it? It clearly has nothing to do with Android build.

Redone in #300 - Original PR had some git reference messup (detached head, unreachable by CI, caused this PR build to fail).
I am closing this PR in favour of #300. Thanks for your contribution @sondremare, we'll make sure this is merged and published ASAP.

authors: DaBs ahanriat alexichristakis ammichael brandons congnguyen91 darran-kelinske-fivestars keithhackbarth mtzfactory rgoldiez rotemmiz sondremare

repo: wix/react-native-interactable


text:
 - added auto position

@tyv :*

repo: wix/stylable-components


text:
adding users to pubilc groups not working as expected

this issue im facing is that when i add new users to a public group, i see in chat history " admin added user " and it doesn't throw any exception in code, at this point everything is correct. But when i come to the group i see that the group number is not incrementing even after many refresh and i dont see the new user i just added in members part. very rarely one pass
like in 50 users added i see 5 truly added in group and number incremeted by 5.
please if anyone can help me with this one.

It's probably Telegram limiting spammers from adding people to random groups OR the users themselves leaving because spammers suck.  OR your group has been flagged as a spam group?

None of that is true, i tried on fresh groups and same thing ( fresh group is not flagged ofc ).
How can they leave if they are not even a part of the group in the first place ? Work ur mind just a littel bit

In any case, this is likely not an issue with the library but a question about Telegram API usage.
This kind of question should be asked on StackOverflow: https://stackoverflow.com/questions/ask?tags=wtelegramclient+telegram-api


text:
Support for rpcuser / rpcpassword instead of cookie file auth for bitcoind RPC

It was requested to me several times. I'd like to centralize the discussion in this issue.
Typically the situation where it could make sense is: you have a bitcoind running on your local network, and you'd rather reuse it instead of running another one on your laptop alongside Liana.
This is reasonable, however i think the usefulness of such a setup is overstated mainly due to 2 confusions:

It is trivial and lightweight to run bitcoind on your laptop. People still see bitcoind as a heavy process for some reason. You can trivially run a pruned bitcoind on your laptop. Once you've passed the IBD you'll barely notice it even on a low end machine. If you are not too concern about the bandwidth it's also the KISS solution to needing a bitcoind, instead of trying to over-optimize your setup so that all your process that need a bitcoind connect to a single box.
The RPC interface is not supposed to be accessed remotely. Sure, it might be reasonable to connect to a box running bitcoind on your LAN. But then what, when you want to use your Liana wallet from outside your LAN you start doing SSH tunnels?... Meh. Back to step 1. It's over-optimization, just run bitcoind locally on your laptop and save yourself the configuration time and brain process.

Finally, sure, Electrum is an alternative. See https://github.com/wizardsardine/liana/issues/56. Ideally we'd have something like https://github.com/wizardsardine/liana/issues/101 and everybody wouldn't even notice they are running a full node locally.

Ok, your approach makes total sense to me.
I also need to access my remote machine with user and password, but I can run a bitcoind and connect only to my remote instances as well.
However, the syncing time can be a problem, so it would be great to have a fallback backend that allows me to work with the wallet and switch to Bitcoin when it is ready.
For the core lightning plugin, I have designed it in a way that when the bitcoind are in pruning mode or syncing, it will fetch the block from the network directly or with the nakamoto implementation (a fork of it). I have implemented this design in the following repository: https://github.com/coffee-tools/folgore.
It would also be helpful to have a similar design with liana and use a pure bitcoind backend, along with another pure Bitcoin backend for faster startup and not have electrum-like solution.

However, the syncing time can be a problem, so it would be great to have a fallback backend that allows me to work with the wallet and switch to Bitcoin when it is ready.

Yeah i think the cleanest way forward for this is just to wait for assumeutxo. I'm hopeful we can have it by version 26 of Bitcoin Core.
See https://github.com/wizardsardine/liana/issues/101 for assumeutxo.
-------- Original Message --------
On May 14, 2023, 11:58 AM, Vincenzo Palazzo wrote:

Ok, your approach makes total sense to me.
I also need to access my remote machine with user and password, but I can run a bitcoind and connect only to my remote instances as well.
However, the syncing time can be a problem, so it would be great to have a fallback backend that allows me to work with the wallet and switch to Bitcoin when it is ready.
For the core lightning plugin, I have designed it in a way that when the bitcoind are in pruning mode or syncing, it will fetch the block from the network directly or with the nakamoto implementation (a fork of it). I have implemented this design in the following repository: https://github.com/coffee-tools/folgore.
It would also be helpful to have a similar design with liana and use a pure bitcoind backend, along with another pure Bitcoin backend for faster startup and not have electrum-like solution.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Oh, I am new to the assumeutxo I need to take a look thanks for sharing, there is any ongoing work in the bitcoin core regarding this?

Yes there is a link to the project in #101.
------- Original Message -------
On Sunday, May 14th, 2023 at 12:48 PM, Vincenzo Palazzo @.***> wrote:

Oh, I am new to the assumeutxo I need to take a look thanks for sharing, there is any ongoing work in the bitcoin core regarding this?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Leaving a vote for implementing this. People bought/built their Raspberry Pis and want to use them. Please consider either adding support for rpcuser / rpcpassword and ideally Tor, or integrate an SPV client into the Liana daemon. Keep the number of moving parts down for the user, especially if this wallet is meant to be usable by novices in multisig inheritance situations.

I would also like to use rpcuser and rpcpassword. I get that it is really easy to run a signet node locally and have it sync super quickly, but for a lot of people they dont want to run it locally. Im trying to connect Liana to a remote MutinyNet (signet) and I dont want to have to set it up on my own machine.

For my "production" level home infra I'm running bitcoind in its own VM in Proxmox. Fulcrum: its own VM. Local mempool.space, Tor proxy, Specter Desktop, SeedSigner OS build environment, etc, etc all separated.
Any local bitcoind instance is taken up and down in regtest as needed. And even that I might set up as its own regtest bitcoind VM.
I'm writing this from TABConf where I've been tethering from my phone the last two days since there's no conference wifi. Who knows what my data overage charges will be. If I wanted to use Liana on mainnet and but had to start syncing a local node... forget it.
"cookie-only" is just an unnecessary hill to die on.
Let me run my infra the way that makes the most sense for me.

Given the level of support for this feature, i'm considering it for the next release (v5). Note however we should be using -rpcauth and not -rpcuser/-rpcpassword which have been deprecated for more than 8 years (!) now.

Your terms are acceptable, excited to hear it. I do use rpcauth in my bitcoind config. But from the perspective of Liana, we are still passing it a username and password.

Closing this as https://github.com/wizardsardine/liana/pull/898 was merged which implements the possibility to auhenticate to bitcoind using username and password.

uuuuh thanks @darosior this is really good

As @pythcoiner notes elsewhere this would be awkward to use without a change to how the watchonly wallet is stored. See https://github.com/wizardsardine/liana/issues/1059#issuecomment-2024875956.

Yesh it does @darosior
Maybe improve the tracking of the wallet will help solo to move forward the nakamoto implementation

authors: cbergqvist darosior kdmukai kornpow vincenzopalazzo

repo: wizardsardine/liana


text:
مشکل اتصال به سرور در زمان خرید کانفیگ

سلام
ربات همه چیزش اوکی بود نه آپدیت زدم پنل ثنایی رو نه ربات رو، اما الان وقتی که مشتری پول پرداخت میکنه و کانفیگ رو میخواد بگیره این ارور رو میده :
❌ | 🥺 گلم ، اتصال به سرور برقرار نیست لطفا مدیر رو در جریان بزار ...
من حتی سرور رو کامل از ربات پاک کردم و دوباره تعریف کردم و لاگین شد. اما زمان خرید کانفیگ این خطا رو میده.
لطفا راهنمایی کنید که چجوری درستش کنم؟

این مشکل به دلیل اپدیت پنل ثنایی و علیرضا هست
پنل ثنایی ورژن ۲.۳.۱۱ اگ نصب داشته باشید اوکی میشه و این مشکل رو ندارین

حل شد؟؟ منم این مشکل رو دارم

authors: Rafaelfreeman TeleDark ravakili

repo: wizwizdev/wizwizxui-timebot


text:
./go-mysql-transfer -stock 运行时报错elastic: Error 503 (Service Unavailable)

[19 14:29:59 root@iZbp1i72h4fylprepdgn5nZ /data/go-mysql-transfer]# ./go-mysql-transfer -stock
2021-03-23 14:30:08.290079 I | process id: 7676
2021-03-23 14:30:08.290096 I | GOMAXPROCS :8
2021-03-23 14:30:08.290101 I | source  mysql(47.99.188.92:3306)
2021-03-23 14:30:08.290105 I | destination elasticsearch(http://127.0.0.1:9200)
2021-03-23 14:30:38.313107 I | elastic: Error 503 (Service Unavailable)
elastic: Error 503 (Service Unavailable)
/data/go-mysql-transfer/service/stock_service.go:85:
大佬：我按照安装说明最后执行全量同步时 提示 elastic: Error 503 (Service Unavailable)，请问是什么原因？求指教

最后检查是es配置问题，现在可以了


text:
[BUG]: Issues find by GCC address sanitizer

Problem description
Hi,
I'm compiling nanobind using GCC 10.2.0 with below flags:
cmake -DCMAKE_CXX_FLAGS="-fsanitize=address,undefined -fno-sanitize=vptr" .

If I run the unit tests in nanobind repo, I got two different errors:

~/nanobind/src/hash.cpp:39:18: runtime error: load of misaligned address 0x2ac17a14b0c1 for type 'const uint64_t', which requires 8 byte alignment
0x2ac17a14b0c1: note: pointer points here
 00 00 00  2a 5a 4c 33 30 6e 61 6e  6f 62 69 6e 64 5f 69 6e  69 74 5f 74 65 73 74 5f  63 6c 61 73 73
              ^

This one is easy to identify, it is due to the MurmurHash3_x64_64 function in src/hash.cpp when trying to convert a char* to uint64_t *:
const uint64_t * blocks = (const uint64_t *)(data);

Theoretically this is UB: https://stackoverflow.com/questions/13881487/should-i-worry-about-the-alignment-during-pointer-casting, although it won't be a problem in X86 and probably Arm.
But I'm wondering why cannot we directly use the std::hash<std::string_view> as the hashing function for type name? I won't worried about performance for using std::hash<std::string_view>. Both libc++ (which uses a mix of murmurhash or cityhash) and libstc++ (which uses murmurhash) implementation are quite fast. I'm not familiar with VS, but it is hard for me to image they didn't do similar things.

==7486==ERROR: AddressSanitizer: heap-use-after-free on address 0x619001a8c480 at pc 0x2ac17a0677c2 bp 0x7fff29084ea0 sp 0x7fff29084e98
WRITE of size 4 at 0x619001a8c480 thread T0
    #0 0x2ac17a0677c1  (~/nanobind/tests/test_classes_ext.cpython-39d-x86_64-linux-gnu.so+0x19f7c1)
    #1 0x2ac17a068647  (~/nanobind/tests/test_classes_ext.cpython-39d-x86_64-linux-gnu.so+0x1a0647)
    #2 0x2ac16fd54c98 in __run_exit_handlers (/lib64/libc.so.6+0x39c98)
    #3 0x2ac16fd54ce6 in exit (/lib64/libc.so.6+0x39ce6)
    #4 0x90aa93 in Py_Exit Python/pylifecycle.c:2437
    #5 0x923709 in handle_system_exit Python/pythonrun.c:723
    #6 0x924239 in _PyErr_PrintEx Python/pythonrun.c:733
    #7 0x925a37 in PyErr_PrintEx Python/pythonrun.c:828
    #8 0x925a82 in PyErr_Print Python/pythonrun.c:834
    #9 0x92a3fe in pyrun_simple_file Python/pythonrun.c:456
    #10 0x92a697 in PyRun_SimpleFileExFlags Python/pythonrun.c:483
    #11 0x92a86f in PyRun_AnyFileExFlags Python/pythonrun.c:92
    #12 0x4238b2 in pymain_run_file Modules/main.c:373
    #13 0x42633e in pymain_run_python Modules/main.c:598
    #14 0x42658e in Py_RunMain Modules/main.c:677
    #15 0x42674b in pymain_main Modules/main.c:707
    #16 0x426a3a in Py_BytesMain Modules/main.c:731
    #17 0x4210e0 in main Programs/python.c:15
    #18 0x2ac16fd3d504 in __libc_start_main (/lib64/libc.so.6+0x22504)
    #19 0x420fd8  (~/asan_build/python/3.9.9/bin/python3.9+0x420fd8)

0x619001a8c480 is located 0 bytes inside of 1024-byte region [0x619001a8c480,0x619001a8c880)
freed by thread T0 here:
    #0 0x2ac16dd6e867 in operator delete(void*, unsigned long) ~/tools/objdir/../gcc-10.2.0/libsanitizer/asan/asan_new_delete.cpp:172
    #1 0x2ac17a048b71 in std::vector<int, std::allocator<int> >::~vector() (~/nanobind/tests/test_classes_ext.cpython-39d-x86_64-linux-gnu.so+0x180b71)

previously allocated by thread T0 here:
    #0 0x2ac16dd6da47 in operator new(unsigned long) ~/tools/objdir/../gcc-10.2.0/libsanitizer/asan/asan_new_delete.cpp:99
    #1 0x2ac17a0670c3 in void std::vector<int, std::allocator<int> >::_M_realloc_insert<int const&>(__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >, int const&) (~/nanobind/tests/test_classes_ext.cpython-39d-x86_64-linux-gnu.so+0x19f0c3)

SUMMARY: AddressSanitizer: heap-use-after-free (~/nanobind/tests/test_classes_ext.cpython-39d-x86_64-linux-gnu.so+0x19f7c1)
Shadow bytes around the buggy address:
  0x0c3280349840: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0c3280349850: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0c3280349860: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0c3280349870: fd fd fd fd fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c3280349880: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
=>0x0c3280349890:[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0c32803498a0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0c32803498b0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0c32803498c0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0c32803498d0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0c32803498e0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
  Shadow gap:              cc
==7486==ABORTING

No really sure what is wrong here, so your expertise is needed.
Reproducible example code
No response

That's a fair point regarding the verbatim copy of MurmurHash. I switched to std::hash. The other issue was a bug in the test suite, not the main codebase -- thanks for catching that.
I'm curious -- what does the -fno-sanitize=vptr do?

authors: wjakob zhqrbitee

repo: wjakob/nanobind


text:
Wrong API version on Azure endpoint?

Hi when I request the API I get the following response:
:uri https://bali.openai.azure.com/openai/deployments/gpt-4-0613/chat/completions?api-version=2023-12-01-preview, :content-type-params {}, :version :http-1.1, :body {"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}}
; Caught an exception during OpenAI API call: Interceptor Exception: status: 401

I compared the two strings and the only difference is the API version:
Used by the API:
https://bali.openai.azure.com/openai/deployments/gpt-4-0613/chat/completions?api-version=2023-12-01-preview
Provided by azure:
https://bali.openai.azure.com/openai/deployments/gpt-4-0613/chat/completions?api-version=2023-03-15-preview
What am I missing? Here's the code:
response (api/create-chat-completion
                          {:messages [{:role "user" :content dynamic-message}]
                           :temperature 0.8
                           :max_tokens 4096
                           :top_p 1
                           :model "gpt-4-0613"
                           :frequency_penalty 0.0
                           :presence_penalty 0.0}
                          {:impl :azure
                           :api-key api-key
                           :api-endpoint api-endpoint})

I found where it is set in the code but I'm too new to know how to proceed :)
(azure.clj)
(defn patch-params [params]
{:api-version "2023-12-01-preview"
:deployment-id (:model params)
:martian.core/body (dissoc params :model)})

Yes works perfectly thank you, I'm sorry I missed this! Appreciate the help 🙏

repo: wkok/openai-clojure


text:
Compile for gpu errors on windows

d:\Projects\winjo>venv\Scripts\activate.bat

(venv) d:\Projects\winjo>pip install -r requirements_gpu.txt
Collecting Flask (from -r requirements_gpu.txt (line 1))
  Obtaining dependency information for Flask from https://files.pythonhosted.org/packages/36/42/015c23096649b908c809c69388a805a571a3bea44362fe87e33fc3afa01f/flask-3.0.0-py3-none-any.whl.metadata
  Using cached flask-3.0.0-py3-none-any.whl.metadata (3.6 kB)
Collecting Flask-Cors (from -r requirements_gpu.txt (line 2))
  Obtaining dependency information for Flask-Cors from https://files.pythonhosted.org/packages/10/69/1e6cfb87117568a9de088c32d6258219e9d1ff7c131abf74249ef2031279/Flask_Cors-4.0.0-py2.py3-none-any.whl.metadata
  Using cached Flask_Cors-4.0.0-py2.py3-none-any.whl.metadata (5.4 kB)
Collecting pyyaml (from -r requirements_gpu.txt (line 3))
  Obtaining dependency information for pyyaml from https://files.pythonhosted.org/packages/2b/9f/fbade56564ad486809c27b322d0f7e6a89c01f6b4fe208402e90d4443a99/PyYAML-6.0.1-cp312-cp312-win_amd64.whl.metadata
  Using cached PyYAML-6.0.1-cp312-cp312-win_amd64.whl.metadata (2.1 kB)
Collecting loguru (from -r requirements_gpu.txt (line 4))
  Obtaining dependency information for loguru from https://files.pythonhosted.org/packages/03/0a/4f6fed21aa246c6b49b561ca55facacc2a44b87d65b8b92362a8e99ba202/loguru-0.7.2-py3-none-any.whl.metadata
  Using cached loguru-0.7.2-py3-none-any.whl.metadata (23 kB)
Collecting numpy==1.23.5 (from -r requirements_gpu.txt (line 5))
  Using cached numpy-1.23.5.tar.gz (10.7 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
ERROR: Exception:
Traceback (most recent call last):
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_internal\cli\base_command.py", line 180, in exc_logging_wrapper
    status = run_func(*args)
             ^^^^^^^^^^^^^^^
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_internal\cli\req_command.py", line 248, in wrapper
    return func(self, options, args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_internal\commands\install.py", line 377, in run
    requirement_set = resolver.resolve(
                      ^^^^^^^^^^^^^^^^^
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_internal\resolution\resolvelib\resolver.py", line 92, in resolve
    result = self._result = resolver.resolve(
                            ^^^^^^^^^^^^^^^^^
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 546, in resolve
    state = resolution.resolve(requirements, max_rounds=max_rounds)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 397, in resolve
    self._add_to_criteria(self.state.criteria, r, parent=None)
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 173, in _add_to_criteria
    if not criterion.candidates:
           ^^^^^^^^^^^^^^^^^^^^
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_vendor\resolvelib\structs.py", line 156, in __bool__
    return bool(self._sequence)
           ^^^^^^^^^^^^^^^^^^^^
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 155, in __bool__
    return any(self)
           ^^^^^^^^^
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 143, in <genexpr>
    return (c for c in iterator if id(c) not in self._incompatible_ids)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 47, in _iter_built
    candidate = func()
                ^^^^^^
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_internal\resolution\resolvelib\factory.py", line 206, in _make_candidate_from_link
    self._link_candidate_cache[link] = LinkCandidate(
                                       ^^^^^^^^^^^^^^
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 293, in __init__
    super().__init__(
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 156, in __init__
    self.dist = self._prepare()
                ^^^^^^^^^^^^^^^
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 225, in _prepare
    dist = self._prepare_distribution()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 304, in _prepare_distribution
    return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_internal\operations\prepare.py", line 538, in prepare_linked_requirement
    return self._prepare_linked_requirement(req, parallel_builds)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_internal\operations\prepare.py", line 653, in _prepare_linked_requirement
    dist = _get_prepared_distribution(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_internal\operations\prepare.py", line 69, in _get_prepared_distribution
    abstract_dist.prepare_distribution_metadata(
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_internal\distributions\sdist.py", line 48, in prepare_distribution_metadata
    self._install_build_reqs(finder)
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_internal\distributions\sdist.py", line 118, in _install_build_reqs
    build_reqs = self._get_build_requires_wheel()
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_internal\distributions\sdist.py", line 95, in _get_build_requires_wheel
    return backend.get_requires_for_build_wheel()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_internal\utils\misc.py", line 697, in get_requires_for_build_wheel
    return super().get_requires_for_build_wheel(config_settings=cs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_impl.py", line 166, in get_requires_for_build_wheel
    return self._call_hook('get_requires_for_build_wheel', {
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_impl.py", line 321, in _call_hook
    raise BackendUnavailable(data.get('traceback', ''))
pip._vendor.pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call last):
  File "d:\Projects\winjo\venv\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 77, in _build_backend
    obj = import_module(mod_path)
          ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\importlib\__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1381, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1354, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1304, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1381, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1354, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1325, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 929, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 994, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "C:\Users\vovap\AppData\Local\Temp\pip-build-env-26xzfc6z\overlay\Lib\site-packages\setuptools\__init__.py", line 10, in <module>
    import distutils.core
ModuleNotFoundError: No module named 'distutils'```

Привет. Какая у вас версия Python?

Обязательно эту версию питона ставить? Выше не подойдёт?

Да, обязательно. В документации, не просто так написано, что требуется только Python3.10

Решилось через
pip install torch==2.0.0+cu118 torchvision==0.15.1+cu118 --extra-index-url https://download.pytorch.org/whl/cu118

После установке torch c cuds вы можете установить xformers, он позволяет уменьшить потребление памяти для video2video

может в вики дополнить этими шагами инструкуцию, чтобы уж точно с первого раза завелось у всех? =)
тоже догуглил до схожего способа. ну и если всё именно так делать, то оставить атм ссылку именно на CU11.8. чтобы со свежей не маялись пользователи

может в вики дополнить этими шагами инструкуцию, чтобы уж точно с первого раза завелось у всех? =)
тоже догуглил до схожего способа. ну и если всё именно так делать, то оставить атм ссылку именно на CU11.8. чтобы со свежей не маялись пользователи

Привет. Чуть позже, сейчас передаю готовый портативный билд для Виндовс GPU. Скоро появится на сайте

authors: VladimirPobedinskiy jimdi wladradchenko


text:
do not send auth headers on redirect to different host

Addresses #13.

Thanks - these all make sense. My GitHub collaboration knowledge is also at
the relative novice stage - should I squash these changes into this commit
and then force push, or something else?
Steve
On Mon, Jan 17, 2022 at 9:26 AM Wojtek Mach @.***>
wrote:

@.**** commented on this pull request.
This is great, I left a few comments below.
In lib/req/request.ex
https://github.com/wojtekmach/req/pull/67#discussion_r786098789:

@@ -24,6 +24,9 @@ defmodule Req.Request do

 * `:error_steps` - the list of error steps

:location_trusted - if false, authorization headers are not

 sent to different hosts on redirects. Defaults to `false`.

In the future we also want to control redirects with :max_redirects
option (#64 https://github.com/wojtekmach/req/issues/64) so instead of
adding a new field to the struct, let's change follow_redirects/1 to
follow_redirects/2 where the 2nd argument is options keyword list.
See how retry is configured in put_default_steps for a similar idea.
In lib/req/steps.ex
https://github.com/wojtekmach/req/pull/67#discussion_r786101752:

@@ -829,4 +825,31 @@ defmodule Req.Steps do

defp parse_netrc([], nil, acc) do
 acc

end

defp put_redirect_location(request, location) do

if String.starts_with?(location, "/") do

 url = URI.parse(location)

 update_in(request.url, &%{&1 | path: url.path, query: url.query})

else

 url = URI.parse(location)

 put_in(request.url, url)

end

end

defp remove_credentials_if_untrusted(%{location_trusted: true} = request, _), do: request

defp remove_credentials_if_untrusted(%{url: url} = request, location) do

if URI.parse(location).host == url.host do

it seems we're calling URI.parse(location) here for the 2nd time, first
time was in put_redirect_location. Could you change it to do the parsing
just once? Maybe like this?
location = URI.parse(location)
request =
request

|> remove_credentials_if_untrusted(location)

|> put_redirect_location(location)

In lib/req/steps.ex
https://github.com/wojtekmach/req/pull/67#discussion_r786102622:

defp remove_credentials_if_untrusted(%{location_trusted: true} = request, _), do: request

defp remove_credentials_if_untrusted(%{url: url} = request, location) do

if URI.parse(location).host == url.host do

 request

else

 remove_credentials(request)

end

end

defp remove_credentials(request) do

headers = List.keydelete(request.headers, "authorization", 0)

request_steps = Enum.reject(request.request_steps, fn {_, step, _} -> step == :auth end)

struct(request, headers: headers, request_steps: request_steps)

⬇ Suggested change

struct(request, headers: headers, request_steps: request_steps)

%{request | headers: headers, request_steps: request_steps}

In test/req/steps_test.exs
https://github.com/wojtekmach/req/pull/67#discussion_r786103860:

 location = c.url <> "/auth"

 assert auth_header in conn.req_headers

 conn

 |> Plug.Conn.put_resp_header("location", location)

 |> Plug.Conn.send_resp(302, "redirecting to #{location}")

end)

Bypass.expect(c.bypass, "GET", "/auth", fn conn ->

 assert auth_header in conn.req_headers

 Plug.Conn.send_resp(conn, 200, "ok")

end)

assert ExUnit.CaptureLog.capture_log(fn ->

        assert Req.get!(c.url <> "/redirect", auth: {"foo", "bar"}).status == 200

I think we're missing setting location_trusted: true
—
Reply to this email directly, view it on GitHub
https://github.com/wojtekmach/req/pull/67#pullrequestreview-854534806,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAASLT7BDCSKKG373PECJFLUWQYIVANCNFSM5MDN3SCA
.
You are receiving this because you authored the thread.Message ID:
@.***>

You don't have to manually squash as I can easily do that when merging using the "Squash and merge" button. But basically do whatever works for you best!

Thank you!

authors: srowley wojtekmach

repo: wojtekmach/req


text:
Issue rendering partials

Hello, thanks for writing this loader. Just having some issues rendering partials. Getting the error cannot find module.
I have my webpack.config.js file set up. And a JavaScript file to handle rendering of a core template, and inside of this is a partial.
var dust = require('dustjs'); var template = require('../views/index.dust'); template('', callback); function callback (err, result) { 	var rootClass = document.getElementsByClassName('root')[0]; 	rootClass.innerHTML = result; }
And in my template is this...

{>"somePartial"/}

Any ideas? Appreciate any help. Thanks.

Hi James, thanks for taking a look at the project.
My guess is that the issue is you haven't set an appropriate root in the loader options: https://github.com/wombatsecurity/dust-loader-complete#root. The loader turns the template's path into a template name. By setting the root, we remove everything between the webpack root directory and the specified root directory from the name.
Let me know if that helps (or not).

Okay, makes sense. I've started going down another track for dustjs implementation with Webpack, but can take another look in future. Thanks!!

Hi,
I have (had ?) the same problem. When I use a partial, I encounter an error saying the "Module not found". I created a minimal github project  that throw the error. Just clone it, do the npm install, and open the http://localhost:8080/index.html.
The following is my webpack.config.js file:
const path = require('path');

module.exports = {
  context: path.join(__dirname,"src"),
  entry: {
    app: "./app.js"
  },
  output: {
    path: path.join(__dirname,"dist"),
    filename: '[name].bundle.js',
    publicPath: 'http://localhost:8080/dist/'
  },
  resolve: {
    modules: [path.join(__dirname, 'node_modules')],
    alias: {
      'dustjs' : 'dustjs-linkedin'
    }
  },
  module: {
    rules: [
      {
        test: /\.dust$/,
        use : [
          {
            loader: "dust-loader-complete",
            options:{
              root: path.join(__dirname, "src","templates"),
              verbose: true,
              dustAlias: "dustjs"
            }
          }
        ]
      }
    ]
  }
};

Then I have the following hello-world.dust file:

Hello {name}!

{> "partial-template" /}

and partial-template.dust contains a simple html element:

Hello from partial

The app.js file contains:
var helloWorldTemplate = require("./templates/hello-world.dust");

var dust = require("dustjs");
var $ = require("jquery");

 // When th page is loaded
$(function() {

	dust.render(helloWorldTemplate, {name: "world"}, function(err, html){
	    if(err){
	      console.err(err);
	    } else {
	      $('#greeting').html(html);
	    }
	});

});

and finally the index.html file contains:
<!doctype html>

Starting webpack-dev-server throws the following error;
ERROR in ./src/templates/hello-world.dust
Module not found: Error: Can't resolve 'partial-template' in '/Users/farshad/Documents/webpack/src/templates'
 @ ./src/templates/hello-world.dust 1:45-72
 @ ./src/app.js
 @ multi (webpack)-dev-server/client?http://localhost:8080 ./app.js

Then I went through the code (index.js file) of dust-loader-complete. I found the problem in addDustDependency function.

1. // Add a dust dependency to the dependency array, returning the normalized path/name
2. function addDustDependency( require_path, source_path, options, deps ) {
3. var name = determinePartialName( require_path, source_path, options );
4. deps.push( "var partial" + deps.length + " = require('" + name + "');" );
5. return name;
6. }

The name variable in line 4 cannot be resolved. Then I change that line to contain the absolute path together with .dust extension.

//deps.push( "var partial" + deps.length + " = require('" + path.resolve(options.root, name + ".dust") + "');" );

and it worked! I do not know if there is a better way than this workaround!
@jrrbru Do you have any idea?
Thanks

Hi @farshadahmadi I think I found the issue. I was able to get your project to work by making the following changes to the resolve node in webpack.config.js:
modules: [path.join(__dirname, 'node_modules'), path.join(__dirname, 'src/templates')],
extensions: ['.js','.dust'],

This is necessary because a) the partials are being converted into "absolute" requires based on the root option, and webpack needs to know where to look for them, and b) the requires by default omit the .dust extensions.
I think I may fix these issues in a future update.

It worked perfectly. I knew that this can be solved by editing Webpack config file, but I did not know "how"!!! Thank you @jrrbru :-)

authors: farshadahmadi jrrbru puffstream

repo: wombatsecurity/dust-loader-complete


text:
Implement Refresher for GitLab and refactor nits

This is is not tested yet!!!
close #1019

Codecov Report

Merging #1031 (f9a2b68) into master (1e8d4cc) will decrease coverage by 0.12%.
The diff coverage is 0.00%.

:exclamation: Current head f9a2b68 differs from pull request most recent head 204c664. Consider uploading reports for the commit 204c664 to get more accurate results

@@            Coverage Diff             @@
##           master    #1031      +/-   ##
==========================================
- Coverage   51.27%   51.15%   -0.13%
==========================================
  Files          81       81
  Lines        6157     6172      +15
==========================================
  Hits         3157     3157
- Misses       2817     2832      +15
  Partials      183      183

Impacted Files
Coverage Δ

server/remote/gitea/gitea.go
37.57% <0.00%> (+0.34%)
:arrow_up:

server/remote/gitlab/gitlab.go
25.78% <0.00%> (-1.17%)
:arrow_down:

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 1e8d4cc...204c664. Read the comment docs.

->  #1120

repo: woodpecker-ci/woodpecker


text:
No route was found matching the URL and request method

Very simple test doesn't seem to be working.
import sys
from woocommerce import API
wcapi = API(
url="https://",
consumer_key="ck_blahblahblah",
consumer_secret="cs_blahblahblah",
wp_api=True,
version="wc/v1"
)
print(wcapi.get("products").json())
returns {u'message': u'No route was found matching the URL and request method', u'code': u'rest_no_route', u'data': {u'status': 404}}
However, when run the following command I get a good return:
curl "https:///wc-api/v3/products?consumer_key=ck_blahblahblah&consumer_secret=cs_blahblahblah&wp_api=True&version=wc/v2&search=ATIGFX45GI"

Are you using WooCommerce 2.6?
Because only WooCommerce 2.6 have integration with WP REST API like you are using in your settings wp_api=True, version="wc/v1" ;)

authors: bsteph claudiosmweb

repo: woothemes/wc-api-python


text:
프로필 페이지에서 내가 작성한 글이 보이지 않는 이슈

작성한 글이 있는데, 프로필 페이지에서 확인이 안됩니다.
네트워크탭을 확인 했을 때 요청은 정상적으로 보내고, 응답을 받는데,  필터링 된 결과물로 빈 배열이 날아옵니다 ㅠㅠ (totalSize 가 4인데 배열은 빈배열입니다)
베타페이지를 확인 한 바로는 조회 당일 작성된 포스트만, 프로필 페이지에서 확인이 가능하고, 조회일 이전 포스트는 보이지 않습니다.
확인부탁드립니다.

놓친 부분이 있었네요ㅎㅎ 제보 고마워여~
https://github.com/woowacourse/prolog/commit/b30a8969f4209b661f44b16b044b0ae66ef6a880

repo: woowacourse/prolog


text:
Prevent switching to newly added windows

Resolves #159
The only change is preventing AddWindow to switching to the window:
https://github.com/workspacer/workspacer/blob/7f2dc71474037667c986b1b1df7d3c5e70eb80d7/src/workspacer/Workspace/WorkspaceManager.cs#L347-L352
All the other changes seem to be due to a mismatch between line endings (sorry).

This PR seems to co flare two things (Win11-fix and real bug fix) but otherwise looks ok to me.

authors: dalyIsaac josteink

repo: workspacer/workspacer


text:
How to start this thing up?

Hey there,
somehow I always get this error
Could not validate proper store setup Response code 401 (Unauthorized)

But I have correctly created two apps and have copied the app key and app password.

Can you please help me?
Kind regards

Hi!
You need to use the access token as the password (the first value with dots and blacked out in your screenshot).
Since the access token was revealed, you may need to uninstall and reinstall your app to generate a new token

Perfect, thank you!

authors: FrazeColder alexleclair

repo: workwithpact/StoreDuplicator


text:
Start to add better error typing

Motivation

Solution

PR Checklist

[ ] Added Tests
[ ] Added Documentation
[ ] Updated the changelog

Codecov Report

Merging #101 (91948b0) into main (75e7524) will increase coverage by 0.14%.
The diff coverage is 76.19%.

@@            Coverage Diff             @@
##             main     #101      +/-   ##
==========================================
+ Coverage   39.59%   39.73%   +0.14%
==========================================
  Files          14       14
  Lines        4723     4741      +18
==========================================
+ Hits         1870     1884      +14
- Misses       2853     2857       +4

Flag
Coverage Δ

test
39.73% <76.19%> (+0.14%)
:arrow_up:

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

Impacted Files
Coverage Δ

src/server.rs
19.54% <76.19%> (+1.77%)
:arrow_up:

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 75e7524...91948b0. Read the comment docs.

authors: codecov-commenter lucasege

repo: worldcoin/signup-sequencer