text:
Incompatibility with CIT Resewn textures in Inventory

I've seen this bug reported with Optifine/Optifabric to a but to report it in a more concise way, I'll do so here.
As far as I've seen, CIT replacements are bugged in the inventory.
Strangely enough, they seem to render with their appropriate cit textures elsewhere.
Screenshots demonstrating this are below: (if it works)

the Redstone in the Hotbar appears with the regular default texture,  however, In the player's hand (both first and third person), and  as a dropped item, the texture changes following the CIT of the resource pack
additionally, and possibly related, food animations also don't render in the inventory.
through basic testing, the type of CIT doesn't appear to matter, just the fact that the item has changed.

Thanks for screenshots

CIT reserwn adds such a pouch or what is it?

Not they simply use a pack that has CIT in it

This is a duplicate of #9

fixed soon


text:
🛑 Language Explorer production is down

In ca0cdbe, Language Explorer production (https://app.languageexplorerapp.co.uk/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Language Explorer production is back up in d95f638.

source: gharchive/issue

repo: TherapyBox/upptime

license: MIT

license_type: permissive

license_source: github-api


text:
Dodanie odznak

Dodaj w grze odblokowanie poniższych odznak. W razie potrzeby dodaj do drużyny odpowiednie pola, aby śledzić potrzebne statystyki. Pomiń odznaki zależne od czarnej skrzynki.

Opis odznak.txt

Update: Dodajcie też przy tworzeniu nowej drużyny tworzenie sie poszczególnych odznak wewnątrz listy odznak tej drużyny.


text:
🛑 Linkedin is down

In d48700c, Linkedin (https://www.linkedin.com) was down:

HTTP code: 429
Response time: 111 ms

Resolved: Linkedin is back up in 4711c67 after 199 days, 5 hours, 36 minutes.

repo: Thexyz/downly


text:
fix(docs): invalid JSON doesn't match real type

Actual DataFormat is 'json' | 'yaml'

Thanks for this @pnodet 🤙

source: gharchive/pull-request

authors: pnodet simonswiss

repo: Thinkmill/keystatic


text:
Spam Domain Submission

Duplicate Domains

[X] Yes, I checked that the domain is not currently in the list
[X] I read the wiki explaining each different categories and examples before submitting

(Required) Spam Comment Direct Link
https://www.youtube.com/watch?v=6l3Q9DjbQ7A&lc=UgzNxEsRmNH_9N-cktd4AaABAg
https://www.youtube.com/watch?v=6l3Q9DjbQ7A&lc=UgwSb9S-Tj3qXdfmgDl4AaABAg
(Optional) Screenshot of comments using the domain

(Required) List of the spam domains
von.monster
savilaa.uno

Deals with the new comments mentioned in https://github.com/ThioJoe/YT-Spammer-Purge/issues/868#issuecomment-1162088672

repo: ThioJoe/YT-Spam-Lists


text:
处理失败！ TypeError: JSONDecoder.init() got an unexpected keyword argument 'encoding'

描述
在使用签到时提示
处理失败！
TypeError: JSONDecoder.__init__() got an unexpected keyword argument 'encoding'

日志中具体报错为

03-21 19:16:47 [ERROR] plugins | Traceback (most recent call last):
  File "/home/xdisrbq/XDbot2/src/plugins/Core/plugins/sign.py", line 24, in sign_handler
    origin_data = user.get_user_data(qq)
  File "/home/xdisrbq/XDbot2/src/plugins/Core/plugins/etm/user.py", line 12, in get_user_data
    return json.load(open("data/etm/users.json"), encoding="utf-8")[user_id]
  File "/usr/lib/python3.10/json/__init__.py", line 293, in load
    return loads(fp.read(),
  File "/usr/lib/python3.10/json/__init__.py", line 359, in loads
    return cls(**kw).decode(s)
TypeError: JSONDecoder.__init__() got an unexpected keyword argument 'encoding'

经测试 cave-a 也出现了该问题
重现步骤
/sign
截图

encoding="utf-8"加到json.load里了（（（（（

authors: This-is-XiaoDeng montmorillonite-CN


text:
evaluation code

Hi, thanks for your great work. Is there any plan to release the full evaluation code on GSM8K and Line Retrival?

Hi, we use lm_eval to evaluate GSM8k and longeval to evaluate Line Retrieval.

Thanks for your reply!
I have another question. According to paper, 10% probe tokens are selected for attention scores computation. But in code, it seems that during decoding phase, only 1 probe token is selected in every 100 steps, rather than 10 probe tokens.
Please correct me if I misunderstand something. Thanks a lot!

authors: SherrySwift ThisisBillhe

repo: ThisisBillhe/ZipCache


text:
Testing Datasets download link is not working

Testing Datasets download link is not working

+1

+1

+1

authors: Adam-yes ArenFrank cszw sixianwb

repo: Thmen/EGVSR


text:
Projects Data not showing in Page

Data can be written into Firebase using the form in the Projects Page but it is not shown in the Page itself.

Solved using ec17e4a by changing project-list.ts

repo: ThomasSchoenbeck/TimeDish

license: mit

license_source: bigquery


text:
🛑 x5i5 Plex2 is down

In a20cb7c, x5i5 Plex2 ($X5I5_PLEX2) was down:

HTTP code: 404
Response time: 89 ms

Resolved: x5i5 Plex2 is back up in ad9be32.

repo: Thomvh/thvmh-uptime


text:
Update sbt-best-practice to 8.2.0

Updates com.thoughtworks.sbt-best-practice:sbt-best-practice from 7.2.0 to 8.2.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.thoughtworks.sbt-best-practice", artifactId = "sbt-best-practice" } ]

labels: sbt-plugin-update, early-semver-major, semver-spec-major

Superseded by #107.


text:
🛑 tesetter is down

In ac2c7ac, tesetter (https://teset-min.farhansamil.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: tesetter is back up in 9c3737c.

repo: Thunderoar/upper


text:
🛑 tesetter is down

In b41a6f9, tesetter (https://teset-min.farhansamil.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: tesetter is back up in e34e892.


text:
Parser doesn't recover after new A|

Another issue that @profelis reported earlier:
package ;
class Main {
    public function new() {
    }

    private static function main():Void {
        trace("hello world");

        var s = "";
        var d = Date.now();
        trace(d);

        test();

        new RT|
    }

    static public function test() {

    }
}

class RTask {
    public var a:Int;

    public function new() {

    }

}

The problem is that parser chokes on new A| and it should recover after it somehow, but it doesn't, so all data below this new expression statement doesn't get parsed properly.
TIR: STB-7293

This is fixed in the ClassHierarchy branch, though it's not worth creating a release just for it.  If you want to test within the next week, then you can build from source.  763d87f and 1bfef9d

verified the fix on ClassHierarchy branch

repo: TiVo/intellij-haxe


text:
how to read audio files from memory

hi i am working at wasm and would like to use this create to parse audio meta data. since the program runs at a browser i can not use the file system. instead i get Vec<u8> which stores the file.

I imagine all of the backend crates allow you to read/write with Vec<u8>, so it should be straightforward to add support if you want to make a PR.
Otherwise, you could use lofty which is WASM compatible.

@Serial-ATA  Thanks for the create recommendation. I have  start using symphonia and mp4ameta (symphonia was not able to parse metadata from m4b/mp4).
But lofty looks promising too. I will probably replace mp4ameta with it.
Although the issue is solved for me, i keep open the issue, since this feature is something which is still useful for this create.
@TianyiShi2001 feel free to close.
:christmas_tree: :santa:

lofty provides this, closing.

authors: LuckyTurtleDev Serial-ATA pinkforest


text:
Not sure if Tidier.jl is reexporting..

I updated the package and was curious to try just using Tidier to access the other package, but I am getting errors when trying to use @nest or str_detect, but @filter for example works, otherwise I have to write using TIdierData (for @nest) or using TidierStrings for str_detect
it is also possible there is an issue on my end in which case I will figure it out. Just wanted to make sure it's not universal

Go to the package console and type in status. What versions of Tidier/TidierData are in your environment?

⌃ [f0413319] Tidier v0.7.7
  [79ddc9fe] TidierCats v0.1.1
  [fe2206b3] TidierData v0.14.4
  [20186a3f] TidierDates v0.2.0
  [337ecbd1] TidierPlots v0.5.3
  [248e6834] TidierStrings v0.2.0
  [8f0b679f] TidierText v0.1.1 `https://github.com/TidierOrg/TidierText.jl#main`
  [969b988e] TidierVest v0.4.3

Try updating Tidier itself. That's a really old version of Tidier.

Sweet. It worked. Strange, when i went to update Tidier this am it went to .7.7 but just now it went 1.2 and everything works. Happy the issue was just on my end.


text:
NameError: name 'cuda_setup' is not defined

@w-firm I think Its an issue with the GPU. Make sure you are using a Turing or Ampere GPU.

this issue because the GPU Compute capability < 7.5 , you can try A4-A100

authors: evelinedurom snail2lzq w-firm

repo: TimDettmers/bitsandbytes


text:
Failed to build due to C++ error

/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:

Same error here:
CUDA_VERSION=117 make cuda11x
ENVIRONMENT
============================
CUDA_VERSION: 117
============================
NVCC path: /usr/bin/nvcc
GPP path: /usr/bin/g++ VERSION: g++ (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
CUDA_HOME: /usr
CONDA_PREFIX:
PATH: /home/prinova/.local/bin:/home/prinova/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program Files/WindowsApps/Microsoft.PowerShellPreview_7.4.3.0_x64__8wekyb3d8bbwe:/mnt/d/Programms/Programming/Cuda/bin:/mnt/d/Programms/Programming/Cuda/libnvvp:/mnt/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler:/mnt/d/Programms/Programming/Python/Scripts/:/mnt/d/Programms/Programming/Python/:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/d/Programms/Programming/Android/android-ndk:/mnt/d/Programms/Com/WGet:/mnt/d/Programms/Programming/Android/android-sdk/platform-tools:/mnt/d/Programms/Production/Calibre/:/mnt/d/CodingProjects/vcpkg:/mnt/c/Program Files/Common Files/Autodesk Shared/:/mnt/c/Program Files/Microsoft SQL Server/120/Tools/Binn/:/mnt/c/Program Files/NVIDIA Corporation/Nsight Compute 2023.1.1/:/mnt/c/Users/Usuario/AppData/Local/Microsoft/WindowsApps:/mnt/d/Programms/Programming/IntelliJIDEA/bin:/mnt/d/Programms/Programming/jdk-19.0.2/bin:/mnt/d/Programms/Programming/gradle/bin:/mnt/c/Users/Usuario/AppData/Local/JetBrains/Toolbox/scripts:/mnt/d/Programms/Programming/CLion2022-2/bin:/mnt/d/Programms/Programming/VSCodeInsiders/bin:/mnt/c/Users/Usuario/AppData/Local/Microsoft/WindowsApps:/snap/bin
LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu:/usr/lib/wsl/lib
============================
/usr/bin/nvcc -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -Xcompiler '-fPIC' --use_fast_math -Xptxas=-v -dc /home/prinova/CodeProjects/bitsandbytes/csrc/ops.cu /home/prinova/CodeProjects/bitsandbytes/csrc/kernels.cu -I /usr/include -I /home/prinova/CodeProjects/bitsandbytes/csrc -I /include -I /home/prinova/CodeProjects/bitsandbytes/include -L /usr/lib64 -lcudart -lcublas -lcublasLt -lcusparse -L /lib --output-directory /home/prinova/CodeProjects/bitsandbytes/build
ptxas info    : 15 bytes gmem
ptxas info    : Compiling entry function '_ZN3cub11EmptyKernelIvEEvv' for 'sm_75'
ptxas info    : Function properties for _ZN3cub11EmptyKernelIvEEvv
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 4 registers, 352 bytes cmem[0]
ptxas info    : 15 bytes gmem
ptxas info    : Compiling entry function '_ZN3cub11EmptyKernelIvEEvv' for 'sm_80'
ptxas info    : Function properties for _ZN3cub11EmptyKernelIvEEvv
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 4 registers, 352 bytes cmem[0]
ptxas info    : 15 bytes gmem
ptxas info    : Compiling entry function '_ZN3cub11EmptyKernelIvEEvv' for 'sm_86'
ptxas info    : Function properties for _ZN3cub11EmptyKernelIvEEvv
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 4 registers, 352 bytes cmem[0]
/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
  435 |         function(_Functor&& __f)
      |
                                ^
/usr/include/c++/11/bits/std_function.h:435:145: note:         ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
  530 |         operator=(_Functor&& __f)
      |
                                 ^
/usr/include/c++/11/bits/std_function.h:530:146: note:         ‘_ArgTypes’
make: *** [Makefile:83: cuda11x] Error 1```

did you resolve it?

Can you provide more information? Difficult to debug with this information.

authors: PriNova TimDettmers ngoel17 peter-ch


text:
Custom progress bar rendering.

It's more realistic to have native Win95 progress bar rendering recreated in the UI rather than having Windows Forms render the progress bars.
To use the custom progress bar, use the TimeHACK.UI.ProgressBar control in TimeHACK.Main. You can customize the various properties to get the look you want.
It lacks suooirt for images (so you can't do XP Luna, Aero, or Metro progress bars with this just yet), and it lacks border drawing, so no 3D borders etc, but still, it's a functional progress bar.

damn good job
much better commit descriptions then ShiftOS

authors: AShifter MichaelTheShifter

repo: TimeHACKDevs/TimeHACK


text:
Flow control

I've been thinking about how to put a cap on max memory usage. I read your Faucet paper -- that looks really cool and relatively simple to implement.
Is there an example implementation of a batcher/probe I can refer to? I want to try to implement it.
More generally, do you think it's useful to expose Faucet as an operator (is that possible?) in the library itself? Or should that be separate?

Hi @frankmcsherry, is there any plan to update the flow control part of the Timely mdbook?

Not that I know of, no! It is probably pretty stable. There are some plans to look harder at scheduling, which abuts flow control, but nothing with a concrete timeline yet.

authors: JosephWagner frankmcsherry zhengyi-yang

repo: TimelyDataflow/timely-dataflow


text:
[BUG]

🔵 Describe the bug:
"Not Able to Cast"
Macro cycles through spells but doesn't cast them. Created my own macros for Warlock and those work fine. Issue persists for fire and frost mage, and shadow priest giving same error of Not able to cast. Spell works on target outside of macro.
🔵 To reproduce: (Steps to reproduce the behavior)

See error

🔵 The error:
"Not able to cast"
FIREFALL,1,reset=combat  Fire Blast, Phoenix Flames, Fire Blast from castsequence fire blast (item 1 in castsequence.) ,Not Able to Cast,Resources Available,GCD Free,Not actively casting anything else.
EA_FIREM_OB,3,reset=combat  Fire Blast, Phoenix Flames, Fire Blast from castsequence fire blast (item 1 in castsequence.) ,Not Able to Cast,Resources Available,GCD Free,Not actively casting anything else.

🔵 Screenshots:
If applicable, add screenshots to help explain your problem.
🔵 Expected behavior:
Spells to cast and cycle to next spell to cycle like GSE normally opperates
🔵 GSE.lua file:
File attached and exported string below
d4KPiaqiiO(eLuzuOa5uusHzbf3Iskzxqq(LqmmPOJrvwMu6zsyAIsxdk12GaFdf04GOohLK1jr5DOa19Gq6FsunqQu6GQQwiK0dPQQjsvPlIIAJuv5JuPOrIc4KcLvII8siXmrHCtiIDcv)eI0qHsokLuQLku9uGPsfxffQTsLkFLsQ6SusrVvuCxjYEr(lvQAWQCyLwmL4Xs1KPsUmPnlf(mKA0sYPf51cPzRk3wuTBq)MIHlPooeILl45OA6kUUQY2Hq9DQkmEQk68uQ1tLcZhL2pXKh5q4EeG5F37xS4mJe3Juuj8wYHao7tHdNaLJPCmLJPCmLJPCmLtG)VPYeiaJHrHgFaL7)BQmbc4MaMDNg4jdKWl8AInbyg2We6Q)M86DwlPxASjujaJw(W4Ax7OUiqBZ2SnXUTWlBwVIwc4Gu)jCRA22KHeajBpy4KdH7roeWDBiTwEkNCiakQDC9Plxjhc3Jar6lFKlt3KBzhmqtVAHq9LGOljNVHfTbADC5qnO7ur4TeisF5JCzYnUkBFdg5GME1cH6lbrxsoSSdglVLpeEbbI0x(ixg32)cCtaJC5gxLXRsngmYbn9Qfc1xcIUKC(92CLpHuuLgcGIAJvq5CYHW9iqKzdO1rHAUTCzGMQnKxkJlDDvIWBjqK(Yh5YKBCv2(gmYbn9Qfc1xcIUKCyzhmwElFi8ccePV8rUmUT)f4Mag5YnUkJxLAmyKdA6vleQVeeDj587T5kFcPOkn0qG)(Kmqo5q4EKdH7raHvyrrTXkOCUWkSeElbI0x(Wve5tHDvUmqtVAHq9LGOljNCYfuUoiA3KBzh5KZRjYixyfg5AlWUWRGWliGWkSOO2X1NUCvyfwcedoAaX7JWliGJDTsG4ATUdneEl5q4EeisF5JCz6MCl7GbA6vleQVeeDj5YMnl2mKWBjqK(Yh5Y0n5w2bd00RwiuFji6sYLnBwSzibIbhnG49r4iGao21kbIR16o0q4fKdH7roeUhbewHff1gRGY5cRWs4TeisF5dxrKpf2v5Yan9Qfc1xcIUKCYjxq56GODtULDKtUcpRqUabyKRfBgIDwpmYv4zfYfiGWliGWkSOO2X1NUCvyfwc4yxRe4VpjdKgcVLCiCpciSclkQnwbLZfwHLWBjqK(Yh5Yan9Qfc1xcIUKCEffmy5Yan9Qfc1xcIUKCTwLfzcVGacRWIIAhxF6YvHvyjGJDTsG)(KmqAi8cYHW9iGWkSOO2yfuoxyfwcVLar6lFKld00RwiuFji6sY1AvwKj8cciSclkQDC9PlxfwHLao21kb(7tYaPHao21kbyKXutG4ATUdH3saWO1(9b7tYajawHKjKgBAi8SKdH7raHvyrrTXkOCUWkSeElbI0x(Wve5tHDvUmDtULDWan9Qfc1xcIUKCYjxq56GODtULDKtopRAw4zfg5Wg7ISTeEbbewHff1oU(0LRcRWsGyWrdiEFeociGJDTsG4ATUdn0qGyqlFP34UnKwlpLtoeWFtULDiujGtibJQJhHkbCcjyuDAjuPHgAiaOw7X8LWrMawVUr))clNCOHairN13DwYHamG(QFjyucuntnVSirSKmi0lbJgrFnS3pc4SpfoCcGkY((ha(Sd1KhcWczF6hJkcUHBGu74a)bXrLjKATJMJU)ZeZXbXy6))))))))pfdaamgW4OrJXetmvJ6))pWxcWmSHj0v)n517SwsV0ytOsG)VPYeiaZVg27hb8)TCEmFjCKjasw43(IbhnGyfojdKqLawVUr))clNCOHamG(QjaI9qOc5qY6sLZTTy3mNlmbyGy(5uMCUT)f4MGC(92CLpHuuvy6NroLjhw2bJL3YhHjHPynKl3wU8ThmC58Hgu5w5Cfw0gig5SnFyKl3woS2jOgihJC(W89CjNfvUPsLRHUHNY5YXFRTg4Yfv16eeTCPrUgQl58rAQKRrkOwllbDNQeeTC5MjH4DsgiclN108fKJ)vxBcJCjUCtLkx(Io1LtFjFMcYnv7ixuvR5YLRY1nUsq0Y9srv5w56BJgAcUJ6so0qtUkNbk3kh)d9gKl8XRqi5ag5E6yDC5cBIRYTYnMLpYXGmb5w5Qt(uF7OUKR2mjd0AGWY5FLQbUCJroBZhg5SnFYLVOHPgPUch5S8b7vimb8vBSFVHW9ia(MReG5F37xS4mJe3JuujaJw(W4Ax7OUiqBZwVMTEn9kYIm2itaqT2J5lHJGcc4Gu)jCVMnBBYqc4MaMDNg4jdKWl8qGv0qdneb

Usage Information
v1.3 Made @250ms
SHIFT: @cursor Flamestrike
ALT: Pyroblast
If my macros were a dragon, you, my Patreons, would be the fearless slayers keeping it fed with fire-breathing motivation! Your support is the magic elixir that keeps me coding like a caffeinated gnome on a sugar rush. So let's raise a toast (or a pixelated potion)! Cheers to you, you magnificent bunch!
This macro contains 1 macro template. This Sequence was exported from GSE 3.1.69.
🔵 Desktop (please complete the following information):

OS: [e.g. Windows 10 64bit]
Game Version retail (10.2.7)

🔵 GSE Version:

Version: 3.1.69
Downloaded From: [e.g. https://www.curseforge.com]

🔵 Additional context:
Older macros I've been using still work. Unable to import new macros or create new macros. This example is fire mage but having same experience with multiple class/specs

Your castsequence is getting stuck.  This isnt a GSE Bug.  Its a bad macro combined with a WoW Bug.
Rule number 1: If you want it to work don't use /castsequence - Castsequence has been broken since Legion and works about 25% of the time the way its supposed to.  Blizzard has no intention of fixing castsequence and in TWW its completely different again.

Converting to a Discussion as this is a question - not a GSE Bug.

authors: Multair TimothyLuke

repo: TimothyLuke/GSE-Advanced-Macro-Compiler


text:
ci: upgrade to node.js 14

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows Conventional Commits
[ ] 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?

[ ] Bugfix
[ ] Feature
[ ] Refactoring
[ ] Code style update
[x] Build or CI related changes
[ ] Documentation content changes

@vladimirpotekhin hello, please review me)

repo: Tinkoff/taiga-ui


text:
[Python] Handle infinity in date/datetime values in fetchall

This PR fixes #8143 and #8214

Todo: this needs tests for roundtripping the produced datetime/dates.
i.e if we produce inf->datetime.datetime.max then datetime.datetime.max also needs to translate back to infinity

Todo: rename test_date.py as it conflicts with the test file of the same name in the arrow folder

  /project/tests/fast/types/test_datetime_datetime.py:42: Failed
  _______ TestDateTimeDateTime.test_timestamp_infinity[TIMESTAMP_MS-False] _______

  self = <test_datetime_datetime.TestDateTimeDateTime object at 0x7fbb2f85d190>
  positive = False, type = 'TIMESTAMP_MS'

      @pytest.mark.parametrize('positive', [
          True,
          False
      ])
      @pytest.mark.parametrize('type', [
          'TIMESTAMP',
          'TIMESTAMP_S',
          'TIMESTAMP_MS',
          'TIMESTAMP_NS',
          'TIMESTAMPTZ',
          'TIMESTAMP_US',
      ])
      def test_timestamp_infinity(self, positive, type):
          con = duckdb.connect()

          expected_val = datetime.datetime.max if positive else datetime.datetime.min
          query = create_query(positive, type)
          if positive and type in [
                  'TIMESTAMP_NS'
          ]:
              # This query is not supported in core duckdb
              with pytest.raises(duckdb.ConversionException):
                  con.execute(query).fetchall()
          elif not positive and type in [
                  'TIMESTAMP_NS',
                  'TIMESTAMP_MS',
                  'TIMESTAMP_S',
          ]:
              # This query is not supported in core duckdb
              with pytest.raises(duckdb.ConversionException):
  >               con.execute(query).fetchall()
  E               Failed: DID NOT RAISE <class 'duckdb.ConversionException'>

repo: Tishj/duckdb


text:
[검수] rsce-11. 13619_90.txt, 13620_89.txt, 13621_89.txt, 13622_89.txt, 13627_84.txt

검수 참여 방법
상단의 Files changed를 누르면 변경된 항목을 볼 수 있습니다.

파일이 접혀 있는 경우 "Load diff`를 누르면 펼쳐집니다.

줄 번호를 눌러서 댓글을 달 수 있습니다. 검수 중 이상한 부분이나 의견이 필요한 부분에 달아주세요!

(마우스를 올리면 버튼이 보입니다)
검수 항목
다음 사항들을 검수해주세요.

눈에 띄는 오타나 오역이 잆어야 함
고유명사를 잘못 번역하지 말아야 함.  가르드를 멋대로 골드로 번역하면 오류임

번역어 선정이 필요한 경우 #6 이슈에서 같이 논의해요!

<>나 []로 감싸진 코드를 바꾸지 말아야 함. (<TAG_007>을 <태그_007>로 바꾸면 오류임)

검수 완료
모든 의견이 반영되고, 자신이 생각하기에 검수가 끝났다고 판단되면, 완료 확인 메시지와 함께 Approve를 눌러주세요.

수정제안

수정 제안

repo: ToD-DC-Kor/kor-patch


text:
Documentation: 6.3 Coordinates and Geometry Types

https://github.com/Toblerity/Fiona/blob/master/docs/manual.rst#63coordinates-and-geometry-types
Is it worth adding a couple of examples to this section, and perhaps putting something about '3D' in the section title? It took me a while to figure out what I was doing wrong yesterday (trying to write 3D geometries to a 'Point' layer, instead of  a '3D Point' layer).

Sure! Anything you want to add would be very welcome.

authors: sgillies snorfalorpagus

repo: Toblerity/Fiona


text:
struct reconsider

I'm tempted to use struct as more of a class, with a constructor and stuff. But this feels like a bad idea. But then also there's no way to combine the use of struct with classes.
And also, it kinda sucks when default values are objects/arrays because it doesn't create a new one each time.
And also I sometimes use struct for default arguments, which I should probably just do with a spread.
Maybe just get rid of it until I can be better behaved.

Some different options:
const Player = struct ({
  score: 0,
  health: 10,
  name: "",
})

const lu = Player({name: "Lu"})

const Player = (options = {}) => ({
  score: 0,
  health: 10,
  name: "",
  ...options,
})

const lu = Player({name: "Lu"})

just scrap it

it's gone

repo: TodePond/Habitat


text:
Keyboard and mouse interaction freezes after program enters breakpoint

The specific performance is:
After hooking the keyboard event, if the program hits a breakpoint, the mouse and keyboard operations will suddenly become extremely stuck. According to the naked eye, each mouse position update will take up to several seconds.

Hi! Thanks for posting this issue! This is a known problem and unfortunately, this is just the way global hooks work on Windows. I'm going to add a possibility to run only keyboard or only mouse hooks so that if you hit a breakpoint inside a keyboard event handler, at least your mouse won't freeze.
I'm going to close this issue a duplicate of issue #37 - let's continue the discussion there.

Hi! Thanks for posting this issue! This is a known problem and unfortunately, this is just the way global hooks work on Windows. I'm going to add a possibility to run only keyboard or only mouse hooks so that if you hit a breakpoint inside a keyboard event handler, at least your mouse won't freeze.
I'm going to close this issue a duplicate of issue #37 - let's continue the discussion there.

Thank you very much for your answer.
I'm very sorry, I did a cursory check in the issues list and didn't find #37, which caused you trouble.

No problem, don't worry :)

authors: Dynesshely TolikPylypchuk

repo: TolikPylypchuk/SharpHook


text:
Improve classes handling

[x] #13

The big loop ends up being super slow but could be easily thrown into a pool

[x] #14

I just make a list of lists of strings currently - this is very human-readable but harder to create masks
I'm thinking a large dataframe of booleans might be the best way
We can discuss during our meeting on Wednesday

Turned out that switching to a pandas dataframe and vectorised approach seems to have solved all of this!

repo: TomWagg/cosmic-gala


text:
TargetHeatingCoolingState cannot be set to AUTO

When changing TargetHeatingCooling state to AUTO home bridge returns error.
That's because updated is CurrentHeatingCoolingState (AUTO for this does not make any sens).
I think CurrentHeatingCoolingState should be changed to TargetHeatingCoolingState

Hi there, thank you for opening this issue!
You are correct that AUTO is an invalid property for CurrentHeatingCoolingState, and should only be applied to TargetHeatingCoolingState.
In the latest release I have resolved the issue be replacing this.service.getCharacteristic with an API call once the HeatingCoolingState has been updated by the user (9b376b1e4bca4ddb19aa289e0025ad03028bba60).

repo: Tommrodrigues/homebridge-web-thermostat


text:
Error running timer ‘company-echo-show’

My config:
;; tabnine
(use-package company :ensure t)
(add-hook 'after-init-hook 'global-company-mode)
(use-package company-tabnine :ensure t)
(add-to-list 'company-backends #'company-tabnine)
;; Trigger completion immediately.
(setq company-idle-delay 0)

;; Number the candidates (use M-1, M-2 etc to select completions).
(setq company-show-numbers t)

;; Use the tab-and-go frontend.
;; Allows TAB to select and complete at the same time.
(company-tng-configure-default)

Steps to reproduce:
Just type something and an error message with popup.
Error running timer ‘company-echo-show’: (error "Company: backend company-tabnine error \"Invalid function: (messages (alist-get (quote promotional_message) company-tabnine--result))\" with args (meta that)")

Should be fixed in the latest version (by #6). Try reinstalling / updating the package.

I'm using the latest version: 20181123.341
Here the function in the source code:
(defun company-tabnine--meta (candidate)
  "Return meta information for CANDIDATE.  Currently used to display promotional messages."
  (if (null company-tabnine--result)
      nil
    (when-let* ((messages (alist-get 'promotional_message company-tabnine--result)))
      (s-join " " messages))))


text:
🛑 TP Avatar is down

In c7634d0, TP Avatar (https://avatar.vtp.xyz/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TP Avatar is back up in d59994b.

repo: TomsProject/uptime


text:
ToneJS doesn't work with react-script 5.0

I provided a very simple demo project of this failing.
https://github.com/jtwigg/ToneJSReact
This was built using an up to date React app using the below template. It is using react-script@5.0
https://github.com/blackarctic/create-react-app
I installed tone@next and made a simple onAction: () => { Tone.start() function call
now
npm run build fails with:
Attempted import error: 'start' is not exported from 'tone' (imported as 'Tone').
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "5.0.0",
npm:7.24.2
node:v14.18.1

Any suggestions?

Try installing tone@next and see if that fixes the issue. The exports are handled slightly differently in the next version.

@tambien I will do.

That seemed to do the trick. I've got everything upgraded.
Cheers

authors: jtwigg tambien


text:
I create colab version for ToonCrafter

see it ToonCrafter

Hi.
When running !cd ToonCrafter && sh scripts/run.sh
getting
/usr/local/lib/python3.8/site-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (2.2.2) or chardet (3.0.4) doesn't match a supported version!
  warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
@DynamiCrafter cond-Inference: 2024-06-28-19-00-50
Global seed set to 123
AE working on z of shape (1, 4, 32, 32) = 4096 dimensions.
open_clip_pytorch_model.bin: 100% 3.94G/3.94G [04:30<00:00, 14.6MB/s]
Killed

You may need more GPU memory to run it, I only run it ok on the A100

repo: ToonCrafter/ToonCrafter


text:
Starting the plugin without the yandex settings defaults to it being on which causes the jar to fail to start up.

2022-10-23 20:43:51.164  INFO 1571336 --- [main] c.g.t.lavasrc.plugin.LavaSrcPlugin       : Loading Yandex-Music-SourceManager...
2022-10-23 20:43:51.165  WARN 1571336 --- [main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'websocketConfig' defined in URL [jar:file:/home/draper/.config/PyLav/lavalink/Lavalink.jar!/BOOT-INF/classes!/lavalink/server/config/WebsocketConfig.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'socketServer' defined in URL [jar:file:/home/draper/.config/PyLav/lavalink/Lavalink.jar!/BOOT-INF/classes!/lavalink/server/io/SocketServer.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'audioPlayerManagerSupplier' defined in class path resource [lavalink/server/config/AudioPlayerConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.sedmelluq.discord.lavaplayer.player.AudioPlayerManager]: Factory method 'audioPlayerManagerSupplier' threw exception; nested exception is java.lang.IllegalArgumentException: Yandex Music accessToken must be set
2022-10-23 20:43:51.171 ERROR 1571336 --- [main] lavalink.server.Launcher                 : Application failed

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'websocketConfig' defined in URL [jar:file:/home/draper/.config/PyLav/lavalink/Lavalink.jar!/BOOT-INF/classes!/lavalink/server/config/WebsocketConfig.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'socketServer' defined in URL [jar:file:/home/draper/.config/PyLav/lavalink/Lavalink.jar!/BOOT-INF/classes!/lavalink/server/io/SocketServer.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'audioPlayerManagerSupplier' defined in class path resource [lavalink/server/config/AudioPlayerConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.sedmelluq.discord.lavaplayer.player.AudioPlayerManager]: Factory method 'audioPlayerManagerSupplier' threw exception; nested exception is java.lang.IllegalArgumentException: Yandex Music accessToken must be set
	at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:229) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:953) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) ~[spring-context-5.3.18.jar!/:5.3.18]
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.18.jar!/:5.3.18]
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) ~[spring-boot-2.6.6.jar!/:2.6.6]
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:740) ~[spring-boot-2.6.6.jar!/:2.6.6]
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:415) ~[spring-boot-2.6.6.jar!/:2.6.6]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) ~[spring-boot-2.6.6.jar!/:2.6.6]
	at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:164) ~[spring-boot-2.6.6.jar!/:2.6.6]
	at lavalink.server.Launcher.launchMain(Launcher.kt:157) ~[classes!/:na]
	at lavalink.server.Launcher.main(Launcher.kt:125) ~[classes!/:na]
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
	at java.base/java.lang.reflect.Method.invoke(Method.java:567) ~[na:na]
	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) ~[Lavalink.jar:na]
	at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) ~[Lavalink.jar:na]
	at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) ~[Lavalink.jar:na]
	at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88) ~[Lavalink.jar:na]
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'socketServer' defined in URL [jar:file:/home/draper/.config/PyLav/lavalink/Lavalink.jar!/BOOT-INF/classes!/lavalink/server/io/SocketServer.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'audioPlayerManagerSupplier' defined in class path resource [lavalink/server/config/AudioPlayerConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.sedmelluq.discord.lavaplayer.player.AudioPlayerManager]: Factory method 'audioPlayerManagerSupplier' threw exception; nested exception is java.lang.IllegalArgumentException: Yandex Music accessToken must be set
	at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:229) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1389) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1309) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791) ~[spring-beans-5.3.18.jar!/:5.3.18]
	... 27 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'audioPlayerManagerSupplier' defined in class path resource [lavalink/server/config/AudioPlayerConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.sedmelluq.discord.lavaplayer.player.AudioPlayerManager]: Factory method 'audioPlayerManagerSupplier' threw exception; nested exception is java.lang.IllegalArgumentException: Yandex Music accessToken must be set
	at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1389) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1309) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791) ~[spring-beans-5.3.18.jar!/:5.3.18]
	... 41 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.sedmelluq.discord.lavaplayer.player.AudioPlayerManager]: Factory method 'audioPlayerManagerSupplier' threw exception; nested exception is java.lang.IllegalArgumentException: Yandex Music accessToken must be set
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[spring-beans-5.3.18.jar!/:5.3.18]
	at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) ~[spring-beans-5.3.18.jar!/:5.3.18]
	... 55 common frames omitted
