Error: (sqlite3.OperationalError) near "ON": syntax error

When I run any command, I get the error :

(sqlite3.OperationalError) near "ON": syntax error

Googling seems to indicate an incompatibly SQLite version (version >=3.24 needed)
When I run python3.8 -c "import sqlite3; print(sqlite3.sqlite_version)" I get : 3.22.0
Running this command solves the issue :

sudo apt-get install sqlite3

This updated sqlite3 to 3.31.1 and now everything works fine
I'm using WSL

thanks for the report
the ON syntax is used for upserts into the sqlite db
sqlite is bundled as a system package not a python package so an automated fix isnt possible
added a sqlite version check during the ctc setup with an error message that shows your solution in 879cc9b968b0661a11007098cba76aa99bc03b2b


Configuration scripts for Federation on Z and P, and bare metal

Please provide a description for what this PR is for.
https://issues.redhat.com/browse/OSSM-728
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[x] Configuration Infrastructure
[x] Docs
[x] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[x] Does not have any changes that may affect Istio users.

/retest

Rebased in https://github.com/maistra/istio/pull/670


Both Windows Client and Windows Server recommend 'Audit Account Lockout' set to 'Success' audit - should be 'Failure

Under 'Recommended Audit Policies by Operating System', there are recommended audit policies, first for Windows 10 / earlier clients, and then for Windows Server / earlier servers.
Each contains the Windows Default, and a Stronger Recommendation, that 'Audit Account Lockout' is set to 'Success: Yes | Failure: No'.
However this category doesn't have Success events, only Failure ones - so setting this category to log 'Success' is incorrect.
The following page is more accurate: https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/audit-account-lockout
'This subcategory doesn’t have Success events, so there is no recommendation to enable Success auditing for this subcategory.'
For these policies to be effective, the Windows Client and Windows Server tables should be updated to 'No | Yes' instead of 'Yes | No'.

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

ID: 8ba42209-cc0a-d257-5566-a101d91b89ea
Version Independent ID: 7973c0ca-3afd-619f-a08e-43873f2e8dbf
Content: Audit Policy Recommendations
Content Source: WindowsServerDocs/identity/ad-ds/plan/security-best-practices/Audit-Policy-Recommendations.md
Product: windows-server
Technology: ad-ds
GitHub Login: @iainfoulds
Microsoft Alias: daveba

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Cross-zoom for the Supernova tab

Closes #560
For the Supernova profile, we now synchronize any x-axis zoom on the lightcurve with the ML score, color, and rate graphs (zoom & de-zoom). Note that the reverse does not work here (i.e. zooming on the color graph does not apply zoom on the lightcurve), although it can be added if need be (but one-way is enough?).

I think this kind of feature should be better done purely on client side, and without actually calling full redraw function. Otherwise the zooming become slow on slower network connections. I will try to make simpler version based on what we already have for cutouts - it will be slightly more complex without pattern matching, but looks still doable

Thanks for proposing a better implementation! Actually, I tried a client side version as is done for the cutouts, but the problem was the pattern matching with the current IDs... Do not hesitate to rename if need be.

Closing. See #571 for a better implementation.


Add AWS guide

Add a new AWS guide that covers all the "gotchas" of running Calico in AWS

Worth mentioning that the kubeadm setup guide correctly configures ipip and nat-outgoing.
http://kubernetes.io/docs/getting-started-guides/kubeadm/


Handle auth errors and show toasts

closes #3
Handled the auth errors by wrapping them in try-catch and showed toasts for errors as well as login and signup success

@swymbnsl Please provide some screenshots

Good job
Thanks for the help


Fixed default Install paths for windows.

Fixed default Install paths for windows.
Added logging mappings for filbeats.
Added Example to show prospector use for node attributes.
Upgraded filebeat to 1.2.1

@prerakpshah could you please look into the travis?

@vkhatri ; Done.

@prerakpshah Thanks for resolving. FYI, to maintain attributes precedence properly, derived attributes are better off to recipe. I will be moving the derived attributes from attributes/default.rb to recipe.


PyFluvioError: WatchApi version not found

I setup fluvio and it worked well on CLI. However, I ran into a problem while following instruction using the fluvio package for Python. I  got this issue:
PyFluvioError: WatchApi version not found

In detail, I try example on this. It worked well with CLI, however, running on .py script, I ran into this:
Traceback (most recent call last):
  File "****************/Challenges/Quira17/python_producer.py", line 10, in <module>
    fluvio = Fluvio.connect()
  File "***************/anaconda3/envs/octo/lib/python3.10/site-packages/fluvio/__init__.py", line 657, in connect
    return cls(_Fluvio.connect())
mymodule.PyFluvioError: WatchApi version not found

Please help!

@MinLee0210 can you please update your fluvio cluster and python client?
Let us know if that fixed the problem.

About python client, I installed the fluvio-0.16.1 version. About the cluster, I followed instructions and tried both the local version and the docker version. Both worked well with CLI, but ran into troubles with .py scripts.
May I know reasons for the problem I got? I'm curious to understand if there are any steps I can take on my end to resolve it. Besides, this is a new issue for me, and I'm eager to learn more.

@digikata can you explain why this happened?

To be honest, I can't. I such a newbie to this, just read and run the textbook.
Here is the code that I use to test: https://github.com/8Opt/Wipe.git
P/s: If I can do anything to lighten the problem, please tell.

@MinLee0210 Sorry to hear you are having trouble. we are investigating this, & need to clear some internal tests and release and updated version of the python client

I have just tried. It worked perfectly!
Thanks for your time and dedication!

Fixed


Admin Page - Not letting login

Describe the bug
Hi, I am trying to access Admin Page in LabelStudio. I have created super user using manage.py but every time I am trying to login in Admin page, it just returns the same Admin login page again. Any help/information on this?

Hello kaushikabhishek87,
Try logging into LS with the admin user, then navigate to admin page

I am facing the same issue. The above soultion didn't work. When trying to login with the superuser, I am getting membership not found for the user.

is it deliberate that the admin access not provided for community edition and is only availibale for community edition.

I have an same problem

This is because the InactivitySessionTimeoutMiddleware is enabled per default and this middleware will logout users immediately when last_login is not set in the current session.
This is set in the default login view:
https://github.com/HumanSignal/label-studio/blob/4dd9e7a8d6fdbd9921582ca9fe818e7f2cd38167/label_studio/users/functions.py#L96-L98
And required in the InactivitySessionTimeoutMiddleware middleware:
https://github.com/HumanSignal/label-studio/blob/4dd9e7a8d6fdbd9921582ca9fe818e7f2cd38167/label_studio/core/middleware.py#L212-L219
But since the login page of the Django admin is not setting this session variable, users are immediately logged out.
You can't login via the default login page either, as an exception will be raised regarding membership:

QUICK FIX
Disable the InactivitySessionTimeoutMiddleware via the environment:
export INACTIVITY_SESSION_TIMEOUT_ENABLED=0

Or add this to the .env file or run the server like so:
INACTIVITY_SESSION_TIMEOUT_ENABLED=0 python ./label_studio/manage.py runserver

I think this should work as expected out of the box, so I added a PR to adjust the middleware: https://github.com/HumanSignal/label-studio/pull/6800


Add fit to BaseTransformer

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (7de74f2) to head (f5c7ebc).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #273   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           38        38
  Lines          989       992    +3
  Branches        40        40
=========================================
+ Hits           989       992    +3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[Question] Wrong translation but it seems external

Months are incorrectly translated into Polish. In a wrong form (e.g. should be marzec but there is marca which is used in different contexts i.e. only when preceded by the day count i.e. 11 marca). But I've just done the translation into Polish on Weblate and the month names were not there. They seem externally-provided. Do you have any idea where should I knock to help and correct the translation? Or maybe we can overwrite the external translation with our own? I am using the current version from Google Play.
Thanks!

May you please share a screenshot, @w-jablonski?
I suppose it is from the Date Range Picker.
What do you think, @arafaatqureshi?

thanks

@savvisingh,
first: thanks for your awesome Date Range Picker.
second: may you guide @w-jablonski how to update the translation? I am not sure how you handle it.


Feature/move dummy data into initial state displaydata from redux store to instructors pages

What we did:
transferred the dummy data to the instructor reducer initial stat
What files were changed:
src/redux/reducers/instructorReducer
Why were these changed made:
to use the reducer initial state instead of the dummyData so when we have backend endpoints we can pull data correctly
coauthor @Rodgers31
!(https://www.loom.com/share/f3d08ae3dc824825958f9c845806f731)

Somethings of note: approved and approved_by have been moved from the instructors to the instructor_list table, which just shows if the instructor is qualified to teach that specific course. instructor_bio will be referred to as bio in the json. A course object in the course_schedule array will have a session property with a type array, holding all the dates and times of that specific scheduled course (e.g., { course_id: 3, size: 12, session: [{start_date, end_date, start_time, end_time}, {start_date, end_date, start_time, end_time}] }).

Thanks for the note. We will definitely change the initial state later once we have a better idea about what we get from the api calls.


doc: add video links

Plus clarifications for disk devices.

Documentation preview available at: https://linuxcontainers.org/lxd/docs/pr.11377/

Gnaah, the spelling issue is in the title of the YouTube video. So this needs an update to the Sphinx extension ...

https://github.com/canonical/lxd-sphinx-extensions/pull/7 (in case anyone wants to review ;) )

Approved the PR

Passing now. :)


wrapChild doesn't pass on options to the created child logger as expected

https://github.com/pinojs/pino-http/blob/9109d5446a9c2cc02ba5b98f3bd345d9c24db61a/logger.js#L83

Based on the published API of pino, passing option overrides to a child logger is the second argument to .child, not the first. https://github.com/pinojs/pino/blob/master/docs/api.md#loggerchildbindings-options--logger

I think this bit of code needs an update and tests written for that use case, as well as validating if the user has passed logger & any pino options to pino-http that are ignored by .child.

Thanks for reporting! Would you like to send a Pull Request to address this issue? Remember to add unit tests.

I'm happy to take a stab at it, I'll let you know if I get a PR up or if I back out.

