Incorrect File Encoding Used When Adding Keys - Previously Added UTF-16 Key Files Cannot Be Used to Access the Repository

Output of restic version
restic 0.16.4 compiled with go1.21.6 on windows/amd64

What backend/service did you use to store the repository?
Tested with rest server (https) and local folder. Probably doesn't matter.
Problem description / Steps to reproduce
Summary:
It seems that Restic is treating the encoding of a key file differently depending on whether the file is used for initializing/accessing the repository, or when a new key file is added. I discovered that issue when working with PowerShell on Windows. When piping command output to a file using PowerShell, the created file is encoded using UTF-16 by default.
Key issue:
Although adding an UTF-16 encoded key file as a key to the repository seems to work, this added key file cannot be used to access the repository. If a UTF-16 encoded recovery key would be added but not tested, one wouldn't be able to access any backups using this recovery key.
Steps to reproduce:
The example below uses PowerShell since this creates UTF-16 files by default. However, the issue probably can also be reproduced if the key file is created manually using the "problematic" encoding.
First. generate 2 simple key files (key1 and key2), initialize the repo, add the second key, and list all keys using key1:
PS C:\Users\dummy> "test1" > key1
PS C:\Users\dummy> "test2" > key2
PS C:\Users\dummy> restic.exe --password-file=key1 --repo ./data init
created restic repository b441efffee at ./data

Please note that knowledge of your password [...]

PS C:\Users\dummy> restic.exe --password-file=key1 --repo ./data key add --new-password-file key2
repository b441efff opened (version 2, compression level auto)
created new cache in C:\Users\dummy\AppData\Local\restic
saved new key as <Key of MYHOST\dummy@MYHOST, created on 2024-06-05 16:10:58.3340282 +0200 CEST m=+3.575316901>

PS C:\Users\dummy> restic.exe --password-file=key1 --repo ./data key list
repository b441efff opened (version 2, compression level auto)
 ID        User          Host     Created
-----------------------------------------------------
*8cb67921  MYHOST\dummy  MYHOST  2024-06-05 16:09:57
 997852d4  MYHOST\dummy  MYHOST  2024-06-05 16:10:58
-----------------------------------------------------

(Remark: For simplicity of the example I piped a String to file which of course is not recommended for several reasons. However, the same issue can be reproduced when output of another command is redirected to a file, e.g. Get-RandomPassword > password.txt)
So far everything seems to went fine without errors. However, when we now try to access the repo using key2, this key is not accepted, although it has been added before:
PS C:\Users\dummy> restic.exe --password-file=key2 --repo ./data key list
Fatal: wrong password or no key found

To further examine the issue, we will convert key2 to UTF-8 and save it as key2-UTF8. However, accessing the repo using the UTF-8 encoded file is also not working:
PS C:\Users\dummy> Get-Content key2 | Set-Content key2-UTF8
PS C:\Users\dummy> restic.exe --password-file=key2-UTF8 --repo ./data key list
Fatal: wrong password or no key found

Now key2-UTF8 is added as a key (key1 is used for this operation):
PS C:\Users\dummy> restic.exe --password-file=key1 --repo ./data key add --new-password-file key2-UTF8
repository b441efff opened (version 2, compression level auto)
saved new key as <Key of MYHOST\dummy@MYHOST, created on 2024-06-05 16:22:27.7545357 +0200 CEST m=+2.787216801>

Now, both key2 as well as key2-UTF8 can be used to access the repository:
PS C:\Users\dummy> Get-Content .\key2-UTF8
test2
PS C:\Users\dummy> restic.exe --password-file=key2-UTF8 --repo ./data key list
repository b441efff opened (version 2, compression level auto)
 ID        User          Host     Created
-----------------------------------------------------
*27276e81  MYHOST\dummy  MYHOST  2024-06-05 16:22:27
 8cb67921  MYHOST\dummy  MYHOST  2024-06-05 16:09:57
 997852d4  MYHOST\dummy  MYHOST  2024-06-05 16:10:58
-----------------------------------------------------

PS C:\Users\dummy> Get-Content .\key2
test2
PS C:\Users\dummy> restic.exe --password-file=key2 --repo ./data key list
repository b441efff opened (version 2, compression level auto)
 ID        User          Host     Created
-----------------------------------------------------
 8cb67921  MYHOST\dummy  MYHOST  2024-06-05 16:09:57
*27276e81  MYHOST\dummy  MYHOST  2024-06-05 16:22:27
 997852d4  MYHOST\dummy  MYHOST  2024-06-05 16:10:58
-----------------------------------------------------

Please note that in both cases, the key with the ID 27276e81 was used to access the repository.
Or with other words, the UTF-16 encoded file can now also be used to access the repository, which failed before:
PS C:\Users\dummy> file key*
key1:      Unicode text, UTF-16, little-endian text, with CRLF line terminators
key2:      Unicode text, UTF-16, little-endian text, with CRLF line terminators
key2-UTF8: ASCII text, with CRLF line terminators

PS C:\Users\dummy> Get-Content .\key1, .\key2, .\key2-UTF8
test1
test2
test2

Expected behavior
When adding an UTF-16 encoded file as a key, this added key should actually allow accessing the repository, or at least adding this key should fail, instead of siltently adding a corrupted key.
Actual behavior
Restic fails with "wrong password or no key found" when accessing a repository with a UTF-16 encoded key file that has been "successfully" (but apparently using the wrong encoding and therefore corrupted) added before.
Do you have any idea what may have caused this?
My guess is that when a repo is initialized or accessed, the key file is properly decoded. However, when an additional key file is added to the repository, the file is handled incorrectly and therefore later on cannot be used to access the repository.
Reason:

When adding key2 (UTF-16) as a key to the repo, it cannot be used to access the repository.
After adding key-UTF-8 (same content, but UTF-8 encoded), both files (UTF-8 and UTF-16) can then be used to access the repository.
This leads to my assumption, that during init/access, restic probably decodes the file, but file encoding is handled differently during adding of a key.

Did restic help you today? Did it make you happy in any way?
I love Restic a lot! :) But I am also very happy that I discovered this issue before actually having to rely on a broken recovery key for restoring my data... 😄

When opening a repository, passwords files are decoded into UTF-8 (without BOM). This decoding step was missing in key add/passwd. That will be fixed by #4851.


added international school of milan

the domain of the e-mail is myise.cloud
International school of milan official website: https://www.internationalschoolofmilan.it/en

@TeamSquidTempura I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host myise.ism not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


TypeError: 'tap' is not a constructor (Trying to use Mocha with Testling)

Hi James,
While following the Testling Guide for Mocha: https://ci.testling.com/guide/mocha I attempted to verify my configuration locally using testling CLI and got the error:

not ok 1 Error: TypeError: 'tap' is not a constructor (evaluating 'new Reporter(runner)') on line 4129

Running npm test works fine.

Code: https://github.com/nelsonic/learn-testling
Any insight would be much appreciated.
Thanks.

The service is long dead, unfortunately.
Please file a new issue if you're still having trouble.


Update fixtures article

Affected Components

[ ] Content & Marketing
[ ] Pricing
[ ] Test
[ ] Docs
[x] Learn
[ ] Other

Pre-Requisites

[ ] Code is linted (npm run lint)

Notes for the Reviewer

This PR extends the fixture best practices article with content from a recently released video.
Additionally, I reworked the youtube playlist embed to render different lists. We now have the "general" list high in the hierarchy and a focused "Playwright fixtures" list in the fixtures article.
Screenshots

PWT Playlist
Fixture Playlist

@stefanjudis very cool. I think it's best we first merge this behemoth and then handle any merge gremlins. https://github.com/checkly/docs.checklyhq.com/pull/1142

@tnolet Sure. If you give me a stamp I'm happy to merge (feel free to merge yourself). I see you have a monster coming in. :D


Add Socks Proxy(Created by MrSonicMaster)

Credits to MrSonicMaster

You are editing the dist bot.js, you should be editing the src

Close this pulk request please.

@dahquan but it work for me?

on feedme.js there is const Bot = require('../dist')

Yes, but the dist folder is what's generated from the src folder. It will work, but it will also be overwritten when any new changes are made.

Okay


Slurm exec test fails

Sometimes works, but if not gives XenonException: slurm adaptor: Failed to submit interactive job. Interactive job status is DONE exit code = 0

The integration test slurm_test07_interactiveJob() seems to cover this case:
It starts an interactive job running cat, then connects to stdin, writes some text to it and checks if this text is printed on stdout.
How is your use case different from this test ?

My test throws an XenonException during jobs.submitJob(description)
My test writes nothing to stdin, but does an echo and verifies the stdout
My test uses the default update times, while the Xenon integration tests uses times specified at https://github.com/NLeSC/Xenon/blob/master/src/integrationTest/docker/xenon.test.properties.docker

Not using stdin then ?

In https://github.com/NLeSC/xenon-cli/blob/master/src/main/java/nl/esciencecenter/xenon/cli/ExecCommand.java the stdin is always forwarded to the job, but the test fails before streams of the job are available, so the stdin is probably not involved in the test failure.


Disable all breakpoints except one

Sometimes while debugging we may have loads of breakpoints; It would be convenient to disable all other breakpoints except the one that we clicked on.
Let's say while holding Alt or Ctrl if we press the breakpoint it disables all others except that one.

This is a fair feature request, however we do not have it on our immediate plan. Thus assigning to backlog and we might add this in the future. Thanks

I disagree and feel this issue is crucial

I also feel this issue is crucial.  It seems like low-hanging fruit: very basic functionality, and easy to implement.  I would be very grateful if someone took a stab at it.  It's important enough to me that if no one else is up to it, I might try it myself when I have time outside of work (though tbh, I probably won't have the time to do it for a few months).

@johncolvin-og feel free to submit a PR that implements the feature, since we have the same problem: we won't have the time to do this anytime soon.

A scenario, a custom common allocator for millions of different objects that i don't want to hit every single time, only when I get to a specific place in my project.
It's handy to just have this breakpoint set but disabled and then from the breakpoint windows just to enable it when needed.
I done this many time while working in Visual Studio.
All or nothing approach is never the solution. Suppose I'd want to close a file or stage/destage in Git and it'd be all or nothing.
Disable individual breakpoints will help a lot.
Thanks.

Any update on this ? As other mentionned this is a must have for me. When debugging/dev long running process, you might setup numerous of breakpoint that you want to keep, but at some point you just want to rush to the latest (or specific one), without having to F5 countless of time


[Feature] Create CCI Indicator

Create an "CommodityChannelIndex" indicator class and the associated "ATR" helper method in the QCAlgorithm base class. See introduction to indicators - https://lean.quantconnect.com/docs#topic9.html
Add the associated tests to Tests project under /Indicators to confirm the Commodity Channel Index values match up with the data provided in /Tests/TestData/spy_with_cci.txt file.