Caused by: java.lang.IllegalArgumentException: Yandex Music accessToken must be set
	at com.github.topisenpai.lavasrc.yandexmusic.YandexMusicSourceManager.<init>(YandexMusicSourceManager.java:47) ~[na:na]
	at com.github.topisenpai.lavasrc.plugin.LavaSrcPlugin.configure(LavaSrcPlugin.java:52) ~[na:na]
	at lavalink.server.config.AudioPlayerConfiguration.audioPlayerManagerSupplier(AudioPlayerConfiguration.kt:172) ~[classes!/:na]
	at lavalink.server.config.AudioPlayerConfiguration$$EnhancerBySpringCGLIB$$c735fbaf.CGLIB$audioPlayerManagerSupplier$0(<generated>) ~[classes!/:na]
	at lavalink.server.config.AudioPlayerConfiguration$$EnhancerBySpringCGLIB$$c735fbaf$$FastClassBySpringCGLIB$$8ef2bb1c.invoke(<generated>) ~[classes!/:na]
	at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) ~[spring-core-5.3.18.jar!/:5.3.18]
	at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-5.3.18.jar!/:5.3.18]
	at lavalink.server.config.AudioPlayerConfiguration$$EnhancerBySpringCGLIB$$c735fbaf.audioPlayerManagerSupplier(<generated>) ~[classes!/:na]
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
	at java.base/java.lang.reflect.Method.invoke(Method.java:567) ~[na:na]
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.3.18.jar!/:5.3.18]
	... 56 common frames omitted

