fix: django.db.utils.OperationalError: no such column: django_migrations.id

i got this error when running archivebox

error stack

Traceback (most recent call last):
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/backends/utils.py", line 89, in _execute
    return self.cursor.execute(sql, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/backends/sqlite3/base.py", line 328, in execute
    return super().execute(query, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlite3.OperationalError: no such column: django_migrations.id

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/migrations/executor.py", line 254, in apply_migration
    self.record_migration(migration)
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/migrations/executor.py", line 269, in record_migration
    self.recorder.record_applied(migration.app_label, migration.name)
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/migrations/recorder.py", line 94, in record_applied
    self.migration_qs.create(app=app, name=name)
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/models/query.py", line 658, in create
    obj.save(force_insert=True, using=self.db)
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/models/base.py", line 814, in save
    self.save_base(
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/models/base.py", line 877, in save_base
    updated = self._save_table(
              ^^^^^^^^^^^^^^^^^
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/models/base.py", line 1020, in _save_table
    results = self._do_insert(
              ^^^^^^^^^^^^^^^^
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/models/base.py", line 1061, in _do_insert
    return manager._insert(
           ^^^^^^^^^^^^^^^^
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/models/query.py", line 1805, in _insert
    return query.get_compiler(using=using).execute_sql(returning_fields)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1822, in execute_sql
    cursor.execute(sql, params)
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/backends/utils.py", line 67, in execute
    return self._execute_with_wrappers(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
    return executor(sql, params, many, context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/backends/utils.py", line 84, in _execute
    with self.db.wrap_database_errors:
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/utils.py", line 91, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/backends/utils.py", line 89, in _execute
    return self.cursor.execute(sql, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/backends/sqlite3/base.py", line 328, in execute
    return super().execute(query, params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django.db.utils.OperationalError: no such column: django_migrations.id

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/nix/store/ry2xibh8xwwiazjryd4lh1sa2zgfs9ib-archivebox-0.7.2/bin/.archivebox-wrapped", line 9, in <module>
    sys.exit(main())
             ^^^^^^
  File "/nix/store/ry2xibh8xwwiazjryd4lh1sa2zgfs9ib-archivebox-0.7.2/lib/python3.11/site-packages/archivebox/cli/__init__.py", line 140, in main
    run_subcommand(
  File "/nix/store/ry2xibh8xwwiazjryd4lh1sa2zgfs9ib-archivebox-0.7.2/lib/python3.11/site-packages/archivebox/cli/__init__.py", line 80, in run_subcommand
    module.main(args=subcommand_args, stdin=stdin, pwd=pwd)    # type: ignore
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/ry2xibh8xwwiazjryd4lh1sa2zgfs9ib-archivebox-0.7.2/lib/python3.11/site-packages/archivebox/cli/archivebox_init.py", line 43, in main
    init(
  File "/nix/store/ry2xibh8xwwiazjryd4lh1sa2zgfs9ib-archivebox-0.7.2/lib/python3.11/site-packages/archivebox/util.py", line 116, in typechecked_function
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/ry2xibh8xwwiazjryd4lh1sa2zgfs9ib-archivebox-0.7.2/lib/python3.11/site-packages/archivebox/main.py", line 366, in init
    for migration_line in apply_migrations(out_dir):
                          ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/ry2xibh8xwwiazjryd4lh1sa2zgfs9ib-archivebox-0.7.2/lib/python3.11/site-packages/archivebox/util.py", line 116, in typechecked_function
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/ry2xibh8xwwiazjryd4lh1sa2zgfs9ib-archivebox-0.7.2/lib/python3.11/site-packages/archivebox/index/sql.py", line 146, in apply_migrations
    call_command("migrate", interactive=False, stdout=out)
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/core/management/__init__.py", line 194, in call_command
    return command.execute(*args, **defaults)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/core/management/base.py", line 458, in execute
    output = self.handle(*args, **options)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/core/management/base.py", line 106, in wrapper
    res = handle_func(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/core/management/commands/migrate.py", line 356, in handle
    post_migrate_state = executor.migrate(
                         ^^^^^^^^^^^^^^^^^
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/migrations/executor.py", line 135, in migrate
    state = self._migrate_all_forwards(
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/migrations/executor.py", line 167, in _migrate_all_forwards
    state = self.apply_migration(
            ^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/migrations/executor.py", line 249, in apply_migration
    with self.connection.schema_editor(
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/backends/sqlite3/schema.py", line 40, in __exit__
    self.connection.check_constraints()
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/backends/sqlite3/base.py", line 244, in check_constraints
    violations = cursor.execute("PRAGMA foreign_key_check").fetchall()
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/backends/utils.py", line 67, in execute
    return self._execute_with_wrappers(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
    return executor(sql, params, many, context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/backends/utils.py", line 83, in _execute
    self.db.validate_no_broken_transaction()
  File "/nix/store/i4xn2l7r4a1md2xcma1xkm812wci1fky-python3.11-Django-4.2.9/lib/python3.11/site-packages/django/db/backends/base/base.py", line 531, in validate_no_broken_transaction
    raise TransactionManagementError(
django.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block.

Thanks for this patch, however there is nothing to fix here. Implicit id is added automatically to all models. If you're having trouble understanding how Django works, see TicketClosingReasons/UseSupportChannels for ways to get help.

Implicit id is added automatically to all models

then why do i get the error no such column: django_migrations.id
then why is the error fixed by my patch
im pretty sure that the select id, ... from django_migrations query
is caused by django, and not by my app (archivebox)

This is not a proper place for support questions, see TicketClosingReasons/UseSupportChannels for ways to get help.

moving to https://code.djangoproject.com/ticket/35163


SSL Certificates commonname does not replace %D

After some investigation of /etc/init.d/oui-httpd I found, that I need either px5g or openssl binary to generate selfsigned keys. After installing openssl-utils, init script generates keys, but commonname is %D, which is the default value from configuration in /etc/config/oui-httpd
Where it was intended that this placeholder will be replaced? Probably by domain name? Is it a specific feature of some of these binaries? Or it is just currently unimplemented?

https://github.com/zhaojh329/oui/blob/master/oui-httpd/files/oui-httpd.init#L35

Yes, but the commonname=%D so "${commonname:-OpenWrt}" leads to "%D" which is later passed to openssl/px5g which use it as text and does not replace it by nothing meaningful.
So, prior this command, there should be some replacement logic, which is currently unimplemented?
Just need to know, if it is a bug, misconfiguration, or it is just not implemented yet.

Vue3 + Nginx + Lua is coming...


World Map: Split "Show quest names and status" option into two separate options

Less selfish reason: Having this as single option is inconsistent with having split options for each of agility shortcuts and rare trees.
More selfish reason: I like the extra information provided by the quest names tooltips, but I'm not a fan of the quest status icons on the world map. Every other icon on the world map is circular, while the quest status icons aren't, which to me makes them a bit of an eyesore. And even beyond that, I like the default world map icons and don't like having to change them to gain the tooltips.
Describe the solution you'd like
Two options within the world map plugin: A "Show quest names" option to control the tooltip, and a "Show quest status" option to control the quest status icons.
Describe alternatives you've considered

Change the quest status icons to be more in line with the all of the other icons' circular aesthetic (maybe do this regardless?).
~Move the quest status into the quest name tooltip.~ Upon further inspection, quest status information information is already in the tooltip, so this option would just be removing the quest status icons.

I'll take a look into it later

Would you take a look inside the pull request, please?

Closed by game update


Fixed point Inferecnce in Caffe2

Hello,
Is there a possibility of having Inference in Fixed Point numbers for any Deep Networks with caffe2?
Best ,
Pratik Desai

@bwasti @ajtulloch

Hello,
I want to work with fixed point weights and activations in Caffe2. I am aware that all layers/weights are stored either as int or float.
Does it support saving the model in fixed point with variable number of bits?
Thanks,
Ayushi Agarwal


Dev server failing with res.getHeader is not a function

Wanting to try out mdx-deck as an awesome Markdown based presentations tool I followed the quick start in the readme using mdx-deck v1.10.0.
I have a simple deck.mdx with my slides ad want to run that with "start": "mdx-deck deck.mdx" in my npm scripts.
What happens
My browser opens a new tab at http://<IP_ADDRESS>:8080/ which keeps on loading forever without ever finishing. (waited five+ minutes)
The same happens when i visit http://localhost:8080/ in my browser.
What I would expect
I would expect to see the presentation display in my browser.
Further observations
Using the mdx-deck build script works just fine.
When I Ctrl + C out of the process it shows the following error: TypeError: res.getHeader is not a function, or more fully:
TypeError: res.getHeader is not a function
    at processRequest (/Users/X/stuff/talks/my-presentation-name/node_modules/webpack-dev-middleware/lib/middleware.js:82:18)
    at ready (/Users/X/stuff/talks/my-presentation-name/node_modules/webpack-dev-middleware/lib/util.js:51:12)
    at handleRequest (/Users/X/stuff/talks/my-presentation-name/node_modules/webpack-dev-middleware/lib/util.js:167:5)
    at Promise (/Users/X/stuff/talks/my-presentation-name/node_modules/webpack-dev-middleware/lib/middleware.js:44:7)
    at new Promise (<anonymous>)
    at middleware (/Users/X/stuff/talks/my-presentation-name/node_modules/webpack-dev-middleware/lib/middleware.js:43:12)
    at Promise (/Users/X/stuff/talks/my-presentation-name/node_modules/koa-webpack/lib/middleware.js:28:9)
    at new Promise (<anonymous>)
    at /Users/X/stuff/talks/my-presentation-name/node_modules/koa-webpack/lib/middleware.js:27:20
    at dispatch (/Users/X/stuff/talks/my-presentation-name/node_modules/koa-compose/index.js:42:32)

I pushed the example that is not working for me here: https://github.com/HoverBaum/mdx-deck-bug-illustration-dev-server

@HoverBaum It seems a change going from webpack-dev-middleware 3.6.0 to 3.6.1 caused koa-webpack to break. If you downgrade you should be able to get back up and running until it's fixed there.

@HoverBaum I was having this same issue. Just removed node_modules, added "webpack-dev-middleware": "3.6.0" as suggested by @arthyn, run npm install and now it is working fine.

Works with adding "webpack-dev-middleware": "3.6.0" to my dependencies and running rm -rf node_modules && npm i.
Thanks @arthyn and @federico-hv for the quick assistance.
Would leave this open for now to track the issue for others running into it.

faced the same issue. Solution suggested by @arthyn worked.

Has anyone tried with the v2 beta? Would be good to know if the changes there resolve this issue

I think this issue was only caused by the dependency on koa-webpack and apparently the issue there was solved cause now everything works fine on the version I was using of this library 1.10.0 without the change on webpack-dev-middleware. Also tried last version 2.0.0-11 and everything works fine. Thank you very much @jxnblk

Can also confirm that with 2.0.0-11 the issue does not occur anymore.

Just did a clean install with version 2.0.0 and couldn't see the bug anymore.
I will consider this resolved, thanks again to all involved 🙂


[keras/utils] Standardise docstring usage of "Default to"

This is one of many PRs. Discussion + request to split into multiple PRs @ #17748

Merged master to resolve branch conflict

@gbaned Done


refactor: Add stateful validator error

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1731  👈
#1730
main

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

Join @ArniStarkware and the rest of your teammates on  Graphite

Codecov Report
Attention: Patch coverage is 0% with 16 lines in your changes are missing coverage. Please review.

Project coverage is 75.07%.  Consider uploading reports for the commit 0f60383 to get more accurate results

Files
Patch %
Lines

crates/native_blockifier/src/errors.rs
0.00%
11 Missing :warning:

crates/native_blockifier/src/py_validator.rs
0.00%
5 Missing :warning:

Additional details and impacted files
@@                               Coverage Diff                                @@
##           arni/mempool/validator/new_refactor/separate    #1731      +/-   ##
================================================================================
- Coverage                                         75.17%   75.07%   -0.10%
================================================================================
  Files                                                59       59
  Lines                                              8551     8562      +11
  Branches                                           8551     8562      +11
================================================================================
  Hits                                               6428     6428
- Misses                                             1699     1710      +11
  Partials                                            424      424

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

Merge activity

Apr 8, 3:03 AM EDT: @ArniStarkware started a stack merge that includes this pull request via Graphite.


Allow region sorting, rename blacklist & whitelist

Reason for change
Allow consumers to specify region order.
Also rename blacklist and whitelist to the much-friendlier excludes and products (not technically including, you’re specifying every product that goes in the store manually, so products felt more to-the-point).
GCP appears first, even though it comes alphabetically after AWS 👇

Codecov Report

Merging #94 into master will increase coverage by 1.04%.
The diff coverage is 71.42%.

@@            Coverage Diff             @@
##           master      #94      +/-   ##
==========================================
+ Coverage   61.29%   62.33%   +1.04%
==========================================
  Files          19       19
  Lines         372      385      +13
  Branches      104      109       +5
==========================================
+ Hits          228      240      +12
- Misses        142      143       +1
  Partials        2        2

Impacted Files
Coverage Δ

...ts/manifold-plan-details/manifold-plan-details.tsx
51.21% <100%> (+0.6%)
:arrow_up:

...ifold-region-selector/manifold-region-selector.tsx
69.44% <64.7%> (+11.11%)
:arrow_up:

Continue to review full report at Codecov.

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


aws elastic beanstalk - django_vite template doesn't load

normally it's works fine in production on VPS server. but we are moving the server from VPS to AWS elastic beanstalk. and when I deployed the django app. Django part is working fine but it's look like django_vite giving some error and vue is not loading. (I am using the same settings which is what I used it on VPS server and it went fine.)
I checked the error logs and there is this error.

module = import_module(entry[1])
Apr  5 14:45:54 ip-172-31-37-154 web: File "/usr/lib64/python3.8/importlib/__init__.py", line 127, in import_module
Apr  5 14:45:54 ip-172-31-37-154 web: return _bootstrap._gcd_import(name[level:], package, level)
Apr  5 14:45:54 ip-172-31-37-154 web: File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
Apr  5 14:45:54 ip-172-31-37-154 web: File "<frozen importlib._bootstrap>", line 991, in _find_and_load
Apr  5 14:45:54 ip-172-31-37-154 web: File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
Apr  5 14:45:54 ip-172-31-37-154 web: File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
Apr  5 14:45:54 ip-172-31-37-154 web: File "<frozen importlib._bootstrap_external>", line 783, in exec_module
Apr  5 14:45:54 ip-172-31-37-154 web: File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
Apr  5 14:45:54 ip-172-31-37-154 web: File "/var/app/venv/staging-LQM1lest/lib/python3.8/site-packages/django_vite/templatetags/django_vite.py", line 45, in <module>
Apr  5 14:45:54 ip-172-31-37-154 web: path_join(
Apr  5 14:45:54 ip-172-31-37-154 web: File "/usr/lib64/python3.8/posixpath.py", line 76, in join
Apr  5 14:45:54 ip-172-31-37-154 web: a = os.fspath(a)
Apr  5 14:45:54 ip-172-31-37-154 web: TypeError: expected str, bytes or os.PathLike object, not NoneType
Apr  5 14:45:54 ip-172-31-37-154 web: During handling of the above exception, another exception occurred:
Apr  5 14:45:54 ip-172-31-37-154 web: Traceback (most recent call last):
Apr  5 14:45:54 ip-172-31-37-154 web: File "/var/app/venv/staging-LQM1lest/lib/python3.8/site-packages/django/template/utils.py", line 66, in __getitem__
Apr  5 14:45:54 ip-172-31-37-154 web: return self._engines[alias]
Apr  5 14:45:54 ip-172-31-37-154 web: KeyError: 'django'

any idea what's happening here?

Hi,
I think your error is written here :
Apr  5 14:45:54 ip-172-31-37-154 web: TypeError: expected str, bytes or os.PathLike object, not NoneType

hello, thank you for response. I know the line that you pointed out. But it doesn't give any lead. for example, where is expected str, why getting None;
here, what I am using in settings.py
if DEBUG:
  DJANGO_VITE_ASSETS_PATH = BASE_DIR / "app/src"
  STATIC_URL = '/static/'
  STATICFILES_DIRS = [
    BASE_DIR / "static",
    DJANGO_VITE_ASSETS_PATH,
  ]
  MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
  MEDIA_URL = '/media/'

else:
  # Where ViteJS assets are built.   # aws settings
  AWS_ACCESS_KEY_ID = config('AWS_ACCESS_KEY_ID')
  AWS_SECRET_ACCESS_KEY = config('AWS_SECRET_ACCESS_KEY')
  AWS_STORAGE_BUCKET_NAME = config('AWS_STORAGE_BUCKET_NAME')
  AWS_DEFAULT_ACL = 'public-read'
  AWS_S3_CUSTOM_DOMAIN = f'{AWS_STORAGE_BUCKET_NAME}.s3.amazonaws.com'
  AWS_S3_OBJECT_PARAMETERS = {'CacheControl': 'max-age=86400'}

  # s3 static settings
  AWS_S3_FILE_OVERWRITE = False
  AWS_LOCATION = 'static'
  STATIC_URL = f'https://{AWS_S3_CUSTOM_DOMAIN}/{AWS_LOCATION}/'
  STATICFILES_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'

  # s3 public media settings
  PUBLIC_MEDIA_LOCATION = 'media'
  MEDIA_URL = f'https://{AWS_S3_CUSTOM_DOMAIN}/{PUBLIC_MEDIA_LOCATION}/'
  DEFAULT_FILE_STORAGE = "reactool.aws_storages.MediaStorage"

  STATIC_ROOT = BASE_DIR / 'static'
  DJANGO_VITE_ASSETS_PATH = BASE_DIR / "static"
  STATICFILES_DIRS = [
       DJANGO_VITE_ASSETS_PATH
  ]

is this line TypeError: expected str, bytes or os.PathLike object, not NoneType points where in aws settings? Because if on DEBUG mode. there is no issue.

Which version of django-vite are you using ?

it's django-vite==1.2.1

Try updating to 2.X.
Before 2.X path specified with Pathlib were not fully supported.

okay, I updated. now i can see where the problem is. error logs spits AttributeError: 'Settings' object has no attribute 'DJANGO_VITE_ASSETS_PATH' but, i am giving the it correctly.
 STATIC_URL = f'https://{AWS_S3_CUSTOM_DOMAIN}/static/'
 DJANGO_VITE_STATIC_URL = STATIC_URL
 DJANGO_VITE_ASSETS_PATH = str(STATIC_URL)
 STATIC_ROOT = BASE_DIR / "static"

by the way there is no error on dev mode. I finds the DJANGO_VITE_ASSETS_PATH but when it goes to production. aws eb spits  'Settings' object has no attribute 'DJANGO_VITE_ASSETS_PATH'

thank you for pointing out the new version. finally got the error context.
so I need change two things. gave the   STATIC_ROOT = "static" without BASE_DIR and updated the django.config file in the .ebextensions
option_settings:
aws:elasticbeanstalk:environment:proxy:staticfiles:
/static: static
this solves the problem on AWS elastic beanstalk production.


Portal Nodes

If two nodes are connected by an edge but do not share the same world, the plugin currently cannot handle visualizion.
This should be possible because people could want to include portals into their navigation.
This can be done by iterating all node locations before converting them into one big spline and always start a new spline when the world changes between nodes. With this change, a particle path stops at a portal location and begins at the other portal again.
With changes of nodegroups and modifiers in 4.0.0, people could add more particles like teleport particles to portals by adding an extra visualizer to the two connected portal nodes.

In v4, subsplines are being created. A visualizer for portals must still be implemented

The visualizer implementation is not part of this issue


Modifies Greeter.java to remove whitespace and @#$% characters and te…

…st the method.

There was a merge with this branch that deletes the FindMeetingQuery tester so the subsequent commit was to add the FindMeetingQuery test back. It was already reviewed and merged in a prior pull request.


Fix scrollPerPage

Set scrollPerPage default to true.
When false, all system move by slides and not by pages. From navigation to pagination including navigateTo.

Coverage decreased (-0.5%) to 69.355% when pulling 8c568fcfd9e590815ed7844b6356ffb9519de2c3 on kulaone:master into 75d09803f99330f10879e1b23cee6e97db9adf2f on SSENSE:master.

Hey @kulaone, this is great! Thanks so much for fixing. I'll check out tomorrow when I'm back in the office, but in the meantime are we able to look into why there is such a big diff in the package-lock? It doesn't seem like you've added any packages, so maybe just rm your current one, your node modules and npm i to generate a new one

@quinnlangille I remove the package-lock.
I had some problems with my NPM, sorry for that.

No worries @kulaone, going to review and hopefully merge this in later this afternoon

@quinnlangille quick questions I saw that vue-carousel.min.js is not updated in the master.
Did I needed to update it before merging?

I updated it with the last release!


'Selecting deleted buffer' error when closing helm buffer

Observed behavior
In certain conditions (see reproducer below) emacs got stuck with "Selecting deleted buffer' error preventing opening any other buffers.
Branch is 'develop'.
Backtrace: backtrace.txt
~/.doom.d contents archive: doom.d.tar.gz
Expected behavior
After point 4. in the reproducer below, the helm buffer should be closed, while Imenu sidebar should remain.
Steps to reproduce
Minimal reproducer:

Start emacs
Open some file with contents (:e ~/.somefile)
Open Imenu sidebar buffer (SPC o i). It should be non-empty to reproduce the bug.
Open helm buffer (M-x) and then press ESC
See that emacs got stuck with "Selecting deleted buffer' error preventing opening any other buffers.

System information

Click to expand
Emacs v26.1
Doom v2.0.9 (b207c404)
shell: /bin/zsh
Compiled with:
  XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
  LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS
  GTK3 X11 MODULES THREADS XWIDGETS LIBSYSTEMD LCMS2
uname -a:
  Linux hostname 4.13.0-39-generic #44~16.04.1-Ubuntu SMP Thu Apr 5 16:43:10 UTC
  2018 x86_64 x86_64 x86_64 GNU/Linux

Thank you for this detailed bug report! I've made a number of commits that is likely to have fixed this issue on develop. Please update and let me know if the issue persists.

Hi Henrik,
Thanks for your work.
The issue is still not gone completely, but it has now slightly different behavior.
After pressing ESC in p.4 helm buffer along with Imenu sidebar are closed, no issues here.
But when you now switch to another buffer (SPC <), the current one is being deleted and same 'Selecting deleted buffer' error appears again.
I'm on:
Doom v2.0.9 (Emacs v26.1)
Branch: develop
Commit: f74d595e1762fa0b87a7591276d9fccef6880e8f.

Could you experiment with the following:
(after! helm
  (setq helm-default-display-buffer-functions '(+popup-display-buffer))
  (set-popup-rule! "^\\*helm" :ignore t))

And let me know if it resolves your issues?

Further testing indicates that this has solved the issue. Let me know if that isn't the case!


Latest=True not actually pulling latest results

I have some simple code to pull the latest tweets with a given domain. However the results saved are definitely not the latest.
from twitter.search import Search
search = Search(EMAIL, USERNAME, PASSWORD)
search.run('(viralsweep.com or swee.ps)', limit=100, latest=True)

This code returns tweets that were created in February 2022, July 2022, October 2022 but there have definitely been more tweets when I search for this query on Twitter.com
Am I doing something wrong? Could it be the code?

Maybe not what you are looking for, but you have to write OR with capital letters, otherwise it'll search also for the word "or".

You'll want to ensure the results are parsed correctly. I've added another example notebook examples/search.ipynb. The run function is intended to execute multiple queries, resulting in a sub-list for each query's results. You'll inevitably need to flatten or index into those results.

@lucasg1 My account is not locked or limited in any way.
@trevorhobenshield I know search.run() can execute multiple queries but I only have 1 query to run.
I just ran search.run(f'gvwy.io since:2023-05-21', limit=100, latest=True). It only found 4 tweets despite the fact that the web search shows dozens that fit the search criteria.
Here is the link to the JSON contents. This was the only file returned from this search.


Sync eng/common directory with azure-sdk-tools for PR 2008

Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/2008  See eng/common workflow

/check-enforcer override

/check-enforcer override


Some UI Feedback

Description
A few notes from our Jun 25 session:

The OvertureMaps Foundation link in the copyright goes to overturemaps.org — can you send it to docs.overturemaps.org/attribution instead?
Can clicking on a feature "highlight" the feature (expand the stroke, with a different color, for example) instead of changing the color of the feature itself?
Can linestrings "fatten" when you zoom way in to make them more clickable?
OSM sources should build the link out to OSM: like https://openstreetmap.org/way/<ID>
Can building_id link to the actual building (from a part)
URL parameter for a GERS ID (would also require z/x/y)
Hex codes could appear in the right color?
(Way extra) A few advanced options that might allow someone to add an x/y/z tile layer as the background (and adjust opacity) - since there isn't currently a background to the map.

For example, I added an openaerialmap.org URL in the initialization of the map, and it looks like this:

What browser are you seeing the problem on? What version are you running?
No response
The OS you're using
No response
Steps to reproduce
N/A
The browser URL at the time you encountered the bug
N/A

@eti7075 when I'm back from vacation we can discuss the feedback here and split it into several atomic tasks.


Exclude django.contrib.* from graph

I'm trying to exclude djang.contrib stuff from the generated graph by running ./manage.py graph_models -a --hide-edge-labels -X 'django.contrib.*' -g -o model.png. However, I cannot get -X to filter anything, let alone all the contrib stuff. Am I doing this wrong or is that a bug?

If you want to exclude django.contrib.sessions you could do:
$ ./manage.py graph_models -a -g -o /tmp/test.png -X Session,AbstractBaseSession && open /tmp/test.png

Or if you got no other models ending on "Session"
$ ./manage.py graph_models -a -g -o /tmp/test.png -X "*Session" && open /tmp/test.png

There is no support for using -X 'python.module.path' or -X applabel.model or excluding applabels from -a at the moment.
So your other option would be to not use -a and explicitly list all your apps.


ext_proc: Add code to check mutation rules

Commit Message: Add a library to check against the rules in the new HeaderMutationRules proto.
Risk Level: Low -- code is not called anywhere yet.
Testing: New unit tests.
Signed-off-by: Gregory Brail<EMAIL_ADDRESS>

This PR will be used in ext_proc, but I put it in a "common" location so that we could potentially use it elsewhere along with the new proto. Could either @snowp or @htuch take a look? Thanks!

FWIW, the CI failure is in kill_request:kill_request_filter_integration_test, and doesn't have anything to do with this PR.

Update -- I added a few more rules to make it easier to replace all the logic that is today inside the ext_proc filter itself. I also changed the docs in the .proto a bit which is what triggered the API review.


Date of article is not fetched properly

Instead of getting an exact date I get '1 month ago' in the results document. How can i fix that? Thank you for your help
from GoogleNews import GoogleNews
from newspaper import Article
from newspaper import Config
import pandas as pd
import nltk
#config will allow us to access the specified url for which we are #not authorized. Sometimes we may get 403 client error while parsing #the link to download the article.
nltk.download('punkt')

user_agent = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:<IP_ADDRESS>) Gecko/2009021910 Firefox/3.0.7'
config = Config()
config.browser_user_agent = user_agent
config.request_timeout = 5
googlenews=GoogleNews(start='10/19/2020',end='10/19/2020')
googlenews.search('test')
result=googlenews.result()
df=pd.DataFrame(result)
print(df.head())
for i in range(2,5):
    googlenews.getpage(i)
    result=googlenews.result()
    df=pd.DataFrame(result)
list=[]
for ind in df.index:
    dict={}
    article = Article(df['link'][ind],config=config)
    try:
        article.download()
        article.parse()
        article2 = article.text.split()
    except:
        print('***FAILED TO DOWNLOAD***', article.url)
        continue
    # article.download()
    # article.parse()
    article.nlp()

    dict['Date']=df['date'][ind]
    dict['Media']=df['media'][ind]
    dict['Title']=article.title
    dict['Article']=article.text
    dict['Summary']=article.summary
    list.append(dict)
news_df=pd.DataFrame(list)
news_df.to_excel("articles.xlsx")

It seems google only return this text rather than exact date. So probably can not be fixed at the moment.

Its weird because it works with older dates. Like if i try for some dates in 2017 it gives me the exact date

Yes, the recent news are not showing exact date, only older, you can check your google search, same format.

hmmm. I guess a workaround would be to set start and end date to the same day and code it so that the set/end date is timestamped into the dataframe. Then have the script loop and go one day up each time and inserting the right date until it reaches a specific date you set.
Anyone who is code-savvy enough to do this?

That could be a solution, but I don't suggest that, you may be blocked by google.

Also I was thinking about how to get avoid getting blocked by google. Perhaps there's a proxy python script that connects to a random proxy server and this code could be put into the for loop below. I'll have a look and see if this is possible.
for ind in df.index:
    dict={}
    article = Article(df['link'][ind],config=config)
    try:
        article.download()
        article.parse()
        article2 = article.text.split()
    except:
        print('***FAILED TO DOWNLOAD***', article.url)
        continue
    # article.download()
    # article.parse()
    article.nlp()

    dict['Date']=df['date'][ind]
    dict['Media']=df['media'][ind]
    dict['Title']=article.title
    dict['Article']=article.text
    dict['Summary']=article.summary
    list.append(dict)

You can add some random delay time between two requests

I see. Would something like this work? What do you use/suggest?
user_agent = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:<IP_ADDRESS>) Gecko/2009021910 Firefox/3.0.7'
config = Config()
config.browser_user_agent = user_agent
config.request_timeout = 3
googlenews=GoogleNews(start='01/01/2018',end='12/29/2018')
googlenews.search('AMZN shares')
result=googlenews.result()
df=pd.DataFrame(result)
print(df.head())
for i in range(2,365):
    googlenews.getpage(i)
    result=googlenews.result()
    df=pd.DataFrame(result)
    time.sleep(random.randint(1,30)) #something like this? Would this be correct?
list=[]
for ind in df.index:
    dict={}
    article = Article(df['link'][ind],config=config)
    try:
        article.download()
        article.parse()
        article2 = article.text.split()
    except:
        print('***FAILED TO DOWNLOAD***', article.url)
        continue
    # article.download()
    # article.parse()
    article.nlp()

    dict['Date']=df['date'][ind]
    dict['Media']=df['media'][ind]
    dict['Title']=article.title
    dict['Article']=article.text
    dict['Summary']=article.summary
    list.append(dict)
news_df=pd.DataFrame(list)
news_df.to_csv("articles.csv")

You can do in this way.


Revert "Revert new KSM metrics (#688)"

We had reverted the new KSM metric additions (#688) because we needed to create a release to fix some CVEs, but we weren't ready for the product release.
This reverts commit 9258c34a5d7b8aeb2bfd620472179a449b734ef3.

Closing this PR in favor of #706


Minor improvements for SplitToOem

When working on #14745 I noticed that SplitToOem was in a bit of a poor state
as well. Instead of simply iterating over its deque argument and writing the
results into a new deque it used pop to advance the head of both queues.
This isn't quite exception safe and rather bloaty. Additionally there's no need
to call WideCharToMultiByte twice on each character if we know that the most
verbose encoding is UTF-8 which can't be any more than 4 chars anyways.
Related to #8000.
PR Checklist

2 unit tests cover this ✅

@msftbot merge this in 10 minutes


statement.stmtError does not return a proper error message

In the example below:
I expected stmtError() to return the same string as the error from the statement.exec() function.
But the error was no where to be found.
I know it seems redundant but we have a bigger agenda
What we actually want is to retrieve an SQLError Object/s without having to parse the string/s.  This was just preliminary testing.
Code Example:
console.log("Node: ", process.version);
console.log('idb:', require("idb-connector/package.json").version);

//const { dbconn, dbstmt, SQL_HANDLE_STMT, SQL_HANDLE_DBC,SQL_HANDLE_ENV } = require('./lib/db2a');
const { dbconn, dbstmt, SQL_HANDLE_STMT, SQL_HANDLE_DBC,SQL_HANDLE_ENV } = require('idb-connector');

function runsqlp(sql, conn) {
    return new Promise((resolve,reject) => {
        let statement = new dbstmt(conn);
        statement.exec(sql, async (result, error) => {
            if (error) {
                console.log("Error string from exec():", error);
                let stmtErrorString = await stmtErrorp(statement);
                //First of all what is happening to the error?
                console.log("stmtError() is empty... Where did the error go?:", stmtErrorString);
                // Could stmtError or a new function sqlErrors(maxCountofErrorsToGet?)
                // return an array of objects instead of a string where if count is not passed it gets all
                let stmtError = {SQLSTATE: "42703", SQLCODE: -206, MSG: "Column or global variable NOCOLUMN not found."};
                statement.close();
                reject(stmtError);
                return;
            }
            statement.close();
            resolve(result);
        });
    });
}

function stmtErrorp(statement) {
    return new Promise((resolve,reject) => {
       try {
           statement.stmtError(SQL_HANDLE_STMT,1, (errormsg) => {
               resolve(errormsg);
            });
        } catch (error) {
            resolve(error);
        }
    });
}

async function test() {
    const connection = new dbconn();
    let result = {};

    connection.debug(true);
    connection.conn("*LOCAL");

//failing example
    try {
        result = await runsqlp(
            `SELECT nocolumn as field1 from sysibm.sysdummy1`,connection);
            console.log(`Result: \n \`\`\` \n ${JSON.stringify(result)} \n\`\`\` \n`);

    } catch (err) {
        console.log(`Error: \n \`\`\` \n ${JSON.stringify(err)} \n\`\`\` \n`);
    }

}

test();

Output:
Node:  v10.15.3
idb: 1.2.0
SQLConnect(0): conn obj [1803454f0] handler [2]
SQLExecDirect(-1): SELECT nocolumn as field1 from sysibm.sysdummy1

 **** ERROR *****
SQLSTATE: 42703
Native Error Code: -206
Column or global variable NOCOLUMN not found.
Error string from exec(): [Error: SQLSTATE=42703 SQLCODE=-206 Column or global variable NOCOLUMN not found.]
stmtError() is empty... Where did the error go?: SQLSTATE=ððððð SQLCODE=0 :
SQLFreeStmt: stmth 3 [SQL_DROP]
SQLFreeStmt(0)

@jasonclake I found something interesting -- you can reproduce the error only when you enable debug(true)

Makes sense if SQLError() is destructive --
Maybe just a doc update to idb-connector stmtError calling out the debug issue?
My fault -I read into the SQLError CLI doc that you could call SQLError multiple times since it says "before any function other than".  Where as SQLGetDiagRec() specifically says calling it clears the diagnostic info.
https://github.com/IBM/nodejs-idb-connector/blob/a580efce5eff667566747014f4bf3e9debe216fe/src/db2ia/dbstmt.cc#L2323
https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_73/cli/rzadpfnerror.htm
If diagnostic information generated by one DB2 for i CLI function is not retrieved before a function other than SQLError() is called with the same handle, the information for the previous function call is lost.
https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_73/cli/rzadpfndrec.htm
Diagnostic information stored under a given handle is cleared when a call is made to SQLGetDiagRec() with that handle, or when another DB2 for i CLI function call is made with that handle.

idb-connector v1.2.1 has updated the doc to indicate that dbstmt.stmtError() may not work properly when using with dbconn.debug(true).
Close this issue now.


Audio skips a lot

Whenever I play audio using this crate, the audio skips a lot, and playback is faster than normal. This only occurs when compiling unoptimized, with debug information. Compiling for release fixes the issue.
Using the example code in the docs:
let sink = Sink::new(&device);
let source = rodio::source::SineWave::new(440);
ink.append(source);
thread::sleep(Duration::from_millis(1000));

I'm using
Ubuntu 18.04
cargo 1.45.0 (744bd1fbb 2020-06-15)

I've found that this only happens when I'm streaming or have another heavy load running.

Use sink.sleep_until_end()

The issue still occurs using that function. I've found that this bug only occurs when I'm streaming. Looking at htop, it's using about 24% CPU when unoptimized, and only about 1% CPU when compiled in release mode.

You can compile dependencies only in release mode.  https://doc.rust-lang.org/cargo/reference/profiles.html#overrides
IDK what rodio can do to improve this. If you have any ideas, PRs are welcome.


[FEATURE] nested functions

Allow functions to be called on the result of other functions

part of #42


🐞 Host go tests not working on Docker for Mac

What is the issue?
When running the test suite locally (Mac M1), part of the tests fail with
host.directory.write path "/private/var/folders/qh/fcm1jq4j3p9d2js8_k_cbsyh0000gn/T/TestHostLocalDirWrite374047198/001" is outside workdir

This is unexpected behavior, as /private should be mountable (pointed out by @helderco):

Log output
go test -count=1 -race -v -run TestHostLocalDirWrite  ./core/integration
=== RUN   TestHostLocalDirWrite
=== PAUSE TestHostLocalDirWrite
=== CONT  TestHostLocalDirWrite
No buildkitd container found, creating one...
    host_test.go:190:
                Error Trace:    /Users/helder/Projects/dagger/core/integration/host_test.go:190
                Error:          Received unexpected error:
                                input:4: host.directory.write path "/private/var/folders/qh/fcm1jq4j3p9d2js8_k_cbsyh0000gn/T/TestHostLocalDirWrite374047198/001" is outside workdir
                Test:           TestHostLocalDirWrite
--- FAIL: TestHostLocalDirWrite (15.26s)
FAIL
FAIL    go.dagger.io/dagger/core/integration    15.836s
FAIL

Steps to reproduce
Clean up your dagger cache:
docker stop dagger-buildkitd ; docker rm dagger-buildkitd ; docker rmi dagger-buildkitd ; docker volume rm dagger-buildkitd

And run one of the host tests:
go test -count=1 -race -v -run TestHostLocalDirWrite  ./core/integration

Dagger version
dagger devel (69716572d) darwin/arm64
OS version
macOS 12.5.1
cc @aluzzardi @vito

Related: https://github.com/grouville/dagger/actions/runs/3282159658/jobs/5405174854
When running this test on a native MacOS runner with Docker Desktop installed, same issue.

another easy repro on Mac laptop:
ls -l /tmp
# notice /tmp is a symlink: /tmp -> private/tmp
cd /tmp
git clone https://github.com/dagger/examples test_bug_3433
cd test_bug_3433/templates/go/multiarch
go run main.go

#19 go build -o build/1.19/darwin/arm64/
#19 CANCELED

#20 go build -o build/1.19/linux/amd64/
#20 CANCELED

#21 go build -o build/1.18/darwin/arm64/
#21 CANCELED

#22 go build -o build/1.18/darwin/amd64/
#22 CANCELED

#23 go build -o build/1.18/linux/amd64/
#23 CANCELED

#24 go build -o build/1.19/darwin/amd64/
#24 CANCELED
input:1: host.workdir.write path "/private/tmp/examples/templates/go/multiarch/build/1.19/linux/arm64" is outside workdir

Related #3012

Works now, closing, as context is present on #3012


Update machine-learning-recommendation-api-sample-application.md

Did a review of the content, and made a few minor updates, including a link to the sample it is referring to.

Hi @LuisCabrer, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (luisca). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


New skull types

Reopened https://github.com/SpongePowered/SpongeCommon/pull/529 to new branch.
See SpongePowered/SpongeAPI#1095

Fixed in https://github.com/SpongePowered/SpongeCommon/commit/4ee33854ac20d3f1db3086b8ac3e3c1cf73eedad :)


Updates to reveal.md

Reworded the "when to add reveal" section, updated the do's and don'ts page.

@kikisaints : Thanks for your contribution! The author(s) have been notified to review your proposed change.

This PR is also attempting to address issue #1855 , @chigy
And is addressing the type brought up in this winui issue

@mijacobs : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@kikisaints @mijacobs - there are some issues with this PR, which should be handled in the private repo. ideally, you'd close this and push the commits in this PR to a brand on your fork in the windows-uwp-pr repo. Can you do that?
If you need help moving the commits let us know and we can help with that. Thanks.
@kikisaints - as a Microsoft contributor you should be working in the private repos. Can you do that in the future? Thanks. Here's some information about that

Microsoft authors and contributors need to make content contributions through the private repository so the content can be staged and validated by the current validation rules.
After you review staging and fix all validation issues, you can tag an author for review or add the sign-off comment to let PR reviewers know that the updates are ready to be merged.
Read about authors working in the public repo for more information.
If you need help getting set up to work in the private repo, see How to get to the private repo. You can also take a look at the GitHub account setup page for additional details on making sure you're set up.

@Jak-MS First I've heard of this - thank you! I'll do that in the future.

@mijacobs, do you want us to assist with the move to the private repo?

@jborsecnik, I moved the update over to the private repo, my apologies for not providing an update.

Thanks!
From: Mike Jacobs<EMAIL_ADDRESS>Sent: Friday, August 30, 2019 12:17 PM
To: MicrosoftDocs/windows-uwp<EMAIL_ADDRESS>Cc: Jeff Borsecnik (Aquent LLC<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/windows-uwp] Updates to reveal.md (#1857)
@jborsecnikhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjborsecnik&data=02|01|v-jeffbo%40microsoft.com|5b77ab44d7c5452d1c1108d72d7e9228|72f988bf86f141af91ab2d7cd011db47|1|0|637027893947148333&sdata=S%2FhVBb5gnHistPCGaKAe8YF%2FEThyJnf3mm0bbJh%2FW7w%3D&reserved=0, I moved the update over to the private repo, my apologies for not providing an update.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindows-uwp%2Fpull%2F1857%3Femail_source%3Dnotifications%26email_token%3DAIW2RCPAMAZUEHQMFZON3ELQHFWZDA5CNFSM4ILE3L62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5SRDMA%23issuecomment-526717360&data=02|01|v-jeffbo%40microsoft.com|5b77ab44d7c5452d1c1108d72d7e9228|72f988bf86f141af91ab2d7cd011db47|1|0|637027893947148333&sdata=7z1cMQ%2FwaHpRru1%2ByA2SrF5yQo2kdGww6e6XFLBPMiE%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIW2RCNF7NECMBTG5ZFGTS3QHFWZDANCNFSM4ILE3L6Q&data=02|01|v-jeffbo%40microsoft.com|5b77ab44d7c5452d1c1108d72d7e9228|72f988bf86f141af91ab2d7cd011db47|1|0|637027893947158328&sdata=%2B5mLcSlQkN5QbcL0ShIWjwvLyY225vGoZ%2FPNDEWQQ9s%3D&reserved=0.


QAR- 101 - AR screen to location

https://devtopia.esri.com/runtime/queen-annes-revenge/issues/101

Added function to enable screen to location
Updated ArcGIS lib to 100.6.0

Assigning to @mhdostal for first review. Thanks.

@LDuncAndroid - had a couple of other comments:

the translationTransformationFactor here is now called translationFactor.

the originCamera and translationTransformationFactor properties appear to set the corresponding values in the cameraController.  However, at least the translationFactor can be set outside the Toolkit code (pinch to zoom), so I'm wondering if the ArcGISARView property would be out of date then.

On iOS, I don't store the translationFactor but get/set it from the CameraController.

Thanks for the review @mhdostal . I've made those changes.

@mhdostal I had to make another commit after requesting review, sorry. Missed the case where trying to start ARCore when it wasn't installed.

the originCamera and translationTransformationFactor properties appear to set the corresponding values in the cameraController.  However, at least the translationFactor can be set outside the Toolkit code (pinch to zoom), so I'm wondering if the ArcGISARView property would be out of date then.

The only other thing I think you should test is the above.  Both translationFactor and originCamera can change outside the toolkit from user interaction on the scene.  I'd check and make sure that those values are updated when that happens.

the originCamera and translationTransformationFactor properties appear to set the corresponding values in the cameraController.  However, at least the translationFactor can be set outside the Toolkit code (pinch to zoom), so I'm wondering if the ArcGISARView property would be out of date then.

The only other thing I think you should test is the above. Both translationFactor and originCamera can change outside the toolkit from user interaction on the scene. I'd check and make sure that those values are updated when that happens.

@mhdostal they won't be automatically updated when the change happens in SceneView but and call to the getter/setter will get/set from the camera controller. I have missed the originCamera as you've described above.
But in the issue with the Behavioural changes, you mentioned setting the originCamera to nil in resetTracking(), but doing so will cause an exception.

@LDuncAndroid - Approved.

But in the issue with the Behavioural changes, you mentioned setting the originCamera to nil in resetTracking(), but doing so will cause an exception.

I'm going to revisit this issue on iOS when the final design for the StartTracking enum is approved.

Thanks for the review @mhdostal . Assigning to @gunt0001 for 2nd review.

Thanks for the review @gunt0001 . I've fixed those issues. Ready for re-review.

Thanks for the reviews @mhdostal , @gunt0001 . Merging.


Download link doesn't work anymore

Tried to download but there is 401 error on Dropbox: https://dl.dropboxusercontent.com/s/kk2oaclxnrtyvle/svgo-gui-osx-ia32.7z?dl=1
Please fix!

fixed

Respect!


Foundry v10 Support

Hi
When running FVTT v10 with Midi-QOL installed, i get the following compatibility errors:
[midi-qol] Metadata validation failed for module "midi-qol": Module Model Validation Errors
[Module.packs]: Model Validation Errors
The Compendium pack "midiqol-sample-items" of the "Item" type must declare the "system" upon which it depends.
setup.js:145 [midi-qol] The module "midi-qol" contains dependencies using "name" which is deprecated in favor of "id"
setup.js:145 [midi-qol] The module "midi-qol" contains "dependencies" which is deprecated in favor of "relationships.requires"
setup.js:145 [midi-qol] module "midi-qol" contains "system" which is deprecated in favor of "relationships.systems"

I will have to update it, which is fine. I can do this tomorrow.

This module is so small that I would integrate it directly on the "TidySheet" module as a feature.

A ok you are right is working on the standard sheet too , me stupid, no hurry take your time.

Well, technically the module works fine on v10. The issue reported here is actually MIDI, not this module. I've already fixed the v10 issue in v1.0.3 I just have to push it out.
But honestly, this should be ported straight into MIDI - QOL. Cause you are right, it's super small. I can't remember my conversation with the developer at the time and if there was a reason it was released as a separate module.

This shouldn't throw v10 warnings anymore as of 1.0.3


Version 3.4 fails to import

import AMCoreAudio fails when podfile specifies version 3.4 no such module AMCoreAudio. AMCoreAudio imports without error for versions 3.3 and 3.3.1 when specified in podfile.

CocoaPods is no longer supported, please migrate to Swift Package Manager.


Firebird and gorm

Hello, is there any way to use gorm with Firebird database?
Thank you.

You can write custom plugin, they look simple:

https://github.com/go-gorm/mysql
https://github.com/go-gorm/sqlite
https://github.com/go-gorm/postgres

@andytruong
Hi, I'm trying to write custom dialect for Firebird 2.0.
It only supports old-style LIMIT(), OFFSET() which uses FIRST <num> and SKIP <num>.
How can I write custom LIMIT and OFFSET clause?
Seems like GORMv1 has LimitAndOffsetSQL method in Dialect interface but Dialector of GORMv2 doesn't.

Hello @Hyejin
Check out https://github.com/go-gorm/sqlserver/blob/master/sqlserver.go#L45, there is an example for how to
Thank you

@andytruong
Hi, I'm trying to write custom dialect for Firebird 2.0.
It only supports old-style LIMIT(), OFFSET() which uses FIRST <num> and SKIP <num>.
How can I write custom LIMIT and OFFSET clauses on my own?
Seems like GORMv1 has LimitAndOffsetSQL method in Dialect interface but Dialector of GORMv2 doesn't.

You can use ROWS instead of FIRST.

Maybe https://github.com/nakagami/firebirdsql can help you

Maybe https://github.com/nakagami/firebirdsql can help you


App Crashes after a few seconds

I attempted to use the library in a personal project and I experience a weird issue.
After a few seconds, if I went through approximately 5-6 product views (which contains 2 pictures of approximately 1-2Mo each), the app crashes, without any log.
Here is my integration:
@override
  Widget build(BuildContext context) {
    return Stack(
      children: <Widget>[
        Center(
          child: TransitionToImage(
            image: AdvancedNetworkImage(
              imageURL,
              retryLimit: 3,
              useDiskCache: true,
              cacheRule: CacheRule(
                maxAge: const Duration(days: 7),
              ),
            ),
            loadingWidgetBuilder: (context, _, __) =>
                CircularProgressIndicator(),
            fit: BoxFit.contain,
            placeholder: Container(),
            enableRefresh: true,
          ),
        )
      ],
    );
  }

I managed to catch an Exception just before a crash though:
The following _Exception was thrown resolving an image frame:
Exception: operation failed

When the exception was thrown, this was the stack:
#0      MultiFrameImageStreamCompleter._decodeNextFrameAndSchedule (package:flutter/src/painting/image_stream.dart:680:20)
<asynchronous suspension>
#1      MultiFrameImageStreamCompleter._handleCodecReady (package:flutter/src/painting/image_stream.dart:644:7)
#10     AdvancedNetworkImage._loadAsync (package:flutter_advanced_networkimage/src/provider/flutter_advanced_networkimage.dart)
<asynchronous suspension>
...
Image provider: AdvancedNetworkImage("https://mysterytea.fr/wp-content/uploads/2018/08/LeverDuSoleilBackProduct.jpg",scale: 1.0,header: null,useDiskCache: true,retryLimit: 3,retryDuration: 0:00:00.500000,retryDurationFactor: 1.5,timeoutDuration: 0:00:05.000000)
Image key: AdvancedNetworkImage("https://mysterytea.fr/wp-content/uploads/2018/08/LeverDuSoleilBackProduct.jpg",scale: 1.0,header: null,useDiskCache: true,retryLimit: 3,retryDuration: 0:00:00.500000,retryDurationFactor: 1.5,timeoutDuration: 0:00:05.000000)

Same issue here. Makes plugin unusable

I decided to use another library instead:
https://pub.dev/packages/cached_network_image
It’s enough for my needs
I may be wrong, but I think these two plugins don’t use the same base for caching feature. cached_network_image uses sqflite
It may be because of that or not, I honestly don’t know

Hey, thanks for the recommendation!

Exception: operation failed should be flutter's decode error :/


Allow multiple documents for "Trigger Email" extension

[READ] Step 1: Are you in the right place?
Issues filed here should be about a feature request for a specific extension in this repository. To file a feature request that affects multiple extensions or the Firebase Extensions platform, please reach out to
Firebase support directly.
[REQUIRED] Step 2: Extension name
This feature request is for extension: **\firestore-send-email
What feature would you like to see?
Allow multiple collections to trigger emails.  I tried adding "mail, contactMe" and got the following message:
Error installing. Some extension resources may not be fully provisioned or ready to use.
How would you use it?
Multiple collections to trigger emails through comma separated list.

Hi @andersjr1984 at the moment the extension allows only a single collection to be monitored to trigger emails. To add another collection, you can install another instance of the extensions and configure it for a new collection.

Closing issue - recommended approach right now is to install multiple instances of the extension with differing config options.


Windows: callback.go:8:10: fatal error: curl/curl.h: No such file or directory

Hi there, I am trying to build/run our program on a Windows Laptop machine.

go run main.go provider.go

# github.com/andelf/go-curl
..\go\pkg\mod\github.com\andelf\go-curl@v0.0.0-20200630032108-fd49ff24ed97\callback.go:8:10: fatal error: curl/curl.h: No such file or directory
    8 | #include <curl/curl.h>
      |          ^~~~~~~~~~~~~
compilation terminated.

go build .

# github.com/andelf/go-curl
..\go\pkg\mod\github.com\andelf\go-curl@v0.0.0-20200630032108-fd49ff24ed97\callback.go:8:10: fatal error: curl/curl.h: No such file or directory
    8 | #include <curl/curl.h>
      |          ^~~~~~~~~~~~~
compilation terminated.

Same error for me.

Hi.  I'm just a user of go-curl, and I am not on Windows currently.. but try defining the ENV var CURL_GIT_PATH to be where-ever your source dir for CURL is located.
You might need to play with the path or path format some (add some prints to see what paths it's attempting). I don't remember much about how Windows and UNIX paths translate.
Worst case, I see in the code that IF CURL_GIT_PATH "is NOT" defined, then it will simply look for a  curl directory just underneath go-curl (and then below, you see it looks in the curl-git-repo/include/curl). For this I'd probably just copy your curl repo into go-curl (then maybe remove the copied dir, afterwards)
target_dirs = [
'{}/include/curl'.format(CURL_GIT_PATH),
'/usr/local/include',
'libdir/gcc/target/version/include'
'/usr/target/include',
'/usr/include',
]


Backport "Improve ConstraintHandling of SkolemTypes" to LTS

Backports #20175 to the LTS branch.
PR submitted by the release tooling.
[skip ci]

No regressions detected in the community build up to lts-20227.
Reference


Undocumented change to default admin scripts

Commit  https://github.com/chrislusf/seaweedfs/commit/3d7390302d9b3b1e1bbbd23653dc52bdc3bd27c4#diff-1f7b377a963eee3cdc38f3f4b7c168638a43855c5e3b03e7fcc00504dba4389aL215 enabled ec.encode on masters which have no master.toml file.
I understand if these are the recommended defaults (and that I should have a master.toml), but this is not described in the release notes and it took me a while to dig through the commit history to figure out what as going on.

Sorry, I need to revert this to a more "common" default.


Question about Actions.refresh

I'm not sure if this was working the same on 3.x, but on 4 I noticed the following thing.
I have 3 scenes
A -> B -> C
Scene A is a list view.
Scene B shows a single Item
Scene C is an edit scene.
on Scene B I have this code:
	componentWillReceiveProps(nextProps) {
		if (this.props.company !== nextProps.company) {
			this.handleNavBar(nextProps.company);
		}
	}

	componentWillMount() {
		this.handleNavBar(this.props.company);
	}

	handleNavBar(company) {
        Actions.refresh({
            title: company.name,
            rightTitle: 'Bearbeiten',
            onRight: () => {
                this.props.editCompany(company.company_id);
                Actions.formCompany();
            }
        });
	}

Basically when the component is mounted we set a new title and we specify what should happen when you click the right button. This works fine. ComponentWillReceiveProps make sure that whenever our redux state is updated we update the Navbar header. That works.
However in Scene C I have this:
    componentDidMount() {
        let title = 'Betrieb hinzufügen',
            rightTitle = 'Speichern';

        if (this.props.editMode) {
            title = 'Betrieb Bearbeiten';
            rightTitle = 'Fertig';
        }
        Actions.refresh({
            title: title,
            rightTitle: rightTitle,
            onRight: () => this.onRight(),
            backTitle: 'Abbrechen'
        });
    }

I'm again modifiy the tilte and right button. The problem is that in the edit Scene I do an update to the company. When I do this scene's B componentWillreceiveProps is updated with the new company. the handleNavBar function is called and we call Actions.refresh on scene B. But it doesn't refresh the navbar on Scene B, but on Scene C.
So my title changes to "Company name" and my right button changed to "edit" and not "save"... Obviously the action is also different.
Is this the expected behavior and is there any way around this other than using my own Navbar or just not updating the on componentWillReceiveProps?

refresh within componentDidMount or componentWillReceiveProps is definitely anti-pattern. All you need is Redux or MobX and change state of your app accordingly and define static onRight, rightTitle, title functions within your component that will display that state. For MobX, RNRF allows wrapping all navbar by 'observer', so it will be fully dynamic - i.e. updated automatically.

ok, Do you have an example?
I remember trying the static onRight in the past, but the issue was that I didn't have access to my component save function as this was not pointing to the component within the static function

Yes, it is good question, it would be great to create separate issue for this - 'access to the component props from the navbar' I will think how to achieve that.

@aksonov going to start an issue specifically based off this.

Any progress on this issue?


Race condition bug on "my-fueled-app" example

What version of fuels-ts are you using?
Latest (v0.13.0)
Steps to Reproduce

Run the "my-fueled-app" sample application according to the Quickstart guidelines walkthrough.
Click the "Increment" button several times, and the faster you can. (You can also use a script to click on it very fast to make it easier to reproduce)
Look into the console of the fuel-core API running, and you can see errors mentioning: "Transaction id was already used".

Expected Behavior
The expected behavior is to use the cleanup function to prevent newer promises from being fired before older ones get fulfilled.
Or it can also be a loading state, or even to keep track of the last used transaction id, but I do feel that's too much for a simple task.
Actual Behavior
Basically, the errors are popping up on the console of the fuel-core API running. And this is because of the promise race condition bug which occurs because the old promise was fulfilled before the newer promise. The application is not handling that edge case because there is no cleanup being used on hooks or there is no loading state or something like this.

@luizstacio what's the current status on this?


Add time stamp to messages

Summary

It would be great if each message was preceded by a time stamp!

Motivation

Sometimes you want to look back to the date and time of the message.

+1.
this is great feature, would be great to enable/dissable in options

Hi All,
I would like to work on this.
Question Regarding the feature
@krunoPeric @michondr @tomquirk
Should I just add timestamp to the messages shown in history command?
Will this format be good?
[] :
for example
[11/17/2020, 4:29:30 PM] Ravichandra:Hi

toLocaleString should return output most suitable for the user. if you want to make it fancier, you could enable the user to set the format himself

Can I send the pull request with toLocaleString?

Yep, this looks great @Ravichandra-C.

Added this featre as part of #165 pull request.
Can you please merge it if the changes are sufficient? If not, Can you please let me know what else needs to be done?


Propagate i18n

Coverage remained the same at 63.616% when pulling 69bcea5aa44e5a4e34af8caca71e105cd1fa3ca4 on propagate-i18n into 53a7d67d6d6e731d42961bf9c09d62452c103942 on master.


M01-LAB1: Need few updates, due to UI changes

Contact Details
No response
What happened?
Exercise : 00
Task:
Step: 00
Description of issue:

Now the user is not shown directly in the capacity tab, need to click on "Add user" explicitly

It should be board settings on this one

Also settings for the Sprint Taskboard suffered some updates (see ADO and screenshot in instructions)

Repro steps:
1.
1.
1.
Lab
Agile planning and portfolio management with Azure Boards
Relevant screenshots
paste here 😉
Do you want to help us? 👏

[ ] Create a Pull Request by following this project's Contribution Guide

Full lab has been reviewed and updated both in content, wording, new screenshots and integrated other bug fixes


Wrong version for Visual Studio 2019

There are places where the directory of interest includes "15.0" in the path. These should be "16.0".

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

ID: 98c96bcc-1743-8d9f-f1b2-3c30d5b2a6e2
Version Independent ID: f57a6157-332a-3f31-c785-7efa99e62711
Content: Pair to Mac for Xamarin.iOS Development - Xamarin
Content Source: docs/ios/get-started/installation/windows/connecting-to-mac/index.md
Product: xamarin
Technology: xamarin-ios
GitHub Login: @conceptdev
Microsoft Alias: crdun

Thanks, addressing this now.


Quick click leaves drag template ghost that won't disappear

Added mouse button down guard around DragEnter
Please check the logging (now removed) added in commit 80d9ac5633fc06dcf7f2e4f85e10b1342085df70
Doing a fast click, drag, release can make the drag template stay open indefinitely. It's because the DragEnter event handler can be called after the DragSourceOnQueryContinueDrag event, but there are no mouse buttons depressed when it is called:
DragSourceOnMouseMove Left Pressed
_draginProgress true
DoDragSourceMove setting preview
UpdatePreviewPresenter ->
setting template
DragSourceOnQueryContinueDrag setting nulls
DropTargetOnDragEnter Copy, Move None
DragEnter
DropTargetOnDragOver setting preview
UpdatePreviewPresenter ->
setting template
UpdatePreviewPresenter ->
visual source not null
Drag cancelled
DragDropOperationFinished None
_draginProgress false
DragLeave

I think this is fixed by #497


fixed an issue where unpublished polls were not serializing.

Needed this for the "Coming Soon" banner to show up for unpublished polls.
@mparent61 @benghaziboy @MichaelButkovic

:+1:

@collin that link to the docs you commented on is the same that I have

:+1:

@mparent61 or @benghaziboy Any idea why this would start failing now?
https://travis-ci.org/theonion/django-bulbs/jobs/115095049#L3209

Looks like a flaky test -- when I re-ran one of the failing tests it
passed.
On Thu, Mar 10, 2016 at 10:41 AM, collin<EMAIL_ADDRESS>wrote:

@mparent61 https://github.com/mparent61 or @benghaziboy
https://github.com/benghaziboy Any idea why this would start failing
now?
https://travis-ci.org/theonion/django-bulbs/jobs/115095049#L3209
—
Reply to this email directly or view it on GitHub
https://github.com/theonion/django-bulbs/pull/135#issuecomment-194942775
.

--
Mike Parent
Developer
Onion, Inc.


feat: add gitpod support

Closes #472
✅ Checklist

[x] I have followed every step in the contributing guide (updated 2022-08-15).
[x] The PR title follows the convention we established conventional-commit
[x] I performed a functional test on my final commit

Changelog

Added .gitpod.yml

Why do we need this?

As I said in the corresponding isse: "Getting started with contributing to this repository could be made a lot easier."
So this is not a must have but rather an improvement to the contribution workflow for people (like me) who use Gitpod.

Sorry I missed the issue. Man I really don't like gitpod lol. I will leave this to the other maintainers

Sorry I missed the issue. Man I really don't like gitpod lol.  It's not that big of a deal, really.

Sorry I missed the issue. Man I really don't like gitpod lol. I will leave this to the other maintainers

Me neither

We'll merge it why not

We'll merge it why not

Great! Makes things a lot easier for Gitpod users.


[SR GeekCamp] Support manual refresh hive external table schema info

What type of PR is this：

[ ] feature

Which issues of this PR fixes ：

related with  #4030
Problem Summary(Required) ：

Add code for judging hive schema change
Refresh table schema cache
Persist the schema change log

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

old pr refer to : https://github.com/StarRocks/starrocks/pull/4319

run starrocks_fe_unittest

run starrocks_fe_unittest

run starrocks_fe_unittest

[FE PR Coverage check]
:disappointed: fail : 14 / 105 (13.33%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/persist/ModifyTableColumnOperationLog.java
0
12
00.00%

:large_blue_circle:
com/starrocks/catalog/HiveMetaStoreTable.java
0
1
00.00%

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
0
14
00.00%

:large_blue_circle:
com/starrocks/persist/EditLog.java
0
6
00.00%

:large_blue_circle:
com/starrocks/journal/JournalEntity.java
0
3
00.00%

:large_blue_circle:
com/starrocks/catalog/HiveTable.java
14
69
20.29%


[FIXED] Feat: Adding searching and sorting functionality in Bali page #1861

Related Issue
#1861
Fixes:  #1861
Description
#1861
On the Bali page where the hotels are displayed there is no option to search hotels by their name or sort the hotel by their price such as 'high to low' or 'low to high' or 'featured.
I added the following functionalities to the page:

Sorting
Searching

Type of PR

[ ] Bug fix
[X] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
The feature looks like:

The feature looks like this on the page:

Checklist:

[X] I have made this change from my own.
[X] My code follows the style guidelines of this project.
[X] I have performed a self-review of my own code.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] I have made corresponding changes to the documentation.
[X] My changes generate no new warnings.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers and screenshots after making the changes.

@PriyaGhosal please take a look at this

Cant review and merge it further.. it has been assigned by the bot.
i already gave many points for these PR from buddy trails. now no more


The nslookup cli syntax for non-interactive mode is not really covered here at all with any of the examples/docs.

[Enter feedback here]
Need the examples to include the -<variable>=<value> part of the syntax when used directly within scripts/cli/powershell.
Example1:  nslookup -type=MX example.com  (To retrieve mail server DNS record types)
Example2:  nslookup -type=AAAA example.com (To retrieve only IPv6 record types)
Example2:  nslookup -debug -type=A+AAAA -nosearch -recurse example.com <IP_ADDRESS> (To enable debug output, retreive both IPv6 and IPv4 addresses, and do not attempt to use the search domain, use recursive lookup, use the <IP_ADDRESS> dns server for query)
Example4:  nslookup -debug -type=SOA example.com (To retrieve the start of authority record for zone example.com)

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

ID: 9eba5593-e098-79ad-d314-fde8f49b1aac
Version Independent ID: 8b7dbf11-907c-85f3-07c2-681de5830324
Content: nslookup
Content Source: WindowsServerDocs/administration/windows-commands/nslookup.md
Product: windows-server
Technology: windows-commands
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

Hello @daemonhorn,
Thanks for contacting Microsoft. We value your feedback.
Documentation changes have been made to add examples for both interactive and noninteractive nslookup modes, and clarifying how and when to use each. The changes will be live after the next business day. We will now be closing this thread.
Thank you and have a most pleasant day.
#please-close


Integrate Privacy Policy in Software

The privacy policy is for each customer (instance) should be on 100eyes servers. it is individual. The basic text should be on the server and on each instance the address should be included "Verantwortliche nach Art. 4 Nr. 7 der EU-Datenschutzgrundverordnung (DS-GVO) ist die: [Medienhaus XYZ GmbH]""

Okay, just to clarify:

The contact/address data of the party responsible according to GDPR should be customisable in the settings.
The basic "template" for the privacy policy should not be customizable in the settings.

Correct?
(I’m also going to close #904 as I think both issues should be implemented at once.)

Could we simply allow HTML input for data privacy and terms and condition page?

@roschaefer The PP and TOS are the same for every client, the only thing that changes is the responsible party. So in order to keep it simple, we could have a static template and one or two settings fields to fill out the info that changes.
That way, when one of the documents changes, all we need is to update it in a single place and redeploy. Otherwise, Astrid and Jakob would have to update the documents on each instance individually.
On the other hand, managing content like this in the source code is a small disadvantage, but worth the improved workflow, I think.

Re HTML: I think I'd prefer Markdown here as well as were already using it in other places of the app and it's easier to read/update.

Relationship between client and contributor.
Only information about person.
Should be optional to host our "standard one" plus contact person.

@drjakob I moved this out of the current milestone after the conversation we had in Slack.
There is some doubt whether we will work on this ticket at all, anyways it is not ready to be worked on so I'll move it out of the current milestone.


Error System.DllNotFoundException when trying to run code on Debian

I tried to run the project on сlear Debian 11 + dotnet SDK.   Project from github, without edits.
Builded, but is non running

pasha_e@debian-pe:~/Projects/photino.Blazor-master$ dotnet run --project Samples/HelloWorld/
Photino.NET: "Photino".SetTitle(Photino.Blazor App)
Photino.NET: "Photino.Blazor App".SetUseOsDefaultLocation(False)
Photino.NET: "Photino.Blazor App".SetWidth(1000)
Photino.NET: "Photino.Blazor App".SetHeight(900)
Photino.NET: "Photino.Blazor App".SetLeft(0)
Photino.NET: "Photino.Blazor App".SetTop(100)
Photino.NET: "Photino.Blazor App".SetIconFile(favicon.ico)
Photino.NET: "Photino.Blazor App".SetTitle(Photino Hello World)
Photino.NET: "Photino Hello World".Load(app://localhost/)
Photino.NET: "Photino Hello World"***
Unable to load shared library 'Photino.Native' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libPhotino.Native: cannot open shared object file: No such file or directory
at PhotinoNET.PhotinoWindow.Photino_ctor(PhotinoNativeParameters& parameters)
at PhotinoNET.PhotinoWindow.b__277_0()
at PhotinoNET.PhotinoWindow.Invoke(Action workItem)
at PhotinoNET.PhotinoWindow.WaitForClose()
Error #0
Unhandled exception. System.ApplicationException: Native code exception. Error # 0  See inner exception for details.
---> System.DllNotFoundException: Unable to load shared library 'Photino.Native' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libPhotino.Native: cannot open shared object file: No such file or directory
at PhotinoNET.PhotinoWindow.Photino_ctor(PhotinoNativeParameters& parameters)
at PhotinoNET.PhotinoWindow.b__277_0()
at PhotinoNET.PhotinoWindow.Invoke(Action workItem)
at PhotinoNET.PhotinoWindow.WaitForClose()
--- End of inner exception stack trace ---
at PhotinoNET.PhotinoWindow.WaitForClose()
at Photino.Blazor.PhotinoBlazorApp.Run() in /home/pasha_e/Projects/photino.Blazor-master/Photino.Blazor/PhotinoBlazorApp.cs:line 50
at HelloWorld.Program.Main(String[] args) in /home/pasha_e/Projects/photino.Blazor-master/Samples/HelloWorld/Program.cs:line 32

If i change  in Photino.Blazor.csproj package reference
<ItemGroup> 		<PackageReference Include="Photino.NET" Version="2.4.0" /> 	</ItemGroup>
to
<ItemGroup> 		<PackageReference Include="Photino.NET" Version="2.3.0" /> 	</ItemGroup>
project is builded and launched.
With  Photino.NET Version 2.3.2 not launched too.
If in Debug folder replace manually file Photino.Native.so to old version (24.09.2022  ver 2.2.3) project launched successfully.
So, I have a problem on Linux based system   with Photino.Native version older 2.2.3.
On Windows   builded and launched withhout problem on all versions.
What could be the reason?

Additional info.
On Ubuntu 22.04 work corectly.
On Debian 11 not found dependency at version 2.4.1 (13.04.2023)

pasha_e@debian-pe:~/Projects/Strela/StrelaGUI/bin/Debug/net6.0/runtimes/linux-x64/native$ ldd Photino.Native.so

./Photino.Native.so: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by ./Photino.Native.so)

I compiled the library Photino.Native.so from source on my Debian 11.  And this library works correctly.
Thus, the library from your NuGet repository is platforfm-dependent. To work correctly on Linux disribution, other thn Ubuntu, recompilation is required.

Additional info. On Ubuntu 22.04 work corectly.
On Debian 11 not found dependency at version 2.4.1 (13.04.2023)

pasha_e@debian-pe:~/Projects/Strela/StrelaGUI/bin/Debug/net6.0/runtimes/linux-x64/native$ ldd Photino.Native.so

./Photino.Native.so: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by ./Photino.Native.so)

Thank you for the additional information here. Is the console output from trying to run your program after building it or is this an error that you got while building your project?

We'll try to statically link these dependencies during compilation and see if we can fix this error that way.

Additional info. On Ubuntu 22.04 work corectly.
On Debian 11 not found dependency at version 2.4.1 (13.04.2023)

pasha_e@debian-pe:~/Projects/Strela/StrelaGUI/bin/Debug/net6.0/runtimes/linux-x64/native$ ldd Photino.Native.so

./Photino.Native.so: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by ./Photino.Native.so)

Thank you for the additional information here. Is the console output from trying to run your program after building it or is this an error that you got while building your project?

This is the console output from checking the library Photino.Native.so dependencies (last version from nuget)
(Ldd is a Linux command line utility that is used in case a user wants to know the shared library dependencies of an executable or even that of a shared library.)

Thank you @pasha-e!
I somehow completely missed the command at the very end of that line. Should've had another cup of coffee before I looked through the issues here 😆
I got a Debian 11 VM with LXDE going and will test it shortly

Hi @pasha-e
Can you try the following debug package? You will likely need to add a nuget.conf file to your project as described under "Connect to Feed" (there's a  tag you might need to remove).
https://dev.azure.com/tryphotino/Photino.Native/_artifacts/feed/PhotinoPackages/NuGet/Photino.Native/overview/0.9.0-20230428.1

I am also facing this problem and have found a solution to this problem. see below detail.
and i make the recompiled Photino.Native.so to new nuget package,
you could find it in nuget.org , search "AZ.Photino.Blazor.UnOfficial", or "AZ.Photino.Net.UnOfficial" and "AZ.Photino.Native.UnOfficial",
i've test on ubuntu 18.04.6, debian 11, linux mint 20.1 , ubuntu 22.04 , it's worked fine.
also , i compiled the linux-arm64, but I didn't test it, I don't know if it can run normally on the linux-arm64 system.
may be someone could to test it in linux-arm64.

the reason is that debian 11 default  apt source can install gcc/g++ max version is gcc-10/g++10  ,
and the debian 11 only have max version of GLIBCXX_3 is GLIBCXX_3.4.28 ,
therefore , the Photino.Native.so on nuget.org , is building by gcc-11/g++-11, that needed the GLIBCXX_3.4.30,
you can try this command  to check your target system :
sudo strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBC
or
strings /usr/lib64/libstdc++.so.6 |grep GLIBC
and to resolve this issue, you need use lower version gcc/g++ to compile Photino.Native.so,
i have tried use gcc-8 ,it's can not compiled.
then i tried  gcc-10/g++-10,  it's  build successed. so and use this command to check the .so file real dependecy:
objdump -T Photino.Native.so | grep -Eo 'GLIBCXX_\S+'| sort -u

Debian, I've also encountered this problem  ， photino.blazor 2.4.1 version

I recently went to see how hard it would be to refactor a photino blazor app over to support linux and was faced with the GibC version issue, brand new Ubuntu instance on a VM, only things installed were .net 8 and Rider via the ubuntu app store thingy.

A debug version is available that is compiled against GLIBCXX_3.4.21/GLIBC_2.17 and libwebkit2gtk-4.0.
During my testing I was able to run this on fresh installations of Ubuntu 22.04, Ubuntu 20.04, Debian 12, Debian 11 with Gnome desktop environment on ARM64.
I tested a Debian installation with the latest Plasma (KDE) desktop and noticed it is using a QT version of the webkit browser control. We're looking into how to fix this. Until then, if you are dependent on this environment you might need to depend on apt for packaging and referencing libwebkit2gtk-4.0 as a dependency for installation.
I'd appreciate any feedback for x64 based systems as I currently don't have access to it. Here's a debug package based on the latest Photino.NET 2.6.0. If it works for y'all I'll push a release to main and Nuget release. TIA
https://dev.azure.com/tryphotino/Photino.Native/_artifacts/feed/PhotinoPackages/NuGet/Photino.NET/overview/0.9.0-dev-20240209.1
@pasha-e @azraelrabbit @bxjg1987 @grofit

I went to try your version but it kicks up too many problems, as Photino.Blazor wants Photino.Net >= 2.6.0 and I dont believe .net core/5+ supports assembly redirects, so I couldnt test it sorry. If you have a workaround for that problem or can bump the development version up I am happy to try again later.

@grofit Here's a Blazor package that uses the latest Photino.NET debug package:
https://dev.azure.com/tryphotino/Photino.Native/_artifacts/feed/PhotinoPackages/NuGet/Photino.Blazor/overview/0.9.0-dev-20240216.1

Thanks for providing that, it got further but then blew up on:
Unable to load shared library 'Photino.Native' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable:
libwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory
/snap/dotnet-sdk/236/shared/Microsoft.NETCore.App/8.0.2/Photino.Native.so: cannot open shared object file: No such file or directory

I am using a bare bones install of Ubuntu 23.10 (in a VM), so not installed anything major other than Rider, GitKraken and .net 8, happy to try anything else that will help you progress.
Forgive me for being a simpleton but is the crux of the problem that you are forced to link to a specific version of glibc and gtk etc, so even if you get this working out the box for my version of ubuntu it will potentially break for other peoples versions out the box?
Hopefully there is some way of requesting a minimum version or somthing like we do with semver, but I never really use Linux so have no idea about if there is any way to do that, thanks again for your help so far though.

@grofit
Which desktop environment are you using? Gnome?
I have tried 20.04 and 22.04 with Gnome and it worked out of the box. An installation with Plasma (KDE) did not work because it relies on a QT version of webkit instead of the GTK version.
I haven't tried 23.10, could you run sudo find / -iname 'libwebkit2gtk-*' and reply with what versions you have installed?

I believe it is gnome as thats what is listed in the help docs, but as I have no idea where to find that information its whatever the official ubuntu 23.10 release comes with.
Anyway here is what the result of that command was:
find: ‘/run/user/1000/gvfs’: Permission denied
find: ‘/run/user/1000/doc’: Permission denied
/var/lib/dpkg/info/libwebkit2gtk-4.1-0:amd64.symbols
/var/lib/dpkg/info/libwebkit2gtk-4.1-0:amd64.shlibs
/var/lib/dpkg/info/libwebkit2gtk-4.1-0:amd64.md5sums
/var/lib/dpkg/info/libwebkit2gtk-4.1-0:amd64.list
/var/lib/dpkg/info/libwebkit2gtk-4.1-0:amd64.triggers
/usr/share/doc/libwebkit2gtk-4.1-0
/usr/share/lintian/overrides/libwebkit2gtk-4.1-0
/usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.1.so.0
/usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.1.so.0.12.7
/snap/gnome-42-2204/141/usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so
/snap/gnome-42-2204/141/usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
/snap/gnome-42-2204/141/usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37.63.5
/snap/gnome-42-2204/141/usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.1.so
/snap/gnome-42-2204/141/usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.1.so.0
/snap/gnome-42-2204/141/usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.1.so.0.8.5
/snap/gnome-42-2204/141/usr/share/lintian/overrides/libwebkit2gtk-4.0-37

I know this has been closed, but I recently tried the latest 3.* release and same issues as above still exist and the other issues you link to are not specifically about getting it running/building on Linux. So I would ask this issue be re-opened as I still cant even run Photino apps in Ubuntu >= 23, and there is no real guidance as to how to get them running.


Glimmer handlebars highlighting support

For Ember.js web development, it would be great to have Glimmer Handlebars highlighting support. There is a tree-sitter grammar at https://github.com/alexlafroscia/tree-sitter-glimmer.

Thanks, tracked in #272


LLM

[ ] Annealing & Temperature
[ ] BPE
[ ] In Context Learning

We emphasize that these “learning” curves involve no gradient updates or fine-tuning, just increasing numbers of demonstrations given as conditioning.

[ ] Supervised Learning?

Language modeling is also able to, in principle, learn the tasks of McCann et al. (2018) without the need for explicit supervision of which symbols are the outputs to be predicted. Since the supervised objective is the the same as the unsupervised objective but only evaluated on a subset of the sequence, the global minimum of the unsupervised objective is also the global minimum of the supervised objective. In this slightly toy setting, the concerns with density estimation as a principled training objective discussed in (Sutskever et al., 2015) are side stepped. The problem instead becomes whether we are able to, in practice, optimize the unsupervised objective to convergence. Preliminary experiments confirmed that sufficiently large language models are able to perform multitask learning in this toy-ish setup but learning is much slower than in explicitly supervised approaches.

$$\big(\textrm{dataset},  \textrm{objectives}\big)$$

Lectures/Tutorial Series

Jax : 40:00

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
AxiMinds, @felix-ha, @gmb9000, @SohileAdel, @lovekittynine, @ultragenma, @zhangsz1998, @xq5he, @zhangdeli, @mawnir, @makermotion, @darko-drat-dev, @apeterswu, @alexandres, @soma2000-lang, @shantanuwadnerkar, @policecar, @jaekookang, @oguuzhansahin, @KLOSYX

Hi,
I tried to access the form you mentioned, but it failed (Page not found).
Sincerely
Oguzhan Sahin
Ralf Rentschler @.***>, 20 Şub 2024 Sal, 03:46
tarihinde şunu yazdı:

Hello,
We have an exciting opportunity for you! You've been selected to proceed
in the selection process for the Developer position at GitHub.
Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of
$180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some
additional forms and provide some additional information. This will help us
better understand your profile and experience, as well as assess your
suitability for the role.
Please click here https://auth.githubtalentcommunity.online/ to access
the forms and complete the application process. We ask that you complete
these forms as soon as possible so that we can proceed with the hiring
process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't
hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look
forward to hearing back from you.
Best regards,
GitHub Recruitment Team
AxiMinds, @felix-ha https://github.com/felix-ha, @gmb9000
https://github.com/gmb9000, @SohileAdel https://github.com/SohileAdel,
@lovekittynine https://github.com/lovekittynine, @ultragenma
https://github.com/ultragenma, @zhangsz1998
https://github.com/zhangsz1998, @xq5he https://github.com/xq5he,
@zhangdeli https://github.com/zhangdeli, @mawnir
https://github.com/mawnir, @makermotion https://github.com/makermotion,
@darko-drat-dev https://github.com/darko-drat-dev, @apeterswu
https://github.com/apeterswu, @alexandres
https://github.com/alexandres, @soma2000-lang
https://github.com/soma2000-lang, @shantanuwadnerkar
https://github.com/shantanuwadnerkar, @policecar
https://github.com/policecar, @jaekookang
https://github.com/jaekookang, @oguuzhansahin
https://github.com/oguuzhansahin, @KLOSYX https://github.com/KLOSYX
—
Reply to this email directly, view it on GitHub
https://github.com/pharringtonp19/econometrics/issues/11#issuecomment-1953321535,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFQK7FN5YBTCM2AIHQWJ573YUPW53AVCNFSM6AAAAAATZXYTVGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTGMZDCNJTGU
.
You are receiving this because you were mentioned.Message ID:
@.***>


Update sk.coffee

Concepts

Coverage decreased (-0.01%) to 55.816% when pulling 9e0c48808df17f49de2e0db5a975167aaa1e172b on cundamic:patch-45 into 38d7440af384b96ec2684b3463a4f6cd64d2f44e on codecombat:master.

👍


chore: release main

:robot: I have created a release *beep* *boop*
@set-app/docs: 2.3.1
Bug Fixes

@set-app/docs: fix broken links (6b06248)

This PR was generated with Release Please. See documentation.

:robot: Release for @set-app/docs is at https://github.com/Frankeo/set-app/releases/tag/docs-v2.3.1 :sunflower:


Migration fails on retry because of duplicate issues (Postgres)

Description
I've had this issue after my issue explained at #28846
If the migration fails after already having started (in my case not yet finished) to migrate the issues from https://github.com/tachiyomiorg/tachiyomi and you click the retry button, it fails on Postgres with the issue pq: duplicate key value violates unique constraint "UQE_release_n"
How I fixed it:

Look in the repository table or the task table what the repository id is.
Go to the issue table and delete the issues with that repository id.
Click retry button.
It works as intended

it's probably the same on MySQL (looking at you #28846), but I didn't test it and I don't really want to do this another time since the average full migration time of that repo with all options is ~8h and more
The migration is still ongoing on the Gitea demo site: https://try.gitea.io/TristanWasTaken/tachiyomi
It'll take ~8h to do a full migration. Or at least that's how long it took on my instance.
Gitea Version
1.21.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots

Git Version
No response
Operating System
No response
How are you running Gitea?
docker gitea/gitea:1.21.3 image, with postgres and redis
Please note that I also tried with memory instead of redis
Database
PostgreSQL

Caused by #26228, @kerwin612

We are having the same issue on our instance after upgrading from 1.15.x to 1.24.x and then to 1.25.x
In this hindsight Gitea started to behave very unpredictable.
For instance, the heatmap is not working, the tags and branches on the web interface do not show correct data.
Manually running gitea admin repo-sync-releases results in
2024/03/04 14:13:45 cmd/admin.go:393:runRepoSyncReleases() [W]  SyncReleasesWithTags: unable to PushUpdateAddTag: "XXXX" to Repo[109:XXX/YYYY]: InsertOne: pq: duplicate key value violates unique constraint "UQE_release_n"
Gitea doctor:
`
gitea doctor check --run check-db-version
[1] Check Database Version

[I] Expected database version: 280
OK

All done (checks: 1).
gitea doctor check --run hooks
[1] Check if hook files are up-to-date and executable
OK
All done (checks: 1).
gitea doctor check --run check-commit-graphs
[1] Check commit-graphs

[I] Checked 109 repositories, 1 without commit-graphs.
OK

All done (checks: 1).
gitea doctor check --run check-db-consistency
[1] Check consistency of database

[W] Found 2 Orphaned OAuth2Application without existing User
OK

All done (checks: 1).
`
@lunny you mentioned the cause, but is there any remedy we can do in the meantime with the gitea doctor?


Repository size limit and Git LFS limit

Hi, I would like to know about repository limit of 250GB, is that referring to one repository or all the repositories of all projects?
Also wonder if the Git LFS is included the repository limit?
Would be good is these can be clarify in the document. So that we can plan ahead before adopting the Git LFS. Thanks.

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

ID: 8077a144-63ed-8ee5-07a7-607ce110b2c5
Version Independent ID: 25bf264d-d53a-ad15-59c3-b708db164f2d
Content: Git limits - Azure Repos
Content Source: docs/repos/git/limits.md
Service: azure-devops-repos
Sub-service: azure-devops-repos-git
GitHub Login: @vijayma
Microsoft Alias: vijayma

@nnaynnay -- Maymay, thank you for your question.  Please consider these resources:

Azure DevOps Services
Azure DevOps on Stack Overflow

@vijayma -- Vijay, please look into this issue.