Updating comp bio guide v.3

Updated with: chem, ochem, bio, bio lab UTA information; wording consistency; more information on capstone; made recommended 4 year plan more readable

PR out of nowhere


client_protocol is unset in DBeaver 3.6

Starting with DBeaver 3.6 I get the following error message on a connection that worked with older versions:

SQLException: Could not establish connection to jdbc:hive2://_secret_.lan:10000/default: Required field 'client_protocol' is unset! Struct:TOpenSessionReq(client_protocol:null, configuration:{use:database=default})
org.apache.thrift.TApplicationException: TApplicationException: Required field 'client_protocol' is unset! Struct:TOpenSessionReq(client_protocol:null, configuration:{use:database=default})

As a result I can not connect to hive.
Unfortunately there are no further details in the error log.

This is not a DBeaver issue but some misconfiguration in the new driver. Most likely your client driver is not compatible with server version.
Check this: http://stackoverflow.com/questions/24694415/required-field-client-protocol-is-unset
You could try to use previous Hive JDBC driver version (1.2.1 or earlier). If you use driver in Maven artifact then you can change it's version in download dialog.

That worked, thanks a lot!

I know this is old, but I ran into the same issue. The JIRA for it is: https://issues.apache.org/jira/browse/HIVE-6050
Basically they didn't make it backwards compatible, so new client won't work with old server. It's been an open issue since 2013 so it's safe to say it'll eventually become a "won't fix" :-)
I didn't realize I could change it in the Download dialog, thanks.

Just click on version number and change it:


Review Form CSS

Move in one place css styles for disable, focus elements. Update names of css classes.

Need update all css files of inputs.
Check focus/error/disabled/inactive for each

Move all inputs on the one page with available states

default(check for focus)
with values
disabled
disabled with values
error
error with values

Need to update input-select and current task will be done!


Reduce blank line height between each title

Does anyone know how to reduce the height of the break line?
Just like the following picture, I think there is too much space there.

My latex now
\cvsection{Professional Organizations}
\begin{cvhonors}
  \cvhonor
    {Taoyuan Rails Group}
    {Core member, promoted and taught Ruby on Rails and other web services}
    {Taoyuan}
    {2015-2016}
  \cvhonor
    {Information Technology Club}
    {Member, Shared technical talk such as Web development, DevOps.}
    {YZU}
    {2015}
\end{cvhonors}

I think it's similar issue with https://github.com/posquit0/Awesome-CV/issues/227
but still no one know it.

A dirty solution is to use \vspace*{-length} . This will reduce the height of the break line.

\cvsection{Professional Organizations}
\begin{cvhonors}
  \cvhonor
    {Taoyuan Rails Group}
    {Core member, promoted and taught Ruby on Rails and other web services}
    {Taoyuan}
    {2015-2016}
  \vspace*{-3mm}
  \cvhonor
    {Information Technology Club}
    {Member, Shared technical talk such as Web development, DevOps.}
    {YZU}
    {2015}
\end{cvhonors}

