Prisma not reading system environment variables

Bug description
I'm building a dockerfile for a nextjs server which uses prisma internally.
I've set the environment variable DATABASE_URL to the url of my postgres database.
I can confirm that the environment variable is set correctly inside the container.
When I start up the application, I'm told that DATABASE_URL is not set.
PrismaClientInitializationError:
Invalid `prisma.$queryRaw()` invocation:

error: Environment variable not found: DATABASE_URL.
  -->  schema.prisma:12
   |
11 |   provider          = "postgresql"
12 |   url               = env("DATABASE_URL")

Inspecting process.env.DATABASE_URL in one of my server endpoints shows the correct value.
I'm not using any .env files.  This server will be deployed in k8s, and the database url won't be known until runtime.
Is there a configuration step I'm missing, or does prisma really not read the system environment variables?
How to reproduce

Expected behavior
No response
Prisma information

// Add your schema.prisma

// Add your code using Prisma Client

Environment & setup

OS:
Database:
Node.js version:

Prisma Version

@agscala Did you see the message from @Druue? Without additional information to be able to reproduce, we would later close this issue as part of our issue process.

Hey @agscala, without your input we cannot move this issue forward, so I am closing it. Please provide us with the missing information so we understand how to treat this, and we will happily re-open it. Thanks.

In my nextjs, I want to use sqlite as my database, here is my docker file:
# Start from the official Node.js Alpine base image

FROM node:20.10.0-alpine as base
WORKDIR /app

# Install dependencies
FROM base AS deps
RUN apk add --no-cache libc6-compat
COPY package.json package-lock.json* ./
RUN npm ci

# Build the source code
FROM deps AS builder
COPY --from=deps /app/node_modules ./node_modules
COPY . .
ENV NEXT_TELEMETRY_DISABLED 1
ENV DATABASE_URL file:./production.db
RUN npx prisma migrate deploy
RUN npx prisma generate
RUN npm run build

# Production image, copy all the files and run next
FROM base AS runner
WORKDIR /app
ENV NODE_ENV production
ENV NEXT_TELEMETRY_DISABLED 1
RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs

COPY --from=builder /app/public ./public

# Set the correct permission for prerender cache
RUN mkdir .next
RUN chown nextjs:nodejs .next

COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static

USER nextjs

EXPOSE 3000

ENV PORT 3000

# server.js is created by next build from the standalone output
# https://nextjs.org/docs/pages/api-reference/next-config-js/output
CMD HOSTNAME="<IP_ADDRESS>" node server.js

and this is my schema.prisma file:
generator client {
  provider      = "prisma-client-js"
  output        = "./generated/client"
  binaryTargets = ["native", "linux-musl-openssl-3.0.x"]
}

datasource db {
  provider = "sqlite"
  url      = env("DATABASE_URL")
}

but when docker image is built without error, but I am getting this error when I am using the app:
2024-04-17 15:07:15 error: Environment variable not found: DATABASE_URL.
2024-04-17 15:07:15   -->  schema.prisma:9
2024-04-17 15:07:15    |
2024-04-17 15:07:15  8 |   provider = "sqlite"
2024-04-17 15:07:15  9 |   url      = env("DATABASE_URL")
2024-04-17 15:07:15    |

how can I resolve this issue?


Updated the CONTRIBUTORS.md

@melvincwng I actually made the commit months back, unfortunately I didn't request pr. I've corrected the file now. I apologize for any inconveniences caused.

Hey there,
Thanks for your PR & contribution :wave:!
Don't forget to join follow me, join our organization, & follow our organization to stay updated with the latest developments 💻
Thank you, and have a good day ahead 😊


[SPARK-26099][SQL] Verification of the corrupt column in from_csv/from_json

What changes were proposed in this pull request?
The corrupt column specified via JSON/CSV option columnNameOfCorruptRecord must have the string type and be nullable. This has been already checked in DataFrameReader.csv/json and in Json/CsvFileFormat but not in from_json/from_csv. The PR adds such checks inside functions as well.
How was this patch tested?
Added tests to Json/CsvExpressionSuite for checking type of the corrupt column. They don't check the nullable property because schema is forcibly casted to nullable.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

ok to test

add to whitelist

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/5111/
Test PASSed.

Test build #98965 has started for PR 23070 at commit bd2debc.

Test build #98963 has finished for PR 23070 at commit bd2debc.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/98963/
Test PASSed.

Test build #98965 has finished for PR 23070 at commit bd2debc.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/98965/
Test PASSed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/5207/
Test PASSed.

Test build #99094 has started for PR 23070 at commit bd2debc.

Merged to master.


Hmda page

[Short description explaining the high-level reason for the pull request]
Additions

Removals

Changes

Testing

Screenshots
Notes

Todos

Checklist

[ ] PR has an informative and human-readable title
[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the CFPB development guidelines
[ ] Passes all existing automated tests
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future todos are captured in comments
[ ] Visually tested in supported browsers and devices (see checklist below :point_down:)
[ ] Project documentation has been updated
[ ] Reviewers requested with the Reviewers tool :arrow_right:

Testing checklist
Browsers

[ ] Chrome on desktop
[ ] Firefox
[ ] Safari on macOS
[ ] Edge
[ ] Internet Explorer 9, 10, and 11
[ ] Safari on iOS
[ ] Chrome on Android

Accessibility

[ ] Keyboard friendly
[ ] Screen reader friendly

Other

[ ] Is useable without CSS
[ ] Is useable without JS
[ ] Flexible from small to large screens
[ ] No linting errors or warnings
[ ] JavaScript tests are passing

Our Python isort config currently requires all of our apps to be explicitly listed here. This new hmda app will be needed to added to the list.

Closing in favor of a shared branch. Will PR soon.


Camera's display as off since updating to latest version!

Installed V3.9.1 and cameras display as Off even though the switches are Enabled.
Log displays the following:
[4/22/2022, 2:21:51 PM] [Blink] Blink LightwaveRF Home - Blink LightwaveRF Home Armed (Target): 3
STREAMING DISABLED ACTIVE
No Thumbnails are displayed now either.
Any idea what is wrong? I had this working perfectly previously before the update. Do you think something has changed on the Blink end?
Thanks,
Regards

I've noticed this too, it seems the system needs to be "armed" to turn on the camera. I don't really know what changed in the background/

+1, when disarmed it no longer refreshes, when armed it pulls in cached snapshot for me. I have not been able to get up to date snapshots ever using the latest version of the plugin. @colinbendell any ideas what might help?


Please add Swift 5 support

Please add Swift 5 support to AlamofireImage.
Thanks!

Working on it, thanks @OkiRules! 🍻

We've just added Xcode 10.2 support in AFI 3.5.1 along with support for the Swift 5 toolset for SPM. While this version of AFI is still building with Swift 4.2, you can absolutely use it with a Swift 5 project. We'll be moving to Swift 5 only in AFI 4.
Cheers. 🍻

Thanks!


Bootstrap dependency?

Hi,
thanks a lot for your this nice utitilty.
One question: What is the reason behind including a dependency to bootstrap in your bower.json? I actually don't see the need for this except the samples. I am using bootstrap-sass and as all bower dependencies get auto injected during the build of my project, I end up with 2 bootstrap versions.
Any suggestions? Much appreciated ;)
Cheers!

Hi @toytonic it's a mistake on my part, it should be a `devDependency

hey, thanks for the quick answer and of course for fixing it!

Have same issue, thank you so much! And thanks for @dwmkerr again.

Resolved in current version


console errors from serviceworker

Running "fetch". Not sure if it's avoidable

Ignore, that's probably my add-blocker :facepalm:


Drawing Libraries for Net 6.0

I have a Blazor App Service published to Azure.
It's a C# Net 6.0 app, and I'd like to add simple graphics to it - a backgammon board of circles, rectangles, and triangles.
What would you suggest for me?
You recommend three drawing libraries; ImageSharp, SkiaSharp, Microsoft.Maui.Graphics
What are the relative pros and cons of these?
Under what circumstances would you prefer one over the other?
Thanks,
Hal Heinrich

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 3fa60e1c-9c9a-ce16-2e47-c41857fc8c48
Version Independent ID: c3b792d7-50ab-ff45-09bf-37a7550f0e09
Content: Breaking change: System.Drawing.Common only supported on Windows - .NET
Content Source: docs/core/compatibility/core-libraries/6.0/system-drawing-common-windows-only.md
Product: dotnet-fundamentals
GitHub Login: @gewarren
Microsoft Alias: gewarren

If you're simply building circles and squares, I wouldn't recommend a library for this, instead just use native HTML and CSS.


fix: timestamp formatting in cargo-embed

Changelog for probe-rs itself is unchanged, only cargo-embed changelog updated.

This has conflicts now :/


[DEV] chore: clone last 5 commits

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable


fix(pbft): fix atomic issue for saving next votes with PBFT round and step

Purpose

For reviewers

Related Github issues
https://github.com/Taraxa-project/taraxa-node/issues/1290
Changes

Tests

Deployment Considerations
Version Notes
{ major | minor | patch }

NOTE: Include the version notes in the squash commit message

prnet cleaned-up successfully


Stop replacing github.com/Microsoft/hcsshim to private fork

Describe the bug

github.com/Microsoft/hcsshim has been replaced with github.com/ruicao93/hcsshim v0.8.10-0.20210114035434-63fe00c1b9aa for a while: https://github.com/antrea-io/antrea/blob/110e9f6a577334afd7e824414948fa3b3771aba6/go.mod#L151-L153
Sooner or later, we will need to bump up github.com/Microsoft/hcsshim version for new features or bug fixes, or dependency conflicts. The comment for the replace says it can be removed once a patch is pushed upstream. We should take action to move forward.

Do we need to create a temporary fork in antrea-io so that we can pick up recent bug fixes until this patch is available upstream: https://github.com/microsoft/hcsshim/pull/922?

I will look through the code to ensure if we have substitions inside Antrea Agent to remove the pin with Rui's change on the hcsshim version.

@wenyingd if keeping the externalIDs somewhere is the only requirement, could we just keep it in memory instead, like a map? I think we don't need to consider restart case as the agent won't continue creating the OVS port anyway after restart?

I agree to cache it in the memory if we don't need to think of the restart/reconcile case. In current code, we have logic to create OVS port if only HNSEndpoints are created in function "reconcile". So do you mean we could remove that logic?https://github.com/antrea-io/antrea/blob/main/pkg/agent/cniserver/pod_configuration.go#L447

Does it generate error messages in OVS logs? I do not like to manage files, but I am fine with it if no other way.

We may want to merge the change post v1.4 to reduce risk?

I assume OVS will still log something when creating a port correctly but no WARN logs?


Use only some of the highlighter pack

Eleventy currently imports all the highlighters (2 liquid tags, markdown in v1.0.4) when using eleventyConfig.addPlugin.
This issue is to gather public support for the option to include only some of these highlighters in your .eleventy.js.
Thumbs up here if you want this, otherwise it won’t get implemented 😎

https://github.com/11ty/eleventy-plugin-syntaxhighlight#options


TreeTable: ExportConfiguration.pageOnly is ignored

