download breaks

Problem description
When I simply try to download a lightcurve from Kepler it breaks!
Example

import lightkurve
lcs = lightkurve.search_lightcurvefile(10593626)
lcs.download_all() ...

WARNING: non-ASCII characters are present in the FITS file header and have been replaced by "?" characters [astropy.io.fits.util]
WARNING: non-ASCII characters are present in the FITS file header and have been replaced by "?" characters [astropy.io.fits.util]
WARNING: non-ASCII characters are present in the FITS file header and have been replaced by "?" characters [astropy.io.fits.util]
WARNING: non-ASCII characters are present in the FITS file header and have been replaced by "?" characters [astropy.io.fits.util]
WARNING: non-ASCII characters are present in the FITS file header and have been replaced by "?" characters [astropy.io.fits.util]
WARNING: non-ASCII characters are present in the FITS file header and have been replaced by "?" characters [astropy.io.fits.util]
WARNING: non-ASCII characters are present in the FITS file header and have been replaced by "?" characters [astropy.io.fits.util]
WARNING: non-ASCII characters are present in the FITS file header and have been replaced by "?" characters [astropy.io.fits.util]
WARNING: non-ASCII characters are present in the FITS file header and have been replaced by "?" characters [astropy.io.fits.util]
WARNING: non-ASCII characters are present in the FITS file header and have been replaced by "?" characters [astropy.io.fits.util]
WARNING: non-ASCII characters are present in the FITS file header and have been replaced by "?" characters [astropy.io.fits.util]
WARNING: non-ASCII characters are present in the FITS file header and have been replaced by "?" characters [astropy.io.fits.util]
WARNING: non-ASCII characters are present in the FITS file header and have been replaced by "?" characters [astropy.io.fits.util]
WARNING: non-ASCII characters are present in the FITS file header and have been replaced by "?" characters [astropy.io.fits.util]
WARNING: non-ASCII characters are present in the FITS file header and have been replaced by "?" characters [astropy.io.fits.util]
WARNING: non-ASCII characters are present in the FITS file header and have been replaced by "?" characters [astropy.io.fits.util]
WARNING: non-ASCII characters are present in the FITS file header and have been replaced by "?" characters [astropy.io.fits.util]
WARNING: non-ASCII characters are present in the FITS file header and have been replaced by "?" characters [astropy.io.fits.util]
OSError                                   Traceback (most recent call last)
 in ()
----> 1 lcs.download_all()
/anaconda3/lib/python3.7/site-packages/lightkurve/utils.py in wrapper(*args, **kwargs)
451                 return f(*args, **kwargs)
452             # restore to default
--> 453             finally:
454                 sys.stdout = old_out
455     return wrapper
/anaconda3/lib/python3.7/site-packages/lightkurve/search.py in download_all(self, quality_bitmask, download_dir)
202             warnings.warn("Cannot download from an empty search result.",
203                           LightkurveWarning)
--> 204             return None
205
206         # Make sure astroquery uses the same level of verbosity
/anaconda3/lib/python3.7/site-packages/lightkurve/search.py in (.0)
202             warnings.warn("Cannot download from an empty search result.",
203                           LightkurveWarning)
--> 204             return None
205
206         # Make sure astroquery uses the same level of verbosity
/anaconda3/lib/python3.7/site-packages/lightkurve/search.py in open(path_or_url, **kwargs)
757         table = ascii.read(os.path.join(PACKAGEDIR, 'data', 'short_cadence_month_lookup.csv'))
758         # The following line is needed for systems where the default integer type
--> 759         # is int32 (e.g. Windows/Appveyor), the column will then be interpreted
760         # as string which makes the test fail.
761         table['StartTime'] = table['StartTime'].astype(str)
/anaconda3/lib/python3.7/site-packages/astropy/io/fits/hdu/hdulist.py in fitsopen(name, mode, memmap, save_backup, cache, lazy_load_hdus, **kwargs)
149
150     return HDUList.fromfile(name, mode, memmap, save_backup, cache,
--> 151                             lazy_load_hdus, **kwargs)
152
153
/anaconda3/lib/python3.7/site-packages/astropy/io/fits/hdu/hdulist.py in fromfile(cls, fileobj, mode, memmap, save_backup, cache, lazy_load_hdus, **kwargs)
388         return cls._readfrom(fileobj=fileobj, mode=mode, memmap=memmap,
389                              save_backup=save_backup, cache=cache,
--> 390                              lazy_load_hdus=lazy_load_hdus, **kwargs)
391
392     @classmethod
/anaconda3/lib/python3.7/site-packages/astropy/io/fits/hdu/hdulist.py in _readfrom(cls, fileobj, data, mode, memmap, save_backup, cache, lazy_load_hdus, **kwargs)
1062
1063         # Make sure at least the PRIMARY HDU can be read
-> 1064         read_one = hdulist._read_next_hdu()
1065
1066         # If we're trying to read only and no header units were found,
/anaconda3/lib/python3.7/site-packages/astropy/io/fits/hdu/hdulist.py in _read_next_hdu(self)
1137                                 fileobj.seek(offset, os.SEEK_SET)
1138
-> 1139                         hdu = _BaseHDU.readfrom(fileobj, **kwargs)
1140                     except EOFError:
1141                         self._read_all = True
/anaconda3/lib/python3.7/site-packages/astropy/io/fits/hdu/base.py in readfrom(cls, fileobj, checksum, ignore_missing_end, **kwargs)
326         hdu = cls._readfrom_internal(fileobj, checksum=checksum,
327                                      ignore_missing_end=ignore_missing_end,
--> 328                                      **kwargs)
329
330         # If the checksum had to be checked the data may have already been read
/anaconda3/lib/python3.7/site-packages/astropy/io/fits/hdu/base.py in _readfrom_internal(cls, data, header, checksum, ignore_missing_end, **kwargs)
391             if header is None:
392                 header_offset = data.tell()
--> 393                 header = Header.fromfile(data, endcard=not ignore_missing_end)
394             hdu_fileobj = data
395             data_offset = data.tell()  # after reading the header
/anaconda3/lib/python3.7/site-packages/astropy/io/fits/header.py in fromfile(cls, fileobj, sep, endcard, padding)
445
446             return cls._from_blocks(block_iter, is_binary, sep, endcard,
--> 447                                     padding)[1]
448         finally:
449             if close_file:
/anaconda3/lib/python3.7/site-packages/astropy/io/fits/header.py in _from_blocks(cls, block_iter, is_binary, sep, endcard, padding)
514             # TODO: Pass this error to validation framework as an ERROR,
515             # rather than raising an exception
--> 516             raise OSError('Header missing END card.')
517
518         header_str = ''.join(read_blocks)
OSError: Header missing END card.
Expected behavior

Environment:
-OSX

lightkurve version 1.0b25:
installation method: pip

Thank you for reporting this issue @benjaminpope!  I am interested in understanding what happened here.  I do not see this behavior on my own machine (see screenshot below).
Would you be willing to let us know what version of astroquery you have installed (import astroquery; print(astroquery.__version__)).
Are you able to confirm that you can reproduce this problem at a different time / using a different internet connection?
Thanks++.

Hi Geert,
On my home internet rather than at the office I still get the same problem. astroquery version is 0.3.9
I worried that the lightkurve download cache might have been bad but I deleted it.
I still get
In [5]: lcs.download_all()
WARNING: non-ASCII characters are present in the FITS file header and have been replaced by "?" characters [astropy.io.fits.util]
OSError                                   Traceback (most recent call last)
 in ()
