Added blazor app to phalanx solution

Cool okay so if I can be picky maybe let's remove compiled stuff from wwwroot as well (bootstrap/openiconic) and use cdn like unpkg or sth for those usages. I can help with that; but, we can go ahead as is.
Also, you need to resolve that merge conflict, and let's get it merged!


Can I manually init GTM?

Can I manually init GTM? For example, init GTM if the user has allowed this in the cookie settings

Thats a very good request. I didnt found a way to do it with this plugin. So I switched to the under the hood vue plugin vue-gtm.
import { type VueGtmUseOptions, createGtm } from '@gtm-support/vue-gtm'
The createGtm you can call to initialise the instance

I solved this issue in the following way:
set enabled: false by default
gtm: {     ...     enabled: false,     ... }
manually make it active when needed:
config.public.gtm.enabled = true; gtm.enable(true);

Nice! And what is gtm in ?
gtm.enable(true);
config.public.gtm.enable(true) ?

const gtm = useGtm();
this is a variable provided by the @zadigetvoltaire/nuxt-gtm module
nuxt-config.ts
modules: [
    ...
    "@zadigetvoltaire/nuxt-gtm",
    ...
  ]


isolate broken llama AST

The resulting toposort of uops is wrong:
kernel void r_344_2_4_2_2_128_8_2_4_4(device half* data0, const device half* data1, const device half* data2, const device float* data3, uint3 gid [[threadgroup_position_in_grid]], uint3 lid [[thread_position_in_threadgroup]]) {
  for (int ridx0 = 0; ridx0 < 128; ridx0++) {
    half cast4 = (half)(acc0.x);
  }
  if (alu2) { *((device half2*)(data0+alu5)) = half2((cast4*(alu10/(alu10+exp2((cast4*alu9))))*(half)(val0.x)),(cast5*(alu10/(alu10+exp2((cast5*alu9))))*(half)(val0.y))); }
}

same issue as seen in #4647
https://github.com/tinygrad/tinygrad/actions/runs/9145074079/job/25143631108?pr=4647


Support logprobs in chat completion

Hi I've seen that there's logprobs support for the old completion endpoint but not for chat. Is there a plan to add that to the chat completion?
https://platform.openai.com/docs/api-reference/chat/create#chat-create-logprobs

I republished this library (it seems like the maintainer is gone) over at https://github.com/panghy/openai-java, and just so happens that I added logprobs recently:
https://github.com/panghy/openai-java/blob/aba1ca3b8030a6d6de5187cc1fe303de52f1cbd9/example/src/main/java/example/OpenAiApiExample.java#L62

@panghy great! thank you!

Maybe you want to take a look at the simple-openai Java library which has support for logprobs in Chat Completions.


Disable highlighting in 'nofile' buffers

Fixes https://github.com/folke/todo-comments.nvim/issues/97

I don't think this logic is correct. Because the logic changes from and to or it's saying that all non "" buftypes are invalid. Whereas the original code says that "" and quickfix are valid, but other buftypes (including nofile) are not.
I think what this needs is this logic (instead of the change presently here):
  if vim.fn.getcmdwintype() ~= "" then
    return false
  end

agree with @joshuarubin ^ .. perhaps the tool should avoid attaching to the cmd window at all?  The logic might be better placed in M.is_valid_win, alongside the check for float-type windows: https://github.com/folke/todo-comments.nvim/blob/98b1ebf198836bdc226c0562b9f906584e6c400e/lua/todo-comments/highlight.lua#L194

This was fixed in #111


Make language servers use webworker typings

This makes the css, html, and json language  servers to use the webworker typings. This lets us avoid having to redeclare self

Thanks @mjbvz. Makes sense. I never got to properly do this. Ideally, only the browser folder would get the WebWorker types, and the node folder only the Node bindings.


Multiple Git repo status not updating after closing file opened from directory with different Git repo than project

VSCode Version: 1.16.1
OS Version: OSX 10.13

Steps to Reproduce:

Open a folder with an initialized Git repo
Open an individual file in the same window from a different folder and different repo.
Under the source control tab you will see both repos being tracked and accessible.
Close the file from a different repo.
Both repos will remain until the window is reloaded.

Reproduces without extensions: Yes

This is as designed. We're careful when removing repositories from the SCM viewlet as you might have closed the file but not yet be ready to close the repository.


add courses of cd

great job, thanks!

great job, thanks!

I'm still doing some experimentation and will post it in the community when it works well enough.


How can I convert old private.xml code ?

Hi,
I am trying to make this example to work (the selected answer), but I can't find the private.xml file. I belive that it has been removed from most recent version.
What should I do to get this code to work?
Thanks!

What a mess

See #1332 for a start.


What happens on multiple instances?

Just for example, I'm running 3 Meteor instances and deifining a server hooks:
Postings.after.remove(function() {

});

Will this hook fire 3 times (on all 3 instances) or only on one?

It will be executed on the instance that received the request.


Added DefaultCpuHealthChecker

Motivation:
Resolves part of #1854
Some users may want to use CPU usage to determine if their instance is healthy.
From now on, Users can perform health checks in the following ways
DefaultCpuHealthChecker cpuHealthChecker = new DefaultCpuHealthChecker(20.0);
cpuHealthChecker.isHealthy();

Modifications:

Added DefaultCpuHealthChecker that checks cpu-usage by OperatingSystemMXBean

Result:
A User can health-check with system-cpu-usage
p.s.
Implemented this by referencing ProcessorMetrics.java in the micrometer core.

Gentle Ping @trustin @ikhoon @jrhee17

@Bue-von-hon Sorry I'm late. Left some comments 🙇

I've made some improvements that were commented on.
Please take a look. 🙏
@trustin @ikhoon @jrhee17

Gentle Ping @trustin @ikhoon @jrhee17

@trustin I just realized I still have some unresolved comments.😅
I'll try to address them this weekend.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: Bue-von-hon:x: taehun.kimtaehun.kim seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

The commit wasn't signed, so it's a week late. 😅
sorry for late, but I've incorporated everything you left in the comments, so please take a look.
@ikhoon @trustin @jrhee17

gentle ping @trustin @ikhoon @jrhee17 @minwoox

Sorry about the late review, looks almost done!
Can you check the following diff?
diff --git a/core/src/main/java/com/linecorp/armeria/server/healthcheck/CpuHealthChecker.java b/core/src/main/java/com/linecorp/armeria/server/healthcheck/CpuHealthChecker.java
index 302154226..249999fe0 100644
--- a/core/src/main/java/com/linecorp/armeria/server/healthcheck/CpuHealthChecker.java
+++ b/core/src/main/java/com/linecorp/armeria/server/healthcheck/CpuHealthChecker.java
@@ -23,9 +23,11 @@ import java.lang.management.ManagementFactory;
 import java.lang.management.OperatingSystemMXBean;
 import java.lang.reflect.Method;
 import java.util.List;
-import java.util.concurrent.ConcurrentHashMap;
 import java.util.function.DoubleSupplier;

+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.collect.ImmutableList;

