Falcon 2093 - Support TD connector for Database Import and Export

+1. Patch looks good.

+1. Could you add a JIRA for unit tests? Thank you, @vramachan

@yzheng-hortonworks this is specific to using TD connectors. We don't have infrastructure to invoke TD connector during the UT and IT.

Will commit


Add changelog for 2.0.0-RC1

I can push the tags and promote the release on sonatype once this gets merged in. Closes #152

Closed by #196. Opened as a new PR since I wanted to change the branch name.


error in android build

error with version 4.2.10
> Failed to notify project evaluation listener.
   > Could not get unknown property 'android' for project ':firebase_auth' of type org.gradle.api.Project.
   > Could not find method implementation() for arguments [project ':firebase_core'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
   > Could not get unknown property 'android' for project ':firebase_auth' of type org.gradle.api.Project.

sorry this error is for firebase_auth

@syedajmal1998
I am unable to replicate this error. My sample has same env as you mentioned and then added firebase_auth and ran flutter run as well as flutter build apk which were successful without any issues.
Make sure all other flutterfire plugins are on latest versions and there is no cache. Try cleaning your pub cache and then run flutter clean to see if it helps or not.


Unexpected refractoring of nullable datetime field

When running rector with the doctrine exension:
    $containerConfigurator->import(DoctrineSetList::DOCTRINE_CODE_QUALITY);

1) src/Cashback/Domain/Model/CashbackClaim.php:57

    ---------- begin diff ----------
@@ @@
     /**
      * @ORM\Column(type="datetime", nullable=true)
      */
-    private ?DateTimeInterface $orderDetailsOrderDate = null;
+    private ?DateTimeInterface $orderDetailsOrderDate;

     /**
      * @ORM\Column(length="256")
@@ @@

@@ @@
     {
         $uuid = Uuid::uuid4();
         $this->entityId = $uuid->toString();
+        $this->orderDetailsOrderDate = new \DateTime(null);
     }

The result is unexpected as it did add:
$this->orderDetailsOrderDate = new \DateTime(null);

Which should just stay as:
private ?DateTimeInterface $orderDetailsOrderDate = null;

Thank you for your report!
We'll need an isolated failing demo link from: http://getrector.org/demo,
that way we can reproduce the bug.

@TomasVotruba Oh thanks for the fast response, here is the reproducable: https://getrector.org/demo/1ec43f75-f47d-6aa0-abc7-379c901739d5

Thanks. The next step is to identify which rule should behave differently and what you expect to output.
Could you send the failing test fixture to the picked rule?

Its the  MoveCurrentDateTimeDefaultInEntityToConstructorRector:
See as a possible fix: https://github.com/rectorphp/rector-doctrine/pull/45


Doesn't work with vite-tsconfig-paths

The VitePWA plugin seem not respecting or using Vite to transpile the files.
this is my vite.config.ts
import baseConfig from '../vite.config.ts'
export default mergeConfig(baseConfig, {
  plugins: [
    react(),
    VitePWA({
      strategies: 'injectManifest',
      srcDir: '.',
      filename: 'service-worker.ts',
    }),
  ],
})

and this is the parent vite.config.ts
export default defineConfig({ plugins: [tsConfigPaths({ root: './' })] });

In service-worker.ts, I used import alias like
import someDep from '@project/module'

when building, it show this error message:
"@project/module" is imported by "core/service-worker.ts", but could not be resolved – treating it as an external dependency.

also if I use typescript for the custom service worker file,
the dev mode will be broken:

it seems the file is not passed to vite to transpile

@nodegin on dev, the plugin doesn't build the sw, it's "build" by Vite (esbuild) removing ts annotations, you will need to resolve that dependency, try adding an alias.
can you provide a minimal repro?

@userquin  I have created a minimal reproduction repo:
https://github.com/nodegin/vite-pwa-reprod
I tried build, it does not respect vite plugin as well during build.
Alias seem working but not a ideal solution since my project have so many aliases,
it should respect the tsconfigPlugin which auto loads the aliases

dev is working, checking build...

also working on build, you need to add an alias to resolve the library:
// apps/core/vite.config.ts
resolve: {
    alias: {
      '@repro/library': '../../../libs/library/src/index.ts',
    },
  },

@userquin  I understand adding resolve alias would work but as I point out before it seem to be not an ideal solution, because the paths in our real tsconfig.base.json is gigantic, it means we have to duplicate all those paths once more😢 and that's already handled by the tsconfigPlugin which is consumed by vite, is it possible to work together with other plugins?

you can use this:
// apps/core/vite.config.ts
/// <reference types="vitest" />
import { defineConfig } from 'vite';

import { VitePWA, defaultInjectManifestVitePlugins } from 'vite-plugin-pwa';
import viteTsConfigPaths from 'vite-tsconfig-paths';

export default defineConfig({
  cacheDir: '../../node_modules/.vite/core',

  mode: 'development',

/*
  resolve: {
    alias: {
      '@repro/library': '../../../libs/library/src/index.ts',
    },
  },
*/

  server: {
    port: 4200,
    host: 'localhost',
  },

  preview: {
    port: 4300,
    host: 'localhost',
  },

  plugins: [
    viteTsConfigPaths({
      root: '../../',
    }),
    VitePWA({
      mode: 'development',
      strategies: 'injectManifest',
      srcDir: './src',
      filename: 'sw.ts',
      injectManifest: {
        vitePlugins: defaultInjectManifestVitePlugins.concat('vite-tsconfig-paths')
      },
      devOptions: {
        enabled: true,
        type: 'module',
      }
    }),
  ],
});

@nodegin @pgsteven have you tested my previous suggestion? you can add the names of any plugin you have in Vite plugins.

@userquin  Sorry for late reply. I just tested again earlier, and still can't get it working in my real project.
I find it related to the @vitejs/plugin-react plugin, which would automatically add some code to the react component contains window object,
and which is unavailable in service workers.

I have updated my reproduction repo,
if you try to remove the @vitejs/plugin-react plugin by commenting react(), in vite.config.ts, it will work well.

Why do you need react in the sw? That option is to allow add plugins configured in your vite app in custom rollup buiild for your custom sw, you can check src/modules.ts in the repo.
I Will check your uodated repo tmr.

@userquin I didn't use React in SW.
The problem is, @repro/library contains both the code I need to use in SW,
while also in my core application, it seem this mechanism will break the SW because the module imported contains React pieces

Split it into 2 modules, one for your app and another for the sw

You can have a lot of modules, for your app just re-export everything on one module and in the sw import just another one re-exporting what sw needs. Ofc in sw one dont use any module with react dependencies.

But the problem is, if you comment the @vitejs/plugin-react plugin it will work, even it still contains React code.
Also, in the real project the sw.js is migrated from webpack, which also working fine even with React code.
So the problem seem to be vite-plugin-pwa incompatible with @vitejs/plugin-react?

Splitting is not a solution to us since our app is on production, splitting it basically mean we have to rewrite the whole app and the logics.

@nodegin
You only need to split it into 2 modules @repro/library,  you don't need to change any line in your code base just the library:

move logic required by the sw to a separate module
Include in @repo/library the import for previous new one module and export * from xxxx (just re-export everything from it: the logic has been only moved
add a new map @repro/sw-library  for 1
Import previous module in the sw

When building the sw we use a separate rollup build configuring some vite internal plugins, the plugin Will also allow you to add any plugin configured plugin in your vite config file.
You only need ts plugin to be include in the rollup build of your sw to resolve some external dependency. The option in my prevoius comment is to include ts plugin, we seek the plugin by name.
You can check L130 on src/modules.ts.

If you have a monolitic module with disparate dependencies, you will be able to use it in some environments. For example, you app Will not work on node server if you dont use jsdom or happy-dom to mock window/document. In a sw is even worst, you dont have globalThis/global, polyfills Will also fail to mock sw self.

@userquin but I think it is still an issue, ideally even if it contains React code, it should not affect the vite to compile the code? since the sw only import the test property which is purely a string, and as I mentioned before without the plugin-react it works perfectly, even I add something having the window.
export const func = () => (window as any)['test']

So I really don't get why it can't work with the react plugin?

@nodegin I still don't know what's failing, building the app, building the sw or running the app build?

@userquin running the dev mode with plugin-react is not working, the service worker would be invalid, you can try my reproduction repo

@nodegin you need to split your library, I've done this changes:

add sw-stuff.ts in your library, exporting only test
re-export all sw stuff on index.ts: export * from ./sw-stuff
add "@repro/sw-library": ["libs/library/src/sw-stuff.ts"]  to paths in tsconfig.base.json
add @vitejs/react as dev dependency to package.json: "@vitejs/plugin-react": "^3.1.0",
move vite-pwa-plugin to devDependencies
add navigateFallback:  '/' to devOptions adding this code to the sw:

/// <reference lib="webworker" />
/// <reference types="vite/client" />

import { clientsClaim, setCacheNameDetails } from 'workbox-core';
import {createHandlerBoundToURL, precacheAndRoute} from 'workbox-precaching';
import { NavigationRoute, registerRoute } from 'workbox-routing'
import {test} from '@repro/sw-library';

import { version } from '../../../package.json';

// ServiceWorkerGlobalScope is a type from the workbox-precaching module
declare const self: Window & ServiceWorkerGlobalScope;

setCacheNameDetails({
  prefix: test,
  suffix: version,
});

// Tells the Service Worker to skip the waiting state and become active.
self.skipWaiting();

// Will make the Service Worker control the all clients right away
// (even if they're controlling other tabs or windows). Without this,
// we could be seeing different versions in different tabs or windows.
clientsClaim();

let allowlist: undefined | RegExp[]
if (import.meta.env.DEV)
  allowlist = [/^\/$/]

precacheAndRoute([...self.__WB_MANIFEST]);

// to allow work offline
registerRoute(new NavigationRoute(
  createHandlerBoundToURL('/'),
  { allowlist },
))


Private webot objects

Protect references to the underlying webots objects,
Where possible, also remove the webots objects from where they're not needed, to clean things up and help even more. Unfortunately that does make the diff a little noisy.
There's little use protecting things further, because at that point it's trying to circumvent the simulation, which isn't doesn't follow good sporting conduct.

In theory, there's little benefit to it being _webot over __webot. The latter however has slightly more protection around teams abusing webots' own internal API. I believe i've been consistent around them all being __, which is good.

I support blocking team access to the webots objects where possible

Why? What's the motivation here? Does Webots' API allow competitors to do things which could be considered unfair or cheating?
Bear in mind that none of this really prevents the competitors from accessing Webots objects. After all they could just import controller.Robot themselves and use that directly, without using our API at all.
In the normal competition we don't place any sort of limitation that teams use our API directly, so I'm not sure why we're doing that here.

I don't think we're likely to merge this before the competition and there's quite a lot of conflicts here. I'm going to close this and suggest we start afresh if we do want to do something here in the future.


Add Prosopite.enabled and introduce Rack and Sidekiq middleware.

Add Prosopite.enabled option to enable or disable prosopite across the entire application (this option defaults to true.
Introduce a rack and sidekiq middleware to help use Prosopite.

Thanks @dhruvCW! Could you also update the README with instructions on how to use the middlewares & description for the enabled ?

yup just updated the Readme and changed enable to enabled 👍

@charkost would it be possible for a new release to be published once this PR is merged ?

@dhruvCW Ready - thanks again!


Keep Getting ECONNRESET Error when Running main.js

Hey, I keep getting this error after configuring everything and running main.js. Server is properly running on correct LAN port and wifi works. Any idea why?
{ errno: -54, code: 'ECONNRESET', syscall: 'read' }
full logs:
$ node main.js [ './andy.json' ] Using chat settings: { model: 'claude-3-5-sonnet-20241022', api: 'anthropic' } Using embedding settings: { api: 'anthropic' } Unknown embedding:  anthropic . Using word overlap. Logging into minecraft... {} { errno: -54, code: 'ECONNRESET', syscall: 'read' } Agent process exited with code 0 and signal null ✨  Done in 0.65s.

looks like a network problem. firewall etc. can you connect to the same host port from from the same machine with anything else , i.e. with minecraft or telnet? also please show your settings.js


fastqc is out of RAM

Hi!
In some rare cases 250m RAM is not enough for fastqc:
[2019-10-22T18:21Z] Started analysis of sort-downsample.bam
[2019-10-22T18:21Z] Exception in thread "Thread-1" java.lang.OutOfMemoryError: GC overhead limit exceeded
[2019-10-22T18:21Z] 	at java.lang.String.toCharArray(String.java:2899)
[2019-10-22T18:21Z] 	at uk.ac.babraham.FastQC.Modules.PerSequenceGCContent.truncateSequence(PerSequenceGCContent.java:222)
[2019-10-22T18:21Z] 	at uk.ac.babraham.FastQC.Modules.PerSequenceGCContent.processSequence(PerSequenceGCContent.java:174)
[2019-10-22T18:21Z] 	at uk.ac.babraham.FastQC.Analysis.AnalysisRunner.run(AnalysisRunner.java:88)
[2019-10-22T18:21Z] 	at java.lang.Thread.run(Thread.java:748)
[2019-10-22T18:21Z] Uncaught exception occurred

Running fastqc from the command line with -t 2 allocates 500M and works:
https://github.com/s-andrews/FastQC/issues/24
It looks like we don't have an options to control fastqc threads or memory from bcbio.yaml.
https://github.com/bcbio/bcbio-nextgen/blob/987656bec976fbcd7fc7c2b1cd469959a7dbc894/bcbio/qc/fastqc.py#L47
And we need it.
SN

Thanks, what was the FastQC command line that failed? I think we can add an explicit -Xmx500m to the FastQC call to give it more memory.

The VM got killed already. It was a regular fastqc command.
I think fastqc is a perl script that does not allow to set up java memory. Instead it is doing hardcoded mem=threads*250M
https://github.com/s-andrews/FastQC/blob/master/fastqc#L166
So, I will just use 2 threads as suggested in here https://github.com/s-andrews/FastQC/issues/24

Ah, interesting!

In the default bcbio installation in bcbio/galaxy/bcbio_system.yaml we have
resources:
  default:
    cores: 16

so fastqc is being called as fastqc -t 16 ...   and we never face the fastqc memory issue.
However, in some installations people do bcbio/galaxy/bcbio_system.yaml:
resources:
  default:
    cores: 1

So default is 1, and fastqc call is fastqc -t 1 ... - memory issue.
Reminding myself how cores work for a multicore job project.
There are:

bcbio_nextgen.py -n NUMCORES (default = 1, typically 20-40)
bcbio/galaxy/bcbio_system.yaml: resources/default/cores (default=16)
project/config/bcbio.yaml: resources/default/cores

Probably, the easiest way to tackle this situation is to avoid setting cores: 1  in a system-wide config, min cores: 2.
SN

Sergey;
Great catch on the underlying issue. I pushed a small fix that floors the number of threads used at 2 to avoid hitting the low memory issues even if folks set cores: 1, so that it'll work in these cases as well. Hope this avoids the problems going forward.

Thanks, @chapmanb !


Dont display popup for ambient music

The whole point of ambient music is how it fades in and out and a popup announcing every time it does kind of ruins the immersion. Please have it only display for actual music discs, or at least be configurable

The purpose of this mod is to show the user which song is playing, which purpose would be defeated by disabling it for background music, since Minecraft already shows the info for jukebox music.


Not able to understand the metrics information

Issue type:
Not able to understand the metrics information

Support request

What happened:
I have run the prometheus-nginxlog-exporter and got the metrics by http://<IP_ADDRESS>:4040/metrics
But not able to analyse it properly. How to get the following metrics from the metrics output

_http_response_count_total
The total amount of processed HTTP requests/responses.

_http_response_size_bytes
The total amount of transferred content in bytes.

_http_upstream_time_seconds
A summary vector of the upstream response times in seconds. Logging these needs to be specifically enabled in NGINX using the $upstream_response_time variable in the log format.

_http_upstream_time_seconds_hist
Same as _http_upstream_time_seconds, but as a histogram vector. Also requires the $upstream_response_time variable in the log format.

_http_response_time_seconds
A summary vector of the total response times in seconds. Logging these needs to be specifically enabled in NGINX using the $request_time variable in the log format.

_http_response_time_seconds_hist
Same as _http_response_time_seconds, but as a histogram vector. Also requires the $request_time variable in the log format.

 listen {
   port = 4040
   address = "<IP_ADDRESS>"
 }

 namespace "app1" {
   format = "$remote_addr - $upstream_cache_status - [$time_local] - $request $status $body_bytes_sent $http_referer $http_user_agent rt=$request_time uct=$upstream_connect_time uht=$upstream_header_time urt=$upstream_response_time"
   source_files = ["/etc/nginx/logs/frontend-server-access-1.log"]
   labels {
     app = "my-application"
     environment = "production"
     foo = "bar"
   }
 }
# Please post the contents of your configuration file, here

Metrics output (remove section, if not applicable):
# HELP go_gc_duration_seconds A summary of the GC invocation durations.
# TYPE go_gc_duration_seconds summary
go_gc_duration_seconds{quantile="0"} 0
go_gc_duration_seconds{quantile="0.25"} 0
go_gc_duration_seconds{quantile="0.5"} 0
go_gc_duration_seconds{quantile="0.75"} 0
go_gc_duration_seconds{quantile="1"} 0
go_gc_duration_seconds_sum 0
go_gc_duration_seconds_count 0
# HELP go_goroutines Number of goroutines that currently exist.
# TYPE go_goroutines gauge
go_goroutines 12
# HELP go_memstats_alloc_bytes Number of bytes allocated and still in use.
# TYPE go_memstats_alloc_bytes gauge
go_memstats_alloc_bytes 1.741288e+06
# HELP go_memstats_alloc_bytes_total Total number of bytes allocated, even if freed.
# TYPE go_memstats_alloc_bytes_total counter
go_memstats_alloc_bytes_total 1.741288e+06
# HELP go_memstats_buck_hash_sys_bytes Number of bytes used by the profiling bucket hash table.
# TYPE go_memstats_buck_hash_sys_bytes gauge
go_memstats_buck_hash_sys_bytes 1.443154e+06
# HELP go_memstats_frees_total Total number of frees.
# TYPE go_memstats_frees_total counter
go_memstats_frees_total 524
# HELP go_memstats_gc_sys_bytes Number of bytes used for garbage collection system metadata.
# TYPE go_memstats_gc_sys_bytes gauge
go_memstats_gc_sys_bytes 229376
# HELP go_memstats_heap_alloc_bytes Number of heap bytes allocated and still in use.
# TYPE go_memstats_heap_alloc_bytes gauge
go_memstats_heap_alloc_bytes 1.741288e+06
# HELP go_memstats_heap_idle_bytes Number of heap bytes waiting to be used.
# TYPE go_memstats_heap_idle_bytes gauge
go_memstats_heap_idle_bytes 1.662976e+06
# HELP go_memstats_heap_inuse_bytes Number of heap bytes that are in use.
# TYPE go_memstats_heap_inuse_bytes gauge
go_memstats_heap_inuse_bytes 2.17088e+06
# HELP go_memstats_heap_objects Number of allocated objects.
# TYPE go_memstats_heap_objects gauge
go_memstats_heap_objects 7643
# HELP go_memstats_heap_released_bytes_total Total number of heap bytes released to OS.
# TYPE go_memstats_heap_released_bytes_total counter
go_memstats_heap_released_bytes_total 0
# HELP go_memstats_heap_sys_bytes Number of heap bytes obtained from system.
# TYPE go_memstats_heap_sys_bytes gauge
go_memstats_heap_sys_bytes 3.833856e+06
# HELP go_memstats_last_gc_time_seconds Number of seconds since 1970 of last garbage collection.
# TYPE go_memstats_last_gc_time_seconds gauge
go_memstats_last_gc_time_seconds 0
# HELP go_memstats_lookups_total Total number of pointer lookups.
# TYPE go_memstats_lookups_total counter
go_memstats_lookups_total 21
# HELP go_memstats_mallocs_total Total number of mallocs.
# TYPE go_memstats_mallocs_total counter
go_memstats_mallocs_total 8167
# HELP go_memstats_mcache_inuse_bytes Number of bytes in use by mcache structures.
# TYPE go_memstats_mcache_inuse_bytes gauge
go_memstats_mcache_inuse_bytes 2400
# HELP go_memstats_mcache_sys_bytes Number of bytes used for mcache structures obtained from system.
# TYPE go_memstats_mcache_sys_bytes gauge
go_memstats_mcache_sys_bytes 16384
# HELP go_memstats_mspan_inuse_bytes Number of bytes in use by mspan structures.
# TYPE go_memstats_mspan_inuse_bytes gauge
go_memstats_mspan_inuse_bytes 23200
# HELP go_memstats_mspan_sys_bytes Number of bytes used for mspan structures obtained from system.
# TYPE go_memstats_mspan_sys_bytes gauge
go_memstats_mspan_sys_bytes 32768
# HELP go_memstats_next_gc_bytes Number of heap bytes when next garbage collection will take place.
# TYPE go_memstats_next_gc_bytes gauge
go_memstats_next_gc_bytes 4.194304e+06
# HELP go_memstats_other_sys_bytes Number of bytes used for other system allocations.
# TYPE go_memstats_other_sys_bytes gauge
go_memstats_other_sys_bytes 807846
# HELP go_memstats_stack_inuse_bytes Number of bytes in use by the stack allocator.
# TYPE go_memstats_stack_inuse_bytes gauge
go_memstats_stack_inuse_bytes 1.409024e+06
# HELP go_memstats_stack_sys_bytes Number of bytes obtained from system for stack allocator.
# TYPE go_memstats_stack_sys_bytes gauge
go_memstats_stack_sys_bytes 1.409024e+06
# HELP go_memstats_sys_bytes Number of bytes obtained by system. Sum of all system allocations.
# TYPE go_memstats_sys_bytes gauge
go_memstats_sys_bytes 7.772408e+06
# HELP http_request_duration_microseconds The HTTP request latencies in microseconds.
# TYPE http_request_duration_microseconds summary
http_request_duration_microseconds{handler="prometheus",quantile="0.5"} 2109.832
http_request_duration_microseconds{handler="prometheus",quantile="0.9"} 2109.832
http_request_duration_microseconds{handler="prometheus",quantile="0.99"} 2109.832
http_request_duration_microseconds_sum{handler="prometheus"} 2109.832
http_request_duration_microseconds_count{handler="prometheus"} 1
# HELP http_request_size_bytes The HTTP request sizes in bytes.
# TYPE http_request_size_bytes summary
http_request_size_bytes{handler="prometheus",quantile="0.5"} 378
http_request_size_bytes{handler="prometheus",quantile="0.9"} 378
http_request_size_bytes{handler="prometheus",quantile="0.99"} 378
http_request_size_bytes_sum{handler="prometheus"} 378
http_request_size_bytes_count{handler="prometheus"} 1
# HELP http_requests_total Total number of HTTP requests made.
# TYPE http_requests_total counter
http_requests_total{code="200",handler="prometheus",method="get"} 1
# HELP http_response_size_bytes The HTTP response sizes in bytes.
# TYPE http_response_size_bytes summary
http_response_size_bytes{handler="prometheus",quantile="0.5"} 1261
http_response_size_bytes{handler="prometheus",quantile="0.9"} 1261
http_response_size_bytes{handler="prometheus",quantile="0.99"} 1261
http_response_size_bytes_sum{handler="prometheus"} 1261
http_response_size_bytes_count{handler="prometheus"} 1
# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.
# TYPE process_cpu_seconds_total counter
process_cpu_seconds_total 0
# HELP process_max_fds Maximum number of open file descriptors.
# TYPE process_max_fds gauge
process_max_fds 1024
# HELP process_open_fds Number of open file descriptors.
# TYPE process_open_fds gauge
process_open_fds 8
# HELP process_resident_memory_bytes Resident memory size in bytes.
# TYPE process_resident_memory_bytes gauge
process_resident_memory_bytes 4.93568e+06
# HELP process_start_time_seconds Start time of the process since unix epoch in seconds.
# TYPE process_start_time_seconds gauge
process_start_time_seconds 1.51755191825e+09
# HELP process_virtual_memory_bytes Virtual memory size in bytes.
# TYPE process_virtual_memory_bytes gauge
process_virtual_memory_bytes 1.28671744e+08

Example log file (remove section, if not applicable):
<IP_ADDRESS>---[02/Feb/2018:11:39:32 +0530]-GET /1.ts HTTP/1.1502173-Apache-HttpClient/4.5.3 (Java/1.8.0_161)rt=0.000uct=0.000 : 0.000uht=0.000 : 0.000urt=0.000 : 0.000
<IP_ADDRESS>---[02/Feb/2018:11:39:32 +0530]-GET /2.ts HTTP/1.1502173-Apache-HttpClient/4.5.3 (Java/1.8.0_161)rt=0.000uct=0.000 : 0.000uht=0.000 : 0.000urt=0.000 : 0.000
<IP_ADDRESS>---[02/Feb/2018:11:39:32 +0530]-GET /1.ts HTTP/1.1502173-Apache-HttpClient/4.5.3 (Java/1.8.0_161)rt=0.000uct=0.000 : 0.000uht=0.000 : 0.000urt=0.000 : 0.000
<IP_ADDRESS>---[02/Feb/2018:11:39:32 +0530]-GET /2.ts HTTP/1.1502173-Apache-HttpClient/4.5.3 (Java/1.8.0_161)rt=0.000uct=0.000 : 0.000uht=0.000 : 0.000urt=0.000 : 0.000
<IP_ADDRESS>---[02/Feb/2018:11:39:32 +0530]-GET /1.ts HTTP/1.1502173-Apache-HttpClient/4.5.3 (Java/1.8.0_161)rt=0.000uct=0.000 : 0.000uht=0.000 : 0.000urt=0.000 : 0.000
<IP_ADDRESS>---[02/Feb/2018:11:39:32 +0530]-GET /8.ts HTTP/1.1502173-Apache-HttpClient/4.5.3 (Java/1.8.0_161)rt=0.000uct=0.000 : 0.000uht=0.000 : 0.000urt=0.000 : 0.000

Environment:

Exporter version:
OS (e.g. from /etc/os-release): centos 7
Others:

If I've understood your question correctly, you have started the exporter, but it is not exporting any of the application-specific metrics it's supposed to export. Is that correct?
I've compiled a list of common causes for this issue in the FAQ:

This may have several issues:

Make sure that the access log files that your exporter is listening on are present. The exporter will exit with an error code if a file is present but cannot be opened (for example, due to bad permissions), but will wait for a file if it does not yet exist.

Make sure that the exporter can parse the lines from your access log files. Pay attention to the <namespace>_parse_errors_total metric, which will indicate how many log lines could not be parsed.

Please check if one of these might be the cause for your issue.

Thanks for your reply.
Yes it is not exporting the metrics. Please find the attached Nginx configuration file(Nginx.conf), log file from which I am trying to get the metrics and the config.hcl file for prometheus-nginxlog-exporter.
Please also find the metrics I am getting attached.
Can you please let me know where I am going wrong?
Thanks & Regards,
Kunal
From: Martin Helmich<EMAIL_ADDRESS>Sent: Friday, February 02, 2018 5:36 PM
To: martin-helmich/prometheus-nginxlog-exporter
Cc: kunaldas1; Author
Subject: Re: [martin-helmich/prometheus-nginxlog-exporter] Not able to understand the metrics information (#32)
If I've understood your question correctly, you have started the exporter, but it is not exporting any of the application-specific metrics it's supposed to export. Is that correct?
I've compiled a list of common causes for this issue in the FAQ https://github.com/martin-helmich/prometheus-nginxlog-exporter#frequently-asked-questions :
This may have several issues:

 Make sure that the access log files that your exporter is listening on are present. The exporter will exit with an error code if a file is present but cannot be opened (for example, due to bad permissions), but will wait for a file if it does not yet exist.

 Make sure that the exporter can parse the lines from your access log files. Pay attention to the <namespace>_parse_errors_total metric, which will indicate how many log lines could not be parsed.

Please check if one of these might be the cause for your issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/martin-helmich/prometheus-nginxlog-exporter/issues/32#issuecomment-362569208 , or mute the thread https://github.com/notifications/unsubscribe-auth/Ah4LGUANZk0jpylSzN0A4CCgUBp6HOJtks5tQvoLgaJpZM4R2utO .  https://github.com/notifications/beacon/Ah4LGfQ0hZuD3cZt9k02S24yZAQ4_OvZks5tQvoLgaJpZM4R2utO.gif

Hi,
Can you please help me out.
Thanks & Regards,
Kunal
From: Kunal Das<EMAIL_ADDRESS>Sent: Monday, February 05, 2018 1:04 PM
To: 'martin-helmich/prometheus-nginxlog-exporter'; 'martin-helmich/prometheus-nginxlog-exporter'
Cc: 'Author'
Subject: RE: [martin-helmich/prometheus-nginxlog-exporter] Not able to understand the metrics information (#32)
Thanks for your reply.
Yes it is not exporting the metrics. Please find the attached Nginx configuration file(Nginx.conf), log file from which I am trying to get the metrics and the config.hcl file for prometheus-nginxlog-exporter.
Please also find the metrics I am getting attached.
Can you please let me know where I am going wrong?
Thanks & Regards,
Kunal
From: Martin Helmich<EMAIL_ADDRESS>Sent: Friday, February 02, 2018 5:36 PM
To: martin-helmich/prometheus-nginxlog-exporter
Cc: kunaldas1; Author
Subject: Re: [martin-helmich/prometheus-nginxlog-exporter] Not able to understand the metrics information (#32)
If I've understood your question correctly, you have started the exporter, but it is not exporting any of the application-specific metrics it's supposed to export. Is that correct?
I've compiled a list of common causes for this issue in the FAQ https://github.com/martin-helmich/prometheus-nginxlog-exporter#frequently-asked-questions :
This may have several issues:

 Make sure that the access log files that your exporter is listening on are present. The exporter will exit with an error code if a file is present but cannot be opened (for example, due to bad permissions), but will wait for a file if it does not yet exist.

 Make sure that the exporter can parse the lines from your access log files. Pay attention to the <namespace>_parse_errors_total metric, which will indicate how many log lines could not be parsed.

Please check if one of these might be the cause for your issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/martin-helmich/prometheus-nginxlog-exporter/issues/32#issuecomment-362569208 , or mute the thread https://github.com/notifications/unsubscribe-auth/Ah4LGUANZk0jpylSzN0A4CCgUBp6HOJtks5tQvoLgaJpZM4R2utO .  https://github.com/notifications/beacon/Ah4LGfQ0hZuD3cZt9k02S24yZAQ4_OvZks5tQvoLgaJpZM4R2utO.gif

I'll re-iterate my previous statement:

Make sure that the exporter can parse the lines from your access log files. Pay attention to the <namespace>_parse_errors_total metric, which will indicate how many log lines could not be parsed.

From a quick glance, this is the exact issue in your case. The access log format that you have configured in the exporter's config file does not match the format of your actual log file.

Configured format: $remote_addr - $upstream_cache_status - [$time_local] - $request $status $body_bytes_sent $http_referer $http_user_agent rt=$request_time uct=$upstream_connect_time uht=$upstream_header_time urt=$upstream_response_time
Actual format: <IP_ADDRESS>---[02/Feb/2018:11:39:32 +0530]-GET /1.ts HTTP/1.1502173-Apache-HttpClient/4.5.3 (Java/1.8.0_161)rt=0.000uct=0.000 : 0.000uht=0.000 : 0.000urt=0.000 : 0.000


Download of multi-page HTML?

The download HTML option offers a zip file containing a single HTML file with the full contents of the docs. Is there a way to get a zip file with multiple independent pages (the same structure that RTD serves)? The single-page version is a bit unwieldy for larger documentation. Python's own Sphinx docs are available for download as multi-page HTML.
It sounds from the description like PR #675 switched HTML downloads away from multi-page, but don't know if I've understood that correctly.

There isn't an option to download the docs as no-singlehtml, and yeah, this looks like a good feature for the rtd configuration file.

Just linking to another opinion why this would be important https://github.com/rtfd/readthedocs.org/issues/4190

Still quite interested in having this feature, we get lots of requests for offline docs for Godot and with such a massive project (750K words today as per wc -w $(find -name "*.rst")), the singlehtml target simply isn't practical (and EPUB/PDF hardly either).
Until then:

... it should be possible to use the StandaloneHTMLBuilder. But how to configure the conf.py in the right way?

Would there be a workaround we can code to upload a self-built StandaloneHTML Zip and have it exposed in the ReadTheDocs UI?

Sorry, no work around currently

Another bump on this? Our docs consist of 1000+ pages and can crash some browsers (weak machines with 2GB ram) when loading the singlepage version...

RTD builds the local media with the builder readthedocssinglehtmllocalmedia which is defined at https://github.com/readthedocs/readthedocs-sphinx-ext/blob/master/readthedocs_ext/readthedocs.py#L369-L378.
To change the behavior of this builder, a new builder with the same name can be registered with Sphinx overriding the one RTD defines.
https://github.com/wpilibsuite/frc-docs/commit/dc238f04e23a656be7ef22a22b905c8e10040020 is an example of this.
Creating a local extension with
from sphinx.builders.html import StandaloneHTMLBuilder

class ReadtheDocsBuilderLocalMedia(StandaloneHTMLBuilder):
    name = "readthedocssinglehtmllocalmedia"

def setup(app):
    app.add_builder(ReadtheDocsBuilderLocalMedia, override=True)

changes the zip to build using StandaloneHTMLBuilder. As long as the builder's name is readthedocssinglehtmllocalmedia, it will override.

Thanks for sharing your solution @TheTripleV !

Hello 👋🏼 We standardized the output paths for all the formats that Read the Docs supports in https://github.com/readthedocs/readthedocs.org/pull/9888. This allow people to output, for example, a HTMLZip under _readthedocs/htmlzip/<project-slug>.zip to be recognized by Read the Docs and expose it as a downloadable content (docs.readthedocs.io/en/stable/downloadable-documentation.html) 💯
There is no more need to override a Sphinx builder as mentioned in https://github.com/readthedocs/readthedocs.org/issues/3242#issuecomment-1019653037 anymore. You can build the .zip file as you wish (e.g. using Zunlder) and just outputting the resulting file at _readthedocs/htmlzip/<project-slug>.zip
I created an example that builds a single HTML file using StandaloneHTMLBuilder and zips it to be considered as "Downloadable documentation" by Read the Docs and expose it in the flyout:

Documentation: https://test-builds.readthedocs.io/en/sphinx-multipage-html/
Repository: https://github.com/readthedocs/test-builds/tree/sphinx-multipage-html

I'm closing this issue since I think the problem is solved. However, feel free to share any feedback here or re-open if you consider.

I think my initial request back in 2017 was more for this to be available for any docs - I was wanting to download multi-page docs for projects that I don't control. But most of the other comments on this issue seem to be from people who want to enable it for their own projects, so it's probably reasonable to close it.


Jumpy scrolling for horizontal scrollbar

I'm implementing a horizontal scrollbar for an iframe. I got this issue in Firefox 31.0/Ubuntu 12.04.
When the mouse goes out of scroll rail, the scrolling stops and jump to the position when the mouse comes back to scroll rail. How to fix this issue?

Maybe related to #98 and #210.  Basically Firefox doesn't propagate the wheel event from iframe to its container, according to this bugzilla thread. It seems that they don't have any plan to update in the near future. Now sure if the plugin should handle this as it's quite tricky to implement what a browser doesn't support natively.
Sorry for the inconvenience and the late response.


Add a maxValue and minValue to int

I would like to request adding constant values to int called (for instance) maxValue and minValue that represent the largest and smallest valid integers.
It would be helpful to be able to ask the Dart runtime the largest (and smallest) number an int can represent, since it depends on the platform that it is running on.
For instance, if I wanted to write an integer constraint class similar to Flutter's BoxConstraints, I wouldn't know what to pass for an unconstrained value (the way it passes double.infinity). Same thing if I want to write generic logic that uses an integer min or max function where I sometimes want it unbounded (or as unbounded as a limited precision int can be).
Sure, I can use num, but then I'm not really using integers all the time, and it would be nice to know that I can stick to precise values.

The values would be -0x8000000000000000 and 0x7fffffffffffffff for native code and -double.infinity and double.infinity for JS compiled code. Those are the minimal and maximal values allowed by the int type on those platforms.
I don't recommend representing "no limit" with an actual limit. I'd rather use null for that, and then have helper functions like:
int? maybeMin(int? value1, int? value2) =>
   (value1 != null && (value2 == null || value2 > value1)) ? value1 : value2;

If you want the limits, they are easily defined:
final int maxInt = (double.infinity is int) ? double.infinity as int : ~minInt;
final int minInt = (double.infinity is int) ? -double.infinity as int : (-1 << 63);

Well, but using the actual limits in the double case is so nice and understandable.  Here's a clamp function with optional limits, for instance:
double clamp(
  double value, {
  double min = -double.infinity,
  double max = double.infinity,
}) => value.clamp(min, max);

It's trivial to understand that the defaults indicate that the call is unbounded by default.
As for using null for "no limit", what if I also need to represent a negative "no limit" as above? And null is also overloaded with "didn't provide a value" in many cases.
Thanks for those definitions, however, they could be helpful. They're pretty non-obvious though: It wouldn't occur to me that a double.infinity would ever be an int, seeing as how it starts off as a double.
Could those expressions be const, or would they not work correctly in all cases?

The values would be -0x8000000000000000 and 0x7fffffffffffffff for native code and -double.infinity and double.infinity for JS compiled code. Those are the minimal and maximal values allowed by the int type on those platforms.

While technically correct that the "maximum" and "minimum" values would be double.infinity and -double.infinity for JavaScript code, what most people want are constants for (2^53 - 1) and (-2^53 + 1): the limits at which ints stop behaving like typical ints and might no longer be exact.

What limit you want depends on what you are going to use it for.
A min or max function default value could reasonably use infinity.
A limit to avoid loss of precision makes more sense when you want to iterate.
The "limit of representability" can be 2^53 or 2^53 - 1. Both are exactly representable as doubles, and so are all lower positive integers. The first unrepresentable integer is 2^53 +1.
I guess the reason for picking the (arguably too small) 2^53-1 as "limit" is that
for (var i = 0; i < limit; i++) { ... }

will terminate. If you use 2^53, then it won't.

TL;DR:  Use double.maxFinite rather than double.infinity.
It is the largest value you can do arithmetic on and get a useful result.
There is another definition of what it means to be an integer, given by the JavaScript Number.isInteger predicate. This excludes infinities.
We are considering adopting this definition:

It is better aligned with JavaScript
Number.isInteger is specially implemented / understood by the JavaScript engines (V8's Number.isInteger(x) is faster than our current x is int test).

Adopting that definition would mean that + is not closed on int. I'm not sure that this is a problem, since you have to go far outside compatibility with the VM to get an infinity. I suspect you are much more likely to experience inconsistent rounding from a temporary excursion outside the 253 range. You can also get NaN from integer arithmetic on the web if you try hard enough and we ignore that. The infinities are mostly sticky. If we really valued mathematical consistency we would not have adopted 64-bit ints on the VM.
@lrnn It is difficult to correctly use limits. The loop with terminate for either bound, unless you pick 253 and use <=. One generally tests an inclusive limit with <=, but testing against the limit is broken on the VM too, since 0x7fffffffffffffff + 1 < 0, or said differently, anInt <= 0x7fffffffffffffff is always true.
There are many 'maximum' values. Should we have a constant for each use case?

The value x for which there is no other value y such that x < y.
The greatest value x for which x < x + 1 (0x7ffffffffffffffe on the VM).
The number of bits that work with bitwise operations.

One way to write portable code is to provide values that characterize the platform and let the developer use these values to write code that is correct under the parameterization. This can be hard work, since limits are hard to use a parameterized program is really two programs.
Another way to write portable code is write code works correctly on all platforms, i.e. a lowest common denominator approach.
Should we provide constants and predicates to support both approaches?

Oh, I didn't know about double.maxFinite, that seems useful.
Looks like that is defined as 1.7976931348623157e+308, however which means it's well outside the "accurate" (253) integers on the web.
I resonate with @jamesderlin's comment above, because I think that's what I'm wanting more often out of an int limit than the "infinity" case.
It depends a lot on what you're using ints for, but for many of those use cases, if a double was good enough, I probably would use a double. Since the reason I'm using an int is that a double isn't good enough, I probably don't want to stray outside of the range where it causes problems that it's represented as a double on the web. Since that range is different on different platforms, if I want to write code sensitive to those limits, it would be nice to be able to just refer to an sdk-defined constant so that I know that the SDK has my back and will give me the right values, even if I start running on a new platform or compiler/language spec version.

I wish I had access to max32Float because that's what Skia uses and I can't clampDouble without that value.

const maxFloat32 = 3.4028234663852886e+38;

There are lots of interesting values, as float-64 and float-32.
Here's a handful of the ones I usually try to use in tests, for coverage.
/// Numerically smallest non-zero 64-bit float value.
const float64MinPositive = 5e-324;
/// Largest positive denormal 64-bit float value.
const float64MaxDenormal = 2.225073858507201e-308;
/// Smallest positive normal (non-denormal) 64-bit float value.
const float64MinNormal = 2.2250738585072014e-308;
/// Largest 64-bit float value below 1.0.
const float64MaxFraction = 0.9999999999999999;
/// Largest non-integer 64-bit float value.
const float64MaxNonInteger =<PHONE_NUMBER>370495.5;
/// Largest exact 64-bit float integer value.
///
/// The largest integer 64-bit float where all smaller integers
/// are also 64-bit floats.
/// All larger doubles represent ranges larger than one integer.
const float64MaxExactInteger =<PHONE_NUMBER>740992.0;
/// Largest finite 64-bit float value.
const float64MaxFinite = 1.7976931348623157e+308;
/// Positive infinity.
const float64Infinity = 1.0 / 0.0;
/// Not a number
const float64NaN = 0.0 / 0.0;
/// A round trap 64-bit float value at the edge of the precision of 1.0.
///
/// A "Round Trap" is a number where rounding to nearest by adding 0.5 and
/// rounding towards zero will not give the correct result.
const float64RoundTrap1 = 0.49999999999999994;
/// A round trap 64-bit float value at the edge of non-integer values.
///
/// A "Round Trap" is a number where rounding to nearest by adding 0.5 and
/// rounding towards zero will not give the correct result.
const float64RoundTrap2 =<PHONE_NUMBER>370497.0
/// A round trap 64-bit float value at the edge of the exact integers
///
/// A "Round Trap" is a number where rounding to nearest by adding 0.5 and
/// rounding towards zero will not give the correct result.
const float64RoundTrap3 =<PHONE_NUMBER>740991.0;

/// Numerically smallest non-zero 32-bit float value.
const float32MinPositive = 1.401298464324817e-45;
/// Largest positive denormal 32-bit float value.
const float32MaxDenormal = 1.1754942106924411e-38;
/// Smallest positive normal (non-denormal) 32-bit float value.
const float32MinNormal = 1.1754943508222875e-38;
/// Largest 32-bit float value below 1.0.
const float32MaxFraction = 0.9999999403953552;
/// Largest non-integer 32-bit float value.
const float32MaxNonInteger = 8388607.5;
/// Largest exact 32-bit float integer value.
///
/// The largest integer 32-bit float where all smaller integers
/// are also 32-bit floats.
/// All larger doubles represent ranges larger than one integer.
const float32MaxExactInteger = 16777216.0;
/// Largest finite 32-bit float value.
const float32MaxFinite = 3.4028234663852886e+38;
/// Positive infinity.
const float32Infinity = 1.0 / 0.0;
/// Not a number
const float32NaN = 0.0 / 0.0;
/// A round trap 32-bit float value at the edge of the precision of 1.0.
///
/// A "Round Trap" is a number where rounding to nearest by adding 0.5 and
/// rounding towards zero will not give the correct result.
const float32RoundTrap1 = 0.9999999403953552;
/// A round trap 32-bit float value at the edge of non-integer values.
///
/// A "Round Trap" is a number where rounding to nearest by adding 0.5 and
/// rounding towards zero will not give the correct result.
const float32RoundTrap2 = 8388609.0
/// A round trap 32-bit float value at the edge of the exact integers
///
/// A "Round Trap" is a number where rounding to nearest by adding 0.5 and
/// rounding towards zero will not give the correct result.
const float32RoundTrap3 = 16777215.0;


About Page projects section improved,

closes #925

Card design improved
card alignment fixed
card borders added
section made responsive
background gradient added
chatbot integration added to this page

BEFORE

AFTER

please resolve conflitcs

Please check now


Update munit, munit-scalacheck to 1.0.0-M10

About this PR
📦 Updates

org.scalameta:munit
org.scalameta:munit-scalacheck

from 1.0.0-M7 to 1.0.0-M10
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scalameta" }
}]

labels: test-library-update, early-semver-pre-release, semver-spec-pre-release, commit-count:1

Superseded by #234.


Essentia inside a tank is not rendered on Fabulous settings

When graphics settings are set to Fabulous (new to 1.16), essentia is not visible in Essentia Tanks, causing them to appear empty no matter what.

Fixed in 1.0-rc1.


Use  for CAM16-JMh and HCT

According to this issue color spaces that aren't part the CSS spec should be using a dashed-ident.
CAM16-JMh and HCT haven't been part of an official release so it's probably safe to change to a dashed-ident before doing a release.

I’m tending to agree. We should probably parse <dashed-ident> versions of native color spaces too in Color.js; this ensures that if a color space is "upgraded" to native, existing code continues to work.
@facelessuser @svgeesus thoughts?


Job cancellation

I'm investigating using this package in a project that would require the ability to cancel queued jobs. In particular, I would like to be able to:

Cancel a specific job by its ID whether it is queued or already picked
Have a mechanism for the consumer of a job to detect its cancellation and short circuit ongoing work
See that a job was cancelled in the statistics table

Is this a feature that would be in scope to support? If so, I'd be interested in getting your approval on a design and supplying a PR.

@colingavin Moved to the discussion 'borad'.
Its a feature that has been requested a few times, and im open to all the help i can get. But my vision for pgqueuer is to keep this library slim and easy to maintain, but yet useful.  I have an suggestion below, my main concern is that i think its a bad idea to just invoke the .cancel() method on running tasks to be canceled as it feels like the risk of getting into a bad state is high.
The simplest way i can think of is to introduce a 'checkpoint object (co)', the checkpoint object will be know if the a current job id should be canceled. Leaving up to the specific entrypoint function to know at what points its 'safe' to be canceled.


FIX-#3420: fix cloud examples

Signed-off-by: Myachev<EMAIL_ADDRESS>
What do these changes do?

[ ] commit message follows format outlined here
[ ] passes flake8 modin
[ ] passes black --check modin
[ ] signed commit with git commit -s
[x] Resolves #3420
[ ] tests added and passing
[ ] module layout described at docs/developer/architecture.rst is up-to-date

Faced with new problem: FileNotFoundError: modin-datasets/trips_data.csv

Faced with new problem: FileNotFoundError: modin-datasets/trips_data.csv

Dataset for taxi was be uploaded. Need check.

Please split the PR at least in two - one fixing issues with "modin in the cloud" itself and another fixing the examples.

Please take a look on https://github.com/modin-project/modin/pull/3564


typeahead options show 'undefined'

I have a project with angular 1.3.15 and I just added angular-bootstrap 0.13.4
did a simple use of typehead and saw that all options show 'undefined'
debugging it a bit, it seems that template typeahead-match.html expects object with label field, but instead gets model which has label inside.
what am I doing wrong?

what am I doing wrong?

No idea. Send a plunk so we can try to help you: https://github.com/angular-ui/bootstrap/blob/master/CONTRIBUTING.md#you-think-youve-found-a-bug
You can fork one of our demo page.

sure thing
http://plnkr.co/edit/PNLruPFH1ruFNtI1IECg?p=preview

Please, use stackoverflow for questions. This is not an issue, you're just using the typeahead wrong. Try with apps for apps in yourFunction(). That should work.

now I see it, thanks. drove me nuts. SO next time.. sure thing.


⚠ Bofrost.fr has degraded performance

In c39b941, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1104 ms

Resolved: Bofrost.fr performance has improved in f8932eb after 7 minutes.


[change] Replace currying with prep. Add uniqueness check to stores

Fixes #5 and #6.
The big change here is the removal of automatic currying of actions sent into an app. This was super neat, but too novel. I was quickly confused when a callback wasn't firing (I was expecting the default argument of the action to be respected).
In light of this, I've replaced this functionality with an app.prepare function. This partially applies an action, which is really what I wanted in the first place.

Additionally, Microcosm will now throw an error if a Store does not stringify to a unique name.

Coverage remained the same at 100.0% when pulling 8823ca2306fce8f5909b2cb513d85f5a751dca6f on dev-2.0.0 into 2ad988dd9d97b544c6b9994cb8934bd8c7f9158e on master.

:heart: :+1:

Coverage remained the same at 100.0% when pulling 12f228bd0de87d1dcdf56d0890c4a4f745a44232 on dev-2.0.0 into 2ad988dd9d97b544c6b9994cb8934bd8c7f9158e on master.

:+1:


Package Names

hey,
could you please use not the HotChocolate.* names for your packages, this starts interfering with our own work and blocks us from extending the core framework. Moreover, it confuses users that want to consume packages from the core project.
we are in talks with the nuget team to block the packages but would like you to publish your packages under a different name.
Further, you can list your extensions with our project as community extensions so you get more traction.

No problem, I understand! My apologies, I meant no interference, only to help them be identifiable.
I will change the names and pull the existing ones offline ASAP.
Thanks for understanding and letting me know!

OK, I've Unlisted, and Deprecated all existing packages.  I updated my Repo & Package names to simply use GraphQL prefix now and republished.  I hope this resolves any issues you may have experienced!  Thanks for the awesome work you all have done with HotChocolate!

@michaelstaib let me know what I can do to get these listed as community extensions -- I think they may really help others out with similar use-cases.  Thanks :-)

Thanks for your quick action on this...
do a PR here:
https://github.com/ChilliCream/hotchocolate/blob/main/COMMUNITY.md
we will also list them on the website and direct people to them once we have released version 11


Added wavelength to pixel and pixel to wavelength conversion functions

for the apStar and aspcapStar wavegrids

I tested this for the apStarWavegrid=True setting and am getting the following relation:
pixs= numpy.arange(8575)
wavs= pix2wv(pixs,apStarWavegrid=True)

and am getting this:

which I don't think is correct (but maybe would be correct if the x-axis were reversed?). pix2wv with the ASPCAP grid seems to do the same:

The other way around wv2pix also seems to reverse the pixels, so perhaps this is just a matter of the definition of pixel.

I've updated the code to reflect the appropriate definition for pixel, I think I was still going on http://www.sdss.org/dr12/irspec/spectra/ which had me doing things in reverse.

This all looks good and seems to pass my basic tests. I left some minor comments, but after that I think it's ready to merge.

Thanks for the changes, I'll merge this in. I guess we should add some documentation of these in the README as well at some point (although the documentation in the README is getting somewhat out of hand...)


Make a update! I have an idea:3

add gommehd rank checker i cant add it because its like gommehd.net/users/USER.randomid?
And Dont save the accounts into Unsecured/Secured if they got Any rank at hypixel
would appreciate it if you would do it

Did it in 0.2


Extending from Error not supported

Seems like this module should also support custom errors that are extended from the Error object.  Is there a reason this is not supported?  Seems like this would do the trick:
function isError(err) {
    return objectToString.call(err) === ERROR_TYPE || typeof Error !== 'undefined' ? err instanceof Error  false;
}

If you like this change I will submit a PR.  Otherwise I will probably for this module.

Sorry, copy and pasting our of vim sometimes screws up:
function isError(err) {
    return objectToString.call(err) === ERROR_TYPE || typeof Error !== 'undefined' ? err instanceof Error false;
}

So for some reason i thought that in some old IE instanceof Error didn't work.  But I guess it does, which makes this simpler:
return objectToString.call(err) === ERROR_TYPE || err instanceof Error;

@wesleytodd we loop through the prototype chain so it should work!
have you tried updating to the latest version?

Hmmm, it was a fresh install from yesterday.  Looking at the code on github it should work, and it totally different than the code npm gave me.  Ill look into it.  Thanks!

Ok, anyone got an explanation for this?  Lol, npm messing up?

@wesleytodd looks like<EMAIL_ADDRESS>was never published. I just published it. Sorry!

Haha, well I just assumed that 2.0 was your new version.  Thanks!!


InvalidArgumentException: Extends must be a string or a PhpClass instance

$class = new PhpClass('Foo', false, '\\DOMDocument');

generates an error such as:
InvalidArgumentException: Extends must be a string or a PhpClass instance

This is wrong, we should be able to extends from a namespaced class

Fixed in https://github.com/WsdlToPhp/PhpGenerator/commit/70698266da3732761a9912ae9625bef2ebdbb9cb


GPO information is too old.

We have to refer to https://docs.microsoft.com/en-us/azure/active-directory/devices/hybrid-azuread-join-control.

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

#sign-off


Improve chat context eval runner

Previously, cody internal bench when running the chat-context strategy would emit an output.csv file. This was fine for a standalone eval run, but there was no way to easily compare results across different eval runs.
Update the chat-context strategy to do the following:

Emit an output CSV whose name incorporates the following:

The input file name
The product version of the Sourcegraph instance run against

Emits an output YAML file with the following metadata:

timestamp
Sourcegraph instance URL
Sourcegraph username and id of the access token used
evaluated feature flags returned for that user on that instance

Outputs from multiple runs will be displayed in the next version of cody-leaderboard-private.
Test plan
Run
pnpm -C agent agent:skip-root-build internal bench --evaluation-config path/to/cody-leaderboard-private/chat-context-bench-v2.json --src-endpoint https://sourcegraph.sourcegraph.com --src-access-token $ACCESS_TOKEN

‼ Hey @sourcegraph/cody-security, please review this PR carefully as it introduces the usage of an unsafe_ function or abuses PromptString.

This was okay, because the unsafe reference is taken from the cody internal bench command.


ChangeFeed Diagnostics broken in PR #1933

The ChangeFeed diagnostic tests were ignored in the following PR. The tests still fail. This has already shipped in the latest SDK. If the diagnostics is completely broken then troubleshooting ChangeFeed issues will not be possible.
https://github.com/Azure/azure-cosmos-dotnet-v3/pull/1933/files#r508043182

This looks to be resolved with the ITrace PR:
https://github.com/Azure/azure-cosmos-dotnet-v3/pull/2097


Filter Bar: Move "Add/Edit Filters" to the Gear Icon

Requirements:

On both horizontal and vertical orientation dashboard filters, remove the blue "+ Add/Edit Filters" button
In the settings icon (on both orientations), add "Add or edit filters" to the top of the menu (note the copy change from current and note the capitalization)
Add a divider to separate the "Add or edit filters" button from the rest of the current menu (same type of divider that is used above the "Orientation of filter bar" option)
New "Add or edit filters" button should open the same menu that the current button opens

/assign

hey @yousoph !! I would love to work on this issue

Just thinking here about how to make the UX a little simpler... not that we need another project. But, just to say it out loud in case @kasiazjc thinks it's a good idea for a rainy day:
Tha add/edit filters modal has always bothered me... from the button/menu in the top, to the fact that I accidentally overwrite filters instead of adding them, ALL THE TIME.
I wonder if we could fix that by just having "Add Filter" appear in the gear menu. Then add "Edit" icons when you hover over each existing filter. The Add modal and the Edit modal would essentially be the same UI, aside from a "delete" button when editing.
If I'm not mistaken, this would actually let us chop out a fair bit of code/logic in that modal. We'd just need to make them re-arrangeable in the dashboard setting, which kind of makes sense to me if (a) that's where all the dragg/drop stuff happens anyway, and (b) we might make it so you can drag them into the dashboard one day.

I am interested in taking this one


Logout link not working on sample tonr2 index.jsp

it should contains csrf token
below codes are working well
<form action="${base}logout" method="post" role="form">
			<fieldset>
				<button class="btn btn-primary" type="submit">Logout</button>
				<input type="hidden" name="${_csrf.parameterName}"
					value="${_csrf.token}" />
			</fieldset>
</form>

Thanks for the report @SeonghakJeong. This is now merged to master.


Refresh service previews

When form data is saved, and one is back to the dashboard, if I click on the arrow to see the data that is changed, I dont see it unless I refresh the entire page. An example would be description or name.

Fixed


Continues rotating when takeoff at low speed

I have successfully implemented the whole system following the wiki with vicon.
When I take off using Poses mode or Polynomial trajectory with a higher speed, everything seems perfect. However, when I try to take off at low speed, say I set the intermediate point separation at 0.01, it takes off slowly, but somehow begin to rotate continuously. I check the current_reference and roll_pitch_yawrate_thrust topics, the reference yaw is right and not changing, but the yawrate given by nMPC have a constant 1.5 value, then gradually decease to 0, then constant 1.5 again. If I turn the serial switch off and on again, it can go back to normal and stop rotating, but even this trick doesn't always work.
Any ideas of why this is happening and possible solutions?
Thanks!

Hello fx815,
Great to hear that you managed to make your drone work!
Did you send trajectories or a goal point via rqt topic publisher? If you haven't tested the latter, I recommend to test it (let's say sending 0, 0, 0.5 for x, y, z and leave rotation 0 0 0 1 ), as described in https://github.com/ethz-asl/mav_dji_ros_interface/wiki/First-Autonomous-Flight%3A-Hover-and-Step-Response.
If step response test works as expected (no rotating), then there may be some issues with the Polynomial trajectory publisher. Otherwise, some issues in the nMPC or other places.
Best,
Inkyu

Hi Inkyu,
I did try that before, and it worked. I suspect the rotating has something to do with the nmpc or disturbance observer. The drone I used was basically overloaded, it's quite heavy, plus the ground effect, I think it's quite hard for nmpc to control it takeoff as a low speed,say 1cm/s. When the drone is supposed to be off ground, the landing gear may still touch the ground, which may mess up the disturbance observer or nmpc somehow? The polynomial and poses topics are correct but the rollpitchyawratethrust topic given by nmpc has abnormal yaw rate values.
What do you think?
Best,
Feng


Can VLD be converted to PHP code directly? If you can, please tell me how

Can VLD be converted to PHP code directly? If you can, please tell me how

No, it can not.


Try finding full path component before the parsed path component name

Bug/issue #, if applicable: rdar://101212257
Summary
This fixes an issue in the hierarchy based link resolver where articles with file names that resemble a disambiguated symbol name—for a symbol that exist in the local context—would fail to resolve.
Dependencies
n/a
Testing
In any documentation project a DocC catalog and at least one symbol.

Enable the hierarchy based link resolver

defaults write -g DocCUseHierarchyBasedLinkResolver -bool true

Add an article with a file name that's follows this pattern: NameOfSymbol-abcd.md
Add a link to <doc:NameOfSymbol-abcd>

The link should resolve to the added article
Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[x] Added tests
[x] Ran the ./bin/test script and it succeeded
[x] Updated documentation if necessary

@swift-ci please test

@swift-ci please test

The failing Linux build looks like its caused by https://github.com/apple/swift/issues/62671

@swift-ci please test Linux


Copy-DbaQueryStore - updates from @Evdlaar

Oops, mixed in some encoding fixes by accident but it was a bunch of work and didn't want to undo commit. Approving.


Question/improvements

Hi,
Nice plugin ! I ask me why a very useful method like "content()" or "setContent()" doesn't exist ?
It wiil be very interesting if you implement an option to load external content in AJAX (This would expand the flexibility of your plugin !) and moreover, why not, display a pretty loading animation during loading like this very nice plugin for example (which let do many more things except the hash tracking) => link.
And if you are very motivated, implement an option to allow to set a timeout delay ([link] (http://craftpip.github.io/jquery-confirm/#autoclose)) ?

I ask me why a very useful method like "content()" or "setContent()" doesn't exist ?

They are absolutely unnecessary. Аnalogy: $('[data-remodal-id=modal]').html(content);

It wiil be very interesting if you implement an option to load external content in AJAX (This would expand the flexibility of your plugin !)

I don't think so. Unnecessary too. It is easy to implement. Analog:
$.get('path/to/data', function(data) {
  $('#container-id-in-modal').html(data);
});

And if you are very motivated, implement an option to allow to set a timeout delay (link) ?
#83

why not, display a pretty loading animation during loading like this very nice plugin for example (which let do many more things except the hash tracking) => link.

Same answer as above.

Hi,
Yes, the method to change content is not very useful because the plugin need any repositioning with JS. The CSS do all (inline-block with a vertical align middle) I haven't seen that before to suggest this.
When is planned the new release with autoclose option ?
Thanks

I agree with this opinion: https://github.com/VodkaBears/Remodal/issues/83#issuecomment-107424389


Remove Recovery.Notification.Password.Enable config and use sms otp a…

Purpose
The SMS OTP For Password Recovery Feature replaces the existing governance config Recovery.Notification.Password.Enable config with Recovery.Notification.Password.emailLink.Enable and Recovery.Notification.Password.smsOtp.Enable.  This change causes integration test failures since some of the integration tests depends on this former governance config. This PR removes this dependency and introduces the newly added configs.
Local Run (100%)
Note : The failed test case in the initial run is rerun and succeeds in the second run.
https://github.com/wso2/product-is/assets/42939752/42d87317-24cf-4094-8175-5cd538faf20c
Related Issue
https://github.com/wso2-enterprise/iam-engineering/issues/534
Related PRs
https://github.com/wso2-extensions/identity-governance/pull/814
https://github.com/wso2/carbon-identity-framework/pull/5601

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/9078408796

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/9078408796
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/9081550671

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/9081550671
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/9081550671

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/9081550671
Status: success


Enable custom conda virtual environment visible in containerization-argo stage during workflow building

One issue with using a custom conda environment is that it doesn't work well in containerization mode. For example, with a conda environment called lter-life-wadden and the following listing:
import sys, os
homepath = os.path.expanduser("~")
sys.path.append(homepath)

# cell-1
path_sys = sys.path

# cell-2
more_path = [path_sys, "/app/more"]
print(more_path)

I see the following system path where all libraries and binaries are located:
[['/opt/conda/envs/lter-life-wadden/lib/python3.11/lib-dynload', '', '/opt/conda/envs/lter-life-wadden/lib/python3.11/site-packages', '/home/jovyan', '/app/', '/app/'], '/app/more']

Now that works fine for interactive usage. But as soon as the cells are containerized even after specifying the exact base image lter-life-wadden to use during the containerization process, the result list of library/binary and system path is the following in argo logs:
Namespace(id='e319017', more_path='[["/app", "/venv/lib/python311.zip", "/venv/lib/python3.11", "/venv/lib/python3.11/lib-dynload", "/
venv/lib/python3.11/site-packages"], "/app/more"]')
[['/app', '/venv/lib/python311.zip', '/venv/lib/python3.11', '/venv/lib/python3.11/lib-dynload', '/venv/lib/python3.11/site-packages']
, '/app/more']

This look like there are two different system search paths for environment in place here. One for the interactive work and another for the dockerization work. This is not an issue if I want to only use library already installed in the /ven/lib/ but an issue if I need packages not installed there. Ideally, we would want both system paths to be the same (and more importantly, the user's defined sys.path). This will make it possible for user specific environment in the workflow building pipeline.

Hi @stanleesocca, can you give an concrete example of the issue you are trying to solve by manipulating sys.path? Perhaps you are trying to add modules that cannot be installed with pip?
The conda environments are indeed found at different locations when you run the notebook (/opt/conda/envs/<conda environment name>/lib/python3.11/) and in the containerized cell (/venv/lib/python3.11). This allows us have multiple environments for notebooks, but keep a single one in containerized cells (which reduces the image size).
However, this implementation detail should not matter.

If you use packages from the environment, or even install new ones using pip or conda install, they will automatically go to the right location. In this case, you do not need to manipulate Python's sys.path or the system's $PATH.
If you manually install Python modules to a custom location (eg. /my/python/modules/), they will be completely independent from the conda environment. In this case, you have to manage the path yourself, as you found out (eg. sys.path.append('/my/python/modules/')). Keep in mind: this needs to be added to each cell, because they run as independent Python scripts in the containerized context. I suspect that it is why the appended path doesn’t show up in your Argo example.

Here is a general note for people stumbling upon this issue: the second approach should be avoided if possible. Try to rely on packages available on PyPI or conda-forge (these are detected during containerization and automatically added to the environment), or run pip install git+... from within the cell.

Hi @gpelouze thanks for the commentary on this issue. As for the problem faced here, the issue has to do with containerization of any cell which call/depend on python or R module/package that are not in the official repository (pip, CRAN etc).
For example, I have some set of python function bundled into a module/package, when I try to use these functions by importing/loading into the cell, this bring some dependencies in the proceeding cell. Looking at the corresponding environment.yaml in NaaVRE parent folder, one can see the listing on the module as part of the requirement to be retrieved via conda-forge to the venv environment.
name: venv
channels:
   - conda-forge
dependencies:
   - pip
   - python>=3.8
   - nbconvert
   - dtSat (This is the package I need to use in other cell)
   - papermill
   - ipykernel

Of course, the package/module are currently in development and not in pip or any public platform. So, I have an issue here.
How can we overcome this problem for the time being? How can one containerize properly a cell which depends on some custom package/module? I tried some hack (e.g cloning to /tmp/data or pip install ing on a cell before computation etc, but they somehow fail/seem to be an indefinite loop in Argo.

Is this the generated environment: https://github.com/QCDIS/NaaVRE-cells-test-2/blob/0a3c8e4544387da8958b5bdf34b52ae15204269f/cell-2-stanley-nmor-nioz-nl/environment.yaml, and is this the repo containing dtSat: https://github.com/stanleesocca/dtRemoteSensing?
If that is the case, it can already be installed with pip install git+https://github.com/stanleesocca/dtRemoteSensing. At this stage, it’s not needed to publish it to PyPI. :-)
The following should work (but there is a bug, see below):
# (do not containerize)
# install packages in the notebook environment
!pip install git+https://github.com/stanleesocca/dtRemoteSensing.git

# test-dtsat-1
date = '2024-08-19'

# test-dtsat-2
from dtSat import dtSat
dtSat.get_date(date)

How this should work:

For the notebook environment, the dtRemoteSensing package is installed manually with pip in the first cell.
For the containerized cell environment, the dtSat package is detected by the code analyzer, which adds git+https://github.com/stanleesocca/dtRemoteSensing to the environment.yaml (this is thanks to the module name mapping added on Friday). This in turn installs dtSat in the conda environment, which can be imported with no further effort.

What doesn’t work:
The installation of packages from git sources with pip does not work with the most base images, because they do not contain the git package in the conda environment. Therefore, the containerization of cell test-dtsat-2 will fail with the following error:
#12 23.07 Installing pip packages: git+https://github.com/stanleesocca/dtRemoteSensing.git
#12 23.72 Collecting git+https://github.com/stanleesocca/dtRemoteSensing.git (from -r /tmp/mambafLLMJROqlZM (line 1))
#12 23.72   Cloning https://github.com/stanleesocca/dtRemoteSensing.git to ./pip-req-build-0ajqy1b_
#12 23.72   ERROR: Error [Errno 2] No such file or directory: 'git' while executing command git version
#12 23.72 ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?
#12 23.87 critical libmamba pip failed to install packages

I have created the following issue to resolve the problem: https://github.com/QCDIS/NaaVRE-flavors/issues/33. I will try to resolve it in the following days.

I see what you mean, when I tried your suggestion. I get this from the containerization stage:

This happen for cell-1 where all imported modules were called and initial variable assignment occur. This is stage I can get pass.
I feel issue https://github.com/QCDIS/NaaVRE-flavors/issues/33 will fix some of these issue (at least from the python side, R we will need to think how we can plug in CRAN there also).

Do you get the same error if you remove the comments from the first cell (ie. only have the line starting with !pip install?

Without the ! pip install code, I was able to containerize the notebook. However, on Argo, it seems like the computation is stuck in cell-2 (i.e the heart of this example), can you deduce why this is so. The logs are currently empty, and I can't seem to debug/understand why the computation isn't running correctly at this stage.

Yes, this is because of https://github.com/QCDIS/NaaVRE-flavors/issues/33. I'm working on a fix.

It looks like the fix to https://github.com/QCDIS/NaaVRE-flavors/issues/33 does the trick.
You can try the new version in our dev deployment: https://lifewatch.lab.uvalight.net/vreapp, then select “NaaVRE dev”, “Launch my instance”, “Waddenzee proto DT” and “Start”.
In this environment, I can run the above example as a notebook (removing the comments above !pip install ...), containerize the cells, and run the workflow.

Stanley confirmed that it worked.


rpm-sequoia: fixup darwin build

When building derivations that depends on rpm on darwin, we get the following error:
dyld[69225]: Library not loaded: /nix/store/cz9sppfrs9ag34lq2pq6wmhspwcnvbxq-rpm-sequoia-1.7.0/lib/librpm_sequoia.1.7.0.dylib
  Referenced from: <0EA94AC5-F54A-3791-9374-4092232F33A1> /nix/store/mak6qp2pvgz19dn0fb0pr2lksgca43qp-rpm-4.20.0/lib/librpmio.10.2.0.dylib
  Reason: tried: '/nix/store/cz9sppfrs9ag34lq2pq6wmhspwcnvbxq-rpm-sequoia-1.7.0/lib/librpm_sequoia.1.7.0.dylib' (no such file), '/System/Vol>
cpio: premature end of archive

This commit adds the correct symlinks on darwin.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

What’s the underlying issue here – it builds with .so, the version is in the wrong place, or?

when using rpm 4.20 on darwin it will try to load the rpm-sequoia as a dependency, but it looks like it tries to load lib/librpm_sequoia.1.7.0.dylib and not lib/librpm_sequoia.dylib


Provide instructions in the HTML of the TURN sample app UI

Suggested improvement to help manual testing of the sample chrome-app:
Put these instructions:
https://github.com/uProxy/uproxy-networking#simple-turn
Into the UI of the chrome app here:
uproxy/uproxy-networking/dist/samples/simple-turn-chromeapp
So that testing is self-explanatory. :)

Re-reading this now, putting that ASCII art into the UI seems...unnecessary. Is anyone likely to run this and not have access to the README?

Don't care much about ascii art here; I do think it's nice to have your apps being as easy for someone new to run as possible; and it seems like an easy win here. But I don't feel strongly, so if you think better to just leave in the README and avoid risk of skew, then feel free to close. Thanks for checking in.


Bump gomodules to fix CVEs

Fixes:
cve-2022-27664
cve-2022-32149

cc @jenting

Thanks @jenting . When can we expect a new release ?

Thanks @jenting . When can we expect a new release ?

Sure thing. Will do this week.


Cannot use no args constuctor

I tried to use the no-args constructor generated by the NoArgsConstructor macro.
But when I tried to build the code, I got an error saying that the constructor is private:
error[E0624]: associated function `new_default` is private

It's working fine when the structure is inside the same file where I'm using the constructor, but if the structure is outside of the module where I'm using the constructor, I'm getting the error.

Thanks for raising it!
Will be fixed in 0.3.x


Possible new exercise: searching

One exercise I feel missing is one that deals with searching, one the first, key algorithms one learns when learning to program. My suggestion is to create an exercise that would require the user to implement several search algorithms, like:

Bubble sort
Quicksort
Bucket sort
Insertion sort

Some of the algorithms lend themselves to parallellization, which can make for an additional challenge if people want to give it a try.
I'd be more than happy to show a default implementation and create the relevant exercise files if people think this is a good idea.

That Algorithms are about sorting not searching. And for searching there is
binary search exercise as well as a binary search tree.
Erik Schierboom<EMAIL_ADDRESS>schrieb am Mo., 8. Aug. 2016
20:40:

One exercise I feel missing is one that deals with searching, one the
first, key algorithms one learns when learning to program. My suggestion is
to create an exercise that would require the user to implement several
search algorithms, like:

Bubble sort https://en.wikipedia.org/wiki/Bubble_sort
Quicksort https://en.wikipedia.org/wiki/Quicksort
Bucket sort https://en.wikipedia.org/wiki/Bucket_sort
Insertion sort https://en.wikipedia.org/wiki/Insertion_sort

Some of the algorithms lend themselves to parallellization, which can make
for an additional challenge if people want to give it a try.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/exercism/x-common/issues/328, or mute the thread
https://github.com/notifications/unsubscribe-auth/AADmR9d52AsUFYblXrahMXAvr9gplQp6ks5qd3gDgaJpZM4JfV38
.

@NobbZ oh my, I meant sorting :flushed: There is no sorting exercise, is there?

None that I were aware off ;)
Erik Schierboom<EMAIL_ADDRESS>schrieb am Di., 9. Aug. 2016 um
09:02 Uhr:

@NobbZ https://github.com/NobbZ oh my, I meant sorting 😳 There is no
sorting exercise, is there?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/exercism/x-common/issues/328#issuecomment-238470641,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADmRwz2L_ieCL0boXwi6v3G3oyl8fgyks5qeCYhgaJpZM4JfV38
.

I shall submit a PR with a proposol for such an exercise then :)

I'll close this issue, which I'll refer to once I have a PR ready.


Break, continue and loops' labels

This PR adds break and continue tags for loops. They can be labeled, like in Swift, or not.
{% for item in items %}
  {{ item }}{% if condition %}{% break %}{% endif %}
{% endfor %}

Labeled loops:
{% outer: for item in items %}
  {% for key in keys %}
    {{ item.key }}{% if condition %}{% break outer %}{% endif %}
  {% endfor %}
{% endfor %}

Also with labels it's now possible to access outer loop context from inner loop:
{% outer: for item in items %}
  {% for key in keys %}
   {{ forloop.counter }}-{{ forloop.outer.counter }}
  {% endfor %}
{% endfor %}

Before I forget: This PR should document the changes in the docs.

Is it something we still want to have or it can be closed?

          1 Message

:book:
Big PR

Hey 👋 I'm Eve, the friendly bot watching over Stencil 🤖
Thanks a lot for your contribution!

Seems like everything is in order 👍 You did a good job here! 🤝

  Generated by :no_entry_sign: Danger


Randomize User Name

current scheme create unique but boring names on the same network e.g. red dog, white dog, pink dog etc.

Closed by #15


terraform-providers.cloudflare: update source, 2.7.0 -> 2.23.0

Motivation for this change
The original repo has been archived and development now continues on https://github.com/cloudflare/terraform-provider-cloudflare
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 129461 at 77a2f388 run on aarch64-linux 1

2 packages built successfully:

terraform-full
terraform-providers.cloudflare


"MyTeam" for a team contact only shows the headline

Having a look at the page HTML source in the browser, all expected data is included, but hidden.

This happens here
https://github.com/axuno/Volleyball-League/blob/fdd641be2e2e31f2febe62de85c810c51cbc92c6/League/Views/Team/MyTeam.cshtml#L45
when the Model.ActiveTeamId contains a value that is not included in Model.TeamVenueRoundInfos[x].TeamId


chore: Pull latest version of argo-cd operator

What type of PR is this?
/kind enhancement
What does this PR do / why we need it:
Pulls the latest from release-0.6 branch from argocd-operator for including https://github.com/argoproj-labs/argocd-operator/pull/881
https://github.com/argoproj-labs/argocd-operator/commit/aa1a18bbb0718bbe4edf603b1e1fd2dfb4e0ed7a
Have you updated the necessary documentation?

[ ] Documentation update is required by this PR.
[ ] Documentation has been updated.

Which issue(s) this PR fixes:
Fixes #?
Test acceptance criteria:

[ ] Unit Test
[ ] E2E Test

How to test changes / Special notes to the reviewer:

/retest

/retest

/test v4.9-kuttl-parallel

/retest

/test v4.10-kuttl-sequential

/retest


UNABLE TO RUN NPM COMMAND

Issue Type: Performance Issue
I've been unable to run an npm command (npn init -y) to begin with. This command was easily accesible and effective in previous version of npm. How do i resolve this issue.
VS Code version: Code 1.57.1 (507ce72a4466fbb27b715c3722558bb15afa9f48, 2021-06-17T13:28:07.755Z)
OS version: Windows_NT x64 10.0.18363
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz (4 x 2394)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.88GB (2.68GB free)

Process Argv
--crash-reporter-id a727d3d4-5faf-429b-8e5a-479d519d4d8a

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    1	   103	  9180	code main
    0	    61	  1488	   window (undefined)
    0	   103	  4396	     "C:\Users\JEYI\AppData\Local\WhatsApp\app-2.2123.8\WhatsApp.exe"
    0	    80	  4184	       window (undefined)
    0	    24	  4740	       utility
    0	    13	  7016	       crashpad-handler
    0	   174	  9016	       window (undefined)
    1	    74	 11796	       gpu-process
    0	    19	 12000	       utility
    0	   159	  1540	   window (Extension: npm - learnin-tailwind - Visual Studio Code)
    0	    31	  5248	     searchService
    0	    77	  8684	     extensionHost
    0	    29	 12088	       "C:\Users\JEYI\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\JEYI\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=8684
    0	    11	 11968	     watcherService
    0	    11	 10308	       console-window-host (Windows internal process)
    0	    28	  7956	   utility
    0	    13	  8812	   crashpad-handler
    0	   158	  9152	   gpu-process
    0	    68	 10348	   shared-process
    0	    41	 10652	     ptyHost
    0	    66	  7208	       C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    0	    72	 11132	       C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    0	     6	 11740	       console-window-host (Windows internal process)
    0	     6	 11948	       console-window-host (Windows internal process)
    2	    49	 10936	   window (Issue Reporter)

Workspace Info
|  Window (Extension: npm - learnin-tailwind - Visual Studio Code)
|    Folder (learnin-tailwind): 0 files
|      File types:
|      Conf files:;

Extensions (5)

Extension
Author (truncated)
Version

vscode-npm-script
eg2
0.3.22

python
ms-
2021.6.944021595

vscode-pylance
ms-
2021.6.3

jupyter
ms-
2021.6.999662501

LiveServer
rit
5.6.1

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vstes627:30244334
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551cf:30311713
vspre833:30321513
pythonptprofiler:30281270
vshan820:30294714
vscoreces:30322571
pythondataviewer:30285071
vscus158:30321503
pythonvsuse255:30323308
vscorehov:30309549
vscod805cf:30301675
pythonvspyt200cf:30329804
binariesv615:30325510
aatestflightcf:30331712

Please attach the terminal output.

PS C:\Users\JEYI\Desktop\JEYI\Web Development\learnin-tailwind> npm init -y
npm : The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:1 char:1

npm init -y

  + CategoryInfo          : ObjectNotFound: (npm:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException

Seems to me that npm command is not recognised. I would suggest to follow this stack overflow guide: https://stackoverflow.com/questions/20992723/npm-is-not-recognized-as-internal-or-external-command-operable-program-or-bat

I've resolved the issue. I needed to install nodejs to make npm functional.


confidence of specific relations (e.g. companion, antagonist, ...)  and attributes (e.g. wind, ...)

Thank you for creating the issue! Can you give a bit context what you want to solve here?
Small update (see also changes/comments in #95 and #89): the strength is not really something we know (at least not from the databases we found so far). We only have confidence with the polyculture algorithm.


File to import not found or unreadable: active_material/values/*.

I have added in app/javacsript/packs folder: active_admin.js and active_admin.scss file and also added -
@import "active_material/src/stylesheets/active_material.scss"; and import "active_material" respectively.
While running bin/webpack-dev-server command in the terminal for compiling, the following error occurred-
ERROR in ./app/javascript/packs/active_admin.scss (./node_modules/css-loader/dist/cjs.js??ref--9-1!./node_modules/postcss-loader/src??ref--9-2!./node_modules/sass-loader/dist/cjs.js??ref--9-3!./app/javascript/packs/active_admin.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):

@import "active_material/values/*";
^
      File to import not found or unreadable: active_material/values/*.
      in /home/nur-alam/NurAlam/Development/Projects/RubyonRails/welcome_to_australia/node_modules/active_material/src/stylesheets/active_material.scss (line 15, column 1)
Error:
@import "active_material/values/*";
^
      File to import not found or unreadable: active_material/values/*.
      in /home/nur-alam/NurAlam/Development/Projects/RubyonRails/welcome_to_australia/node_modules/active_material/src/stylesheets/active_material.scss (line 15, column 1)
    at options.error (/home/nur-alam/NurAlam/Development/Projects/RubyonRails/welcome_to_australia/node_modules/node-sass/lib/index.js:291:26)
ℹ ｢wdm｣: Failed to compile.

Note: The is a Rails 6 application running with webpacker

We also have this issue when trying to upgrade to the npm module version with webpacker. Similar error, but with a different css node_module:
ERROR in ./app/javascript/packs/active_admin.scss
Module build failed (from /home/rando/Code/textus/tesseract/master/node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from /home/rando/Code/textus/tesseract/master/node_modules/sass-loader/dist/cjs.js):
SassError: Can't find stylesheet to import.
   ╷
15 │ @import "active_material/values/*";
   │         ^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
  ../../master/node_modules/active_material/src/stylesheets/active_material.scss 15:9  @import
  app/javascript/packs/active_admin.scss 1:9                                           root stylesheet

Perhaps there's another scss compiler to use that supports wildcards in the @import statements that needs to be used?

@Nur-Alam39 @paul I submitted a PR to resolve this https://github.com/dkniffin/active_material/pull/85. I don't know when this will be reviewed, but a workaround could be taking the changes from this PR, putting them in their own file, and import that instead of from the active_material entry file. You may need to adjust the paths though, I haven't actually tested this yet.

PR merged and released in 2.0.1


Murmur can't read generated acme keys in 20.09

Describe the bug

The acme module lost the abitlity to set a generated certs/keys uid, only sets gid since https://github.com/NixOS/nixpkgs/pull/91121#pullrequestreview-510714303
The murmur module only runs with nogroup

Expected behavior
The modules should fit together, preferably by the murmur module setting a proper gid.
Notify maintainers

@petabyteboy
@infinisil
@NixOS/acme
Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.58, NixOS, 20.03.3113.d74573d8ae6 (Markhor)`
 - multi-user?: `yes`
^[[B^[[B^[[B - sandbox: `yes`
 - version: `nix-env (Nix) 3.0pre20200829_f156513`
 - channels(root): `"nixos-20.09.1469.13d0c311e3a"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module: [ services.murmur, security.acme ]

+1 for giving murmur a proper gid, stuff definitely shouldn't be running as nogroup anyway.