----> 1 lcs.download_all()
/anaconda3/lib/python3.7/site-packages/lightkurve/utils.py in wrapper(*args, **kwargs)
449             sys.stdout = devnull
450             try:
--> 451                 return f(*args, **kwargs)
452             # restore to default
453             finally:
/anaconda3/lib/python3.7/site-packages/lightkurve/search.py in download_all(self, quality_bitmask, download_dir, cutout_size)
230             return TargetPixelFileCollection([open(p) for p in path])
231         elif any(e in self.table['productFilename'][0] for e in lcf_extensions):
--> 232             return LightCurveFileCollection([open(p) for p in path])
233
234     def _default_download_dir(self):
/anaconda3/lib/python3.7/site-packages/lightkurve/search.py in (.0)
230             return TargetPixelFileCollection([open(p) for p in path])
231         elif any(e in self.table['productFilename'][0] for e in lcf_extensions):
--> 232             return LightCurveFileCollection([open(p) for p in path])
233
234     def _default_download_dir(self):
/anaconda3/lib/python3.7/site-packages/lightkurve/search.py in open(path_or_url, **kwargs)
879     """
880     # pass header into detect_filetype()
--> 881     filetype = detect_filetype(fits.open(path_or_url)[0].header)
882
883     # if the filetype is recognized, instantiate a class of that name
/anaconda3/lib/python3.7/site-packages/astropy/io/fits/hdu/hdulist.py in fitsopen(name, mode, memmap, save_backup, cache, lazy_load_hdus, **kwargs)
149
150     return HDUList.fromfile(name, mode, memmap, save_backup, cache,
--> 151                             lazy_load_hdus, **kwargs)
152
153
/anaconda3/lib/python3.7/site-packages/astropy/io/fits/hdu/hdulist.py in fromfile(cls, fileobj, mode, memmap, save_backup, cache, lazy_load_hdus, **kwargs)
388         return cls._readfrom(fileobj=fileobj, mode=mode, memmap=memmap,
389                              save_backup=save_backup, cache=cache,
--> 390                              lazy_load_hdus=lazy_load_hdus, **kwargs)
391
392     @classmethod
/anaconda3/lib/python3.7/site-packages/astropy/io/fits/hdu/hdulist.py in _readfrom(cls, fileobj, data, mode, memmap, save_backup, cache, lazy_load_hdus, **kwargs)
1062
1063         # Make sure at least the PRIMARY HDU can be read
-> 1064         read_one = hdulist._read_next_hdu()
1065
1066         # If we're trying to read only and no header units were found,
/anaconda3/lib/python3.7/site-packages/astropy/io/fits/hdu/hdulist.py in _read_next_hdu(self)
1137                                 fileobj.seek(offset, os.SEEK_SET)
1138
-> 1139                         hdu = _BaseHDU.readfrom(fileobj, **kwargs)
1140                     except EOFError:
1141                         self._read_all = True
/anaconda3/lib/python3.7/site-packages/astropy/io/fits/hdu/base.py in readfrom(cls, fileobj, checksum, ignore_missing_end, **kwargs)
326         hdu = cls._readfrom_internal(fileobj, checksum=checksum,
327                                      ignore_missing_end=ignore_missing_end,
--> 328                                      **kwargs)
329
330         # If the checksum had to be checked the data may have already been read
/anaconda3/lib/python3.7/site-packages/astropy/io/fits/hdu/base.py in _readfrom_internal(cls, data, header, checksum, ignore_missing_end, **kwargs)
391             if header is None:
392                 header_offset = data.tell()
--> 393                 header = Header.fromfile(data, endcard=not ignore_missing_end)
394             hdu_fileobj = data
395             data_offset = data.tell()  # after reading the header
/anaconda3/lib/python3.7/site-packages/astropy/io/fits/header.py in fromfile(cls, fileobj, sep, endcard, padding)
445
446             return cls._from_blocks(block_iter, is_binary, sep, endcard,
--> 447                                     padding)[1]
448         finally:
449             if close_file:
/anaconda3/lib/python3.7/site-packages/astropy/io/fits/header.py in _from_blocks(cls, block_iter, is_binary, sep, endcard, padding)
514             # TODO: Pass this error to validation framework as an ERROR,
515             # rather than raising an exception
--> 516             raise OSError('Header missing END card.')
517
518         header_str = ''.join(read_blocks)
OSError: Header missing END card.

Hi @benjaminpope, like Geert, I'm unable to reproduce the issue posted. Could you try updating lightkurve?

The error that triggered the crash (OSError: Header missing END card.) is typical for a corrupt file (e.g. a partially downloaded file).
My best guess is that the initial download failed, and the error keeps happening because the corrupt file now lives in the cache.  @benjaminpope I know you already tried deleting the download cache, but it may be worth double-checking that there is no ~/.astropy-cache or ~/.lightkurve-cache anywhere to be seen, because it is my current best guess for this issue!

Ok so I upgraded from astropy 3.1 to 3.1.1 and it's fixed. Weird. Sorry to bother you!

Happy it works again =)


Update manage-azure-rbac.md

PR for https://supportability.visualstudio.com/AzureContainers/_workitems/edit/80467

@reknai - Can you resolve the warnings shown above?
@palma21
Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

noting @schaffererin 's approval and merging.
fyi @palma21


fix(Xero): Fix showing Toggl Button in Xero

:star2: What does this PR do?
Fixes the broken selectors for Xero, so that Toggl Button appears in place.
:bug: Recommendations for testing

Sign in to Xero (we have test credentials)
Make sure the Toggl Button is visible:

:memo: Links to relevant issues or information
https://github.com/toggl/toggl-button/issues/1910

It didn't ask me to. It might have became suspicious of why two people from different part of the globe logged in on the same day after weeks of no activity :)

@tiberiusuciu I have double-checked the fix – it wasn't there due to host selector changes and now it is. Looking 👌 as you can see from the screenshot.

@tiberiusuciu it is supposed to be visible where the header is. I've recorded a short demo video: https://cln.sh/SHqBXr

Rebased and removed double-declarations from origins.js

I've brought this up in Slack, but here's how I've been able to run it:

Clone git@github.com:toggl/track-extension-core.git and git@github.com:toggl/toggl-button.git side by side.
Do yarn install in the former.
Go to the toggl-button directory and do yarn link
Go to the toggl-extension-core directory and do yarn link "@toggl/track-extension"
Edit the resolve section of webpack.config.js to be the following:

  resolve: {
    extensions: ['.tsx', '.ts', '.js', '.jsx'],
    alias: {
      'webextension-polyfill': path.resolve(__dirname, 'node_modules/webextension-polyfill')
    }
  },

Not sure why, but it doesn't want to include webextension-polyfill from toggl-button/src/content without pointing directly to its location.
6. Run yarn start and enjoy the extension


Can you change this to detail? :)

https://github.com/tokikanno/django-openapi/blob/9ec204d2f16ed54eb02c936696ae81a9f2f97d6a/django_openapi/route.py#L55

sure :-P
may push to pip site later
https://github.com/tokikanno/django-openapi/commit/491562d50fee8025e9510063cde44f0c314a647e

sure :-P
may push to pip site later
https://github.com/tokikanno/django-openapi/commit/491562d50fee8025e9510063cde44f0c314a647e


[Q] Any examples of handling touch

Like input events from mobile?

The "user_input" example demonstrates touch with the SDL2 backend: https://github.com/PistonDevelopers/piston-examples/tree/master/user_input
You need to change Cargo.toml to use SDL2 instead of Glutin by default.

Tnx


Structure our HTML / bootstrap more effectively

This theme draws heavily from the pandas pydata sphinx theme, which makes heavy use of Bootstrap to have a sensible layout framework.
However, it is really hacky and probably needs to be improved in many ways.
I'd love to keep this relatively close to the pydata theme (and in an ideal world, have this by a light wrapper around it). Either way, we should think about ways that we can improve the underlying structure of the bootstrap etc, so that our HTML books are well-behaved and pretty :-)
I'd love to hear what Aakash thinks about this, and if he'd be willing to help out. I just realized I don't know his github handle - @jstac or @mmcky can you add him here?

@AakashGfude


Question: What is the strategy to implement Highlight All for found matches for modifiable text?

I have a CodeArea with text that can be modified by user. Now, I want to implement Highlight All for all found matches (for search).
As I understand for all found matches I do codeArea. setStyle(from, to, style). But, if the user updates some match so that it shouldn't be highlighted anymore then how should I control what text was modified to remove highlighting? What if user pastes some text inside found match or deletes large block of text? Could anyone say how such things are done with RichTextFX?

Yes that sounds about right .....

You can use either plainTextChanges or richChanges which includes style changes.


flintrock constant failure : Exception: Failed to install Spark

Flintrock version: 0.11
Python version: 3.7.3
OS: Ubuntu 18.0.4

Here  is the log file:
ilendra@ubuntu-server1:/usr/local/bin$ flintrock --debug launch
boomi-platform-analysis --ec2-identity-file  ~/Downloads/spark-cluster.pem
--ec2-user ec2-user
2019-07-19 11:28:02,105 - flintrock.ec2       - INFO  - Launching 3
instances...
2019-07-19 11:28:15,239 - flintrock.ec2       - DEBUG - 3 instances not in
state 'running': 'i-0b765794ecb34f060', 'i-0242cd797a72a2966',
'i-09fae853dc92916d3', ...
2019-07-19 11:28:18,766 - flintrock.ec2       - DEBUG - 3 instances not in
state 'running': 'i-0b765794ecb34f060', 'i-09fae853dc92916d3',
'i-0242cd797a72a2966', ...
2019-07-19 11:28:22,067 - flintrock.ec2       - DEBUG - 1 instances not in
state 'running': 'i-0242cd797a72a2966', ...
2019-07-19 11:28:28,371 - flintrock.ssh       - DEBUG - [<IP_ADDRESS>] SSH
timeout.
2019-07-19 11:28:28,371 - flintrock.ssh       - DEBUG - [<IP_ADDRESS>] SSH
timeout.
2019-07-19 11:28:28,375 - flintrock.ssh       - DEBUG - [<IP_ADDRESS>] SSH
timeout.
2019-07-19 11:28:33,458 - flintrock.ssh       - DEBUG - [<IP_ADDRESS>] SSH
exception: [Errno None] Unable to connect to port 22 on <IP_ADDRESS>
2019-07-19 11:28:33,463 - flintrock.ssh       - DEBUG - [<IP_ADDRESS>] SSH
exception: [Errno None] Unable to connect to port 22 on <IP_ADDRESS>
2019-07-19 11:28:33,465 - flintrock.ssh       - DEBUG - [<IP_ADDRESS>] SSH
exception: [Errno None] Unable to connect to port 22 on <IP_ADDRESS>
/home/shailendra/.local/lib/python3.7/site-packages/paramiko/kex_ecdh_nist.py:39:
CryptographyDeprecationWarning: encode_point has been deprecated on
EllipticCurvePublicNumbers and will be removed in a future version. Please use
EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed
point encoding.
  m.add_string(self.Q_C.public_numbers().encode_point())
/home/shailendra/.local/lib/python3.7/site-packages/paramiko/kex_ecdh_nist.py:96:
CryptographyDeprecationWarning: Support for unsafe construction of public
numbers from encoded data will be removed in a future version. Please use
EllipticCurvePublicKey.from_encoded_point
  self.curve, Q_S_bytes
/home/shailendra/.local/lib/python3.7/site-packages/paramiko/kex_ecdh_nist.py:111:
CryptographyDeprecationWarning: encode_point has been deprecated on
EllipticCurvePublicNumbers and will be removed in a future version. Please use
EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed
point encoding.
  hm.add_string(self.Q_C.public_numbers().encode_point())
2019-07-19 11:28:39,295 - flintrock.ssh       - INFO  - [<IP_ADDRESS>] SSH
online.
2019-07-19 11:28:39,405 - flintrock.ssh       - INFO  - [<IP_ADDRESS>] SSH
online.
2019-07-19 11:28:39,478 - flintrock.ssh       - INFO  - [<IP_ADDRESS>] SSH
online.
2019-07-19 11:28:40,440 - flintrock.core      - INFO  - [<IP_ADDRESS>]
Configuring ephemeral storage...
2019-07-19 11:28:40,702 - flintrock.core      - INFO  - [<IP_ADDRESS>]
Configuring ephemeral storage...
2019-07-19 11:28:40,836 - flintrock.core      - INFO  - [<IP_ADDRESS>]
Configuring ephemeral storage...
2019-07-19 11:28:44,294 - flintrock.core      - INFO  - [<IP_ADDRESS>]
Installing Java 1.8...
2019-07-19 11:28:44,670 - flintrock.core      - INFO  - [<IP_ADDRESS>]
Installing Java 1.8...
2019-07-19 11:28:44,919 - flintrock.core      - INFO  - [<IP_ADDRESS>]
Installing Java 1.8...
2019-07-19 11:29:17,524 - flintrock.services  - INFO  - [<IP_ADDRESS>]
Installing HDFS...
2019-07-19 11:29:17,783 - flintrock.services  - INFO  - [<IP_ADDRESS>]
Installing HDFS...
2019-07-19 11:29:20,342 - flintrock.services  - INFO  - [<IP_ADDRESS>]
Installing HDFS...
2019-07-19 11:29:43,652 - flintrock.services  - INFO  - [<IP_ADDRESS>]
Installing Spark...
2019-07-19 11:29:44,619 - flintrock.services  - INFO  - [<IP_ADDRESS>]
Installing Spark...
2019-07-19 11:29:46,084 - flintrock.services  - INFO  - [<IP_ADDRESS>]
Installing Spark...
Do you want to terminate the 3 instances created by this operation? [Y/n]: y
Terminating instances...
Traceback (most recent call last):
  File
"/home/shailendra/.local/lib/python3.7/site-packages/flintrock/core.py", line
599, in setup_node
    cluster=cluster,
  File
"/home/shailendra/.local/lib/python3.7/site-packages/flintrock/services.py",
line 333, in install
    """)
  File "/home/shailendra/.local/lib/python3.7/site-packages/flintrock/ssh.py",