@@ -42,12 +44,17 @@ import com.linecorp.armeria.common.annotation.Nullable;
 // Forked from ProcessorMetrics.java in the micrometer core.
 final class CpuHealthChecker implements HealthChecker {

+    private static final Logger logger = LoggerFactory.getLogger(CpuHealthChecker.class);
+
+    private static final MethodHandles.Lookup LOOKUP = MethodHandles.lookup();
+
     private static final DoubleSupplier currentSystemCpuUsageSupplier;

     private static final DoubleSupplier currentProcessCpuUsageSupplier;

     private static final OperatingSystemMXBean operatingSystemBean;

+    @Nullable
     private static final Class<?> operatingSystemBeanClass;

     private static final List<String> OPERATING_SYSTEM_BEAN_CLASS_NAMES = ImmutableList.of(
@@ -57,16 +64,17 @@ final class CpuHealthChecker implements HealthChecker {

     @Nullable
     @VisibleForTesting
-    static final Method systemCpuUsage;
+    static final MethodHandle systemCpuUsage;

     @Nullable
     @VisibleForTesting
-    static final Method processCpuUsage;
+    static final MethodHandle processCpuUsage;

     static {
         operatingSystemBeanClass = requireNonNull(getFirstClassFound(OPERATING_SYSTEM_BEAN_CLASS_NAMES));
         operatingSystemBean = ManagementFactory.getOperatingSystemMXBean();
-        systemCpuUsage = detectMethod("getSystemCpuLoad");
+        final MethodHandle getCpuLoad = detectMethod("getCpuLoad");
+        systemCpuUsage = getCpuLoad != null ? getCpuLoad : detectMethod("getSystemCpuLoad");
         processCpuUsage = detectMethod("getProcessCpuLoad");
         currentSystemCpuUsageSupplier = () -> invoke(systemCpuUsage);
         currentProcessCpuUsageSupplier = () -> invoke(processCpuUsage);
@@ -80,10 +88,6 @@ final class CpuHealthChecker implements HealthChecker {

     private final double targetProcessCpuLoad;

-    private static final MethodHandles.Lookup LOOKUP = MethodHandles.lookup();
-
-    private static final ConcurrentHashMap<String, MethodHandle> CACHE = new ConcurrentHashMap<>();
-
     /**
      * Instantiates a new Default cpu health checker.
      *
@@ -103,18 +107,10 @@ final class CpuHealthChecker implements HealthChecker {
         this.processCpuUsageSupplier = processCpuUsageSupplier;
     }

-    private static double invoke(final Method method) {
-        MethodHandle mh = CACHE.get(method.getName());
+    private static double invoke(@Nullable MethodHandle mh) {
         if (mh == null) {
-            try {
-                mh = LOOKUP.unreflect(method);
-            } catch (IllegalAccessException e) {
-                throw new RuntimeException(e);
-            }
-
-            CACHE.put(method.getName(), mh);
+            return Double.NaN;
         }
-
         try {
             return (double) mh.invoke(operatingSystemBean);
         } catch (Throwable e) {
@@ -123,12 +119,19 @@ final class CpuHealthChecker implements HealthChecker {
     }

     @Nullable
-    private static Method detectMethod(final String name) {
+    @SuppressWarnings("ReturnValueIgnored")
+    private static MethodHandle detectMethod(final String name) {
+        if (operatingSystemBeanClass == null) {
+            return null;
+        }
         try {
             // ensure the Bean we have is actually an instance of the interface
-            requireNonNull(operatingSystemBeanClass.cast(operatingSystemBean));
-            return operatingSystemBeanClass.getMethod(name);
-        } catch (ClassCastException | NoSuchMethodException | SecurityException e) {
+            operatingSystemBeanClass.cast(operatingSystemBean);
+            final Method method = operatingSystemBeanClass.getMethod(name);
+            return LOOKUP.unreflect(method);
+        } catch (ClassCastException | NoSuchMethodException | SecurityException | IllegalAccessException e) {
+            logger.warn("Failed to detect method {}.{} for {}", operatingSystemBeanClass.getSimpleName(),
+                        name, CpuHealthChecker.class.getSimpleName(), e);
             return null;
         }
     }
@@ -153,9 +156,7 @@ final class CpuHealthChecker implements HealthChecker {
      */
     @Override
     public boolean isHealthy() {
-        final double currentSystemCpuUsage = systemCpuUsageSupplier.getAsDouble();
-        final double currentProcessCpuUsage = processCpuUsageSupplier.getAsDouble();
-        return currentSystemCpuUsage <= targetCpuUsage && currentProcessCpuUsage <= targetProcessCpuLoad;
+        return isHealthy(systemCpuUsageSupplier, processCpuUsageSupplier);
     }

     @VisibleForTesting

Hi @jrhee17 , I've addressed all of the feedback you mentioned.
I tried to be thorough in my commit message, but I'm afraid I wasn't able to do so for things I didn't understand. 🥲
Therefore, I'm going to leave a question about the changes you suggested that I didn't understand.
I look forward to your thoughtful responses. 🙏
📝 Here are my questions about the changes I didn't explain in the commit.

Why did you use a Methodhandle instead of a Method?
Why did you use the SuppressWarnings annotation to ignore the warning output?

@jrhee17  gentle ping

@jrhee17 gentle ping

@jrhee17 gentle ping

@jrhee17 gentle ping

@jrhee17 gentle ping

@jrhee17 I've addressed everything you commented on.
The fact that the factory method was mentioned twice, I felt it was important. I implemented it by adding a static method to the interface. It was the best I could do, as a way to keep compatibility across subclasses as much as possible.
p.s.
I'm concerned about the class(CpuHealthChecker) being exposed outside of its intended scope. The IDE is also warning me about this.

Thanks!


Joy-Con Rail Stops Working At Deep Sleep Wake

When the OS enters sleep mode the joy-cons attached to the system no longer work until you do a system reboot.

Thanks for reporting this issue
Probably the joycon patch caused this issue, I'll try to remove it in the next builds

Thanks for reporting this issue
Probably the joycon patch caused this issue, I'll try to remove it in the next builds

It only happens after waking the OS from a deep sleep, when you just wake it up from a non deep sleep the joy con rails still respond

It only happens after waking the OS from a deep sleep, when you just wake it up from a non deep sleep the joy con rails still respond

Fixed on latest release

Fixed on latest release


Connection reset using websocket

openschafkopf$ ./target/release/openschafkopf websocket
Listening on: <IP_ADDRESS>:8080
Incoming TCP connection from: <IP_ADDRESS>:38858
Error in accepting tcpstream: WebSocket protocol error: No "Connection: upgrade" header
Incoming TCP connection from: <IP_ADDRESS>:38862
Error in accepting tcpstream: WebSocket protocol error: No "Connection: upgrade" header
Incoming TCP connection from: <IP_ADDRESS>:38876
Error in accepting tcpstream: WebSocket protocol error: No "Connection: upgrade" header
Incoming TCP connection from: <IP_ADDRESS>:38892
Error in accepting tcpstream: WebSocket protocol error: No "Connection: upgrade" header
Incoming TCP connection from: <IP_ADDRESS>:38902
Error in accepting tcpstream: WebSocket protocol error: No "Connection: upgrade" header
Incoming TCP connection from: <IP_ADDRESS>:38906
Error in accepting tcpstream: WebSocket protocol error: No "Connection: upgrade" header
Incoming TCP connection from: <IP_ADDRESS>:38922
Error in accepting tcpstream: WebSocket protocol error: No "Connection: upgrade" header
Incoming TCP connection from: <IP_ADDRESS>:38930
Error in accepting tcpstream: WebSocket protocol error: No "Connection: upgrade" header
Incoming TCP connection from: <IP_ADDRESS>:38942
Error in accepting tcpstream: WebSocket protocol error: No "Connection: upgrade" header
Incoming TCP connection from: <IP_ADDRESS>:38946
Error in accepting tcpstream: WebSocket protocol error: No "Connection: upgrade" header

Notes:

firefox 128.3.1esr (64-bit)
rustc 1.82.0
lessc 3.9.0
debian 12

I'm sorry to hear this, but sadly I cannot reproduce the problem on my machine.
Since I do not often work on websocket, could you guide me through what you did exactly?
For clarity (and if I recall correctly, that's how I intended it back then), I assume you compiled site.ts to site.js by using tcs, run openschafkopf websocket, and open site.html in a browser. Is this correct?

Hmm, I might be missing some steps here.
I executed the description from the README:
cargo build --release
./target/release/openschafkopf websocket

and then tried to open <IP_ADDRESS>:8080 in firefox

Ah, na, that won't work. I must update examples/websocket.sh to include the necessary steps.
Note that the whole websocket thing is in a very prototype stage. It can surely be used to actually play, but that requires some work.

If you don't object, I'd like to close this.

I tried transpiling it using tcs:
npm install typescript --save-dev
npx tsc ./lib/tools/site/site.ts
./target/release/openschafkopf websocket
firefox ./lib/tools/site/site.html

now I at least get some connection

If you don't object, I'd like to close this.

Sure, go ahead.

That looks right. The site should - during load - ask you for a user name.
Try opening the site in four different tabs, then you should see a game taking place. Note that each tab then represents a human player, and I think for each decision I implemented a timeout of 2 seconds so that you have to decide pretty quickly. (As I said... prototype.)


resin-init-board: modprobe i2c-dev on startup

connect https://github.com/resin-os/resinos/issues/201

Changelog entry please?

ping @michal-mazurek ?


[i2c,rtl] Remove double-counted t_f

As titled, basically.
This change caused a lot of breakage in the i2c block level DV, which I have not been able to fully mitigate.
This is primarily around breaking the START/RSTART detection routines in the monitor, which causes the monitor to lose it's lock
on the bus traffic.
For now, I have weakened the monitor checks for the correct Setup/Holds around these events, which mostly fixes the breakage.
There is still one test that fails systematically with this change, i2c_host_rx_oversample.
(On a related note, this test seems to be misnamed, as the testplan description doesn't gel with its implementation IMO. It could be a candidate for removal)
I proposed merging this RTL change with the DV mitigations for now, and removing the broken test from the regression for now. Then to create an action item to come back and fix it properly later.
Closes #18958
Goes towards #18492

Rebasing this PR on master should fix the failing CW310 ROM Tests check (//sw/device/tests:aon_timer_wdog_lc_escalate_test_fpga_cw310_rom_with_fake_keys failed). The failure in Test an airgapped Bazel build looks spurious.

Rebased, plus added links to #21887

Passes CI except for the uart_tx_rx_test_fpga_cw310_sival test, which is unrelated to this PR. Merging.


Update license header template for 2022

The license template expects the copyright year to be 2021 - it should be updated to expect 2022 instead.

Also check why the license header is specified in two places:

once in the license plugin (ok)
a second time in the checkstyle configuration (why?)

@philsttr Do you remember any reason why the license header is also enforced by checkstyle in addition to the license maven plugin? It looks like a left over from before we introduced the license plugin and relied solely on checkstyle...

I believe it is a leftover.

I'm not a lawyer, but I believe they are still protected as long as they aren't changed.  I think technically the year only needs to be updated if they are changed.  But we can mass-update them if it helps our automation.


embark-org.el file missing

This is a repeat of https://github.com/radian-software/straight.el/issues/1046 because I cannot re-open that issue. I have tried the fixes mentioned there and more, but to no avail.
What's wrong
when straight builds the embark package, it omits the embark-org.el file which is present in its embark repository directory. This results in blocking errors as I have things that depend upon functions from embark-org.
Directions to reproduce
(use-package embark)

The repository includes a embark-org.el at the top level, but the straight build does not. Errors follow that the embark-org file cannot be found.
Bug report and information should be as in the linked issue.
Version information

Emacs version: GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0)
Operating system: Linux (Gnu GUIX)

If I had to guess, the MELPA recipe was originally overly specific (only including certain files), and then changed to add the file that is missing now. Have you tried M-x straight-pull-recipe-repositories to see if the recipe has changed?
The file is present in the following test case:

Test Case
(straight-bug-report
  :post-bootstrap
  (straight-use-package 'embark)
  (let
      ((default-directory
        (straight--build-dir "embark")))
    (message "%S"
             (straight--process-output "ls" "-lah"))))

Test run at: 2023-05-17 11:05:30
system-type: gnu/linux
straight-version: prerelease (HEAD -> master, origin/master, origin/develop, origin/HEAD, develop) 039e5c9 2023-03-12
emacs-version: GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.17.8) of 2023-05-07

Output
Bootstrapping straight.el...
Bootstrapping straight.el...done
Looking for gnu-elpa-mirror recipe → Cloning melpa...
Looking for gnu-elpa-mirror recipe → Cloning melpa...done
Looking for nongnu-elpa recipe → Cloning gnu-elpa-mirror...
Looking for nongnu-elpa recipe → Cloning gnu-elpa-mirror...done
Looking for emacsmirror-mirror recipe → Cloning nongnu-elpa...
Looking for emacsmirror-mirror recipe → Cloning nongnu-elpa...done
Looking for emacsmirror-mirror recipe → Cloning el-get...
Looking for emacsmirror-mirror recipe → Cloning el-get...done
Looking for straight recipe → Cloning emacsmirror-mirror...
Looking for straight recipe → Cloning emacsmirror-mirror...done
Building straight...
Building straight...done

Test run with version: prerelease (HEAD -> develop, origin/master, origin/develop, origin/HEAD) 039e5c9 2023-03-12
Cloning embark...
Cloning embark...done
Building embark...
Building embark → Cloning compat...
Building embark → Cloning compat...done
Building embark → Building compat...
Building embark → Building compat...done
Building embark...
Building embark...done

"total 256K
drwxr-xr-x 2 n n  200 May 17 11:05 .
drwxr-xr-x 5 n n  100 May 17 11:05 ..
-rw-r--r-- 1 n n  639 May 17 11:05 dir
-rw-r--r-- 1 n n 8.1K May 17 11:05 embark-autoloads.el
lrwxrwxrwx 1 n n   60 May 17 11:05 embark.el -> /tmp/straight.el-test-kqU4Uc/straight/repos/embark/embark.el
-rw-r--r-- 1 n n 155K May 17 11:05 embark.elc
-rw-r--r-- 1 n n  68K May 17 11:05 embark.info
lrwxrwxrwx 1 n n   64 May 17 11:05 embark-org.el -> /tmp/straight.el-test-kqU4Uc/straight/repos/embark/embark-org.el
-rw-r--r-- 1 n n  14K May 17 11:05 embark-org.elc
lrwxrwxrwx 1 n n   62 May 17 11:05 embark.texi -> /tmp/straight.el-test-kqU4Uc/straight/repos/embark/embark.texi"
Packages:
"straight"                n/a                  develop 039e5c9 2023-03-12
"org-elpa"                n/a                  n/a
"melpa"                   n/a                  master 127b93c5 2023-05-14
"gnu-elpa-mirror"         n/a                  master ca8f25a 2023-05-14
"nongnu-elpa"             n/a                  main 83410aa 2023-05-15
"el-get"                  melpa                master 46be7740 2023-05-14
"emacsmirror-mirror"      n/a                  master 1d9d0af 2023-05-16
"embark"                  melpa                master ab920ea 2023-05-11
"compat"                  gnu-elpa-mirror      master 81ae800 2023-05-11

Using that test case I get the same encouraging result. But for whatever reason, the -org file does NOT actually appear in the build directory. I've updated the recipes but no difference.
Test Case
(straight-bug-report
  :post-bootstrap
  (straight-use-package 'embark)
  (let
      ((default-directory
	 (straight--build-dir "embark")))
    (message "%S"
	     (straight--process-output "ls" "-lah"))))

Test run at: 2023-05-17 12:07:05
system-type: gnu/linux
straight-version: prerelease (HEAD -> master, origin/master, origin/develop, origin/HEAD, develop) 039e5c9 2023-03-12
emacs-version: GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0)

Output
Bootstrapping straight.el...
Bootstrapping straight.el...done
Looking for gnu-elpa-mirror recipe → Cloning melpa...
Looking for gnu-elpa-mirror recipe → Cloning melpa...done
Looking for nongnu-elpa recipe → Cloning gnu-elpa-mirror...
Looking for nongnu-elpa recipe → Cloning gnu-elpa-mirror...done
Looking for emacsmirror-mirror recipe → Cloning nongnu-elpa...
Looking for emacsmirror-mirror recipe → Cloning nongnu-elpa...done
Looking for emacsmirror-mirror recipe → Cloning el-get...
Looking for emacsmirror-mirror recipe → Cloning el-get...done
Looking for straight recipe → Cloning emacsmirror-mirror...
Looking for straight recipe → Cloning emacsmirror-mirror...done
Building straight...
Building straight...done

Test run with version: prerelease (HEAD -> develop, origin/master, origin/develop, origin/HEAD) 039e5c9 2023-03-12
Cloning embark...
Cloning embark...done
Building embark...
Building embark → Cloning compat...
Building embark → Cloning compat...done
Building embark → Building compat...
Building embark → Building compat...done
Building embark...

Just so we're on the same page. You mean the file in the /tmp/$TESTDIR/build/embark directory, but does not show up in your config's $BUILD/embark/ directory, correct? That's how I'm interpreting the output of that test.

I've updated the recipes but no difference.

Please share the output of M-x straight-get-recipe embark.
I would also try deleting $STRAIGHT/repos/embark and $STRAIGHT/builds/embark and re-installing now that you've pulled the recipe repositories.

Nicholas Vollmer @.***> writes:

Just so we're on the same page. You mean the file in the /tmp/$TESTDIR/build/embark directory, but does not show up in your config's
$BUILD/embark/ directory, correct? That's how I'm interpreting the output of that test.
That is correct. The repo and even the testdir have the embark-org.el file, but the actual $BUILD/embark directory does NOT receive one of those.

I've updated the recipes but no difference.
Please share the output of M-x straight-get-recipe embark.
To my surprise, when I try =M-x straight-get-recipe embark= I see the completion option, which include embark-consult, embark-vc, citar-embark, mpdel-embark, and avy-embark-collect, but NOTHING for plain-old-Embark.

I would also try deleting $STRAIGHT/repos/embark and $STRAIGHT/builds/embark and re-installing now that you've pulled the recipe
repositories.

Ok. Per your recommendation I just tried it and the resulting embark directories are the same, where repos/ has the file but the build does not. Exploring a little more, I noticed that my straight/build-cache-el ALSO, noticeably, lacks the embark-org file:
(:type git :host github :repo "oantolin/embark" :files ("embark.el" "embark.texi" "embark-pkg.el") :flavor melpa :package "embark" :local-repo "embark")

I'm not entirely sure how that file works so I tried manually adding embark-org.el to the list but it was wiped out the next time I tried to build.

Sounds like the build cache is stale.
Closing Emacs.
I would try deleting repos/embark and build/embark again.
Editing the build-cache.el file via emacs -q or another editor and removing the entry for embark.
Start Emacs.

Jackpot! I'm using exwm and a literate config, so I tried to get away without restarting my main process. What brought the solution (ie a BUILD/embark/embark-org.el):

Delete BUILD/embark
Delete REPOS/embark
Delete every sexp that mentioned "embark" from straight/build-cache.el
Restart an emacs process, which Straight to run and get build new embark things... and this time they included embark-org.el

I wonder what caused this problem in the first place?

If I had to guess, the MELPA recipe was originally overly specific  (only including certain files instead of relying on the default values), and then changed to add the file that is missing now.

I agree with everything except the word "overly". 😉


Fix presenter name in SocialNLP virtual site

Hi everyone,
The presenter name for the paper NARMADA: Need and Available Resource Managing Assistant for Disasters and Adversities in W17: Natural Language Processing for Social Media (SocialNLP) needs to be changed to Sayan Sinha. It would be great if this could be addressed quickly.
Link: https://virtual.acl2020.org/workshop_W17.html#
@raosudha89 Given that I am also a volunteer, I am willing to issue a quick fix for this issue in the data repo. I would need access to the same.
Thanks!

@americast I have just granted you the access to both repos. Please submit a PR to fix https://github.com/acl-org/acl-2020-virtual-conference-sitedata/blob/master/w17_papers.csv
See here for instructions.

Thanks @hao-fang! I just sent a patch. I shall send another PR in this repo updating the submodule when it gets approved and merged.

@americast  I have merged your PR https://github.com/acl-org/acl-2020-virtual-conference-sitedata/pull/198


fix: cleanup vendir folder

closes #61

I simplified the approach by just using os.RemoveAll and by re-creating vendor directory right after that. If have any objections against this way, let's discuss them, but for now I'm going to merge this.


libStorage 0.4.0

This patch updates the libStorage dependency to 0.4.0.

Current coverage is 7.45% (diff: 100%)

Merging #703 into release/0.7.0 will not change coverage

@@           release/0.7.0      #703   diff @@
==============================================
  Files                 21        21
  Lines               2577      2577
  Methods                0         0
  Messages               0         0
  Branches               0         0
==============================================
  Hits                 192       192
  Misses              2368      2368
  Partials              17        17

Powered by Codecov. Last update 6c2ce63...b910b77


Handle moved messages in unreads and recent-senders data

With #787 we implemented most of #150, handling moved messages. But as that PR description said:

Fixes most of https://github.com/zulip/zulip-flutter/issues/150. (After this lands we should do a quick scan to identify anything else that needs updating on message moves — there are several new data structures in the store that we've merged in recent weeks.)

Then we didn't do that scan.
Places that still need updating on message moves include:

[ ] Unreads (which has a TODO comment for it)
[ ] RecentSenders (that's one of those recently-merged data structures)
… OK and I think that's it, having now scanned through what's in the store. (Another recently-merged data structure is RecentDmConversationsView, but that's only about DMs and those can't be moved.)

The key user-facing scenario where this comes up, which I happened to see again earlier today:

You're reading messages in Combined feed.
A topic gets resolved, containing some unread messages.
The messages are still unread, and shown with the blue unread marker at left. If you tap the recipient header to navigate to their conversation, the unread marker appears, as it should.
But the conversation doesn't have a mark-as-read button. As a result there's no way for you to dismiss those unread markers (short of marking read the entire combined feed, or entire channel).

What's happening is that the Unreads data structure still has the messages under their old, unresolved topic; so when viewing the new resolved topic, it finds no unreads for that topic.


issues with google client id

⚠ Check for existing issues before proceeding. ⚠

[X] I have searched the existing issues, and there is no existing issue for my problem

Where are you using SuperAGI?
Windows
Which branch of SuperAGI are you using?
Main
Do you use OpenAI GPT-3.5 or GPT-4?
GPT-3.5
Which area covers your issue best?
Installation and setup
Describe your issue.
Access blocked: This app’s request is invalid
<EMAIL_ADDRESS>You can’t sign in because this app sent an invalid request. You can try again later or contact the developer about this issue. Learn more about this error
If you are a developer of this app, see error details.
Error 400: redirect_uri_mismatch
How to replicate your Issue?
No response
Upload Error Log Content
docker compose logs

i think you have fixed the issue

Yes this has been fixed.


Provide automatic uninstall of Toltec and all installed packages

We should have a single command approach to uninstalling all packages and reverting the bootstrap script.

Good point. Thought of this some time ago as well.
@bbyucca Those is my crude routine I use when I need to rid my device of 99,9% toltec stuff for testing purposes. It's fairly crude but should do the job hopefully safely.
Run these commands (some may not apply if you haven't installed it)

Remove oxide if installed. Maybe run it twice opkg remove --force-remove fret erode rot decay tarnish oxide
Remove remux and/or draft if installed: opkg remove remux ; opkg remove draft
Remove rm2fb (important!): opkg remove rm2fb
Remove zoneinfo-utils: opkg remove zoneinfo-utils
Ensure xochitl will autostart on next boot systemctl enable xochitl
Disable mounting opt on next boot: systemctl disable opt.mount
Run df. If you spot a mount at /usr/share/zoneinfo or similar stop right here! I haven't considered removing that here and a reboot may cause problems! Or try finding the same .mount file like with opt.mount on your own and do the same as with opt.mount.
Reboot device: reboot

After reboot:

Ensure with df that /opt is not listed anymore
Remove the opt.mount file: rm /lib/systemd/system/opt.mount
Delete all toltec/entware related stuff (this may include precious configs of software which was in /opt/etc!): rm -r /home/root/.entware
Delete bootstrap and renable scripts: rm /home/root/{bootstrap,entware-reenable}
If installed, remove oxide configs: rm -r /home/root/.config/Eeems
Remove the export PATH=/opt/... something something line from /home/root/.bashrc.
Reboot device to be sure everything went well. Everything toltec/entware should be gone now.

https://eeems.website/toltec/#comment-5264461858 might be useful as well (scroll to comments and open them)

For the sake of simplicity:

You'd need to remove all the packages you installed. You can do that with the following:
packages=$(opkg list-installed | while read -r inst_line; do
pkg=$(echo "$inst_line" | awk '{ print $1 }')
pkg_ver=$(echo "$inst_line" | awk '{ print $3 }')
opkg files "$pkg" | grep -v /opt | grep -v "is installed on root" | grep -v /home/root > /dev/null && echo "$pkg $pkg_ver"

done)

echo -e "${packages[@]}" | sed 's/ /\0/g' | sort | uniq -d | awk '{print $1}' | xargs -r opkg remove
After which make sure xochitl is enabled: systemctl enable xochitl

Disable the mount point: `systemctl disable opt.mount`

Reboot your device.

Remove toltec files: `rm -r /home/root/{.entware,bootstrap,entware-reenable}`

@LinusCDE  Thank you so much. It's indeed an elaborate scheme.  I think I'll wait a bit before removing toltec. Currently I'm using the ddvk KOReader autoinstaller, but everything is under very active development. I'm currious how this will evolve. Perhaps with an automated uninstall.  KOReader is currently everything I need, but perhaps other programs become interesting after using the rM2 for a longer period.

I’ve opened #303 to migrate management of the /usr/share/zoneinfo bind mount out of the bootstrap script and into the zoneinfo-utils package. With this patch, we won’t have to bother thinking about removing this bind mount in the uninstall script (it will be implicitly removed when we uninstall the zoneinfo-utils package).

toltecctl uninstall is now available in testing.


Software shutdown not working

Assuming everything is installed correctly:
When i call x728off nothing happens...
maintenance@solarstream:~ $ x728off
X728 Shutting down...
maintenance@solarstream:~ $
if i bash directly the script x728softsd.sh i get:
maintenance@solarstream:~ $ bash /usr/local/bin/x728softsd.sh
/usr/local/bin/x728softsd.sh: line 6: /sys/class/gpio/gpio13/direction: Permission denied
/usr/local/bin/x728softsd.sh: line 7: /sys/class/gpio/gpio13/value: Permission denied
X728 Shutting down...
/usr/local/bin/x728softsd.sh: line 20: echo: write error: Operation not permitted
and if i call the script one more time:
maintenance@solarstream:~ $ bash /usr/local/bin/x728softsd.sh
/usr/local/bin/x728softsd.sh: line 5: echo: write error: Device or resource busy
X728 Shutting down...
maintenance@solarstream:~ $

Hi,
This shell script is base on Raspberrry pi OS.

I am on Raspberrry pi OS.

Hi,
First of all, congratulations for your work. I am very happy with several of your products.
I am having same problem than Blackcode. I have several systems running RBPi4 and x728. It doesn't matter the OS version we are using. Command "x728off" is never working. It has nothing to do with OS but x728 version. Board x728v1.3 is not able to shutdown if you install software following wiki. Meanwhile, older versions of this boards, work nice. I have tested 4 boards x728(v1.3) and 2 boards x728 (v1.2) with this consistent result.
Geekworm, please, we need help :-)

Hi,
First of all, congratulations for your work. I am very happy with several of your products.
I am having same problem than Blackcode. I have several systems running RBPi4 and x728. It doesn't matter the OS version we are using. Command "x728off" is never working. It has nothing to do with OS but x728 version. Board x728v1.3 is not able to shutdown if you install software following wiki. Meanwhile, older versions of this boards, work nice. I have tested 4 boards x728(v1.3) and 2 boards x728 (v1.2) with this consistent result.
Geekworm, please, we need help :-)

Hi, I have just test 2 times, no found any question.
I wonder your some question. could you give us more detail?
Maybe you can refer to here: https://wiki.geekworm.com/X728-Software
Regards,

Hi,
First time I type x728 there is no feedback. Second time feddback is:
Device or resource busy
My question is... how can I fix it?
But you are going to need more details in order to figure out why is this
happenig. I am out of the office ( I am in Massachusets time ). Tomorrow I
will give you detailed information about instructions and its feedback.
Thanks and regards,
Miguel
El mar., 18 may. 2021 22:21, geekworm @.***> escribió:

Hi,
First of all, congratulations for your work. I am very happy with several
of your products.
I am having same problem than Blackcode. I have several systems running
RBPi4 and x728. It doesn't matter the OS version we are using. Command
"x728off" is never working. It has nothing to do with OS but x728 version.
Board x728v1.3 is not able to shutdown if you install software following
wiki. Meanwhile, older versions of this boards, work nice. I have tested 4
boards x728(v1.3) and 2 boards x728 (v1.2) with this consistent result.
Geekworm, please, we need help :-)
Hi, I have just test 2 times, no found any question.
I wonder your some question. could you give us more detail?
Maybe you can refer to here: https://wiki.geekworm.com/X728-Software
Regards,
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/geekworm-com/x728/issues/1#issuecomment-843693787,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEUGZFEVTKT77JIPQNZRUQDTOMOCPANCNFSM44PDTDZQ
.

Hi,
I have partially solved it.
Attached you can find some files associated with three different tests:
Test1: Fresh OS with board v1.2. Everything works properly.
Test2: Fresh OS with board v1.3. Same PI, only x728 board was replaced.
With some workaround, it seems that "GPIO_13_Set.py" can make softshutdown.
After using this py, command x728off has started to work.
Test3: OS of our real app (OS2), several libraries and programs were added
to a vanilla OS. I guess somehow some of the modules and programs are
interfering with software needed for x728 board. You can see in the SSH3
sesion the feedback of several commands that works properly, and x728 not
working. In this case "GPIO_13_Set.py" has not the effect of solve the
problem, like in OS1.
My questions:
Do you understand what happens in test2?
Do you plan to release a new version "x728bat_v1.3.py" ? (in my case this
is not working)
I would like to fix x728 software in OS2. Do you see how I could fix it?
Thanks,
Miguel
El mar, 18 may 2021 a las 23:49, Miguel Vilariño (<
@.***>) escribió:

Hi,
First time I type x728 there is no feedback. Second time feddback is:
Device or resource busy
My question is... how can I fix it?
But you are going to need more details in order to figure out why is this
happenig. I am out of the office ( I am in Massachusets time ). Tomorrow
I will give you detailed information about instructions and its feedback.
Thanks and regards,
Miguel
El mar., 18 may. 2021 22:21, geekworm @.***> escribió:

Hi,
First of all, congratulations for your work. I am very happy with several
of your products.
I am having same problem than Blackcode. I have several systems running
RBPi4 and x728. It doesn't matter the OS version we are using. Command
"x728off" is never working. It has nothing to do with OS but x728 version.
Board x728v1.3 is not able to shutdown if you install software following
wiki. Meanwhile, older versions of this boards, work nice. I have tested 4
boards x728(v1.3) and 2 boards x728 (v1.2) with this consistent result.
Geekworm, please, we need help :-)
Hi, I have just test 2 times, no found any question.
I wonder your some question. could you give us more detail?
Maybe you can refer to here: https://wiki.geekworm.com/X728-Software
Regards,
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/geekworm-com/x728/issues/1#issuecomment-843693787,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEUGZFEVTKT77JIPQNZRUQDTOMOCPANCNFSM44PDTDZQ
.

Using username "pi".
@.***'s password:
Linux raspberrypi 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed May 19 13:38:52 2021
SSH is enabled and the default password for the 'pi' user has not been changed.
This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
@.:~ $ sudo hwclock -r
2021-05-19 13:44:12.455712+01:00
@.:~ $ sudo python x728bat_v1.2.py

Voltage: 4.03V
Battery:   62%

Voltage: 4.03V
Battery:   63%

^CTraceback (most recent call last):
File "x728bat_v1.2.py", line 44, in
time.sleep(2)
KeyboardInterrupt
@.:~ $ sudo python x728pld.py
1.Make sure your power adapter is connected
2.Disconnect and connect the power adapter to test
3.When power adapter disconnected, you will see: AC Power Loss or Power Adapter Failure
4.When power adapter disconnected, you will see: AC Power OK, Power Adapter OK
Testing Started---AC Power Loss OR Power Adapter Failure---
---AC Power OK,Power Adapter OK---
---AC Power Loss OR Power Adapter Failure---
---AC Power OK,Power Adapter OK---
^CTraceback (most recent call last):
File "x728pld.py", line 20, in
raw_input("Testing Started")
KeyboardInterrupt
@.:~ $ x728off
X728 Shutting down...
@.:~ $ x728off
/usr/local/bin/x728softsd.sh: line 5: echo: write error: Device or resource busy
X728 Shutting down...
@.:~ $ nano /usr/local/bin/x728softsd.sh
@.:~ $ x728off
/usr/local/bin/x728softsd.sh: line 5: echo: write error: Device or resource busy
X728 Shutting down...
@.:~ $
Using username "pi".
@.***'s password:
Linux raspberrypi 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed May 19 13:25:39 2021
SSH is enabled and the default password for the 'pi' user has not been changed.
This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
@.:~ $ cd x728/
@.:~/x728 $ python3 /home/pi/x728bat_v1.3.py
python3: can't open file '/home/pi/x728bat_v1.3.py': [Errno 2] No such file or directory
@.:~/x728 $ python3 /home/pi/x728/x728bat_v1.3.py
File "/home/pi/x728/x728bat_v1.3.py", line 39
print ""
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("")?
@.:~/x728 $ cd ..
@.:~ $ ls
x728  x728bat_v1.2.py  x728pld.py
@.:~ $ python3 /home/x728bat_v1.2.py
python3: can't open file '/home/x728bat_v1.2.py': [Errno 2] No such file or directory
@.:~ $ python3 /home/pi/x728bat_v1.2.py
File "/home/pi/x728bat_v1.2.py", line 30
print ""
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("")?
@.:~ $ sudo python x728bat_v1.2.py

Voltage: 3.98V
Battery:   78%

Voltage: 3.98V
Battery:   78%

^CTraceback (most recent call last):
File "x728bat_v1.2.py", line 44, in
time.sleep(2)
KeyboardInterrupt
@.:~ $ sudo python x728pld.py
1.Make sure your power adapter is connected
2.Disconnect and connect the power adapter to test
3.When power adapter disconnected, you will see: AC Power Loss or Power Adapter Failure
4.When power adapter disconnected, you will see: AC Power OK, Power Adapter OK
Testing Started---AC Power Loss OR Power Adapter Failure---
---AC Power OK,Power Adapter OK---
---AC Power Loss OR Power Adapter Failure---
---AC Power OK,Power Adapter OK---
^CTraceback (most recent call last):
File "x728pld.py", line 20, in
raw_input("Testing Started")
KeyboardInterrupt
@.:~ $ sudo python x728pld.py^C
@.:~ $ date
Wed 19 May 13:33:27 BST 2021
@.:~ $ sudo hwclock -r
2021-05-19 13:33:38.713451+01:00
@.:~ $
@.:~ $ @.:~ $ cd x728/
-bash: @.:~: command not found
@.:~ $ @.:~/x728 $ python3 /home/pi/x728bat_v1.3.py
-bash: @.:~/x728: No such file or directory
@.:~ $ python3: can't open file '/home/pi/x728bat_v1.3.py': [Errno 2] No such file or directory

@.:~/x728 $ python3 /home/pi/x728/x728bat_v1.3.py
File "/home/pi/x728/x728bat_v1.3.py", line 39
print ""
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("")?
@.:~/x728 $ cd ..
@.:~ $ ls
x728  x728bat_v1.2.py  x728pld.py
@.:~ $ python3 /home/x728bat_v1.2.py
python3: can't open file '/home/x728bat_v1.2.py': [Errno 2] No such file or directory
-bash: python3:: command not found
@.:~ $ @.:~ $ python3 /home/pi/x728bat_v1.2.py
-bash: @.:~: command not found
@.:~ $   File "/home/pi/x728bat_v1.2.py", line 30
-bash: File: command not found
@.:~ $     print ""
Error: no such file ""
@.:~ $                              ^
-bash: ^: command not found
@.:~ $ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("")?
-bash: syntax error near unexpected token (' ***@***.***:~ $ ***@***.***:~ $ sudo python x728bat_v1.2.py -bash: ***@***.***:~: command not found ***@***.***:~ $ ****************** -bash: x728: command not found ***@***.***:~ $ Voltage: 3.98V -bash: Voltage:: command not found ***@***.***:~ $ Battery:   78% -bash: Battery:: command not found ***@***.***:~ $ ****************** -bash: x728: command not found ***@***.***:~ $ ****************** -bash: x728: command not found ***@***.***:~ $ Voltage: 3.98V -bash: Voltage:: command not found ***@***.***:~ $ Battery:   78% -bash: Battery:: command not found ***@***.***:~ $ ****************** -bash: x728: command not found ***@***.***:~ $ ^CTraceback (most recent call last): -bash: :s^CTraceback (most recent call last):: substitution failed ***@***.***:~ $   File "x728bat_v1.2.py", line 44, in <module> -bash: syntax error near unexpected token newline'
@.:~ $     time.sleep(2)
-bash: syntax error near unexpected token 2' ***@***.***:~ $ KeyboardInterrupt -bash: KeyboardInterrupt: command not found ***@***.***:~ $ ***@***.***:~ $ sudo python x728pld.py -bash: ***@***.***:~: command not found ***@***.***:~ $ 1.Make sure your power adapter is connected -bash: 1.Make: command not found ***@***.***:~ $ 2.Disconnect and connect the power adapter to test -bash: 2.Disconnect: command not found ***@***.***:~ $ 3.When power adapter disconnected, you will see: AC Power Loss or Power Adapter Failure -bash: 3.When: command not found ***@***.***:~ $ 4.When power adapter disconnected, you will see: AC Power OK, Power Adapter OK -bash: 4.When: command not found ***@***.***:~ $ Testing Started---AC Power Loss OR Power Adapter Failure--- -bash: Testing: command not found ***@***.***:~ $ ---AC Power OK,Power Adapter OK--- -bash: ---AC: command not found ***@***.***:~ $ ---AC Power Loss OR Power Adapter Failure--- -bash: ---AC: command not found ***@***.***:~ $ ---AC Power OK,Power Adapter OK--- -bash: ---AC: command not found ***@***.***:~ $ ^CTraceback (most recent call last): -bash: :s^CTraceback (most recent call last):: substitution failed ***@***.***:~ $   File "x728pld.py", line 20, in <module> -bash: syntax error near unexpected token newline'
@.:~ $     raw_input("Testing Started")
-bash: syntax error near unexpected token `"Testing Started"'
@.:~ $ KeyboardInterrupt
-bash: KeyboardInterrupt: command not found
@.:~ $ @.:~ $ sudo python x728pld.py^C
-bash: @.:~: command not found
@.:~ $ @.:~ $ date
-bash: @.:~: command not found
@.:~ $ Wed 19 May 13:33:27 BST 2021
-bash: Wed: command not found
@.:~ $ @.:~ $ sudo hwclock -r
-bash: @.:~: command not found
@.:~ $ 2021-05-19 13:33:38.713451+01:00
-bash: 2021-05-19: command not found
@.:~ $ @.:~ $
-bash: @.:~: command not found
@.:~ $ history > history.txt
@.:~ $ x728off
X728 Shutting down...

1  sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
2  sudo raspi-config
3  ping www.google.com
4  sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
5  ls
6  sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
7  ping www.google.com
8  ls
9  pwd

10  ping www.google.com
11  sudo raspi-config
12  ping www.google.com
13  ip addr show
14  ping www.google.com
15  sudo raspi-config
16  sudo reboot
17  ls
18  sudo apt-get install python-smbus
19  sudo apt-get install i2c-tools
20  git clone https://github.com/geekworm-com/x728.git
21  sudo apt update
22  sudo apt install git
23  git clone https://github.com/geekworm-com/x728.git
24  cd x728/
25  sudo bash x728.sh
26  printf "%s\n" "alias x728off='sudo x728softsd.sh'" >> ~/.bashrc
27  sudo reboot
28  date -r
29  date --help
30  date
31  sudo hwclock -w
32  sudo hwclock -r
33  sudo python x728bat_v1.2.py
34  sudo shutdown now
35  ls
36  sudo hwclock -r
37  x728off
38  sudo hwclock -r
39  sudo x728off
40  x728off
41  sudo reboot now
42  x728off
43  ls
44  x728off
45  ls
46  sudo shutdown now
47  x728off
48  ls
49  x728off
50  sudo reboot now
51  ls
52  x728off
53  ls
54  sudo raspi-config
55  x728off
56  cd x728/
57  python3 /home/pi/x728bat_v1.3.py
58  python3 /home/pi/x728/x728bat_v1.3.py
59  cd ..
60  ls
61  python3 /home/x728bat_v1.2.py
62  python3 /home/pi/x728bat_v1.2.py
63  sudo python x728bat_v1.2.py
64  sudo python x728pld.py
65  date
66  sudo hwclock -r
67  @.:~ $ cd x728/
68  @.:~/x728 $ python3 /home/pi/x728bat_v1.3.py
69  python3: can't open file '/home/pi/x728bat_v1.3.py': [Errno 2] No such file or directory
70  @.:~ $ python3 /home/pi/x728bat_v1.2.py
71  SyntaxError: Missing parentheses in call to 'print'. Did you mean print("")?
72  @.:~ $ sudo python x728bat_v1.2.py
73  ******************
74  Voltage: 3.98V
75  Battery:   78%
76  ******************
77  Voltage: 3.98V
78  Battery:   78%
79  ******************
80  KeyboardInterrupt
81  @.:~ $ sudo python x728pld.py
82  1.Make sure your power adapter is connected
83  2.Disconnect and connect the power adapter to test
84  3.When power adapter disconnected, you will see: AC Power Loss or Power Adapter Failure
85  4.When power adapter disconnected, you will see: AC Power OK, Power Adapter OK
86  Testing Started---AC Power Loss OR Power Adapter Failure---
87  ---AC Power OK,Power Adapter OK---
88  ---AC Power Loss OR Power Adapter Failure---
89  ---AC Power OK,Power Adapter OK---
90  KeyboardInterrupt
91  @.:~ $ sudo python x728pld.py^C
92  @.:~ $ date
93  Wed 19 May 13:33:27 BST 2021
94  @.:~ $ sudo hwclock -r
95  2021-05-19 13:33:38.713451+01:00
96  @.***:~ $
97  history > history.txt
Using username "pi".
@.***'s password:
Linux guides-pc 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed May 19 01:29:53 2021 from <IP_ADDRESS>
SSH is enabled and the default password for the 'pi' user has not been changed.
This is a security risk - please login as the 'pi' user and type 'passwd' to set                                                                              a new password.
@.:~ $ x728off
X728 Shutting down...
@.:~ $ x728off
/usr/local/bin/x728softsd.sh: line 5: echo: write error: Device or resource busy
X728 Shutting down...
@.:~ $ cd /usr/local/bin/
@.:/usr/local/bin $ sudo x728softsd.sh
/usr/local/bin/x728softsd.sh: line 5: echo: write error: Device or resource busy
X728 Shutting down...
@.:/usr/local/bin $ cd ~
@.:~ $ ls
AlignmentSystem  img.jpg                mongobinaries  test.jpg
Calib            Imgs                   OAS            webinterface
comands.txt      Medida_Desplazamiento  PyMongo        x728
@.:~ $ ls
AlignmentSystem  GPIO_13_Set.py  Medida_Desplazamiento  PyMongo       x728
Calib            img.jpg         mongobinaries          test.jpg
comands.txt      Imgs            OAS                    webinterface
@.:~ $ sudo python GPIO_13_Set.py
GPIO_13_Set.py:5: RuntimeWarning: This channel is already in use, continuing any                                                                             way.  Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(13, GPIO.OUT)
@.:~ $ htop
@.:~ $ sudo python GPIO_13_Set.py
GPIO_13_Set.py:5: RuntimeWarning: This channel is already in use, continuing anyway.  Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(13, GPIO.OUT)
@.:~ $ sudo python GPIO_13_Set.py
@.:~ $ sudo python GPIO_13_Set.py
@.:~ $ sudo python GPIO_13_Set.py
@.:~ $ ^C
@.:~ $ sudo hwclock -r
hwclock: Cannot access the Hardware Clock via any known method.
hwclock: Use the --verbose option to see the details of our search for an access method.
@.:~ $ data
-bash: data: command not found
@.:~ $ date
Wed 19 May 15:11:49 CEST 2021
@.:~ $ sudo hwclock -w
hwclock: Cannot access the Hardware Clock via any known method.
hwclock: Use the --verbose option to see the details of our search for an access method.
@.:~ $ sudo pyton /home/pi/x728bat_v1.2.py
sudo: pyton: command not found
@.:~ $ ls
AlignmentSystem  Calib  comands.txt  GPIO_13_Set.py  img.jpg  Imgs  Medida_Desplazamiento  mongobinaries  OAS  PyMongo  test.jpg  webinterface  x728
@.:~ $ cd x728/
@.:~/x728 $ ls
README.md x728bat.py x728pld.py x728.sh
@.:~/x728 $ sudo pyton x728bat.py
sudo: pyton: command not found
@.:~/x728 $ sudo python x728bat.py

Voltage: 3.99V
Battery:   90%

Voltage: 3.99V
Battery:   90%

Voltage: 3.98V
Battery:   90%

^CTraceback (most recent call last):
File "x728bat.py", line 44, in
time.sleep(2)
KeyboardInterrupt
@.:~/x728 $ sudo python x728pld.py
1.Make sure your power adapter is connected
2.Disconnect and connect the power adapter to test
3.When power adapter disconnected, you will see: AC Power Loss or Power Adapter Failure
4.When power adapter disconnected, you will see: AC Power OK, Power Adapter OK
Testing Started---AC Power OK,Power Adapter OK---
---AC Power Loss OR Power Adapter Failure---
---AC Power OK,Power Adapter OK---
---AC Power Loss OR Power Adapter Failure---
^CTraceback (most recent call last):
File "x728pld.py", line 20, in
raw_input("Testing Started")
KeyboardInterrupt
@.:~/x728 $ x728off
/usr/local/bin/x728softsd.sh: line 5: echo: write error: Device or resource busy
X728 Shutting down...
@.***:~/x728 $

Hello geekworm-com,
I have created a clean Raspberry PI installation for you on the faulty machine and exposed the SSH port. Most probably it won't work if you try to install everything and shut it down.
IP: <IP_ADDRESS>
Port: 5555
Uname: pi
Passwd: raspberry
Let me know.
Thanks,
Dragos E.

Hi,
I don't understand what you are proposing. But no worries, as I had said,
after running my script it has worked and still does.
I will update my pots next week.
One this that it could help me a is knowing if is possible to disable
restart function associated with a short push in the button. May be just
removing some part on the RB scripts. Even more impresive could be made
software shut down when user make two fast clicks on button. I don't know
how feaseble, but sure it would help more people tunning board behaviour
according theirs needs.
Thanks,
Miguel
El jue., 20 may. 2021 14:04, Blackcode @.***> escribió:

Hello geekworm-com,
I have created a clean Raspberry PI installation for you on the faulty
machine and exposed the SSH port. Most probably it won't work if you try to
install everything and shut it down.
IP: <IP_ADDRESS>
Port: 5555
Uname: pi
Passwd: raspberry
Let me know.
Thanks,
Dragos E.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/geekworm-com/x728/issues/1#issuecomment-845347381,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEUGZFBJ7O3UPOHSUKKLGBTTOVFKXANCNFSM44PDTDZQ
.


Support configuring additional PYTHONPATH paths

This adds the ability to add additional locations in the repository to PYTHONPATH, so that absolute imports can be resolved from pylint.
Sample .codeclimate.yml:
plugins:
  pylint:
    enabled: true
    channel: "beta"
    PYTHONPATH:
      - src

This can in theory be solved by adding an init-hook, but that can affect pylint depending on the directory in which it is invoked (e.g. using . and running pylint from a different directory)

I'm not sure if there are places I need to update the documentation.

OK, I've added a word or two in README.

@caiofbpa I've removed the nesting within the config key as requested.

hey @caiofbpa, is it possible to cut a release and ask the folks over at CodeClimate to publish it? This isn't urgent, but would be nice to have :)

@lowjoel I've asked them to do so, and I'll also work with them to try to automate that process. Thanks for the heads up!


⚠ Samsung has degraded performance

In 5b0ac16, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2717 ms

Resolved: Samsung performance has improved in 87c5c03.


feat: add descriptions to the UI

Description

Make the UI easier to understand.

Detects aviutl that has been added manually.
Displays information to help you decide which version to install.
Clarifies how to add packages.

Related Issue

Motivation and Context

How Has This Been Tested?

You can see it visually.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

I fixed it.


Fix overlapping login images on large displays

Hi @pranjay-poddar
Amazing project and effort!
I would like to fix the overlapping login images on large displays as shown in the video attached. This seems to be both in the Hospital and Patient login section.
I would like to fix this as part of my Hacktoberfest 2022 contribution
Hope this will help, thank you
https://user-images.githubusercontent.com/16000608/193413552-f4c6baab-d558-4c9e-a9ce-79b85487771a.mp4

i would like to take this issue


Feat(dlt): Add support for generation of nested dlt tables

This is an update to the dlt integration and adds support for nested DLT tables, fixes: #3545

Each row in all (root and nested) data tables created by dlt contains a unique column named _dlt_id (row key), but only parent tables contain the _dlt_load_id.
Since each dlt nested table contains a column named _dlt_parent_id referencing a particular row (_dlt_id) of a parent table (parent key), this is used to join and get the parent _dlt_load_id to be used for the incremental model.

Thanks for the review @georgesittas addressed comments and revised the code if you want to have another look


Add ability to edit workspace config from client extension

Is your feature request related to a problem? Please describe.
Make it possible for editor extension to set and get properties in the workspace config via a client extension.
Describe the solution you'd like
Minimal API for accessing the already implemented Config implementation (cf. #1496) via client extension, so something like
// plugin-component.js
const {
  config
} = props;

await config.setForPlugin(name, key, value);

Additional context
The overall setting and getting functionality was already implemented by #1494

Child of #1496

This will probably also help when it comes to implementing deployment configuration savings, cf. https://github.com/camunda/camunda-modeler/issues/1066

Already exposed via https://github.com/camunda/camunda-modeler/commit/6abc68acf14918cfd334a247256ddffaed266f54, I will add a minimal example on how to use it in client extensions.

The TestClient plugin offers a minimal example of how to use the config API in client extensions.
Closed via d868bdb38f9d573556a409126cff4c4c8ab8d2a4


Tweak default fog settings for better appearance

Increase the default non-volumetric fog density to 0.01 to make adjustments more visible.
Use a less saturated non-volumetric fog color by default (a mix of the sky and horizon colors of the new default ProceduralSkyMaterial).
Set Volumetric Fog Gi Inject to 1.0 by default. Injecting GI results in more realistic appearance of volumetric fog, at a very low performance cost. This has no performance cost if no GI technique is used in the current scene.

This also clarifies the GI techniques volumetric_fog_gi_inject works with.
Note: Doesn't break compatibility with 3.x projects as fog settings were already changed in master.
Testing project: test_fog_settings.zip
Preview
The test scene uses SDFGI to provide global illumination, which volumetric fog supports.
No fog

Non-volumetric fog
Aerial Perspective and Sun Scatter are still not enabled by default, since they have a non-negligible performance cost, especially when both are enabled.

Before
After

Volumetric fog

Before
After

Non-volumetric fog + Volumetric fog

Before
After

This is good but needs rebasing.

Rebased and tested again, it works as expected.

Thanks!


large number of files with no Apache source header

This can easily lead to -1s on release votes
Found with Apache Rat. https://creadur.apache.org/rat/
./.bazelrc
./.bazelversion
./.clang-format
./.gitignore
./.licenserc.yaml
./CHANGELOG.md
./CNAME
./CODE_OF_CONDUCT.md
./DISCLAIMER-WIP
./README.md
./WORKSPACE
./bazel.gpg
./repositories.bzl
./Docker/Dockerfile
./Docker/Dockerfile_mac
./api/README.md
./api/ip_address.config
./documents/doxygen/.gitignore
./documents/doxygen/Doxyfile
./documents/doxygen/DoxygenLayout.xml
./documents/doxygen/doxygen_html_style.css
./documents/doxygen/header
./documents/file/prometheus.yml
./monitoring/README.md
./monitoring/prometheus/prometheus.yml
./platform/consensus/ordering/geo_pbft/README.md
./platform/consensus/ordering/pbft/README.md
./platform/networkstrate/README.md
./platform/statistic/README.md
./platform/test/test_data/kv_config.config
./platform/test/test_data/server.config
./scripts/deploy/README.md
./scripts/deploy/config/key_example.conf
./scripts/deploy/config/kv_performance_server.conf
./scripts/deploy/config/kv_server.conf
./scripts/deploy/config/poe.config
./scripts/deploy/config/template.config
./scripts/deploy/data/cert/node6.key.key.pri
./scripts/deploy/data/cert/node6.key.key.pub
./scripts/deploy/data/cert/node6.key.pri
./scripts/deploy/data/cert/node6.key.pub
./scripts/deploy/data/cert/node7.key.key.pri
./scripts/deploy/data/cert/node7.key.key.pub
./scripts/deploy/data/cert/node7.key.pri
./scripts/deploy/data/cert/node7.key.pub
./scripts/deploy/data/cert/node8.key.key.pri
./scripts/deploy/data/cert/node8.key.key.pub
./scripts/deploy/data/cert/node8.key.pri
./scripts/deploy/data/cert/node8.key.pub
./scripts/deploy/data/cert/node9.key.key.pri
./scripts/deploy/data/cert/node9.key.key.pub
./scripts/deploy/data/cert/node9.key.pri
./scripts/deploy/data/cert/node9.key.pub
./service/tools/config/interface/service.config
./service/tools/config/interface/service0.config
./service/tools/config/server/server.config
./service/tools/config/server/utxo_config.config
./service/tools/contract/README.md
./service/tools/contract/api_tools/client_config.config
./service/tools/contract/api_tools/config/server_config.config
./service/tools/contract/api_tools/example_contract/token.sol
./service/tools/data/cert/node6.key.key.pri
./service/tools/data/cert/node6.key.key.pub
./service/tools/data/cert/node6.key.pri
./service/tools/data/cert/node6.key.pub
./service/tools/data/cert/node7.key.key.pri
./service/tools/data/cert/node7.key.key.pub
./service/tools/data/cert/node7.key.pri
./service/tools/data/cert/node7.key.pub
./service/tools/data/cert/node8.key.key.pri
./service/tools/data/cert/node8.key.key.pub
./service/tools/data/cert/node8.key.pri
./service/tools/data/cert/node8.key.pub
./service/tools/data/cert/node9.key.key.pri
./service/tools/data/cert/node9.key.key.pub
./service/tools/data/cert/node9.key.pri
./service/tools/data/cert/node9.key.pub
./service/tools/utxo/README.md
./service/tools/utxo/wallet_tool/cpp/client_config.config
./service/tools/utxo/wallet_tool/cpp/server_config0.config
./service/utxo/config/server_config.config
./service/utxo/config/utxo_config.config
./third_party/asio.BUILD
./third_party/civetweb.BUILD
./third_party/crow.BUILD
./third_party/date.BUILD
./third_party/eEVM.BUILD
./third_party/json.BUILD
./third_party/leveldb.BUILD
./third_party/prometheus.BUILD
./third_party/rapidjson.BUILD
./third_party/snappy.BUILD
./third_party/z.BUILD
./third_party/zlib.BUILD
./third_party/loc_script/action.yml
./third_party/loc_script/src/index.js

fixed.


Please remove this repo and npm package

Having this repo is confusing a great many people (myself included).  The stats on npmjs unfortunately are not 'case specific', so the download stats for these two are the same...
https://www.npmjs.com/package/jquery
https://www.npmjs.com/package/jQuery
Even though the second repo is bogus (old).  But because of the huge daily download number, people think that the 'jQuery' repo is the correct one.  Also very confusing that the examples on the https://www.npmjs.com/package/jQuery readme don't work.  (still don't work if require('jquery') instead of require('jQuery') ).  It is really confusing having these two things out there.

+1

I've message the maintainers listed on the package and npm support, and we'll see what will happen.

3 years, remove it please to keep npm clean :+1:

There's stuff out there that depends on it. If someone wants to give me the copy/paste instructions for marking it as deprecated though I'd be happy to do that.


not installing at Mac

VCcode not installing (not running) at Mac
This is report:
Process:               Electron [1816]
Path:                  /Users/USER/Downloads/Visual Studio Code.app/Contents/MacOS/Electron
Identifier:            com.microsoft.VSCode
Version:               1.29.1 (1.29.1)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Electron [1816]
User ID:               502
Date/Time:             2018-12-17 01:30:34.464 +0300
OS Version:            Mac OS X 10.14.2 (18C54)
Report Version:        12
Anonymous UUID:        4CEEBD1A-DA13-564C-7B33-4EAE67A9D366
Time Awake Since Boot: 2400 seconds
System Integrity Protection: enabled
Crashed Thread:        0
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
Termination Reason:    DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: @rpath/Electron Framework.framework/Electron Framework
Referenced from: /Users/USER/Downloads/Visual Studio Code.app/Contents/MacOS/Electron
Reason: no suitable image found.  Did find:
/Users/polzovatel/Downloads/Visual Studio Code.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: file too short
/Users/polzovatel/Downloads/Visual Studio Code.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: stat() failed with errno=1
Binary Images:
0x109df5000 -        0x109df5ff7 +com.microsoft.VSCode (1.29.1 - 1.29.1)  /Users/USER/Downloads/Visual Studio Code.app/Contents/MacOS/Electron
0x117c39000 -        0x117cb7a67  dyld (640.2) <289AB27E-F09F-3384-A14A-100431139559> /usr/lib/dyld
0x7fff2dd73000 -     0x7fff2de7dff3  com.apple.Bluetooth (6.0.9 - 6.0.9f2)  /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth
Model: MacBookPro11,5, BootROM <IP_ADDRESS>.0, 4 processors, Intel Core i7, 2,5 GHz, 16 GB, SMC 2.30f2
Graphics: AMD Radeon R9 M370X, AMD Radeon R9 M370X, PCIe
Graphics: Intel Iris Pro, Intel Iris Pro, Built-In
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533642465238412D50422020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533642465238412D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x152), Broadcom BCM43xx 1.0 (<IP_ADDRESS> AirPortDriverBrcmNIC-1305.2)
Bluetooth: Version 6.0.9f2, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: OWC Aura SSD, 960,04 GB
Serial ATA Device: MARVELL VIRTUAL
USB Device: USB 3.0 Bus
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Bluetooth USB Host Controller
USB Device: HP LaserJet Professional P1102
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1

What steps have you done to make this happen?

Hello!
I have install in two Mac’s. One is fine, but second with similar configuration in not works
Download files for MacOS
This file looks like zip-archive
Extract zip-file
I see icon of VCStudio
Program start to running and system show the info about error as I have copy to ticket.
I did the same at another my Mac – and everything ok
I have tried to install the previous version of VCStudio – but the result is was same.
Best,
Oleg

От: João Moreno<EMAIL_ADDRESS>Обратный адрес: Microsoft/vscode<EMAIL_ADDRESS>Дата: понедельник, 17 декабря 2018 г., 11:39
Кому: Microsoft/vscode<EMAIL_ADDRESS>Копия: Oleg Berezin<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Тема: Re: [Microsoft/vscode] not installing at Mac (#65176)
What steps have you done to make this happen?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

cc @bpasero @Tyriar any thoughts?

@yevhen-m even though the symptom is the same (VSCodes does not start), there may be different reasons for it. For your case, can you please follow the steps in https://github.com/Microsoft/vscode/wiki/Native-Crash-Issues to get at more details around the crash and attach the result here? Thanks!
As for the original reported issue, maybe you could do the same to get a full crash report.

@bpasero  I guess I've found the issue:

I definitely was able to use vscode with both these switches turned on, but now it crashes when vscode was in fullscreen when quitted previosly.
code --verbose

...
[main 10:35:05 AM] windowsManager#open
2018-12-19 10:35:06.130 Electron[83552:819194] *** Assertion failure in -[NSWindowStackController _enterWindow:intoFullScreenWithWindow:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1561.60.100/WindowTabs/NSWindowStackController.m:914
[83562:1219/103506.220064:ERROR:mach_port_broker.mm(43)] bootstrap_look_up: Unknown service name (1102)


MGMT-16873: Change pull secret as part of recert reconfiguration

Post pivot will override the config.json in order to be able to pull recert image but recert will override all other places
Depends on https://github.com/rh-ecosystem-edge/recert/pull/100/files

/hold until https://github.com/rh-ecosystem-edge/recert/pull/100 get mereged

This will be great to have,,, thanks!

recert was merged

/unhold


agent.service.register doesn't take an IP address

As per the docs here: https://www.consul.io/docs/agent/http/agent.html#agent_service_register
Shouldn't agent.service.register take an IP address?
Perhaps I'm being a consul noob, but it seems hard to get a service with an IP address using the agent interface instead of the catalog interface...

I'm wondering about this as well as I'm writing an article on python-consul and Consul. Looking at Consulate it appears they recently fixed this oversight: https://github.com/gmr/consulate/commit/4d02db190b619724369dff2ae9229701a007df15
The Consul docs state it would use the address of the agent but I don't see that reflected in the output when I dump all the services:
{
    u'consul': {
        u'Address': u'',
        u'Port': 8300,
        u'ID': u'consul',
        u'Service': u'consul',
        u'Tags': [

        ]
    },
    u'my_http_service_1': {
        u'Address': u'',
        u'Port': 80,
        u'ID': u'my_http_service_1',
        u'Service': u'my_http_service',
        u'Tags': [
            u'mytag1',
            u'mytag2'
        ]
    }
}

Looks like the ability to set an address for a service was added for Consul 0.5.0
https://github.com/hashicorp/consul/blob/master/CHANGELOG.md

Will at support for this soon. Sunday at the latest.

Apologies for the delay. I've tagged and pushed up as 0.3.17

Excellent, thanks for the hard work!


Misplaced space(s) around '|' sign.

Hi, with this kind of code:
my_putchar('|');
I get this error:

Misplaced space(s) around '|' sign.

You should consider avoid this warning when there are quotes around the pipe. :)

Hello! As explained in the Known Issues: context is not handled by NormEZ. It means NormEZ doesn't make the difference between strings, characters, comments & code.

Commit 8c16f4b88da36fa38b401157cc94110c41e0b60b fixes this issue.


Extensions won't work

searching or looking for extensions on extensions tab won't work it display this massage :
we can not connect to the extension marketplace at this time , please try again later .
PS: my internet connection is good and i don't have any hardware or software/system problems.

Extensions are not working for me either after I updated to the latest version, I get this message:
Error loading webview: Error: Could not register service workers: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..

Any updates on this? Makes using VS Code very hard... This also happens with the extensions tab, where most of the content on the extension page is not loaded.
Using the developer tools, I get the following logs (VS Code 1.60.0)
main.js:116 Webview fatal error: Error: Could not register service workers: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..
(anonymous) @ VM5 main.js:116
notificationsAlerts.ts:40 Error loading webview: Error: Could not register service workers: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..
onDidChangeNotification @ notificationsAlerts.ts:40
webviewCommands.ts:28 Using standard dev tools to debug iframe based webview
main.js:116 Webview fatal error: Error: Could not register service workers: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..
(anonymous) @ VM6 main.js:116
async function (async)
(anonymous) @ VM6 main.js:116
(anonymous) @ VM6 main.js:115
notificationsAlerts.ts:40 Error loading webview: Error: Could not register service workers: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..
onDidChangeNotification @ notificationsAlerts.ts:40
(anonymous) @ notificationsAlerts.ts:26
fire @ event.ts:577
addNotification @ notifications.ts:206
error @ notificationService.ts:92
(anonymous) @ webviewElement.ts:209
(anonymous) @ webviewElement.ts:301
(anonymous) @ webviewElement.ts:301
main.js:753 Webview fatal error: Error: Could not register service workers: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..
(anonymous) @ main.js:753
async function (async)
(anonymous) @ main.js:751
(anonymous) @ main.js:280
notificationsAlerts.ts:40 Error loading webview: Error: Could not register service workers: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..
onDidChangeNotification @ notificationsAlerts.ts:40
(anonymous) @ notificationsAlerts.ts:26
fire @ event.ts:577
addNotification @ notifications.ts:206
error @ notificationService.ts:92
(anonymous) @ webviewElement.ts:209
(anonymous) @ webviewElement.ts:301
(anonymous) @ webviewElement.ts:301

Replicable. https://i.imgur.com/f2s3mu1.png
(yes I do use Linux)

Can you please share VS Code version details - Please copy and paste  the screenshot of Help -> About

I'm facing the same problem.

Try to reproduce the issue and please share following logs

Help -> Toggle Developer Tools -> Console
View -> Open View… -> Log (Window)

Also please share the gif showing the repro.
Thanks

@sandy081 I'm not sure what you mean by the gif, but I have reproduced the error by editing a markdown file (.md) and opening the preview to the side (command K V). The preview window is empty errors are reported in the dev tools - console window. Nothing in logs (window):

@jonpalle Info you shared is useful but it seems your issue is completely different than the original issue that is reported. I would suggest to open a new issue by providing above details so that the main issue here will not get distracted. Thanks.


Is there an option to do one time password for Azure MFA (i.e. if someone loses their phone and they need to MFA without it, can they call the help desk to get a temporary MFA code? If not, are there other options to MFA when you don’t have your phone or hard token?)

Is there an option to do one time password for Azure MFA (i.e. if someone loses their phone and they need to MFA without it, can they call the help desk to get a temporary MFA code? If not, are there other options to MFA when you don’t have your phone or hard token?)

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

ID: b8f14188-98ec-5c94-f408-162ee1baa076
Version Independent ID: 41ed4874-e1e6-56d3-4de4-39c024d1e06c
Content: Azure AD authentication methods
Content Source: articles/active-directory/authentication/concept-authentication-methods.md
Service: active-directory
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@eygdscybersecurity Thank you for your query. We will investigate and update this thread further.

@eygdscybersecurity There are no options like one time bypass (MFA Server) currently available for Azure MFA.
You could use Windows Hello for Business (WHfB) as a workaround as users who have logged in with WHfB will have the MFA flag in their sign-in.
If your organization is deploying MFA using a conditional access policy they could create a bypass group and make it time bound so that someone added is only allowed to be in the group for a short period of time and then after that time has elapsed the membership is emptied. But leaving someone in a group like that could open your organization up to risk.

#in-progress

Do we any option to get a temporary MFA code?  in case trusted device is lost/broken

@eygdscybersecurity no there is no option for that.

#please-close

Why was this closed?

Because it was resolved back in 2019.

From: bubbaiOS<EMAIL_ADDRESS>Sent: Friday, February 5, 2021 8:31 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: John Flores<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Is there an option to do one time password for Azure MFA (i.e. if someone loses their phone and they need to MFA without it, can they call the help desk to get a temporary MFA code? If not, are there other options to MFA ...
Why was this closed?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F25648%23issuecomment-774397132&data=04|01|Flores.John%40microsoft.com|d012430b2b02410166de08d8ca581a28|72f988bf86f141af91ab2d7cd011db47|1|0|637481827043207065|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=D10x8WNJGLm%2FQ%2BTEZwvZ8Bj28HYbDBFkon8rLFhlYl4%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGEVORJ4QZC3INLANML4PPLS5TA23ANCNFSM4GZ5UYXA&data=04|01|Flores.John%40microsoft.com|d012430b2b02410166de08d8ca581a28|72f988bf86f141af91ab2d7cd011db47|1|0|637481827043296669|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=jWoXTFgtd8GBq5Cw%2B7k1tI3ILXddNuHEwFFlLMTkolU%3D&reserved=0.

@MicrosoftGuyJFlo can you link to the solution on getting a temporary code for those who have lost their phone?

@bubbaiOS there is no option for this. An admin would have to wipe the user's registered methods and require the user to re-register for MFA.

@bubbaiOS there is no option for this. An admin would have to wipe the user's registered methods and require the user to re-register for MFA.

How is that resolved then? If Azure has information about the user, they should be able to move forward with some self-service way to reset their credentials. Conditional access knows trusted devices, previous authenticated locations, recovery email info. No reason some combination of this info couldn't be used to reasonably assist a user with a lock out situation. Now you have to have an admin go about the task, and the admin (help desk) is susceptible to social engineering because there is no good way with azure MFA to push an approve/decline  verification request to a user so that you can reasonably assume you're working with a user you can trust.


Use React hooks

Refactoring to use React hooks for asynchronous data fetching.
Partially addresses NCI-Agency/anet#1979
User changes

each section in the Search is responsible for querying and showing its own results (incl. pagination); each section will independently load (makes for a nice progressive experience), and is also responsible for showing 'No  found'
each ReportCollection visualisation (table, summary, calendar, map) is responsible for querying and showing the results (incl. pagination where relevant) meaning we now have ReportTable, ReportSummary, ReportCalendar and ReportMap, where the table and the summary retrieve paginated results, the calendar retrieves results only within the current view (e.g. month), and the map retrieves all results
each Home tile is responsible for querying and showing its own results
Excel exports have nicer worksheet names, and the mostly useless "first page of reports" worksheet is no longer present; export also limits the maximum number of results to 1000 per type/worksheet
when printing the search results, the human-readable query stanza (like the one shown in the SearchBar) is now in the heading of the page (instead of just the query text)

@gjvoosten If I create a new report, after clicking on save the blue loading indicator appears and stops somewhere near the end and stays on the page. This also happens when saving a new person, position ... didn't check further.
Also the loading indicator is quite slow, the save action already finished but the loading indicator still loads.

@gjvoosten On the admin page:

I update a setting
click on save
see "admin settings saved"
but the settings still has the old value
if I go to the admin page again through the navigation I see the setting has the correct new value

@gjvoosten On the admin page:
* I update a setting

* click on save

* see "admin settings saved"

* but the settings still has the old value

* if I go to the admin page again through the navigation I see the setting has the correct new value

Fixed.

@gjvoosten If I create a new report, after clicking on save the blue loading indicator appears and stops somewhere near the end and stays on the page. This also happens when saving a new person, position ... didn't check further.
Also the loading indicator is quite slow, the save action already finished but the loading indicator still loads.

It is due to the history rewrite after saving from a create page: it causes the edit page to get loaded, and then we navigate to the show page. The loading of the edit page never gets the chance to finish (and doesn't need to; it's just so that Back from the Show page does not go to New but to Edit). Unfortunately, this also means the loading indicator oftentimes does not get cleared. I'm open to suggestions on solving this.

@gjvoosten If I create a new report, after clicking on save the blue loading indicator appears and stops somewhere near the end and stays on the page. This also happens when saving a new person, position ... didn't check further.
Also the loading indicator is quite slow, the save action already finished but the loading indicator still loads.

It is due to the history rewrite after saving from a New page: it causes the Edit page to get loaded, and then we navigate to the Show page. The loading of the Edit page never gets the chance to finish (and doesn't need to; it's just so that Back from the Show page does not go to New but to Edit). Unfortunately, this also means the loading indicator oftentimes does not get cleared. I'm open to suggestions on solving this.

Well, commit https://github.com/NCI-Agency/anet/pull/2234/commits/1ec84bdfdcc07de5e7a16e978d9acd2d9748c06b seems to fix it.

When adding approval steps for an organization I get the following:

if I add an incomplete approval step or an empty one, I can click n the save button of the organization but nothing happens.
I would think I should get a validation error

On the Daily rollup page, I click on the end date, and while mousing over the calendar I see the start date becoming empty. When selecting a new end date I see the following error in the console:
TypeError: dateRange[0] is null
Show.js:479
changeRollupDate

@gjvoosten I go to the daily rollup page:

I see "Rollup from startDate to EndDate" as title and underneath the 2 buttons for the types of orgs
I click on an advisor org in the chart
the title changes to "Rollup for xxx from startDate to endDate"
the 2 buttons are replaced by one button: "All organizations"
if I click on the  "All organizations" button the title changes to "Rollup for undefined from startDate to endDate"
the 2 buttons for the types of orgs do not appear but the "All organizations" button stays on the page

@gjvoosten I went to the "Reports by day of the week" insight

I go to the table view

I click on the second page of the pagination and I see the expected reports

I click in the chart on a day for which we have less than 10 reports

I see in the table view No reports found

The same happens with the summary view

@gjvoosten I go to the "Pending approval reports" insight

when there are no reports pending approval the chart view displays one vertical line, the y-axis, and nothing more, I would expect it to at least also display an empty x-axis

@gjvoosten About the search :

I search on EF9, I can find an organization with the name EF9
I now search on EF, and I can also find EF9 on the 3rd page
while being on the 3rd page of org results I search on EF9
I see no results found, while I would expect it to find EF9

@gjvoosten Whe clicking on an item in the calendar the whole page gets empty, shows loading ... and than it's content gets filled ... this is a different experience for the user than when clicking on a read report link for instance from the summary view.

@gjvoosten

I go to an insights page
I change the search filter and click on search
I get redirected to the search results page, while I would expect it to filter the insight

This doesn't happen in candidate.

@gjvoosten I go to the "Pending approval reports" insight
* when there are no reports pending approval the chart view displays one vertical line, the y-axis, and nothing more, I would expect it to at least also display an empty x-axis

Reinstated showing "No data" when the chart would be empty.

@gjvoosten About the search :
* I search on EF9, I can find an organization with the name EF9

* I now search on EF, and I can also find EF9 on the 3rd page

* while being on the 3rd page of org results I search on EF9

* I see no results found, while I would expect it to find EF9

This doesn't happen in candidate.

Should be fixed now; pagination is reset if search parameters change. Please check, @maradragan.

@gjvoosten I go to the daily rollup page:
* I see "Rollup from startDate to EndDate" as title and underneath the 2 buttons for the types of orgs

* I click on an advisor org in the chart

* the title changes to "Rollup for xxx from startDate to endDate"

* the 2 buttons are replaced by one button: "All organizations"

* if I click on the  "All organizations" button the title changes to "Rollup for undefined from startDate to endDate"

* the 2 buttons for the types of orgs do not appear but the "All organizations" button stays on the page

This doesn't happen in candidate.

This is fixed.

@gjvoosten I went to the "Reports by day of the week" insight
* I go to the table view

* I click on the second page of the pagination and I see the expected reports

* I click in the chart on a day for which we have less than 10 reports

* I see in the table view No reports found

* The same happens with the summary view

This doesn't happen in candidate.

Should be fixed now, please check.

@gjvoosten Whe clicking on an item in the calendar the whole page gets empty, shows loading ... and than it's content gets filled ... this is a different experience for the user than when clicking on a read report link for instance from the summary view.
This also happens in candidate, I will make an issue for it.

No need for a new issue, I fixed it in this branch/PR.

@gjvoosten Whe clicking on an item in the calendar the whole page gets empty, shows loading ... and than it's content gets filled ... this is a different experience for the user than when clicking on a read report link for instance from the summary view.
This also happens in candidate, I will make an issue for it.

No need for a new issue, I fixed it in this branch/PR.

@gjvoosten On the Daily rollup page, I click on the end date, and while mousing over the calendar I see the start date becoming empty. When selecting a new end date I see the following error in the console:
TypeError: dateRange[0] is null
Show.js:479
changeRollupDate
This also happens in candidate, I will make an issue for it.

Fixed in this branch/PR in commit 38f69766533f3536c04334f1b8bdf95443fe8763

@gjvoosten
* I go to an insights page

* I change the search filter and click on search

* I get redirected to the search results page, while I would expect it to filter the insight

This doesn't happen in candidate.

Fixed.


TTL check has a different interval from the original check

If I have a check running every 5 minutes and the TTL expires on the last result, sensu starts calling the handler every 30 seconds but the check will not recover until the next 5 minute interval.
The message to the handler also increments the number of occurrences every 30 seconds which makes it impossible for the handler to identify the duration of that state or correctly determine the duration when the check is resolved.
Delaying an alert based on the number of occurrences fails to work properly because the number of occurrences goes up rapidly.

@lp0 thank you for submitting this issue! This is an interesting problem indeed. There are a few other TTL-related issues that we're taking a look at in the upcoming 0.26 release (e.g. #1282).
@portertech perhaps we should have the Sensu server compare the ttl and interval values during determine_stale_check_results? I'm not sure if we store enough state (i.e. the time of the last TTL event) in order to be able to compare it against the check interval currently, but that doesn't seem too unreasonable to me.

Without a 30 second TTL event update, the time since last check result information will be incorrect/outdated.

Suggest altering the interval in the message so that the handlers, which by default use refresh and interval to calculate the count to alert at, will automatically update for the interval change.  This should mitigate the problem when using the sensu-plugins handler, though it's a bit of a hack.
Ref: https://github.com/sensu-plugins/sensu-plugin/blob/master/lib/sensu-handler.rb#L171

The check TTL override is available in Sensu >= 0.27.0 :+1:


Connect to the cluster using hashicorp/kubernetes parameters

It would be interesting to connect to the cluster passing parameters like the hashicorp module!
Currently I am sending host, token and cluster_ca_certificate
I will need to take another approach to have two ways of connecting

By providing a kubeconfig to the provider, you can achieve any sort of configuration you want. I have no plans to support individual kubeconfig attributes on the provider block.


ARROW-5113: [C++] Fix DoPut with dictionary arrays, add tests

Also fix an error where C++ Flight failed receiving 0-sized batches.

@wesm @lihalite This makes Flight DoPut work with dictionaries. It shows that ipc::MessageReader is sufficient and there shouldn't be any explicit wrangling with dictionaries.

Thanks @lihalite . Hopefully you don't get too many conflicts on your PRs :-)


Getting Started examples seem incomplete?

When looking at the Getting Started docs (https://listjs.com/docs/), if one were to use the first example, it doesn't seem to actually do anything. You need to add the input fields for filtering and sorting. This is obvious if you read the home page, but shouldn't the example actually include this? By itself it would do nothing, right? (That's what I saw when using it as is.)

check this: https://listjs.com/examples/data-attributes-custom-attributes/
else show code

I'm sorry but I don't understand your comment. I'm not saying I don't know how to use List.js. I'm pointing out how the docs for the getting started page could possibly be improved.

I`m sorry. would you please see his issue: https://github.com/javve/list.js/issues/764

How does that issue have anything to do with what I asked? The issue you linked to has nothing to do with what I brought up here.

Yes you are right at first, at first I also suck by reading the home page. What someorn can do is at first explain with example about what listjs do, then maybe show the page that redirect to the other example.
1- with existing html
2-  Index existing list and then add
.
.
.
and so one
what my opinion, now what yours ?


feat!: incorporates ParitySharesNamespace and TailPaddingNamespace into IsReserved function

Overview
Closes #https://github.com/celestiaorg/celestia-app/issues/2138
This PR also addresses the concerns raised in the comment by introducing a distinction between two types of reserved namespaces. Namespaces within the range [0-255] are now identified as "Primary Reserved Namespaces," while any other reserved namespaces beyond this range are categorized as "Non-Primary Reserved Namespaces." Hopefully, this differentiation provides better clarity and organization regarding namespace allocation and usage within the code.
Checklist

[x] New and updated code has appropriate documentation
[x] New and updated code has new and/or updated testing
[x] Required CI checks are passing
[x] Visual proof for any user facing features like CLI or documentation updates
[x] Linked issues closed with keywords

LGTM, I like the addition of "primary". Should we also update it in the specs?

Good point, please see the updates on the specs in https://github.com/celestiaorg/celestia-app/pull/2194/commits/bbffdf33b1e8c2765cbfbd686d4c1f2a5477cb14 and https://github.com/celestiaorg/celestia-app/pull/2194/commits/7c76ff6e24b67c2d369fe9ba9c86917b9c92f23b.

Codecov Report

Merging #2194 (c0cf2cd) into main (9ea27d4) will decrease coverage by 0.03%.
The diff coverage is 20.00%.

:exclamation: Current head c0cf2cd differs from pull request most recent head b9fdc3c. Consider uploading reports for the commit b9fdc3c to get more accurate results

@@            Coverage Diff             @@
##             main    #2194      +/-   ##
==========================================
- Coverage   24.89%   24.86%   -0.03%
==========================================
  Files         127      127
  Lines       14335    14326       -9
==========================================
- Hits         3568     3562       -6
+ Misses      10400    10397       -3
  Partials      367      367

Files Changed
Coverage Δ

pkg/namespace/namespace.go
64.48% <0.00%> (-1.87%)
:arrow_down:

pkg/namespace/random_blob.go
0.00% <ø> (ø)

x/blob/types/payforblob.go
75.70% <100.00%> (-0.67%)
:arrow_down:


Typed throws name mangling & runtime

Introduce name mangling and runtime metadata support for typed throws

@swift-ci please test

@swift-ci please smoke test


UI Scale option issues

UI Scale maximum is 2.0x, I found the value is still small. because the size of fonts look like small when set to 2.0x.

Hi there. 2x is a huge scale. I'm curious what is your monitor configuration which you faced this problem.

Can you please share a screenshot which compares this app with another application font scaling?
What is your suggestion for maximum scale?

Hi there. 2x is a huge scale. I'm curious what is your monitor configuration which you faced this problem.

Can you please share a screenshot which compares this app with another application font scaling?
What is your suggestion for maximum scale?

Please see the screenshot:  1.0x and 2.0x
My computer:
Display resolution：3000x2000
Scale: 225%

The visual effect is not good, So I think ABDM scale setting should be adjusted.

Can you please share a single screenshot which contains this app (in 2x) and another app (like system settings but with your current system scale), So I can visually compare those.

Can you please share a single screenshot which contains this app (in 2x) and another app (like system settings but with your current system scale), So I can visually compare those.

Sorry, I do not use another app, Just use ABDM, Please refer to the screenshot above，These screenshot are based on my current system scale (225%). and display resolution：3000x2000.