great code!! thanks for the effort!!

Thanks! I didn't realize my push would end up here with referencing the issue.  Still new to github and contributing and what not.

Hi Jared,
Where was the data exported from for the spy_with_cci.txt file?  I'm getting slightly different results in the 3rd or 4th decimal places.

We export the data using http://www.freestockcharts.com/'s export chart data feature.
I wouldn't worry about that level of error. You can submit the pull request and Jared or I will take a peek.

Close with #7f340a56dd299a6233427d73d6231fc7520419aa


Provide OSPRay support in the mac version of VisIt.

The mac version doesn't currently include OSPRay support. It should.
Impact

[X] High - User productivity significantly improved
[ ] Medium - User productivity partially improved
[ ] Low - User productivity trivially improved

Need to create a patch for VTK in Rendering/OSPRay/CMakeLists.txt that adds the following line:
target_link_libraries(${vtk-module} LINK_PUBLIC vtkFiltersGeometry)

resolved on 3.0RC in #3508 and on develop in #3509


feat(compose lint): support lint compose policies

Fix #XXX
Replace shell scripting in https://github.com/updatecli/policies/blob/main/.ci/scripts/release.bash#L41-L122 with a CLI command, for such I decided to use updatecli compose lint <path>.
I have yet to implement everything, just a tiny validation. Please let me know what your thoughts are.
Test
To test this pull request, you can run the following commands:
make build
$ dist/updatecli_darwin_arm64/updatecli compose lint ../oblt-updatecli-policies/updatecli/policies

+++++++++++++++++++++++++++
+ LINT UPDATECLI POLICIES +
+++++++++++++++++++++++++++

Policy directory: ../oblt-updatecli-policies/updatecli/policies/apm/apm-data-spec
Policy directory: ../oblt-updatecli-policies/updatecli/policies/apm/apm-gherkin
Policy directory: ../oblt-updatecli-policies/updatecli/policies/apm/apm-json-specs
Policy directory: ../oblt-updatecli-policies/updatecli/policies/apm/ecs-logging-specs
Policy directory: ../oblt-updatecli-policies/updatecli/policies/apm/test
ERROR:   * file '../oblt-updatecli-policies/updatecli/policies/apm/test/values.yaml' missing for policy ../oblt-updatecli-policies/updatecli/policies/apm/test
Policy directory: ../oblt-updatecli-policies/updatecli/policies/golang/version
Policy directory: ../oblt-updatecli-policies/updatecli/policies/oblt-cli/version

Additional Information
Tradeoff

Potential improvement

Thanks for the pullrequest, having this checks within the Updatecli command make sense.
I am just wondering the name updatecli compose lint because it's not related to the compose feature but more policy.
I don't have a better solution at the moment, for info I am considering renaming a few command cfr https://github.com/updatecli/updatecli/issues/1879


[Windows 10] Wallet GUI Issues

A user from IRC is having some formatting issues with the GUI on Win10. And they are unable to lock/unlock the wallet.
Clicking "Change Passphrase" under settings does nothing.
"Lock Wallet" under settings is missing completely.

User with issue: Tomodude (IRC Nick)

This looks like he did not yet lock his wallet once.
A lock on the top of the sidebar icons should be viewable and i think if the wallet is not encrypted there is no locking button at all.

Ah that would make sense, but is there a fix for the formatting issues? I've heard some Win10 users don't have issues with the GUI formatting.

I think this is a specific issue with high dpi or high resolution settings? I thought reading about the same issue which should be related to the high dpi or scaling on windows.
http://www.tenforums.com/tutorials/5990-dpi-scaling-level-displays-change-windows-10-a.html
I think the default value on windows 10 is 125%. I think this will resolve the cluttering with the text.

Alright, thanks! ♥
I will let the user know next time they are around and report back on the results.

I think this is a specific issue with high dpi or high resolution settings? I thought reading about the same issue which should be related to the high dpi or scaling on windows.
http://www.tenforums.com/tutorials/5990-dpi-scaling-level-displays-change-windows-10-a.html

I think the default value on windows 10 is 125%. I think reducing this will resolve the cluttering with the text. Maybe its a specific problem of scaling % value and resolution.
That worked for them, thanks! I wonder what can be done to fix this code wise tho.

as far as i can see setting the correct dpi settings for the application would solve this.
https://doc.qt.io/qt-5/highdpi.html maybe Rob can use this info to set the correct settings to the qt gui.


no null-safety in setStingList in SharedPreferences

the setStringList hv an argument List. it makes issues or returns exceptions when we have to use nullable list of strings in a StringList. so it should be List<String?>?  as we know that setString wants String?. i hope it will fixed as soon as possilbe.

it makes issues or returns exceptions when we have to use nullable list of strings in a StringList.

That is the expected behavior if you bypass type checking and pass the wrong types.

so it should be List<String?>?

It certainly shouldn't be List<String?>? because storing nothing isn't supported.
It could potentially be List<String?>, but that would be a breaking change; more likely if we were to support it, it would be via a new method. What is the use case for storing null values in the list?

as we know that setString wants String?.

That is not the case. setString takes a String, not a String?, by design. That will not be changing.

i hope it will fixed as soon as possilbe.

This isn't a bug; support for List<String?> would be a feature request. That will need a use case, and evaluation of the value vs the extra API complexity.

I really appreciate your efforts.


Query: Allow to inline DbParameter in FromSql

Issue: Since interpolated string is used for SQL, we capture the argument array as parameter expression in funcletization.
When we print SQL, we did not check that inner values coming out of parameters could be DbParameter too.
Resolves #12067

Replaced by #13127
GitHub messed up something in updating PR.


Feature:  allow setting default type and default overwrite value

When using ssmsh to update lots of values, having to type  type="SecureString" and overwrite=true, allow setting a session default value like decrypt option, so that type and overwrite could be left off of each put request.

one other thing that would be nice to have is a ~/.ssmshrc file that has defaults
e.g.
decrypt=true
overwrite=true
type=securestring

that could persist between sessions.

Thanks for the compliment. I will implement both of these ideas when I have a chance.

I've added support for setting defaults in a configuration file. Refer to the README. 🎉

Tested the 1.4.0 release and it is working great.   used it for over 100 SSM parameters and no issues.

Thank you for testing it out!


chore: remove scirpt dev-server

Thanks to this https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite/pull/503,
it is no longer needed to use dev-server and can just use dev.
Plus, readme and log have been updated accordingly

Thanks to this https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite/pull/503,
it is no longer needed to use dev-server and can just use dev.
Plus, readme and log have been updated accordingly

Relating to:
https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite/pull/503#issuecomment-2173480146
This script is required regardless, but the part of your PR have sense, removing this console.errors is good.
But in documentation this script still should be, but with new description, relating to running modules in isolation, for default behaviour (run by 'pnpm dev') it's indeed not necessary after #503


[#33] Updating library versions

updated libraries, plugins and SBT version (including deprecated syntax warnings).
There does not appear to be any specific reason to support cross building between 2.10 and 2.12 as well as sbt 0.13 being ancient.  I can add this all back in if you would like, it just seemed unnecessary.

@jonas  - any chance of getting this merged/published? If you no longer want to maintain this can you indicate this and that will allow any interested parties to address it accordingly?  I am happy to publish a new version via a fork but also do not want to add confusion to the ecosystem.

Also looking into this but I think this project is not actively maintained.

Also looking into this but I think this project is not actively maintained.

@mdedetrich Maybe we can just move it into the sbt GitHub organization? @jonas what do you think?

@mdedetrich Maybe we can just move it into the sbt GitHub organization? @jonas what do you think?

I have no problems with this but you may have issues getting @jonas attention for confirmation.

Hello everyone,

Also looking into this but I think this project is not actively maintained.

Yes, I unfortunately do not have the bandwidth to maintain this project.

@mdedetrich Maybe we can just move it into the sbt GitHub organization? @jonas what do you think?

I have initiated the transfer with the help of @mkurz

The repo has been transferred with new team with y'all in it.

@jonas @eed3si9n Thanks so much for making this happen so quickly!

Alright, kicked this one off:

https://github.com/scala-steward-org/scala-steward/pull/3281
https://github.com/VirtusLab/scala-steward-repos/pull/345
Added  PGP_PASSPHRASE and PGP_SECRET so publishing works (sonatype credentials were added by Eugene already)

main branch is pretty much up to date now (except paradox, but we will update that after a 0.7.0 release)


Two+ players

Added support for more then two players (Upto eight).

Looks good for a start. Please indent your code properly (tabs/spaces). I've noticed a few bugs, let's see where this goes!

Hey guys! How is it going? I want to close that issue. But if @mohammaduvez currently works on it then I'd better try smth else.

Here is some code clean up
@avalan4e57 if you want to improve or give your own solution then you can.
I want to use a playerMatrix[][] , but it affects others (like colorMatrix, count...etc..)
playerMatrix[][] would contain player identified by color and their status not-playing(0), playing not out(1) and out(2).

Hey guys I'm a bit busy atm. @avalan4e57 maybe you can help with testing and reviewing as of now!

@ketanhwr I didn't expect this but I'm also a bit busy. Maybe later.

Thanks! :slightly_smiling_face:


ADD THE ABILITY FOR CALCULATOR TO PROVE IF A CALCULATION IS TRUE OR FALSE

Problem Statement
Calculator is not proving if a calculation is true or false
Evidence or User Insights
To make a better calculator

Goals
Better brains
Non-Goals

Low-Fidelity Concept
So... if you type something like 1+1=3 then it will say false but if you type something like 2+2=4 it will say true & add a secondary equals button to the scientific calculator so this feature will only be in the scientific calculator
Requested Assignment
 add this feature in an update right now
If possible, I would like to implement this.
I'm just suggesting this idea.  I don't want to implement it.

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.


Add "What's new" for C# 8 preview 2

Fixes #10266

I put a bunch of comments, though it happened in the middle of you responding to rons feedback :) I set it to REQUEST CHANGES but changed that to APPROVE as I didn't want to block you. So my feedback may be collapsed and hidden, not sure

Oh, @BillWagner I was a little bit late...

@pkulikov No worries, I'll open a new PR for your feedback.


[BUG] The relationship value is not saved

Version information

Laravel: v5.6.0
Voyager: v1.1.11
PHP: 7.2.8
Database: MySQL 5.7.21

Description

If the field is a Relationship "Belongs To", the value selected in dropdown is not stored in the database. If this field is made ordinary (manually enter the ID in the text field), then the entered value is saved in the database.
Steps To Reproduce
Steps to reproduce the behavior:

Create a table "Departments" with columns: id (integer), parent_id (integer, FK to id), title (varchar).
Go to setting BREAD for this table
Make the Relationship "Belongs To" for the column perent_id
Department Belongs To Departments
Model: App\Department
Which column from Department is used to reference the Departments: parent_id
Display the Departments: title
Store the Departments: id
Go to the menu item and create two entries. In this case, for the second record, select first item as parent.

Expected behavior
In the database for the second entry in the parent_id column, the ID of the first entry is saved.
Screenshots
Table:

Relationship:

Model:

First record:

Adding second record:

After saving:

Additional context
parent_id not saved to database. If you do not use the relationship, but simply enter the ID in the text field - the entered value will be saved. But I need a relationship to work.
In the case when it is not self-relation, but a similar relationship, but with a different table, the bug is exactly the same.

It' not very clear but on "belongs to" relations you must set the field available on edit and add as the relations field. In this case departments must have the same permission of parent_id field so edit = 1 and add =1.


Tune steer actuator delay for TSS1 Corolla

Measured this in Cabana, I noticed that the wheel turns slightly too late for curves but this makes it turn more in time.
https://my.comma.ai/cabana/?route=e010b634f3d65cdb|2020-09-30--22-49-10&exp=1633072042&sig=2G03Ce9JH%2B03peCFT%2FeMgFLwH13ADkJBNNGJicJVn5o%3D&max=20&url=https%3A%2F%2Fchffrprivate-vzn.azureedge.net%2Fchffrprivate3%2Fv2%2Fe010b634f3d65cdb%2Fff11d8e209b975497c959445840c8f6e_2020-09-30--22-49-10

I strongly doubt you can notice a 20 ms delay. You can try the same drive a couple times with this script running: https://github.com/commaai/openpilot/blob/master/selfdrive/debug/internal/measure_steering_accuracy.py That should tell you if there is a statistically significant difference between the two.

I ran the file with both delays and found it's a bit better at higher angles

make sure you drive the same road in the same conditions (same direction, lane, speed, wind, etc...) for each data set and you probably need thousands of data points for each angle to have meaningful numbers
that script could also be improved quite a bit, for example better statistical analysis and once you hit max torque you will have high error, but that data isn't currently excluded

I did, same exact route of about 5 miles. There was some traffic so I was going slower on one of the routes for about 30 seconds. This isn't what I felt, but what I measured in Cabana, but definitely felt a slight improvement in turning in time with the curve

I have personally had a lot of feelings that turned out to be wrong, so I would be careful drawing conclusions from feelings.
The data you collected looks like no improvement from 0 - 2 degrees, and there are not enough samples to draw conclusions from higher angles

I understand what you're saying. So would 5 miles equivalent at each angle (at least 2 or 3 thousand) be enough data for steering tuning changes?

My statistical analysis skills are weak, maybe MSE would be better?  I will defer to others on ways to better analyze the data.  Also note that this script was set up to run against replays of drives, too.


Num Lock Key is disabled by ... Keyboard Manager ?

After installing Release v0.18.0 of PowerToys, I could not toggle my number pad from "arrow mode" to "number mode" on my Logitech K800 (US) keyboard.  In other words, the Num Lock key stopped working.
Switching Keyboard Manager off or on did not affect anything.  I did not have any keys remapped.  I have not yet tried uninstalling the Logtech app "Logitech Option" that controls the keyboard and mouse.  I have not yet tried installing PowerToys.
I suppose I could have a mechanical failure on the num lock key.  I don't have an identical keyboard to substitute.  I could try a keyboard from a different manufacture.  I had to return the first one because a key fell off after two days.  I grew to regret purchasing this keyboard because its lege keep folding over and the keys don't have a good feel.
For now, I have solved the problem by remapping "Pause"->"Num Lock"
P.S.  I love the idea of mapping "Num Lock" to "Nothing" or adding a setting so that it always is in number mode.  Many people only use the number pad in number mode.

@Michael-Daugherty if there are no remaps the Num Lock key shouldn't be affected. Can you check if the Num Lock key works when PowerToys is not running (by exiting it from the sys tray)? Keyboard Manager only remaps while the process is running and does not use registry so it can't affect anything if PowerToys is not running. You could also try a reboot. If it the Num Lock key doesn't work even after a reboot it sounds like it might be a mechanical failure.

My keyboard must be broken.  Exiting Powertoys using it's context menu in the system tray did not enable Num Lock.  But, it seems strange that it stopped working after a year of using the keyboard just moments after installing the powertoys update.  Also, the "Caps Lock" light has stopped working.  "Caps Lock" still works; but the indicator light does not.  It does flash but it doesn't remain on when in locked in all capital mode.
Not a fan of logitech keyboards and questioning if I should buy their webcam.
This issue should probably be marked as closed unless other are reporting the same issue.

I have a similar issue and logged it here:


About installation

Hi,
Thank you for the development of JASPAR-UCSC-tracks
I am very interested in using this program. However, I try to install the program by the bash execution of the script install-pwmscan.sh. However, the following error shows every time:
gcc -fPIC -O3 -std=gnu99 -W -Wall -o hashtable.o -c hashtable.c
make: gcc: Command not found
make: *** [Makefile:42: hashtable.o] Error 127
Could you help me?
Thank you!

Hi Luisa, you need to install gcc. If you do not know how, I suggest that you contact your sys admin.


Welcome page instructions

continues work on #353
Adds instructions to Welcome page, restyles in
more minimalistic color palette.
Design is inspired by some layouts from
https://www.sigstore.dev/community
Tabs added:
'General'
'Plotly Figure Tools'
'Your Augur Account'

Easy visualization of changes:
Tab 1:

Tab 2:

Tab 3:

Making this PR now ahead of writing mode code- it's lots of HTML and CSS so smaller PRs is more polite.
Going to add two more tabs, one for Augur groups and one for Augur collection requests.
Also want to make tabs more visible- the bootstrap styling keeps overriding my styling attempts and I'm trying to avoid using '!imporant' if possible.

Overall I think the design of this is awesome, super big fan of the set up. Most of my review comments is about getting the wording more concise. The other major thing to note that I did not know where to put is to inform users about triggering collection on repositories not in the db by adding them to an user group

Thank you for reviewing so quickly- this is PR number 1 of 2, so you don't have a huge PR to review at once. In the second I'm going to add instructions for creating user groups from the catalog, and for requesting collection using their user groups.
In this PR I want to nail down the wording and design of the first three tabs, which you already commented on in your review, before continuing on 👍
@cdolfi

New pages:
General:

Plotly:

Augur:

@cdolfi
Still want your thoughts on the big paragraph. It's closer than it was but not perfect.

@JamesKunstle What is BI? Besides that everything looks good to me. Curious to hear @bproffitt thoughts on the wording as well

@JamesKunstle What is BI? Besides that everything looks good to me. Curious to hear @bproffitt thoughts on the wording as well

Ah, that's "Business Intelligence". The BI shorthand is common enough (tools like PowerBI exist, for instance) that I used it here. I thought maybe "Community Managers" would be preferred over "Community Architects"? idk, I'll chat Brian about it.

@cdolfi made changed requested by @bproffitt

@cdolfi made the BI => "Business Intelligence" change.


documentation building is sensitive to the order docs are generated