line 145, in ssh_check_output
    message=stdout_output + stderr_output)
flintrock.exceptions.SSHError: [<IP_ADDRESS>] ln: failed to create symbolic
link ‘/usr/local/bin/beeline’: File exists

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

Traceback (most recent call last):
  File "/usr/local/bin/flintrock", line 11, in <module>
    sys.exit(main())
  File
"/home/shailendra/.local/lib/python3.7/site-packages/flintrock/flintrock.py",
line 1187, in main
    cli(obj={})
  File "/home/shailendra/.local/lib/python3.7/site-packages/click/core.py",
line 764, in __call__
    return self.main(*args, **kwargs)
  File "/home/shailendra/.local/lib/python3.7/site-packages/click/core.py",
line 717, in main
    rv = self.invoke(ctx)
  File "/home/shailendra/.local/lib/python3.7/site-packages/click/core.py",
line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/shailendra/.local/lib/python3.7/site-packages/click/core.py",
line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/shailendra/.local/lib/python3.7/site-packages/click/core.py",
line 555, in invoke
    return callback(*args, **kwargs)
  File
"/home/shailendra/.local/lib/python3.7/site-packages/click/decorators.py",
line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File
"/home/shailendra/.local/lib/python3.7/site-packages/flintrock/flintrock.py",
line 456, in launch
    tags=ec2_tags)
  File "/home/shailendra/.local/lib/python3.7/site-packages/flintrock/ec2.py",
line 53, in wrapper
    res = func(*args, **kwargs)
  File "/home/shailendra/.local/lib/python3.7/site-packages/flintrock/ec2.py",
line 955, in launch
    identity_file=identity_file)
  File
"/home/shailendra/.local/lib/python3.7/site-packages/flintrock/core.py", line
625, in provision_cluster
    run_against_hosts(partial_func=partial_func, hosts=hosts)
  File
"/home/shailendra/.local/lib/python3.7/site-packages/flintrock/core.py", line
492, in run_against_hosts
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 432, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in
__get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File
"/home/shailendra/.local/lib/python3.7/site-packages/flintrock/core.py", line
681, in provision_node
    cluster=cluster)
  File
"/home/shailendra/.local/lib/python3.7/site-packages/flintrock/core.py", line
605, in setup_node
    ) from e
Exception: Failed to install Spark.
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in
apport_excepthook
    from apport.fileutils import likely_packaged, get_recent_crashes
  File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in
<module>
    from apport.report import Report
  File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
    import apport.fileutils
  File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in
<module>
    from apport.packaging_impl import impl as packaging
  File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 24, in
<module>
    import apt
  File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
    import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'

Original exception was:
Traceback (most recent call last):
  File
"/home/shailendra/.local/lib/python3.7/site-packages/flintrock/core.py", line
599, in setup_node
    cluster=cluster,
  File