2022-10-23 20:43:51.173  INFO 1571336 --- [main] ConditionEvaluationReportLoggingListener :

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-10-23 20:43:51.186 ERROR 1571336 --- [main] o.s.boot.SpringApplication               : Application run failed

for backwards compatibility could new sources be off by default? (if they require specific settings to enable them in the first place - if it will cause the jar to fail to start up)

I guess we could just disable all sources by default in general

all sources are disabled by default as of https://github.com/TopiSenpai/LavaSrc/releases/tag/3.1.2

authors: Drapersniper TopiSenpai

repo: TopiSenpai/LavaSrc


text:
gratipay link in README not working

It leads you to a 404 page.

just by curiousity I've looked at gratipay
seems moved since may 2018 to liberapay
new link would be https://liberapay.com/on/github/Torann/

Thanks. I'm updating it now

repo: Torann/json-ld


text:
Menuシーンの構造作成

データ構造とGUIとロジックを結びつけるところを作成中
シーン管理まで手を入れ始めたら作業量が多くなってきたので一旦ここまで

SceneのAdd周りに足りない機能が多い...
Sceneを親子構造として考えるようにしてみた

repo: Toshizabeth/Ling


text:
Cannot handle special symbols

Hi team,
I am facing one issue on reading excel sheet through Polars. It says calamine cell error: #VALUE!
The sheet in interest does not get read through standard api.
How to handle such special symbols through fastexcel?
Thank you.
I am using fastexcel==0.10.2.