TreeTableExcellaExporter exports all nodes when  export property pageOnly is true. It should be exported only the current page.

duplicate #15


Api shape

#27 - api part
Unify api shape to:
{ success: 1, payload: ... }
{ success: 0, error: ... }

@larshp will do the corresponding part in abap backend , then release from wip. So in fact ready for review.
One place which looks ugly to me is: try/catch in post("/check_file"). I think this should be in the error handler below. But how to identify that this was an abaplint exception ?  Is there an Error subclass in abaplint ?

error subclass, no there is not opening an issue

yeah, would be nice. Well, then that try/catch will live here for a while ...

ready for review in connection with https://github.com/abaplint/abaplint-abap-backend/pull/19


Provide great help guidance for --help flag

We should be able to 1) get commander to show the help text we need or 2) provide explicit help text for commander.on('help') event.

is this also against develop and implemented there?

Updated the usage text and help looks great now. Closing.


[Idea] !hsarena

I don't know exactly how the bot checks the Hearthstone statuis on streamer's computer but since Twitch has started an official 100-in-10 challenge, I think a module for betting the score is now relevant.
Of course, it needs some security like not being able to bet for a 69-420 score or 1.5-(-89) score. One problem would if a streamer has stopped a run at 4-2 for example and stops playing arena for a week (set a timeout then ?).
Yeah I know. I sumbit ideas, yet I only made 3 small commits for pajbot EleGiggle

There is already a Predict module for arena runs.
This wouldn't work very well with the hsbet system,
since there are to many games and
the streamer resets the arena run to often when he failed on a 1-3 run.

Well if there is the predict module, I guess we don't need this issue anymore.
Case closed.


GPy 1.10.0 is not compatible with numpy 1.26.x  on python 3.10.0

Error
C:\Users\rameezra>pip install GPy==1.10.0
Collecting GPy==1.10.0
Using cached GPy-1.10.0.tar.gz (959 kB)
Collecting numpy>=1.7
Using cached numpy-1.26.2-cp310-cp310-win_amd64.whl (15.8 MB)
Requirement already satisfied: six in c:\users\rameezra\appdata\local\programs\python\python310\lib\site-packages (from GPy==1.10.0) (1.16.0)
Requirement already satisfied: paramz>=0.9.0 in c:\users\rameezra\appdata\local\programs\python\python310\lib\site-packages (from GPy==1.10.0) (0.9.5)
Requirement already satisfied: cython>=0.29 in c:\users\rameezra\appdata\local\programs\python\python310\lib\site-packages (from GPy==1.10.0) (3.0.6)
Requirement already satisfied: scipy>=1.3.0 in c:\users\rameezra\appdata\local\programs\python\python310\lib\site-packages (from GPy==1.10.0) (1.11.4)
Requirement already satisfied: decorator>=4.0.10 in c:\users\rameezra\appdata\local\programs\python\python310\lib\site-packages (from paramz>=0.9.0->GPy==1.10.0) (5.1.1)
Using legacy 'setup.py install' for GPy, since package 'wheel' is not installed.
Installing collected packages: numpy, GPy
Running setup.py install for GPy ... done
Successfully installed GPy-1.10.0 numpy-1.26.2
WARNING: You are using pip version 21.2.3; however, version 23.3.1 is available.
You should consider upgrading via the 'C:\Users\rameezra\AppData\Local\Programs\Python\Python310\python.exe -m pip install --upgrade pip' command.
C:\Users\rameezra>python
Python 3.10.0 (tags/v3.10.0:b494f59, Oct  4 2021, 19:00:18) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import GPy
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\rameezra\AppData\Local\Programs\Python\Python310\lib\site-packages\GPy_init_.py", line 32, in
from numpy.testing import Tester
ImportError: cannot import name 'Tester' from 'numpy.testing' (C:\Users\rameezra\AppData\Local\Programs\Python\Python310\lib\site-packages\numpy\testing_init_.py)
exit()

C:\Users\rameezra>pip list
Package    Version

Cython     3.0.6
decorator  5.1.1
GPy        1.10.0
graphviz   0.20.1
numpy      1.26.2
paramz     0.9.5
pip        21.2.3
pipdeptree 2.13.1
scipy      1.11.4
setuptools 57.4.0
six        1.16.0
WARNING: You are using pip version 21.2.3; however, version 23.3.1 is available.
You should consider upgrading via the 'C:\Users\rameezra\AppData\Local\Programs\Python\Python310\python.exe -m pip install --upgrade pip' command.
C:\Users\rameezra>pip uninstall numpy
Found existing installation: numpy 1.26.2
Uninstalling numpy-1.26.2:
Would remove:
c:\users\rameezra\appdata\local\programs\python\python310\lib\site-packages\numpy-1.26.2-cp310-cp310-win_amd64.whl
c:\users\rameezra\appdata\local\programs\python\python310\lib\site-packages\numpy-1.26.2.dist-info*
c:\users\rameezra\appdata\local\programs\python\python310\lib\site-packages\numpy.libs\libopenblas64__v0.3.23-293-gc2f4bdbb-gcc_10_3_0-2bde3a66a51006b2b53eb373ff767a3f.dll
c:\users\rameezra\appdata\local\programs\python\python310\lib\site-packages\numpy*
c:\users\rameezra\appdata\local\programs\python\python310\scripts\f2py.exe
Proceed (Y/n)? y
Successfully uninstalled numpy-1.26.2
C:\Users\rameezra>pip install numpy==1.26.1
Collecting numpy==1.26.1
Downloading numpy-1.26.1-cp310-cp310-win_amd64.whl (15.8 MB)
|████████████████████████████████| 15.8 MB 1.3 MB/s
Installing collected packages: numpy
Successfully installed numpy-1.26.1
WARNING: You are using pip version 21.2.3; however, version 23.3.1 is available.
You should consider upgrading via the 'C:\Users\rameezra\AppData\Local\Programs\Python\Python310\python.exe -m pip install --upgrade pip' command.
C:\Users\rameezra>python
Python 3.10.0 (tags/v3.10.0:b494f59, Oct  4 2021, 19:00:18) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import GPy
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\rameezra\AppData\Local\Programs\Python\Python310\lib\site-packages\GPy_init_.py", line 32, in
from numpy.testing import Tester
ImportError: cannot import name 'Tester' from 'numpy.testing' (C:\Users\rameezra\AppData\Local\Programs\Python\Python310\lib\site-packages\numpy\testing_init_.py)
exit()

C:\Users\rameezra>pip uninstall numpy
Found existing installation: numpy 1.26.1
Uninstalling numpy-1.26.1:
Would remove:
c:\users\rameezra\appdata\local\programs\python\python310\lib\site-packages\numpy-1.26.1-cp310-cp310-win_amd64.whl
c:\users\rameezra\appdata\local\programs\python\python310\lib\site-packages\numpy-1.26.1.dist-info*
c:\users\rameezra\appdata\local\programs\python\python310\lib\site-packages\numpy.libs\libopenblas64__v0.3.23-293-gc2f4bdbb-gcc_10_3_0-2bde3a66a51006b2b53eb373ff767a3f.dll
c:\users\rameezra\appdata\local\programs\python\python310\lib\site-packages\numpy*
c:\users\rameezra\appdata\local\programs\python\python310\scripts\f2py.exe
Proceed (Y/n)? y
Successfully uninstalled numpy-1.26.1
C:\Users\rameezra>pip install numpy==1.26.0
Collecting numpy==1.26.0
Downloading numpy-1.26.0-cp310-cp310-win_amd64.whl (15.8 MB)
|████████████████████████████████| 15.8 MB 2.2 MB/s
Installing collected packages: numpy
Successfully installed numpy-1.26.0
WARNING: You are using pip version 21.2.3; however, version 23.3.1 is available.
You should consider upgrading via the 'C:\Users\rameezra\AppData\Local\Programs\Python\Python310\python.exe -m pip install --upgrade pip' command.
C:\Users\rameezra>python
Python 3.10.0 (tags/v3.10.0:b494f59, Oct  4 2021, 19:00:18) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import GPy
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\rameezra\AppData\Local\Programs\Python\Python310\lib\site-packages\GPy_init_.py", line 32, in
from numpy.testing import Tester
ImportError: cannot import name 'Tester' from 'numpy.testing' (C:\Users\rameezra\AppData\Local\Programs\Python\Python310\lib\site-packages\numpy\testing_init_.py)
exit()

C:\Users\rameezra>pip uninstall numpy
Found existing installation: numpy 1.26.0
Uninstalling numpy-1.26.0:
Would remove:
c:\users\rameezra\appdata\local\programs\python\python310\lib\site-packages\numpy-1.26.0-cp310-cp310-win_amd64.whl
c:\users\rameezra\appdata\local\programs\python\python310\lib\site-packages\numpy-1.26.0.dist-info*
c:\users\rameezra\appdata\local\programs\python\python310\lib\site-packages\numpy.libs\libopenblas64__v0.3.23-293-gc2f4bdbb-gcc_10_3_0-65e29aac85b9409a6008e2dc84b1cc09.dll
c:\users\rameezra\appdata\local\programs\python\python310\lib\site-packages\numpy*
c:\users\rameezra\appdata\local\programs\python\python310\scripts\f2py.exe
Proceed (Y/n)? y
Successfully uninstalled numpy-1.26.0
C:\Users\rameezra>pip install numpy==1.25.2
Collecting numpy==1.25.2
Downloading numpy-1.25.2-cp310-cp310-win_amd64.whl (15.6 MB)
|████████████████████████████████| 15.6 MB 1.7 MB/s
Installing collected packages: numpy
Successfully installed numpy-1.25.2
WARNING: You are using pip version 21.2.3; however, version 23.3.1 is available.
You should consider upgrading via the 'C:\Users\rameezra\AppData\Local\Programs\Python\Python310\python.exe -m pip install --upgrade pip' command.
C:\Users\rameezra>python
Python 3.10.0 (tags/v3.10.0:b494f59, Oct  4 2021, 19:00:18) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import GPy
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\rameezra\AppData\Local\Programs\Python\Python310\lib\site-packages\GPy_init_.py", line 32, in
from numpy.testing import Tester
ImportError: cannot import name 'Tester' from 'numpy.testing' (C:\Users\rameezra\AppData\Local\Programs\Python\Python310\lib\site-packages\numpy\testing_init_.py)
exit()

C:\Users\rameezra>pipdeptree
GPy==1.10.0
├── Cython [required: >=0.29, installed: 3.0.6]
├── numpy [required: >=1.7, installed: 1.25.2]
├── paramz [required: >=0.9.0, installed: 0.9.5]
│   ├── decorator [required: >=4.0.10, installed: 5.1.1]
│   ├── numpy [required: >=1.7, installed: 1.25.2]
│   ├── scipy [required: Any, installed: 1.11.4]
│   │   └── numpy [required: >=1.21.6,<1.28.0, installed: 1.25.2]
│   └── six [required: Any, installed: 1.16.0]
├── scipy [required: >=1.3.0, installed: 1.11.4]
│   └── numpy [required: >=1.21.6,<1.28.0, installed: 1.25.2]
└── six [required: Any, installed: 1.16.0]
graphviz==0.20.1
pip==21.2.3
pipdeptree==2.13.1
setuptools==57.4.0