That blank space is coming from two different objects. In the .cls file, you'll see the macro for cvsection
\newcommand{\cvsection}[1]{      \par\addvspace{1ex}      \phantomsection{}      \sectionstyle{#1}      \color{gray}\vhrulefill{0.9pt}      \par\nobreak\addvspace{1ex}    }
The first '\par\addvspace{1ex}' is adding vertical space before the text of the section heading. You could adjust this margin to reduce that space. The second object leading to that extra space is the cvitems environment.
\newenvironment{cvitems}{   \vspace{-4mm}   \begin{justify}   \begin{itemize}[leftmargin=2ex, nosep, noitemsep]     \setlength{\parskip}{0pt}     \renewcommand{\labelitemi}{\bullet} }{   \end{itemize}   \end{justify}   \vspace{-3mm} }
In this one, at the end of the itemize there's a vertical space added by\vspace{}. Changing this is a better solution, I think. But you can play around with both of them to see what works for you.


Development: Logging in QuizScheduleService

Checklist
General

[ ] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Server

[x] I followed the coding and design guidelines.

Motivation and Context

A first step in order to partly resolve an issue with the logging in the QuizScheduleService https://github.com/ls1intum/Artemis/issues/5643
Description

Transition from info -> debug
Steps for Testing
n/a
Review Progress

Code Review

[x] Review 1
[x] Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

I would like to keep the info logs for a while as we investigate an edge case issue which we currently cannot reproduce on test servers. I suggest you change the log to warn for this class in the corresponding settings if you are not interested in those logs


fix: fix website bugs and migrate docSearch

/azp run

Codecov Report

Merging #1331 (ed13861) into master (6448dd1) will decrease coverage by 2.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1331      +/-   ##
==========================================
- Coverage   84.77%   82.76%   -2.02%
==========================================
  Files         286      286
  Lines       14165    14165
  Branches      698      698
==========================================
- Hits        12009    11723     -286
- Misses       2156     2442     +286

Impacted Files
Coverage Δ

...m/src/main/scala/com/microsoft/lightgbm/SWIG.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...azure/synapse/ml/lightgbm/LightGBMClassifier.scala
11.11% <0.00%> (-80.00%)
:arrow_down:

...t/azure/synapse/ml/lightgbm/LightGBMDelegate.scala
0.00% <0.00%> (-50.00%)
:arrow_down:

.../synapse/ml/lightgbm/booster/LightGBMBooster.scala
54.41% <0.00%> (-35.30%)
:arrow_down:

...crosoft/azure/synapse/ml/lightgbm/TrainUtils.scala
58.59% <0.00%> (-27.39%)
:arrow_down:

.../synapse/ml/lightgbm/dataset/LightGBMDataset.scala
42.68% <0.00%> (-20.74%)
:arrow_down:

...osoft/azure/synapse/ml/lightgbm/LightGBMBase.scala
79.77% <0.00%> (-15.17%)
:arrow_down:

...crosoft/azure/synapse/ml/io/http/HTTPClients.scala
58.33% <0.00%> (-15.01%)
:arrow_down:

...azure/synapse/ml/lightgbm/params/TrainParams.scala
87.50% <0.00%> (-12.50%)
:arrow_down:

...zure/synapse/ml/lightgbm/TaskTrainingMethods.scala
87.50% <0.00%> (-12.50%)
:arrow_down:

... and 6 more

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 6448dd1...ed13861. Read the comment docs.


Fix deadlocks in lazy-init situations.

What is the purpose of the change
fix #11193
Brief changelog
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Please fix test cases.

Codecov Report

Merging #11194 (83044e7) into 3.1 (dd163ec) will decrease coverage by 4.98%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##                3.1   #11194      +/-   ##
============================================
- Coverage     69.35%   64.36%   -4.99%
+ Complexity      125       14     -111
============================================
  Files          1503     1422      -81
  Lines         79268    59324   -19944
  Branches      13943     8723    -5220
============================================
- Hits          54979    38186   -16793
+ Misses        19531    17081    -2450
+ Partials       4758     4057     -701

Impacted Files
Coverage Δ

.../org/apache/dubbo/config/spring/ReferenceBean.java
94.44% <100.00%> (+0.07%)
:arrow_up:

...luster/router/script/ScriptStateRouterFactory.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...he/dubbo/test/common/impl/GreetingServiceImpl.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...zookeeper/curator/CuratorZookeeperTransporter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...nfigure/DubboRelaxedBinding2AutoConfiguration.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../apache/dubbo/test/spring/SpringXmlConfigTest.java
0.00% <0.00%> (-96.16%)
:arrow_down:

...egistrycenter/context/ZookeeperWindowsContext.java
0.00% <0.00%> (-81.82%)
:arrow_down:

...pc/cluster/router/file/FileStateRouterFactory.java
0.00% <0.00%> (-80.96%)
:arrow_down:

...ycenter/processor/KillProcessWindowsProcessor.java
10.00% <0.00%> (-80.00%)
:arrow_down:

...nter/processor/StartZookeeperWindowsProcessor.java
17.39% <0.00%> (-78.27%)
:arrow_down:

... and 507 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@AlbumenJ
The previous failure was due to incompatibility with versions earlier than spring-4.2
Fixed in

But, I can't reproduce the current failure, I don't know why. Please help me to check.


Month Picker should not have a highlighted month for other years

Describe the bug
The current month should not be highlighted if it's part of another year
To Reproduce
Steps to reproduce the behavior:

use the flow flow="['year', 'month', 'calendar']"
click the input -> select a year other than the current year (example: 2019)
next, you'll see the month picker
notice how May (or the current month) is highlighted

Expected behavior
the month picker should not highlight any month of the selected year from the previous year is not the current year
Screenshots
video:
https://github.com/Vuepic/vue-datepicker/assets/6278713/f744e8b9-d74e-4b58-b9ed-419f813a1fcf
Desktop & mobile (please complete the following information):
safari, chrome

Library version 8.6.0

Expected behavior, these selections are not related to the model-value itself, they show what is currently in the calendar.

they show what is currently in the calendar

what do you mean by "currently in the calendar"


[Feature Request]: Authentication of gemini pro models using service account file on google cloud

Is your feature request related to a problem? Please describe.
All enterprise cloud projects use service account file keys to authenticate. Autogen llm configuration does not support the service account file keys at the moment, rather authenticates with api keys. Pleaase make this feature available.
Describe the solution you'd like
Autogen assistant and Userproxy agents to support LLM configurations using service account files.
Additional context
No response

Thanks! If you know how to do this, could you submit a PR?

Hello team, is there any update on this feature?

cc @BeibinLi

@sadiqgpasha89  Thanks for this feature request. Since I don't have access to any enterprise account, do you have any pointers (links, documentations, etc.) on how to use the service account file keys from enterprise? Thanks ahead~

Hello All,Kindly find the attached doc link for service account keys: https://cloud.google.com/docs/authentication#service-accountsAnd https://cloud.google.com/docs/authentication/provide-credentials-adc#local-keyRegards,Sadiq PashaSent from my iPhoneOn 6 May 2024, at 22:28, Beibin Li @.***> wrote:
@sadiqgpasha89  Thanks for this feature request. Since I don't have access to any enterprise account, do you have any pointers (links, documentations, etc.) on how to use the service account file keys from enterprise? Thanks ahead~
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

@sadiqgpasha89 this is a difficult one for us to do as we don't have access to the account. We are replying on the open-source community for this one.

Gemini is available as part of 2 separate offerings of Google - Google AI and Vertex AI. Vertex AI is available for enterprise as part of the Google Cloud with some additional capabilities. (https://medium.com/@martareyessuarez25/what-are-vertex-ai-and-google-ai-studio-the-artificial-intelligence-development-tools-that-already-666bdfe85dbd#:~:text=Difference between Vertex AI and Google AI Studio)
The GeminiClient available in AutoGen can only support Google AI's Gemini as Vertex AI use different python library "vertexai". I have built a seperate VertexClient for my use. If I want to give PR should I build it as a seperate client or merge the functionalities with the existing GeminiClient ?

Gemini is available as part of 2 separate offerings of Google - Google AI and Vertex AI. Vertex AI is available for enterprise as part of the Google Cloud with some additional capabilities. (https://medium.com/@martareyessuarez25/what-are-vertex-ai-and-google-ai-studio-the-artificial-intelligence-development-tools-that-already-666bdfe85dbd#:~:text=Difference between Vertex AI and Google AI Studio)
The GeminiClient available in AutoGen can only support Google AI's Gemini as Vertex AI use different python library "vertexai". I have built a seperate VertexClient for my use. If I want to give PR should I build it as a seperate client or merge the functionalities with the existing GeminiClient ?

@BeibinLi @marklysze do you have a suggestion?

Looking at the migration steps from Gemini AI to Vertex AI, they do seem to be fairly similar, main difference is authentication.
However, if @arjun-g has already built a library, it may be more straightforward to have two separate clients. For a developer to change their code base from GeminiClient to VertexClient it should be simple.

I have a pending PR #2793. I will raise a PR for VertexClient once this is approved.

I have create a PR which solves this issue as well: 2805

@luxzoli  Thanks for your great PR! I will take a look at it.
@arjun-g  Please also take a look at luxzoli's PR. For your function calling PR, can you add a few test cases, similar to luxzoli's?

@BeibinLi thanks a lot! Meanwhile I have added an additional configuration parameters for the compute regions in my PR, when using Gemini via VertexAI and a service account key file (or simply google default auth even with personal Google Cloud account), which can also be an important enterprise requirement for security and legal compliance reasons.

@BeibinLi thanks a lot! Meanwhile I have added an additional configuration parameters for the compute regions in my PR 2805, when using Gemini via VertexAI and a service account key file (or simply google default auth even with personal Google Cloud account), which can also be an important enterprise requirements.


Support Unity Relay

This merge request implement Unity Relay support for FishyUTP. It implements the ability to create host allocations or join an existing allocation.
References used:

https://docs.unity.com/relay/introduction.html
https://docs.unity.com/relay/SDK/Unity.Services.Relay.html
Unity Relay Sample

Strangely, this was merged by GitHub, but this pull request does not reflect that status:
https://github.com/matthewshirley/FishyUTP/commit/98468fab675b93bbecf88bacb66947e8ec4a637e
Closing as the changes are on the mainline.


adding plotting functionality for catalogs

catalogs should have an associated .plot() method that provides a simple interface to plot catalogs. the plot can be a simple in nature, but needs to handle arbitrary event locations.
for example, a catalog of global events should be plotted on a different basemap than italian seismicity. eventually, the function should accept an arbitrary image layer such as a gridded forecast.

#64 Created blank PR. Please assign me to this issue

done!

closed with #64


change cost of policy-generated actions to zero in sesame

see the new comment for justification. this is important for @Alchemy5 's code and I suspect that it will also improve @wester-is-not-real 's results.
@wester-is-not-real  -- we should regenerate the pg4 results after this is merged.

@ronuchit thanks for looking, yeah exactly


[helper]can't run code。

Hello, I have this problem in the last step when I run the code on your github. need your help, thank you very much：
roslaunch fiss_planner fiss_planner.launch
RLException: [fiss_planner.launch] is neither a launch file in package [fiss_planner] nor is [fiss_planner] a launch file name
The traceback for the exception was written to the log file

Hi,
From what you described,  ROS did not find this package named fiss_planner in the paths.
I suspect it is because after building the package, you forgot to source:
# source
source devel/setup.bash

Please try the above fix and see if you can get it to work.
Regards,
Shuo

Hello, I have run the steps you mentioned. the version I use is Ubuntu18.04+ros1. When I run "catkin_make", I get an error and choose "catkin build". Very disturbing! Thanks again for your reply
`jon@jon:~/fiss_planner$ catkin build
Profile:                     default
Extending:             [env] /opt/ros/melodic
Workspace:                   /home/jon/fiss_planner
Build Space:        [exists] /home/jon/fiss_planner/build
Devel Space:        [exists] /home/jon/fiss_planner/devel
Install Space:      [unused] /home/jon/fiss_planner/install
Log Space:          [exists] /home/jon/fiss_planner/logs
Source Space:       [exists] /home/jon/fiss_planner/src
DESTDIR:            [unused] None
Devel Space Layout:          linked
Install Space Layout:        None
Additional CMake Args:       None
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False
Whitelisted Packages:        None
Blacklisted Packages:        None
Workspace configuration appears valid.
[build] No packages were found in the source space '/home/jon/fiss_planner/src'
[build] No packages to be built.
[build] Package table is up to date.
[build] Summary: All 0 packages succeeded!
[build]   Ignored:   None.
[build]   Warnings:  None.
[build]   Abandoned: None.
[build]   Failed:    None.
[build] Runtime: 0.0 seconds total.
jon@jon:~/fiss_planner$ source devel/setup.bash
jon@jon:~/fiss_planner$ roslaunch fiss_planner fiss_planner.launch
RLException: [fiss_planner.launch] is neither a launch file in package [fiss_planner] nor is [fiss_planner] a launch file name
The traceback for the exception was written to the log file
`

Hi,
I realized your path to the repo is: ~/fiss_planner/
Instead, this ROS pkg should be used within a catkin workspace, something like this: ~/catkin_ws/src/fiss_planner/
Sorry that the original installation instructions might be misleading. I have updated that section and you can follow the steps in the latest version now.
Regards,
Shuo


C++: support Decltype in suspicious-call-to-memset

Query cpp/suspicious-call-to-memset returns memset call in following code:
#include <memory>
#include <zlib.h>

std::unique_ptr<z_stream> ctx { new (std::nothrow) z_stream };
if (ctx) {
  memset(ctx.get(), 0, sizeof(z_stream));
}

I believe this is FP and could be avoided by adding Decltype to stripType predicate. Is there any reason why Decltype was originally not included? Thanks.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Update "@azure/functions": "^3.2.0" to "^4.0.0"

error TS2345: Argument of type 'import("C:/work/node_modules/@azure/functions/types/http").HttpRequest' is not assignable to parameter of type 'import("C:/work/node_modules/@anzp/azure-function-multipart/node_modules/@azure/functions/types/http").HttpRequest'.
  Type 'HttpRequest' is missing the following properties from type 'HttpRequest': get, parseFormBody

29     const { fields, files } = await parseMultipartFormData(request);
                                                              ~~~~~~~

#373 is similar to this Issue, but I believe the cause is different.

Bump this - facing the same issue

Hey @LucasBonafe - I was able to achieve this by using the parse-multipart. To do this, you will have to read the raw body of the request as a buffer stream and make sure you extract the boundaries of the form-data using multipart. The following is an example
import * as multipart from 'parse-multipart';

# in your function

const rawBody = await request.body.getReader().read();
const contentType = request.headers.get('content-type');
const boundary = multipart.getBoundary(contentType);

if(boundary) {
try {
    let files: Form[] = multipart.Parse(Buffer.from(rawBody.value), boundary);
    # Print out all the files in the form-data body
    console.log(files)
    # Print out the content of the files
      files.map(file => context.log(file.data.toString()));
} catch (error) {
  return {status: 400, body: error};
}


ROS release repository is missing

This package was released into Foxy in https://github.com/ros/rosdistro/pull/30943
However, the release repository that was used is no longer available:  https://github.com/artofnothingness/mppic-release.git
This does not affect the buildfarm (since the source code and generated metadata from bloom has already been imported), however, for reference, it would be nice to bring back the release repository or update rosdistro if the repository has been moved.

@artofnothingness did you make this private?

@SteveMacenski
I removed it, coz mppi was moved to another repo, it wasn't quite up to date and had build failing.
Can we re-add this later, when it would have more stable state?

This actually breaks updating meta-ros2-foxy with superflore.

@moto-timo brought it back

@artofnothingness thank you, breakage is fixed

I can't help but wonder if the distribution.yaml shouldn't be pointing to the FastSense/mmpic or artofnothingness/mppic repos instead of mppic-release... but I am new to all of this ROS world.


Can the CWT be used on a discrete signal ?

Hi, I wanted to ask if the CWT can be used on a discrete time-sampled digital signal
This simulator samples incoming messages, realtime every 1ms. The result is an array of integers ( amount of messages per ms ) that ranges from 0 to N like this [0,12,4,26,32,2,5] and so on.
I wanted to know if I need to do something to the data first or I can just use it like this with the CWT
Thanks !

Yes, the only constraint is that data is sampled uniformly. In fact, CWT on a digital computer can only handle discrete signals.
Though, it should be fed as float64 (or float32) instead of as integers. I recommend normalizing as x /= x.std().

Thank you for the answer. If you don't mind, I have a couple more questions regarding the cwt.

Let's say I've got a vector of vectors of sines at different frequencies sampled at 50ms intervals. Like this : [[data][None][data][data][data][None]]. Can you process one chunk of 50ms at a time and then reconstruct the result ? Or it's necessary to process the entire signal train at once ( AKA the entire vector of vectors ) ? I ask this because on this experiment I process messages with the data, and sometimes I get barrages of them. The signal becomes really big in no time, so i wonder If you can process it by chunks and then reconstruct it, let's say at a module that reconstructs the coefficient vectors and then plots.

Thank you !


How to define fields of type.list with custom resolver

Project = types.object {
  name = 'Project',
  fields = function()
    return {
      id = types.id.nonNull,
      name = types.string.nonNull,
      client_id = types.id.nonNull,
      client = { -- resolver works
        kind = Client,
        resolve = function(project)
          return getClientById(project.client_id)
        end
      }
      tasks = { -- this fails
        kind = types.list(Tasks),
        resolve = function(project, arguments)
          return getTasksByProjectId(project.id)
        end
      }
    }
  end
}

it fails with validate.lua:61: attempt to index field 'fields' (a nil value) the line number might be wrong since i made a few changes
Is this the right place to fix this (accept custom resolver) or is it somewhere else?
Hints/help welcome :)

This test schema in js implementation suggests my definition above should be correct and working. I'll see if i can fix the bug


[Revise subclass] MONDO:0005468 hypotension (disease)

MONDO:0005468 hypotension (disease)
("Blood pressure that is abnormally low.") is currently a subclass of 'cardiovascular disease'. However, its "mate" MONDO:0005044 'hypertensive disorder' is, rightfully, a subclass of 'arterial disorder'. Would you please consider making MONDO:0005468 'hypotension (disease)' a subclass of 'arterial disorder' too? EFO would benefit from this (trying to clean up children of 'cardiovascular disease' that can have more specific parents, for our Open Targets work). Thanks.

also make the naming consistent


Feature/request time extension

Description of change
This story allows officers and managers to ask the applicant to extend the expiry date of the application. By implication this also extends the target date.
Story Link
https://trello.com/c/nNApgOyZ/2515-as-a-planning-officer-i-need-to-be-able-to-request-an-extension-of-time-so-that-that-i-have-time-to-deal-with-new-more-informati
Screenshots

Decisions
Although from a technical point of view, time extension validation requests are part of the ValidationRequest class, they are not part of the validation process as they can be sent at any point during the process and do not need to be resolved in order for the application to be validated. Certain decisions have been taken such as:

excluding them from the display list of validation requests on the validations index page as the messaging would be wrong
adding a standalone response banner

Just a couple more suggestions but it's all minor things, otherwise looks good to me!

Suggestions gratefully received and implemented, thanks!


use prettier to auto format md files

Which issue does this PR close?

Closes #399.
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

Codecov Report

Merging #398 (5874243) into master (45acc62) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 5874243 differs from pull request most recent head 8f3d0cb. Consider uploading reports for the commit 8f3d0cb to get more accurate results

@@           Coverage Diff           @@
##           master     #398   +/-   ##
=======================================
  Coverage   82.63%   82.63%
=======================================
  Files         162      162
  Lines       44310    44310
=======================================
  Hits        36617    36617
  Misses       7693     7693

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 45acc62...8f3d0cb. Read the comment docs.


Generic Permissions

I am seeing a (permissions) error on a new install, so I know it is mine to find...  Having said that, I did notice that there is a reference in mediaprocessor to chmod the file to 0644 when my own .ini file references a 0775 permissions set.
Is this hardcode by design?
2024-02-04 21:23:01 - resources.mediaprocessor - INFO - ======================
2024-02-04 21:39:38 - resources.mediaprocessor - INFO - /media/sg1/Videos/TV/MediaFile [WEBDL-1080p] [5.1] [BitDepth 8].mkv created.
2024-02-04 21:39:38 - resources.mediaprocessor - ERROR - Unable to set new file permissions.
Traceback (most recent call last):
  File "/media/data/git-clone/sickbeard_mp4_automator1/resources/mediaprocessor.py", line 1976, in setPermissions
    os.chmod(path, self.settings.permissions.get('chmod', int('0664', 8)))
PermissionError: [Errno 1] Operation not permitted: '/media/sg1/Videos/TV/MediaFile [WEBDL-1080p] [5.1] [BitDepth 8].mkv'
2024-02-04 21:39:38 - resources.mediaprocessor - INFO - Tagging /media/sg1/Videos/TV/MediaFile [WEBDL-1080p] [5.1] [BitDepth 8].mkv with TMDB ID 46648.
2024-02-04 21:39:38 - resources.metadata - INFO - Tagging file: /media/sg1/Videos/TV/MediaFile [WEBDL-1080p] [5.1] [BitDepth 8].mkv.
2024-02-04 21:39:46 - resources.metadata - INFO - Tags written successfully using FFMPEG fallback method.
2024-02-04 21:39:46 - resources.mediaprocessor - ERROR - Unable to set new file permissions.
Traceback (most recent call last):
  File "/media/data/git-clone/sickbeard_mp4_automator1/resources/mediaprocessor.py", line 1976, in setPermissions
    os.chmod(path, self.settings.permissions.get('chmod', int('0664', 8)))
PermissionError: [Errno 1] Operation not permitted: '/media/sg1/Videos/TV/MediaFile [WEBDL-1080p] [5.1] [BitDepth 8].mkv'
2024-02-04 21:39:46 - SonarrPostProcess - ERROR - Sonarr monitor status update failed.
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/requests/models.py", line 971, in json
    return complexjson.loads(self.text, **kwargs)
  File "/usr/lib/python3.10/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/media/data/git-clone/sickbeard_mp4_automator1/postSonarr.py", line 260, in <module>
    inProcess = settings.Sonarr['in-progress-check'] and downloadedEpisodesScanInProgress(baseURL, headers, episodefile_sourcefolder, log)
  File "/media/data/git-clone/sickbeard_mp4_automator1/postSonarr.py", line 76, in downloadedEpisodesScanInProgress
    commands = r.json()
  File "/usr/local/lib/python3.10/dist-packages/requests/models.py", line 975, in json
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

    # Generic permission setter
    def setPermissions(self, path):
        try:
            if os.path.exists(path):
                os.chmod(path, self.settings.permissions.get('chmod', int('0664', 8)))
                if os.name != 'nt':
                    os.chown(path, self.settings.permissions.get('uid', -1), self.settings.permissions.get('gid', -1))
            else:
                self.log.debug("File %s does not exist, unable to set permissions." % path)
        except:
            self.log.exception("Unable to set new file permissions.")

the 0664 is a fallback value if the permissions.get call doesn't return anything
https://python-reference.readthedocs.io/en/latest/docs/dict/get.html


Update libxc to stable 6.0.0 release

This PR updates libxc to the stable 6.0.0 release.
More fundamental API changes in Libxc (support for double hybrids) were relegated to version 7.0.0.

pipeline still uses the precompiled libxc-5.*.  https://github.com/pyscf/pyscf-build-deps/blob/master/pyscf-2.1-deps.tar.gz . This also needs to be updated

pipeline still uses the precompiled libxc-5.*. The updated precompiled files are upload to https://github.com/pyscf/pyscf-build-deps/blob/master/pyscf-2.2a-deps.tar.gz and https://github.com/pyscf/pyscf-build-deps/blob/master/pyscf-2.2a-aarch64-deps.tar.gz . Please also update the relevant pipeline files in .github/workflow directory

Done


v11 Support

@zeel01 - I think these changes will help support v11. Thanks for making this super awesome module. I use it all the time :)
I tried to get v11 support up and running. It seems like the major changes that had to be addressed were:

many things referenced data.data.* and needed to be moved to system.*
the TextEditor call needed to be made non-async
manifest needed some changes
bludgeoning / slashing / piercing damage resistances needed a refactor
something about maximizing led to an infinite loop - I wasn't able to figure out what was going on

One note: It seems that with this version it doesn't properly pass on whether you are holding control or alt when clicking on an item so something like midi-qol can't tell if you are trying to roll with advantage or disadvantage

Just wanted to let you know that I do intend to review this. I had some surgery done last week, so I haven't been up to it yet.

@evan-rash I am using these files in Foundry v10 and dnd5e 2.2.1 (except I put the minimum version at 10 instead of 11) and everything works except that Reactions and Bonus don't show up below the headers. Do you know what might have broken that?

@friction1 - I didn't actually test it on foundry v10. I'll have to take a look. What you could do is hit F12 and see if there are any errors in the developer console related to monster blocks

@friction1 - I just tested on v10 and I see bonus actions and reactions. Can you share a creature from the SRD where you're seeing this issue?

There's a whole host of yellow errors. Maybe it has to do with dnd 2.2.1 vs 2.3? You can't get dnd 2.3 on v10.

@friction1 - with dnd5e2.2.1 I am able to see the Shadow's bonus action. Looking at the stack trace you posted, it looks like it's from a mod called dnd5eCharacterActions. If you wanted to test, you could create a brand new empty world on foundryv10 with just dnd2.2.1 and this branch of the mod (I updated minimum version to 10 instead of 11) and see if you still see the issue

Hi Evan! That's awesome that you helped find out where things need to be adjusted. How can I start using your code to use this in V11?

@zeel01 - hope you're feeling well! Any chance that this will be ready to merge?

I have been testing this and it works great for me on V11! Thanks so much. Hope this can get merged.

I have been testing this and it works great for me on V11! Thanks so much. Hope this can get merged.

How were you able to get it working?

Hi @evan-rash would you consider taking a look at the issue with condition immunities not showing? https://github.com/zeel01/MonsterBlocks/issues/215
Other than that and some very minor stuff, your pull request works perfectly for me in Foundry V11.

I was hoping @zeel01 would take this up, but it seems like they've taken a step away from the project

@evan-rash all those changes you did...does someone have to handjam them to make things work? or is there a file that you can post that reflects/contains all the changes you've made to get it working again?

It's all in this PR, so the mod owner could choose to accept them and publish a new version. If that doesn't happen, then I could publish a fork of the mod with the fixes, but I'd prefer not to do that since the original author spent so much work putting this together in the first place!
This is probably my favorite foundry mod and I'd love to see it continue to be supported

Sorry everyone for taking so long. I kept meaning to review this and kept not having the time, so I've just merged it as-is and published the release.

Thank you @zeel01 @evan-rash for the update! Monster blocks is probably the most important addon I use; the default interface is not a smooth experience when controlling monsters and this haitus has made me appreciate monsterblocks that much more. Without monsterblocks, I'd be looking for new software to host my games on.


AWS SDK appears to clobber libcurl when used with libcurl

Describe the bug
Running libcurl in the same executable as an aws-sdk-cpp library is called causes the libcurl request to fail with the following error message (when libcurl is set to the verbose logging with curl_easy_setopt(_curl, CURLOPT_VERBOSE, 1L);):
* STATE: INIT => CONNECT handle 0x556823ce86f8; line 1789 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* STATE: CONNECT => RESOLVING handle 0x556823ce86f8; line 1835 (connection #0)
* family0 == v4, family1 == v6
*   Trying ***.***.***.***:443...
* STATE: RESOLVING => CONNECTING handle 0x556823ce86f8; line 1917 (connection #0)
* Connected to ************** (***.***.***.***) port 443 (#0)
* STATE: CONNECTING => PROTOCONNECT handle 0x556823ce86f8; line 1980 (connection #0)
* SSL: couldn't create a context: error:0A0C0100:SSL routines::malloc failure
* multi_done
* The cache now contains 0 members
* Closing connection 0
* Expire cleared (transfer 0x556823ce86f8)
*

I am using aws-sdk-cpp library to get SSM parameters and Secrets Manager Secrets for a cognito instance, and then using the libcurl to directly acquire the access tokens for the service principal.
When hard-coding these credentials to test, libcurl proceeds as expected and returns the credentials.
Note: Attempted to build on vcpkg with latest 1.11 aws-sdk-cpp version, but the CMake build fails.
Expected Behavior
I expected the libcurl request to proceed without issue from creating an SSL Context, and if it were to fail, for it to be related to the usual REST failure modes (incorrect URL, bad parameters, etc.) or for it to succeed.
Current Behavior
libcurl outright fails, and complains that the program is out of memory, because the SSL context failed to create.
Reproduction Steps
Set up curl_global_setup, run any aws-sdk-cpp library SSM or Secrets Manager code (including the Aws::InitAPI and Aws::ShutdownAPI), then run a curl request with curl_easy_perform (and required setup).
An example repository that builds using cmake and vcpkg, which includes a README.md to help with building and demonstrating the issue.
Possible Solution
This could be a result of multiple curl_global_cleanup commands that are not desirable, as indicated in this ticket.
Additional Information/Context
This package (aws-sdk-cpp), as are libcurl, openssl, and the other packages in this larger project, are all built and installed by using vcpkg.
AWS CPP SDK version used
1.9.220#2
Compiler and Version used
gcc (Debian 10.2.1-6) 10.2.1 20210110
Operating System and version
6.1.0-0.deb11.7-cloud-amd64

Can you provide slightly more detailed repro steps? How are you setting up curl_global_setup? and a code snippet for how you make the curl request?


Funciones de suma de columnas y filas.

Closes #6

Codecov Report

Merging #18 (50fc5cc) into master (9f60973) will not change coverage.
The diff coverage is 0.00%.

@@          Coverage Diff           @@
##           master     #18   +/-   ##
======================================
  Coverage    0.00%   0.00%
======================================
  Files           3       3
  Lines          48      52    +4
======================================
- Misses         48      52    +4

Impacted Files
Coverage Δ

src/Utils.jl
0.00% <0.00%> (ø)

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 9f60973...50fc5cc. Read the comment docs.

Codecov Report

Merging #18 (50fc5cc) into master (9f60973) will not change coverage.
The diff coverage is 0.00%.

@@          Coverage Diff           @@
##           master     #18   +/-   ##
======================================
  Coverage    0.00%   0.00%
======================================
  Files           3       3
  Lines          48      52    +4
======================================
- Misses         48      52    +4

Impacted Files
Coverage Δ

src/Utils.jl
0.00% <0.00%> (ø)

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 9f60973...50fc5cc. Read the comment docs.


flow maker not working

I get the following log output
Neomake: Nothing to make: no enabled makers

in my vimrc
if has('autocmd')
	autocmd! BufWritePost * Neomake
endif

""" open list without moving the cursor; use :ll to jump to current error
let g:neomake_open_list = 2
""" verbose behaviour
"let g:neomake_verbose=3
""" error log file
let g:neomake_logfile=$HOME.'/.vim/log/neomake.log'
""" define error symbols in gutter
let g:neomake_warning_sign = {
  \ 'text': '✹',
  \ 'texthl': 'WarningMsg',
  \ }

let g:neomake_error_sign = {
  \ 'text': '✖',
  \ 'texthl': 'ErrorMsg',
  \ }

""" jump to next error
nnoremap <leader>ne :ll<CR>

let g:neomake_go_enabled_makers = ['gofmt', 'golint']
let g:neomake_go_enabled_makers = ['go', 'golint']
let g:neomake_php_enabled_makers = ['phpcs', 'php', 'phpmd']
let g:neomake_typescript_enabled_makers = ['tsc', 'tsclint']
let g:neomake_javascript_enabled_makers = ['flow']

Flow is installed and working.
Any advice?
Thx

I came across the same issue as @majjoha and decided to dig into a bit.
@iwyg, I'm unsure if what @majjoha and I are experiencing is the same as what you are experiencing.  If not, I'm happy to move my info to a separate issue.  But, just as a starter have you tried just doing a :let g:neomake_javascript_enabled_makers in Vim and observing the output to make sure flow is listed?  Perhaps your .vimrc just needs to be sourced after specifying the makeres.
I believe the errors are not being displayed in the location list because the error format for the flow maker is invalid.  Invalid entries are hidden by default as a result of #114.
I tried my hand at changing the error format myself and found a few useful bits of info:

There is a --from=vim option for the command that outputs a slightly more Vim-parseable error message.
Facebook has their own Vim Flow plugin here that's a nice reference:  https://github.com/flowtype/vim-flow/blob/master/plugin/flow.vim#L38
As far as I could tell there's no real way to run flow on only one file.  The file paths given to the command seem to be ignored so flow will just output all the errors for your entire project on every run.  I have a feeling this is because flow errors can span across multiple files.  Meaning you may have a type error on a function that you pulled in from another file, so flow will tell you how the error relates to both files.

So, given the above info I was able to get a couple of different usable options:
Short Version:

Long Version:

Flow's output is arguably too hard to compact into a single-line message so in both cases the errors are little cryptic, but at least the errors and markers are there as indicators.
I have a fork going here with some experiments on different formats:  https://github.com/npbee/neomake/blob/fix-flow-maker/autoload/neomake/makers/ft/javascript.vim#L43.  I'm new to both VimL and Flow so any tips or suggestions are welcome.

Still seeing the issue after #265 was merged. (Flow 0.25).
Log says:
2016-05-24T21:26:24+0300 Log level 3: Neomake: Nothing to make: no enabled makers

While:
let g:neomake_javascript_enabled_makers = ['flow']

What does :echo executable('flow') &ft display?

Hello,
I am encountering the exact same issue as @iwyg, and @npbee's work (#264) apparently didn;t have anything to do with it...
:echo executable('flow') &ft displays 1 javascript.jsx. I have no clue on what to dig on this issue.
Did @iwyg or anyone happen to find a fix for it?
Thanks

Hey,
I found a workaround. I'm by the way not sure if it is a workaround or if it is the way it should work since the README explicitly says it may be outdated...
Any way I had to had flow as a javascript AND as a jsx maker to make it work properly :
let g:neomake_javascript_enabled_makers = ['flow']
let g:neomake_jsx_enabled_makers = ['flow']

instead of just
let g:neomake_javascript_enabled_makers = ['flow']

Note that enabling it on jsx and not on javascript doesn't work neither. Did you have to use the same config as me ? Is this the intended way this works ? If so, it should be added somewhere in the docs...


ERROR RangeError: Maximum call stack size exceeded in all documentation pages

Documentation Feedback
When I go to the page, I get the following error regardless of which subpage

Affected documentation page:
https://material.angular.io/
Browser: CHROME Version 80.0.3987.87 (Offizieller Build) (64-Bit)

I'm not seeing it on my end. Could it be a caching issue?

I'm not seeing it on my end. Could it be a caching issue?

Its an extension issue sorry for that.
The extension that blocks is an alpha https://github.com/typebytes/ng-profiler-devtools/
So a client problem if that extension is active.
I close it.


Calendar widget isn't optimal

In some cases, only the year or month and year are available. It would be better to have Year | Month | Day - three separate fields all in a row, and only the year is required.
Currently this seems to apply to Conference Presentations and Publications.

@monika-aashe @juliandsmith
This is a bit tricky for two reasons:

The way we store the date in the database
Our ability to order by date later

Ideally, we'd like to store all these fields as the same dateobject on the backend. That way the database can properly order them and understand their meaning. A database can understand a date, like 2015-12-1, but when you break it up as year-only or year and month, then the database can only really understand those as integers and it's virtually impossible to order by date objects and integers together.
So, this leaves us with two options:
Optimal Solution
Figure out a complicated way to store the dates as date objects, even if the day and or month wasn't provided and display them appropriately. For example 12/2015 would be stored as 2015-12-1 on the backend, but be displayed as Dec 2015 to the users. This will require some complex logic and a fair bit of work, but not necessarily not worth doing. I think it would be fun.
Potential Workaround
Encourage our users to submit Jan 1st if they don't know the month or day, or the 1st of a month, if they don't know the precise date.
@rerb and @bartTC:
I'm trying to think of the best way to implement the first solution (I haven't found an existing package yet).
Basically, I think we'd have to create a custom ModelField, VagueDateField that was actually a front for four fields in the database [DateField, BooleanField (year), BooleanField (month), BooleanField (day)]. The default values for an empty day and month could be set on the field. A model might use it like so:
class MyModel(models.Model):
    my_date_field = VagueDateField(day_fallback='1', month_fallback='1')
    # by setting the fallback values I've indicated that those fields aren't required

Then, this would have a custom __repr__ and/or __str__ methods that would display the date using the BooleanFields for reference. There might be some fancy footwork involved for things like:
MyModel.objects.order_by('my_date_field')

We'd then create a custom form field and widget, VagueDateField that displayed this as three drop-downs: day, month, and year. Day and Month drop-downs would be optional if their fallbacks have set values.
Do either of you know of an existing solution for this? Have any suggestions about this approach?
This is a pretty complicated solution and I could see it being a bit of a rabbit hole. But, it definitely seems like a useful pattern that makes sense and could be shared.
Potential Pitfalls

migrations - support for django migrations might take some effort
ordering - I have no idea how this gets implemented... it might be easy, but it might not.
some date-formatting filters like date and naturalday may not work as expected

Here are a few examples that are old and I think miss the mark a bit:

django-flexibledatefield - uses a single PositiveIntegerField and doesn't have tests and has a text field as input instead of the drop-downs.
django-yearlessdate - just a form field, we want years.

Speaking as a wet rag, I'll say that this sounds like a lot of extra
complexity for little in return.  Somebody's got to guess the month and day
if they're not provided and we want to store the data as dates, so might
better be the user than us.  Might help text like, "Choose your best guess
if you don't know the exact date" be enough?
On Tue, Dec 1, 2015 at 12:19 PM, Benjamin W Stookey <
<EMAIL_ADDRESS>wrote:

@monika-aashe https://github.com/monika-aashe @juliandsmith
https://github.com/juliandsmith
This is a bit tricky for two reasons:

The way we store the date in the database
Our ability to order by date later

Ideally, we'd like to store all these fields as the same dateobject on
the backend. That way the database can properly order them and understand
their meaning. A database can understand a date, like 2015-12-1, but when
you break it up as year-only or year and month, then the database can only
really understand those as integers and it's virtually impossible to order
by date objects and integers together.
So, this leaves us with two options:
Optimal Solution
Figure out a complicated way to store the dates as date objects, even if
the day and or month wasn't provided and display them appropriately. For
example 12/2015 would be stored as 2015-12-1 on the backend, but be
displayed as Dec 2015 to the users. This will require some complex logic
and a fair bit of work, but not necessarily not worth doing. I think it
would be fun.
Potential Workaround
Encourage our users to submit Jan 1st if they don't know the month or day,
or the 1st of a month, if they don't know the precise date.
@rerb https://github.com/rerb and @bartTC https://github.com/bartTC:
I'm trying to think of the best way to implement the first solution (I
haven't found an existing package yet).
Basically, I think we'd have to create a custom ModelField, VagueDateField
that was actually a front for four fields in the database [DateField,
BooleanField (year), BooleanField (month), BooleanField (day)]. The default
values for an empty day and month could be set on the field. A model might
use it like so:
class MyModel(models.Model):
my_date_field = VagueDateField(day_fallback='1', month_fallback='1')
# by setting the fallback values I've indicated that those fields aren't required
Then, this would have a custom repr and/or str methods that would
display the date using the BooleanFields for reference. There might be some
fancy footwork involved for things like:
MyModel.objects.order_by('my_date_field')
We'd then create a custom form field and widget, VagueDateField that
displayed this as three drop-downs: day, month, and year. Day and Month
drop-downs would be optional if their fallbacks have set values.
Do either of you know of an existing solution for this? Have any
suggestions about this approach?
This is a pretty complicated solution and I could see it being a bit of a
rabbit hole. But, it definitely seems like a useful pattern that makes
sense and could be shared.
Potential Pitfalls

migrations - support for django migrations might take some effort
ordering - I have no idea how this gets implemented... it might be
easy, but it might not.
some date-formatting filters like date
https://docs.djangoproject.com/en/1.8/ref/templates/builtins/#date
and naturalday
https://docs.djangoproject.com/en/1.8/ref/contrib/humanize/#naturalday
may not work as expected

Here are a few examples that are old and I think miss the mark a bit:

django-flexibledatefield
https://github.com/JordanReiter/django-flexibledatefield - uses a
single PositiveIntegerField and doesn't have tests and has a text field as
input instead of the drop-downs.
django-yearlessdate https://github.com/seddonym/django-yearlessdate
just a form field, we want years.

—
Reply to this email directly or view it on GitHub
https://github.com/AASHE/hub/issues/116#issuecomment-161038116.

--
Robert Erb
Web Application Developer
Association for the Advancement of Sustainability in Higher Education
www.aashe.org |<EMAIL_ADDRESS>|<PHONE_NUMBER> ext 35
--
Connect with us:   Website http://www.aashe.org/ | Facebook
https://www.facebook.com/aasheorg | Twitter
https://twitter.com/AASHENews | LinkedIn
http://www.linkedin.com/company/aashe
http://www.aashe.org
Email Confidentiality Notice
http://www.aashe.org/email_confidentiality_notice

I'd be okay with the help-text workaround. I'll add to tomorrow's meeting agenda to see if Julian agrees. Speaking of which, since Bob is getting more involved in the project implementation, would it make sense for him to start joining the calls? @jamstooks @rerb

Thats the approach I'd have in mind too @jamstooks
I think thats the better way for now @rerb.

four fields in the database [DateField, BooleanField (year), BooleanField (month), BooleanField (day)].

I think only three fields are necessary, since the year is mandatory. It's a forms.Multiwidget. We always store a full date in the database, which we use to order, but always display based on the additional Booleanfields. I don't see issues with migration, nor ordering. It's just a problem of the template output.
But yes, what @rerb says, I wonder if this is an actual issue and it's so often people can't remember an exact date (or don't want to guess).

There's one other issue pertaining to date that I found. Suppose you are going to enter an older publication or conference presentation (e.g. 2002). Right now, it appears that you have to scroll through each month to get to the correct date (12 clicks per month per year adds up to a lot of clicks!) I know there is a short-cut where you can manually type in the date, so we should probably add that to the helptext unless there is another workaround.

@rerb - I think you're right... although it'd be a cool project (I'm surprised it doesn't already exist). We'll see what Julian says on the call.
@bartTC - Good point. I guess I was thinking there might a flexible option to have the year be the current year or something. Your suggestion of the Multiwidget seems useful, but we'd probably still want a custom model field to obscure the boolean fields from the model definition and handle printing of the field.
@monika-aashe - I don't think we need two developers on the calls. I think it makes more sense for Bob to spend his time on issues over meetings.

@monika-aashe - that widget may support another button for scrolling by year, right now it just has:
<  >

but we could add extra buttons that scroll in 12-month increments:
<<  <  >  >>

That feature might be available. I've created another ticket for that request #117.

Ok, so as much as I'd like to create this vague-date-field app, I don't think we have time for this right now and should default to the help text option. Bob suggested this:

"Choose your best guess if you don't know the exact date"

Would you like to go with something like that? Maybe this is something we can come back to down the road...

@juliandsmith - I'm okay with making this 1d if you are

I'm hesitant about pushing this one off because I think it impacts many of the publications we'll be importing. Changing it after launch seems like it could create some complications between resources submitted before and after the change too. What do you think @jamstooks?

I don't think it matters for imports, if we don't know the date, we would enter it as 12/1/15, which is how it would be stored if someone only entered month and year anyway, right?

I guess so, but if we don't have the functionality Ben was proposing, the system won't know that we didn't have the full date so it would show 1/1/15 for resources that we wanted to show up only as 2015. This obviously isn't the end of the world but there are a lot of publications for which we don't have the exact date. I really don't like the imprecision of it but I like delaying the launch even less so I guess I'm okay to move later.

Oh, right. I think Ben said there's a way to do mass edits though?

Decided to postpone. Can add logic "if you don't know the month and year, enter January 1; if you don't know the exact date but know the month and year, enter the first day of the month"

Wow, what a thread. After three years, can we still say this is something that we are concerned with? Enough to devote our precious moments to?

LOL. Reading through this thread made me nostalgic. At this point, I'm okay to close this and move on.

Same here. I don't think it has been problematic. We already implemented the help-text solution:
"Enter the date when this resource was created, founded, published, or presented. If you don't know the exact date, choose the first day of the month. Use January 1 if you only know the year. You can use the calendar widget or type in a date in YYYY-MM-DD format."


UI scrolls when tabbing around in narrow window

Enable 'tab moves focus'. You can't see it in this gif because of #12941, but it's enabled.
Make the window narrow enough so that the editor buttons in the top right are off the page
When you tab to them, the whole page scrolls to them so the sidebar is hidden.

Reproes in both 1.7-insiders and 1.6.

I think this is the still issue as https://github.com/Microsoft/vscode/issues/6810
Underlying problem is that Chrome wants to reveal the item that you tab to (or that has focus) and it will try so no matter what is needed (e.g. by setting scrollLeft). Not sure how to prevent that, if someone has ideas, lets continue in #6810


Bug: (getKindeServerSession throws an error in generateStaticParams)

Prerequisites

[X] I have searched the repository’s issues and Kinde community to ensure my issue isn’t a duplicate
[X] I have checked the latest version of the library to replicate my issue
[X] I have read the contributing guidelines
[X] I agree to the terms within the code of conduct

Describe the issue
When using the getUser function from getKindeServerSession to get the user id in generateStaticParams (Nextjs 14.0.2 App Router) inside nested page route (/posts/[slug]), it throws this error... (Error: Invariant: cookies() expects to have requestAsyncStorage, none available)
Library URL
https://github.com/kinde-oss/kinde-auth-nextjs
Library version
1.8.25
Operating system(s)
Ubuntu
Operating system version(s)
22.04
Further environment details
Node v20
Firefox v118
Reproducible test case URL
No response
Additional information

Oh, its fixed in version 2


"Location kind" addition

Pull request adds "Location kind":
https://tech.yandex.ru/maps/doc/geocoder/desc/reference/kind-docpage/

Hey.
Thank you for your contribution, but this repository is READ ONLY. You should close this PR and make a new one at http://github.com/geocoder-php/Geocoder.
Regards
The bot at SubtreeSplit.com


Improve USBProxy reliability

This PR fixes a few things:

Refactor clear_feature_endpoint_halt arguments in the USB HAL driver to match stall arguments.
Add a clear_feature_endpoint_halt verb to the Moondancer GCP class.
Compiler warnings on the latest rustc release.
Incorrect reference to a Makefile target.
Fixes a compiler error when ladybug is enabled.

Depends on: https://github.com/greatscottgadgets/facedancer/pull/106

I'm seeing rubber-ducky.py fail with this:
INFO    | moondancer     | Using the Moondancer backend.
INFO    | moondancer     | Connected FULL speed device 'facedancer.devices.keyboard.USBKeyboardDevice' to target host.
INFO    | rubber-ducky   | Beginning message typing demo...
INFO    | moondancer     | Disconnecting from target host.
Traceback (most recent call last):
  File "/tmp/./rubber-ducky.py", line 25, in <module>
    main(device, type_letters())
  File "/tmp/f/lib/python3.11/site-packages/facedancer/devices/__init__.py", line 41, in default_main
    device.emulate(*coroutines)
  File "/tmp/f/lib/python3.11/site-packages/facedancer/device.py", line 232, in emulate
    self.run_with(*coroutines)
  File "/tmp/f/lib/python3.11/site-packages/facedancer/device.py", line 217, in run_with
    asyncio.run(inner())
  File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/tmp/f/lib/python3.11/site-packages/facedancer/device.py", line 215, in inner
    await asyncio.gather(self.run(), *coroutines)
  File "/tmp/f/lib/python3.11/site-packages/facedancer/device.py", line 204, in run
    self.backend.service_irqs()
  File "/tmp/f/lib/python3.11/site-packages/facedancer/backends/moondancer.py", line 398, in service_irqs
    events: List[Tuple[int, int]] = self.api.get_interrupt_events()
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/f/lib/python3.11/site-packages/pygreat/comms.py", line 1126, in method
    return self.execute_command(verb_number, in_format, out_format, name=name, class_name=class_name,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/f/lib/python3.11/site-packages/pygreat/comms.py", line 1281, in execute_command
    return self.comms_backend.execute_command(self.CLASS_NUMBER, verb, in_format,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/f/lib/python3.11/site-packages/pygreat/comms.py", line 788, in execute_command
    raw_result = self.execute_raw_command(class_number, verb, payload, timeout,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/f/lib/python3.11/site-packages/pygreat/comms_backends/usb1.py", line 403, in execute_raw_command
    self.device_handle.controlWrite(usb1.TYPE_VENDOR | usb1.RECIPIENT_DEVICE,
  File "/home/mossmann/.local/lib/python3.11/site-packages/usb1/__init__.py", line 1349, in controlWrite
    return self._controlTransfer(request_type, request, value, index, data,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mossmann/.local/lib/python3.11/site-packages/usb1/__init__.py", line 1326, in _controlTransfer
    mayRaiseUSBError(result)
  File "/home/mossmann/.local/lib/python3.11/site-packages/usb1/__init__.py", line 127, in mayRaiseUSBError
    __raiseUSBError(value)
  File "/home/mossmann/.local/lib/python3.11/site-packages/usb1/__init__.py", line 119, in raiseUSBError
    raise __STATUS_TO_EXCEPTION_DICT.get(value, __USBError)(value)
usb1.USBErrorTimeout: LIBUSB_ERROR_TIMEOUT [-7]

I thought this might have been because of the other subtle ZLP I caught in https://github.com/greatscottgadgets/cynthion/pull/183 but both branches are working fine for me?
I see it died during a libgreat RPC call, it could maybe be that the firmware had crashed or gotten in a weird state?
Can you replicate it again if you do a fresh firmware build&boot?

Another thought occurred to me last night, did you also update your Facedancer to: https://github.com/greatscottgadgets/facedancer/pull/106

Another thought occurred to me last night, did you also update your Facedancer to: greatscottgadgets/facedancer#106

No. Should I? I test everything with released versions of dependencies. If a different version of a dependency is required, that should be specified in the PR.

No. Should I? I test everything with released versions of dependencies. If a different version of a dependency is required, that should be specified in the PR.

That would explain it then. 😂
The real question though is how did I manage to forget to add any details to the PR description? 🙈

I'm also facing this issue exactly same. Any update?

Can you please try updating your cynthion & facedancer installs to the latest version and let us know if the problem still occurs:
pip install --upgrade cynthion
cynthion update

pip install --upgrade facedancer

@antoinevg , Failed
cynthion run facedancer Updating SoC firmware flash with 55900 bytes... Operation complete! Uploading target bitstream to FPGA with 441927 bytes... Operation complete!
`cynthion info
Cynthion version: 0.1.6
Apollo version: 1.1.0
Python version: 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0]
Found Apollo stub interface!
Bitstream: Facedancer (Cynthion Project)
Vendor ID: 1d50
Product ID: 615b
bcdDevice: 0104
Bitstream serial number: 398162cba3ac60de
For additional device information use the --force-offline option.
`
python ./rubber-ducky.py  INFO    | moondancer     | Using the Moondancer backend. INFO    | moondancer     | Connected FULL speed device 'facedancer.devices.keyboard.USBKeyboardDevice' to target host. INFO    | rubber-ducky   | Beginning message typing demo... INFO    | moondancer     | Disconnecting from target host. Traceback (most recent call last):   File "/facedancer/examples/./rubber-ducky.py", line 25, in <module>     main(device, type_letters())   File "/lib/python3.10/site-packages/facedancer/devices/__init__.py", line 41, in default_main     device.emulate(*coroutines)   File "/lib/python3.10/site-packages/facedancer/device.py", line 228, in emulate     self.run_with(*coroutines)   File "/lib/python3.10/site-packages/facedancer/device.py", line 213, in run_with     asyncio.run(inner())   File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run     return loop.run_until_complete(main)   File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete     return future.result()   File "/lib/python3.10/site-packages/facedancer/device.py", line 211, in inner     await asyncio.gather(self.run(), *coroutines)   File "/lib/python3.10/site-packages/facedancer/device.py", line 200, in run     self.backend.service_irqs()   File "/lib/python3.10/site-packages/facedancer/backends/moondancer.py", line 427, in service_irqs     events: List[Tuple[int, int]] = self.api.get_interrupt_events()   File "/lib/python3.10/site-packages/pygreat/comms.py", line 1126, in method     return self.execute_command(verb_number, in_format, out_format, name=name, class_name=class_name,   File "/lib/python3.10/site-packages/pygreat/comms.py", line 1281, in execute_command     return self.comms_backend.execute_command(self.CLASS_NUMBER, verb, in_format,   File "/lib/python3.10/site-packages/pygreat/comms.py", line 788, in execute_command     raw_result = self.execute_raw_command(class_number, verb, payload, timeout,   File "/lib/python3.10/site-packages/pygreat/comms_backends/usb1.py", line 403, in execute_raw_command     self.device_handle.controlWrite(usb1.TYPE_VENDOR | usb1.RECIPIENT_DEVICE,   File "/lib/python3.10/site-packages/usb1/__init__.py", line 1330, in controlWrite     return self._controlTransfer(request_type, request, value, index, data,   File "/lib/python3.10/site-packages/usb1/__init__.py", line 1307, in _controlTransfer     mayRaiseUSBError(result)   File "/lib/python3.10/site-packages/usb1/__init__.py", line 127, in mayRaiseUSBError     __raiseUSBError(value)   File "/lib/python3.10/site-packages/usb1/__init__.py", line 119, in raiseUSBError     raise __STATUS_TO_EXCEPTION_DICT.get(value, __USBError)(value) usb1.USBErrorTimeout: LIBUSB_ERROR_TIMEOUT [-7]

@antoinevg , There was only on chance after reboot:

cynthion run facedancer
Updating SoC firmware flash with 55900 bytes...
Operation complete!
Uploading target bitstream to FPGA with 441927 bytes...
Operation complete!
sudo python rubber-ducky.py
INFO    | moondancer     | Using the Moondancer backend.
INFO    | moondancer     | Connected FULL speed device 'facedancer.devices.keyboard.USBKeyboardDevice' to target host.
INFO    | device         | Host issued a bus reset; resetting our connection.
INFO    | device         | Host issued a bus reset; resetting our connection.
INFO    | device         | Host issued a bus reset; resetting our connection.
INFO    | rubber-ducky   | Beginning message typing demo...
INFO    | device         | Host issued a bus reset; resetting our connection.
INFO    | device         | Host issued a bus reset; resetting our connection.
INFO    | device         | Host issued a bus reset; resetting our connection.
INFO    | device         | Host issued a bus reset; resetting our connection.
INFO    | device         | Host issued a bus reset; resetting our connection.
INFO    | device         | Host issued a bus reset; resetting our connection.
INFO    | moondancer     | Target host configuration complete.
INFO    | rubber-ducky   | Typing complete. Idly handling USB requests.

After that no more working without reboot:

sudo python rubber-ducky.py
INFO    | moondancer     | Using the Moondancer backend.
INFO    | moondancer     | Connected FULL speed device 'facedancer.devices.keyboard.USBKeyboardDevice' to target host.
INFO    | rubber-ducky   | Beginning message typing demo...
INFO    | moondancer     | Disconnecting from target host.
Traceback (most recent call last):
File "/facedancer/examples/rubber-ducky.py", line 25, in
main(device, type_letters())
File "/usr/local/lib/python3.10/dist-packages/facedancer/devices/init.py", line 41, in default_main
device.emulate(*coroutines)
File "/usr/local/lib/python3.10/dist-packages/facedancer/device.py", line 228, in emulate
self.run_with(*coroutines)
File "/usr/local/lib/python3.10/dist-packages/facedancer/device.py", line 213, in run_with
asyncio.run(inner())
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/usr/local/lib/python3.10/dist-packages/facedancer/device.py", line 211, in inner
await asyncio.gather(self.run(), *coroutines)
File "/usr/local/lib/python3.10/dist-packages/facedancer/device.py", line 200, in run
self.backend.service_irqs()
File "/usr/local/lib/python3.10/dist-packages/facedancer/backends/moondancer.py", line 427, in service_irqs
events: List[Tuple[int, int]] = self.api.get_interrupt_events()
File "/usr/local/lib/python3.10/dist-packages/pygreat/comms.py", line 1126, in method
return self.execute_command(verb_number, in_format, out_format, name=name, class_name=class_name,
File "/usr/local/lib/python3.10/dist-packages/pygreat/comms.py", line 1281, in execute_command
return self.comms_backend.execute_command(self.CLASS_NUMBER, verb, in_format,
File "/usr/local/lib/python3.10/dist-packages/pygreat/comms.py", line 788, in execute_command
raw_result = self.execute_raw_command(class_number, verb, payload, timeout,
File "/usr/local/lib/python3.10/dist-packages/pygreat/comms_backends/usb1.py", line 403, in execute_raw_command
self.device_handle.controlWrite(usb1.TYPE_VENDOR | usb1.RECIPIENT_DEVICE,
File "/usr/local/lib/python3.10/dist-packages/usb1/init.py", line 1330, in controlWrite
return self._controlTransfer(request_type, request, value, index, data,
File "/usr/local/lib/python3.10/dist-packages/usb1/init.py", line 1307, in _controlTransfer
mayRaiseUSBError(result)
File "/usr/local/lib/python3.10/dist-packages/usb1/init.py", line 127, in mayRaiseUSBError
__raiseUSBError(value)
File "/usr/local/lib/python3.10/dist-packages/usb1/init.py", line 119, in raiseUSBError
raise __STATUS_TO_EXCEPTION_DICT.get(value, __USBError)(value)
usb1.USBErrorTimeout: LIBUSB_ERROR_TIMEOUT [-7]


ARROW-11503: [Rust][DataFusion] implement string splitting

Codecov Report

Merging #9437 (6a072d3) into master (a321cde) will decrease coverage by 0.00%.
The diff coverage is 75.51%.

@@            Coverage Diff             @@
##           master    #9437      +/-   ##
==========================================
- Coverage   82.14%   82.14%   -0.01%
==========================================
  Files         232      232
  Lines       54150    54199      +49
==========================================
+ Hits        44484    44521      +37
- Misses       9666     9678      +12

Impacted Files
Coverage Δ

rust/datafusion/src/logical_plan/expr.rs
80.04% <0.00%> (-0.19%)
:arrow_down:

...datafusion/src/physical_plan/string_expressions.rs
70.21% <54.16%> (-16.75%)
:arrow_down:

rust/datafusion/src/physical_plan/functions.rs
72.75% <100.00%> (+0.46%)
:arrow_up:

rust/datafusion/tests/sql.rs
99.85% <100.00%> (+<0.01%)
:arrow_up:

Continue to review full report at Codecov.

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

Hi @jwdeitch
This overlaps with https://github.com/apache/arrow/pull/9243 so maybe we can integrate the tests into a single PR?

@seddonm1 ah good call, will do!


No matching export in "node-modules-polyfills:crypto" for import "X509Certificate"

I use a library with Cloudflare Workers:
"devDependencies": {
  "@cloudflare/workers-types": "^4.20230904.0",
  "typescript": "^5.2.2",
  "wrangler": "^3.7.0"
}

when I run the application through the wrangler, it returns an error:
✘ [ERROR] No matching export in "node-modules-polyfills:crypto" for import "X509Certificate"
 ../../node_modules/app-store-server-api/dist/esm/Decoding.js:37:9:
   37 │ import { X509Certificate } from "crypto";
      ╵          ~~~~~~~~~~~~~~~
✘ [ERROR] Failed to build

When I make the following changes, everything works as it should:
// src/Decoding.ts | 4 ++--

-import { X509Certificate } from "crypto"
+import * as crypto from "crypto"

-  const x509certs = certificates.map(c => new X509Certificate(c))
+  const x509certs = certificates.map(c => new crypto.X509Certificate(c))

The Cloudflare Workers doesn't support the Node Crypto API (which is what this library uses). Instead it relies on the Web Crypto API.
I'm surprised that you found your example to work since I can't find any reference stating that Web Crypto contains the X509Certificate class (or any other way of working with X509 certificates for that matter).

That makes sense. It throws an error because crypto.X509Certificate is undefined. 😊
I don't have any plans of adding support for Web Crypto. I'd prefer not to add any dependencies that are unnecessary for the majority of users of this library (those running Node.js). If you can come up with a solution I'm happy to take a look.

hi, @agisboye ,First of all, thank you for providing such a great plugin. However, there are increasingly more JavaScript runtime environments available today, such as Deno, Bun, and Cloudflare Workers, they may not necessarily support all the APIs of Node.js. Therefore, I would still appreciate it if you could support these platforms if you have the time. Thank you.

Hi @saviourdog,
Thanks for using the library! I unfortunately don't have the time to add support for every new runtime that pops up. If you want to propose a solution for supporting other runtimes, I'd be happy to have a discussion around it.


Buffer overflow in floff with chars_format::fixed

There is a check for required buffer size here: https://github.com/boostorg/charconv/blob/develop/include/boost/charconv/detail/dragonbox/floff.hpp#L1556, but that's either not enough (since there's a comment to check again later for rounding), or incorrect.

Only occurs when precision is 0. Tested precisions -1 to 1000 work fine.


Add failing test for string interpolation formatting

This is at least easy to fix after-the-fact by running mix format on the output, which returns the interpolation to multi-line

I noticed this happens since 1.12, and it seems it is intentional: https://github.com/elixir-lang/elixir/issues/11194#issuecomment-902587478
Sourceror needs the new formatter to work, so I'm not sure there's a way to work around this issue for pre 1.12 versions other than calling the builtin formatter afterwards with mix format or Code.format_string! :/

ah thank you! yep, using elixir main to do the formatting on a 1.11 codebase.


Cases and deaths scaled by population size now with Altair

Thanks, @jbduarte!  We probably would want to have the ability to filter the visualization by clicking on the legend instead, for example, you can see this: https://covid19dashboards.com/compare-country-trajectories/
P.S. if you want to continue working on this, may I kindly suggest pulling the latest version of your notebook currently in master as some important changes (like moving things to appendix, changing the title, etc have also been made).
Thanks so much for your contributions!

Yes. I made those in my latest version. I will make a PR.
Thanks!
J

On Mar 20, 2020, at 3:33 PM, Hamel Husain<EMAIL_ADDRESS>wrote:
Thanks, @jbduarte https://github.com/jbduarte! We probably would want to have the ability to filter the visualization by clicking on the legend instead, for example, you can see this: https://covid19dashboards.com/compare-country-trajectories/ https://covid19dashboards.com/compare-country-trajectories/
P.S. if you want to continue working on this, may I kindly suggest pulling the latest version of your notebook currently in master as some important changes (like moving things to appendix, changing the title, etc have also been made).
Thanks so much for your contributions!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/github/covid19-dashboard/pull/65#issuecomment-601761790, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRNQMYJ6POL35YSP27KU73RIOEFJANCNFSM4LQKFGMQ.

Ok shall I close this PR?  Or will you open a new one?  🙇

You can close. I open a new one. Thanks!

On Mar 20, 2020, at 3:39 PM, Hamel Husain<EMAIL_ADDRESS>wrote:
Ok shall I close this PR? Or will you open a new one? 🙇
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/github/covid19-dashboard/pull/65#issuecomment-601764759, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRNQM6TQZW4DV2LSMZLGALRIOEZXANCNFSM4LQKFGMQ.


When i go to full screen some styles and Scroll not working

Hello.
I have problem using this code.
When i go to full screen some styles and Scroll not working.
Please help.

Hi @HaliAlduhoky, can you show me the code that doesn't work? Preferably on jsfiddle or codepen.

Take this issue away now, because i need to do something else using this full screen.
is there anyway to make a page full screen while visiting another pages?
This private.fullscreen it's nice just when using it in same page.


hide processes signed by microsoft

Description of the feature, modification, idea or suggestion
pls add to View -> hide processes signed by microsoft
Proposed implementation details (optional)
No response

View > Hide System Processes in latest nightly 👍

I just installed 3.0.6210, but View > "Hide system processes" doesn't hide most of my system processes. It does hide cmd.exe and maybe some others, but it leaves most system processes showing, such as csrss.exe, svchost.exe, SecurityHealthService.exe, SgrmBroker.exe, wininit.exe, etc.
I'm on Win10 22H2.

doesn't hide most of my system processes

The filter wasn't processing at startup. I've updated the nightly build with a fix.

The option is to hide system processes, not to blanket-trust processes. And then you have lsass.exe, SecurityHealthService.exe, services.exe, SgrmBroker.exe, csrss.exe, wininit.exe, smss.exe, etc. which are also still not hidden.

@enervated Works for me?

If you have disabled signature checking (Options > Check images for digital signatures) then it can't properly exclude system processes and instead tries to exclude based on file version information and the version filter only supports English.

Thanks, but I have always had "Check images for digital signatures" and "Check services for digital signatures" enabled.

the version filter only supports English

^ this would be the issue? @enervated

I only have "English (United States)" installed in Windows 10 and have never used any other language.

v3.0.6550 (win11)
still tons of svchost.exe

still tons of svchost.exe
3.0.7310
win11 22H2

I there option to manually specify filter? I don't want to hide system process, but, for example only "svhost.exe"

hurr durr unsubscribe


remove beego submodules and add it as a gitignore item

Signed-off-by: Starnop<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #917 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #917      +/-   ##
==========================================
- Coverage   46.58%   46.57%   -0.02%
==========================================
  Files         111      111
  Lines        6611     6611
==========================================
- Hits         3080     3079       -1
  Misses       3287     3287
- Partials      244      245       +1

Impacted Files
Coverage Δ

supernode/daemon/mgr/scheduler/manager.go
21.91% <0%> (-0.69%)
:arrow_down:

Continue to review full report at Codecov.

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

IMOP, just delete the beego, it's unnecessary to add it into .gitignore.

I agree with you. I do that because we have do the same thing before. FYI https://github.com/dragonflyoss/Dragonfly/pulls?q=is%3Apr+beego+is%3Aclosed
And we should pay attention to the similar updates later.

Has been updated. PTAL.THX


Gives error Exception thrown and not caught

Hello There,
I am using Blueimp script version 3.9.1. It works fine in firefox as well as Chrome, but it gives me an error "Exception thrown and not caught" in IE8.
I need to use this version because in the new version there are lot of functionality which i have no need. The whole is error is as follows:
Line: 95
Character: 25
Code: 0
Error Message: Exception thrown and not caught
URL: http://<IP_ADDRESS>/blueimp/jquery.fileupload-ui.js
Can you please help me in this?

Can someone help me in this issue....


⚠ Thumbnails API Endpoint has degraded performance

In 113cd66, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 3344 ms

Resolved: Thumbnails API Endpoint performance has improved in 019d06f.


one global setting option

Put in an extra check for global in the install logic and updated the readme with an example.
I gave this a test on my own dotfiles, and all went well.
#3

Thanks!


Settings-JSON: Support rendering line breaks with markdownDescription

When using description in package.json it is possible to get a rendered text with new lines:
"description": "foo\nbar"

At the moment something similar is not possible when using markdownDescription.

In markdown you need to add <br to force a new line. You need to do the same in markdownDescription

This doesn't work:
"markdownDescription": "foo<br>bar",

Can you please give me a fully working example?

Look like we filter all html tags.
@rzhao271 Is there a way to get paragraphs?

The markdownDescription seems to be rendered at https://github.com/microsoft/vscode/blob/2818ed07ba64c0c1287b276a5a1e62300d683936/src/vs/workbench/contrib/preferences/browser/settingsTree.ts#L973. @mjbvz is there an option that can be passed in to get line breaks rendered?

What a journey.
I realized that I can enable GitHub-flavoured markdown (GFM) line breaks in markedOptions, and that allows linebreaks with \n.
However, while reading more about what exactly GFM was, I found an even easier way to get paragraphs, and that is to use \n\n.

Closing issue as resolved.


Support in-loop evals from oe-eval-internal request dump

This introduces a new downstream task class which reads directly a request dump from running an oe-eval evaluations. This allows any task configuration (for now only "ranked classification" tasks) in oe-eval to be replicated as an in-loop eval. See some tentative instructions for how to set up tasks here.
The basic idea is to grab the request file from running oe-eval the normal way (alternatively, can run without a model to just save requests) and save it under olmo_data/oe_eval_tasks/<task_name>/requests.jsonl. Also put a pointer to it in label_to_task_map in olmo/eval/downstream.py and then reference in training .yaml file.
Possibly future features could be:

Optionally skip reference in label_to_task_map, and specify path and metric directly in training .yaml file
Allow path in S3 as well as in olmo_data

This would allow adding new tasks without changing any OLMo code, just saving requests in S3 and update the .yaml files.
An example task added in this PR is added to training .yaml files using:
  - label: copycolors_10way
    type: downstream

This is a task from @sarahwie with one hundred 10-way MC questions of the type Question: A frog is green. What color is a frog?\n A. green\n B. black, to test basic MC capabilities.
There is also a version with 1000 questions called copycolors_xl_10way which cycles the answer choices (A->B, B->C, ...). This should have somewhat less noice than the 100 question one.
On the copycolors_xl_10way task, OLMo-7B-0424 scores 96% while the 350B/400B/450B/500B/600B/700B/1T checkpoints score 10/10/55/22/28/45/78 respectively, showing the (somewhat bumpy) arrival of capability.
I also added a arc_challenge_rc_0shot task to match the current arc_challenge task to verify they give identical numbers (wandb link):

Can we replace all existing in-loop evals with this?

Yes in principle, especially if we're not insisting on exact parity (the defaults in oe-eval in prompt formatting, like "Q:" vs "Question:", might be slightly different). That might be a good point to decide exactly what suite of tasks we want by default in-loop (including few-shot and MC versions of tasks).

We don't insist on exact parity. Can you add configs and files for all the in-loop evals we have now, to the peteish configs? I'm thinking we run them side-by-side for a little bit, and then switch over completely.
Is there an obvious place where we could put the instructions for how to export an evaluation from oe-eval to here? We should be able to do this without Oyvind's help. Especially people outside of AI2.

Hi, we have now added these tasks to this same PR:

0-shot tasks similar to existing ones (arc_challenge, arc_easy, boolq, copa, hellaswag, openbookqa, piqa, sciq winogrande)
5-shot tasks from OLMES (the 9 non-MMLU ones), using validation sets. Both MC and RC versions
Bits-per-byte (bpb) versions of all these tasks as well
bpb versions of the original MMLU validation set RC tasks (regular and _var versions)

Some updates in the downstream.py file to capture the byte length of continuations (which can be different from character length).
Also added script scripts/list_evals_from_oe_eval.py which will list all the tasks currently in olmo_data/oe_eval_tasks (with example requests if needed) along with their entries for downstream.py and for training configs.
I'll add a separate message below with a list of all the entries that can now be added to training configs. This is too many for any reasonable run, so will have to decide what's wanted.
Screenshot from sample run:

Here's the full list of new tasks that could be added to training configs:
  - label: mmlu_stem_bpb
    type: downstream

  - label: mmlu_humanities_bpb
    type: downstream

  - label: mmlu_social_sciences_bpb
    type: downstream

  - label: mmlu_other_bpb
    type: downstream

  - label: mmlu_stem_var_bpb
    type: downstream

  - label: mmlu_humanities_var_bpb
    type: downstream

  - label: mmlu_social_sciences_var_bpb
    type: downstream

  - label: mmlu_other_var_bpb
    type: downstream

  - label: arc_challenge_mc_5shot
    type: downstream

  - label: arc_challenge_mc_5shot_bpb
    type: downstream

  - label: arc_challenge_rc_0shot
    type: downstream

  - label: arc_challenge_rc_0shot_bpb
    type: downstream

  - label: arc_challenge_rc_5shot
    type: downstream

  - label: arc_challenge_rc_5shot_bpb
    type: downstream

  - label: arc_easy_mc_5shot
    type: downstream

  - label: arc_easy_mc_5shot_bpb
    type: downstream

  - label: arc_easy_rc_0shot
    type: downstream

  - label: arc_easy_rc_0shot_bpb
    type: downstream

  - label: arc_easy_rc_5shot
    type: downstream

  - label: arc_easy_rc_5shot_bpb
    type: downstream

  - label: boolq_mc_5shot
    type: downstream

  - label: boolq_mc_5shot_bpb
    type: downstream

  - label: boolq_rc_0shot
    type: downstream

  - label: boolq_rc_0shot_bpb
    type: downstream

  - label: boolq_rc_5shot
    type: downstream

  - label: boolq_rc_5shot_bpb
    type: downstream

  - label: copa_rc_0shot
    type: downstream

  - label: copa_rc_0shot_bpb
    type: downstream

  - label: copycolors_10way
    type: downstream

  - label: copycolors_10way_bpb
    type: downstream

  - label: copycolors_xl_10way
    type: downstream

  - label: copycolors_xl_10way_bpb
    type: downstream

  - label: csqa_mc_5shot
    type: downstream

  - label: csqa_mc_5shot_bpb
    type: downstream

  - label: csqa_rc_5shot
    type: downstream

  - label: csqa_rc_5shot_bpb
    type: downstream

  - label: hellaswag_mc_5shot
    type: downstream

  - label: hellaswag_mc_5shot_bpb
    type: downstream

  - label: hellaswag_rc_0shot
    type: downstream

  - label: hellaswag_rc_0shot_bpb
    type: downstream

  - label: hellaswag_rc_5shot
    type: downstream

  - label: hellaswag_rc_5shot_bpb
    type: downstream

  - label: openbookqa_mc_5shot
    type: downstream

  - label: openbookqa_mc_5shot_bpb
    type: downstream

  - label: openbookqa_rc_0shot
    type: downstream

  - label: openbookqa_rc_0shot_bpb
    type: downstream

  - label: openbookqa_rc_5shot
    type: downstream

  - label: openbookqa_rc_5shot_bpb
    type: downstream

  - label: piqa_mc_5shot
    type: downstream

  - label: piqa_mc_5shot_bpb
    type: downstream

  - label: piqa_rc_0shot
    type: downstream

  - label: piqa_rc_0shot_bpb
    type: downstream

  - label: piqa_rc_5shot
    type: downstream

  - label: piqa_rc_5shot_bpb
    type: downstream

  - label: sciq_rc_0shot
    type: downstream

  - label: sciq_rc_0shot_bpb
    type: downstream

  - label: socialiqa_mc_5shot
    type: downstream

  - label: socialiqa_mc_5shot_bpb
    type: downstream

  - label: socialiqa_rc_5shot
    type: downstream

  - label: socialiqa_rc_5shot_bpb
    type: downstream

  - label: winogrande_mc_5shot
    type: downstream

  - label: winogrande_mc_5shot_bpb
    type: downstream

  - label: winogrande_rc_0shot
    type: downstream

  - label: winogrande_rc_0shot_bpb
    type: downstream

  - label: winogrande_rc_5shot
    type: downstream

  - label: winogrande_rc_5shot_bpb
    type: downstream

No reason to put in the 0 shot ones other than for comparability with past runs?

I mean, it's good to have them. But I won't stick them in every config.

The 0-shot ones will be faster to run than the 5-shot ones (roughly 5x faster). If the 5-shot ones have better signal, they would be worth including. Possibly that's decision to be made per task (and model size), especially if there resources used on the evaluation step becomes an issue.

I got the following error when running sciq_rc_0shot_bpb
2024-08-23T17:55:29.295911089Z 2024-08-23 10:55:29.295	jupiter-cs-aus-110.reviz.ai2.in:0	olmo.train:1005	INFO	Running evaluation for 'sciq_rc_0shot_bpb'...
2024-08-23T17:55:29.368329339Z 2024-08-23 10:55:29.367	jupiter-cs-aus-110.reviz.ai2.in:0	olmo.train:1029	INFO	[eval_step=1/-1]
2024-08-23T17:55:29.394690515Z 2024-08-23 10:55:29.394	jupiter-cs-aus-110.reviz.ai2.in:0	olmo.train:1029	INFO	[eval_step=2/-1]
2024-08-23T17:55:31.758315366Z 2024-08-23 10:55:31.756	jupiter-cs-aus-110.reviz.ai2.in:2	olmo.util:165	CRITICAL	Uncaught ZeroDivisionError: division by zero
2024-08-23T17:55:31.758335471Z Traceback (most recent call last):
2024-08-23T17:55:31.758339730Z   File "/gantry-runtime/scripts/ladder.py", line 511, in <module>
2024-08-23T17:55:31.758341663Z     args.func(args)
2024-08-23T17:55:31.758343421Z   File "/gantry-runtime/scripts/ladder.py", line 441, in train_cmd
2024-08-23T17:55:31.758344823Z     main(cfg)
2024-08-23T17:55:31.758346276Z   File "/gantry-runtime/scripts/train.py", line 321, in main
2024-08-23T17:55:31.758347640Z     trainer.fit()
2024-08-23T17:55:31.758349128Z   File "/gantry-runtime/olmo/train.py", line 1298, in fit
2024-08-23T17:55:31.758350471Z     eval_metrics = self.eval()
2024-08-23T17:55:31.758351948Z                    ^^^^^^^^^^^
2024-08-23T17:55:31.758353205Z   File "/gantry-runtime/olmo/train.py", line 1032, in eval
2024-08-23T17:55:31.758354750Z     metrics = evaluator.compute_metrics()
2024-08-23T17:55:31.758356093Z               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-08-23T17:55:31.758357589Z   File "/gantry-runtime/olmo/eval/evaluator.py", line 32, in compute_metrics
2024-08-23T17:55:31.758358973Z     value = self.eval_metric.compute().item()
2024-08-23T17:55:31.758360445Z             ^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-08-23T17:55:31.758361726Z   File "/opt/conda/lib/python3.11/site-packages/torchmetrics/metric.py", line 632, in wrapped_func
2024-08-23T17:55:31.758363276Z     value = _squeeze_if_scalar(compute(*args, **kwargs))
2024-08-23T17:55:31.758364558Z                                ^^^^^^^^^^^^^^^^^^^^^^^^
2024-08-23T17:55:31.758365862Z   File "/gantry-runtime/olmo/eval/downstream.py", line 158, in compute
2024-08-23T17:55:31.758367199Z     score = sum(correct) / len(correct)
2024-08-23T17:55:31.758368407Z             ~~~~~~~~~~~~~^~~~~~~~~~~~~~
2024-08-23T17:55:31.758369648Z ZeroDivisionError: division by zero

I'll add the 0 shot versions of csqa and socialiqa, they were missing as they weren't in the OLMo-paper list of tasks, added later, but for completeness should have them as well.
As for the sciq bug, that's interesting, I'll investigate asap!

Thanks a lot!
Other tasks ending with _0shot_bpb ran successfully, only buggy one is sciq_rc_0shot_bpb

Fixed in https://github.com/allenai/OLMo/pull/712, it was lucky we ran across this, as it was a really bad bug affecting all tasks (by only scoring instances where the gold answer is the first one and sciq happens to be set up such that the gold answer is always the last one).


[Suggestion] Add option in Level Stats to exclude Finish time (out for now, but qualified)

There are a few times where a user may be eliminated from a round, but still finishes with a qualification and/or a win
This applies to any Duos and Squads show for the following round types:

Extreme Rounds (affixed with X eg Big Fans X)
Survival Rounds (eg Sime Climb)
Finals where it's last one standing (eg Jump Showdown)

Example attached below:

My suggestion is to offer a check box to exclude rounds where the tier is not set to Eliminated.

If you still have the log file, please upload it. If not, please upload the log file if you encounter this bug in the future.
Log path:
Steam: %PROGRAMFILES(X86)%\Steam\steamapps\common\Fall Guys
Epic: %LOCALAPPDATA%Low\Mediatonic\FallGuys_client
Player.log(last session) Player-prev.log(previous session)

Player - rhino.txt
Show is Duos
Round is robotrampage
I was eliminated at 37.05 seconds, squad mate survived till the end.


device_pixel JSON command over websocket

I'm trying to control my fadecandy board from a Node-RED interface. I'm limited to JSON data for simplicity as I can't easily create a binary packet for OPC control, so I've been following the websocket documentation.
I'm able to call "list_connected_devices" which responds with:
{     "type":"server_info",   "version":"fcserver-1.04-46-gfaa03b5",   "config":{       "listen":[         null,       7890     ],     "verbose":true,     "color":{         "gamma":2.5,       "whitepoint":[           1,         0.8,         1       ]     },     "devices":[         {           "type":"fadecandy",         "serial":"NBZVRXNRHFETSFEH",         "map":[             [               0,             0,             0,             50           ],           [               0,             0,             64,             0           ],           [               0,             0,             128,             0           ],           [               0,             0,             192,             0           ],           [               0,             0,             256,             0           ],           [               0,             0,             320,             0           ],           [               0,             0,             384,             0           ],           [               0,             0,             448,             0           ]         ]       }     ]   } }
however when I send the following packet nothing happens:
{"type":"device_pixels","device":{"type":"fadecandy","serial":"NBZVRXNRHFETSFEH"},"pixels":[255,0,0,0,255,0,0,0,255]}
I'm able to send pixel data using the python opc plugin so I know the strips are configured correctly and are functional.
Has anyone else experimented with the device_pixel JSON commands and had better luck?

Actually this appears to be working now and I swear i changed nothing!!


test: add test case for privileged container

Signed-off-by: Michael Wan<EMAIL_ADDRESS>Ⅰ. Describe what this PR did
Actually, pouchd already supports creating privileged containers. But, we have not checked the feature before.
So, in this PR, i add some test cases to check if the privileged containers work as expected.
Ⅱ. Does this pull request fix one issue?
none
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
It is what this PR doing that add more test cases.
Ⅳ. Describe how to verify it
none
Ⅴ. Special notes for reviews
none

Codecov Report

Merging #2223 into master will decrease coverage by 0.08%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2223      +/-   ##
==========================================
- Coverage   64.83%   64.75%   -0.09%
==========================================
  Files         208      208
  Lines       16728    16728
==========================================
- Hits        10846    10832      -14
- Misses       4526     4541      +15
+ Partials     1356     1355       -1

Flag
Coverage Δ

#criv1alpha1test
32.77% <100%> (-0.08%)
:arrow_down:

#criv1alpha2test
33.63% <100%> (+0.14%)
:arrow_up:

#integrationtest
39.6% <100%> (-0.36%)
:arrow_down:

#unittest
23.83% <0%> (ø)
:arrow_up:

Impacted Files
Coverage Δ

daemon/mgr/spec_linux.go
74.47% <100%> (ø)
:arrow_up:

daemon/containerio/hijack_conn.go
77.14% <0%> (-11.43%)
:arrow_down:

cri/stream/portforward/httpstream.go
69.16% <0%> (-6.67%)
:arrow_down:

daemon/containerio/options.go
84.12% <0%> (-4.77%)
:arrow_down:

pkg/meta/store.go
60.15% <0%> (-3.91%)
:arrow_down:

daemon/mgr/container_utils.go
80.72% <0%> (-3.62%)
:arrow_down:

cri/stream/runtime.go
68.23% <0%> (-2.36%)
:arrow_down:

daemon/containerio/container_io.go
74.58% <0%> (-1.11%)
:arrow_down:

cri/v1alpha2/cri.go
62.46% <0%> (+0.31%)
:arrow_up:

daemon/mgr/container.go
56.55% <0%> (+0.4%)
:arrow_up:

... and 3 more