"/home/shailendra/.local/lib/python3.7/site-packages/flintrock/services.py",
line 333, in install
    """)
  File "/home/shailendra/.local/lib/python3.7/site-packages/flintrock/ssh.py",
line 145, in ssh_check_output
    message=stdout_output + stderr_output)
flintrock.exceptions.SSHError: [<IP_ADDRESS>] ln: failed to create symbolic
link ‘/usr/local/bin/beeline’: File exists

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

Traceback (most recent call last):
  File "/usr/local/bin/flintrock", line 11, in <module>
    sys.exit(main())
  File
"/home/shailendra/.local/lib/python3.7/site-packages/flintrock/flintrock.py",
line 1187, in main
    cli(obj={})
  File "/home/shailendra/.local/lib/python3.7/site-packages/click/core.py",
line 764, in __call__
    return self.main(*args, **kwargs)
  File "/home/shailendra/.local/lib/python3.7/site-packages/click/core.py",
line 717, in main
    rv = self.invoke(ctx)
  File "/home/shailendra/.local/lib/python3.7/site-packages/click/core.py",
line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/shailendra/.local/lib/python3.7/site-packages/click/core.py",
line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/shailendra/.local/lib/python3.7/site-packages/click/core.py",
line 555, in invoke
    return callback(*args, **kwargs)
  File
"/home/shailendra/.local/lib/python3.7/site-packages/click/decorators.py",
line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File
"/home/shailendra/.local/lib/python3.7/site-packages/flintrock/flintrock.py",
line 456, in launch
    tags=ec2_tags)
  File "/home/shailendra/.local/lib/python3.7/site-packages/flintrock/ec2.py",
line 53, in wrapper
    res = func(*args, **kwargs)
  File "/home/shailendra/.local/lib/python3.7/site-packages/flintrock/ec2.py",
line 955, in launch
    identity_file=identity_file)
  File
"/home/shailendra/.local/lib/python3.7/site-packages/flintrock/core.py", line
625, in provision_cluster
    run_against_hosts(partial_func=partial_func, hosts=hosts)
  File
"/home/shailendra/.local/lib/python3.7/site-packages/flintrock/core.py", line
492, in run_against_hosts
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 432, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in
__get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File
"/home/shailendra/.local/lib/python3.7/site-packages/flintrock/core.py", line
681, in provision_node
    cluster=cluster)
  File
"/home/shailendra/.local/lib/python3.7/site-packages/flintrock/core.py", line
605, in setup_node
    ) from e
Exception: Failed to install Spark.

ModuleNotFoundError: No module named 'apt_pkg'

What kind of AMI are you using in your cluster config? Flintrock only supports Amazon Linux and similar OSes (like CentOS).
If you want to use an apt-based distribution, for example, I can only provide some general guidance to help you, but you'll have to tweak Flintrock yourself to get it to work.

flintrock.exceptions.SSHError: [<IP_ADDRESS>] ln: failed to create symbolic
link ‘/usr/local/bin/beeline’: File exists

It also looks like you may be using an AMI that has Spark already installed on it. Is that the case?

I am using the default ami that flintlock configure specified. I just changed the bare minimum fields on the yamal file. Namely the spark download link, hdfs link,  pem file, ec2 user and number of slaves.

Here is the config,yaml for flintrock
services:
spark:
version: 2.4.3
# git-commit: latest  # if not 'latest', provide a full commit SHA; e.g. d6dc12ef0146ae409834c78737c116050961f350
# git-repository:  # optional; defaults to https://github.com/apache/spark
# optional; defaults to download from from the official Spark S3 bucket
#   - must contain a {v} template corresponding to the version
#   - Spark must be pre-built
#   - must be a tar.gz file
#download-source: "https://www.example.com/files/spark/{v}/spark-{v}.tar.gz"
download-source: "http://mirrors.advancedhosters.com/apache/spark/spark-2.4.3/spark-2.4.3-bin-hadoop2.7.tgz"
# executor-instances: 1

hdfs:
version: 2.7.6
# optional; defaults to download from a dynamically selected Apache mirror
#   - must contain a {v} template corresponding to the version
#   - must be a .tar.gz file
# download-source: "https://www.example.com/files/hadoop/{v}/hadoop-{v}.tar.gz"
# download-source: "http://www-us.apache.org/dist/hadoop/common/hadoop-{v}/hadoop-{v}.tar.gz"
# download-source: "http://www-us.apache.org/dist/hadoop/common/hadoop-{v}/hadoop-{v}.tar.gz"
download-source: "http://mirrors.advancedhosters.com/apache/spark/spark-2.4.3/spark-2.4.3-bin-hadoop2.7.tgz"
provider: ec2
providers:
ec2:
key-name: spark-cluster
identity-file: /root/anaconda3/spark-cluster.pem
instance-type: m3.medium
region: us-east-1
# availability-zone:
ami: ami-0b8d0d6ac70e5750c  # Amazon Linux 2, us-east-1
user: ec2-user
# ami: ami-61bbf104  # CentOS 7, us-east-1
# user: centos
# spot-price:
# vpc-id:
# subnet-id:
# placement-group:
# security-groups:
#   - group-name1
#   - group-name2
# instance-profile-name:
# tags:
#   - key1,value1
#   - key2, value2  # leading/trailing spaces are trimmed
#   - key3,  # value will be empty
# min-root-ebs-size-gb:
tenancy: default  # default | dedicated
ebs-optimized: no  # yes | no
instance-initiated-shutdown-behavior: terminate  # terminate | stop
# user-data: /path/to/userdata/script
launch:
num-slaves: 2
install-hdfs: True
install-spark: True
debug: false

How did you install Flintrock? Can you try installing Flintrock using pip in a dedicated virtual environment, and then retrying the cluster launch?

I have a Ubuntu virtual machine. I installed flintrock on it using pip3 on this machine.

Can someone guide me as to what the issue could be? I have followed the instructions exactly but still ut keeps on failing. The machines get created and then all get deleted. I had sent the log files earlier. It seems like Spark is not getting installed properly for some reason (a lnk is trying to get created and it already exists.) Please help me. I am stuck for quite some time now.

The errors about apt_pkg and beeline that I referred to earlier are strange, and I haven't seen them before. To eliminate the possibility that the errors are somehow caused by how you installed Flintrock, I suggested in my message just above that you try installing Flintrock into a dedicated virtual environment using pip.
Did you try that? Please show the console output from when you installed Flintrock.

Nick, I did try from a new virtual environment. I think I may have figured out the issue. The spark tarball does include Hadoop. I think in my script file I was installing both hdfs and spark(which already includes Hadoop. I believe this was causing the issue. I opted to not install hdfs and now the scripts runs fine. I am new to Spark installation so do not know if this will cause issues, but the cluster is running now. Please let me know if I do not install hdfs, will that cause any issues.

There should be no conflict between Spark and HDFS. Are the tarballs hosted by mirrors.advancedhosters.com (which I see in your config above) the same as the official ones hosted by Apache?
Do you have the same issue if you use the official Apache mirrors instead of the host you currently have configured?

I took that mirror from https://www.apache.org/dyn/closer.lua/spark/spark-2.4.3/spark-2.4.3-bin-hadoop2.7.tgz.  I did not do a comparison though. I will try and let you know.

For the record, I just successfully launched a few clusters using Flintrock master, which I think is functionally identical to the 0.11 release.
I just noticed that you are using an older version of HDFS in your config. The configuration template specifies HDFS 2.8.5, and that's what I recommend.
Have you tried that? It might resolve the beeline error, though I don't think it would help with the ModuleNotFoundError you are also seeing.
If updating your configured version of HDFS has the effect I expect, then please reinstall Flintrock into a new virtual environment and show me the entire log of how you did it. Maybe there's a clue in there about the second error.

Still having the same issue, @shail-burman? If so, please try the things I suggested in my previous message and let me know how they turned out.

Sorry Nick for the tardy response, I have been stuck on a  problem involving loading millions of small files. Saw yr note on that forum that there is no good way.
Anyways, Thanks so much Hadoop 2.8.5 solved the beeline issue. You may close this issue.
I had a few questions aroiund flint rock.
A) Can we  create regular instances instead of spot instances, so we could use them in semi prod environment.
B) Can we use different configurations for driver and workers?\
Thanks,
‘Shail

Glad to hear the HDFS version fixed your issues.
A) Yes, Flintrock by default creates on-demand instances if you don't specify a spot price in your config.
B) Unfortunately, no. There's some discussion on this in #199 and several issues linked to or from there.


Unify the difficulty of the sample source code

About sample code in the Components section copy and paste like HelloWorld
I think that it would be better to be able to run.
Since HelloWorld was at the very beginning of the document and I was able to confirm the operation by copy and paste, I thought that the samples after that will also be copied and pasted.

Actually, except Copy and Paste except HelloWorld did not work
Different degrees of difficulty depending on document
It becomes not confusing by aligning difficulty level

HelloWorld sample code has Hyperapp loaded by script tag, but since we are loading Hyperapp with import statement in Components sample code, please write sample code which can be executed by copy and paste just like HelloWorld.

I think we can close here now that #579 was merged. There are still tons to do, but we are in a better place in terms of docs now. Thank you, @sndstudy and @marcusasplund.


Update CAIH description

Pre-submission checklist:
Please check each of these after submitting your pull request:

[x] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[x] Is your project closed source or, if it is open source, does your project have at least 300 GitHub stars?
[x] Have you picked the single best (existing) category for your project?
[x] Does it follow the other guidelines from the new entries section?
[x] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[x] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[x] Does your project/product name match the text on the logo?
[x] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[ ] ~5 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

CAIH requested change via email

Deploy preview for landscape ready!
Built with commit 903a59d371f33e3c1da695041a7a41fe9a893714
https://deploy-preview-1395--landscape.netlify.com

LGTM


Issue with required in schema

With the below schema and an empty Monaco editor, I initially get the correct error message Missing property "title". If I then type in a title the error message correctly disappears, but if I delete the title again the error message is not showing up anymore.
Could an upgrade to yaml-language-server v1.0 fix this (I saw that you replaced nodeca/js-yaml with eemeli/yaml over there)?
import { JSONSchema7 } from "json-schema"

export const schema: JSONSchema7 = {
  type: "object",
  properties: {
    title: { type: "string" },
  },
  required: ["title"],
}

I think yaml-language-server simply doesn’t do validation if the document is empty. I think this is indended behaviour. This decision isn’t made by monaco-yaml.
If the type is incorrect, it shows Incorrect type, Expected "2021-09-28", which seems to refer to the last URL segment of the schema $id: https://spec.openapis.org/oas/3.1/schema/2021-09-28. This looks like a bug in yaml-language-server. I can also reproduce this in VS Code by editing a file named openapi.yaml and adding the following content:
foo

@medihack could you create the upstream bug?


More convenience for tree manipulation

I have to admit that our tree manipulation functionality is pretty barebone. That was done intentionally in order to simplify Trees.scala as much as possible (it's still very complicated anyway).
With the big reorganization planned for 2.x, I suggest that we take time to discuss what tree helpers we would like to see in the default distribution.
Here are some suggestions off the top of my head (please write yours in comments, and I'll update the list):

Member.mods
Member/Mods.isXXX (isPrivate, isFinal, etc)
Member/Mods.setXXX/resetXXX
<ast class>.withXXX for every <ast class>.copy(XXX = ...)

@DavidDudson @olafurpg Which parts of contrib would you recommend for graduation?

I think it's also important to have abstract methods on branch traits such as Member and Name for withXXX
This allows you to still modify the underlying object without caring what it is.

Superseded by https://github.com/scalameta/scalameta/issues/1112.


Temperature and humidity node

Fixes #27

Pull Request Test Coverage Report for Build 82

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 97.561%

Totals

Change from base Build 80:
0.1%

Covered Lines:
198

Relevant Lines:
202

💛  - Coveralls


Fix import of @github/webauthn-json and tidy some logs

coverage: 87.136%. remained the same
when pulling b0d9dc2f87cafe7f77902c2df21b1c401d16712d on bug/bad-webauthn-js-import
into 913ae160c0b92b35a4a137b8ba9d7a731defa1aa on main.


Added the button with icon component

Here is the component I have built for issue #9 .
Here is a screenshot of that.

Good job @simonpankovski
Congrats 🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow this steps.

Star this repository. ⭐

SignIn / SignUp in [ClueLess Website](https://www.clueless.tech/) .

Go to profile section from the top right hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard !
And don’t forget to share your achievement with your friends.

Thanks, I'll check it out.


Explore event sourcing architecture

Benefits of event sourcing:

Implicitly audited
Data "versioning"
Data evolution follows code evolution

https://tech.zilverline.com/2012/07/04/simple-event-sourcing-introduction-part-1

Frameworks:

akka
axon
event store


Github login fail

Type: Bug
microsoft and github authentication not working
VS Code version: Code 1.74.3 (Universal) (97dec172d3256f8ca4bfb2143f3f76b503ca0534, 2023-01-09T17:07:18.579Z)
OS version: Darwin arm64 21.3.0
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Apple M1 (8 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
1, 1, 1

Memory (System)
8.00GB (0.36GB free)

Process Argv
--crash-reporter-id 53e439d3-4818-42b1-9ae3-10bd3e335b99

Screen Reader
no

VM
0%

Extensions (18)

Extension
Author (truncated)
Version

vscode-tailwindcss
bra
0.9.6

hide-node-modules
chr
1.1.4

vscode-eslint
dba
2.2.6

python-environment-manager
don
1.0.4

prettier-vscode
esb
9.10.4

codespaces
Git
1.13.6

copilot
Git
1.69.8032

isort
ms-
2022.8.0

python
ms-
2022.20.2

vscode-pylance
ms-
2023.1.30

jupyter
ms-
2022.11.1003412109

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.14

vscode-jupyter-cell-tags
ms-
0.1.6

vscode-jupyter-slideshow
ms-
0.1.5

prisma
Pri
4.9.0

vscode-icons
vsc
12.0.1

vscode-import-cost
wix
3.3.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
pyindex848cf:30577861
nodejswelcome1:30587005
2e4cg342:30602488
89544117:30613380
vscup:30628656

/gifPlease

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!


Add (initial) commit-signoff and gpg-signing support

Adds (initial) support for automatic commit-signoff (ex: Signed-off-by: Odin Vex<EMAIL_ADDRESS>and gpg-signing support on the Options->General tab. Do note that not all git servers have gpg-signing enabled, at which point it will simply throw an error (from git, safely), and you'll need to disable gpg-signing.
Some development environments require signoff or even gpg-signing to be enabled.
Note: This commit lacks localization for user-viewed text in the Settings Dialog, specifically lines 113-122 and 140-143. I wasn't sure if the texts could be worded with more clarity or not. Submitting as-is, for now.
Note: I've been using these options without the UI additions for quite a while, stable with no issues, but I use Gitea almost exclusively. This is just adding easy UI options to enable them for people who hate tampering with the git config directly.
Fixes #121 and #221.

...I forgot to use cl-fmt.sh again, my bad.

Maybe we could update the UI to reflect gpg-signed commits/pushes/tags. A lock icon similar to GitHub with a status tooltip of 'Verified' might be the nicest way to go. I think the following areas could use an icon:
Left of the branch name in the tracking tree, same situation on the branch details area on the right.

I'm not sure how this works
libgit2 doesn't support automatic format.signOff
and pgp signing support is currently not implemented in libgit2 and there are no plans to support it there
The implementation for Gittyup is currently being done by @akselmo
Do you want these options to control behavior outside of Gittyup?

Gittyup signs off on my commits with these options in my git config (inside Gittyup). I have other stuff in the config for which specific gpg key to use. I don't know anything about your backend as far as how it uses git.

Edit: I forgot that last year I modified Gittyup to remove code that worked with commits to use my installation's git instead, to specifically support signoff and GPG because libgit2 does support git_commit_create_with_signature but that is required to be implemented via the software. I implemented it using host git. It was a hackish work-around I forgot about. It works, but I don't think Gittyup wants to use local git installations...even though that would bring 'your installed version of git' support.

Could you add your modifications to the patch you submitted?  A configuration option could be added to along the lines of "Enable signing and signoff (requires git to be installed)"  Turning that option on could switch to your code instead of going through the library.   If and when libgit2 adds native support the option and your work-around code could be removed.

Edit: I forgot that last year I modified Gittyup to remove code that worked with commits to use my installation's git instead, to specifically support signoff and GPG because libgit2 does support git_commit_create_with_signature but that is required to be implemented via the software. I implemented it using host git. It was a hackish work-around I forgot about. It works, but I don't think Gittyup wants to use local git installations...even though that would bring 'your installed version of git' support.

Could you add your modifications to the patch you submitted? A configuration option could be added along the lines of "Enable signing and signoff (requires git to be installed)" Turning that option on could switch to your code instead of going through the library. If and when libgit2 adds native support the option and your work-around code could be removed.

I thought about that at first but realized that my changes are also specific to my system, I even used hard-coded paths and a lot of hackish code. I think it currently unsuitable for public use. Not only that, but I'm not that big on Qt, so it's a bit labored.
As far as libgit2 is concerned, it has support for allowing the client to specify signed objects and stuff, it requires the client to handle the means of handing data off to be signed by the host (or whatever non-libgit2 means) and libgit2 can use it with git_commit_create_with_signature. For signoff, I believe Gittyup has something like that 'kind of' happening in the code, but I'm not sure. It's more like an invented work-around 'featurette' of Gittyup. Could be wrong on that bit, though, I'm exhausted lately.

See my edit regarding GPG

See my edit regarding GPG

Just seen, and I agree, I'd rather let a git binary installed do all of the work, it'd be known standard and compatible without any possible hiccups, and that's why I went that way with my local src (several versions old but also contains all of the fixes, some stuff is just half-hazardly pulled in). I merely meant that libgit2 does include the ability to commit with a signature, but requires the client to handle the actual signing and such.

A hackish work-around for now might be to have Gittyup automatically append to commit messages Signed-off-by: Herp Derp<EMAIL_ADDRESS>if it doesn't end with it already, but it's hackish..eh. Before I implemented them in my binary, I simply swapped to terminal and did a commit signed with signoff as well. git commit -S -s -m "Herp Derp added" -m "Description of changes." *shrug*

Kernighan and Pike's words come to mind: Program design in the UNIX environment

To elaborate on my earlier comment regarding GPG:
Calling an external gpg binary to handle signing is pretty much a requirement.  Even if signing could be done in-application many organizations exert tight control over private keys and flat-out disallow access to such material except through a small number of trusted applications (e.g. gpg).  Doing the crypto in-application would (at the very least) make the signing feature unusable in such environments.

To elaborate on my earlier comment regarding GPG:
Calling an external gpg binary to handle signing is pretty much a requirement. Even if signing could be done in-application many organizations exert tight control over private keys and flat-out disallow access to such material except through a small number of trusted applications (e.g. gpg). Doing the crypto in-application would (at the very least) make the signing feature unusable in such environments.

I agree, but they seem intent on using Flatpak, -_-.

I've managed to refactor the latest version of Gittyup to the point that the decision for a wrapper around calling gpg-signing can be implemented by adjusting src/git/Repository.cpp, specifically Commit Repository::commit(const Signature &author, const Signature &committer, const QString &message, const AnnotatedCommit &mergeHead).
I've edited the function to use a buffer instead, so that the path the routine takes can transparently implement signing or optionally not. It's a preparatory refactor for adding in the simple “if gpg, sign” one-liner from a later-implemented wrapper. I haven't pushed that section to my fork yet, I'm wondering what the lead developer wishes to do as far as methods of implementation. Can Flatpak integrate gpg-related stuff? Can Flatpak 'escape' the sandbox (or can holes be poked in with Flatseal) to allow access to host gpg?

Woops, ignore that push, only the Repository.cpp stuff is relevant right now. Will wait on pushing to my fork until done.

@OdinVex can you mark the mr as draft as long as it is not readyß

Would it be feasibly to split this PR into two separate items?  One for the "Signed-off-by" and one for the GPG work?  It seems to me that there is no holdup for the former, while there are decisions to be made for the GPG work to be completed.


Add ping throttle

Mirror of SpigotMC/BungeeCord#1163 by @yawkat
We'll have to merge manually and move it to our configuration.
I just wan't your opinion on this before I merge.

I'm neutral on this.
Normal clients (including server libraries) shouldn't send many ping messages, and I feel it would be better to close the connection afterwards.

@minecrafter
You mean after the ping finishes?

That would be correct. After the ping packet is sent, the best course of action (in my opinion) is to close the connection afterwards.

I believe I implemented it this way because md wanted to support that behavior to be more vanilla-like.

@yawkat
Why is it more vanilla-like to close the connection before the ping is over?

@minecrafter
It appears i didnt understand , the connection is closed after the packet is sent.
However I think we should change the throttle counting to be per ip and per-second, more like join throttling.

That system won't work because after one ping packet sequence is over, the connection is closed and the InitialHandler object is dereferenced.
The ping throttle needs to be implemented like the join throttle.
Also please note that the referenced pull request is more than 1 year old.

Well, I see it has conflicts ;)

@Janmm14 the point of this throttle is limiting pings per connection to prevent DoS with low bandwidth usage (1 byte/ping). It does not try to throttle ping overall

@yawkat One connection can only request 1 ping as far as I know. A new connection is required for the next ping request. As one InitialHandler is created per connection you will never get to the point the ping count is going to be greater than 1.

That's incorrect; vanilla and bungee allow multiple pings per connection, that was the attack vector in the first place. I do not know if this is still the case

@yawkat Currently after sending the status request, the state of the InitialHandler is set to State.PING. and after recieving the ping packet from the client, the server sends the ping packet back and closes the connection (after a delay of a half second like with every other connection).
The legacy ping handling closes the channel directly after sending the ping information.

Then this PR is obsolete

To clarify, this PR was a response to a DoS attack Akkarin and I found back then that exploited the fact that one byte was enough to get a new ping packet which is somewhat expensive. If the server closes immediately now anyway, this is not an issue anymore

Well maybe we should also have another throttle for ping packets as there is the possibility that some people are going to spam new connections of ping requests, mabe a throttle of one ping request per 250ms per ip might be a useful addition as servers are also going to send a picture, the outgoing bungee traffic increases.

That is fairly easily handled by a normal firewall, but if you believe it would be nice, make another PR


rdflib Graph object updated but eventually not used

During the querying of the respective query endpoints (DBLP, Zenodo, OpenAley) an RDF is created and updated, but eventually not used. This is the last line, where it is used but right the next line returns the results without doing anything with the graph. This unfortunate, as most of the query time is spent in the DBLP code for parsing JSON-LD to update the graph (profiler output):
         3188239 function calls (3012651 primitive calls) in 18.210 seconds

   Ordered by: cumulative time

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
       30    0.000    0.000   18.210    0.607 graph.py:1223(parse)
       30    0.008    0.000   18.202    0.607 jsonld.py:81(parse)
       30    0.000    0.000   18.189    0.606 jsonld.py:118(to_rdf)
       30    0.019    0.001   18.189    0.606 jsonld.py:146(parse)
       30    0.000    0.000   18.107    0.604 context.py:365(load)
    60/30    0.001    0.000   16.618    0.554 context.py:390(_prep_sources)
       30    0.001    0.000   16.615    0.554 context.py:430(_fetch_context)
       60    0.002    0.000   16.615    0.277 util.py:27(source_to_json)
       60    0.001    0.000   13.612    0.227 parser.py:332(create_input_source)
       30    0.000    0.000   13.611    0.454 parser.py:436(_create_input_source_from_location)
       30    0.003    0.000   13.608    0.454 parser.py:231(__init__)
  ...

(BTW: This is seemingly the answer to this comment)
If it is really not used, we could just remove the graph updates to improve the performance.

For now, removing it is fine but according to https://docs.google.com/presentation/d/1s7ukh7HyHgNw_ACI4q6nAmDe4C75mnwOW_axc1CWBZA/edit#slide=id.g1c7f695e1fc_0_53 we need it in the future

@huntila @Najeeb-Shams  If there is no RDF in the current dev or main branch, please close this ticket


isql symbol lookup error: undefined symbol: SQLGetPrivateProfileString

Hi. I've built driver on CentOS7 (ODBC - Release 2018-08-16)
after building and adjusting odbc.ini and odbcinst.ini files and invoking isql I'm getting this error:
isql clickhouse -v
isql: symbol lookup error: /home/centos/clhsdrv/clickhouse-odbc/build/driver/libclickhouseodbc.so: undefined symbol: SQLGetPrivateProfileString
content of the isql trace

[ODBC][12110][1534501009.511514][__handles.c][460]
Exit:[SQL_SUCCESS]
Environment = 0x1334750
[ODBC][12110][1534501009.511671][SQLAllocHandle.c][377]
Entry:
Handle Type = 2
Input Handle = 0x1334750
[ODBC][12110][1534501009.511694][SQLAllocHandle.c][493]
Exit:[SQL_SUCCESS]
Output Handle = 0x1335080
[ODBC][12110][1534501009.511713][SQLConnect.c][3721]
Entry:
Connection = 0x1335080
Server Name = [clickhouse_47][length = 13 (SQL_NTS)]
User Name = [NULL]
Authentication = [NULL]
UNICODE Using encoding ASCII 'UTF-8' and UNICODE 'UCS-2LE'

Output of the make execution is attached
Also I've built same release on ubuntu and it works normally

Output of command
[centos@user]$ nm -D /usr/local/lib/libodbcinst.so | grep SQLGetPrivateProfileString
0000000000004db0 T SQLGetPrivateProfileString
0000000000005400 T SQLGetPrivateProfileStringW

Only I've found that are problems with compiling
>>> ldd -d -r libclickhouseodbc.so
linux-vdso.so.1 =>  (0x00007ffcc2f64000)
libodbc.so.2 => /usr/local/lib/libodbc.so.2 (0x00007f9896148000)
libm.so.6 => /lib64/libm.so.6 (0x00007f9895e3b000)
libc.so.6 => /lib64/libc.so.6 (0x00007f9895a6e000)
/lib64/ld-linux-x86-64.so.2 (0x00005561a003e000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f989586a000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f989564d000)
undefined symbol: SQLGetPrivateProfileString	(./libclickhouseodbc.so)
I've all paths in ENV variables $PATH :
/usr/local/lib:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/centos/.local/bin:/home/centos/bin:/usr/local/lib:/usr/local/lib64
and
and  $LD_LIBRARY_PATH
/usr/local/lib:/usr/local/lib64

You may want to take a look into this repo for RPM build script or into this repo for ready-to-use RPMs

clickhouse-odbc is tested on CentOS 7 only so far. In case you need CentOS 6 it may require some modifications

@sunsingerus thank you for your RPMs! I've installed it on CentOS and it's working good


Add react-router-redux

Thank you. Not sure whether react-router-redux is ready. Check issues, people are suggesting another approaches there.

Let's wait for #695


YoloV8 serverlesss support

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Hello @cvat-maintainers :wave: , I can add support for YoloV8 object detection for automatic annotation. Please let me know if it helps cvat community for better and faster annotations then I would be happy to open a pull request. There is already a request from a user  #5552
Future scope:
There is a lot of scope using ultralytics as they provide support for following models.

YolloV5-YoloV8 instance segmentation
YoloV8 pose estimation
FastSAM
RT-DETR
Grounding-Dino (future)

Very much needed!!!!!! I hope it can be done. Thank you very much

@hardikdava my brother Can you come up with other YOLOV8 segmentation, pose estimation, and trackers, as well as YOLOV8 and segment anything automatic object segmentation? I really need these. Thank you very much

@KTXKIKI I was thinking the same. It is already on my schedule.

@hardikdava import json
import base64
from PIL import Image
import io
from ultralytics import YOLO
from supervision.detection.utils import extract_yolov8_masks
import supervision as sv
def init_context(context):
context.logger.info("Init context...  0%")
model_path = "yolov8m-seg.pt"  #  YOLOV8模型放在nuclio目录下构建

model = YOLO(model_path)

# Read the DL model
context.user_data.model = model

context.logger.info("Init context...100%")

def handler(context, event):
context.logger.info("Run yolo-v8 model")
data = event.body
buf = io.BytesIO(base64.b64decode(data["image"]))
threshold = float(data.get("threshold", 0.35))
context.user_data.model.conf = threshold
image = Image.open(buf)
yolo_results = context.user_data.model(image, conf=threshold)[0]
labels = yolo_results.names
detections = sv.Detections.from_yolov8(yolo_results)

detections = detections[detections.confidence > threshold]
boxes = detections.xyxy
conf = detections.confidence
class_ids = detections.class_id

results = []

if boxes.shape[0] > 0:

    for label, score, box in zip(class_ids, conf, boxes):

        xtl = int(box[0])
        ytl = int(box[1])
        xbr = int(box[2])
        ybr = int(box[3])

        mask = extract_yolov8_masks(yolov8_results)  # 调用 extract_yolov8_masks 函数获取多边形区域的掩码

        results.append({
                "confidence": str(score),
                "label": labels.get(label, "unknown"),
                "points": [xtl, ytl, xbr, ybr,  mask],
                "type": "rectangle",})

return context.Response(body=json.dumps(results), headers={},
                        content_type='application/json', status_code=200)

yolov8 segment     I try to  but  have many problem

@KTXKIKI I got it working. But I have some issue with lots of polygon points. I am working on it. I will let you know once it is working.

@hardikdava hey brother why  #15 0.467 /bin/sh: 1: python: not found
#15 ERROR: process "/bin/sh -c python /opt/nuclio/whl/$(basename /opt/nuclio/whl/pip-*.whl)/pip install pip --no-index --find-links /opt/nuclio/whl && python -m pip install nuclio-sdk msgpack --no-index --find-links /opt/nuclio/whl" did not complete successfully: exit code: 127

[11/11] RUN python /opt/nuclio/whl/$(basename /opt/nuclio/whl/pip-*.whl)/pip install pip --no-index --find-links /opt/nuclio/whl && python -m pip install nuclio-sdk msgpack --no-index --find-links /opt/nuclio/whl:
0.467 /bin/sh: 1: python: not found

@KTXKIKI checkout implementation from #6491. I successfully added suport for segmentation. I hope this will be helpful to you.

@hardikdava Thank you very much. I have also tried many ways, but there are always problems

#14 [10/10] RUN python /opt/nuclio/whl/$(basename /opt/nuclio/whl/pip-.whl)/pip install pip --no-index --find-links /opt/nuclio/whl && python -m pip install nuclio-sdk msgpack --no-index --find-links /opt/nuclio/whl
#14 0.111 /bin/sh: 1: python: not found
#14 ERROR: process "/bin/sh -c python /opt/nuclio/whl/$(basename /opt/nuclio/whl/pip-.whl)/pip install pip --no-index --find-links /opt/nuclio/whl && python -m pip install nuclio-sdk msgpack --no-index --find-links /opt/nuclio/whl" did not complete successfully: exit code: 127

[10/10] RUN python /opt/nuclio/whl/$(basename /opt/nuclio/whl/pip-*.whl)/pip install pip --no-index --find-links /opt/nuclio/whl && python -m pip install nuclio-sdk msgpack --no-index --find-links /opt/nuclio/whl:
0.111 /bin/sh: 1: python: not found

Dockerfile.processor:50
48 |     # Run the post-copy directives
49 |
50 | >>> RUN python /opt/nuclio/whl/$(basename /opt/nuclio/whl/pip-*.whl)/pip install pip --no-index --find-links /opt/nuclio/whl && python -m pip install nuclio-sdk msgpack --no-index --find-links /opt/nuclio/whl
51 |

52

ERROR: failed to solve: process "/bin/sh -c python /opt/nuclio/whl/$(basename /opt/nuclio/whl/pip-*.whl)/pip install pip --no-index --find-links /opt/nuclio/whl && python -m pip install nuclio-sdk msgpack --no-index --find-links /opt/nuclio/whl" did not complete successfully: exit code: 127      Brother, do you know the reason for this? The YOLOV8 object detection and segmentation in the CPU version are all like this. I have already run a CPU version of segment anything, but can only deploy one? Can't deploy multiple CPU models？  or   other  Reason   @hardikdava    I'm sorry to bother you again

YOLOV8 classification also requires

@KTXKIKI Is there any way of using roboflow as a support here?
I know it's a problem exposing the data publicly or having to pay, but they are abble to take from COCO and export as YOLO dataset.
Let me know if you found another strategy.


Missing contribution guidelines

I just created a pull request, I hope I did it correctly, my PR was based on the PR template for ImageSharp. This because this repo does not contain a PR template or any other contribution guidelines.
Mayhaps interesting to add guidelines (or copy from ImageSharp) to encourage other people to contribute.

Hi @synercoder
Thanks yes, we definitely need to update all our repositories to match. However, I cannot see your PR?

Ah, sorry i misunderstood. I thought you were PRing to add the contribution guidelines! I'll review your PR asap. Thanks for helping out!

@JimBobSquarePants and now I also created a PR for the contribution guidelines.

Ah wizard. Thanks! 👍

Fixed with #29


Updating the Github action yaml file

The yaml code in our doc should be the same as the yaml file found at https://github.com/microsoft/security-devops-action/blob/main/.github/workflows/sample-workflow-windows-latest.yml .
Currently the yaml is using old versions:
uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1

The Github action does not work with the versions 1 and 2. Instead both of these should be version 3 , as per https://github.com/microsoft/security-devops-action/blob/main/.github/workflows/sample-workflow-windows-latest.yml . What I included in to the pull request in the yaml code is a direct copy paste from https://github.com/microsoft/security-devops-action/blob/main/.github/workflows/sample-workflow-windows-latest.yml , which contains the version 3. Can you please ensure that these versions and other yaml code is up-to-date on this page, or that it's the same as in that other link https://github.com/microsoft/security-devops-action/blob/main/.github/workflows/sample-workflow-windows-latest.yml?
Thanks so much,
Liana

@ElazarK

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

@LianaT - can you fix the code block indentation? the entire block should be indented 3 spaces to align with the ///` at the top. (this is so that it renders under the step).  thanks! (that should also clear the validation warning.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#please-close


Implement sidebar

Implement dynamic sidebar using new sidebar design from Design Guide

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 5
- Added 78

Complexity decreasing per file
==============================
+ assets/js/swedbank-pay-design-guide-theme.js  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 5
- Added 77

Complexity decreasing per file
==============================
+ assets/js/swedbank-pay-design-guide-theme.js  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 5
- Added 93

Complexity increasing per file
==============================
- _plugins/sidebar.rb  5

Complexity decreasing per file
==============================
+ assets/js/swedbank-pay-design-guide-theme.js  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 5
- Added 87

Complexity increasing per file
==============================
- _plugins/sidebar.rb  6

Complexity decreasing per file
==============================
+ assets/js/swedbank-pay-design-guide-theme.js  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 5
- Added 88

Complexity increasing per file
==============================
- _plugins/sidebar.rb  6

Complexity decreasing per file
==============================
+ assets/js/swedbank-pay-design-guide-theme.js  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 5
- Added 71

Complexity increasing per file
==============================
- _plugins/sidebar.rb  6

Complexity decreasing per file
==============================
+ assets/js/swedbank-pay-design-guide-theme.js  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 5
- Added 71

Complexity increasing per file
==============================
- _plugins/sidebar.rb  6

Complexity decreasing per file
==============================
+ assets/js/swedbank-pay-design-guide-theme.js  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 5
- Added 70

Complexity increasing per file
==============================
- _plugins/sidebar.rb  6

Complexity decreasing per file
==============================
+ assets/js/swedbank-pay-design-guide-theme.js  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 5
- Added 69

Complexity increasing per file
==============================
- _plugins/sidebar.rb  6

Complexity decreasing per file
==============================
+ assets/js/swedbank-pay-design-guide-theme.js  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 5
- Added 68

Complexity increasing per file
==============================
- _plugins/sidebar.rb  6

Complexity decreasing per file
==============================
+ assets/js/swedbank-pay-design-guide-theme.js  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 5
- Added 70

Complexity increasing per file
==============================
- _plugins/sidebar.rb  6

Complexity decreasing per file
==============================
+ assets/js/swedbank-pay-design-guide-theme.js  -2

See the complete overview on Codacy


Use property access syntax

Issue

None

Overview (Required)

Change getter and setter to Kotlin syntax.

Links

https://kotlinlang.org/docs/reference/properties.html#declaring-properties

Screenshot

None

Thanks! Looks good 👍

Thanks for contribution! 💯


Open last active cluster after switching workspaces

Based on https://github.com/lensapp/lens/pull/1054/files
Saves last active cluster for each workspace and opens it when workspaces switched.

Fixes #827

Rerequest my review when you are ready for it

Rerequest my review when you are ready for it

It's ready, except failed tests, need to fix them. Please take a second look.


Use Perl

Builds git with perl support. This is useful for doing things like git add -p, which require perl. As re-rendering was required, broke out general feedstock re-rendering in PR ( https://github.com/conda-forge/git-feedstock/pull/13 ), which is the first commit here.

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

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

What is the status of this PR?

FWICT it works fine.
Had labeled it WIP as I was not sure how people felt about adding perl support to git. Personally I find it really handy. Especially for things like git add -p. Also wasn't sure if there were other tests that should be added.
Have revitalized the PR and removed WIP.
The only other thing that might be worth discussing is how we handle perl as conda-build seems to pin the version of perl, which is pretty weird, but that extends beyond this PR.
xref: https://github.com/conda-forge/conda-smithy/issues/415

I'm +1 on perl support.  I also need gitk (which depends on tk), but I can open a PR for that.
As for conda-build pinning perl, I'm not sure why it pins a specific version of perl.  Could be due to lack of resources.

I think it is because it trying to treat Perl the same way we treat Python. Namely that major minor version is important as things may be linking to it like a library. FWICT that is rarely ever the case with Perl, but I have limited exposure to rather large Perl ecosystem. Maybe someone else can comment more on why that is or is not appropriate.

I'd be ok with tk support too. Also so as to have access to gitk (though I use gitx more). That said this starts to make git a really big package. Given as we use it for a lot of automation throughout conda-forge (particularly on Heroku where size limits are already an issue), I think maybe we should spin these out as add-ons to git.
So we might have git-perl and git-tk packages that use git as a dependency, but add on this extra stuff. I'm not sure how well that would work in practice, but it seems like an interesting idea. What do you think? Would this be feasible/of interest?

@jakirkham I'm not sure what you mean by making git a really big package.  Without perl and tk, git-2.11 package comes in at 9.1MB (21MB uncompressed).  With perl support 9.4MB (22MB uncompressed)  and with perl and tk support 9.7MB (24MB uncompressed).
A git-perl package I don't think would be good, because git and git-perl will collide on several file paths.  perl support and some files, but also would have to modify a set of files.  I believe conda now complains if a package tries to overwrite part of another package.  I think the default package should be compiled with perl support, and then the user can decide to install perl or not.
git-tk is possible, though all of tk support only adds about a few MB.

The git-tk would be a good candidate for conda-build's split packages feature (has that been officially released yet?)

Good point. Probably should have checked sizes. I think a couple of MB shouldn't hurt. The main issue is the re-rendering/pinning bot has a slug size of ~243MB currently, but Heroku has an upper limit of 300MB. We went over it before, which forced us to do some cleanup. ( https://github.com/conda-forge/conda-forge-maintenance/pull/22 ) Just wanted to make sure this sort of thing wouldn't put us over. Otherwise we have to give some more thought on how to cutdown its size. I expect fixing git to not include these things won't be a big saver.

Do you have merge permissions here, @groutr? If not, would you like them?

@conda-forge/perl, thoughts on this?


tegrarcmsmash: Add version 1.2.1-3

Adds TegraRcmSmash to the bucket. It's not a GUI application, but it's not really a "well-known and widely used developer tool" either.
Description taken from the official website, license via GitHub.

I do not think exploits should be in official buckets. Like why would you want it here? What will users get?

To be fair, I should have specified that while this is based on and uses an exploit, it is rather an end-user application with the purpose of sending payloads to Nintendo Switch devices. This could be compared to, say, booting your Android device to a custom ROM or plugging a bootable USB drive into your PC.
That being said:

why would you want it here?

For the same reason all other programs are listed here, quick installation/uninstallation without having to worry about unzipping, going to the webpage to find the latest download link or having to add its directory to the %PATH%.

What will users get?

Just that, a command-line program to send payloads to their Switch devices. Presumably what they want when they type scoop install tegrarcmsmash.

Opening gates for such tools will lead into associating scoop with malwarous software.

I do get where you're coming from here though. I can't say that I manage a project with such a large userbase, so you probably know better than me what's best.

So to sum it up.
Easier, faster and in general better download of virus thanks to Scoop 👍.
Definitely not gonna happen in official bucket.


v-jumbotron still offered, might confuse some users

v-jumbotron still offered, might confuse some users

I was also thinking about it. The thing is v-jumbotron is deprecated in v1.2 of Vuetify, but what if someone is using > v1.2?
The answer is making user to manually choose the version or read the package.json file for version. And that is some work needs from my side. I will do it this month because of college, but if you are always welcome to make a PR.

glad to help out. any code of conduct that needs to be followed?


CSS not working when bundled

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.
@angular/cli: 1.3.2
node: 6.11.0
os: win32 x64
@angular/animations: 4.3.6
@angular/common: 4.3.6
@angular/compiler: 4.3.6
@angular/core: 4.3.6
@angular/forms: 4.3.6
@angular/http: 4.3.6
@angular/platform-browser: 4.3.6
@angular/platform-browser-dynamic: 4.3.6
@angular/router: 4.3.6
@angular/cli: 1.3.2
@angular/compiler-cli: 4.3.6
@angular/language-service: 4.3.6
Repro steps.
In command lines:
npm install -g<EMAIL_ADDRESS>npm install -g<EMAIL_ADDRESS>ng new test-project
cd test-project
npm install<EMAIL_ADDRESS>npm install<EMAIL_ADDRESS>npm install<EMAIL_ADDRESS>
Open ./.angular-cli.json and edit the styles and scripts attributes this way:
"styles": [
    "../node_modules/boosted/dist/css/orangeHelvetica.css",
    "../node_modules/boosted/dist/css/orangeIcons.css",
    "../node_modules/boosted/dist/css/boosted.css",
    "styles.css"
],
"scripts": [
    "../node_modules/jquery/dist/jquery.slim.js",
    "../node_modules/popper.js/dist/umd/popper.js",
    "../node_modules/boosted/dist/js/boosted.js"
]

Open ./package.json and add the following to the scripts attribute:
"build:prod": "ng build --target=production --environment=prod",
"build:prod:noextract": "ng build --target=production --environment=prod --extract-css=false"

Open ./src/app/app.component.ts, replace the content with:

.text-primary

In command lines:
npm run build:prod
cd dist
http-server

Open your browser at http://<IP_ADDRESS>:8080/, notice that the text isn't colored.
In command lines:
cd ..
npm run build:prod:noextract
cd dist
http-server

Open your browser at http://<IP_ADDRESS>:8080/, notice that the text is now colored (cache refresh in your browser might be needed)
The log given by the failure.
N/A
Desired functionality.
The Boosted package that I use in the repro steps is a proprietary fork of Bootstrap, and for some reason it works perfectly fine when the CSS is inside the HTML file (extract-css option set to false) and not at all when it is bundled. I can't manage to reproduce this issue with simpler CSS files. I'm really confused as to what causes this, and putting the CSS into the HTML isn't really acceptable in production.
Thanks in advance for your attention.
Mention any other details that might be useful.
N/A

That's an odd problem. It might be related to a bug somewhere in the CSS pipeline. Can you try using<EMAIL_ADDRESS>and see if you still have the problem? We've updated webpack and plugin versions and that might have fixed it.

I just tried with<EMAIL_ADDRESS>but unfortunately, the behavior is exactly the same.

This can be replicated after the initial project setup with ng serve --extract-css.
After some experimentation, it seems that removing the orangeIcons stylesheet or moving it after boosted fixes the problem.  Something within the orangeIcons stylesheet appears to be blocking anything after it.

Indeed, @clydin is right, moving the orangeIcons at the end seems to fix it. I don't know what's wrong with this CSS file.
As far that I am concerned, this issue is fixed, since I have a workaround, and apparently this CSS is going to be removed from the Boosted package (cf. issue 68 of the Boosted Github).
I let you decide if the present issue is to be closed or not, I can't tell if there is something wrong with angular-cli in the end or not...
Regards.

I had the same error since using angular-cli and couldnt fix it. Today I finally found out that I was sending the wrong Content-Type (text/x-c++) for the css file.
Maybe this will help you.

so is this fixed ?
I try to use the angular-cli.json to add external css , but they do not load at all
"styles": [
        "styles.css",
        "../node_modules/ng2-toasty/style-default.css"
      ],

Closing this issue as the original concern was addressed.  If any other stylesheet related issues are outstanding, please consider opening a new issue with full details regarding the project.


suggest: backgroud-color when hovering

please add a light gray background color when hovering, it's more obvious
thanks

https://github.com/cqroot/joplin-outline/wiki/Custom-panel-style
You can add the following content to the User Style of the advanced settings.
.toc-item-link:hover {
  background-color: #f0f0f0;
}

https://github.com/cqroot/joplin-outline/wiki/Custom-panel-style
You can add the following content to the User Style of the advanced settings.
.toc-item-link:hover {
  background-color: #f0f0f0;
}

thank you

Now you can do this by setting the Hover Style Type in the options to highlight.


updated Hands with bone roll 0 to support future Handtracking work

additional stuff that this pr adds:
new glove hand models
(note: they got no textures yet, there will be a update for those)
changes:
since the animations already contain a sign pose, the sign_point was reverted
changes to the meshes:
to account for handtracking, additional vertices where added around the index/middle/ring fingers

if there should be a question regarding why all animation poses are replaced again,
the answer is simple, by resetting the bone roll to 0 all previous animations where useless and therefore i had recreate them from scratch again


Failing test for Help method in Thor class with an Argument

I was looking into http://stackoverflow.com/questions/11040420/thor-how-can-i-get-my-thor-task-to-display-help-when-i-have-defined-an-argumen, and it seems like there's an actual bug in Thor here.
For the Thor Classes:
class Ok < Thor
    desc "foo", "This should be the description for foo"
    def foo
        puts "in a.thor ok:foo\n"
    end
end
class Broke < Thor
    argument :arg1, :type=>:string, :desc => "arg1"
    desc "foo", "This should be the description for foo"
    def foo
        puts "in a.thor broke:foo arg1=#{self.arg1}\n"
    end
end

thor help ok: foo returns:
Usage:
  thor ok:foo

This should be the description for foo

but thor help broke:foo returns:
Tasks:
  thor broke:foo ARG1          # This should be the description for foo
  thor broke:help ARG1 [TASK]  # Describe available tasks or one specific task

I've a little time trying to figure out what's happening, and it looks like since there's a named argument, in #initialize in base.rb, the second time it runs (not for Thor::Runner, but for the actual class), it assigns the method name to the named argument, eating it instead of passing it through to the help method.
I've attached a failing test—at this point, I haven't figured out how to solve it yet, but thought this might help.

Closing since this is too outdated. Thank you for the pull request


"Return empty fields" not working

Describe the bug
The option "Return empty fields" (defautWidgetOptions.returnEmptyFields) does not work.
It neither works in 1. my project nor in 2. the example at https://hamidihamza.com/Angular6-json-schema-form/
To Reproduce
Steps to reproduce the behavior:

Open https://hamidihamza.com/Angular6-json-schema-form/
Enable "Return empty fields"
Delete "Jane" from field First name

Expected behavior
Live data and Submitted data both contain
"first_name": null
Actual behavior
Live data and Submitted data don't contain the attribute
"first_name" at all.
Desktop (please complete the following information):

OS: Windows 7
Browser Firefox
Version 68.0.1

I had another look: In the example it actually works!
I expected changes in the section "Selected Framework and Options" to be applied immediately.
However, changes are only applied once value of the drop-down menu "Framework" is changed.
To successfully enable "Return empty fields", the following steps are necessary:

Open https://hamidihamza.com/Angular6-json-schema-form/
Enable "Return empty fields"
Change "Framework" to another framework
Optional: Change "Framework" back to the desired framework
Delete "Jane" from field First name
Live data and Submitted data now both contain "first_name": "". This is the desired behavior.

I will take another look at how to enable returnEmptyFields in my project.
I propose changing the behavior in the example or adding a note.

This issue turned out to be several issues, therefore I closed this one, feel free to delete it.
The new issues are:

https://github.com/hamzahamidi/Angular6-json-schema-form/issues/138
https://github.com/hamzahamidi/Angular6-json-schema-form/issues/139
https://github.com/hamzahamidi/Angular6-json-schema-form/issues/140


raidboss: add ja translations in shb/trial

Add / Fix Japanese translation in:

raidboss_config.js
shb/titania
shb/ruby-weapon
shb/titania-ex
shb/innocence
shb/innocence-ex
shb/hades
shb/hades-ex

(´。＿。｀) Since I'm not a native Japanese, some translation may not be the best.

Merged the newest branch to avoid CI check failed.

Thanks!!


atlasaction: quote back-flash in the file name.

I don't think this works
atlas schema plan pull --url "atlas://k8s-declarative-demo/plans/pr-18-CZ/AKQaM" > "pr-18-CZ/AKQaM.plan.hcl"
zsh: no such file or directory: pr-18-CZ/AKQaM.plan.hcl


Add link to It's All Ghosts

It's All Ghosts is a universal, yet limited script that brings back the basic It's All Text features for simple, non-plugin-aware editors.

That’s interesting, I’ll give it a try!

Thank you!


Videos cannot be loaded without playing

In HTML5 (speaking in general here, not specifically in regards to gdx-video), videos cannot play without prior user interaction (e.g. clicking on the page) unless they are muted, even if they don't have an audio track.
As playing and loading the video is a single method in gdx-video, I cannot preload the video before interaction in order to make playback commence immediately.
(speaking from the future: this might have actually been possible if it wasn't for the resume() bug mentioned later on this page)
(again from the future: doesn't seem immediately is possible - I get blackness for a bit, so I delayed my rendering by 2/30s to make it appear at the same time as my UI)
I don't care about actually playing before interaction, but I did a quick test and concluded that setting the volume to 0 is good enough to achieve that. Whether there's a browser out there that explicitly requires the muted attribute, I'm not sure.
For my project, I added the following method to VideoPlayerGwt. I'd prefer to specify the file on creation (like new Texture("texture.png"), Gdx.audio.newMusic(Gdx.files.internal("music.mp3")) but not sure how that works with reflection and stuff.
@Override
public boolean load (FileHandle file) {
    currentFile = file;
    if (v != null) {
        v.setSrc(((GwtFileHandle)file).getAssetUrl());
        return true;
    }
    return false;
}

I also had to change v.getCurrentTime() > 0 in resume() to v.getCurrentTime() >= 0. At this point I'm not sure there's any point in the check at all, but I left it in there all the same.
Edit: I've now removed that. And also v.getCurrentTime() < v.getDuration() - this was causing playback to fail if I played the video before its duration was known.
While the time it takes to fetch a video will be shorter on other backends due to not going via the internet, I think this still has potential to benefit them, being able to give your video time to buffer before actually playing it. Though I haven't taken the time to understand the Android implementation, and the desktop implementation has bigger things to worry about than this.

There is also the load()-method. I agree with you that preloading might be a good idea

For the resume method, the check
(v.getCurrentTime() == 0 || v.getCurrentTime() < v.getDuration())
seems to get the job done while still making sure that calling pause + resume doesn't restart an already finished video.
For the blackness, it seems to me like the isBuffered() method doesn't accurately determine when a video frame is available.


Allow to override viewport & charset values in reactive way

Describe the feature
In our application, we have dynamic viewport. We insert it in plugin, and are getting viewport & charset duplicates:

Regardless of what documentation says (that we CAN override it by useHead in app.vue), we can't prevent default viewport from showing in app.vue or in any other place.

My solutions:

Add key in resolved.meta.unshift for both charset & viewport, so we can override them by newer code and prevent duplicates
Add support for charset: false and viewport: false in config.app.head, so we can disable default behaviour at all
Mention both solutions in documentation

As for now, I haven't found any possible solution to prevent this from happening.
Additional information

[X] Would you be willing to help implement this feature?
[ ] Could this feature be implemented as a module?

Final checks

[X] Read the contribution guide.
[X] Check existing discussions and issues.

@harlan-zw Didn't reproduce it in pure case, and figured it out.
In our plugin, we had key in meta, and that's what caused duplicates.
useHead({
    meta: [
        {
            key: 'viewport',
            name: 'viewport',
            content: 'test12345',
        },
    ],
});

If this is a feature, I'll leave to @danielroe what to do with this. Maybe clarify in docs that if you use key for viewport/charset if will be duplicated? 🤔
Repro: https://stackblitz.com/edit/nuxt-starter-cify6z?file=app.vue,nuxt.config.ts


Recover with a promise

I'd like to do something like this:
firstly {
    // try to request from the web, which could fail
}.recover { error in
    // try instead to load from disk, which also could fail
}.done { json in
    // process results
}.catch {
    // handle error
}

but I guess this is not possible because recover has to return a Guarantee.

but I guess this is not possible because recover has to return a Guarantee.

This is untrue, what you want to do is possible. LMK if I can help.

Okay, my problem was solved by explicitly declaring the return type of my recover block:
firstly {
    // try to request from the web, which could fail
}.recover { error -> Promise<Any> in
    // try instead to load from disk, which also could fail
}.done { json in
    // process results
}.catch {
    // handle error
}

Yes, this is the main suggestion in our Troubleshooting guide.


Support for gopls

I was wondering if there are any plans to add support for the new gopls Go Language server?
vim-go is already switched to using gopls for completion instead of gocode, and things are much quicker and smoother because of it.
But I like to keep using deoplete for autocompletion, so having support for gopls would be awesome.
Thanks!

Unfortunately, it cannot.
gopls is LSP client.
deoplete-go is not LSP client.
You should use LanguageClient-neovim or deoplete-tabnine instead.

Yeah, I was already looking at the language client as well. Will continue down that path then. Thanks!


Added the File Encryption/Decryption script

Description
Added File Encryption/Decryption script
Fixes #1733

Type of change
Please delete options that are not relevant.

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

Checklist:

[x] My code follows the style guidelines(Clean Code) 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 created a helpful and easy to understand README.md
[x] My documentation follows Template for README.md
[x] I have added the project meta data in the PR template.
[x] I have created the requirements.txt file if needed.

Project Metadata
If there is no-file/nothing to fill the below fields with, then type: none
Example: If no requirements.txt needed/present, then type none in Requirments.
Category:

[ ] Calculators
[ ] AI/ML
[x] Scrappers
[ ] Social_Media
[ ] PDF
[ ] Image_Processing
[ ] Video_Processing
[ ] Games
[ ] Networking
[ ] OS_Utilities
[ ] Automation
[ ] Cryptography
[ ] Computer_Vision
[ ] Fun
[ ] Others

Title: File Encryption/Decryption script
Folder: File Encryption/Decryption script
Requirements: package fernet
Script: file_encryption.py
Contributor:  Abhinavcode13
Description: his script is about file encryption and decryption using the Fernet symmetric encryption algorithm from the cryptography library in Python.
The script provides functions to generate an encryption key, load the key from a file, encrypt a specified file, and decrypt a previously encrypted file.

please check this @1e9abhi1e10

@1e9abhi1e10

@1e9abhi1e10 please look into this and merge it


Alpine based image

Instead of using Debian, use Alpine.
Smaller images.
Passes vulnerability checks due to fewer packages (why do you need CUPS in a docker image?) and update to date packages.

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 (message): Could NOT find Boost (missing: system filesystem thread date_time chrono regex serialization program_options locale) (found suitable version "1.72.0", minimum required is "1.58") Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake/Modules/FindBoost.cmake:2162 (find_package_handle_standard_args) CMakeLists.txt:875 (find_package)


Cannot find react component

I've been trying to get this to work for ages, but no matter what I do the directive can't find my react component.
These are the files I'm including:
<script src="bower_components/react/JSXTransformer.js"></script>
<script src="bower_components/react/react-with-addons.js"></script>
<script src="bower_components/ngReact/ngReact.min.js"></script>
<script src="node_modules/babel-core/browser.js"></script>
<script src="static/react-components.min.js" type="text/babel"></script>
<script src="static/main.min.js"></script>

Where my components are inside the react-components.min.js file, and all of my angular code is inside main.min.js.
It's stated that you need to use an in browser transformator for this directive to work, so I tried that using babel, but that also doesn't work.
This is my react component:
<react-component name="Chat" watch-depth="reference"></react-component>

And in the react-components.min.js file I got a component called 'Chat':
var Chat = React.createClass({
   render: function() {
    return <footer className="chat chat--dark">Hello John</footer>;
  }
});

core.value('Chat', Chat); // My application is bound to the core module
But it doesn't find it.. What could be wrong because no one else seems to have this issue?

@chrillewoodz I see that you put the JSXTransformer.js in your scripts and that your component is written with JSX. Have you checked out the section about JSX in the browser from the README.md ?

@kasperp Yes, that's why I tried using babel to fix the issue. So I removed type="text/jsx" and used type="text/babel" instead, so then it should be working but it's not.

It's stated that you need to use an in browser transformator for this directive to work, so I tried that using babel, but that also doesn't work.

This is not true, it is stated that if you want to use an in browser jsxtransformer you can. Have you tried tranforming your jsx file, in a build step? Either with Babel or react-tools ?


Allow background audio playback

Potentially tricky, but it might be nice to allow audio playback to continue in the background while you navigate elsewhere. For example:

Pull up a music section, navigate to some particular album, start playing.
Hit the back button, continue browsing the section.
Can we continue playing the album while you browse? Currently we stop playing.

Pandora more or less does this. It's a little tricky because the audio player needs to share a message port with the springboard screen. We also need to decide when to stop the playback. For example, if I exit that music section and go to some other section, should the playback continue until I start playing something else?

fwiw - iOS and Android continue background playing through the playlist until you start playing either a movie or a different playlist.


Don't break when there's only one point

the use of @turf/within assumes a feature collection. When there's only one point it breaks. This also happens for example when we split the region into squares and there's only one point.
Force input to be a feature collection.

This might still be relevant. Leaving open to investigate.

No longer a problem. POI have to be a FeatureCollection


Fix regular expression in subdomain_based_buckets host check.

Currently https://github.com/spulec/moto/blob/master/moto/s3/responses.py#L42-L49 uses:
path_based = (host == 's3.amazonaws.com' or re.match("s3.(.*).amazonaws.com", host))

but it is missing some \s and things and should be:
path_based = (host == 's3.amazonaws.com' or re.match(r"s3\.([^.]*)\.amazonaws\.com", host))

thanks!

Pleasure!


Run Jupyter notebooks in CI

Run the Jupyter notebooks in CI to make sure they keep working with the latest versions of packages. On every change to a notebook, this workflow is ran, as well as once a month.

Hi @mncosta, @filmoura and @temospena!
First of all, thanks for these amazing resources! They're really useful.
I've created an automatic workflow with GitHub Actions that tests all the Jupyter notebooks periodically. This way, broken notebooks are detected, which means they can be updated to work with the latest versions.
It already found it's first error:
ImportError                               Traceback (most recent call last)
Cell In[1], line 7
      5 import biogeme.models as models
      6 import biogeme.optimization as opt
----> 7 from biogeme.expressions import Beta, DefineVariable, bioNormalCdf, log, Elem
      8 import seaborn as sns
      9 import matplotlib.pyplot as plt

ImportError: cannot import name 'DefineVariable' from 'biogeme.expressions' (/home/runner/.local/lib/python3.10/site-packages/biogeme/expressions/__init__.py)

If we look at the Biogeme docs, we see that DefineVariable has moved, and is now part of biogeme.expressions.elementary_expressions.DefineVariable. Which means it can be fixed!
I hope this is useful, let me know what you think!

Thank you @EwoutH !
This is great work :) 🙌
I will merge the PR, and meanwhile @mncosta can look after that error.


Implement 'create' and 'delete ' requests

v1/localization/create
v1/localization/delete
Find more details from https://docs.google.com/document/d/1mIJ9Q3BRfUMJ_ha4tbEqxWrE7v2qyNZcc4lWoRNcr6s

Moved the issue into GUI repository


Added CC0 LICENSE for rules

why would just literal text need a software license LOL its not software

why would just literal text need a software license LOL its not software

Licenses aren't just for source code, but also there isn't just text in this repo.

I think CC0 would be a better fit -- it covers the text of the rules more effectively, and we really need no restrictions even wrt crediting on this repo.

I think CC0 would be a better fit -- it covers the text of the rules more effectively, and we really need no restrictions even wrt crediting on this repo.

I took a look at the CC0 license. I agree. CC0 would be a better fit. I've changed it to CC0.

Okay, so, boring legal nonsense: @ellzie, @ThisAMJ, @ThatFridgeFella -- y'all have contributed to this repo before, are you happy releasing your contributions under the CC0 license, which essentially constitutes waiving all copyrights on your contributions?
(And just for clarity, I do consent to my contributions -- which are the bulk of this repo -- being licensed as such)

Sure!

Sounds good

Yeah sure