working with numpy 1.23.0
C:\Users\rameezra>pip uninstall numpy
Found existing installation: numpy 1.25.2
Uninstalling numpy-1.25.2:
Would remove:
c:\users\rameezra\appdata\local\programs\python\python310\lib\site-packages\numpy-1.25.2.dist-info*
c:\users\rameezra\appdata\local\programs\python\python310\lib\site-packages\numpy*
c:\users\rameezra\appdata\local\programs\python\python310\scripts\f2py.exe
Proceed (Y/n)? y
Successfully uninstalled numpy-1.25.2
C:\Users\rameezra>pip install numpy==1.23.0
Collecting numpy==1.23.0
Downloading numpy-1.23.0-cp310-cp310-win_amd64.whl (14.6 MB)
|████████████████████████████████| 14.6 MB 2.2 MB/s
Installing collected packages: numpy
Successfully installed numpy-1.23.0
WARNING: You are using pip version 21.2.3; however, version 23.3.1 is available.
You should consider upgrading via the 'C:\Users\rameezra\AppData\Local\Programs\Python\Python310\python.exe -m pip install --upgrade pip' command.
C:\Users\rameezra>python
Python 3.10.0 (tags/v3.10.0:b494f59, Oct  4 2021, 19:00:18) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import GPy

This is adressed in develop but there is no release covering it yet. There will be a new release soon, incl. python3.10 support etc.
Potential workaround for now: Use GPy as a git-dependency on branch develop.
I will close the issue as it is already adressed. Feel free to open if the issue persists or you can difficulties with applying the proposed workaround.


Improve discovery of graph schema using database statistics. Update documentation accordingly

Thank you for contributing to LangChain!

[ ] Optimization schema discovery in Neptune RDF Graph: "community: improve discovery of graph schema using database statistics. Update documentation accordingly"

Where "package" is whichever of langchain, community, core, experimental, etc. is being modified. Use "docs: ..."  for template changes, "infra: ..." for CI changes.
Example: "community: add foobar LLM"

[ ] PR message: Delete this entire checklist and replace with

Description: a description of the change
Issue: the issue # it fixes, if applicable
Dependencies: any dependencies required for this change
Twitter handle: if your PR gets announced, and you'd like a mention, we'll gladly shout you out!

[ ] Add tests and docs: If you're adding a new integration, please include

a test for the integration, preferably unit tests that do not rely on network access,
an example notebook showing its use. It lives in docs/docs/integrations directory.

[ ] Lint and test: Run make format, make lint and make test from the root of the package(s) you've modified. See contribution guidelines for more: https://python.langchain.com/docs/contributing/

Additional guidelines:

Make sure optional dependencies are imported within a function.
Please do not add dependencies to pyproject.toml files (even optional ones) unless they are required for unit tests.
Most PRs should not touch more than one package.
Changes should be backwards compatible.
If you are adding something to community, do not re-import it in langchain.

If no one reviews your PR within a few days, please @-mention one of baskaryan, efriis, eyurtsev, hwchase17.

@3coins

Ready for review.
I am unable to resolve lint errors in the docs notebook: docs/docs/use_cases/graph/integrations/neptune_sparql_qa.ipynb.

@mhavey
Fixed lint errors and rebased your changes in PR 19546. Code looks good, can you make sure to test the latest version.

@3coins , tests successful on latest version, thanks

@mhavey
Can you close this PR in favor of 19546 which was merged, so there is no confusion or any more commits to this. Thanks.


Add logical operator

Logical operators (&&, ||) should be added.