@mcollina 🤦🏽 I don't know how I ended up in the commit I linked, but I was looking at 6 year old code, the current code is as expected. Sorry for the incorrect bug report.
https://github.com/pinojs/pino-http/blob/master/logger.js#L218
https://github.com/pinojs/pino-http/blob/44c61b76c0c05dace6b4c701d12c6a546c6ad013/logger.js#L218


TODO List

Hey. Looks amazing. Can you add a TODO list?

TODO list for what need to be done in this repo.


Add int32_publisher_custom_transport_usbcdc example

This example demonstrates how to enable ROS2 communication via USB CDC and log output on the ESP32-S2.

@pablogs9 could you review my PR? I would like to contribute this example

Hello @SamuelLost, thanks for the contribution but I have no time to test it. Could you somehow add it to the CI so we can ensure it builds correctly?

Hello @SamuelLost, thanks for the contribution but I have no time to test it. Could you somehow add it to the CI so we can ensure it builds correctly?

Hello, thanks for the feedback! I'll try to add it to the CI to ensure it builds correctly.

It seems that the new example is failing in CI

@mergify backport rolling humble iron

@SamuelLost Thanks for the contribution!


removing the hardcoded Sake version from build.cmd

#244

This pull request is now managed with CodeReviewHub. Refresh.

@RandalliLama

:shipit:


Email service base component

Develop email service base component for sending email that can be extendable to support many email provider such as smtp, sendgrid etc.

IEmailSender  now auto resolved to SimplCommerce.Module.EmailSenderSmtp.EmailSender, we can configure smtp by using gmail
SmtpServer: smtp.gmail.com
SmtpPort: 587
SmtpUsername: your email address
SmtpPassword: your password
Sendgrid or others can be added later


Check into calc. of derivatives on irregular axes

Reported by Ansley B Manke on 4 Apr 2003 22:35 UTC
See John Donners 3-Apr-2003

Dear Ferret developers,
I have been calculating first and second order derivatives in Ferret. I
have been doing this along the vertical axis within the Levitus
climatology. Since there was no second order derivative function in
Ferret,I calculated this by hand. The only difficulty was the
non-equidistant vertical grid used in the Levitus climatology (as in
most oceanographic datasets). But when I checked this I also saw that the
first order derivative (@ddc) did not account for the non-equidistant grid. Is
it possible to include the effect of non-equidistant grids, and also add
a function (similar to @ddc)  to calculate the second order derivative? It
would further improve an already very practical tool. The coefficients
needed to calculate the first- and second order
derivatives are:
f''(x)~= a f(x-h1) + b f(x+h2) + c f(x)
with a=2/(h1h1+h1h2), b=2/(h2h2+h1*h2), c=-a-b
and
f'(x)~= a f(x-h1) + b f(x+h2) + c f(x)
with a=-1/(h1+h1h1/h2), b=1/(h2+h2h2/h1), c=-a-b
With regards,
John Donners
<EMAIL_ADDRESS>Royal Netherlands Meteorological Institute
Dept. Oceanographic Research
NOTE: Ferret does f'(x) = - f(x-h2)/[h1+h2]
Which is a valid approximation:  see (University of
Illinois reference)
http://www-ncce.ceg.uiuc.edu/tutorials/pde/html/node2.html
Using this reference we could compute a higher-order approximation
and compare with Donners equation.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/524

Comment by<EMAIL_ADDRESS>on 6 Nov 2003 19:54 UTC
move to Ferret Tasks, reassign to Ansley

Comment by<EMAIL_ADDRESS>on 10 Nov 2003 22:02 UTC
Introduce a new derivative, dd2, keeping the current
one as is.

Comment by<EMAIL_ADDRESS>on 5 Nov 2004 19:19 UTC
Changing Component of bugs in "Ferret Tasks" from All to Main


Fixing error in latlon.py

I found a spot in latlon.py where I mixed up the row-col ordering and x-y ordering between Numpy and Rasterio.

I've added an image and two CSV files for setting up a test for latlon.py. When you run get_latlon, you get a dictionary with keys 'latitude', 'longitude', 'X', and 'Y'. I added two CSV files, latitude.csv and longitude.csv, so that the columns of each are X and the indices are Y, and the value at position x, y is the latitude or longitude for that index pair.


Equivalence checking of Ibex in Yosys

We would like a way to automatically verify (in a CI) that our Yosys-UHDM frontend is working correctly for Ibex. Equivalence checking in Yosys seems to be a good way to do it.
There is some work on that started here: https://github.com/antmicro/yosys/tree/uhdm-yosys-equiv-check
The idea is to equivalence check Ibex parsed with Surelog against Ibex parsed with Yosys' built-in parser (after putting it through sv2v).
Unfortunately, most of the modules are failing so far: https://github.com/antmicro/yosys/actions/runs/956724171

Fix the Surelog project definitions for each module.
They seem all wrong. Missing includes and all

Fix the Surelog project definitions for each module.
They seem all wrong. Missing includes and all

In some cases, yeah, but even modules that don't have missing includes are failing, like ibex_pmp.


Feature Request: Contributors, add parameter to allow load path to be passed in

When we load deployment contributors, the path they are loaded from is pretty esoteric (a subfolder of the sqlpackage.exe that is currently executing or a known path in "c:\program files (x86)") this makes deploying contributors almost impossible without admin rights.
Please give us a parameter we can use like /p:DeploymentContributorLoadPath=c:\blah;c:\blah\blah wich will be search locations for deployment contributors.
thanks!

This is on my list to fix and release in the next couple of months.

Excellent thank you :)

@GoEddie - I'm implementing this now, and I wanted to run some approaches by you and get your thoughts.
My current thinking:

Load any contributor assemblies from the same directory as the dacpac. In a sqlproj, a customer would add a reference (project or file) to the contributor assembly. This way, the contributor assembly is output by the build along side the .dacpac and loaded without having to deal with any paths. I think this guides users to think of contributor assemblies as a build artifacts to include with a .dacpac.

Load from an "Extensions" directory relative to the sqlpackage binary. Placing contributors here would handle the use case for reusing common contributors across all multiple deployments.

Adding another a command line parameter to sqlpackage /p:AdditionalContributorPaths=C:\Temp and the corresponding DacService DacDeployOption.AdditionalContributorPaths API, is an option. But I think the #1 and #2 conventions cover the bases, and I'm wonder if we need this. I'm leaning towards not adding this.

What do you think? Would #1 and #2 meet your needs, or do we need #3?

Hi Brian,
I think for option #2 it would be impossible to version contributors and you would need a different sqlpackage for each different contributor version?
If you went with #1 and you referenced dacpacs in different directories using the hintpath, would all the directories be searched?
For me, number #3 is the best way - we could then include contributors in nuget packages which end up being something like package/lib/net40/contributor and we can share the same contributor version with other builds. Each build can specify exactly the contributors and versions that we want loaded.
ed

I think for option 2 it would be impossible to version contributors and you would need a different sqlpackage for each different contributor version?

Each sqlpackage version has it's own Extentions sub-directory, so yes contributors, will been to be compiled against that version.

If you went with 1 and you referenced dacpacs in different directories using the hintpath, would all the directories be searched?

No, just the directory of the target dacpac being deployed.
Thanks for the feedback. I'm moving forward with all three. However, I'm not adding sqlproj support for specifying addition paths. This will be a deployment time only construct via sqlpackage or the DacServices API.

Awesome! This sounds amazing :)

+1 for this
Not sure what the end product will be, but being able to include a contributor in a sqlproj and have that as output with the dacpac and being able to deploy it, all in 1 smooth flow without even requiring admin rights would be a much much much better experience than the semi-nightmarish scenario i'm/we're in right now.

The sqlpackage 18.3.1 release has this update. Please open an issue in this project if you run into any problems.


Slots

PLIP (Plone Improvement Proposal)
Responsible Persons
Proposer: Víctor Fernández de Alba (@sneridagh)
Seconder: Timo Stollenwerk (@tisto)
Abstract
Add static defined in configuration (fill) slots that later can be filled with slots components.
Motivation
The "Viewlet" concept in Plone Classic is very powerful, and fits perfectly often to client requirements. The ability to inject a piece of content somewhere pre-defined in the page conditionally (per content or per route) is useful.
Assumptions
No assumptions.
Proposal & Implementation
We will add the ability to register a slot component defining:

Name of the slot this slot component belongs
Component being used
Predicates (optional, all predicates should be true for the slot component to show.

Deliverables
@plone/registry new API for registering/managing slots.
Documentation.
Risks
No risks.
Participants
Víctor Fernández de Alba

Done in #5775


Confusing - Is AAD Connect required or not?

The Prerequisites section is confusing. "the users must be in Azure Active Directory (Azure AD), which must be synced from either the on-premises or cloud environment." What does it mean for the users in Azure AD to be "synced from the cloud environment"? If the user in Azure AD is a cloud-only account, there is no "synchronization" involved anywhere.

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

ID: 682d5ec8-1123-e3d7-9def-4085790be405
Version Independent ID: 73e5554e-c5cf-7a8c-0bfb-59e904e775f6
Content: Secure Azure VPN gateway RADIUS authentication with NPS server for Multi-Factor Authentication
Content Source: articles/vpn-gateway/vpn-gateway-radiuis-mfa-nsp.md
Service: vpn-gateway
GitHub Login: @AhmadNYasin
Microsoft Alias: genli

@cap273 AAD Connect will be required if your are syncing with AAD. If you are syncing with On-Premise, then you can use your on-premise authentication.

@cap273 We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Docker Image migration query

Hi @origamiofficial - hope you're doing well!
Firstly, thank you very much taking the initiative to get this up and running, the current docker tag has been bugging me and there hasn't been an update since late December :(
I am contemplating migrating over from the original pihole-unbound image due to it being abandoned for months aside from getting the occasional tag update. But want to cover my bases before I begin testing a back-up instance on my primary server (I have a Pi dedicated for running Pi-hole that runs gravity-sync onto a backup instance on my main server).
Namely the ports and environmental variables, if I were to replace the image from chriscrowe/docker-pihole-unbound to rlabinc/pihole-unbound, would the container spin up the same way? Mitigating the need to change anything else aside from the image name? I want to assume yes from a previous query regarding volumn mounting but wanted to make sure it would be the same, just with more support and whatnot!
Again, appreciate the initiative man!

Hi @louis-manabat, thanks for your query. Have a look at #20. Also please note that this image supports all the environment variable same as official image. If you need anything else, let me know!

Perfect! I'll definitely look into it then - thanks very much!

Hey @origamiofficial sorry, I have returned with an issue with the migration.
I was able to successfully migrate my backup instance over to your image, but for some reason, I wasn't able to with the pihole server. The issue seems to lie with pihole-FTL and it failing to start the DNS resolution.

2024-01-28T09:57:16.655579926Z s6-rc: info: service _postFTL successfully started
2024-01-28T09:57:16.656175363Z s6-rc: info: service legacy-services: starting
2024-01-28T09:57:16.685947442Z s6-rc: info: service legacy-services successfully started
2024-01-28T09:57:21.570942936Z s6-rc: info: service legacy-services: stopping
2024-01-28T09:57:21.576555052Z s6-rc: info: service legacy-services successfully stopped
2024-01-28T09:57:21.576860067Z s6-rc: info: service _postFTL: stopping
2024-01-28T09:57:21.879065498Z s6-rc: info: service _postFTL successfully stopped
2024-01-28T09:57:21.879898321Z s6-rc: info: service lighttpd: stopping
2024-01-28T09:57:27.125060667Z   [✗] DNS resolution is currently unavailable

This was a previous issue with the pihole server with the other image, but the solution seemed to be adding the following to the compose file:
dns:       - "<IP_ADDRESS>"
From what it seems, with or without the dns is still failing the service - any advice on what could be the issue?

Hi @louis-manabat again, can you share the Docker command/compose you've used?

Hi @origamiofficial - sorry been busy with work and forgot to get back to you.
I have it working at the moment with the following (omitting the unnecessary env portation)
version: "3.3"

services:
  pi-unbound:
    image: rlabinc/pihole-unbound
    container_name: ${CONTAINER_NAME:?error}
    hostname: ${PIHOLE_HOSTNAME:?error}
    ports:
      - "${PIHOLE_WEBPORT:-80}:80/tcp" # Allows use of different port to access pihole web interface when other docker containers use port 80
      - "<IP_ADDRESS>:53:53/tcp" # Had to add IPs here to make it work
      - "<IP_ADDRESS>:53:53/udp"
      - "67:67/tcp"
      - "443:443/tcp"
      # - "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
    volumes:
      - type: bind
        source: ${PIHOLE_DIR_BIND:?error}
        target: /etc/pihole
      - type: bind
        source: ${DNSMASQ_DIR_BIND:?error}
        target: /etc/dnsmasq.d
    # dns:
    #   - "<IP_ADDRESS>" # This initially worked, but not anymore
    cap_add:
      - NET_ADMIN
    restart: always

Instead of adding the IP in front of port, can you just simply put 53:53/tcp & 53:53/udp?

Unfortunately no, what I currently have is the reason why it's able to run properly

It seems I can't reproduce the issue on my end with both amd64 & armhf devices. Also, I would suggest you to check the DNS settings page
Pi-hole settings > DNS tab and under the Upstream DNS Servers make sure the value of Custom 1 (IPv4) is set to <IP_ADDRESS>#5335 and no other DNS servers are present. As I don't know the Docker configuration of your device, it is really hard to help you. Hope you understand!

It seems I can't reproduce the issue on my end with both amd64 & armhf devices.
Here are some possible solutions:

I would suggest you to check the DNS settings page Pi-hole settings > DNS tab and under the Upstream DNS Servers make sure the value of Custom 1 (IPv4) is set to <IP_ADDRESS>#5335 and no other DNS servers are present.
You may also have a quick look at Pi-hole's official docker repo for any changes they've done that can cause this issue. Note that this image supports all the environment variables same as the official one.
If you're using Ubuntu or Fedora then check this.
You can also try the official image to check if it works or not. If not then it is best to open a new issue in the official repo so that they can fix it.

As there is no further communication, I'm closing this issue as solved!


Generation stopped working after updating Flutter

This is a lame defect because I updated flutter and i don't know what version of flutter i came from.  During that update everything broke and I never realized that i don't have a way to revert to a specific versoin of flutter.   My code that worked on that version no longer worked on the updated version due to libraries being incompatible.  After making all of the required library updates to work with the updated flutter I find myself with a version of built_value_generator that doesn't generate the files anymore.  I'm not sure though if this is the fault of built_value_generator or built_redux.  The portion of the built_redux file (actions.g.dart) that is the redux code works but the portion of the actions file that is from built_value_generator isn't there and all of the remaining *.g.dart files are not being generated.  Any help or even just guidance on how to debug something being run by build_runner.
pubspec.yaml
dependencies:
  #flutter:
  #  sdk: flutter
  #flutter_localizations:
  #  sdk: flutter
  meta: ^1.0.4
  fluro: ^1.3.5
  flutter_built_redux: ^0.6.0
  built_redux: ^7.5.0
  built_collection: '>=2.0.0 <5.0.0'
  built_value: '>=5.5.5 <7.0.0'
  intl: any
  intl_translation: any
  path_provider: ^0.4.1
  built_redux_rx: ^0.1.2
  cloud_firestore: ^0.8.1
  cloud_functions: ^0.0.4
  firebase_auth: ^0.6.2
  firebase_dynamic_links: ^0.1.0
  google_sign_in: ^3.2.1
  rxdart: ^0.19.0
  ulid: ^1.0.1

dev_dependencies:
  #flutter_test:
  #  sdk: flutter
  #flutter_driver:
  #  sdk: flutter
  built_value_generator: ^6.1.4
  build_runner: '>=0.9.0 <0.11.0'
  test: ^1.0.0
  quiver: '>=0.21.0 <3.0.0'

dependency_overrides:
  rxdart: ^0.19.0

build.dart in .dart_tool
import 'package:build_runner/build_runner.dart' as _i1;
import 'package:built_redux/builder.dart' as _i2;
import 'package:built_value_generator/builder.dart' as _i3;
import 'package:source_gen/builder.dart' as _i4;
import 'package:build_config/build_config.dart' as _i5;
import 'dart:isolate' as _i6;

final _builders = <_i1.BuilderApplication>[
  _i1.apply('built_redux|built_redux', [_i2.builtRedux],
      _i1.toDependentsOf('built_redux'),
      hideOutput: true, appliesBuilders: ['source_gen|combining_builder']),
  _i1.apply('built_value_generator|built_value', [_i3.builtValue],
      _i1.toDependentsOf('built_value_generator'),
      hideOutput: true, appliesBuilders: ['source_gen|combining_builder']),
  _i1.apply('source_gen|combining_builder', [_i4.combiningBuilder],
      _i1.toNoneByDefault(),
      hideOutput: false, appliesBuilders: ['source_gen|part_cleanup']),
  _i1.applyPostProcess('source_gen|part_cleanup', _i4.partCleanup,
      defaultGenerateFor: const _i5.InputSet())
];
main(List<String> args, [_i6.SendPort sendPort]) async {
  var result = await _i1.run(args, _builders);
  sendPort?.send(result);
}

I disabled built_redux and am still finding that built_value_generator doesn't have any output so this is probably just a built_value issue.

Appears to be built_value and not built_redux


Run rpa in centos error. Setting headless_mode=True, i have no response; When i setting headless_mode=False return error

I run code as RPA for python's WEB AUTOMATION demo on centos. When i setting headless_mode=False on init(), code can init, but on url step, return error as  b'ERROR - step only supported in live mode using Chrome browser\n'
tagui_out ERROR - step only supported in live mode using Chrome browser .
When i seting headless_mode=True on init. Code have no response or log, more than 10 min. I print Intermediate steps, after ### ### tagui_cmd "/home/hh/.tagui/src/tagui" rpa_python headless, code is stoping.
When is run "/home/hh/.tagui/src/tagui" rpa_python headless command  on my machine, it return:
(base) [hh@localhost RPA]$ "/home/hh/.tagui/src/tagui" rpa_python headless
/home/hh/.tagui/src/tagui: 行 315: 26477 段错误               $chrome_command --user-data-dir="$TAGUI_DIR/chrome/tagui_user_profile" $chrome_switches $window_size --no-sandbox > /dev/null 2>&1
已终止
When is run "/home/hh/.tagui/src/tagui" rpa_python google-chrome command  on my machine, it return:
**(base) [hh@localhost RPA]$ "/home/hh/.tagui/src/tagui" rpa_python google-chrome
START - automation started - Tue Feb 27 2024 10:02:54 GMT+0800 (CST)
LIVE MODE - type done to quit**
I'm looking forward your help. I want to simulate web automation process by Xpath on centos successful, then can run online.
Hope for your answer, than you very much!

Hi @balicheng sorry for late reply I just got to work on GitHub issues! Is this still a problem?


Weighted Aggregations: Counts and Variances

Ingestion pipeline for PUMS is working and it's time to start aggregating the data.
The first variable to calculate is Limited English Speaking Population in 2015-2019. I chose to start with rhis variable  because it uses PUMS data and relies only on demographic info.
Calculate Count
Calculating the count requires only the person weight in the PWGTP column. Per page 9 of the PUMS documentation

To produce estimates or tabulations of characteristics from the PUMS, add the weights of all
persons or HUs that possess the characteristic of interest.2
For instance, if the characteristic of
interest is “total number of black teachers”, simply determine the race and occupation of all
persons and cumulate the weights of those who match the characteristics of interest.

This should be pretty straightforward. If I get stuck on the variance I will work more on these counts.
Calculate Variance
This is more complex as it relies on not just one weight but 80 replicate weights in columns PWGTP1-80. These 80 replicate weights are used to find a single measure of standard error via this formula on page 13 of the PUMS documentation

The technical documentation for the NYC housing and vacancy survey has detailed instructions on how to implement this equation (or possibly a distinct, similar equation) in SAS, STATA and R. The python package samplics has an estimation replication implementation that may use the same equation. I'm quite sure that the math is exactly the same so my plan is to go through an example from the HVS in samplics and see if I arrive at the same answer. If I do then I'll implement a samplics function to calculate variance for both PUMS and HVS which would be simplest. If not an implementation that calls an R function from the python code will have to be developed.
Note that this assumes that the HVS and PUMS data should use the same equation for variance. I assume that they do but will need to double check.

@AmandaDoyle I have made some progress on the replicate weights variances calculations.
The samplics ReplicateEstimator class accepts three methods: bootstrap, brr, and jackknife.
On page 66 of the NYCHVS guide to estimating variances, it says

Although we are using SDR replicate weights, SAS assumes that we are using Balanced Repeated Replication (BRR) replicate weights. For this reason, the estimates from PROC SURVEYLOGISTIC are slightly different than
the other methods.

The samplics documentation doesn't mention SDR weights. I think it's worth asking Erica about the difference but for now I'm going to proceed with assumption that samplics doesn't support the variance calculation that HVS uses.

This blog post was my guide to calculating SE for each bucket in a group by

Next two steps are:

Calculate medians based on directions in NYCHVS guide to calculating variances
Read about how to call R code from python module. If it's easy to work with then it may be better than samplics even if samplics can do the calculations we want. Having a common language with HVS to interpret their technical documentation and work with them directly might be important as well

I found a python package Rpy2 that allows for calling R functions from a python script. I recreated the calculation of total number of occupied units with SE based of the NYCHVS guide to calculating variances. I think that this is a better approach than samplics, there is better documentation online for googling through problems.
I have three to-dos right now:

Learn about calculating SE of median from HVS documentation
Write code to do first calculations of custom variables from PUMS
Find or create mapping from HVS sub borough areas to PUMAs

The approach to calculating variances was finalized as Rpy2


winmerge.json: Changed link from http to https

Thank you. I fixed some formatting which was causing the tests to fail. Also added auto-updating.


Add Hello World in Brainf*ck

Everyone knows this language: https://en.wikipedia.org/wiki/Brainfuck

Pulled this in #74


Fix the NoHeaderTensorSerializer for 1D tensors (other than tokens)

Before submitting

[ ] Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?

What does this PR do?
This is a hotfix for #92 but should probably not be considered a permanent solution.
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in GitHub issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Hey enrico-stauss, would you mind adding a test ?

Hey enrico-stauss, would you mind adding a test ?

Done. I'm not sure if there are any standards inplace for unit testing in this repository but I hope you find the test satisfactory.

Hey @enrico-stauss, I pushed some changes to your branch. Mind reviewing it ?

Yeah I had a check first, where I would set up only if the 'self._dtype' property of the 'NoHeaderTensorSerializer' was not set but then I had issues if there were tensors of different dtypes within the dataset, as the serializer was the same object for all of them.

Yeah I had a check first, where I would set up only if the 'self._dtype' property of the 'NoHeaderTensorSerializer' was not set but then I had issues if there were tensors of different dtypes within the dataset, as the serializer was the same object for all of them.

Yes, it is simpler to deepcopy the serializer and setup them up. This reduces chance for errors.


self sign certificates not working for me

Do you want to request a feature or report a bug?
Support question
What did you do?
I want to use Traefik whith self sign certificates
What did you expect to see?
I expect to see it running without errors, i want to route traffic to some docker containers web apps and force https and other http
What did you see instead?
The traefik docker container stops
Output of traefik version: (What version of Traefik are you using?)

Docker
docker run -d --name traefik --hostname traefic -p 8080:8080 -p 80:80 -p 443:443 -v $PWD/traefik.toml:/etc/traefik/traefik.toml -v /var/run/docker.sock:/var/run/docker.sock traefik
traefik.toml
[web]
address = ":8080"

defaultEntryPoints = ["http", "https"]
[entryPoints]
  [entryPoints.http]
  address = ":80"
    [entryPoints.http.redirect]
    entryPoint = "https"
  [entryPoints.https]
  address = ":443"
    [entryPoints.https.tls]
      [[entryPoints.https.tls.certificates]]
      certFile = "ssl/traefik.crt"
      keyFile = "ssl/traefik.key"

[docker]
endpoint = "unix:///var/run/docker.sock"
domain = "domain.example"
watch = true
exposedbydefault = false

If applicable, please paste the log output in debug mode (--debug switch)
docker logs traefik command shows:

time="2017-12-18T16:03:02Z" level=info msg="Using TOML configuration file /etc/traefik/traefik.toml"
time="2017-12-18T16:03:02Z" level=error msg="Error creating TLS config: tls: failed to find any PEM data in certificate input"
time="2017-12-18T16:03:02Z" level=fatal msg="Error preparing server: tls: failed to find any PEM data in certificate input"

Thanks for your interest in Traefik !
Every question asked in issues means less features 😉.
The issue tracker is for reporting bugs and feature requests only.
For end-user related support questions, refer to one of the following:

Stack Overflow using the "traefik" tag
the Traefik community Slack channel


Add gas overlap option to config

This PR adds the option of changing the gas overlap method via the configuration file. Closes #248.
Requires JANUS to be updated to 24.11.05 and AGNI to be on the latest version (as of 5 November).

The k-terms in the spectral files are computed with each gas treated separately. However, obviously with multiple gases in the atmosphere they might have overlapping opacities in shared spectral regions. There are various methods to handle this problem of combining k-terms. Three of these are random overlap (RO), equivalent extinction (EE), and RO with resorting+rebinning of k-terms (RORR). There are other methods supported by SOCRATES, but these other methods are fairly niche.
I've added docstrings to the files in src/proteus/config/ so in theory the documentation should update automatically. However, I agree it's probably good to clarify what these abbreviations mean.

The k-terms in the spectral files are computed with each gas treated separately. However, obviously with multiple gases in the atmosphere they might have overlapping opacities in shared spectral regions. There are various methods to handle this problem of combining k-terms. Three of these are random overlap (RO), equivalent extinction (EE), and RO with resorting+rebinning of k-terms (RORR). There are other methods supported by SOCRATES, but these other methods are fairly niche.
I've added docstrings to the files in src/proteus/config/ so in theory the documentation should update automatically. However, I agree it's probably good to clarify what these abbreviations mean.

Thanks for clarifying this.


Added support for .net6 and updated license

Updated to support .NET 6
Updated license year

Good job sir! :100:


Debug new ephy_testing_data

Recent changes to the ephy_testing_data have caused some data tests to start failing. Investigating causes and workarounds now (suspect it is an improperly stubbed file).

Maybe it is a issue with the fact that the file size have to be a multiple of channel (384 + 1)
This line https://github.com/SpikeInterface/spikeextractors/blob/master/spikeextractors/extractors/spikeglxrecordingextractor/spikeglxrecordingextractor.py#L63
create a memmap without taking care that the number of sample is compatible with the number of channel.
neo do exatly the same : https://github.com/NeuralEnsemble/python-neo/blob/master/neo/rawio/spikeglxrawio.py#L96
I will fix the neo implementation for this.
Does it also bug with neo + new SI ?

@samuelgarcia

Maybe it is a issue with the fact that the file size have to be a multiple of channel (384 + 1)

I also figured it had something to do with that, since the number of channels is specified in the header and the header value used in the old version.
The files are still loadable via SpikeInterface, likely due to that -1 open slicing on the reshape. Though I did not thoroughly check if the return structure from get_traces matches what it was before the new stubbing.


[Bug]: Collection.query() - increasing n_results returns better results

What happened?
Surprisingly, increasing n_results returns results with a closer distance than the same query but with a lower n_results. But the expected behavior is that I shouldn't get better (or worse) results but just more results, right?
E.g. I call
my_collection.query(query_texts=["number of employees"], n_results=10)

I get a results with a distance 0.58 and higher but when I call
my_collection.query(query_texts=["number of employees"], n_results=300)

I get a results with a distance 0.37 and higher.
Is there any logical reason why this might happen?
Versions
chroma:0.4.18.dev23
Google Colab (Python 3 Google Compute Engine backend)
Relevant log output
No response

 this may helps u


Only Build Clamor Once in the CI

This saves time since we are currently building Clamor 2.5 times (2 cargo builds and 1 cargo check)

@sinkingsugar is it still too long?

@sinkingsugar is it still too long?

There's only 2 ways I can make it faster now:

Running "Push to codecov.io" parallelly
combining "Check if Clamor Builds" and "Check Build for Benchmarking" into one step

Lemme know if this makes sense. Thanks

IMHO - sorry to jump in - it makes sense to do both, yes.

IMHO - sorry to jump in - it makes sense to do both, yes.

this

What's going on here?
Merge "Check if clamor build" with "Check if test pass" with push codecov... why we run ANY code when pushing to codecov. Build clamor with coverage ON from the beginning. Same for tests. So you run coverage at same time.
Push cover should not build and run anything.


1.18, the bot is completely not responding

I start the server, with everything set up on Paper snapshot 57, I run the command /whitelist add "username" but the bot doesn't respond at all, when someone joins the server, it says
Could not pass event PlayerQuitEvent / PlayerJoinEvent to DiscordWhitelister
And the player counter in the status doesn't change...

This is me struggling and spamming commands..

Good question. Same problem here!


Fix typos in spec

Found some spelling mistakes -
emiting > emitting
exponentation > exponentiation
exended > extended

Hi @pra85, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, MSBOT;

You'll need to edit the .docx file rather than the .md (the latter is generated from the former), then run the word2md script to regenerate the .md

@RyanCavanaugh Thanks for letting me know that.
I ended up using Word Online to update the Word document ( Check https://onedrive.live.com/redir?resid=BB4413F5C4CB754A!7442&authkey=!AGb_i14twDaj0Xg&ithint=file%2Cdocx ) but it seems that to run word2md script, Word should be locally installed on a machine. I don't own a copy of Microsoft Office and so wouldn't be able to generate the markdown file locally.
Also came across the readme in the doc folder, which specifically suggests to file an issue instead of sending PR when proposing changes in the spec. Sorry didn't see that :sweat_smile:
Should opening an issue be a better proposition?

@pra85 I think we'd be better off fixing this ourselves. I've opened up #6883, but thanks for the PR.


Range Select (Shift + LMB) and disabled nodes issue

Great work on this plugin, it is amazingly powerful and I have found it infinitely useful
I have encountered an issue where when disabling a node using:
$('#container').jstree('disable_node', id);

The issue arises when using the range selection by clicking shift + LMBand checkboxes, when you are range selecting two nodes if there are disabled nodes within the range they also get checked too even though they cannot be selected by clicking.
Is there a node level parameter you can set to prevent this range selection (as disable_node doesn't seem to do it) or is this a bug?
Thanks

Just to clarify also that this is range selection within the one level so it is not that the disabled nodes have checked as a result of cascading down

That is definitely a bug, cascading can not be prevented, but this indeed must be fixed. I will add a fix later today or tomorrow - thank you.


Cosmetic issue with build-script

I was rebuilding the latest from scratch and noticed this line
Set INSTALL_ROOT variable (in ../yaul.env) to '/opt/toolchains/Saturn/sh-elf'
That's wrong - INSTALL_ROOT shouldn't have '/sh-elf' on the end or it will fail to build the library. It's not a big deal since the yaul.env.in makes no mention of that, but the message should be consistent to avoid confusion.

Thanks for the heads up! I ended up removing the line. The main README.markdown tells you the next step to take, so the message itself was rather redundant.


test: pr template

Why
<Briefly explain why you made those changes (you can reference some issues here).>
Description

Closes #...
Checklist

[ x] I made a nice commit message following our guide.
[ x] I kept a clean commit log (no unnecessary commits, no merge commits).
[ x] I am happy with my contribution.

Ike Plugins (test-keeper)
Thank you @ia3andy for this contribution!

It appears that no tests have been added or updated in this PR.
Automated tests give us confidence in shipping reliable software. Please add some as part of this change.
If you are an admin or the reviewer of this PR and you are sure that no test is needed then you can use the command /ok-without-tests as a comment to make the status green.
For more information please head over to official documentation. You can find there how to configure the plugin - for example exclude certain file types so if PR contains only them it won't be checked.


our identifiers format

at the moment our identifiers have a format of the type:
RMS-alfanumericstring
where the alfanumericstring MUST contain digit and text characters.
we should aim to make our identifiers permanent and at least objects and studies reachable via them (url)
RMS is more of an internal acronym  now.
please suggest possible new format or reasons to keep the current one

for studies from mdr the format is equivalent to
RMS-trialid
to be considered how this impact FAIRness (possible inflation of ids relating to the same object)

for a DO the id seems to be (tbc)
studyID::internalID::object-title
which makes it rather unwieldy if to be used in a URI

for DT and DU we use our internal id for the url.
we should decide a definite format for it, which is a primary identifier (we are actually creating a new object in the universal data space, not making a new instance of an already existing object, e.g. a study from a repository).


Utilize os.features for plugin images with linux library requirements

Background
Currently ctr install is limited to installing plugin images which are either statically compiled or contain lib dependencies. This is complicated when a plugin binary is not statically compiled because one of the lib dependencies is either libc or libmusl. Additionally there are library dependencies related to selinux, apparmor, and devmapper which may make distributing the right binary complicated. If the manifest list could ship multiple manifests for each platform with different os.features, it would be a better experience for the client.
Proposal
Define a format for specifying specific library dependencies in os.Features. Since these features are a string array, there could be multiple and follow a key=value format. These features would be set by both the image builder and pull client. The pull client could safely ignore features it does not know about and existing clients would not be affected.
Feature format
Each feature will have a key and a value. A key would represent  a system property, library, or class of library. The value could be a specific value or yes/no.
grammar
feature  := name '=' value
name     := [a-zA-Z0-9]+
value    := [a-zA-Z0-9][a-zA-Z0-9-._]*

Note this just attempts to cover features defined here,  any additional features including which don't match the grammar may be safely ignored. Namespacing should be unnecessary here since the meaning should be unambiguous and not specific to any implementation.
Features

Name
Values
Description

libc
glibc or musl
The c library dynamic binaries are linked against

lsm
apparmor or selinux
The Linux Security Module required by the binaries

libudev
yes or no
Whether libudev is required by the binaries, no if not included

Implementation
Provide a buildkit frontend which is capable of defining these os.feature sets and building multi-arch manifests containing each set of features.
Update ctr install to probe the local libraries and set os.features in the platform it uses for fetching and resolving images.
Update platform matcher to check and sort by os.features. Note the logic should be if a feature name is both given by the client and in the image, the feature value must match. If the feature is not included by either, then it cannot be used for matching, but may be used for sorting (such as sort more generic items with less unknown features higher).

Would this make more sense to discuss formalization at the OCI layer? I know the HPC community has wanted to talk about this at the OCI level related to how containers on HPC usually have very specific requirements on MPI libraries or specific features and need to make image selection related to those on-host feature sets. So far it seems like nothing is really moving forward with how to define and catalog the entries so that it could be useful across build tooling + runtimes.

You are aware that there never had been any library ABI guarantee across distros (or even distro versions) ?
Few libs (like glibc) actually do have some backwards compat (for certain version span), but maintaining such that is very tedious, so only few hand picked projects actually do that. For anybody else: there's no guarantee whatsoever that a binary built on one distro still fits another one. Therefore inherently dangerous.
The only guarantee is on syscall interfaces, since we kernel maintainers explicitly keep them stable.
Besides that the whole idea (of downloading precompiled binaries from arbitrary untrusted sources) is in direct violation to what distros are all about, the only sane approach is either only link statically or use some type of jails (= ship your own libs and do not try to link against host libs ever).
The really clean and robust approach is letting the distros take care of building and shipping these plugins, just like any other packages.


Slides not showing

I'm not able to display even a basic example of this plugin.
Here the logs in the console:
server started at http://localhost:3002

Error: self signed certificate in certificate chain
    at TLSSocket.onConnectSecure (node:_tls_wrap:1530:34)
    at TLSSocket.emit (node:events:390:28)
    at TLSSocket._finishInit (node:_tls_wrap:944:8)
    at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:725:12)

Uncaught (in promise) TypeError: Cannot read properties of null (reading 'toString')
    at RevealRenderer.renderFile (eval at <anonymous> (app.js:1:1444405), <anonymous>:72691:68)
    at eval (eval at <anonymous> (app.js:1:1444405), <anonymous>:72819:49)
    at Layer.handle [as handle_request] (eval at <anonymous> (app.js:1:1444405), <anonymous>:9564:9)
    at next (eval at <anonymous> (app.js:1:1444405), <anonymous>:9730:17)
    at Route.dispatch (eval at <anonymous> (app.js:1:1444405), <anonymous>:9712:7)
    at Layer.handle [as handle_request] (eval at <anonymous> (app.js:1:1444405), <anonymous>:9564:9)
    at eval (eval at <anonymous> (app.js:1:1444405), <anonymous>:9990:26)
    at Function.process_params (eval at <anonymous> (app.js:1:1444405), <anonymous>:10021:16)
    at next (eval at <anonymous> (app.js:1:1444405), <anonymous>:9985:15)
    at expressInit (eval at <anonymous> (app.js:1:1444405), <anonymous>:10239:9)

Uncaught (in promise) Error: ENOENT: no such file or directory, open '....censured...\.obsidian\plugins\obsidian-advanced-slides\template\reveal.html'

Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('http://localhost:3002') does not match the recipient window's origin ('app://obsidian.md').

the content of the markdown file I'm trying to render is:
---
created: 2022-04-08T17:42:49+02:00
updated: 2022-04-08T17:42:49+02:00
---
#### Hello from Cover Page

---

Greetings from second Slide

what I'm doing wrong? what is the missing file obsidian-advanced-slides\template\reveal.html ?

You are right, I have this issue only on the company laptop that uses vpn and firewall.
What is the url that you are trying to access to download the framework? Maybe I can request to whitelist it.

The files are hosted on github. Check the releases there is a zip file that gets downloaded on start.  As workaround you could download it manually and extract it info the plugin directory

...maybe something proxy / vpn related... Since the runtime environment isnt downloaded it couldnt render the slide properly...  As workaround you could download it manually and extract it info the plugin directory

Please mention this in readme. It really prevents me for using this awesome plugin for a long time. Thanks.

In case someone else is behind a proxy and runs into a similar problem of preview not working because of incomplete installation:

copy this link (I took it from here, paste in your browser, replace ${version} by the current release version:
https://github.com/MSzturc/obsidian-advanced-slides/releases/download/${version}/obsidian-advanced-slides.zip
unzip it, copy its contents and replace the existing plugin directory contents in your vault (<path-to-your-vault>/.obsidian/plugins/obsidian-advanced-slides/)

Thanks @XMB-7 for pointing that out!


correct entity comparisons when determining chunk visibility

Resolves #259
contains does not compare entities as expected. we can just compare the entity ids directly

Having seen the chunking example, I'm also curious if anyone's use case is hit by the performance implications of the PR due to large numbers of tilemaps.
If they do, the upgrade that could be made here is to steal bevy's approach: for each view, pre-compute a FixedBitSet where each element represents a given tilemap's boolean visibility in the view. Then for each render chunk, do the lookup in the set rather than iterating the visible entities list again.

Having seen the chunking example, I'm also curious if anyone's use case is hit by the performance implications of the PR due to large numbers of tilemaps.

Thanks for the fix! Generally, in the "chunked" approach, the number of tilemaps loaded at any given time should be reduced based on (but not limited to) the visibility.
The code in the PR seems to be bound to the length of the visible_entities, which I would assume would "degrade" performance for small chunk sizes (where the number of visible tilemaps was high). Is that correct? If so, given that the render chunk_size is now configurable and the developer has options to tune, my opinion is that your change is fine :)

If so, the upgrade that could be made here is to steal bevy's approach: for each view, pre-compute a FixedBitSet where each element represents a given tilemap's boolean visibility in the view. Then for each render chunk, do the lookup in the set rather than iterating the visible entities list again.

I'm not certain, but think that the tilemap visibility would be excluded from this iteration. This is based on the assumption that the visible flag on tilemap excludes it from making it past the prepare stage:
https://github.com/StarArawn/bevy_ecs_tilemap/blob/5b7d8876e7dfc017bdbedbc08d5fd306b99bdead/src/render/prepare.rs#L153-L156
I'm working on a project now that can potentially increase the total number of tilemaps universally, so I will keep this concern in mind. Thanks again :)


[Feature Request] Having a minimum length in an array before pretty printing it

basically making that thing:
{
    "inputs": "#_#_",
    "values": [
        [
            11,
            15
        ],
        [
            16,
            15
        ],
        [
            11,
            17
        ],
        [
            16,
            17
        ],
        [
            13,
            25
        ]
    ]
}

into this:
{
    "inputs": "#_#_",
    "values": [
        [11, 15],
        [16, 15],
        [11, 17],
        [16, 17],
        [13, 25]
    ]
}

Hmmm, interesting idea. I deliberately made my PPrint pretty-printing algorithm as simple as possible because I didn't feel like dealing with the added complexity of so many extra knobs to turn, but your suggestion sounds reasonable.
The main issue I see with your idea is figuring out a good way to communicate it to users.
Thanks for your feedback.

My current inclination is not to add a new setting, but add a new way to selectively pretty-print or compress only some arrays/objects without changing the formatting of the rest of the document.
Still not sure of the exact implementation, but probably what I will do is add some options to the right-click menu when right-clicking on a location that has a json node. These right-click options might include path to current location, pretty-print just this node, and compress just this node.
Don't be surprised if it takes me a while to get around to this. I'm currently working on an irritating refactor of RemesPath.

Take your time champ, I'm not the kind that complains to hard working people

My new ability to parse multiple selections isn't exactly what you're looking for, but it can help:
[
    [
    0,
    0,
    0
],
    [
    1,
    2,
    3
],
    [
    2,
    4,
    6
],
    [
    3,
    6,
    9
],
    [
    4,
    8,
    12
]
]

can just be multi-selected and compressed to convert it into this:
[
    [0,0,0],
    [1,2,3],
    [2,4,6],
    [3,6,9],
    [4,8,12]
]

Multi-selecting only certain JSON in a document just got a lot easier, thanks to the new select JSON or JSON's children from treeview feature.
I won't go into too much detail, but basically you can select only a certain JSON element (or its children) and then pretty-print or compress those selections independently from the rest of the document. This goes most of the rest of towards making this sort of manipulation easy, and I'm not particularly inclined to continue working on this in the near future.

I am closing this issue, and have no intention of implementing any feature that I previously mentioned considering. See #61 for a relevant tutorial.


Add Openverse cookie information to WP.org cookie policy

Problem

As Openverse is covered by WP.org's privacy policy, we should request an update to the text content on https://wordpress.org/about/privacy/cookies/ to include details about the cookies used in wordpress.org/openverse.
Someone will need to identify the cookie(s) in Openverse and provide the information used by the tables on the WP.org page:

Cookie
Duration
Purpose
Logged-in Users Only?

Openverse is using a separate domain, openverse.org, so this is not necessary anymore


Immutable classes and Builders

The original ProtoBuf implementation generates immutable classes, as well as Builders that are mutable version of those classes. It would be nice to have this behavior reflected here too.

Could you give a code sample on how it would be used.
I'm looking for a subset of the features that would be interesting to have rather than trying to copy the entire API of the other implementations.

Hi! I'm using your implementation. Thank you for excellent work!
My team ported android java game to unity c# last year. There were to much usages of builders, so I have had to implement some builders support to make the work more easy.
Than, builder style has quite an elegant way to set several values at once:
ProtoClass proto = ProtoClass.newBuilder()
.setValueOne(firstValue)
.setValueTwo(secondValue)
.build();

I don't see how
ProtoClass proto = ProtoClass.newBuilder()
.setValueOne(firstValue)
.setValueTwo(secondValue)
.build();

is more elegant then
ProtoClass proto = new ProtoClass { ValueOne = firstValue, ValueTwo = secondValue };

but that might be because I'm not used to the Java syntax

rather than trying to copy the entire API

I think copying the entire API is the best option possible, for interoperability with existing Java code. Of course it can be enhanced with C#-specific syntax, but still maintaining the Builder classes.

I don't see how [Java fluent syntax] is more elegant then [C# object initializer]

The problem is not the different in syntax, but the problem in the classes themselves.
The C# builder should be implemented the following way:
var proto = new ProtoClass.Builder { ValueOne = firstValue, ValueTwo = secondValue };

And then, when you're done, do something like
var immutableProto = proto.Build();

You don't give up the clearer C# syntax, but still maintain the Builder concept.

I can see this becoming an optional feature within the generator. How it will end up and who will write it is still up for discussion(well, I will still consider a pull request regardless of the discussion).
I think these kind of discussions are not the best to be had in a github issue.
Therefore I've created a discourse forum at discuss.silentorbit.com.
The idea is to keep bugs and pull requests to github and the rest to the forum where people can use other accounts than github to login.
Also I'm gladly accepting feedback on any other channels for discussion, I've considered a mailing list and someone mentioned an IRC group(though I wouldn't be there to help answering questions).
Send them to discuss.silentorbit.com or email me at<EMAIL_ADDRESS>


update micro:bit machine/jukebox

make sure to implement all the following:

Plug the micro:bit into the Jacdaptor (make sure the front of the micro:bit and raised numbers on the plastic edge connector of Jacdaptor are both visible)

Supply power to the micro:bit

When a Jacdac module is added to or removed from the bus, the micro:bit displays the new count of devices on the bus

When a Jacdac button module is attached, the micro:bit will respond to the following events as follows

Down: display a first icon on 5x5 LEDs and play a note (eight different icons and notes supported, for up to eight buttons)
Hold: display a second icon
Up: clear display

When a Jacdac sensor (slider, rotary encoder) is attached and the sensor value changes appreciably,
micro:bit will display a bar chart showing the magnitude of the reading register, or will display the value as a number

When a Jacdac actuator (RGB LED strip) is attached, the micro:bit will send a command to it based
on which button of micro:bit is pressed (A, B, A+B)

When a LED strip and a potentiometer (slider) are connected, the potentiometer will control the LED brightness

When a LED strip and a rotary encoder are connected, the rotary encoder will rotate the LEDs on the strip

All done. @pelikhan - please test with the actual KB hardware.

looks like they work, i haven't tested all the interactions.


dbt packages uses version information in project detection

  Hi All,

I use VSCode.

dbt version: 1.0.8
python version: 3.9.12
os info: macOS-11.6.2-x86_64-i386-64bit
pipenv to create virtualenv's
zsh as my terminal
snowflake

I have dbt Power User installed but quite a few the features don't work.
I can't get it to do any of the following:

Run current model
terminal runs dbt list.
parent / child model navigation
no compiled SQL launch
no hyperlink go to definition
autocompletion

At startup, the terminal displays the following (truncating path to the project directory):
An error occurred while trying to refresh the project configuration: Error: ENOENT: no such file or directory, open '../zion-data-modeling/dbt_packages/dbt-expectations-0.5.5/dbt_project.yml'
An error occurred while trying to refresh the project configuration: Error: ENOENT: no such file or directory, open '../zion-data-modeling/dbt_packages/dbt-expectations-0.5.5/integration_tests/dbt_project.yml'
An error occurred while trying to refresh the project configuration: Error: ENOENT: no such file or directory, open '../zion-data-modeling/dbt_packages/dbt-date-0.5.7/dbt_project.yml'
An error occurred while trying to refresh the project configuration: Error: ENOENT: no such file or directory, open '../zion-data-modeling/dbt_packages/dbt-date-0.5.7/integration_tests/dbt_project.yml'
An error occurred while trying to refresh the project configuration: Error: ENOENT: no such file or directory, open '../zion-data-modeling/dbt_packages/dbt-utils-0.8.6/dbt_project.yml'
An error occurred while trying to refresh the project configuration: Error: ENOENT: no such file or directory, open '../zion-data-modeling/dbt_packages/dbt-utils-0.8.6/integration_tests/dbt_project.yml'

The dbt_expectations package is in the root of the project, but not with the names inclusive of version as alluded to with the ENOENT error:

But, these get installed via the dbt_expectations package in my packages.yml in the root of the project:

Any thoughts on what is going on here and how I might get around this issue?
Appreciate any help with this in advance!
Originally posted by @datanerd09 in https://github.com/innoverio/vscode-dbt-power-user/discussions/44#discussioncomment-3469435

@datanerd09 : can you retest this with latest version?

So running the latest version of this plugin (v0.8.1), I don't get objects to show up in the GUI (regardless if I have a model file open or not). Other parts seem to work (like actually running the models, tests, etc.), though this seems to be done with a different interpreter than I expected.
The requirements.txt stands up a virtual environment using this path: zion-data-modeling/venv/bin/python3.
The Tasks - dbt window appears to be running python from here though: /usr/local/bin/python3

Not sure if this has anything to do with the experience captured here though.

So it still runs models, tests, etc. picking the interpreter associated with my venv, but there's still nothing shows in the GUI.

If the python bridge can't be started you should at least see one error.

I don't have enough information to reproduce your issue. Also the parent, child and tests are only displayed when you have a dbt model selected.
In any case you should see an error if for some reason the Python integration can't be started. Could you make a video of the startup process and what you exactly try?

The above is with a model selected. Sure, I'll see if put something a little more detailed together.

https://user-images.githubusercontent.com/94391358/199033854-35da15fd-9a67-4eda-a954-0cc8b9d7182c.mov
https://user-images.githubusercontent.com/94391358/199033878-5845c736-aaa7-40a2-96c1-4b6d6144b598.mov

I don't understand what you are trying to say in the last section, but obviously it's not normal to find dbt_project.yml files in the compiled folder of a project. Also according to the error message your folder is called dbt_project.yml.
The extension just looks for any dbt_project.yml files and tries to register the containing folder as a project.

So basically, find a way around this reference in the directory or expect complications with the plugin.
The looking for any dbt_project.yml is what I needed here. Thank you.


React generates empty classnames in DOM if value is an empty string

Same as https://github.com/JedWatson/classnames/issues/182
In react, if the value passed to className is an empty string, the html output will be
. In order to have a clean
, undefined should be passed.
Any idea how this can be solved? There is a PR in classnames, what do you think about this in classcat? :)

@vladshcherbin Can
 break an app? Incidentally, Hyperapp's output is:
.

@jorgebucaran I don't think it can break an app.
Returning undefined just gives a clean html output without empty classes.

@vladshcherbin Return undefined and you may also end up with "undefined my-class" if you're concatenating Classcat's output with a string as someone already pointed out in the classNames PR.
React, Hyperapp should solve this, not Classcat. I want a clean DOM too, but changing Classcat to monkey-patch a JavaScript framework is worse.
I'll fix this in Hyperapp in https://github.com/jorgebucaran/hyperapp/issues/754.
Thanks! 👋

@jorgebucaran sure, thanks :)
What do you think of a separate export that will return undefined for people, confident it won't break anything?


Issue 799 easessions close on disconnect

Fixes #1799  (when used in conjunction with https://github.com/kmicha19-ford/sdl_ios/pull/2)
Fixes #1809
Fixes #1892
Fixes #1893
This PR is ready for review.
Risk
This PR makes no  API changes.
Testing Plan

I have verified that I have not introduced new warnings in this PR (or explain why below)
I have tested this PR against Core and verified behavior.

Unit Tests
Unit tests were updated for the refactored classes.
Core Tests

Built the Obj-C example app and verified that all interactions work

iAP disconnect / reconnect
LockScreen on/off rapidly

Built the Swift example app and verified that all interactions work

iAP disconnect / reconnect
LockScreen on/off rapidly

Summary

Refactors iAPSession code that uses the Apple External Accessory Frameworks to create, open, use, and close EASessions.

Changelog
Breaking Changes

None

Enhancements

Moves all managment of EASession creation, open, and closing into a single class, SDLIAPSession
Eliminates the use of NSThread from SDLIAPDataSession
SDLIAPSession now uses a DispatchQueue to provide the required thread for EASession
Uses composition instead of inheritance, SDLIAPControlSession and SDLIAPDataSession now use SDLIAPSession instead of being subclasses of it
Provides a short simple code path for closing EASessions
Eliminates over two hundred lines of code

Tasks Remaining:

More unit tests

CLA

I have signed the CLA

Will do this PR again today.


add styling to navbar

The taskbar looks dull if you are open to add tailwind css to this project @avinash201199 let me know or else I'll add regular css.

should I use tailwind or native css then?

it's donre and I've raised a PR also there was an minor error (extra ,) which I fixed that's why the package.json file shows updated


Ssca 3113

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Clos

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://676bf975943771496a51aba0--harness-developer.netlify.app


Test DbDataReader for non-query commands

I uncovered a new nest of scenarios that would be good to add coverage for in https://github.com/aspnet/EntityFrameworkCore/pull/16053
var nonQueryCommand = connection.CreateCommand();
nonQueryCommand .CommandText = "DELETE FROM X WHERE 0 = 1";

var reader = nonQueryCommand.ExecuteReader();
Assert.False(reader.HasRows);
Assert.Equal(0, reader.FieldCount);
Assert.Throws(() => reader.GetSchemaTable());
Assert.False(reader.Read());
// Other members should throw "no data" (the same as after Read() returns false)

Most providers currently just return null from DbDataReader.GetSchemaTable(). However, this seems incorrect, so I've chosen to test for throwing InvalidOperationException instead of accepting the de facto behaviour.

@bgrainger I think the logic for returning null in this situation is that (dynamic) API consumers may not be aware of whether the command was supposed to return a resultset or not. Telling them to call the API and catch the exception isn't good (i.e. use of exceptions for regular flow control).
On the other hand I do agree that using null to indicate no rows isn't ideal (am thinking ahead to when we null-annotate the ADO.NET surface API). We could tell consumers to check FieldCount first, and that calling GetSchemaTable() when FieldCount is 0 throws an exception.
/cc @divega @ajcvickers @Wraith2 @fransbouma


500 error after traefik upgrade (and downgrade) on oauth middlewares

Since upgrading traefik 2.2.7 to 2.3.2 I've begun receiving an HTTP error 500 on all requests that use an oauth middleware. The error has persisted since downgrading. Routers that use no-auth middleware have not been affected. I've cleared all DNS caches, cookies, etc., as well.
level=debug msg="Error calling https://oauth:4181. Cause: Get "http://oauth:4181": dial tcp: lookup oauth on <IP_ADDRESS>:53: no such host" middlewareName=middlewares-oauth@file middlewareType=ForwardedAuthType
Any thoughts as to why this is occurring and persisting?

That error looks to me like an error querying your internal DNS server within your cluster - I'd suggest restarting your traefik and traefik-forward-auth containers to see if that refreshes the DNS entry.
I'm going to close this issue as I don't believe it's a problem related to this project, but please reopen if you have more information.


pam_gnupg: 0.2 -> 0.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/cruegge/pam-gnupg/releases.
meta.description for pam_gnupg is: "Unlock GnuPG keys on login"
meta.homepage for pam_gnupg is: "https://github.com/cruegge/pam-gnupg"
meta.changelog for pam_gnupg is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.3 with grep in /nix/store/m93fmmf7vhalmfp8kxg3njz7s6qkm1s8-pam_gnupg-0.3

directory tree listing: https://gist.github.com/a04ee01b982bdb7b88c347f8f51beb2a

du listing: https://gist.github.com/50a3a90debf90ebda5cd8f97cb8c89ac

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
0 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
pam_gnupg

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/m93fmmf7vhalmfp8kxg3njz7s6qkm1s8-pam_gnupg-0.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A pam_gnupg https://github.com/r-ryantm/nixpkgs/archive/e8b7eb12f08c3f392a4fe63fbca832f83458f207.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/m93fmmf7vhalmfp8kxg3njz7s6qkm1s8-pam_gnupg-0.3
ls -la /nix/store/m93fmmf7vhalmfp8kxg3njz7s6qkm1s8-pam_gnupg-0.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

pam_gnupg

Maintainer pings
cc @mtreca for testing.

Looks good indeed, thanks @danieldk


Cannot restore cell output options after making it scrollable

Environment data

VS Code version: 1.78.0
Jupyter Extension version (available under the Extensions sidebar): v2023.4.1011241018
Python Extension version (available under the Extensions sidebar): v2023.8.0
OS (Windows | Mac | Linux distro) and version: linux (debian sid)
Python and/or Anaconda version: conda 23.1.0
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Jupyter server running: Local

Steps to reproduce:

Create a jupyter interactive window.
Execute there some statement tha would produce a lot of simple-text print output, such as the following:

for i in range(1000):
    print(i,i,i)

At the bottom of the produced output for that cell, click where it says "View as a scrollable element".
Try to switch the cell back to how it was before clicking the scrollable button above.

Expected behaviour
Should have such an option in the right-click menu of the cell or in the left rectangle in blue that's shown when scrolling through the cell outputs.
Actual behaviour
Not possible to turn it back to how it was before clicking to make it scrollable, and not possible to open the output in a simple text editor window from there.
Logs

Output for Jupyter in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Jupyter)