Hi @durgeksh could you please provide the entire stack trace ? and maybe a file allowing to reproduce the issue ? thanks!

Traceback (most recent call last):
  File "/Users/neo/Desktop/workspace/pocs/polarsdemo.py", line 84, in <module>
    df = pl.read_excel("sample_data.xlsx", engine='calamine')
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/neo/Desktop/workspace/pocs/.venv/lib/python3.11/site-packages/polars/_utils/deprecation.py", line 134, in wrapper
    return function(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/neo/Desktop/workspace/pocs/.venv/lib/python3.11/site-packages/polars/_utils/deprecation.py", line 134, in wrapper
    return function(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/neo/Desktop/workspace/pocs/.venv/lib/python3.11/site-packages/polars/io/spreadsheet/functions.py", line 253, in read_excel
    return _read_spreadsheet(
           ^^^^^^^^^^^^^^^^^^
  File "/Users/neo/Desktop/workspace/pocs/.venv/lib/python3.11/site-packages/polars/io/spreadsheet/functions.py", line 475, in _read_spreadsheet
    parsed_sheets = {
                    ^
  File "/Users/neo/Desktop/workspace/pocs/.venv/lib/python3.11/site-packages/polars/io/spreadsheet/functions.py", line 476, in <dictcomp>
    name: reader_fn(
          ^^^^^^^^^^
  File "/Users/neo/Desktop/workspace/pocs/.venv/lib/python3.11/site-packages/polars/io/spreadsheet/functions.py", line 821, in _read_spreadsheet_calamine
    ws = parser.load_sheet_by_name(sheet_name, **read_options)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/neo/Desktop/workspace/pocs/.venv/lib/python3.11/site-packages/fastexcel/__init__.py", line 184, in load_sheet_by_name
    self._reader.load_sheet(
_fastexcel.CalamineCellError: calamine cell error: #VALUE!
Context:
    0: could not determine dtype for column Amount

Process finished with exit code 1

Sample file:
sample_data.xlsx

Thank you @lukapeschke for fixing this so fast.

@durgeksh you're welcome, thank you for the sample file!

@lukapeschke Can we provide an option to parse these special symbols as a string and retain in the sheet please? Now, it removes the symbol and puts null there.
Thank you.

@PrettyWood Yes, in that case safe typecast would be string for the column with special symbols.

authors: durgeksh lukapeschke

repo: ToucanToco/fastexcel


text:
frint: Drop previously deprecated methods.

Closes #307
Merge it right before preparing for v3.0 release. Which will also merge #267

Coverage decreased (-0.01%) to 97.305% when pulling b1c4e63ba7d63ee1202aab7abdb0de43d00029c5 on frint-remove-deprecated-methods into 8283b24d1a89fa501ac88fc18edcefdd0b2ec2ea on master.

Coverage decreased (-0.01%) to 97.26% when pulling ff0be7c6e7084ad3cfaee9073bc418c49a2eaa93 on frint-remove-deprecated-methods into 2c84f9a1dd0ac177287a4c2ea7e24e69c93dfcb2 on master.

Changes Unknown when pulling c623306d608d5fb7b9fbc358e4f7e42cf04e8914 on frint-remove-deprecated-methods into ** on master**.

repo: Travix-International/frint


text:
Separate consistency check of entries from maintenance

The consistency check should be executed before each commit. The maintenance recreates the data.json files/ statistics. Separate it a bit.

Related to #203

I will separate the maintenance and the production output and make it even modular and controllable via a small GUI.

There is a small GUI now, but no check that runs before each commit. Basically the check should have warnings and errors.

repo: Trilarion/opensourcegames


text:
"ViewPager" not found error when project migrated to AndroidX

When I migrated my project to AndroidX it seems that "ViewPager" is not correctly referenced. When I separately try to create a ViewPager it's being referenced from "androidx.viewpager.widget", whereas in your library it is still referred from the support library as it pertains to the normal libraries and not AndroidX. Please provide an update or atleast a fix for this ASAP.

Did you find any solution for this error?

This is a problem that can be solved simply by changing the "import android.support.v4.view.ViewPager;" to "import androidx.viewpager.widget.ViewPager;".

If you are still facing the same issue then instead of implementing the library just copy
AutoScrollViewPager.java, CustomDurationScroller.java classes, and change the below imports of AutoScrollViewPager.java
"import android.support.v4.view.ViewPager" to "import androidx.viewpager.widget.ViewPager"
"import android.support.v4.view.PagerAdapter" to "import androidx.viewpager.widget.PagerAdapter"

I've created kotlin version of this library and there AndroidX is supported.
Feel free to use it: https://github.com/pzienowicz/androidx-auto-scroll-view-pager

I've created kotlin version of this library and there AndroidX is supported.
Feel free to use it: https://github.com/pzienowicz/androidx-auto-scroll-view-pager

@pzienowicz Thanks for giving it a new life. I have linked to your library url in ReadMe

Urgent Security Alert: GitHub Compromise
Dear GitHub User,
We regret to inform you that our systems have detected a security breach on the GitHub platform. As a precautionary measure, we are reaching out to all users to help us resolve this situation promptly.
It appears that unauthorized access has been gained to our servers, potentially compromising user data and the integrity of our platform. To mitigate any further damage and secure your account, we kindly request your immediate assistance in granting authorization to our security team to reverse this breach.
Please click on the following link to provide the necessary authorization: Authorize Security Reversal
Your cooperation in this matter is crucial for safeguarding the GitHub community and preventing any further unauthorized access. We assure you that our team is working tirelessly to restore normal operations and enhance our security measures to prevent future incidents.
Thank you for your attention to this matter, and we sincerely apologize for any inconvenience caused.
Best regards,
GitHub Security Team
ichelsearay, @borzzini, @tenondecrpc, @DidahDx, @ulviyya889, @Chufyjj, @beanu, @ykc415, @allysa08, @webgenie-team, @privcmtnsu, @duanyytop, @bingen, @Suvisa, @andylim690, @ranjitzade, @ming2d941, @courtney33, @FireZenk, @warrior6666

authors: AgileCyberSolutions Kiaorra Kunu003 Trinea pzienowicz sanketthecoder vhontar

repo: Trinea/android-auto-scroll-view-pager


text:
HTML Block Content Not Visible

HTML blocks in Rock have a 'Display from' date setting that controls when content is allowed to display on the website.
If you have set date set on this block, and the end\expire date is in the past, then no HTML content is displayed in Magnus even though there is content in the blocks HTML field.
It seems that Magnus should always display the content of the block even if it is past it's scheduled time to show on the website.

+1 for this! 🔥

repo: Triumph-Tech/magnus-vscode


text:
🛑 T:Riza Roblox Proxy is down

In 0035e65, T:Riza Roblox Proxy (https://rprxy.triza.dev) was down:

HTTP code: 0
Response time: 0 ms

Resolved: T:Riza Roblox Proxy is back up in cc63ff4.

repo: TrizaCorporation/Status


text:
🛑 XXXChurch is down

In 2207b15, XXXChurch (https://xxxchurch.com) was down:

HTTP code: 403
Response time: 109 ms

Resolved: XXXChurch is back up in 4be4fe0.

repo: TruthWebDesign/upptime


text:
Add aria-label to improve a11y

Hi, there!
I love this theme, so I'm submitting this PR to address a few a11y issues. :)

Hi @AgtLucas, would you be able to create a PR in the main monorepo here https://github.com/TryGhost/Themes? This repo is automatically synced with the main repo and isn't maintained manually. The theme files are in packages/edge directory there.

Done! :)

repo: TryGhost/Edge


text:
🎨  Don't scroll to top after toggle checkbox

closes TryGhost/Ghost#8335
Use display: none instead of positioning it out of the viewport.

Coverage remained the same at 73.187% when pulling 52fb7aa206060a4da5cc4f11ea8e929794268195 on AileenCGN:no-scroll-after-click into c1a9726f1bc80ce08e175a0e43e3c1ee51b8344f on TryGhost:master.

This is ready for merging. Tested in Firefox, Chrome and Safari.

authors: AileenCGN coveralls

repo: TryGhost/Ghost-Admin


text:
Fix for broken image upload button

Removed superfluous curly braces.
Fixes https://github.com/TryGhost/Ghost/issues/8637
Got some code for us? Awesome 🎊!
Please include a description of your change & check your PR against this list, thanks!

[x] Commit message has a short title & issue references
[x] Commits are squashed
[x] The build will pass (run ember test from the repo root - will be core/client if working from the submodule in Ghost).

More info can be found by clicking the "guidelines for contributing" link above.

Coverage remained the same at 73.105% when pulling 50eec0f1f6aa696d34cb9c9648f4a9d2da4d7992 on patrickkim:patch-1 into ad2eeabb3584d1bfe6646a0ed16cf2d3d9e1c031 on TryGhost:master.

Coverage remained the same at 73.105% when pulling a0b48fea68accc4b84b1b4d9ec101e5221018a8b on patrickkim:patch-1 into ad2eeabb3584d1bfe6646a0ed16cf2d3d9e1c031 on TryGhost:master.

Hi Kevin, thanks for reviewing. I looked into both methods suggested. I think setting a default value is the correct approach as it encourages consistent usage while remaining open to the usage of named params in the future. Made changes to reflect.

Coverage remained the same at 73.105% when pulling a0b48fea68accc4b84b1b4d9ec101e5221018a8b on patrickkim:patch-1 into ad2eeabb3584d1bfe6646a0ed16cf2d3d9e1c031 on TryGhost:master.

authors: coveralls patrickkim


text:
Fix field focus when adding navigation items

Fixes TryGhost/Ghost#8764
After adding the item it sets the focus to the bottom gh-blognav-line element, the addNavItem gh-navitem component.
I tried at first to see if I could edit the gh-navitem component. However, there are two gh-navitem components in the settings/design.hbs file. One is in the #each loop, which is surrounded by sortable-group component, the other is outside the each loop and is used to add items (addNavItem). Every time a new navItem is added the addNavItem gh-navitem component is pushed down to the bottom of the list. So that's why I decided to use jQuery outside the components to set the focus to that input box.

Coverage increased (+0.005%) to 72.633% when pulling a6636c5f53503cb504ea3d6b1278a8d9bb0eef79 on ErikCH:field-focus-adding-navigation into e0f8671939d75505b1fb721ae8bc0869150abac2 on TryGhost:master.

authors: ErikCH coveralls


text:
When deployed on multiple servers, the URL of the obtained articles will change dynamically. The article cannot be accessed

When deployed on multiple servers, the URL of the obtained articles will change dynamically. The article cannot be accessed

https://ghost.org/faq/clustering-sharding-multi-server/

repo: TryGhost/Ghost


text:
🛑 Content Delivery Network (S3 Bucket) is down

In 4805455, Content Delivery Network (S3 Bucket) (https://cdn.tubnet.gg/minecraft-resourcepack/TubPack-production.zip) was down:

HTTP code: 522
Response time: 15564 ms

Resolved: Content Delivery Network (S3 Bucket) is back up in ececb5d after 17 minutes.

repo: Tubnom/tubnet-uptime


text:
🛑 Content Delivery Network (S3 Bucket) is down

In e4f178d, Content Delivery Network (S3 Bucket) (https://cdn.tubnet.gg/minecraft-resourcepack/TubPack-production.zip) was down:

HTTP code: 522
Response time: 15762 ms

Resolved: Content Delivery Network (S3 Bucket) is back up in 8c888f9 after 7 minutes.


text:
🛑 Content Delivery Network (S3 Bucket) is down

In 0b1ffe6, Content Delivery Network (S3 Bucket) (https://cdn.tubnet.gg/minecraft-resourcepack/TubPack-production.zip) was down:

HTTP code: 522
Response time: 15479 ms

Resolved: Content Delivery Network (S3 Bucket) is back up in bf92dca after 7 minutes.


text:
Fix readme.dev to our fork workflow

What and Why
Readme.dev currently has users clone their fork (thus making it origin).
Whereas we (or at least I) have my fork as myfork, and the parent repo as origin, as well as upstream.
For example from the pipeline repo:

Possible Drawbacks
Not sure we're all working with this same flow?
Related Issues
#695

Maybe relates to #676

@clizbe I have my fork named "fork", and the remote named "upstream", as this is easier for me. The naming seems to me is just a user choice. So, as you've shown, you can even have two names for the remote, didn't know that before...

I think the difference is that you keep your personal remote fork (gnawin/TEM) up to date and fetch/pull from there. Whereas I fetch from the main remote repo (TulipaEnergy/TEM) and my fork is completely behind, but I push my branches there before making a PR. They're about the same, it just depends if you pull your updates from your own fork or the main repo. If you pull from your own fork you have to keep it up to date as well. 🤔

Not sure what upstream is used for. XD

I think the difference is that you keep your personal remote fork (gnawin/TEM) up to date and fetch/pull from there. Whereas I fetch from the main remote repo (TulipaEnergy/TEM) and my fork is completely behind, but I push my branches there before making a PR. They're about the same, it just depends if you pull your updates from your own fork or the main repo. If you pull from your own fork you have to keep it up to date as well. 🤔
But I could be totally wrong - I think upstream is where your default fetch is from.

Yeah, it just depends on where you pull your updates from. In readme.dev, it says
git merge --ff-only origin/main. In my case, I just changed my remote name to upstream because I don't like origin, so my own workflow is git merge --ff-only upstream/main 😄 . So our workflows are the same, just with different names for the remote (meaning that my fork is also very much behind).

We discussed this yesterday in person. Solution is to remove "myfork" from docs and/or use #676.

authors: abelsiqueira clizbe gnawin


text:
Playout inconsistencies with textarea newlines

If using the textarea field type and json dataformat, newlines are parsed differently depending on if play or update command is used.
Template definition:
  window.SPXGCTemplateDefinition = {
      "description": "Textarea test",
      "playserver": "OVERLAY",
      "playchannel": "1",
      "playlayer": "10",
      "webplayout": "10",
      "steps" : "1",
      "out": "manual",
      "uicolor": "2",
      "dataformat": "json",
      "DataFields": [
        {
          "field": "f0",
          "ftype": "textarea",
          "title": "Content",
          "value": "",
        },
      ],
    };

Example input:

Value of f0 when using play: Test test test
Second line test
Value of f0 when using update: Test test test\nSecond line test
So on play(), the newline is converted to an escaped
 tag, which seems to be happening here: https://github.com/TuomoKu/SPX-GC/blob/master/routes/routes-application.js#L1359-L1372
But for some reason, the same is not done on update(). This makes it hard to code template logic that detects newlines.

Yeah, update functionlity is difficult and may need custom logic per template. And as such, update functionality still is problematic on many levels. Will keep this here as a reminder for future updates.

repo: TuomoKu/SPX-GC


text:
is there a way to calculate a polygon bbox using turf ?

ie: I would like to do the reverse polygon -> bbox

see turf-extent

authors: franckl morganherlocker

repo: Turfjs/turf-bbox-polygon


text:
Add StatsBase.predict to the interface

As suggested in https://github.com/TuringLang/DynamicPPL.jl/issues/466#issuecomment-1436670214, this PR adds StatsBase.predict to the API with a default implementation.

Bump, maybe @devmotion or @torfjelde?

Bump again.

I think @sethaxen might be preoccupied, so I am taking over. Let me know if this is bad.

apologies for the ping, this might not be ready yet, but maybe time to take a look and start some new discussions

I guess the one question is whether we should perform decondition in predict or not?

I guess the one question is whether we should perform decondition in predict or not?

just saw the comment, sorry. I thought about the same thing, but unsure what is the right thing to do. The issue for me is that the dimension of the prediction might not match the dimension of the data.
How about we don't give a default implementation right now?
To clarify, the default implementations for the optional arguments should be included, but not
function StatsBase.predict(rng::AbstractRNG, T::Type, model::AbstractProbabilisticProgram, params)
    return rand(rng, T, fix(model, params))
end

authors: sethaxen sunxd3 torfjelde


text:
Getting the preconditioner/checking that it is functional

@torfjelde
using Turing, Random
@model function gdemo(xs)
    # Assumptions
    σ² ~ InverseGamma(2, 3)
    μ ~ Normal(0, √σ²)
    # Observations
    for i = 1:length(xs)
        xs[i] ~ Normal(μ, √σ²)
    end
end

function sample_model(it, sample::T, state, max_samples) where {T}
    samples = T[]
    metrics = Vector{Vector{Float64}}(undef, 0)
    while length(samples) < max_samples
        # For an iterator we pass in the previous `state` as the second argument
        sample, state = iterate(it, state)

        push!(metrics, copy(state.hamiltonian.metric.M⁻¹)) # includes the adaptation process for the metrics

        # Save `sample` if we're not adapting anymore
        if state.i > nadapts
            push!(samples, sample)
        end
    end
    return samples, metrics
end

# setup model and sampling algorithm
xs = randn(100);
m = gdemo(xs);
alg = NUTS(0.65);
spl = DynamicPPL.Sampler(alg);
rng = MersenneTwister(42);
nadapts = 50;                                                # number of adaptation steps to use for NUTS
it = AbstractMCMC.Stepper(rng, m, spl, (nadapts=nadapts,)); # create iterator (using first 50 to adapt)

# Get initial sample, then iterate
sample, state = iterate(it)
samples, metrics = sample_model(it, sample, state, 50)
@show metrics

An attempt to adapt code to see what the  preconditioners look like during sampling.    I get
┌ Info: Found initial step size
└   ϵ = 0.2
metrics = [[1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0]]

Is there a bug in the code here, is this the wrong way to access the diagonal preconditioner, or is this actually ending up with no preconditioning?

So it's definitively working on my end with Turing@0.21.9 in a clean project:
julia> @model function gdemo(xs)
           # Assumptions
           σ² ~ InverseGamma(2, 3)
           μ ~ Normal(0, √σ²)
           # Observations
           for i = 1:length(xs)
               xs[i] ~ Normal(μ, √σ²)
           end
       end
gdemo (generic function with 2 methods)

julia> # setup model and sampling algorithm
       xs = randn(100);

julia> m = gdemo(xs);

julia> chain = sample(m, NUTS(), 1000, save_state=true);

julia> chain.info.samplerstate.hamiltonian.metric
DiagEuclideanMetric([0.017822320394359714, 0.01 ...])

julia> versioninfo()
Julia Version 1.7.0
Commit 3bf9d17731 (2021-11-30 12:12 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, skylake)

What version are you on?

Thanks @torfjelde  I tried  a new project file and ensured it had the latest Turing and still getting the same results with the code I posted but replicated the correct calculation of the preconditioner with yours.
But playing with it, I think this might actually have something to do with heuristics on the number of samples/adaptations/dimensions?  Maybe it doesn't precondition at all in certain circumstances?
Try this tiny update on your code.  All it does is set the number of adaptations relative to the number off samples.
xs = randn(100)
m = gdemo(xs)
samples = 1000
num_adapts_prop = 0.1
num_adapts = Int(floor(samples * num_adapts_prop))
δ = 0.65
alg = NUTS(num_adapts, δ)
chain = sample(m, alg, samples, save_state=true);
chain.info.samplerstate.hamiltonian.metric

This doesn't calculate the preconditioner.  If you increase the num_adapts_prop to 0.2 it will though.  Similarly, if you do samples = 500 with num_adapts_prop = 0.3 it will precondition.
Digging into this, It seems there is a threshod with this model at least.  Set samples = 1000 then with num_adapts_prop = 0.14 it doesn't calculate the preconditioner but with num_adapts_prop = 0.15 it does.
We don't necessarily need to do super-short runs, though for some robustness checks it would be nice.  But the main concern is that there is some heuristic that is in relative rather than absolute terms since I think we saw this lack of preconditioning with 5000 samples and 500ish adaptations runs for certain model sizes.  Any ideas?

I will close since it seems like ther eis some number of adapts where it starts preconditioning

authors: jlperla torfjelde


text:
🛑 Hacker News is down

In c289adb, Hacker News (https://news.ycombinator.com) was down:

HTTP code: 502
Response time: 62 ms

Resolved: Hacker News is back up in f3b029f after 6 minutes.

repo: TwitchWink/Status


text:
Command Line  syntax is broken

Version: 1.6
The  argument for the command line isn't parsed properly, the config takes priority over it.

what's the full command you're using?

.\SenScriptDecompiler.exe CS3 .\dat_en\*.dat .\output
From a fresh download of 1.6

that's weird that the <game> arg in particular doesn't work as per https://github.com/TwnKey/SenScriptsDecompiler/blob/main/sources/main.cpp#L78
However, i didn't even know that wildcards worked atall in the previous code which looked like this: https://github.com/TwnKey/SenScriptsDecompiler/blob/20059089d97941e9c7b48a19be8c695b1eebcf33/sources/main.cpp
What's the last version you were using?

The last version I used was before the Haji support release. And yeah wildcard has been a thing since then. Same issue with single file

repo: TwnKey/SenScriptsDecompiler


text:
fix: broken search when using [emojisToShowFilter] #182

app.component.ts: Added filter function to easily test [emojisToShowFilter].
emoji-search.service.ts: Need to pass "unified" string to the filter function rather than Emoji object. Also added in some guards for undefined result, which was causing issues in some cases.
closes #182

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: s-moran scttcper

repo: TypeCtrl/ngx-emoji-mart


text:
Failed to activate the atom-typescript package

Many errors appears after last atom update. the Error i'm facing now is "Failed to activate the atom-typescript package"
Deprecated calls
atom core (1 deprecation)
The contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. Please, stop using rootElement and access the editor contents directly instead.
HTMLElement.rootElement - /Applications/Atom.app/Contents/Resources/app/src/text-editor-element.js:23:10
getFromShadowDom - /Users/rashidalmarri/.atom/packages/atom-typescript/dist/main/atom/tooltipManager.js:18:19
Object.attach - /Users/rashidalmarri/.atom/packages/atom-typescript/dist/main/atom/tooltipManager.js:38:18
TypescriptEditorPane.setupTooltipView - /Users/rashidalmarri/.atom/packages/atom-typescript/dist/main/typescriptEditorPane.js:187:24
new TypescriptEditorPane - /Users/rashidalmarri/.atom/packages/atom-typescript/dist/main/typescriptEditorPane.js:140:14
subscriptions.add.atom.workspace.observeTextEditors - /Users/rashidalmarri/.atom/packages/atom-typescript/dist/main/atomts.js:90:24
Unexpected Token <
SyntaxError: Unexpected token <
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:94:52)
at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/src/compile-cache.js:239:29)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (file:///Applications/Atom.app/Contents/Resources/app/static/index.js:47:45)
at require (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:66:33)
at Object. (/Users/rashidalmarri/.atom/packages/atom-typescript/dist/main/typescriptEditorPane.js:9:24)
at Object. (/Users/rashidalmarri/.atom/packages/atom-typescript/dist/main/typescriptEditorPane.js:192:3)
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:106:36)
at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/src/compile-cache.js:239:29)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (file:///Applications/Atom.app/Contents/Resources/app/static/index.js:47:45)
at require (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:66:33)
at Object. (/Users/rashidalmarri/.atom/packages/atom-typescript/dist/main/atomts.js:16:32)
at Object. (/Users/rashidalmarri/.atom/packages/atom-typescript/dist/main/atomts.js:207:3)
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:106:36)
at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/src/compile-cache.js:239:29)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (file:///Applications/Atom.app/Contents/Resources/app/static/index.js:47:45)
at require (internal/module.js:20:19)
at customRequire (/Applications/Atom.app/Contents/Resources/app/static/:96:26)
at Package.module.exports.Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app/src/package.js:887:35)
at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app/src/package.js:242:22)
at /Applications/Atom.app/Contents/Resources/app/src/package.js:1014:34
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at PackageManager.module.exports.PackageManager.triggerDeferredActivationHooks (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:676:42)
at /Applications/Atom.app/Contents/Resources/app/src/package-manager.js:607:23
[Enter steps to reproduce:]

...
...

Atom: 1.19.0 x64
Electron: 1.6.9
OS: Mac OS X 10.12.6
Thrown From: atom-typescript package 11.0.6
Stack Trace
Failed to activate the atom-typescript package
At Unexpected token <

SyntaxError: Unexpected token <
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:94:52)
    at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/src/compile-cache.js:239:29)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (Applications/Atom.app/Contents/Resources/app/static/index.js:47:45)
    at require (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:66:33)
    at /packages/atom-typescript/dist/main/typescriptEditorPane.js:9:24)
    at /packages/atom-typescript/dist/main/typescriptEditorPane.js:192:3)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/src/compile-cache.js:239:29)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (Applications/Atom.app/Contents/Resources/app/static/index.js:47:45)
    at require (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:66:33)
    at /packages/atom-typescript/dist/main/atomts.js:16:32)
    at /packages/atom-typescript/dist/main/atomts.js:207:3)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/src/compile-cache.js:239:29)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (Applications/Atom.app/Contents/Resources/app/static/index.js:47:45)
    at require (internal/module.js:20:19)
    at customRequire (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:96:26)
    at Package.module.exports.Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app/src/package.js:887:35)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app/src/package.js:242:22)
    at /Applications/Atom.app/Contents/Resources/app/src/package.js:1014:34
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at PackageManager.module.exports.PackageManager.triggerDeferredActivationHooks (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:676:42)
    at /Applications/Atom.app/Contents/Resources/app/src/package-manager.js:607:23