Added && and || in (4bb6c3dffc1d4e0226a736fd5249677de122c87f).
! (logical not) coming with unary operators (#4).


Revert UI and layout, leaderboard in-game to OW1

If this is possible and would be great!

It should be possible to make custom scoreboard, but I'm not sure if workshop let you disable the default scoreboard and lets you detect the tab key press.

It should be possible to make custom scoreboard, but I'm not sure if workshop let you disable the default scoreboard and lets you detect the tab key press.
Low priority enhancement for now.

That is great, but about UI at ability and ultimate, stuff at OW1 should be everything back too, that is also possible?

That's impossible to do, overwatch doesn't let us edit the UI


Do not output collection files

Hi,
in jekyll there is an option to ignore the output of collections. That means e.g. the collection can be used in template code, but the file is not written to the output directory.
See http://jekyllrb.com/docs/collections/:
collections:
    my_collection:
      output: false

Can this be achieved with metalsmith-collections?

@toovy did you figure this out? I need to do exactly that.

@1cgonza I could not solve it, sorry. I just live with the output.

I found a workaround for now using metalsmith-drafts. The drafts plugin needs to go after the collections plugin and it takes care of removing the files that have draft: true on the metadata.
var collections  = require('metalsmith-collections');
var drafts = require('metalsmith-drafts');
// ...
.use(collections({})
.use(drafts())
// ...

It is not a very elegant solution, but this will work for me. I can get all the files while building an index page, and then they are ignored in the output.

I achieved this by using metalsmith-ignore.
.use(collections({
    posts: {
        pattern: 'posts/*',
    },
    projects: {
        pattern: 'projects/*',
    }
 }))
 .use(markdown())
 .use(ignore('projects/*'))

The  posts/* collection is generated as separate files while the projects/* collection is available to templates but does not get generated as files.

Closing this issue as there are enough ways to achieve this without adding additional functionality to the plugin


Regenerate SDKs

#57  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


Request: version tags

A non-functional request: could you tag the library with version markers (e.g., v1.0.0, v1.1.0, or some other tagname that makes sense to the project)?   This will make it easier for me to track and record which version of the C++ library my go port (https://github.com/chinenual/go-scala) corresponds to.

Oh sure. That's a good idea
How about I tag the version you ported to as 1.0 and I will tag the one I just pushed with a few fixes as 1.1?
I'll use the tag 'release_1.0.0" and so on as tags
Sound good?

Works for me!   My tags won't necessarily be in sync with yours - I've already tagged 1.0.0, 1.1.0 (with some go-specific API changes) and 1.1.1 (to incorporate some unit tests you added a few weeks ago).  Whatever convention you use is fine with me - I can at least refer to it by name to document what version I'm theoretically in sync with at any point.

OK I pushed two tags
release_1.0.0 is the tag where I link our README to your project (so I presume it is what you ported). This is also the version surge 1.9 uses (basically)
release_1.1.0 is the version I just pushed with some fixed error messages, a new API for unmapped keys, some expanded tests, and a move to CMake on our side. This is the version surge XT currently uses and I think will use in end state
So closing this!

Great!


Allow configurable opacity variable for placeholder-state (non-focused, empty) floating-label input label

Some folks implementing Bootstrap may wish for the placeholder state's label of a .form-floating input to have some lighter opacity than 100%.
The tradeoff is accessibility concerns (label too light may be hard to read) vs. user confusion (regarding whether the placeholder text is text already-filled-into the form field or if it is a label).
By allowing this to be configured via a SCSS variable, Bootstrap can empower developers to make this choice themselves while retaining its existing default value.
Let me know if there are any other steps needed to bring this up to par, or if I've missed anything in the contribution guidelines!
Edit: also, apologies for the verbose title. Couldn't think of anything more succinct offhand.

Hi gang! Is there something I can do to help make this visible for consideration? It's a fairly small change though I would understand if there's something more necessary or API change concerns etc!

Hi gang! Is there something I can do to help make this visible for consideration? It's a fairly small change though I would understand if there's something more necessary or API change concerns etc!

We're finalizing the v5.2.2. We will probably look at it for the v5.3.0. On my side, I haven't had the time yet.

Thanks for the followup! I'll be sure to keep an eye on this PR for when the time comes.

I see now that there's a merge conflict with _variables.scss -- both in terms of the literal lines of code, and, glancing at the changes, maybe a philosophical conflict? I'd love some guidance on the team's preferred way to proceed here. Let me know and I'll set aside some time to look into the conflicting change and see how we're interwoven (or not, hopefully!)

Given we're likely rewriting a bit of the floating forms to fix some background styling—in particular around disabled fields—introducing the ability to change the opacity will lead to problems where textarea content is somewhat visible through the label. Changing the color is a better move for folks IMO.


Do not set testonly to //tensorflow/python:construction_fails_go

This target is shipped into the pip_package so it is not testonly. Current
version of Bazel does not enforce testonly but the next version will.
Tested by building build_pip_package.
Tracking bug: bazelbuild/bazel#1967

The change looks benign to me, but the "test" prefix in filename looks fishy to me.
Vijay, can you comment on this OP, is it a test only OP?

Closing in favor of cl/136944330. Thank you Herr Damien.


How to use Metalhead'model as ImageClassifier model?

How to use Metalhead'model as ImageClassifier model?
such as:
using Flux, MLJFlux, Metalhead

ImageClassifier = @load ImageClassifier

model = ResNet50(pretrain=false, nclasses=20)

clf = ImageClassifier(builder=model,
		                  epochs=500,
                                  optimiser=ADAM(0.001),
		                  loss=Flux.crossentropy,
                                  batch_size=512,
                                  acceleration=CUDALibs(),)

mach = machine(clf, images, labels)

I found it
mutable struct MyConvBuilder
end

function MLJFlux.build(b::MyConvBuilder, rng, n_in, n_out, n_channels)
    model = ResNet18(pretrain=false, nclasses=n_out)
    return model
end

clf = ImageClassifier(builder=MyConvBuilder(),
		                  epochs=500,
                                  optimiser=ADAM(0.001),
		                  loss=Flux.crossentropy,
                                  batch_size=512,
                                  acceleration=CUDALibs(),)

Thanks. Perhaps we can now resolve https://github.com/FluxML/MLJFlux.jl/issues/162! I'm happy to make MetalHead as a dependency of MLJFlux. PR welcome.

Closed in favour of #205


Copy Video Player from old repository

The package is published to NPM under the name btv-video-player.
Building it is also a bit weird. Will document.

Made some of the endpoints non-nullable, as they should just return errors if not found when asking for them specifically.


Cannot load model when its name unicode

One of the most problematic things in Py2 is unicode and str. To backport several features, I (and so do many) usually use
from __future__ import unicode_literals

This means when I import your model benepar_en_small, I get an error.
parser = BeneparComponent("benepar_en_small")

Exception: Argument is neither a valid module name nor a path to an existing file: benepar_en_small

This is because of
            if isinstance(name, str) and '/' not in name:
                graph_def = tf.GraphDef.FromString(load_model(name))

I think making it basestring instead of just str can resolve this issue. Please let me know if this is comfortable.

This should be fixed as of the v0.1.0 release today. Thank you for reporting!
I've also addressed a lot of corner cases involving the combination of unicode_literals and other parts of the parser API, especially the NLTK integration. Please open an issue if anything else comes up!


add ownerReference to resources when deployed through operator

Closes #241
To avoid the deletion of namespace kubeflow that is not created as part of the kubeflow deployment through the operator, this PR adds the ownerReference to all resources in the manifest repo. The KfDef object is the owner of all resources in the kustomize directory. With this approach, when the KfDef kind of custom resource is deleted, unlike uninstalling kubeflow with kfctl CLI, the k8s garbage collector will kick in to delete all children resources and leave the namespace intact.

This change is

/retest

/lgtm
Can we also open an issue to clarify that this delete won't delete user namespaces created by profile controller? Thanks.

Thanks @Tomcli those namespaces will not be deleted and the behavior is the same as kubeflow deleted through kfctl command line. So I added a note to the operator readme instead.

/lgtm

/lgtm
/approve


[Discussion] Add renovate (or something similar)

Right now there's nothing to automatically update our dependencies to the latest version. Is there a reason DD doesn't use anything like Renovate? It would require more work up front to get everything up to date and dependencies pinned, but long term you could just have it close it's own PRs once tests pass.
The big risk would be it just flooding PRs if no one keeps it up to date.

There is GitHub dependabot that every once in a while it creates an issue for a dependency bump.
Maybe it could be configured to run on a cron job / push with its workflow file

I'm fine with any of them. I personally use Renovate and know you can configure it however you like, I have no experience with Dependabot.

Just noticed that Dependabot only runs for websites? Or it's doing something weird. I can say it's not really doing what I'm opening this issue for though. Something that keeps all packages in the monorepo up to date, etc.

I think it has something to do with the default config it has when is just enabled in the repo settings

Dependabot has a configuration. You can read more about Dependabot here: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates

Could it also be applied to the monorepo as well to keep the packages up to date there?

Could it also be applied to the monorepo as well to keep the packages up to date there?

Dependabot should be able to find the package.json + yarn.lock files in the repo but there are the config to manually set the folder in the config file if i remember correctly

we (me and Skillz) talk about this on 12/01/2022 but forgot why we didn't add it


feat(halo-app): expose local vault services

Current dependencies on/for this PR:

main

PR #2373

PR #2401

PR #2410

PR #2462
PR #2503

PR #2463

PR #2505   👈

This comment was auto-generated by Graphite.

Current dependencies on/for this PR:

main

PR #2373

PR #2401

PR #2410

PR #2462
PR #2503

PR #2463

PR #2505   👈

This comment was auto-generated by Graphite.


Filtering for only main zones

Description
This PR updates the zoning filter dropdown to display only main zones as filter options, while automatically applying the corresponding subzones. Additionally, the PR introduces a feature allowing users to search for specific filter options by typing directly into any dropdown.
Steps to Test

Navigate to the property map.
Open the filter pane.
Check the Zoning filters to verify that only main zones are listed as filter options.
Confirm that all main zones are correctly listed.
Ensure that selecting a main zone applies all relevant subzones.
While focused on any filter dropdown, type to search for specific options.

Screenshots
Screencast from 12-29-2024 09:17:00 PM.webm

@DonovanAndrews300 There's a merge conflict. Can you resolve it when you get a chance? Thank you!


ReadCountCollection (and TableReader in general) can not read from hdfs or gs

It only supports files at the moment. One needs to write helper methods for identifying hdfs://... or gs://... input files and converting them to a Reader instance. TableReader has support for Reader and its subclasses.

I have addressed this in my branch mb_prob_coverage_model. Closing.


apparmor="DENIED" logs for process-agent and agent

After adding the full datadog agent resources to our kubernetes cluster, I noticed a lot of log entries for
<...> kernel: audit: type=1400 audit(1607103503.457:484552): apparmor="DENIED" operation="ptrace" profile="docker-default" pid=219278 comm="process-agent" requested_mask="trace" denied_mask="trace" peer="unconfined"`
<...> audit[219278]: AVC apparmor="DENIED" operation="ptrace" profile="docker-default" pid=219278 comm="process-agent" requested_mask="trace" denied_mask="trace" peer="unconfined"`

These resources were used as per the datadog help docs
https://docs.datadoghq.com/resources/yaml/datadog-agent-all-features.yaml
After reading around, I figured out that the issue was with the process-agent and agent images specifically. system-probe is the only image flagged with apparmor as unconfined in the agent yaml linked directly above. Adding the following to the daemonset spec.template.metadata.annotations seems to have fixed the apparmor=denied issue.
container.apparmor.security.beta.kubernetes.io/process-agent: unconfined
container.apparmor.security.beta.kubernetes.io/agent: unconfined

Would this be a problem with my setup, or do the datadog agent resources need some attention for this?
https://docs.datadoghq.com/resources/yaml/datadog-agent-all-features.yaml
Running Ubuntu 18.04.2, kubernetes 1.19.3, docker 10.03.6

We have slightly different versions of ubuntu and kubernetes but still this describes exactly what we are having too.

Hello @coryallegory,
Thanks for reporting this issue.
Here is what I tried to reproduce the issue you are describing:

I started an AWS EKS 1.17 cluster with Ubuntu 18.04.5 nodes. (Because EKS 1.18 supports only Ubuntu 20.04 nodes and and EKS doesn’t support 1.19 yet). Docker version is 17.03.2-ce.
I deployed the datadog agent with the manifest you mentioned:

kubectl create ns datadog-agent
curl https://docs.datadoghq.com/resources/yaml/datadog-agent-all-features.yaml | sed "s/PUT_YOUR_BASE64_ENCODED_API_KEY_HERE/$(echo $DD_API_KEY | base64)/; s/namespace: default/namespace: datadog-agent/" | kubectl --namespace datadog-agent apply -f -
kubectl --namespace datadog-agent create sa datadog-agent

I then checked the following things on the node:

datadog agents are running with the standard docker-default AppArmor profile. Only system-probe is unconfined:

root@ip-172-29-97-166:~# ps aux | grep agent
root     26762  0.7  1.4 1657348 114800 ?      SLsl 12:50   0:09 agent run
root     26829  0.1  0.5 1260448 39552 ?       SLsl 12:50   0:01 trace-agent -config=/etc/datadog-agent/datadog.yaml
root     26919  0.5  0.8 1354132 69108 ?       SLsl 12:50   0:07 process-agent -config=/etc/datadog-agent/datadog.yaml
root     27038  0.2  1.3 1575156 104616 ?

Check the audit log. I found no AppArmor denial for any agent or about ptrace:

root@ip-172-29-97-166:~# journalctl -t kernel | grep audit | grep DENIED
root@ip-172-29-97-166:~# journalctl -t kernel | grep audit | grep ptrace
root@ip-172-29-97-166:~# journalctl -t kernel | grep audit | grep agent
Dec 09 11:00:45 ip-172-29-97-166 kernel: audit: type=1400 audit(1607511645.183:21): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap.amazon-ssm-agent.amazon-ssm-agent" pid=1555 comm="apparmor_parser"
Dec 09 11:00:45 ip-172-29-97-166 kernel: audit: type=1400 audit(1607511645.183:22): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap-update-ns.amazon-ssm-agent" pid=1554 comm="apparmor_parser"
Dec 09 11:00:45 ip-172-29-97-166 kernel: audit: type=1400 audit(1607511645.187:23): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap.amazon-ssm-agent.ssm-cli" pid=1556 comm="apparmor_parser"

@coryallegory Unfortunately, I wasn’t able to reproduce this issue. Would you have a self-contained reproducer ?

After investigation, it seems that the AppArmor ptrace denial logs are cause by irqbalance.
In order to confirm it, one can try to stop this service with systemctl stop irqbalance and check that AppArmor stops logging those ptrace denials.
Alternatively, in order to stop AppArmor logs without shutting down irqbalance, it’s possible to use a custom AppArmor profile by following these steps:

Create a /etc/apparmor.d/docker-dd-agent file with this content:

#include <tunables/global>

profile docker-datadog-agent flags=(attach_disconnected,mediate_deleted) {
  #include <abstractions/base>
  network,
  capability,
  file,
  umount,

  # Host (privileged) processes may send signals to container processes.
  signal (receive) peer=unconfined,
  # dockerd may send signals to container processes (for "docker kill").
  signal (receive) peer=unconfined,
  # Container processes may send signals amongst themselves.
  signal (send,receive) peer=docker-datadog-agent,

  deny @{PROC}/* w,   # deny write for all files directly in /proc (not in a subdir)
  # deny write to files not in /proc/<number>/** or /proc/sys/**
  deny @{PROC}/{[^1-9],[^1-9][^0-9],[^1-9s][^0-9y][^0-9s],[^1-9][^0-9][^0-9][^0-9]*}/** w,
  deny @{PROC}/sys/[^k]** w,  # deny /proc/sys except /proc/sys/k* (effectively /proc/sys/kernel)
  deny @{PROC}/sys/kernel/{?,??,[^s][^h][^m]**} w,  # deny everything except shm* in /proc/sys/kernel/
  deny @{PROC}/sysrq-trigger rwklx,
  deny @{PROC}/kcore rwklx,
  deny mount,
  deny /sys/[^f]*/** wklx,
  deny /sys/f[^s]*/** wklx,
  deny /sys/fs/[^c]*/** wklx,
  deny /sys/fs/c[^g]*/** wklx,
  deny /sys/fs/cg[^r]*/** wklx,
  deny /sys/firmware/** rwklx,
  deny /sys/kernel/security/** rwklx,

  # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container
  ptrace (trace,read,tracedby,readby) peer=docker-datadog-agent,

  # suppress ptrace denials when agent and process-agent are accessing /proc
  ptrace (read),
}

Load the dedicated AppArmor profile with this command:

apparmor_parser /etc/apparmor.d/docker-dd-agent

Change the AppArmor profile of the agent and process-agent by adding the following annotations to the Datadog agent DaemonSet pod template:

apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: datadog-agent
spec:
  selector:
    matchLabels:
      app: datadog-agent
  template:
    metadata:
      annotations:
        container.apparmor.security.beta.kubernetes.io/agent: localhost/docker-datadog-agent
        container.apparmor.security.beta.kubernetes.io/process-agent: localhost/docker-datadog-agent
      labels:
        app: datadog-agent
      name: datadog-agent
    spec:
[…]

interesting issue, I happened to face it on Ubuntu 20.04.2 / containerd 1.4.3 on arm64 based instances but not amd64.
Disabling irqbalance had no effect but adding the dedicated apparmor profile fixed the issue 👍
thanks @L3n41c! 🙇

Closing this issue as the proposed AppArmor profile seems to properly fix the AppArmor log.

Do you know how I could use this AppArmor profile from a Docker Swarm Stack? I have never used k8s and don't fully understand the DaemonSet configuration impact.
I'm using ubuntu 20.04.2 and get regular DENIED logs:
May  4 13:35:59 web2 kernel: [451112.562718] audit: type=1400 audit(1620128159.047:185580): apparmor="DENIED" operation="ptrace" profile="docker-default" pid=155275 comm="process-agent" requested_mask="read" denied_mask="read" peer="unconfined"
May  4 13:35:59 web2 kernel: [451112.562732] audit: type=1400 audit(1620128159.047:185581): apparmor="DENIED" operation="ptrace" profile="docker-default" pid=155275 comm="process-agent" requested_mask="read" denied_mask="read" peer="unconfined"
May  4 13:35:59 web2 kernel: [451112.564162] audit: type=1400 audit(1620128159.047:185582): apparmor="DENIED" operation="ptrace" profile="docker-default" pid=155275 comm="process-agent" requested_mask="read" denied_mask="read" peer="unconfined"
May  4 13:35:59 web2 kernel: [451112.564175] audit: type=1400 audit(1620128159.047:185583): apparmor="DENIED" operation="ptrace" profile="docker-default" pid=155275 comm="process-agent" requested_mask="read" denied_mask="read" peer="unconfined"
May  4 13:36:09 web2 kernel: [451122.562327] audit: type=1400 audit(1620128169.047:185584): apparmor="DENIED" operation="ptrace" profile="docker-default" pid=155275 comm="process-agent" requested_mask="read" denied_mask="read" peer="unconfined"
May  4 13:36:09 web2 kernel: [451122.562703] audit: type=1400 audit(1620128169.047:185585): apparmor="DENIED" operation="ptrace" profile="docker-default" pid=155275 comm="process-agent" requested_mask="read" denied_mask="read" peer="unconfined"
May  4 13:36:09 web2 kernel: [451122.562715] audit: type=1400 audit(1620128169.047:185586): apparmor="DENIED" operation="ptrace" profile="docker-default" pid=155275 comm="process-agent" requested_mask="read" denied_mask="read" peer="unconfined"
May  4 13:36:09 web2 kernel: [451122.562723] audit: type=1400 audit(1620128169.047:185587): apparmor="DENIED" operation="ptrace" profile="docker-default" pid=155275 comm="process-agent" requested_mask="read" denied_mask="read" peer="unconfined"
May  4 13:36:19 web2 kernel: [451132.575434] audit: type=1400 audit(1620128179.059:185588): apparmor="DENIED" operation="ptrace" profile="docker-default" pid=155275 comm="process-agent" requested_mask="read" denied_mask="read" peer="unconfined"
May  4 13:36:19 web2 kernel: [451132.576710] audit: type=1400 audit(1620128179.059:185589): apparmor="DENIED" operation="ptrace" profile="docker-default" pid=155275 comm="process-agent" requested_mask="read" denied_mask="read" peer="unconfined"
May  4 13:36:19 web2 kernel: [451132.576723] audit: type=1400 audit(1620128179.063:185590): apparmor="DENIED" operation="ptrace" profile="docker-default" pid=155275 comm="process-agent" requested_mask="read" denied_mask="read" peer="unconfined"
May  4 13:36:19 web2 kernel: [451132.576732] audit: type=1400 audit(1620128179.063:185591): apparmor="DENIED" operation="ptrace" profile="docker-default" pid=155275 comm="process-agent" requested_mask="read" denied_mask="read" peer="unconfined"

thank you!

@L3n41c We tried with the docker-datadog-agent profile that you provided above, and it doesn't seem to work, at least not anymore.
We hade to use unconfined for the agent as well as the process-agent
# agents.podAnnotations -- Annotations to add to the DaemonSet's Pods
  podAnnotations:
    container.apparmor.security.beta.kubernetes.io/agent: "unconfined"
    container.apparmor.security.beta.kubernetes.io/process-agent: "unconfined"


Recording had to be stopped

When recording track, it says that Recording had to be stopped.
I tried clearing cache and data, but still does not work.

This is the error I am getting

Android Phone is 6.0.1
OSC is 2.9.1 (104)
Model of Phone is SM-G550T

Nevermind, got it working after repairing SD card.

Please reopen this as my account was deleted.

Still not working as its still doing it even without SD Card present. Link2SD moved KV to SD Card and the application will NOT save tracks to SD Card by default.


Update keycloak clients

Update keycloak clients to reflect

[ ] https://github.com/SwissDataScienceCenter/renku/pull/662 (check if needed) and

[ ] https://github.com/SwissDataScienceCenter/renku/pull/677

Presumably this has been done?

not really, but we need to update other things in the repo as well, like the values file.

You mean that these changes have been done in our charts but not in our long-running deployments? Maybe clarify which keycloak instances need to be updated?

The changes have been done both in our charts and in our deployments. We just need to update these in case somebody wants to use an existing keycloak instance to deploy Renku.


Search no longer works after site redesign

Looks like Pitchfork's redesign breaks how search was working here (via reading a JSON object that no longer exists). Poking around at the source, there's no straightforward replacement.
https://pitchfork.com/api/v2/search/_ac/?query= endpoint seems promising, but surprisingly fails for all sorts of values such as mogwai atomic even though that review exists and is returned when just searching for mogwai

As of now the search works for me as far as retrieving the album and soup, but it fails to parse plenty of the fields. i have a quick fix that parses the abstract and editorial but doesn't have the other fields working yet. i'll create a pull request for this while i tinker with some of the other fields


Implement rational eval of compare, or, and, and conditional operator

These are all accepted by solc so solang should do the same.

Does this PR solve #799?


go consensus: shorten gas import

switch to more concise FromUint64

coverage is wrong. this line is hit


More cloacked CNAME trackers🤯

Hi,
you can find more cloacked CNAME trackers in the attached file. I hope it will be useful🤗
Please, take a look! This tracker list will be also included to AdGuard DNS filter?🤔
Thank you.
Cheers✌🏻

@ammnt Wow, how did you generate all these?

This tracker list will be also included to AdGuard DNS filter?🤔

Nope, AdGuard DNS is able to scan CNAME records, it does not need it.
Also, this repo is auto-generated, we only need to know new "original" trackers: https://github.com/AdguardTeam/cname-trackers/blob/master/combined_original_trackers.txt
Disguised trackers are not that needed since they'll be included automatically (as long as they're actively used).


High level API design discussion

Opening this issue to start a discussion about some high level API designs I have in mind. Feel free to propose more high level APIs here as well.
wlr_output_layout
This should encapsulate some of the concepts required for a virtual desktop of multiple outputs.
struct wlr_output_layout_state;
struct wlr_output_layout_impl;

struct wlr_output_layout {
    struct wlr_output_layout_state *state;
    struct wlr_output_layout_impl *impl;

    list_t outputs;
};

struct wlr_output_layout_output {
    struct wlr_output *output;
    int x, y;
};

void wlr_output_layout_add(struct wlr_output_layout *layout,
    struct wlr_output *output, int x, int y);

void wlr_output_layout_move(struct wlr_output_layout *layout,
    struct wlr_output *output, int x, int y);

void wlr_output_layout_remove(struct wlr_output_layout *layout,
    struct wlr_output *output);

/**
 * Given x and y as pointers to global coordinates, adjusts them to local output
 * coordinates relative to the given reference output.
 */
void wlr_output_layout_output_coords(struct wlr_output_layout *layout,
    struct wlr_output *reference, int *x, int *y);

/**
 * Finds the next output in the given direction.
 * x and y should each be 1, 0, or -1.
 */
struct wlr_output *wlr_output_layout_output_towards(struct wlr_output_layout *layout,
    struct wlr_output *output, int x, int y);

We could use wlr_output_layout_intersections during output_frame to find each wayland surface that needs to be rendered to this output. This would also make output mirroring just werk.
Also: kde_output_layout_protocol_attach(kde_ol_ref, output_layout)
wlr_cursor
This would represent an individual cursor (as in ), which might have one or more input devices attached.
struct wlr_cursor_state *;
struct wlr_cursor_impl *;

struct wlr_cursor {
    struct wlr_cursor_state *state;
    struct wlr_cursor_impl *impl;
    int x, y;

    struct {
        struct wl_signal motion;
    } events;
};

/**
 * Attaches this input device to this cursor. The input device must be one of:
 *
 * - WLR_INPUT_DEVICE_POINTER
 * - WLR_INPUT_DEVICE_TOUCH
 * - WLR_INPUT_DEVICE_TABLET_TOOL
 */
void wlr_cursor_attach_input_device(struct wlr_cursor *cur,
    struct wlr_input_device *dev);

void wlr_cursor_detach_input_device(struct wlr_cursor *cur,
    struct wlr_input_device *dev);

/**
 * Uses the given layout to establish the boundaries and movement semantics of
 * this cursor. Cursors without an output layout allow infinite movement in any
 * direction and do not support absolute input events.
 */
void wlr_cursor_attach_output_layout(struct wlr_cursor *cur,
    struct wlr_output_layout *l);

/**
 * Attaches this cursor to the given output, which must be among the outputs in
 * the current output_layout for this cursor. This call is invalid for a cursor
 * without an associated output layout.
 */
void wlr_cursor_map_to_output(struct wlr_cursor *cur, struct wlr_output *output);

/**
 * Maps all input from a specific input device to a given output. The input
 * device must be attached to this cursor and the output must be among the
 * outputs in the attached output layout.
 */
void wlr_cursor_map_input_to_output(struct wlr_cursor *cur,
    struct wlr_input_device *dev, struct wlr_output *output);

/**
 * Maps this cursor to an arbitrary region on the associated wlr_output_layout.
 */
void wlr_cursor_map_to_region(struct wlr_cursor *cur, struct wlr_geometry *geo);

/**
 * Maps inputs from this input device to an arbitrary region on the associated
 * wlr_output_layout.
 */
void wlr_cursor_map_input_to_region(struct wlr_cursor *cur,
    struct wlr_input_device *dev, struct wlr_geometry *geo);

This should allow you to attach several devices to one cursor, have several cursors at once, map one input device to multiple cursors, etc

Why is the wlr_input_device separate from the wlr_cursor, couldn't they both be contained in the wl_cursor? Because right now I find it a little confusing (e.g, which struct contains the libinput data, and which is just meta-data from wlroots? Does the cursor just apply to pointer inputs, or does it also apply to touch and tablet? If it affects both, why can't they both in one struct instead of two separate ones that need to be kept together?).
I like the output layout design.

They're separate because they're separate things. By splitting them up you gain the flexiblity to have multiple cursors, multiple pointers controlling one cursor, a drawing tablet controlling a cursor, etc. You also get the ability to do things like bind a pointer and a drawing tablet to a cursor and restrict the drawing tablet to one output and the mouse to all outputs.

I'm working on wlr_output_layout now.

I'm working on wlr_cursor now.

fixed in #120 and #97


add p2sh and segwit options to bitcoin-tx outscript command

This adds the option of creating p2sh, segwit and segwit wrapped into p2sh outputs from bitcoin-tx.
This is a proof-of-concept, just to check that it's ok on principle.

One thought -- #8499 introduces code to prevent addwitnessaddress from working with an uncompressed pubkey.  Perhaps bitcoin-tx should be doing the same, if it can tell that you're using an uncompressed pubkey with a segwit output?

@sdaftuar shouldn't that check be put into GetScriptForWitness() ?

As discussed, this PR replicates the functionality of https://github.com/HackerResidency/bitcoin/pull/5 . Rather than have two different PRs that implement different APIs for the same functionality, we should merge them before pushing upstream to bitcoin/bitcoin.

I've added a couple of comments. Let me know once you've addressed those and squashed your commit. I'll merge the rest of my functionality on top and then we can open a PR to bitcoin/bitcoin.

@czzarr , as discussed this morning, I've updated the API and merged my changes into this branch. I've also added test cases covering all the new functionality. Are you happy for me to go ahead and open the PR against bitcoin/bitcoin?
Note that I've rebased this branch and squashed your commits together, so you'll need to fetch the branch from origin and throw away your local changes.

Agree - I'll change the option to be S instead of H for scripthash

Thanks for the code review @czzarr. I've made suggested changes and squashed my commits. I'll open a PR against bitcoin/bitcoin.

PR opened: https://github.com/bitcoin/bitcoin/pull/8883 . Closing this PR.


Introduce FormLinkInterceptor

In an effort to match the patterns established by LinkInterceptor
and FormInterceptor, this commit introduces a
FormLinkInterceptor and FormLinkInterceptorDelegate.
Behind the scenes, the FormLinkInterceptor relies on an instance of
the LinkInterceptor to intervene in <a> element clicks when
[data-turbo-method] or [data-turbo-stream] are present. When those
clicks are detected, it creates a <form hidden> element, attaches it
to the document, delegates to a FormLinkInterceptorDelegate to map
the <a> element's attributes to the <form> element, submits the form
through the polyfilled HTMLFormElement.requestSubmit method, then
removes the <form> from the document.
The Session serves as a FormLinkInterceptorDelegate, making sure
to start and stop the observer before its LinkInterceptor
instance, so that clicks that are intercepted by the
FormLinkInterceptor are not also intercepted by the
LinkInterceptor.

This might resolve some <a>-related issues like https://github.com/hotwired/turbo/issues/587 & https://github.com/hotwired/turbo/pull/588.

Nice cleanup!


Project is not compiling at all.

I am trying to compile this project. But it is full of errors. Any solution ?

Hi @momintahir
I think I fixed the issue
Please do as instructed on the README (updated) to build the application and import the project into your Android Studio
You should have a similar output below
I tested it and it works on my ubuntu desktop
`$ git clone --recursive https://github.com/the3deer/android-3D-model-viewer.git
Cloning into 'android-3D-model-viewer'...
remote: Enumerating objects: 5170, done.
remote: Counting objects: 100% (145/145), done.
remote: Compressing objects: 100% (86/86), done.
remote: Total 5170 (delta 90), reused 59 (delta 59), pack-reused 5025 (from 2)
Receiving objects: 100% (5170/5170), 152.42 MiB | 4.04 MiB/s, done.
Resolving deltas: 100% (2370/2370), done.
Submodule 'engine' (https://github.com/the3deer/android-3D-engine.git) registered for path 'engine'
Cloning into '/home/andres/viewer6/android-3D-model-viewer/engine'...
remote: Enumerating objects: 2313, done.
remote: Counting objects: 100% (2313/2313), done.
remote: Compressing objects: 100% (1147/1147), done.
remote: Total 2313 (delta 1054), reused 2264 (delta 1006), pack-reused 0 (from 0)
Receiving objects: 100% (2313/2313), 6.20 MiB | 3.95 MiB/s, done.
Resolving deltas: 100% (1054/1054), done.
Submodule path 'engine': checked out 'c6eb265e5fdcc0f1f7f4d02a7562320d9470c465'
$ cd android-3D-model-viewer/
$ ./gradlew assembleDebug

Task :engine:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Task :app:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/andres/viewer6/android-3D-model-viewer/app/src/main/java/org/the3deer/app/model3D/view/LoadDialogFragment.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

BUILD SUCCESSFUL in 10s
59 actionable tasks: 59 executed
$`


feat!: remove effort field from CourseCatalogData

Description:
Removes "effort" field in CourseCatalogData. This field is not actually editable in Studio in setups where Publisher is enabled. Also updates the ADR around COURSE_CATALOG_INFO_CHANGED event design to clarify the fields not being copied from the courses API endpoint.
Note that this is in fact a breaking change and will require some work in edx-platform (and possibly discovery) to bring it in.
Issue: https://github.com/openedx/openedx-events/issues/133
Reviewers:

[ ] tag reviewer
[ ] tag reviewer

Merge checklist:

[ ] All reviewers approved
[ ] CI build is green
[ ] Version bumped
[ ] Changelog record added
[ ] Documentation updated (not only docstrings)
[ ] Commits are squashed

Post merge:

[ ] Create a tag
[ ] Check new version is pushed to PyPI after tag-triggered build is
finished.
[ ] Delete working branch (if not needed anymore)

Ended up rebasing/squashing to make sure my commit messages were all compliant, and because I forgot that would make your life slightly harder. I made all suggested changes to the ADR, changed the version to 3.0.0, and updated the Changelog. Those should be the only changes since your last review.


Remove accidental bug

Not sure how this happened...

oops my fault sorry

No worries, I should've caught it in review :)


Quick Accent can fire too easily with SPACE as a trigger

Microsoft PowerToys version
0.65 .0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
Quick Accent
Steps to reproduce
normally if I type "a" then SPACE then "t" I'll see "a t" but if I type quickly, the SPACE and fire while I have the a key down and I end up getting "át"
It took me FOREVER to figure this out as I wasn't even trying to get an accented character
For now the workaround is to change the trigger to be "left/right arrow" only.
Suggested fix: Have the default character be the UNaccented character "a" so if it does fire prematurely it at least defaults to the original character.
Of course the other fix would be to have it be a bit more deliberate when the menu of other chars shows up. Not sure the best way to do it. All I can say is that it comes up WAAAAY too easily now.
✔ Expected Behavior
I should get "a t"
❌ Actual Behavior
I get "át"
Other Software
No response

Hi, the Input delay(ms) is configurable in Settings. It's possible to make it take longer to trigger Quick Accent. Try increasing that value. Does this help? /needinfo

Yes, that indeed does help.Given that I had NO IDEA what was going on and took me days to track it down, I'm suggesting the default delay time be increased. Especially as I'd like to have this functionality it's just negatively affecting normal typing. It shouldn't be up to the user to debug race conditions like this. Seems like a safe UX fix to make: increase the time to avoid false positives.

@scottjenson , what value did you set it too? /needinfo
I suppose this depends on writing speed as well and the difference between when someone releases a key after pressing the next one, but it's OK to make it the delay a bit bigger.

Fast typists seem like a good demographic to not annoy ;-) I agree that this can cut both ways though, e.g. fast typists shouldn't get false positives (my case) but also fast typists that want é quickly shouldn't have to wait long. It's a difficult trade off to be sure.
There appears to be two very different cases: a) typing the same char over and over and b) selecting from the menu (é vs ê)  The B case is obviously much slower and the extra delay time is of very little consequence to them. However, the I-only-type-é case is much trickier as clearly you'd like that to be just as fast as typing a simple e.
I don't see any simple solution other than NOT using space as your accelerator, it's the UX equivalent of a race condition ;-) Something has to give. My suggestion is that the A case is a sub case, the B case is the general one. Solve for the B case which means that increasing the duration is of little impact. Even in the A case, an extra 100ms is not going to be that impactful and, as you point out, it can be changed if they are willing to live with the complexity.