XXX

you can use notebook.cell.toggleOutputScrolling to toggle it back

Yes, I would also greatly appreciate a button that would undo making a cell output a scrollable element

@amunger, thanks, that helps.  If anybody is wondering how to run notebook.cell.toggleOutputScrolling on Windows, it's mapped by default to Ctrl+K Y

closing as there hasn't been enough votes for this to be implemented


runForm now accepts chatId, fixes #36

runForm is currently intended to work only with scoped instance. I think we should be able to use it with the original bot instance as well.
For instance I have a group chat where users are supposed to enter some private details about themselves. When they're opted in, bot asks these questions by opening a private chat. My changes allow developers to use both tg.runForm (with a required chatId) as well as $.runForm (with chatId already assigned by the scope).

@Naltox - if you're OK with these changes, I'm gonna update the README.md file as well.

@Naltox could you please at least write why you're rejecting this?

Hey, sorry for that, i just updated module to 3.0 and all pull requests will not be valid for that, code changed very mush

Maybe a roadmap would be nice for contributors?

@tunix Nice suggestion, I'll add it some time


changelog: v76-beta

date: 7-May-2020
foreword: These are all the changes since the last changelog (v75-beta).

FF76 Release notes
FF76 for developers
FF76 compatibility
FF76 security advisories