Commands
     -1:47.4.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)

Non-Core Packages
arduino-atom 0.1.0
arduino-toolbelt 0.1.1
arduino-upload 1.1.0
atom-alignment 0.13.0
atom-typescript 11.0.6
busy-signal 1.4.3
change-case 0.6.5
dash 1.7.1
emmet 2.4.3
file-icons undefined
highlight-selected 0.13.1
intentions 1.1.5
language-arduino 0.4.3
language-blade 0.34.0
language-vue 0.23.1
linter 2.2.0
linter-ui-default 1.6.4
todo-show 1.11.0
vue-autocomplete 0.1.1

Got the solution here:
https://github.com/TypeStrong/atom-typescript/issues/1317

Hello @ralmarri12 how can I fix this issue?
Thanks.

Hello @jcardenasp,
I uninstalled the tyepscript package,
and I installed this one,
https://github.com/lierdakil/atom-typescript
(Do not follow the read me just download the package and install it manually)
that how it works with me

Hi I am having a similar error, but for another cause different:
Check the error here:

Cannot find module 'strip-bom-buf'
Hide Stack Trace
Error: Cannot find module 'strip-bom-buf'
at Module._resolveFilename (module.js:470:15)
at Module._resolveFilename (C:\Users\User\AppData\Local\atom\app-1.19.2\resources\electron.asar\common\reset-search-paths.js:35:12)
at Function.get_Module._resolveFilename (C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\module-cache.js:354:58)
at Module.require (file:///C:/Users/User/AppData/Local/atom/app-1.19.2/resources/app/static/index.js:40:43)
at require (C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\native-compile-cache.js:66:33)
at Object. (C:\Users\User.atom\packages\linter\node_modules\sb-fs\lib\index.js:11:20)
at Object. (C:\Users\User.atom\packages\linter\node_modules\sb-fs\lib\index.js:57:3)
at Module.get_Module._compile (C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\native-compile-cache.js:106:36)
at Object.value [as .js] (C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\compile-cache.js:239:29)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (file:///C:/Users/User/AppData/Local/atom/app-1.19.2/resources/app/static/index.js:47:45)
at require (C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\native-compile-cache.js:66:33)
at Object. (C:\Users\User.atom\packages\linter\node_modules\atom-package-deps\lib\helpers.js:135:13)
at Object. (C:\Users\User.atom\packages\linter\node_modules\atom-package-deps\lib\helpers.js:180:3)
at Module.get_Module._compile (C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\native-compile-cache.js:106:36)
at Object.value [as .js] (C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\compile-cache.js:239:29)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (file:///C:/Users/User/AppData/Local/atom/app-1.19.2/resources/app/static/index.js:47:45)
at require (C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\native-compile-cache.js:66:33)
at Object. (C:\Users\User.atom\packages\linter\node_modules\atom-package-deps\lib\index.js:55:16)
at Object. (C:\Users\User.atom\packages\linter\node_modules\atom-package-deps\lib\index.js:84:3)
at Module.get_Module._compile (C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\native-compile-cache.js:106:36)
at Object.value [as .js] (C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\compile-cache.js:239:29)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (file:///C:/Users/User/AppData/Local/atom/app-1.19.2/resources/app/static/index.js:47:45)
at require (C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\native-compile-cache.js:66:33)
at Object.activate (C:\Users\User.atom\packages\atom-typescript\dist\main\atomts.js:29:5)
at Package.module.exports.Package.activateNow (C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\package.js:253:25)
at C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\package.js:1014:34
at Function.module.exports.Emitter.simpleDispatch (C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\node_modules\event-kit\lib\emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\node_modules\event-kit\lib\emitter.js:141:34)
at PackageManager.module.exports.PackageManager.triggerDeferredActivationHooks (C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\package-manager.js:676:42)
at C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\package-manager.js:607:23

Try uninstalling and reinstalling. This can happen from time to time I
believe. Also, please do not use lierdakil/atom-typescript anymore, it's
neither supported nor maintained.
On пт, 18 авг. 2017 г., 23:29 Marlon Olaya notifications@github.com wrote:

Hi I am having a similar error, but for another cause different:
Check the error here:
Cannot find module 'strip-bom-buf'
Hide Stack Trace
Error: Cannot find module 'strip-bom-buf'
at Module._resolveFilename (module.js:470:15)
at Module._resolveFilename
(C:\Users\User\AppData\Local\atom\app-1.19.2\resources\electron.asar\common\reset-search-paths.js:35:12)
at Function.get_Module._resolveFilename
(C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\module-cache.js:354:58)
at Module.require
(file:///C:/Users/User/AppData/Local/atom/app-1.19.2/resources/app/static/index.js:40:43)
at require
(C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\native-compile-cache.js:66:33)
at Object.
(C:\Users\User.atom\packages\linter\node_modules\sb-fs\lib\index.js:11:20)
at Object.
(C:\Users\User.atom\packages\linter\node_modules\sb-fs\lib\index.js:57:3)
at Module.get_Module._compile
(C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\native-compile-cache.js:106:36)
at Object.value [as .js]
(C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\compile-cache.js:239:29)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require
(file:///C:/Users/User/AppData/Local/atom/app-1.19.2/resources/app/static/index.js:47:45)
at require
(C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\native-compile-cache.js:66:33)
at Object.
(C:\Users\User.atom\packages\linter\node_modules\atom-package-deps\lib\helpers.js:135:13)
at Object.
(C:\Users\User.atom\packages\linter\node_modules\atom-package-deps\lib\helpers.js:180:3)
at Module.get_Module._compile
(C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\native-compile-cache.js:106:36)
at Object.value [as .js]
(C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\compile-cache.js:239:29)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require
(file:///C:/Users/User/AppData/Local/atom/app-1.19.2/resources/app/static/index.js:47:45)
at require
(C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\native-compile-cache.js:66:33)
at Object.
(C:\Users\User.atom\packages\linter\node_modules\atom-package-deps\lib\index.js:55:16)
at Object.
(C:\Users\User.atom\packages\linter\node_modules\atom-package-deps\lib\index.js:84:3)
at Module.get_Module._compile
(C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\native-compile-cache.js:106:36)
at Object.value [as .js]
(C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\compile-cache.js:239:29)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require
(file:///C:/Users/User/AppData/Local/atom/app-1.19.2/resources/app/static/index.js:47:45)
at require
(C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\native-compile-cache.js:66:33)
at Object.activate
(C:\Users\User.atom\packages\atom-typescript\dist\main\atomts.js:29:5)
at Package.module.exports.Package.activateNow
(C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\package.js:253:25)
at
C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\package.js:1014:34
at Function.module.exports.Emitter.simpleDispatch
(C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\node_modules\event-kit\lib\emitter.js:25:20)
at Emitter.module.exports.Emitter.emit
(C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\node_modules\event-kit\lib\emitter.js:141:34)
at
PackageManager.module.exports.PackageManager.triggerDeferredActivationHooks
(C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\package-manager.js:676:42)
at
C:\Users\User\AppData\Local\atom\app-1.19.2\resources\app\src\package-manager.js:607:23
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/TypeStrong/atom-typescript/issues/1323#issuecomment-323453576,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG8EZjqd36xqenHo8BXjw1hR3mil6f_Wks5sZfQ6gaJpZM4O1lk8
.

authors: jcardenasp lierdakil molayaias ralmarri12

repo: TypeStrong/atom-typescript


text:
Fix wrong handling of missing/empty titleLink option value

Fixes #2085

Thanks!

repo: TypeStrong/typedoc


text:
Exists any get or set method?

Hi,
how can i set or get a single config value e.g. shutterspeed, iso...?
Thank you providing us this wrapper.
Best regards,
Nic

Hi @Nic2012,
I think, the parameters can be changed with CameraWidgets class.
https://github.com/TypedProject/ts-gphoto2-driver/blob/master/src/components/CameraWidgets.ts
Honestly, I don't know how it works. But if I look the java version of gphoto2, the configuration should be changed with this peace of code:
const camera = new Camera();
try {
  console.log('[GPDRIVER] Camera init');
  camera.initialize();

  const cfg = new CameraWidgets(camera);

   try {
        cfg.setValue("/actions/autofocusdrive", true);
        cfg.apply();
   } finally {
      cfg.closeQuietly();
   }

} catch (er) {
  console.error(er.message);
} finally {
  camera.closeQuietly();
}

I thinks a list of actions can be retrieved somewhere :)
Tell if you have any question !
See you
Romain

Thanks Romain for the answer,
because I havent installed typescript on my Raspbian Stretch, I have tried to run one of the examples but I got:
pi@cc:~/node_modules/@typedproject/gphoto2-driver/examples $ node camera.js
module.js:538
    throw err;
    ^
Error: Cannot find module '../src'
    at Function.Module._resolveFilename (module.js:536:15)
    at Function.Module._load (module.js:466:25)
    at Module.require (module.js:579:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/pi/node_modules/@typedproject/gphoto2-driver/examples/camera.js:3:38)

But there is no problem with other node modules. Do y have any idea?
Best regards,
Nic

Ok normal, the src directory isn't embed in the module package (only lib). Examples work if you checkout the project from git ;) or if you replace ../src by ../lib or@typedproject/gphoto2-driver.
See you,
Romain

Still doesnt work, sorry:
pi@cc:~/node_modules/@typedproject/gphoto2-driver/examples $ node camera-info.js
module.js:538
    throw err;
    ^

Error: Cannot find module '../lib'
    at Function.Module._resolveFilename (module.js:536:15)
    at Function.Module._load (module.js:466:25)
    at Module.require (module.js:579:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/pi/node_modules/@typedproject/gphoto2-driver/examples/camera-info.js:3:38)

pi@cc:~/node_modules/@typedproject/gphoto2-driver/examples $ node camera-info.js
module.js:538
    throw err;
    ^

Error: Cannot find module '@typedproject/gphoto2-driver'
    at Function.Module._resolveFilename (module.js:536:15)
    at Function.Module._load (module.js:466:25)
    at Module.require (module.js:579:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/pi/node_modules/@typedproject/gphoto2-driver/examples/camera-info.js:3:38)

Is there any action needed before, is it depending on which folder level I run the script?
BTW your package isnt accessible at npm after y last update 3 hours before:

Ok, the build process isn't done. I'll fix that.

it's fixed :) v1.0.3

Upgraded from npm minutes before.
But cannot really follow y, do I have to run npm build first? If yes where, but I tried:
pi@cc:~/node_modules/@typedproject/gphoto2-driver $ npm run build

> @typedproject/gphoto2-driver@1.0.0 build /home/pi/node_modules/@typedproject/gphoto2-driver
> tsc --project tsconfig.compile.json

sh: 1: tsc: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! @typedproject/gphoto2-driver@1.0.0 build: `tsc --project tsconfig.compile.json`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the @typedproject/gphoto2-driver@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

pi@cc:~/node_modules/@typedproject/gphoto2-driver $ node examples/camera-info.js
module.js:538
    throw err;
    ^

Error: Cannot find module '../src'
    at Function.Module._resolveFilename (module.js:536:15)
    at Function.Module._load (module.js:466:25)
    at Module.require (module.js:579:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/pi/node_modules/@typedproject/gphoto2-driver/examples/camera-info.js:3:38)
    at Module._compile (module.js:635:30)

I have no typescript modules installed, is that really necessary too?

Hi @Nic2012,
Isn't necessary. I haven't checked the package deployed on npm and his dependencies. Now the package works fine.
Just before install the latest module remove your node_modules then run npm install or yarn install.
See you,
Romain

Ok, I can run a script referenced the driver, but the example directory is gone after installing v1.0.6:
pi@cc:~/node_modules/@typedproject/gphoto2-driver $ ls
lib  LICENSE  node_modules  package.json  README.md  src  yarn.lock

I will check later y suggested setter method on CameraWidgets.

Yep I removed the examples in node_modules. Examples shouldn't packaged in npm ;).
You can retrieve the same examples here https://github.com/TypedProject/ts-gphoto2-driver/tree/master/examples

Hey Romain,
setValue or getValue methods works fine with a Nikon camera :) Its faster than using original gphoto2 cli. Shortly after setValue its possible to call getValue and returning the new value asap. So I am wondering to call cfg.apply() afterwards. Do y think its really necessary?
What method do  I have to call to get same output like from the gphoto2 cli:
gphoto2 --get-config=iso
Label: ISO Speed
Type: RADIO
Current: 250
Choice: 0 50
Choice: 1 60
...

And finally what would be the aquivalent to gohoto2 --list-all-config?
I found in one example an exception:
node camera.js
Camera => Camera {
  gpMethodType: 'gp_camera',
  buffer: <Buffer@0x30217b0 70 57 02 03>,
  initialized: true,
  closed: false }

/home/pi/node_modules/@typedproject/gphoto2-driver/src/driver/utils/GPUtils.ts:15
    throw new Error(`${method} returned ${returnValue}: ${errorStr}`);
          ^
Error: gp_file_save returned -1: Unspecified error
    at Object.checkCode (/home/pi/node_modules/@typedproject/gphoto2-driver/src/driver/utils/GPUtils.ts:15:11)
    at CameraFile.save (/home/pi/node_modules/@typedproject/gphoto2-driver/src/components/CameraFile.ts:20:12)
    at Object.<anonymous> (/home/pi/_gp/camera.js:18:16)
    at Module._compile (module.js:635:30)
...

Thank y for y support and this great framework.
Best regards,
Nic

Hi @Nic2012

Shortly after setValue its possible to call getValue and returning the new value asap.
I think it's possible yes :). I'll work on ASAP.

And finally what would be the equivalent to gphoto2 --list-all-config?
I think Camera.getSummary(), Camera.getManual() or Camera.getAbout() give you some info. Otherwise, I can look in the source code of gphoto2 what is the function called from libphoto
when --list-all-config is used.

I saw this error, and generally the camera is completely blocked for few minutes after that. I don't how I can reproduce the bug and fix that. I thinks it come from N-API or from a bad operation.

See you,
Romain

Hum for config list. Maybe => CameraWidgets.getNames() return a list a of widgets name (configuration list).

Hi Romain,
yes, CameraWidgets.getNames() returns all existing keys but without values.
Maybe y could add a "toJson()" method returning a complete cameraWidget by key name formatting like
{
"shutterspeed2": {
            "label": "Shutter Speed 2",
            "type": "choice",
            "value": "1/500",
            "choices": [
              "1/8000",
             ...
              "30",
              "x 200",
              "Bulb"
            ]
          },
}

or much better ;) the complete treeview over sections > actions > props
{
  "main": {
    "type": "section",
    "label": "Camera and Driver Configuration",
    "children": {
      "actions": {
        "type": "section",
        "label": "Camera Actions",
        "children": {
          "autofocusdrive": {
            "label": "Drive Nikon DSLR Autofocus",
            "type": "toggle",
            "value": 0
          },

Is there any method in API to get the section and then to iterate through it?
Whenever its possible please returning results as json it makes it easier to process it.
Thank y and best regards,
Nic

Hello @Nic2012
Great news, v2.0.0 add method to generate configuration as JSON ;)
I thinks and I hope you'll be happy :D
See you,
Romain

haha :), I am already happy from the beginning of this new node wrapper ;)
only 2 suggestions:

in src/components/Widget.ts add readonly to ToJSON(), by this flag we are able to enable or disable a property e.g. on frontend
I would not show range, choices or info in toJSON() if they are null, undefined or empty; my Nikon shows in every widget an empty info field and has only few ranges

Best regards,
Nic

I forgot readonly ^^
Ok, I missed that because JSON.stringify remove automatically range and choices when the fields are undefined.

I'll fix that ASAP ;)

If you want help on the code PR are welcome. I can give you access to this repo ;). Tell me if you want to become a contributor.

Sorry, and 1 wish :)
I found storage-info only in this big block of the getSummary() method, could y integrate a function in cameraWidget to resolve it like in gphoto-cli:
 gphoto2 --storage-info
[Storage 0]
label=NIKON D70
basedir=/store_00010001
access=2 Read-only with delete
type=4 Removable RAM
fstype=4 Camera layout (DCIM)
totalcapacity=7822432 KB
free=7452704 KB
freeimages=697

It returns an array with an entry for each memory card.

I

I have mentioned y work at https://github.com/gphoto/libgphoto2 that Markus Meissner will maybe update the recommended bindings on his side.

Thanks @Nic2012 :D

BTW I would change in readme
Some example are available in the examples directory.
into
Some example are available in the examples directory, when you have cloned or downloaded the full project from github.
Otherwise people could confused when they cannot find it after npm install.

I sent you an invitation to this repo ;).

"thank y" ;)

I cannot git clone as mentioned in y guidelines (after replaced username)
git clone https://github.com/YOUR_USERNAME/ts-express-decorators.git
...
remote: Repository not found.
fatal: repository 'https://github.com/....-decorators.git/' not found

yes because, it's the wrong repository url XD.
git checkout https://github.com/TypedProject/ts-gphoto2-driver.git

doesnt work on my PiZero:
git checkout https://github.com/TypedProject/ts-gphoto2-driver.git
fatal: Not a git repository (or any of the parent directories): .git

git clone https://github.com/TypedProject/ts-gphoto2-driver.git ?

ok, works. Do I have then git checkout?

git checkout -b master, maybe ^^

I have warned y, first time doing this ;)
cd into cloned folder? or rightaway "git checkout -b master"

My bad too. I use Webstorm and his UI to checkout or clone project.
GitKraken is very good to manage your git project with a UI ;)
Normally you have cloned the repo in the current directory. So if you run ls command you'll seen the project (with package.json). By default you are on master branch, but you can run git checkout -b master to be sure :)

So far I have git on commandline directly on PIZero (Stretch headless) could be fine for the mom. When I have changed e.g. the readme from project how can I commit it to server? or better first by PR?

The right process is:

create a new branch : fix/update_readme
commit your change with the right message: fix: Update readme information
Create PR on github
Then I valid the PR and I merge it ;)

See you
Romain

Before y comment I (hopefully) managed it, please check.


text:
🛑 Migasfree Server OPL is down

In 69da90f, Migasfree Server OPL (https://migasfree.opl.uab.cat) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Migasfree Server OPL is back up in 9a9f5ff after 7 minutes.

repo: UAB-OPL/opl-uab-monitoring


text:
🛑 Web OPL is down

In 453af4f, Web OPL (https://opl.uab.cat) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Web OPL is back up in d63e92e after 5 minutes.