The changes related to this issue have been released in 0.66 and can be found in the latest version: https://github.com/microsoft/PowerToys/releases


Adding ioredis support to iopipe-js-trace.

Totally a WIP, but it's progress: Basic tests for wrapping are now passing, and functions are being wrapped.  I can dig in a bit to this during any downtime I get over the next few days--I do want to see what resolution I can provide on arguments and method names, but there's support in there for that (see the data[id] definitions in shimmerRedis).
So...kinda hacky, but there's the beginning of something workable here.

I've noticed that this branch doesn't require signed commits; I'm happy to turn on that setting, unless people have an objection.

Closes #44

Closing in favor of the restructured version (45)


feat(crypto): Upgrade all usage of crypto/sha256 to minio/sha256-simd

Free performance boost, used in hundreds of production projects.

PR checklist

[ ] Tests written/updated
[ ] Changelog entry added in .changelog (we use unclog to manage our changelog)
[ ] Updated relevant documentation (docs/ or spec/) and code comments
[ ] Title follows the Conventional Commits spec

Will be CPU architecture dependant, ensure test environment is setup correctly

Thanks @itsdevbear.
@sergio-mena do you know if we have a mixed environment in our tests ? Do we test on Intel and ARM ?
Looks like the benefits are dependent on message size according to the repo. Might be also interesting to see if this could be tested with different input sizes.