changelog: [all changes]

all user.js updates for Firefox v76 are detailed in the ToDo: diffs FF75-FF76 issue

includes links to the commits made for each pref, links to bugzilla tickets, our discussions etc.

for all the rest see the full list of pref changes below

all pref changes:

new in 76beta but commented out by default

//user_pref("dom.security.https_only_mode", true);

moved to 9999: DEPRECATED / REMOVED :

user_pref("extensions.blocklist.url", "https://blocklists.settings.services.mozilla.com/v1/blocklist/3/%APP_ID%/%APP_VERSION%/");

Any and all help, suggestions, recommendations, links, tips and tricks, questions, thank you's or what have you are welcome - signup/login and start typing - thanks

ExperimentManager & API
ExperimentManager module and API in order to support Messaging System Experiments / AboutWelcome. Handles Branch generation, Caching, Telemtry and other elements of experiment lifecycle management. Can be integrated with MS and Normandy.
Features:
•  Expose lifecycle methods for handling new recipes, ready states
•  Work at startup and first run
•  Provide an API that allows consumer code (incl. MessagingSystemRouter and about:welcome)
[1]		https://bugzilla.mozilla.org/show_bug.cgi?id=1620021
// ExperimentManager & API =  [ Disabled ]
user_pref("messaging-system.rsexperimentloader.enabled", false);	// [FF76]
user_pref("messaging-system.log", "");					// [DEFAULT = "Warn"] // [FF76]