If documentation for packages is built independently, then any cross-links between packages may not work. It depends on the order of commands, where it is necessary to build from the leaves up.
This is because rustdoc looks in the local directory to decide if it should create a relative link or not.  If a dependency hasn't been built yet, then there is nothing for it to find, so it doesn't generate a link.
Usually this is fine for a normal cargo doc command, since it builds from the leaves on up (caveat below).  However, if running cargo rustdoc or cargo doc -p foo --no-deps, then the user must know about this subtle interaction to build things in the correct order.
This came up with rust's build scripts here which gets it slightly wrong.
I'm not sure if there is anything that should be done here.  One option is to have cargo doc -p foo -p bar be smart and determine the correct order (or create the directories ahead of time).  This wouldn't help for rustbuild which uses cargo rustdoc which can only do one package at a time (although it could be changed to cargo doc --no-deps …).
Another option is to just document rustdoc's linking behavior.
Another possible problem is that the dependencies between rustdoc invocations is not explicitly tracked within cargo. This means that if crate A depends on crate B, A and B will be documented concurrently.  If A happens to start before B, then A's links to B will be broken.  This can be illustrated in the doc builder for rustc here.  Removing that create_dir_all causes many links to break.  I'm having a hard time creating a small reproduction, though (and I may not fully understand this scenario, since rustc's crate graph is very complex).
cc https://github.com/rust-lang/rust/pull/74352

Another possible problem is that the dependencies between rustdoc invocations is not explicitly tracked within cargo. This means that if crate A depends on crate B, A and B will be documented concurrently. If A happens to start before B, then A's links to B will be broken.

I noticed my cross-crate doc links breaking when I used cargo doc --no-deps, and composed a small repro before finding this issue. Here's a script to generate and test for the bug:
#!/bin/sh

# Run this script in an empty directory that you wish turned into a workspace.

set -ex

cat <<'EOF' > Cargo.toml
[workspace]
members = ["pkg_*"]
EOF

cargo new --lib pkg_foo
cargo new --lib pkg_bar

(cd pkg_bar && cargo add --path ../pkg_foo)

cat <<'EOF' >| pkg_foo/src/lib.rs
#![no_std]
//! This is library `pkg_foo`.
EOF

cat <<'EOF' >| pkg_bar/src/lib.rs
#![no_std]
//! This is library `pkg_bar`, which depends on [`pkg_foo`].
EOF

set +x
echo Testing...

while true; do
  cargo -q clean
  cargo -q doc --no-deps
  grep --count '../pkg_foo/index.html' target/doc/pkg_bar/index.html | head -c 1
done

The output is a sequence of 1s when the proper link is found, and 0 when the link is not found. There are very few 0s in this repro, but in other (more complex) circumstances I would get that effect reliably. Introducing CPU scheduling noise such as unrelated cargo builds seems to help the repro.

I am wondering why cargo / rustdoc does not generate warnings when it encounters a links that it cannot resolve due to the folder not existing?
Additionally, does no-deps actually also disable intra-workspace dependency tracking, or does it not make a difference for this bug?


ND4J Cuda maven artifacts are missing macosx jars

Issue Description
The maven artifacts for cuda (9.2, 10.0, 10.1) are missing the macosx jars in beta5.

Beta3: https://repo1.maven.org/maven2/org/nd4j/nd4j-cuda-9.2/1.0.0-beta3/
Beta5: https://repo1.maven.org/maven2/org/nd4j/nd4j-cuda-9.2/1.0.0-beta5/

Version Information
Please indicate relevant versions, including, if relevant:

Deeplearning4j version 1.0.0-beta5

We don't support CUDA on macos atm, since there's no official CUDA support on recent Apple computers. Plus there are Apple clang issues with nvcc which nobody is willing to solve.


xanzy/go-gitlab#142 Add Jira service

It's a copy paste of the slack service, easy peasy lemon squeezy. Thx for the easy to understand structure!

Thanks @Bouwdie! LGTM!


fix(package): update async to version 2.3.0

Closes #35
https://greenkeeper.io/

Codecov Report

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

@@          Coverage Diff           @@
##           master     #39   +/-   ##
======================================
  Coverage    98.9%   98.9%
======================================
  Files           8       8
  Lines          91      91
  Branches        8       8
======================================
  Hits           90      90
  Misses          1       1

Continue to review full report at Codecov.

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


Messy custom code

The ArrayList block doesn't add a new line every time a block is added, making clean-up and debugging a lot harder than it needs to be. For example, many blocks chained together ends up with
stuff(Param);stuff(Param);stuff(Param);stuff(Param);stuff(Param);stuff(Param);stuff(Param);stuff(Param);stuff(Param);stuff(Param);
with no line spacing whatsoever. This makes debugging annoying as the console will end up overflowing off the screen.

Same issue as #4, moving it there for easier convenience when committing the fix


paulmillr.com

The url is: paulmillr.com

The metrics script reports a home page compressed transfer size that exceeds 10240 bytes:
$ node src/metrics.js https://paulmillr.com/
url: https://paulmillr.com/
htmlSize: 3314
jsonSize: 0
imageSize: 104050
base64Size: 0
videoSize: 0
cssSize: 1955
jsSize: 0
webfontSize: 0
otherSize: 59215
contentSize: 107364
extraSize: 61170
totalSize: 168534

total size: 164.6 KB
content size: 104.8 KB
content ratio: 64%

I've mistaken your project with an article that said the "html page itself" should be <14kb. Which is the case rn.
Are you sure you're checking the proper metrics?
https://endtimes.dev/why-your-website-should-be-under-14kb-in-size/

The total size of compressed data that is being transferred to the web browser while loading the home page is being measured. This includes the HTML, CSS if any, JavaScript if any, as well as all other resources the web page loads. Please see point 1 of the list here for more details.

Yeah i'm not asking how it works, i'm asking why did you pick the exact metric: 10kb for all content instead of 14kb for the html page itself.
It makes sense to make html fit into 14kb because of TCP limits. 14kb webpage is loaded much faster than 15kb webpage.
It doesn't matter how big are the other resources unless they're like 4mb. What really matters is making the initial request take 1 tcp round trip.
So, to repeat the question:
Why?

The 10 KB limit was chosen arbitrarily.

@paulmillr I think the part of the 10 KB Club is also the technical challenge of getting your website under 10 kB.

@paulmillr I like your train of thought and also advocate for 1 RTT webpages. However, note that to satisfy 1 RTT, you should also include the whole TLS handshake for HTTPS websites, so that actually leaves way less than 14 kB for content (maybe less than 10 kB even, depending on your included certificate chain, but it's a "random" variable).

Yeah i'm not asking how it works, i'm asking why did you pick the exact metric: 10kb for all content instead of 14kb for the html page itself.
It makes sense to make html fit into 14kb because of TCP limits. 14kb webpage is loaded much faster than 15kb webpage.
It doesn't matter how big are the other resources unless they're like 4mb. What really matters is making the initial request take 1 tcp round trip.
Also, you cannot possibly fit much useful info into "10kb for all data". Only the simplest websites without multimedia etc.
So, to repeat the question:
Why?

@paulmillr Sorry, my former comment was not factually correct. As mentioned by your article and also the article linked by that, you need to add HTTP response headers as overheads along with chunking that reduces your theoretical cap.
At the same time, the 5-10kB of server certificates and metadata received during the TLS & HTTP/2 handshakes will result in quite a few acknowledgements, so by the time you start streaming the HTML, the available window may have actually grown to 20-30kB:

https://www.tunetheweb.com/blog/critical-resources-and-the-first-14kb/#https_and_http2

Hence we couldn't possibly come up with a scientifically accurate single value of "perfect size" for an HTML document that would be a fit for any hosting provider one would like to place the file on (adding to the client configuration variety).


build-sys: peek golangci-lint and revive version based on the Go version

Summary by CodeRabbit

New Features

Introduced a new script to dynamically retrieve and compare Go language versions for improved version management.
Updated versioning for linting tools to automatically fetch the latest compatible versions.

Bug Fixes

Enhanced version retrieval process to ensure accurate versioning of tools.

Here's the code health analysis summary for commits 8afe07e..634ea68. View details on DeepSource ↗.
Analysis Summary
Analyzer	Status	Summary	Link
Shell	❌ Failure
❗ 4 occurences introduced
View Check ↗
Go	✅ Success		View Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

@deepsource-io those variables can only hold numbers, as by xy_ver().

@karasz is this implementation better?


Sybase connections always require to redownload license.txt

System information:

Windows 10 v 10.0.17763.503
DBeaver 6.0.4 (although this issue also occurred with 6.0.0 and later versions)
Java version 1.8.0_201
No extensions

Connection specification:

Database name and version Sybase Adaptive Server Enterprise 12.5.4
Driver name: Sybase jConnect
Do you use tunnels or proxies (SSH, SOCKS, etc)?  No

Describe the problem you're observing:
Whenever I connect to a Sybase ASE database, DBeaver prompts me to download the file LICENSE.txt for the jConnect driver and refuses to connect to the server otherwise.

This behavior only disappears after I manually remove the LICENSE.txt file from the dialog, forcing the application to redownload the driver itself.
Steps to reproduce, if exist:
Attempt to connect to a Sybase ASE 12.5.4 database.

Thanks for the bug report

verified


Support Android Gradle Plugin 2.5

http://tools.android.com/tech-docs/new-build-system/2-5-alpha-gradle-plugin

Fixed in 3.6.1


Farmer Delight's advancement

Can you include SAR's cutting board to FD cutting board advancement trigger?
Background: I want to unify the mods, so i disabled FD cutting board, but it's impossible to get FD's cutting board advancement without using FD's.
:)

I'm not sure if there's a straightforward way to fix this unfortunately. I'll keep this open in case I figure something out

I'm not sure if there's a straightforward way to fix this unfortunately. I'll keep this open in case I figure something out

This mod no longer has it's own cutting board in 1.18+, it is now a Farmer's Delight addon. I'm going to close this issue, as the 1.16 version of this mod will no longer receive any content updates.


Added Jeff Gullidge

Description of changes

Issue Resolved

Fixes #

When will I see my name added?

When will I see my name on the list?

Great job! Now that this pull request has been merged in it will been sent to our build server.
You can watch it's progress as https://travis-ci.org/OperationCode/operationcode_bot.
If all the tests pass it will then be deployed to the bot and your changes will be live for everyone to see.


Numerous egregious issues with this paper

Here's a list of issues others and I have found with your paper, code, data, methodology, and experiment design:

Issues pertaining to overall experiment design and methodology

Quality vs. Correctness Discrepancy - How exactly do you differentiate between these two metrics given that the correctness of the response is correlated to the overall quality of the response?  E.g How is it possible that you claim to find significant improvements to the correctness of the response while seeing only a partial improvement to the overall quality of the response (Principles 17, 18, 19 in particular sticks out to me, >60% improvement in quality but only <40% improvement to the overall quality, principle 1 is the most egregious but this is due to another issue entirely)?

Missing Methodology - What exactly are the guidelines by which you measured the quality or the correctness of a response given that both seem subjective and can vary significantly depending on the context? E.g Principle 2 & 5, are you assessing the quality and correctness of the response from the standpoint of whatever audience you're prompting the LLM to address? What about for the prompts such as "What were the main global events of 2022?" or "What are the potential future trends in renewable energy?"?

Comparative Analysis - Where are the baseline instructions and baseline responses for your comparison?
Unlikely Results - Many of the instructions are overly simple tasks where one would expect to see marginal improvements, especially for larger models. Specifically, I've noticed many instructions in different principles (8, 6, 19) are extremely simple and one would expect to see only marginal improvements to the response, yet there's somehow >50% improvements to the correctness? There are also certain prompts where your results cannot be replicated, such as "###Instruction###\nTranslate a given word from English to French.\n### Question ###\nWhat is the French word for "book"?" on Llama7b.
Choice of Model - Why did you decide to use the baseline models for your small and medium sized models but dialogue/preference tuned models for your large models? Given that models of an entirely different architecture and training format was used, why did you proceed with doing a comparison between baseline and tuned models when there are alternative baseline 70b models (WizardLM, Orca)? Furthermore, there's a massive gap between the parameter sizes within the large models, 70b vs 200b vs 1t+.  All of this makes me extremely dubious of your findings given the majority of the gap in performance between the different size classes in your paper can simply explained due to the large models being tuned and having much much more parameters. This fact can be seen in your detailed percentages, there's a massive gap in performance between GPT4 and all other models simply due to it having >1t parameters.
Inconsistent Handling of Responses - Why is it for the GPT3.5 and GPT4 models that you prompted the model 10 times while only prompting the open sourced models once? How did you even choose which response to use? Was this treatment consistent with how you generated the baseline (I won't take your word for this one given the numerous flaws and errors I've observed so far)? If not, how are your results not biased (already biased IMO given the lack of guidelines for your evaluation combined with your model choice)?
Misc - Was your evaluation done blind? Did the evaluator know which was the baseline and which was the principled prompts? Who were the ones evaluating these results?

Issues pertaining to code, implementation, and the actual data

Unprincipled Prompts - For principle 1, which was "No need to be polite with LLM so there is no need to add phrases like “please"", anyone who bothered to even take a look could see that none of your instructions even follows your principle. All of them are polite, yet you somehow see a difference in both quality AND correctness? How is this even possible, and what were the baseline for this principle which resulted in these improvements?
Literally Impossible Data - Based off the generate.py code you've released, it's literally impossible to generate the responses as shown for Prompt 14 since all you're doing is calling the model using the same prompt without updating it with the model's questions or the user's response https://github.com/VILA-Lab/ATLAS/blob/03511d305ff51d5647059822ed5a1b2777fdb30d/generate.py#L40-L43 Furthermore, using these clearly fabricated responses, you claim to somehow achieved 100% improvement across all three model sizes? Really?
Inconsistencies between Code and Data Format - In the code, the output is written without the model's name, yet in the data all the model's names are magically filled out? https://github.com/VILA-Lab/ATLAS/blob/03511d305ff51d5647059822ed5a1b2777fdb30d/generate.py#L44 How can you actually guarantee the data comes from the model you claim to be given that you clearly modified the data using external code?
Inconsistencies between Data and Paper - In the paper, you claimed to have used Llama-70b-chat, how come this isn't reflected in your data?
Missing Data - I noticed that correctness data for principles 14, 15, 21, 22, 23 were outright omitted from the paper. Why is this the case?
Mixing of Principles - I cba even citing direct examples for this, many of your instructions use a mix of CoT along with whatever principle the instruction is for.

There are significant issues with your paper which makes your findings "dubious" to say the least. Was this written by freshmen undergrads over two to three weeks? This paper comes off as sloppy, and the way this was written makes me think the authors were trying to just fill pages without regard to the quality of the content. Almost 1/5th of the pages are dedicated to just the Gemini and GPT4 references when there's no other (decent) paper referencing either paper that does so in this manner. I get this was released on arxiv, but how such glaring flaws weren't caught by your advisor is honestly beyond me.

Thank you for the clarifications, however, I have further questions regarding some of these points.

...even if both of the model's responses are factually correct. I asked why there's a discrepancy in cases where there's a large improvement in the correctness but a much lower improvement to the overall quality, which I suppose you subsequently answered with your response that The questions used are different from the ones for Quality. This, however, raises further issues as nowhere in the paper is this stated to be the case, infact your paper only stated that For each principle, it contains 20 human-selected questions with and without the principled prompts. It is not my misconception as to there being a discrepancy, it is a mistake on your part to state you prompted the model using ATLAS and then evaluated these responses in two different settings when you have just stated that you actually used two different sets of questions. I had suspected this to have been the case as this is one of the two ways where you could've ran into this discrepancy, but I gave you the benefit of the doubt given that such a significant discrepancy between the methodology as described in the paper and the actual approach taken can be classified as misconduct in an academic setting depending on researcher intentions. Please address and clarify the discrepancy present in your experiment design, not just here, but in your paper and code as nowhere does it suggest that ATLAS contains two independent datasets meant to evaluate two different metrics independently.
This is an empirical work, so there is no specific methodology. You obviously know this to be false as you presented a methodology for collecting the data and attempted to present a methodology by stating that Following [10, 25], we evaluate the various scales of LLM outputs by human evaluation. The two works you cited both presented methods for using a LLM as an evaluator. I don't even know why you claimed to have followed the methods in these two works given you then state the exact opposite of what they presented.
We have provided all the instructions without principles and their corresponding responses You have not, otherwise show me where the baseline for this prompt is for https://github.com/VILA-Lab/ATLAS/blob/03511d305ff51d5647059822ed5a1b2777fdb30d/data/principles/principle_6.json#L3C106-L3C125 the principle benchmark construction is still in progress to make it more comprehensive and unbiased, please stay tuned So you released your paper discussing results using an incomplete benchmark? Which you stated in the paper to have been ATLAS? Why even create ATLAS if your results are based on this other dataset? I mean I'm pretty sure I know why, it'll be for the same reason why you didn't just use an established benchmark dataset and generate principled instructions based using questions and answers from it. It's ridiculous that you even bothered citing all the prior prompt engineering work only to ignore most of the practices they standardized to do manual work creating and evaluating on ATLAS. Furthermore, I'll point out none of the widely accepted benchmarks attempts to benchmark for a metric as generic as "quality" because again, multiple characteristics make up the quality of a response, with correctness being the most prominent and most objective out of all of them. The more I think about it the more I suspect you must've had some malintent behind making quality such a core component of your overall paper rather than focusing on correctness alone, likely due to the subjectiveness of evaluating for something as generic as quality.
Again, why did you not focus on correctness alone and use an existing benchmark? You're also using generated questions, so what is the delay behind this? Including the statement does not excuse you from the responsibility of presenting a balanced and representative set of results. It is the responsibility of the researchers to ensure that their selection of data is as unbiased and representative as possible, even in preliminary stages of research much less a paper that has been released to the public.
are also fine-tuned on the dialogue instruction dataset of ShareGPT There is not one mention that the models you used were not even the original models. We did not provide too many details for the instruction tuning because our focus is not here. I'm calling BS on this one, you could've said one sentence about it (actually, you couldn't because it's such an intensive process and would've needed to have been documented due to the effects it would've had on the performance of the model) and there's not one researcher in the AI space that doesn't realize the significance fine tuning can have on the performance of the model, yet you chose to omit this detail? WizardLM, Orca seem also fined on LLaMA and there is no significant difference from ours. Actually there is, because it says on the tin that they're fine tuned variants and distinct from the baseline unlike calling whatever you used LLama2-7b, etc. we need a strong open-source LLM for the large-scale category So having this particular need, you decide to include GPT3.5 and GPT4, which just happened to bias your resulting improvements towards the positive?
this is only for dataset construction in the github repo to increase the scale of the benchmark for further instruction tuning. Did you seriously just admit to having trained your models on the dataset you're evaluating it on?
human evaluators can also see the questions Is this the baseline question or the principled prompt? Otherwise, how can you justify your evaluation results aren't biased due to evaluators knowing which are baselines and which will be used for your paper?
P-1 is not a strong principle Or maybe it looks that way because ATLAS contains no prompt actually following principle 1?
The LLaMA-2-70b-chat's responses are already in the data files, you probably haven't noticed and missed them. Please, show this lowly and incompetent mortal where in your repo llama2-70b-chat appears because I am so incompetent I just cannot find it no matter how hard I work my ten braincells. https://github.com/search?q=repo%3AVILA-Lab%2FATLAS+llama2-70b-chat&type=code

Principle 4 is contradictory to Principle 15 and 22.It's very confusing.
Principle 4:Employ affirmative directives such as "do," while steering clear of negative language like "don’t."
Principle 15:To inquire about a specific topic or idea or any information and you want to test your understanding, you can use the following phrase: “Teach me the [Any theorem/topic/rule name] and include a test at the end, but **don’t** give me the answers and then tell me if I got the answer right when I respond”
Principle 22:To correct/change specific text without changing its style: "Try to revise every paragraph sent by users. You should only improve the user’s grammar and vocabulary and make sure it sounds natural. You **should not** change the writing style, such as making a formal paragraph casual"

Hi @AreChen, thank you for your query. To provide clarity on the principles and directly address your concerns, let me explain further. Each principle has been crafted with a distinct aim to facilitate effective communication. While Principle 4 advocates for a positive tone in dialogues, Principles 15 and 22 provide a structured approach to specific requests. It’s understood that the presence of 'don't' within these instructions could appear to contradict the affirmative stance of Principle 4. However, our main focus in Principles 15 and 22 is on guiding users in how to frame requests effectively, irrespective of a positive or negative tone. The focus here is on the manner of articulation—Principle 15 encourages interactive learning and meaningful engagement with the content for a deeper understanding, and Principle 22 is about fine-tuning the text while maintaining the original tone and intent.

it's hard to draw any conclusions whatsoever from this paper

I wish others would agree, but one of the main reasons I took the time to review this paper was due to the numerous influencers on linkedin and twitter touting the results of this paper as "removing the need for prompt engineering".
I really dislike how work in prompt engineering is not seen as proper science in the wider academic (AI) community, and I see this paper and its authors as propagators of this stereotype.
Of course, I could stand corrected if independent parties demonstrate that this paper's results are replicable across the widely used and accessible LLMs, not just the author's own fine-tuned variants which could've easily had its training data contaminated by their benchmark.

Would like to see some elbaoration on evaluation methodology.

@darinkishore Tbh, I read the whole paper (at least 3x) just because I felt I was missing something related to the evaluation methodology.
I don't think it's a problem from this paper exclusively, tho, but rather a common issue around most LLM papers these days (most requently when coming from startups/private research groups). I can't precise why but this "more handmade than repeatable science" is quite misleading and almost impossible to be used to elaborate solid conclusions.

I wish others would agree, but one of the main reasons I took the time to review this paper was due to the numerous influencers on linkedin and twitter touting the results of this paper as "removing the need for prompt engineering".

@wemoveon2 I appreciate your time doing this. This is how we suppose to approach these studies - with all due respect for those that wrote it. I appreciate the effort from them, but it missed some important clarifications.
The lack of "proper science" as you mentioned is a poisoning idea that backfires in the whole industry as we grow in popularity (and promises) - and its stagerring that this isn't being perceived by the academic community.
I don't know how many readers perceived flaws and did not opened issues or discussed it publicly, but a single one is alarming, and definitely reinforce the stereotype.

Thanks for all these comments. I'm not an academic and I'm not an influencer. But I, too, was wondering about the heatmap. I couldn't figure out how you came up with the values on page 9. I couldn't find the methodology in the  paper so I thought I would check here.
The only way I saw the data on page 9 making sense is if 20 people were shown the result and were asked to judge which resuld was better, the principled or the non-principled one. And I'm not getting into the double-blind side of things or even the correctness vs quality distinction. I would have to assume that all 20 participants (if my methodology is correct) understood the criteria to evaluate clearly.
I see that this is V1 so I think it has to be reviewed and maybe a second round of tests will be done. I hope so, anyway. I would really like to know if these principles are really solid before I write about it.


Game crashes on startup.

https://pastebin.com/inrfLTLs
All I can gather is it's something having to do with the Hazmat Suit. Older versions of the mod seem to work fine though.

Updating IC2 will fix this issue ;)