One concern that I have though is that this library seems to be a bit stale, last commit was February 2023. Maybe it's stable enough. But since we're replacing it everywhere where a Sha256 is needed, changing it on hash, merkletree, keys, etc,
It is critical that this library is vetted. I understand this is used in production in many projects, but the concern is if there's a vulnerability how fast it can be addressed as opposed to using the official one that would be patched possibly faster.

We are in the process of having a golang crypt expert vet this library change.

I can also hide behind an optional build flag is desired.

@andynog yeah intel and arm, but notably will see the greatest improvement on cpus with AVX-512 support

This being said, we want to optimize some places in the code to use the AVX-512 scheduler directly. But that's a bigger change

This package was added by #2765. Not sure why they decided to use this precise implementation.

Overall the code now is kind of confusing with the use of:

crypto/sha256: standard lib
minio/sha256-simd: possibly improved lib
crypto/tmhash: our own lib, which is a wrapper to crypto/sha256

We might consider simplifying this setup.

Personally, I like having everywhere in the codebase important from tmhash where tmhash is an alias it whatever library we like. This alias could be changed via build flags for instance.
many to one to few relationship

We discussed about this in our internal meeting today. These are the conclusions:

We currently don't have performance data that shows an obvious gain in the production setups where CometBFT is used
We could gather such performance data ourselves as a due-diligence activity, but we don't have cycles ATM
There is an ongoing longer term solution, described in #2241, whereby an app can have CometBFT use custom hashing logic.

This longer term solution will render our efforts in point 2 unnecessary

Therefore, we will:

Use this issue to move all imports of minio/sha256-simd (BLS-related code) to crypto/sha256
Wait for #2241 to be completed so that users can do what is suggested in this issue on app-side code

Use this issue to move all imports of minio/sha256-simd (BLS-related code) to crypto/sha256

Opened #3071.

We currently don't have performance data that shows an obvious gain in the production setups where CometBFT is used

IDK how much realworldish gain there is, but:

Support for Intel SHA Extensions

hehe this would make it a lot faster on my homebrew routers which use the J3455 cpu

Support for AVX512

That's basically "every validator"

IDK how much realworldish gain there is, but:

That's the culprit of this PR 😅

Closing as per https://github.com/cometbft/cometbft/pull/2909#issuecomment-2107944974.


add  code of FizzBuzz 2 code in java 2 in puthon 2 in c++ all code is…

… easy to understand and implementable

the fizzbuzz_easy _understand2.cpp code in C++ folder seems like it's a java code

the fizzbuzz_easy _understand2.cpp code in C++ folder seems like it's a java code

sorry about that but now I fix that code,can u plz check that code

the fizzbuzz_easy _understand2.cpp code in C++ folder seems like it's a java code