//  about:welcome - Dynamic triplets = [ Disabled ]
/*	Simplified UI version of the "about:welcome".
	about:home & about:newtab are also affected and have dependency on analysis from experiment.
[1]	https://github.com/ghacksuserjs/ghacks-user.js/issues/932     */
user_pref("trailhead.firstrun.branches", "");					// [DEFAULT = "join-dynamic"] // [FF76]

Also I have in my own diffs:

4 unwanted prefs relative to password management (I don't meet the new Mozilla's intrusion here - any "breached checks" and OS auth), including logging. I think these "improvements" more than redudant, because we already have "Master password" option for those who need it. I'm highly dislike connecting OS Windows (weak and untrusted itself) auth into the browser.
2 not bad GFX options that can improve performance, so I put them enabled

I'm afraid these prefs are outside of "ghacks-user.js" coverage, so I'm going to stay out of posting this for a while.

What is your point? Did the word "experiment" cause confirmation bias and spook you? Can you show me proof there is a privacy etc issue with this API? AFAIK, the API is so they have central message handling - rather than per experiment / per prefs..Experiments / normandy are already covered under the master telemetry switch in 0340 (datareporting.healthreport.uploadEnabled) as well as 0342 (app.shield.optoutstudies.enabled) for a little in depth defense. Both of which have a UI presence in about:preferences#privacy
As for anything firstrun - what's the point? Are you like creating new profiles for every Firefox session? How do you stop it when that profile hasn't been created yet (it can be done but is outside the scope of this repo)? Can you show me where in trailhead there is a privacy, tracking, security, fingerprinting, or anonymity problem?
If you have set a master password (as recommended by the user.js - there's no pref for it - see 0902), then the OS integration is not used. Otherwise, as a default, it's good to have it integrated. Any other password prefs you have issues with: again: show me where it's a bad thing regards privacy, security, etc

Active Stream, Telemetry, Normandy, Built-In trash plugins and tons of other bloatware are well known. Yesterday - default-browser-agent.exe in the Sheduler, today - ExperimentManager, a new same "feature".
Sometimes it's hard to understand were the "Red-Line" of "ghacks-user.js" is...

Can you aswer me why all this stupid-kid games with a simple Auto/Update option, not too different like hunderds others? Why restricting this policy to ESR-only? At least, why I should hunting now for this here:
C:\Program Files\Mozilla Firefox\application.ini

OS Windows auth protection is weak itself. You need to use "Autorun" to encrypt OS plain password, at least. Why spreading a tons of Windows vulnerabilities into the browser? Until they were separated, I kept calm. The true is as less untrusted OS knows about (not very)trusted browser, as it's better.

I know you may mark this as "oftopic", but that doesn't change the heart of the truth.

Auto updating can already be disabled, by pref (which we do) and also in the UI options. It is only the update check that was restricted.
Or we will read sad infosec news and there will be too late for Mozilla's apologise.
Did you noticed that Mozilla is too involved into the "user passwords" questions last time?
Temporary emails on Mozillas servers, breached checks, and now dealing with OS passwords.
Come closer to me, baby... It doesn't hurt.

Of course, all of these are for your "well-being".
Google's SafeBrowsing uses partial hashes for your checks, Mozilla uses the same for your passwords by default.
Are you are scared? Or not? It's doesn't matter, while you are ... CHECKED!
(Yes. It's not anybody f@ing problem, except only YOU (who read this)).

^^ overworked... (and underpaid) as per usual...  I fucked up the label ... took me 5 days to notice .. see what you guys are doing to me .. just slow down

FYI: 1599138 .. comment 12 is informative
5000's personal section
/* UX FEATURES: disable and hide the icons and menus ***/
   // user_pref("browser.messaging-system.whatsNewPanel.enabled", false); // What's New [FF69+]
   // three more prefs listed

I've known for ages that the pref doesn't actually hide the menu (but I don't think it's worth pointing that out for that one pref in the bunch of four under that sub-title). Tested just now in nightly and the menu is still there (I mention this because my menu item is missing - see below, further down .. no, further .. a bit more .. there you go)
I know that for several releases after 70 (which is when it took effect: see 1563319 I still saw the gift icon in the nav bar after updates. IDK if all major releases have changes to what's new and this is what triggers the badging/icon/panel or whatever.
But I haven't seen one for a long time: and, to my surprise, when I just checked now, my menu item is not there (and it's not userContent css either).

❓  I'm not sure why I don't have one, TBH. If anyone knows, fill me in

Anyway: there is a new SETTING (but not worth adding) in FF78+. Hamburger menu > What's New and at the bottom is a checkbox for "Notify about new features" - this is the setting for the pref. Clearly as you can see it's disabled, but the menu item is still there (by design: see comment 12, how else could someone toggle it back on, for example)

I'm not sure why I don't have one, TBH. If anyone knows, fill me in

When switching browser.messaging-system.whatsNewPanel.enabled to false, the "Whats new" went gone from the hamburger menu and still missing even when browser.messaging-system.whatsNewPanel.enabled is now set back to true

^^ until reopening FF

OK, I worked it out. The menu change is only in 78+
My test suite of portable FF's all have a basic user.js to save me configuring things when I set each new one: nothing major: just things like turning off AS, pocket, screenshots, sync, lasttab, warn on close, reader view, recommendations, etc. Included in that is the what's new pref.
I don't know if it requires a restart (that bugzilla mentions reading the pref early in startup) or some prefs observer detects it prior to 78, but in 78+ it at least recognizes the change via the new UI (but not necessarily via pref changing or user.js except on startup)
Anyway: the menu is gone prior to 78 (tested in beta 77, dev 77, 76, 75 - i.e tested as started with that, not toggled via about:config), but in 78 it sticks around (so the UI can be used). I haven't seen the menu or nav bar icon since probably 74 (or even 73) so I don't what all those bugzillas (see all those marked as duplicates) are on about exactly (maybe they're all old and relate to 73/74 but I'm not going to go read em all) and the fix in 78 was resolve the appearing/disappearing menu. IDK. Don't care .. Just thought I'd share in case someone else came across it in 78


[New Feature]: Optimize f(...arr)

In nBallerina we often have code that looks like myList.push(...myCalcArr(1, 5)). As far as I am aware this produces code that creates a new array to be passed into the myList.push (please close this issue if my assumption is wrong). Since myCalcArr is already returning and array, we should directly pass it in to myList.push.

This seems to be the expected behavior.
As per the spec, the value assigned for the rest-parameter is described below.
If there is a rest-param, then that is initialized to a newly created list containing the remaining arguments in the argument list;
the inherent type of this list will be T[] where T is the type of the rest-param.
The conformance of the argument list ensures that the members of this list will belong to type T.

The compiler creates a new list with the provided values in the function body.  Therefore, the compiler validates whether the arguments passed are of type T and not T[].
Further, as we are trying to pass an array T[] from the myCalcArr() function, it is expected to use the rest-arg as it considers each array member as a single argument.
  rest-arg := ... expression

The static type of the expression in a rest-arg must be either a list type or a mapping type.
If it is a list type, then the rest-arg is equivalent to specifying each member of the list as a positional arg.

We will not be able to do this in the general case.
Eg: foo(x, ...x); can't be optimized.
But it should be possible to do when passed in spred arg is the last and only reference the given list.

The rest-arg call is handled from the compiler desugaring phase to create a new array of parameter values before calling the method.
We need to revamp this from the desugaring if we are to optimize this.
@gimantha @hasithaa WDYT?

Based on the following example, it seems like we are not always creating a new list? IMO, we need to create a new list always (also in-line with the spec) because it can result in unintentional updates like in the example.
E.g.,
import ballerina/io;

int[] arr = [1, 2];

public function main() {
    fn(...getArr());
    io:println(arr); // updated to [1,2,4] on 2201.4.0
}

function getArr() returns int[] => arr;

function fn(int... x) {
    x.push(4);
}

Btw, just to add, the rest argument doesn't have to be just for the rest param, it can provide arguments for other params also.
[int, int...] arr = [1, 2];

public function main() {
    fn(...getArr()); // valid
}

function getArr() returns [int, int...] => arr;

function fn(int a, int... x) {
}

Created https://github.com/ballerina-platform/ballerina-lang/issues/43338 to track fixing not always creating a new list.
Closing this issue since creating a new list seems to be the correct thing to do anyway.


Change ILayoutEngine.AddAtPoint to ILayoutEngine.MoveToPoint

[x] Make ILayoutEngine.Add idempotent

[x] Change ILayoutEngine.AddAtPoint to ILayoutEngine.MoveToPoint

[x] Workspace.MoveWindowToPoint should no longer call Remove

[x] Rename ILayoutEngine.Add to ILayoutEngine.AddWindow

[x] Rename ILayoutEngine.Remove to ILayoutEngine.RemoveWindow

[x] Make IWorkspace.AddWindow idempotent

[x] Make IWorkspace.MoveWindowToPoint idempotent

[x] FloatingEngine

[x] Per-engine basis
[ ] Mark as floating
[ ] Mark as floating twice
[ ] Mark as docked
[ ] Mark as docked twice
[x] Move
[x] Resizing

[x] Tests

Closed by #451


Bug/devtooling-530: Fixing panic during export caused by MemberGroupsResolver

I might be misunderstanding this but was owner_ids not made required to avoid "orphan" groups that nobody can access? https://inindca.atlassian.net/browse/DEVTOOLING-321

I might be misunderstanding this but was owner_ids not made required to avoid "orphan" groups that nobody can access? https://inindca.atlassian.net/browse/DEVTOOLING-321

I couldn't apply exported groups to another org because some of them would have an empty owner_ids array (probably weren't created using terraform), and then the apply would fail saying that I'm missing a required argument.
Cesar has since created this ticket - https://inindca.atlassian.net/browse/DEVTOOLING-475 , which describes how the solution is setting visibility to "public" , not forcing the user to provide an owner

Ah ok I understand. Should we add a note explaining that if the group is not public and doesn't have any owners that it will be orphaned? Or maybe check it in the code?

Ah ok I understand. Should we add a note explaining that if the group is not public and doesn't have any owners that it will be orphaned? Or maybe check it in the code?

@dginty4 @carnellj-genesys
I don't think it's necessary. The description for visibility and the fact that it defaults to public should be enough to safeguard, or at least to put the onus on the user.


Hello, is there an emulator that can simulate 8085

I usually use this: https://www.sim8085.com/ just to test software algorithms.

我通常使用这个：https://www.sim8085.com/只是为了测试软件算法。
谢谢 thank you very very much

I have a circuit schematic diagram of 8085, 8253 and 8255 and assembly code. There are some addresses in the code. I'm not sure which port it is. Can you help me

I used to use Multisim Simulation software, but there are no 8085, 8255, 8253 and other devices in it


[CMake] Avoid stomping cache variables when cross-compiling

If one is building unified and also cross-compiling (for example building from Linux x86_64 to Linux aarch64), these variables which are normally set in the cache pointing to a native toolchain are overwritten unconditionally pointing to the CMAKE_BINARY_DIR, which can be incompatible with the build machine.
The value of SWIFT_NATIVE_CLANG_TOOLS_PATH is eventually passed to the Swift compiler as -tools-directory, which the new swift-driver actually seems to use to find swiftc. When the swift-driver tries to use the incompatible swiftc, it returns with a very unhelpful "error: failed to retrieve frontend target info".
Avoiding overwriting the variables when cross-compiling lets the build system use the variables provided in the cache, which point to correct binaries for the build machine.

@swift-ci please smoke test