Thanks.


Pipeline cr view

closes: https://github.com/opendatahub-io/odh-dashboard/issues/1061
Description

Added view
How Has This Been Tested?

create a new pipeline server with both object storage and a new external database
Pipeline server action > View pipeline server configuration
make sure all values are correct and secret values are correct

Test Impact

n/a
Request review criteria:

[x] The commits have meaningful messages (squashes happen on merge by the bot).
[x] Included any necessary screenshots or gifs if it was a UI change.
[x] Included tags to the UX team if it was a UI/UX change.
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has manually tested the changes and verified that the changes work
[x] The developer has added tests or explained why testing cannot be added (unit tests & storybook for related changes)

cc @andrewballantyne @kywalker-rh

@andrewballantyne ready to review... fixes where also made (list of those are listed here)

PF overrides typically needs a comment
splitting up things into types.ts and const.ts
CSS files should be imported WITH the css usage of the classname
semantically, your radio buttons should share the same name
aws fields order changed

@Gkrumbach07 The one thing that is missing based on the mocks is a line for "AWS_DEFAULT_REGION". Is that info not available to show, or did you omit it for another reason?

@Gkrumbach07 The one thing that is missing based on the mocks is a line for "AWS_DEFAULT_REGION". Is that info not available to show, or did you omit it for another reason?