i am new in git and i don't know how to make pull request ,i change all all code in new branch but now i don't know to to make pull request with that branch
help me to make a pull request

@Ashwanigupta9125 u can view the changes in your forked repo and there , u will be seeing an option to contribute to the main repo and on clicking , u can open a pull request .

And @Ashwanigupta9125 , the codes are almost similar to the previously written codes , so it would be better if you edit existing codes rather than putting new ones .

Thank you for your PR!
Unfortunately a solution similar to yours has already been submitted :/
The goal is to find creative/abstract new solutions to FizzBuzz.
Please consult the readme for more information .
Thanks anyway! :)


[QUESTION]: The token has expired. (Expired on time)!

Which tool
I'm using TIDAL-GUI for windows.
Describe your question
I get the error message that the token has expired during a batch-download. I don't remember how I set this up and can't find a way to find a (new) access code for my account. I checked the site-cookies for something related but I don't seem to be able to find it. I tried googling as well, however with no result. The information pages on yaronzz.com seem to have been taken offline.
Add screenshots
No response

After reboot, the program seemed to be functional again. Weird error but apparently solved itself!


boto3_s3tests: add tests for lifecycle expiration header

The response to a successful PUT or HEAD (or GET) of/on
an object matching any enabled lifecycle expiration rule should
include an x-amz-expiration header for the object.  The
x-amz-expiration header consists of an expiry-date, rule-id tuple
indicating the earliest matching rule and the corresponding
expiration date for the object.
Signed-off-by: Matt Benjamin<EMAIL_ADDRESS>

@yehudasa I agree;  I wasnt sure the consolidate code would be very reusable, but I'll revisit it.

@mattbenjamin my main issue here was that I could hardly figure out what was the difference. Consolidating should highlight that.

ok, I have an idea for it

@yehudasa how about that?

@yehudasa not to waste your time, but to you find the refactor acceptable?

@yehudasa yeah, already approved it

@mattbenjamin yeah, already approved it

Also Complete Multipart upload and PUT Object COPY returns this header


Np 47489 Index document: Add publication channel name

Jira task: NP-47489 Expand index document with channel issn and channel name
Part one:

Extract publisher/series/journal name from expanded resource and add to index document

Next PR: Add onlineIssn, printIssn, isbnPrefix to index document

Should there be a new test case for this, or is it covered by existing tests?

It's covered in IndexDocumentHandlerTest.shouldBuildIndexDocumentAndPersistInS3WhenReceivingSqsEvent() with expectedIndexDocument containing publication channel name from test data setup (expandedResource)


Text blurry at HIDPI (4K, >1.25x UI scale)

All text appears blurry when on HIDPI screens (4K) with editor UI scaling ( > 1.25x ) applied.

Hey Fluffles,
thanks for opening an issue, could you try this branch please?
https://github.com/Henry00IS/ShapeEditor/tree/DPI
On your large monitor, the text will probably be very small, but at least it shouldn't be blurry.
If the results are an improvement, I will merge it. In the future, scaling in powers of 2 may be possible.

Text is definitely very small (I'm scaling at 175%). Would it be possible to have it respect the editor scale preference (EditorGUIUtility.pixelsPerPoint)?
Works, though!

Text is definitely very small (I'm scaling at 175%). Would it be possible to have it respect the editor scale preference (EditorGUIUtility.pixelsPerPoint)? Works, though!

Hmm, seems its already using pixelsPerPoint. not sure why it isn't scaling properly.

I changed https://github.com/Henry00IS/ShapeEditor/blob/3159a0e03c07929bc7dbc0875476b072493d6676/Scripts/Editor/ShapeEditorWindow.Editor.cs#L201
to:
/// The width of the window in screen space multiplied by UI scaling.
internal float width => math.floor(position.width * ( EditorGUIUtility.pixelsPerPoint / 1.5f ));

/// The height of the window in screen space multiplied by UI scaling.
internal float height => math.floor(position.height * ( EditorGUIUtility.pixelsPerPoint / 1.5f ));

and
https://github.com/Henry00IS/ShapeEditor/blob/3159a0e03c07929bc7dbc0875476b072493d6676/Scripts/Editor/ShapeEditorWindow.Editor.cs#L67
to:
float2 eMousePosition = math.floor(e.mousePosition *  ( EditorGUIUtility.pixelsPerPoint / 1.5f ));

and now get an acceptable screen scaling, but now the mouse position is messed up even without the changes above. I assume there are other places that this value needs to be changed/adjusted, but it's a lot of code to dig through that I'm not familiar with.

Yes, it's using pixelsPerPoint to undo the scaling that Unity Editor applies. It will try to scale the render texture by 1.75%, causing rounding errors and blurry text. Even with point interpolation the rounding errors cause a lot of errors. Attempting to scale the individual elements yields similar results as it's an odd number.
However, I am considering rounding to the nearest full integer or power of 2. So 1.25 or 1.75 scaling will render 2x scale. And 2.x will render at 3x or 4x scale. Depending on what doesn't cause these issues that is. But now I have a clean slate to work in, unaffected by your scaling settings and that was the goal of the PR.

Hey Fluffles,
I now round the pixelsPerPoint to the nearest integer and scale by that. So you should see 2x scale at 175% which should look pretty great on your monitor. Let me know! And thanks for helping me test this issue.

Scaling seems correct now, but the text is still blurry. Do you rasterize your text at one resolution only?

Yes there is only one resolution, I used BMFont to generate a bitmap font from the TrueType font. The result you should see on your screen is the final render texture scaled x2 (with internal mouse and window positions adjusted accordingly). I want to keep these DPI workarounds simple and manageable so that I can quickly add more features without having to think about it.
What about the icons and window borders, are they at least not blurry anymore? I might swap the font texture for a higher resolution one, as I should be able to use the same UVs as long as the font layout on the texture is the same. But if everything is still blurry then that won't matter much.

The icons are fine, as long as they keep point filtering. Lines and borders never really seemed to have any issues, and I assume those are calculated in shaders.
Using a separate higher resolution font texture should solve the problem, and is the solution I had in mind as well. I'm not sure how it'd look at extremes, but I'll assume that nobody is going to use much higher than 200% scaling, as 150 - 175 is already pretty big.

Any news on this?

Unfortunately, using a separate, higher-resolution font texture won't solve the problem, because the way I managed to solve everything else was to essentially zoom in on the render texture. So there's no pixel density left for higher detail.


Workaround stringstream << Int crash

Node 7.7.4 is crashing out whenever we do std::stringstream << Int on Windows.
This works around the problem by using std::to_string() on Windows instread.

LGTM....well it would wouldn't it ;-)


add offset to days of week, fix validation

Description
Add offset to the days of the week before sending the form to the server.
Fix form body validation
Type of change
Please select everything applicable. Please, do not delete any lines.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Issue

[ ] Is this related to a specific issue? If so please specify:

Checklist:

[x] This PR is up to date with the development branch, and merge conflicts have been resolved
[x] I have executed npm run lint and resolved any outstanding errors. Most issues can be solved by executing npm run format
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings

This fix is definitely better than my fix on both the front end and backend.
I just tested the fix by reproducing the bug, and the bug still occurred. I played around with the code a bit and found that commenting out lines 35-47 in useProvideForm.js (which adds the offset to recurring.days) fixes the bug:
      // const recurrOffset =
      //   new Date(firstEventStart).getUTCDay() -
      //   new Date(firstEventStart).getDay();
      // console.log(`recurrOffset: ${recurrOffset}`);

      // const { days } = formData.recurring;
      // const daysWithOffset = days.map(e =>
      //   String((Number(e) + recurrOffset + 7) % 7)
      // );

      // console.log(formData.recurring.days);
      // formData.recurring.days = daysWithOffset;
      // console.log(formData.recurring.days);

I have no idea why this works, guessing a combination of A. changing the formData.recurring.days values to "numbers" and B. whatever work you did on the backend fixed everything.
Also there are a few commented-out console.log's here and there which have been left over.
@romanstetsyk I'd love to take a look at this with you and also document it a little before it's merged.
Also since this PR was made before the issue, I'll mention that this PR addresses issue #300.

@isaaclee12 I ended up refactoring the createEventsArray function pretty heavily, but after I got rid of the date-fns library, it magically works in different timezones!


Task5

Issue: #5
Added Combined screenshot of INSTALLED  TOR BROWSER and BetterCap

I have added screenshots in task5 folder also._


Adding Yew

Our team uses Yew, so it’d be great to have it included for smoke-tests.
https://github.com/yewstack/yew/tree/master/examples/todomvc

Its funny, I looked at Yew again today and noticed they are using the exact same todomvc. :D

I didn't see this before, but I've added a todomvc yew sample here: https://github.com/tauri-apps/examples/pull/6
With github actions next, I believe this can be considered a smoke test and then this issue can be closed

You sir - are correct. And as a matter of fact, you just closed our oldest issue!!!
🎉


Connect to rethinkdb over SSL with self-signed certificate

Over at compose they provide rethinkdb servers with self-signed certificates.
You can connect to them in this way: https://www.compose.io/articles/rethinkdb-and-ssl-think-secure/
basically by reading a certificate
    roots := x509.NewCertPool()
    cert, err := ioutil.ReadFile("./cacert")
    roots.AppendCertsFromPEM(cert)

and connecting with the TLS
    session, err := r.Connect(r.ConnectOpts{
        Address:  "aws-eu-west-1-portal.1.dblayer.com:10605",
        Database: "test",
        AuthKey:  "QBXORIDHnnjkvUyhexl1nKcnAxbIqPBcrHeqkWglXc",
        TLSConfig: &tls.Config{
            RootCAs: roots,
        },
    })

I'm going to try to make it work. Are you interested in a Pull Request?

Yes, please use the JWK Store for storing the RootCA. Setting custom RootCAs is also quite dangerous and we should anticipate problems there. Using the JWK Store only trusted clients could update those CAs, so that's a first good step.

And I want to keep the number of configuration and env options low :)

If you need help with the JWK store let me know

Aren't JWK stored in rethinkdb?

Haha wow, I didn't think that one through. Spot on.

Ok let's make it work then like the HTTP TLS certificates (CLI option and env var)

I'm working on it

that's actually better because compromise of a priviledged client would not allow for the rootca to be changed or read


[Test] Chore: refactor e2eTests module

[x] Replaced the env vars with static variables.
[x] Added README file
[x] Added subtask gradle assemble in the start-docker-containers

[WIP]: The following tasks will be committed in a separate PR:-

[ ] ~Remove the redundant certificate file paths~
[ ] ~Test without TLS~

We should also consider merging e2eTest-setup branch into main. And setting up PR's directly on main.


Deprecation warning

Hi, how about to add the needed steps to remove the [DEPRECATED] provided is deprecated and will not be available in future versions. warning when using this provider in the READE.MD ?

This has been fixed.


⚠ Fortnite has degraded performance

In f5a36e8, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1634 ms

Resolved: Fortnite performance has improved in b20fb96.


TestContext.CurrentTestOutcome is always InProgress in the TestCleanup method

Description
In the TestCleanup method, the TestContext.CurrentTestOutcome property is always InProgress rather than the actual current test outcome.
Using the old test framework (bundled with VS, New > Project > Unit Test) the outcome is set correctly.
Steps to reproduce
using Microsoft.VisualStudio.TestTools.UnitTesting;

[TestClass]
public class MyTestClass
{
	public TestContext TestContext { get; set; }

	[TestMethod]
	public void PassTest()
	{
		Assert.IsTrue(true);
	}

	[TestMethod]
	public void InconclusiveTest()
	{
		Assert.Inconclusive();
	}

	[TestMethod]
	public void FailTest()
	{
		Assert.Fail();
	}

	[TestCleanup]
	public void TestCleanup()
	{
		System.Console.WriteLine($"{TestContext.TestName}: {TestContext.CurrentTestOutcome}");
	}
}

Expected behavior
TestContext.CurrentTestOutcome is set to the actual outcome type of the current test.

Image taken when executing the code above using the old VS-bundled framework.
Actual behavior
TestContext.CurrentTestOutcome is always InProgress

Image taken when executing the code above using the new NuGet package framework.
Environment

Version

OS
Windows 10 Enterprise build 14393

IDE
Visual Studio Enterprise 2015 Update 3

Target framework
4.5.2

MSTest.TestAdapter
1.1.12

MSTest.TestFramework
1.1.11

Thanks for reporting this @mjcheetham. Created Microsoft/testfx#89.

Closing since this is already tracked in testfx repo.


Publish doc updates

Docs Build status updates of commit 9dad3e7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/add-ins/addin-tutorial.md
:white_check_mark:Succeeded

docs/add-ins/quick-start.md
:white_check_mark:Succeeded

docs/includes/note-yeoman-generator-bug-201908.md
:white_check_mark:Succeeded

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


Compatibility with React 17?

While using React v17.0.2, I am getting an issue with installing react-model-image. Error says it is unable to resolve dependency tree. Furthermore:
While resolving<EMAIL_ADDRESS>Found<EMAIL_ADDRESS>node_modules/react
<EMAIL_ADDRESS>from the root project
Could not resolve dependency:
peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>node_modules/react-modal-image
react-modal-image@"*" from the root project

Someone please solve this

I've just published<EMAIL_ADDRESS>which fixes this issue. Sorry for the long wait!


Track the results of the IntCache in Java/servlet

Recent results are here: https://tfb-status.techempower.com/raw/results.2019-03-12-10-46-12-015.json
They seems good:
at the lowest queries rates - 0,86M RPS. ulib is at 1,36M RPS. At the higher - currently the results are limited by the 10 Gb network interface. Check the transfer speed - 1.08 GB/s.


Reference Architecture and Best Practices for Sustainable AI with Cloud Native Environments

We would like to produce a reference architecture and best practices for sustainable AI with cloud native environments. This will factor in the AI/ML lifecycle.

The document will should aim to discuss the needs for sustainable AI practices.
The document will emphasize the challenges posed by AI's increasing computational demands.
The document will also look at the "good guy" side of cloud-native and their positive impacts on AI scalability, flexibility, resource efficiency, and resilience.
It will outline the core components of a reference architecture for sustainable AI, covering compute resource management, storage optimization, networking and connectivity, and sustainability metrics and monitoring.
It will provide best practices and recommendation, along with insights into future trends and research directions.
The document will finally provide key insights and will advocate for the integration of sustainable best practices for cloud native AI deployments.

cc @rootfs  @terrytangyuan @caldeirav
Starting document: https://docs.google.com/document/d/154mBlTykdZPrR11TmvMjffv0-JZHDT82zN2blmg15Qk/edit
Probably related to:

https://github.com/cncf/tag-env-sustainability/issues/372#issuecomment-2124940573
https://github.com/Green-Software-Foundation/gaic/issues/10

Highlighting the importance of this topic, the EU Artificial Intelligence Act outlines a comprehensive approach to ensuring that AI systems developed or deployed in the EU adhere to environmental sustainability standards.
Here's a breakdown of these key articles for reference:
Article 4a(f): This article introduces the principle of developing and using AI systems in a sustainable and environmentally friendly manner. It underscores the need for AI technologies to be designed with environmental considerations at the forefront, promoting a green technology initiative across the EU.
Article 12(2a): This provision specifies that high-risk AI systems must have capabilities for logging energy consumption and for measuring or calculating resource use. Providers of these systems are also required to assess the environmental impact throughout the lifecycle of the system. This includes not just the operational phase but also the design, development, and decommissioning stages, ensuring a comprehensive overview of the environmental footprint of AI systems.
Article 28b(2)(d): For providers of foundational models, this article mandates adherence to standards that focus on reducing energy and resource use, improving energy efficiency, and enabling the measurement and logging of environmental impacts. The provision extends the responsibility of environmental stewardship across the entire lifecycle of the AI model, from inception through deployment, which significantly broadens the scope of environmental accountability in AI development.
Article 29a(g): This article requires that fundamental rights impact assessments for high-risk AI systems include measurements of reasonably foreseeable adverse impacts on the environment when the system is put into use. This addition ensures that environmental considerations are integrated into the broader framework of rights and impacts assessments, aligning AI system deployment with the EU’s environmental protection goals.
These articles collectively contribute to a regulatory framework that not only promotes environmentally sustainable practices in AI but also aligns these practices with the broader goals of fundamental rights protection and sustainable development within the EU. However the requirements are broad in nature and helping organisations to standardise their implementation approach on open source technologies including models now will also have regulatory importance.

Copied the doc over to the env sust drive:  https://docs.google.com/document/d/1tNfR5yxnqfu9fduEb3108oBGXQ6spyRzA6cBTs9zbnQ/ and will use this as a working copy.

Paper is now being edited here: https://docs.google.com/document/d/1tNfR5yxnqfu9fduEb3108oBGXQ6spyRzA6cBTs9zbnQ/edit


Deleting Projects

Let's come up with some guidelines for removing projects

no updates / no longer works
deprecated

what else?
@vsouza @lfarah @naeemshaikh90 @miguelarauj1o
After that

[ ] update https://github.com/vsouza/awesome-ios/blob/master/.github/CONTRIBUTING.md
[ ] address #1640

I think it would be nice to pay attention to projects lacking a license.
We may notify current repositories that they lack a license (and in the future, take action), and also instruct authors of new contributions of that, taking them to https://choosealicense.com/ ✨
Quoting the Choose a License website:

If you find software that doesn’t have a license, that generally means you have no permission from the creators of the software to use, modify, or share the software. Although a code host such as GitHub may allow you to view and fork the code, this does not imply that you are permitted to use, modify, or share the software for any purpose.

Good idea

This should apply for adding projects as well

Yep!

(...)  and also instruct authors of new contributions of that

For #1640
Seems the library is still fairly new, let's leave it for now


fix/all: use serde for serialization (MAID-2037)

r? @Fraser999
(maidsafe_highfive has picked a reviewer for you, use r? to override)


Area2d compatibility with PV: use non-restricted LOS?

https://ptb.discord.com/channels/@me/914659610093318205/1045677807457542255

Fixed in v0.4.0


New ProblemKind's flags

This PR adds the effects kind that discriminates between constant and non constant assignments, and fixes the PDDLWriter when writing non-constant boolean assignments
Closes #323

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@8bef036). Click here to learn what that means.
Patch coverage: 89.38% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff            @@
##             master     #365   +/-   ##
=========================================
  Coverage          ?   87.15%