Investigated this on slack with the backend folks. Seems we do not actually need region. The underlying tech they are using seems to work without region. So we could add it @kywalker-rh but it would be factually incorrect from "what is in play".

@Gkrumbach07 The one thing that is missing based on the mocks is a line for "AWS_DEFAULT_REGION". Is that info not available to show, or did you omit it for another reason?

Investigated this on slack with the backend folks. Seems we do not actually need region. The underlying tech they are using seems to work without region. So we could add it @kywalker-rh but it would be factually incorrect from "what is in play".

Yep, lets leave it as is then... definitely don't want to be "factually incorrect"


Add Apache2 license

All public TF repositories require a license file. Apache2 is the standard license for TF projects.

this repository is managed by gerrit. so I've added it there - https://review.opencontrail.org/c/tungstenfabric/tf-jenkins/+/59009

Oops. Sorry about that. 😅


request: ask dsimplify_core to leave implicit arguments alone

I often have situations where I'd like to prove something by unfolding some definitions, and then doing some rewriting.
Sometimes I find that I need to unfold a definition which appears in both explicit arguments and implicit arguments of the expression I'm looking at. Unfortunately, unfolding the implicit arguments causes a big problem --- I now need to use erewrite (or get stuck entirely) to work with these expressions.
Could we have an extra flag on dsimplify_core that asked it to leave implicit arguments alone? (It seems there's already a flag for leaving instance implicit arguments alone, so I'm hoping that this might be relatively straightforward.)

If it's helpful I can post some particular examples where I run into this problem; I've now run into it several times, and in a few places am stuck because of it.

(I'd raised this previously on lean-user. There @Kha said this would require going into the C++ code.)

Ugh.. I successfully modified the C++ code so the existing flag for leaving instance implicits alone just left all implicits alone. When I tried to actually add an extra flag, I ran into the problem that dsimplify_core would now have 9 arguments, and the VM really didn't like that. :-(

When I tried to actually add an extra flag, I ran into the problem that dsimplify_core would now have 9 arguments, and the VM really didn't like that. :-(

If it's about declaring the VM builtin, you can use code like this: https://github.com/leanprover/lean/blob/09867fcfe0711dfe80d83d0d011a704800ff4a7f/src/library/tactic/simplify.cpp#L1301-L1302
That said, we should probably refactor all those parameters into a defaulted config structure.

Thanks. I tried using that, and the c code now compiles, but the library won't compile, due to a long list of errors like:
/Users/scott/projects/lean/library/init/data/string/lemmas.lean:17:66: error: vm check failed: is_simple(o) || is_constructor(o) (possibly due to incorrect axioms, or sorry)
I'm guessing that I did something wrong when making a varargs wrapper for tactic_dsimplify_core.

Thanks, that seems to be working! Let me verify that this flag actually improves matters in my development, and hopefully I'll make a pull request soon.

I'm going to close this one, as it's no longer particularly relevant for me, and no one else seems interested. :-)


Bottom Navigation Panel - Initial State

The bottom navigation panel doesn't revert back to initial state. This is undesirable because each of the four primary tabs retains it's previous state even after a different tab has been chosen. This should be modified so that when someone revisits a previously accessed tab, it will have reverted back to its first screen.

This is no longer an issue with the way the app is currently designed. Most reducer calls are done in dashboard and the state is saved in store.


imap - unable to connect

Expected behavior
Tell us what should happen
Everything is fine in v5.010
Actual behavior
Tell us what happens instead
In v5.201, messages dont come in inbox at all.
In Settings-Fetching-Incoming svr - "Setup could not finish, cannot connect to svr (unable to connect), Continue + Edit details".
I have IMAP with ssl 993, normal pass.
Smtp sent okay.
Steps to reproduce

Environment
K-9 Mail version:
5.201
Android version:
4.2.2 and 5 and 6.
Account type (IMAP, POP3, WebDAV/Exchange):
IMAP.

Which imap server are we talking about?
It might offer only weak ciphers which have been disabled in the current release.

Thank you for your answer.
Exchange 2007.
In this case (weak ciphers), should I stick with v5.010 ?
Is there any other way than "do not auto-update apps" in Play Store ?
Thank you.

Is there any other way than "do not auto-update apps" in Play Store ?
Update your exchange server

Working as intended. Closing issue


Can we convert zip shp to OSM?

Hello @roelderickx Thanks for the nice repository.
I have a question.
I have a shp zip file which contains multiple shp files with other files like prj, shx.
Can I convert this zip file to OSM without loosing any information?
Is it possible?
If I can then can you give me some hint such?
Thank you

Yes this is possible, just pass the zipfile in stead of the decompressed shapefile as the argument to ogr2osm. Ogr2osm will create one outputfile containing all geometries found in all shapefiles in the zip archive.
Note that you can specify a projection or input encoding, but this applies to all files in the zip archive. If one of the files is different from the others you need to decompress and write a small shell script to get everything processed correctly.

Thank you for your reply. Sorry couldn't reply on time. I was able to convert zip to osm but nodes shp files didn't convert properly. When I tried to upload in neteditor it says that nodes are not available.
Any idea ?
Thank you so much.

I am not sure neteditor is capable of opening osm files. Do you see the nodes in JOSM? Does the problem persists when unzipping first and converting the individual files?

I tried to convert individually, still problem exists.
I tried to open file in blender.
Except node file everything looks okay.
Thank you

Interesting. Can I download a sample file somewhere to test?

If I get your email id then I could send you the node file.

@Laudarisd Did you receive my mail?

@roelderickx Didn't receive.

Please send it to<EMAIL_ADDRESS>

Thanks, I have sent you an email. Hoping for your help.

I have tried converting the shapefile, it appears to work as designed. The file contains all the nodes:
<node visible="true" id="-1" lat="37.585419198" lon="126.885083272"><tag k="nodeid" v="7253"/><tag k="nodetype" v=""/></node>
<node visible="true" id="-2" lat="37.586888316" lon="126.886959997"><tag k="nodeid" v="7254"/><tag k="nodetype" v=""/></node>
<node visible="true" id="-3" lat="37.585945097" lon="126.885673841"><tag k="nodeid" v="7360"/><tag k="nodetype" v=""/></node>
<node visible="true" id="-4" lat="37.585680507" lon="126.885427647"><tag k="nodeid" v="7390"/><tag k="nodetype" v=""/></node>

and they are visible in JOSM as well:

However, as you can see, the nodetype tag is empty. Do you expect them to have a value? Where should the data come from?

I have tried converting the shapefile, it appears to work as designed. The file contains all the nodes:
<node visible="true" id="-1" lat="36.595419198" lon="125.875083272"><tag k="nodeid" v="8569"/><tag k="nodetype" v=""/></node>
<node visible="true" id="-2" lat="36.596888316" lon="125.876959997"><tag k="nodeid" v="8541"/><tag k="nodetype" v=""/></node>
<node visible="true" id="-3" lat="36.595945097" lon="125.875673841"><tag k="nodeid" v="8579"/><tag k="nodetype" v=""/></node>
<node visible="true" id="-4" lat="36.595680507" lon="125.875427647"><tag k="nodeid" v="8580"/><tag k="nodetype" v=""/></node>

The nodes are visible in JOSM as well.
However, as you can see, the nodetype tag is empty. Do you expect them to have a value? Where should the data come from?


Move all documentation to rST format.

FEATURE REQUEST
Currently some of our documentation are in markdown format scattered in some directories deep down.
Move all of them excluding CONTRIBUTING.md & README.md to the central place called [ReadTheDocs] (https://openebs.readthedocs.io)
Good starting points:

Learn about documentations tools like docutils and format.

can you explain what is the central place here?

Central place is ReadTheDocs

Is there a reason to use rST over of markdown? I've encountered MD far more in documentation across open-source projects and find it to be much easier to deal with.

I agree @manigandham -- But openebs doc site is hosted by readthedocs with sphinx documentation builder. It supports rst better than md.

The docs have moved to https://github.com/openebs/openebs-docs in .md format.


MINOR: Fix potential NPE

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@chia7712 PTAL


Add Komodo Asset Chain icons

Icons created by Nadia Sotnikova: http://nadiasotnikova.com
This also refactors the app to use the CurrencyIcon component everywhere. And it makes the icons in the opened dropdown menu larger, to make it easier to find the correct user or currency.
I plan to try to submit some of them to the cryptocurrency-icons project, but it's a lot of work, so I won't prioritize it right now.
Related to #248

Nice they fit in very nicely with the existing icons.
// TODO: Read this list from disk instead. Not a priority though.

Would be nice if we did this for all icons at some point. Currently dev tools gets spammed with errors for all the missing icons.
Not a high priority though.


Test: Enable a custom tmp folder for etcd certs.

Due Jenkins is executing actions in parallel, the etcd certs can't be in
the same folder and need to be in a temporal folder to avoid collusions
between parallel jobs.
Signed-off-by: Eloy Coto<EMAIL_ADDRESS>Fixes: #5932

This change is

test-me-please

test-me-please

test-me-please

test-me-please

close due https://github.com/cilium/cilium/pull/6062 will fix this one.


token_(symbol)_weights to normalized weights

Refactor "token_(symbol)_weight" to normalized weights:
The white paper defines it in terms of the normalized weights (such that the sum of all normalized weights is 1) - so 0.8 and 0.2 in that case.
As for the why, it's not explicitly stated in the white paper, but from eq 10 in this proof we see that Wn must be a number between 0 and 1 (since 0<Vn<V by definition).
Originally posted by @markusbkoch in https://github.com/TokenEngineeringCommunity/BalancerPools_Model/issues/45#issuecomment-792732438

So i add token_(symbol)denorm and token(symbol)_weight from 0 to 1

Wait - no  need to touch token_(symbol)_denorm.
Just change token_(symbol)_weight as outlined (0 to 1).

Done


Add addresses in Tulsa, OK

Status:

[ ] Research sources and propose best source (and it's data license)
[ ] Review proposed source
[ ] Approve source based on review comments
[ ] Add to OpenAddresses

NOTE: Proposed source notes should include basic column mapping to OpenAddress data model.

Tulsa data here: http://maps.cityoftulsa.org/gis/rest/services/Base/tca_parcel/MapServer/0


⚠ Bofrost.lu has degraded performance

In 36d47e4, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1715 ms

Resolved: Bofrost.lu performance has improved in e531f38 after 20 minutes.


Config test

Adds a test branch that uploads to a test label so that we can try out some packages without generally encouraging their use. Should help further existing discussions.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Pick up internal import files

In a docker context, it is convenient to be able to add a file to an "imports" subdirectory that is accessed by castlemock. Upon startup, castlemock can import these files. This bypasses the need to use the REST API, and the accompanied timing issues between creating the docker image and accessing the actually running container.
Describe the solution you'd like
A subdirectory called something like "imports",  that is scanned periodically, but at least upon startup. Any files in it are directly imported, and possibly deleted. Alternative to deletion is just to ignore any projects with id that already exists.
Describe alternatives you've considered
Other ways to create a docker image with an imported project seem to be harder. The REST API for importing is only available in a running container, and not upon image creation.
Additional context
None.

I agree with this request. It’s something I was also trying to resolve. Shouldn’t be too hard to implement to scan for a file upon startup.

Hi @jkransen.
I absolutely agree that this would be a nice feature! I will look into it as soon as possible.
However, this you manage to see what @GrumpyMeow posted before regarding the persistence outside the Docker image? Is that something that would help for now?
Wiki: https://github.com/castlemock/castlemock/wiki/Docker#persistence
Best regards,
Karl Dahlgren

Hi @karldahlgren , yes I did consider this, but when I want to distribute a Docker image that mocks a real world endpoint, then the existing solution would require distributing the project files along with the image. The proposed feature would allow only distributing the newly created image. It's good to have both options available :-) Can you give me a heads up once you actually want to start on it? I may give it a try myself, and it would be a waste if we did things in parallel. :-)

Hi Jeroen,
Are you aware that it’s also possible to create a Docker image ontop of the dockerhub image?
In your own Dockerfile you can then provision the files in the folder that Castlemock uses for internal storage.
You’ll than not use the import/export xml any more. But use a whole set of small xml files. I’ve committed these files to a git repository. This seems to work quite good.

Hi @GrumpyMeow , I had thought about docker volume and adding the files through Dockerfile, but not to combine them .That's actually a good idea, having an "edit mode" with a docker volume and a "persist" mode with copying the files through Dockerfile. Glad that this is possible. To be honest, I was not totally sure if the .castlemock files would fully cover the state, glad to know that it does.

Yes, the files in the .castlemock folder cover the full state. I did put some .gitignore entries in place to exclude a few file types. For example: “/*.user” and “/*.token”.
If you’re gonna resolve this issue in Docker, it might be interesting to look at the “ONBUILD” Dockerfile-instruction for this purpose. This instruction was new for me and peaked my interest, but i haven’t got around to trying it out yet.
Veel succes!

Hi @GrumpyMeow , I can now run the "empty" castlemock docker image, save the files locally under 'cmfiles' in a git repo. I use this Dockerfile to create a "filled" castlemock image:
`FROM castlemock/castlemock:latest
COPY cmfiles/* /root/.castlemock/
`
When I build this docker image, and run it, I see an empty project list, but al the files are there when I /bin/bash into the container. What am I missing?


fix(#127): Handle relative path in cmd on windows

This uses path.normalize in commandConvert to handle relative paths like ./cmd.bat on windows.
Also updates the test converts embedded unix-style env variables usage for windows to use path.normalize so that it does not fail on windows.
I have added myself to contributors.
Closes #127

It seems this PR breaks URL.
My script:
cross-env NODE_ENV=development webpack-dev-server --env.api="https://api.example.com"
path.normalize('https://api.example.com'); // -> 'https:\\api.example.com'

@weizhenye I think you are right. I am working on a fix.


Box-sizing flexibility and version correction

Awesome @asuh :beers:
@aaronbushnell Also to add to that article that Marie wrote for Chris https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice

This will give you the same result, and make it easier to change the box-sizing in plugins or other components that leverage other behavior.

Love this, thanks @asuh!


Close and Reopen in Reply from Slack

Problem
Currently to close or reopen a conversation, you have to click the link to the Papercups dashboard and do it there.
Solution
It'd be much smoother and faster if at the bottom of the initial Slack message linked to a Papercups conversation (below Status), there was button "Close" or "Reopen" - based on the current status of the conversation.

Done in https://github.com/papercups-io/papercups/pull/566!


Add support for ADLS Gen2 with Service Principal (client_id/client_secret)

Hi daskers,
The documentation on Microsoft Azure Storage reads:

Microsoft Azure Storage is comprised of Data Lake Storage (Gen1) and Blob Storage (Gen2). These are identified by the protocol identifiers adl and abfs, respectively, provided by the adlfs back-end.
Authentication for adl requires tenant_id, client_id and client_secret in the storage_options dictionary.
Authentication for abfs requires account_name and account_key in storage_options.

We use ADLS Gen2 (= Azure Blob Storage with HNS enabled). Azure has four different access control models, and we follow their (security recommendations)[https://docs.microsoft.com/en-us/azure/storage/blobs/security-recommendations#identity-and-access-management] on:

"Use Azure Active Directory (Azure AD) to authorize access to blob data" - I.e. use service account client_id/client_secret via the ACL or RBAC models.
"The principal of least privilege" - I.e. don't use account_key, which is basically root to the entire resource.
"Disallow Shared Key authorization" - Again, don't use account_key.

So the Dask documentation goes directly against best security practices (and even leads less-experiences user in the direction of insecure setups).
Is this an actual limitation in Dask or adlfs? Or should the documentation be improved?

I've posted this as well: https://github.com/fsspec/adlfs/issues/299

It looks like adfs supports both client_id/client_secret and account_name/account_key authentication methods: https://github.com/fsspec/adlfs/blob/fbe43c601e7b162b7a2bf93f7f8b699c747b70e6/adlfs/spec.py#L377-L381
so I think this is a documentation bug in dask

Please feel free to open a PR @th0ger to improve the docs!

So far, I can confirm that this auth method works against ADLS Gen2:
df = dd.read_parquet(
    path='abfs://CONTAINER/FOLDER/FILE.parquet',
    engine="pyarrow-dataset",
    storage_options={"tenant_id": TENANT, "account_name": ACCOUNT_NAME, "client_id": CLIENT_ID, "client_secret": CLIENT_SECRET}
    )

So yes, ths docs should be improved.


Declared some extra nullability to please Xcode 7 beta.

I added some "nonnull" and "_Null_unspecified" attributes to four public headers.
This shouldn't change the functionality at all, but it removes some warnings I get when I compile on the latest Xcode.
This is my first pull request on this project, apologies in advance if I'm doing this totally wrong.

__null_unspecified

Ok, done! Hopefully they don't deprecate "__null_unspecified" any time soon. (I don't think they're eager to.)

Fantastic! Thanks for the contribution.
If they end up dropping the nullability attributes introduced in Xcode 6.3 we will probably need our own compatibility macro. But I'd prefer not to get into that unless it ends up being recessary.

Yah, no need to go looking for trouble.
I have another thing I did where I made an Xcode project for this and for libgit2 that you can include as a subproject in another Xcode project, and it'll build on iOS or OS X automatically all inside Xcode with no external tools (e.g. no cmake, no scripts). Not sure if you guys want that, though, because the libgit2 one DOES require maintaining by the Xcode project by hand if you add / remove files.

I'm very interested in seeing this Xcode project got libgit2. Do you have it in a branch on your fork of ObjectiveGit?
I understand at least some of the issues with having a build system separate from the libgit2 cmake build, but there are a couple issues I've been looking into that I can't seems to resolve:

git2 is not a real module, it's a submodule under ObjectiveGit
bitcode support - this is pretty easy to add for one architecture, but gets dropped when we lipo the slices together

Both of these seem easy to solve with a real Xcode build.

:metal: Those warnings had been bugging me.


Get started on DNS challenge implementation

Things have been very busy recently and I haven't had time to really dig into this. I can't realistically make any promises... but maybe before the end of September?

Started a new PR instead of this one.


Unhelpful message if local package build (setup.py egg_info) fails with underlying exception

All of the below is using master, checked out at 0fa7bd8bd9be0c64dd14d6c8421b617651d3745d.
Running pipenv lock for a Pipfile that imports a setup.py with a setup_requires dependency fails with a TypeError: __init__() got an unexpected keyword argument 'download_dir' error.
$ python -m pipenv.help output
Pipenv version: '2018.05.18'
Pipenv location: '/Users/greysteil/code/pipenv/pipenv'
Python location: '/usr/local/opt/python/bin/python3.6'
Other Python installations in PATH:

2.6: /usr/bin/python2.6

2.6: /usr/bin/python2.6

2.7: /usr/bin/python2.7

2.7: /usr/bin/python2.7

3.6: /usr/local/bin/python3.6m

3.6: /usr/local/bin/python3.6

3.6: /usr/local/bin/python3.6

3.6.5: /usr/local/bin/python

3.6.5: /usr/local/bin/python

2.7.10: /usr/bin/python

3.6.5: /usr/local/bin/python3

3.6.5: /usr/local/bin/python3

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.6.5',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '16.7.0',
 'platform_system': 'Darwin',
 'platform_version': 'Darwin Kernel Version 16.7.0: Tue Jan 30 11:27:06 PST '
                     '2018; root:xnu-3789.73.11~1/RELEASE_X86_64',
 'python_full_version': '3.6.5',
 'python_version': '3.6',
 'sys_platform': 'darwin'}

System environment variables:

TERM_PROGRAM
PYENV_ROOT
TERM
SHELL
CLICOLOR
TMPDIR
Apple_PubSub_Socket_Render
TERM_PROGRAM_VERSION
TERM_SESSION_ID
USER
SSH_AUTH_SOCK
__CF_USER_TEXT_ENCODING
LSCOLORS
PATH
PWD
EDITOR
LANG
XPC_FLAGS
RBENV_SHELL
XPC_SERVICE_NAME
HOME
SHLVL
LOGNAME
OLDPWD
_
PYTHONDONTWRITEBYTECODE
PIP_PYTHON_PATH

Pipenv–specific environment variables:
Debug–specific environment variables:

PATH: /Users/greysteil/.pyenv/bin:/Users/greysteil/.cargo/bin:/usr/local/heroku/bin:/Users/greysteil/.rbenv/shims:/usr/local/bin:./node_modules/.bin:.bundle/binstubs:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/Library/TeX/texbin:/usr/local/sbin
SHELL: /bin/bash
EDITOR: subl -w
LANG: en_GB.UTF-8
PWD: /Users/greysteil/code/python-test

Contents of Pipfile ('/Users/greysteil/code/python-test/Pipfile'):
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[dev-packages]
"e1839a8" = {path = ".", editable = true}

Expected result
Install should succeed
Actual result
Locking [dev-packages] dependencies…
Using pip: -i https://pypi.org/simple

                          ROUND 1
Current constraints:
  file:///Users/greysteil/code/python-test (from -r /var/folders/kv/y02nj9zd5ss16sn505tk6g_40000gn/T/pipenv-hs7ym9sw-requirements/pipenv-0igg_jkv-constraints.txt (line 2))

Finding the best candidates:
  found candidate -e file:///Users/greysteil/code/python-test (constraint was <any>)

Finding secondary dependencies:

INFO:notpip._internal.operations.prepare:Obtaining file:///Users/greysteil/code/python-test (from -r /var/folders/kv/y02nj9zd5ss16sn505tk6g_40000gn/T/pipenv-hs7ym9sw-requirements/pipenv-0igg_jkv-constraints.txt (line 2))
Traceback (most recent call last):
  File "/Users/greysteil/code/pipenv/pipenv/patched/piptools/repositories/pypi.py", line 305, in get_legacy_dependencies
    wheel_cache=self.wheel_cache,
TypeError: __init__() got an unexpected keyword argument 'download_dir'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/greysteil/code/pipenv/pipenv/resolver.py", line 84, in <module>
    main()
  File "/Users/greysteil/code/pipenv/pipenv/resolver.py", line 73, in main
    system=system,
  File "/Users/greysteil/code/pipenv/pipenv/resolver.py", line 64, in resolve
    allow_global=system,
  File "/Users/greysteil/code/pipenv/pipenv/utils.py", line 403, in resolve_deps
    req_dir=req_dir,
  File "/Users/greysteil/code/pipenv/pipenv/utils.py", line 295, in actually_resolve_deps
    resolved_tree.update(resolver.resolve(max_rounds=PIPENV_MAX_ROUNDS))
  File "/Users/greysteil/code/pipenv/pipenv/patched/piptools/resolver.py", line 104, in resolve
    has_changed, best_matches = self._resolve_one_round()
  File "/Users/greysteil/code/pipenv/pipenv/patched/piptools/resolver.py", line 204, in _resolve_one_round
    for dep in self._iter_dependencies(best_match):
  File "/Users/greysteil/code/pipenv/pipenv/patched/piptools/resolver.py", line 278, in _iter_dependencies
    for dependency in self.repository.get_dependencies(ireq):
  File "/Users/greysteil/code/pipenv/pipenv/patched/piptools/repositories/pypi.py", line 246, in get_dependencies
    legacy_results = self.get_legacy_dependencies(ireq)
  File "/Users/greysteil/code/pipenv/pipenv/patched/piptools/repositories/pypi.py", line 339, in get_legacy_dependencies
    self.resolver.resolve(reqset)
  File "/Users/greysteil/code/pipenv/pipenv/patched/notpip/_internal/resolve.py", line 107, in resolve
    self._resolve_one(requirement_set, req)
  File "/Users/greysteil/code/pipenv/pipenv/patched/notpip/_internal/resolve.py", line 264, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "/Users/greysteil/code/pipenv/pipenv/patched/notpip/_internal/resolve.py", line 198, in _get_abstract_dist_for
    req, self.require_hashes, self.use_user_site, self.finder,
  File "/Users/greysteil/code/pipenv/pipenv/patched/notpip/_internal/operations/prepare.py", line 354, in prepare_editable_requirement
    abstract_dist.prep_for_dist(finder, self.build_isolation)
  File "/Users/greysteil/code/pipenv/pipenv/patched/notpip/_internal/operations/prepare.py", line 155, in prep_for_dist
    self.req.run_egg_info()
  File "/Users/greysteil/code/pipenv/pipenv/patched/notpip/_internal/req/req_install.py", line 486, in run_egg_info
    command_desc='python setup.py egg_info')
  File "/Users/greysteil/code/pipenv/pipenv/patched/notpip/_internal/utils/misc.py", line 698, in call_subprocess
    % (command_desc, proc.returncode, cwd))
pipenv.patched.notpip._internal.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /Users/greysteil/code/python-test/

Steps to replicate
Run pipenv lock in a directory with the following:
# Pipfile
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[dev-packages]
"e1839a8" = {path = ".", editable = true}

# setup.py
import setuptools

def _main():
    setuptools.setup(
        packages=setuptools.find_packages(),
        setup_requires=['pbr'],
        pbr=True)

if __name__ == "__main__":
    _main()

I think #2314 handles this— can you check?

I did some digging. The exception you see is masking the real error, which can be obtained if you run python setup.py egg_info directly:
λ .venv\Scripts\python.exe setup.py egg_info
Traceback (most recent call last):
  File "setup.py", line 12, in <module>
    _main()
  File "setup.py", line 8, in _main
    pbr=True)
  File "C:\Users\uranusjr\Documents\playground\pbr-test\.venv\lib\site-packages\setuptools\__init__.py", line 129, in setup
    return distutils.core.setup(**attrs)
  File "C:\Users\uranusjr\AppData\Local\Programs\Python\Python36\Lib\distutils\core.py", line 108, in setup
    _setup_distribution = dist = klass(attrs)
  File "C:\Users\uranusjr\Documents\playground\pbr-test\.venv\lib\site-packages\setuptools\dist.py", line 370, in __init__
    k: v for k, v in attrs.items()
  File "C:\Users\uranusjr\AppData\Local\Programs\Python\Python36\Lib\distutils\dist.py", line 281, in __init__
    self.finalize_options()
  File "C:\Users\uranusjr\Documents\playground\pbr-test\.venv\lib\site-packages\setuptools\dist.py", line 529, in finalize_options
    ep.load()(self, ep.name, value)
  File "c:\users\uranusjr\documents\playground\pbr-test\.eggs\pbr-4.0.4-py3.6.egg\pbr\core.py", line 92, in pbr
    'The setup.cfg file %s does not exist.' % path)
distutils.errors.DistutilsFileError: The setup.cfg file C:\Users\uranusjr\Documents\playground\pbr-test\setup.cfg does not exist.

PBR requires a setup.cfg containing needed information, but you’re not providing it.
We need to somehow get Pipenv to display the underlying error instead of a generic “Command "python setup.py egg_info" failed with error code 1”. It is really unhelpful.

Is there a workaround when one gets this error message? I am new to pipenv and virtualenv so I am not sure what to do next. Can I use an older version of pipenv or pip? Run some command manually?

Nevermind. In my case, the root cause was #2584.

Thanks for the info, that may be a secret culprit on a lot of related issues now that you mention it...

This will be reported better in the next release
Using the example above:

I'm still getting unhelpful errors when there is an installation failure (in my case, a new cftime release was failing because they didn't upload a wheel and I was missing Cython). Any way to enable the debugging?

I'm facing a similar problem with installing pysqlite via pipenv install. If I try to pip install pysqlite, I get the following error:
[alexykot@alexykot-T580 project]$
Collecting pysqlite
  Using cached https://files.pythonhosted.org/packages/42/02/981b6703e3c83c5b25a829c6e77aad059f9481b0bbacb47e6e8ca12bd731/pysqlite-2.8.3.tar.gz
    Complete output from command python setup.py egg_info:
    pysqlite is not supported on Python 3. When using Python 3, use the sqlite3 module from the standard library.

    ----------------------------------------

This makes sense and is a meaningful response.
However when I run pipenv install while having pysqlite = "*" in the [packages] section - I'm getting a long stack trace and  meaningless
...
pipenv.patched.notpip._internal.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /tmp/tmpplvb860ubuild/pysqlite/```

The original error is no longer there, and this is not helpful. Seems like pipenv is swallowing the original response and conceals useful messages.

can u try the master branch and see what it prints?


Segmentation Fault Reading MCP3424 A/D Converter

I am getting a 'segmentation fault' with the below code running on a BeagleBone Black (node version v0.8.22) communicating with a MCP3424 digital/analog converter:
    var i2c = require('i2c');
    var address = 0x6a;
    var wire = new i2c(address, {device: '/dev/i2c-1', debug: false});
    var semaphore = true;
    setInterval(function() {
        observeCallback();
    }, 1);
    function observeCallback() {
        if (semaphore === true) {
            semaphore = false;
            wire.readBytes(0x80, 4, function(err, buffer) {
                observe(buffer);
                semaphore = true;
            });
        }
    }
    function observe(buffer) {
        var voltageIn = (buffer[0] << 8) + buffer[1];
        voltageIn = voltageIn / 2048;
    }

Obviously this is a pared down version of the code.   It will generally fail within a single digit number of minutes but sometimes it will take longer.
This code is a key element of a pro-bono project that I am doing for a non-profit so any help would be appreciated!

Is this issue still relevant on latest @abandonware's fork ?
https://libraries.io/npm/@abandonware%2Fi2c/usage
Relate-to: https://github.com/kelly/node-i2c/issues/97


chore!: Update kube to v0.97 and thiserror to 2.0.3

Updates dependencies to support the latest kube-rs release and moves to new thiserror release.

@CmdrSharp looks like it duplicates just merged PR. And it's been published to crates.io.

Really overlooked this PR :(


Global Energy Statistics

💥 Proposal
Project Description
I have completed a detailed Exploratory Data Analysis (EDA) and Time Series Analysis of world energy data. The project aims to provide insights into global energy consumption, production, and trends over time. It includes comprehensive visualizations, statistical analysis, and modeling techniques specific to time series data. The Dataset can be downloaded from here and it was also made by me.
Project Features

Exploratory Data Analysis (EDA) of world energy data
Time series analysis techniques, including decomposition, forecasting, and trend analysis
Visualization of energy consumption and production patterns
Statistical analysis of energy data
Python implementation using popular data analysis libraries such as Pandas, LSTM, Plotly, stats models.

Additional Information
I have already completed the project and would like to contribute it to the repository. The code is well-documented and adheres to best practices in data analysis. I believe that this project can be a valuable addition to the repository and can benefit researchers and data enthusiasts interested in the field of global energy analysis. If you want you can check out the project here.

Please assign this to me :)

this seems cool best of luck :)
@Akhil-77 - you can go ahead! We are assigning you 21 days for this project, after which it will be assigned to someone else if not completed. All the best!  Name the file as: algorithm_dataset.ipynb and link it in the readme of the labeled directory as algorithm - dataset.


AAF Parser - Simplify no longer removes track of all muted clips

A bug that recently came to my attention, so figured I'd submit a PR to match the change we've put in to our branch for use in Matchbox.
Looks to be an oversight in how the Gap objects are actually being used, as there is absolutely something valuable in that object when it's a muted clip and contains all the information on the clip that is muted.

@jminor Is there a a reason this hasn't been merged yet?

Now that #1175 has landed, we can update the AAF adapter to use the enabled flag instead of making muted clips into Gaps. That will be much cleaner and will make this change unnecessary.

@andrewmoore-nz and @timlehr how about this instead? https://github.com/PixarAnimationStudios/OpenTimelineIO/pull/1212

@andrewmoore-nz do we still need this PR now that your #1277 has landed?

@jminor This is redundant now, so no longer needed. I'll close it.