=========================================
  Files             ?      176
  Lines             ?    22973
  Branches          ?        0
=========================================
  Hits              ?    20023
  Misses            ?     2950
  Partials          ?        0

Impacted Files
Coverage Δ

unified_planning/io/ma_pddl_writer.py
9.35% <0.00%> (ø)

unified_planning/model/multi_agent/ma_problem.py
28.75% <0.00%> (ø)

unified_planning/model/mixins/metrics.py
77.33% <68.75%> (ø)

...ed_planning/grpc/generated/unified_planning_pb2.py
62.72% <78.57%> (ø)

unified_planning/io/pddl_writer.py
87.92% <81.35%> (ø)

...ning/engines/compilers/usertype_fluents_remover.py
59.87% <90.90%> (ø)

unified_planning/model/problem.py
88.08% <91.30%> (ø)

...lanning/engines/compilers/bounded_types_remover.py
96.29% <100.00%> (ø)

...g/engines/compilers/conditional_effects_remover.py
94.23% <100.00%> (ø)

...ngines/compilers/disjunctive_conditions_remover.py
87.33% <100.00%> (ø)

... and 14 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Hi, I am not sure whether this is the right place for this comment but since this pull request should also enable the action-costs requirement for classical planners, maybe yes.
I tried to solve with the Fast Downward integration (including the changes from the pull request) a task that uses numeric fluents for determining action costs. This would already be covered by the :actions-costs requirement but the PDDLWriter also adds requirement :numeric-fluents, so Fast Downward refuses to attempt the task (on the PDDL level, not the problem kind level). Is it possible to narrow down the PDDLWriter to not include this requirement in such situations?

@roeger thanks for highlight the point, you are right! Now the PDDLWriter should not add :numeric-fluents in these situations.


issues with previous version

its not taking login credentials even though i provide correct details.When are you planning to release new version?

I have released a new version v1.7.0 which should allow you to login easily using the Udemy website itself.
The new version will support all kind of accounts, be it business, google or facebook. Download, test and provide feedback.


Dead link in README.md

The link just after "May, 11, 2020" should be
https://github.com/facebookresearch/pytorch-dp/blob/master/torchdp/scripts/compute_dp_sgd_privacy.py
instead of
https://github.com/facebookresearch/pytorch-dp/blob/master/torchdp/compute_dp_sgd_privacy.py
(without /scripts in path) since the target has been moved into script/ subdir.

Thank you for pointing this out. Will fix now :)


Disable SLF4j's loggerNameMismatch warning

See http://www.slf4j.org/codes.html#loggerNameMismatch

 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.


Fix validator if no CI runs

Fix to adabot for https://github.com/adafruit/circuitpython-org/issues/1102

Still running forever. Maybe the test is re-trying due to this change??

I think it's the GitHub API Rate Limiting that make it wait up to an hour before continuing.


Easylist filter doesn't have any effect

Hi,
I've configured my Splash instance to use the Easylist filter and the logs show the rules are correctly loaded at startup.

2018-03-08 15:12:36.204651 [-] Loading filter easylist
2018-03-08 15:12:38.565238 [-] 15799 rule(s) loaded for filter easylist

However, Splash doesn't block several resources from being downloaded when loading a certain page. E.g:

2018-03-08 15:08:06.224889 [network] [139719454374936] GET https://track.strikead.com/web/conv?type=img&target=8921&id=44010

While one (only) seems to be correctly filtered:

2018-03-08 15:08:10.689377 [request_middleware] Filter easylist: dropped<PHONE_NUMBER>74936 GET https://www.google.fr/ads/ga-

Easylist behaves as expected when used with Adblock Plus in Chrome which leads me to think it's not a rule issue.

Shall we close this in favor of https://github.com/scrapinghub/splash/issues/668?