text:
Knowledge: Describe Tarcento's feasts

Describe the contribution to the taxonomy

The default InstructLab LLM does not know Tarcento's feasts. It is mixing things and using wrong data as sources. I will enhance its knowledge with my own perspective as a citizen of Tarcento.

Input given at the prompt
Hello, do you know which are the festivals in Tarcento?

Response from the original model
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────── merlinite-7b-lab-Q4_K_M.gguf ───────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Certainly! I'd be happy to provide information about the festivals in Tarcento, Friuli Venezia Giulia. The main festivals in Tarcento include:                                                                                │
│                                                                                │
│ 1. **Tarcento's Patron Saint Festival (Festa di San Rocco):** This festival is held annually from August 9 to August 16 in honor of Tarcento's patron saint, San Rocco. The event features traditional processions, religious services, and local food and │
│ wine tasting.                                                                                │
│                                                                                │
│ 2. **Tarcento's Medieval Festival (Festa del Medioevo):** Held in July, this festival reenacts the medieval atmosphere of Tarcento with various activities such as historical reenactments, exhibitions, concerts, and workshops related to medieval       │
│ culture.                                                                                │
│                                                                                │
│ 3. **Tarcento's Art and Culture Festival (Festa dell'Arte e della Cultura):** This festival showcases local artists and artisans in various mediums, including painting, sculpture, photography, and ceramics. It is typically held in June or July.       │
│                                                                                │
│ 4. **Tarcento's Jazz and Blues Festival (Festival del Jazz e del Blues):** In August, Tarcento hosts a jazz and blues festival featuring both local and international musicians. The event includes concerts, workshops, and jam sessions.                 │
│                                                                                │
│ 5. **Tarcento's Wine and Food Festival (Festa dell'Enogastronomia):** This event celebrates the local food and wine culture in Tarcento, with tastings, cooking demonstrations, and competitions. It is usually held in September or October.              │
│                                                                                │
│ These are just a few of the festivals that take place in Tarcento throughout the year. For the most up-to-date information on event dates and schedules, I recommend checking the official websites of the festival organizers or local tourist            │
│ information resources. Enjoy your visit to Tarcento!                                                                                │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── elapsed 52.637 seconds ─╯

Response from the fine-tuned model
Mush better but still not completely accurate (Pignarûl Grant is held in January and it is written in the qna.yaml).
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ggml-model-f16.gguf ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ The Marcialonga and Festa della birra bavarese are two of the festivals held in Tarcento. Other events not to miss include the Festival dei Cuori and Festa della birra bavarese. Additionally, there is Pignarûl Grant at the end of August.              │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── elapsed 16.673 seconds ─╯

Contribution checklist

[X] The contribution was tested with ilab generate
[ ] No errors or warnings were produced by ilab generate I still get some warning but I can't understand why
[X] All commits are signed off (DCO)
[X] The qna.yaml file contains at least 5 seed_examples
[X] The qna.yaml file was linted and prettified (yaml-validator can do both)
[X] An attribution.txt file in the same folder as the qna.yaml file
[X] Content does not include PII or otherwise sensitive or confidential information
[X] Content does not include anything documented in the project's Avoid these Topics guidelines

wrong target

repo: majamassarini/taxonomy


text:
A strange bug

https://user-images.githubusercontent.com/106000018/204134528-303a3caf-5f4f-42e9-8893-8a47183e0188.mp4

I don't know what caused it

Can you post a mod list?

Can you post a mod list?

!MysteriumLib-1.1-deobf
[1.7.X]-拔刀剑附属似蛭-Nihil-r8
[残缺的al灬汉化-更多附魔]MoreEnchantments-1.7.10-1.3.2.1
[潘马斯农场]Pam's-Harvestcraft-1.7.10Lb-1.0.6-GTNH
[山樱]SlashBlade-Yamazakura-mc1.7-r4
00gasstation-mc1.7.10-0.4.0
adventurebackpack-1.7.10-1.0.5-GTNH
aether-1.7.10-v1.1.2.2
alreadydecoratingfix-1.0a
animfix-mc1.7.10-2.2.1
Anvilability-Forge-1.7.10-1.0.0
AppleCore-1.7.10-3.1.1
ATOP-1.7.10-v.1.2
Avaritia-1.7.10-1.31
backport5160-1.1m
Bamboo-2.6.8.5
bamboolight plus 1.0.0 MC1.7.10
baublelicious-1.7.10-1.2.2-final
BetterAchievements-1.7.10-0.1.0
BetterBurning-1.7.10-0.4.2
bettercrashes-1.7.10-1.1.7-GTNH
BiomesOPlenty-1.7.10-2.1.3-GTNH
BloodBlade1.3.9Final
Born+in+a+Barn+1.7.x
Botania-1.7.10-1.9.11-GTNH
BrandonsCore-1.7.10-1.0.0.13-GTNH
campfirebackport-1.7.10-1.10
Careful+Cast+Corrector-2.0
ChestTransporter-1.7.10-2.0.6
CodeChickenCore-1.7.10-1.1.6
CoFHCore-[1.7.10]3.1.4-329
CompatibilityLayerForCustomSkinLoader-ALPHA-11
CookingForBlockheads-1.7.10-1.2.13-GTNH
DarkRaven-mc1.7.2-r2
DefaultBOP-Forge-1.7.10-1.0.0
Draconic-Evolution-1.7.10-1.1.7-GTNH
Edible-Forge-1.7.10-1.0.0
ElephantFix-Forge-1.7.10-1.0.0
EnchantingPlus-1.7.10-3.0.2-d
endercore-1.7.10-0.2.11
EnderIO-1.7.10-2.3.1.48
endlessids-mc1.7.10-1.4.0-beta0003
Et_Futurum_Requiem-2.4.1-SNAPSHOT-89229f0
ExtraTiC-1.7.10-1.4.6
falsepatternlib-mc1.7.10-0.10.13
fastcraft-1.25
FastLeafDecay-1.7.10-1.4
FluorescentBar-mc1.7.2-r3
FoxExtra狐月刀改 v1.1.2(MC1710)
GodFox1.1.5Final
growthcraft-1.7.10-2.7.2-complete
HardcoreEnderExpansion-1.7.10-1.9.3-GTNH
IguanaTweaksTConstruct-1.7.10-2.2.3
industrialcraft-2-2.2.828-experimental
InputFix-1.7.10-v5
inventorytweaks-1.7.10-1.5.15
ironfurnaces-1.2.4R
KeepingInventory-1.7.10-2.1
Mantle-1.7.10-0.3.5
MaterialsPlus-1.7.10-1.2.0
Metallurgy-1.7.10-4.0.9.148
MetallurgyCore-1.7.10-4.0.5.30
ModernKeyBinding-Forge-1.7.10-2.1.0
modernsplash-1.7.10-2c17c9a
MurasamaBlade-mc1.7.2-r3.2
neodymium-1.7.10-0.1.5-11-ga7294e0
netherlicious-3.2.6
netherportalfix-mc1.7.10-1.1.1
NettyPatcher-0.2
Neutron-Forge-1.7.10-0.0.3
NoMoreRecipeConflict-1.7.10-0.3.2
NoSecrets-Forge-1.7.10-1.0.0
NotEnoughCharacters-1.7.10-1.4.8
NotEnoughItems-1.7.10-2.3.15-GTNH
NotEnoughPets-1.7.10-2.3.4
OptiFine-1.7.10_HD_U_E7
PlayerAPI-1.7.10-1.4
RenderPlayerAPI-1.7.10-1.4
SaltyMod+Expanded+[1.7.10]+[1.9.j]
Satchels-1.7.10-1.0.7
ServerPropertiesLAN-2.65-1.7.10
ShouldBeVanilla_1.7.10_1.20
SkinPort-1.7.10-v10d
SlashBlade_Zephyr-mc1.7.2-r1.2.2
Slashblade-AnvilEnchant-mc1.7.10-r1
SlashBlade-mc1.7.10-r88
SlashBladeWa-mc1.7.2-r1
SmartMoving-1.7.10-15.7-maka
SmartRender-1.7.10-2.1-1-g16592c9
SmithingInThe90'S-1.7.10-1.1.0
SoundFilters-0.8_for_1.7.X
SpecialMobs-1.7.10-3.3.13
squidless-1.7.10-0.6.1
SuperEnchants-0.5
TConstruct-1.7.10-1.9.7-GTNH
Thaumcraft-1.7.10-4.2.3.5
ThermalFoundation-[1.7.10]1.2.6-118
TiCTooltips-1.7.10-1.2.10
TofuCraft-2.1.8-mc1.7.10
torohealth-1.7.10-1.0.0
TRblade技术革新 v2.1.2[MC1.7.10]
TwilightForest-1.7.10-2.3.8.17
Uncrafted+1.7.10+(v.2.2.0)
VeinMiner-1.7.10-0.36.0.496+28a7f13
VillageNames-1.7.10-4.4.3
Waila-1.7.10-1.5.22
WailaHarvestability-1.7.10-1.1.10-GTNH
Wanderer-mc1.7.2-r1
WanionLib-1.7.10-1.8.3
Wawla-1.7.10-1.1.3-GTNH
Waystones_Jawsawn_Fork-mc1.7.10-1.0.0
weaponmod-v1.17.0
Baubles-1.7.10-1.0.1.14
CodeChickenLib-1.7.10-1.1.5.5

Everything is normal when the potion is not used
https://user-images.githubusercontent.com/106000018/204192279-d4fc889f-9c21-4180-b678-20cd0f189bf4.mp4

I think maybe the potion effect is causing the problem

Looks like we were both right. It happens if you've got a potion effect while using NEI (doesn't matter if it's the GTNH fork or the original) and mods that use TC's tab API (Satchels or TinkersConstruct). Interestingly, GalactiCraft's tab doesn't seem to have the issue.

It turns out Hodgepodge has a patch that fixes this.

It turns out Hodgepodge has a patch that fixes this.

But I CompatibilityLayerForCustomSkinLoader - ALPHA - 11 May need GasStation support, so I may not be able to use a Hodgepodge

GTNHMixins + Mixingasm should work as a substitute for GasStation (at least in its current form).

GTNHMixins + Mixingasm should work as a substitute for GasStation (at least in its current form).

I'll try

GTNHMixins + Mixingasm should work as a substitute for GasStation (at least in its current form).

The game crashed
fml-junk-earlystartup.log
latest.log
fml-client-latest.log

Oh, GTNHMixins has an issue with mods that embed Mixin (such as Satchels). The fix is to rename the jar to come first alphabetically, e.g. 00gtnhmixins-2.1.1.jar.

Oh, GTNHMixins has an issue with mods that embed Mixin (such as Satchels). The fix is to rename the jar to come first alphabetically, e.g. .00gtnhmixins-2.1.1.jar

The game is still crashing
fml-client-latest.log
fml-junk-earlystartup.log
latest.log

I think there is a conflict with the industrialcraft mod. After deleting this mod, you can enter the game normally

crash-2022-11-28_22.58.30-client.txt

Try disabling the ic2 stuff in Hodgepodge's config (every option that starts with fixIc2),

It worked. Thank makamys

Try disabling the ic2 stuff in Hodgepodge's config (every option that has Ic2 in its name).
Actually disabling fixIc2Hazmat should be enough. The crash happens because the mixin that option enables references a GregTech class.

After running for a while, the game still crashes
fml-junk-earlystartup.log
latest.log
fml-client-latest.log

crash-2022-11-29_13.55.24-server.txt

Aah, it's another GT5 assumption. Disable all the pollution stuff in the config (railcraftPollutes, furnacesPollute, rocketsPollute).

Aah, it's another GT5 assumption. Disable all the pollution stuff in the config (railcraftPollutes, furnacesPollute, rocketsPollute). (Should be fixed now in Hodgepodge 2.0.9 actually.)

Now the problem is solved, thank you :D

Gonna close this then, if Hodgepodge's fix works I'd rather not add needless hacks to fix the issue from my side.

source: gharchive/issue

authors: Omgise makamys

repo: makamys/Satchels

license: MIT

license_type: permissive

license_source: github-api


text:
Add support for Stepuptech solar inverter SG800

Hello,
I added support for Stepuptech solar inverter bought from Materfrance.
I removed the CO2 and plant tree indicators.
I also don't know how to handle clear energy function.
Nevertheless, it provides all required statistics.
For info, the tuya protocol version is 3.5.

If force is needed, it is needed. My comment was just to make sure you have checked first that it is needed (ie those dps are not returned by default, and adding force: true is effective to make the device return them). Otherwise it can cause problems of its own.

source: gharchive/pull-request

repo: make-all/tuya-local


text:
Arduino Supported ?

hi i just buy this a few module from you store
my question : this module support Arduino IDE or not ?

Hi,
Pitaya Go does not support Arduino IDE currently. As it is based on nRF52840, it may be easy to port arduino on it.

authors: aenccambodia caizelin

repo: makerdiary/pitaya-go


text:
🛑 Jakarta - hostdata.id is down

In f2fca6d, Jakarta - hostdata.id ($SITES_SERVER_ID) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Jakarta - hostdata.id is back up in a2ac6a2 after 3 hours, 19 minutes.

repo: malang-dev/upptime


text:
🛑 Jakarta - hostdata.id is down

In 000d7e0, Jakarta - hostdata.id ($SITES_SERVER_ID) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Jakarta - hostdata.id is back up in 75e90b6 after 17 minutes.


text:
Erroneus activation when computer locked/unlocked on Windows 10 Pro

I use 3RVX as a volume control on a Windows 10 Pro 64-bit system. My volume shortcut is set to WINDOWS KEY + mouse wheel Up / Down. This works fine normally.
But:
If I lock my desktop with WINDOWS KEY + L, and then unlock by entering my password, when I next scroll the mouse wheel the volume changes up/down. It should not change because I am not still holding the WINDOWS KEY. It seems that 3RVX has not detected the release of the WINDOWS KEY after I locked my screen.
Workaround:
If I press and release the WINDOWS KEY then 3RVX works properly again, i.e. the volume only changes when the WINDOWS KEY is held and the mouse wheel is scrolled at the same time.
Can you add some code to the hotkey routines to check the current status of the WINDOWS KEY (and other accelerator keys) to fix this?

Good analysis. I have this same problem, associated it with not properly checking Windows Key state on unlock, but didn't consider that the problem may be a residual state from Window Key + (L)ock, which I also use frequently.

license_source: bigquery


text:
Feature/1209 documentation with jsdoc

アドベントカレンダー2024  12/09の記事を書きました。

見やすくなりました。ありがとうございます。

@kudoh @kondoumh
12/9の記事、内部レビュー完了しました。
レビュー、マージよろしくお願いします。

repo: mamezou-tech/mamezou-tech-site

license: ISC


text:
fix parse responses that begins with \r\n

New fix for parse http responses that begins with \r\n characters before http protocol line, plus tests.

Hi. Where in the HTTP spec it says these must be skipped?

The RFC says that a response have to start with a status line (https://tools.ietf.org/html/rfc2616#section-6). I encountered some servers that unfortunately send a bunch of \r\n lines before send a status line.
I'm going to investigate how ruby's net/http/response handles this situation.

Sorry, my fault. I forgot to close socket between calls and some trailing \r\n were passed to next request.

authors: asterite mmacia

repo: manastech/crystal


text:
Expose Response stream

I need to access the underlying response stream. Is there an existing way to do it, if not can you please add this feature.

Thanks for the issue Jeff.
I'll add this feature tonight or tomorrow.

Thanks @mandest

authors: jeff-pang mandest

repo: mandest/Nap

license: mit


text:
Error with Vector Exception Handler

With this sample: 16d1d189a2bdcff3389b83dcf767152722cf66d445990c4d8dd1bde4ab6aec57
It install vector exception handler, by RemoveVectoredExceptionHandler, then AddVectoredExceptionHandler, and execute int 3 to redirect execution to new VectorExceptionHandler
In speaky easy code, speakeasy\windows\winemu.py, class WindowsEmulator, method _hook_interrupt don't check VectorExceptionHandler list and call proc in that list to handler interrupt.
I have made some changes in kernel32.py and win32.py to add RemoveVectoredExceptionHandler API:
    @apihook('RemoveVectoredExceptionHandler', argc=1)
    def RemoveVectoredExceptionHandler(self, emu, argv, ctx={}):
        '''
        ULONG RemoveVectoredExceptionHandler(
            PVOID Handle);
        '''
        Handler = argv
        emu.remove_vectored_exception_handler(Handler)
        return 1

And:
    def remove_vectored_exception_handler(self, handler):
        """
        Remove a vectored exception handler
        """
        if handler in self.veh_handlers:    # check the handler existed in the self.veh_handlers list
            self.veh_handlers.remove(handler)

Hope you will fix this bug in method _hook_interrupt soon
Thanks

would you please submit these changes as a PR so that we can merge them?

Sorry my friend, @williballenthin
I still could not find how to fix that bug by change the code in WindowsEmulator._hook_interrupt, and I've edited and changed speakeasy's original code a lot, so I'm afraid I can't pull the request.
Hope you can understand what I mean about this bug
Tks and best regards,
TQN (HTC)

authors: HongThatCong williballenthin

repo: mandiant/speakeasy


text:
🛑 Mesa Freeworld is down

In 72145b6, Mesa Freeworld (https://nonfree.eu) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mesa Freeworld is back up in f2523b5 after 12 minutes.

repo: manjaro-contrib/upptime


text:
Showing links to the related resource even without having view permission

BelongsToDependency field shows a link to the related resource even without having view permission. When the link is followed, it causes the user to be redirected to the 403 page. I would expect it to respect the policies similar to Nova's built-in BelongsTo field.
For example, the user in the case below is not authorized to view either company or department resource. But as you can BelongsToDependency shows a link.

BelongsTo::make('Company'),

BelongsToDependency::make('Department')
    ->dependsOn('company', 'company_id'),

@tharindu-abans  Add ->viewable(false)
Example:
BelongsTo::make('Company'),

BelongsToDependency::make('Department')
    ->dependsOn('company', 'company_id')->viewable(false),

authors: JDiGregorio tharindu-abans

repo: manmohanjit/nova-belongs-to-dependency


text:
caniusepython3.com lists validator.py as a blocker for python 3 migration

See https://caniusepython3.com/project/validator.py.
As the the 3.4 tests pass (https://travis-ci.org/mansam/validator.py), maybe it's just a matter of updating some package metadata again.
Also, what about python 3.5?

Certainly sounds like a metadata problem-- it's 2/3 compatible and tested from 2.6 through 3.4 (and should work on 3.5, though I'm going to add another line to the the travis file to explicitly test that).

Thanks again for your thorough reporting. I've updated the package classifiers, and the travis test matrix now includes 3.5. I've cut a new release for PyPI, and now caniusepython3 shows the all clear.

authors: eli-b mansam


text:
PydanticUndefined is shown even if there is a default_factory

Currently PydanticUndefined is shown if there is a default factory.
Source
habapp: HABAppConfig = Field(default_factory=HABAppConfig, in_file=False)

Output

I think PydanticUndefined is a bit misleading since the default is not undefined.
How about [has default] (so it's the same as with [required]) so it's clear that the field will have a default when created.
Possible output:

Thanks for pointing this out! Technically, it is correct to have the PydanticUndefined default value because the default value is not known until object instantiation of the corresponding class that inherits from pydantic BaseModel. The documentation is generated from the class and not from instances of it.
However, for documentation purposes, a rather non technical label/marker is more appropriate, I agree. You've proposed the [has default] marker. That's a good starting point. Perhaps the less the better - let's just hide the default value completely for PydanticUndefined default values because the opposite case is explicitly marked via [required].
I suggest we add a new configuration property named autodoc_pydantic_field_hide_undefined_default_value. What's your opinion on that?

Perhaps the less the better - let's just hide the default value completely for PydanticUndefined default values because the opposite case is explicitly marked via [required].

Normally I am a huge fan of keeping things short but this is imho one of the times where I think explicit is better than implicit.
If I don't know any of the internals and read the docs for the first time it's immediately clear that

values that have a default are optional
values that are required and don't have a default have the [Required] tag

If there is no [Required] tag and no default things are ambiguous and it's not clear if the field can be omitted.
Thus I really thing there should be some kind of marker that indicates that I don't have to specify a value for this field.
How about the opposite of [Required]: [Optional]?
The config switch could than be named autodoc_pydantic_field_show_default_factory_as_optional.

You have convinced me - let's be more explicit.
In support of your point, the optional/required tag might be even necessary even if the type already contains Optional[int] because:

field_a: Optional[int] is indeed optional
while field_b: Optional[int] = ... is required

I added an example section outlining all these possibilities here. Taking a closer look at this example, it becomes evident that all = PydanticUndefined could be converted into [Optional].
So, taking this into account, what about autodoc_pydantic_field_mark_undefined_as_optional?

I think show instead of mark would be more consistent with the already existing configuration options.
How about autodoc_pydantic_field_show_pydantic_undefined_as_optional?
autodoc_pydantic_field_show_undefined_as_optional is fine, too.
Thank you for your help!

Let's go with autodoc_pydantic_field_show_optional for all fields which are not obviously optional (e.g. field: int = 1). Thanks for sharing your thoughts on those naming conventions - really appreciate it.

@spacemanspiff2007 This feature request should be accomplished via #117

Documentation on the new configuration property autodoc_pydantic_field_show_optional: click
Updated documentation on the example for required/optional fields: click

By the way, I took the chance to modify how the default value is fetched from pydantic fields. This results in properly showing the default value None for all plain optional fields such as field: Optional[int].
Before merging the related PR, it would be great if you could test the behavior on your site. To do so, please install the current dev release in your doc-building-environment via pip install git+https://github.com/mansenfranzen/autodoc_pydantic.git@v1.7.0-a.1 and rebuild your docs.

Looks good! Thank you for the quick implementation!


text:
Added favicon link in index.html

@mansiruhil13 I had added favicon in home page,kindly review and accept the changes.

on other pages, favicon is different from this one.

Thank you


text:
Make post reactive in posts.single route

Fix https://github.com/mantrajs/mantra-sample-blog-app/issues/48

A few tests are failing. Could you fix them as well?
Run npm  test

This is fixed now in the master branch.

Thanks @arunoda

authors: arunoda sungwoncho

repo: mantrajs/mantra-sample-blog-app


text:
Replace production code asserts with if-based checks and exception raises

This PR replaces some production code asserts with if-based checks and exception raises (when appropriate) to simulate the use of assertions without the related risks. It's considered a best practice to avoid the use of asserts in production code as they may be ignored during processing by using the python -O flag (optimization mode) and could be replaced with more specific exception types + messages.
Thanks for any feedback!
Closes #64

Thanks @miltondp and @falquaddoomi ! Merging this in.

repo: manubot/manubot-ai-editor


text:
mv

能否支持一下mv的播放

当前版本不会新加功能了，等开发新版本会加上

好滴，期待最新版本


text:
"Uncaught Error: Module did not self-register." when using a file as database

Hello there,
i'm kinda new to nodewebkit and trying to get sqlite3 to work with it.
Operating system:
Win 8.1 X64
Tools used:
Python 2.7                  (Installed via "npm install -g windows-build-tools")
MS Developers Tools (Installed via "npm install -g windows-build-tools")
Nodejs 7.5 X64
NW 0.20.1 X64 SDK
I compiled node-sqlite3 with the following command:
npm install sqlite3 --build-from-source --runtime=node-webkit --target_arch=x64 --target=0.20.1

See output:
sqlite3.install.txt
I can use sqlite without problem when using a memory db. But when I want to use a filedb it gives me everytime Module unregistered errors:

Uncaught Error: Module did not self-register.
at Object.Module._extensions..node (module.js:640:18)
at Module.load (module.js:512:32)
at tryModuleLoad (module.js:471:12)
at Function.Module._load (module.js:463:3)
at Module.require (module.js:522:17)
at require (internal/module.js:20:19)
at Object. (D:\SQLITETEST\app\node_modules\sqlite3\lib\sqlite3.js:4:15)
at Module._compile (module.js:595:32)
at Object.Module._extensions..js (module.js:610:10)
at Module.load (module.js:512:32)

Usualy this error comes from having version mismatch, but i didn't upgrade any of my Tools.
Despite throwing the errors the commands get executed, but still the debug console is unusable, cause everytime a command is executed it restarts the debug window.
Index.html:
<!DOCTYPE html>
<html>
<head>
	<title>TEST SQLITE</title>
	<script src="node_modules/nw-dev/lib/dev.js"></script>
	<script>
		var sqlite3 = require('sqlite3').verbose();
		var db = new sqlite3.Database('test.db');
		//var db = new sqlite3.Database(':memory:');
		db.serialize(function() {
			db.run('CREATE TABLE IF NOT EXISTS `test` (`id` INT)');
			//THIS THROWS ERRORS WHEN USING 'test.db' AS DATABASE
		});

		db.close();
	</script>
</head>
<body>
</body>
</html>

package.json:
{
  "name": "SQLite_TEST",
  "version": "0.0.1",
  "description": "BLABLA",
  "main": "index.html",
  "author": "Me",
  "license": "GPL-3.0",
  "devDependencies": {
    "nw-dev": "^3.0.1"
  }
}

app.zip
Any ideas how to fix Module did not self-register errors?
Thx in advance.

I just tested it on 0.20.3 x64 SDK and it doesn't happen anymore.


text:
Add getClusterExpansionZoom-like property to clustered points

Hello,
First of all thanks for this library, it’s incredible!
I’m making a quite interactive map that’s plotting ten’s of thousands of dense points, so I’m using --cluster-densest-as-needed to prevent the map looking too noisy at low zooms and to keep the tiles below the size limit.
This is working great, but it’s hard to know how far to zoom in in order to expand the clustered points (to support click-to-zoom behaviour on clusters).
supercluster has a getClusterExpansionZoom (https://github.com/mapbox/supercluster#getclusterexpansionzoomclusterid) which returns the next zoom level in which the cluster is broken into fewer points - would it be possible to add similar functionality to tippecanoe’s clustering support by adding an extra clusterExpansionZoom-like property to each clustered point?
Thanks,
Austin

Thanks! Unfortunately I don't think it's possible to provide a clusterExpansionZoom property to clustered points, since when zoom level N is being created, Tippecanoe doesn't know yet what the size of the tiles at zoom level N+1 will be, and therefore doesn't know which points will be clustered at that zoom level.

Thought that might be the case. I’ll have a bit of a rethink on approach.
As an aside, I think the following in the readme is maybe incorrect:

The remaining feature will be given a "cluster": true attribute to indicate that it represents a cluster

I seem to get a "clustered": true attribute on each clustered point instead.
Thank you for the quick reply.

Thanks! I'll fix the documentation to match the actual behavior.

authors: austinbirch ericfischer

repo: mapbox/tippecanoe


text:
Is it possible to stream data to VectorTile.addGeoJSON?

Is it possible to stream geojson to a vector tile layer? (It'd be helpful for us in keeping memory use & processing down)
My read from testing and an uneducated look at the code is that it's not currently possible. It appears that VectorTile.addGeoJSON behaves like setGeoJSON (that is, it replaces the specified layer with the new geojson string.)

@hampelm sorry for way late response but your issue comes down to the fact vector tiles can not have two layers with the same name. Therefore, it is rejected when you attempt to add another layer name 'my-layer'. Use a different layer name each time perhaps, or collect all your geojson to a feature collection prior and then execute all at once on a layer.
stream.on('data', function(data) {
  vt.addGeoJSON(JSON.stringify(data.feature), 'my-layer');
});

http://mapnik.org/documentation/node-mapnik/3.5/#VectorTile.addGeoJSON

authors: flippmoke hampelm

repo: mapnik/node-mapnik


text:
addMarker callback not executed

I'm using ionic 2 and executing on Android M (device, not emulator)
I need to add a marker to a map and retain a reference so I can rotate it later. If I add it via e.g.
this.mapping.map.addMarker({'position': coords, 'icon': icon, 'rotation': 90}, (marker) => {
  alert("TEST");
});

The marker is placed but the callback is never executed. I've put some debugging output into googlemaps-cdv-plugin.js and everything looks like it's working fine, I've verified via alerts that typeof callback === "function" returns true  and that both self and marker in callback.call are objects.

Please show me the logcat output.

Attached
<
logcat.txt

[ 11-12 11:38:08.525 19893:19893 I/chromium ]
[INFO:CONSOLE(6)] "Error: Uncaught (in promise): TypeError: Cannot read property 'apply' of undefined
    at s (file:///android_asset/www/build/polyfills.js:3:8546)
    at file:///android_asset/www/build/polyfills.js:3:8918
    at t.invokeTask (file:///android_asset/www/build/polyfills.js:3:14029)
    at Object.onInvokeTask (file:///android_asset/www/build/main.js:7:10830)
    at t.invokeTask (file:///android_asset/www/build/polyfills.js:3:13965)
    at e.runTask (file:///android_asset/www/build/polyfills.js:3:11389)
    at i (file:///android_asset/www/build/polyfills.js:3:8006)", source: file:///android_asset/www/build/main.js (6)

Yes I noticed that, but I don't understand what would be causing this.

Check your main.js line 6

Ionic automatically compiles the js code, so main.js doesn't have any useful function names and the lines are ~32k characters long.

I did just realize though, that even though the map is loaded (and adding markers to it works), the MAP_READY event is never fired.

Do you wait the deviceready event?

I use ionic's platform.ready() which I believe wraps deviceready.

Could you share your project with me? (all files)
Put your code on github (or similar service), then invite me please.

I had originally set this up with an older version of node which uses extremely deep paths so my windows machine was acting up a bit with it. So I briefly created a minimal working (or rather not working :-)) example:
https://drive.google.com/file/d/0B0vMcooeFY-fT3F6NEEwWDMtTG8/

Git repository please....

Apologies, you should have a repo invite now.

I see. You use the ionic wrapper.
Actually I have not created it.
Without wrapper, you can do like this
https://github.com/ZiFFeL1992/maps-v2/blob/master/src/pages/home/home.ts

Sorry, but I'm not familiar with ionic. How to build your project?

From the root of the repo, the following steps should build and run
npm install
npm install -g ionic
cordova plugin add cordova-plugin-googlemaps --variable API_KEY_FOR_ANDROID ...
cordova plugin add cordova-plugin-geolocation
ionic run android

Ok, I built your project.
And I figured out the solution.
Just change your code like this.
ionViewDidEnter() {
  this.platform.ready().then(() => {
  this.mapping.initMap('map');
  this.mapping.map.on(GoogleMapsEvent.MAP_READY).subscribe(() => {
    alert("MAP_READY");
    ...
  });
});

Thank you. The map callback is fired now, but the marker callback still isn't.

It seems the ionic wrapper kills the plugin feature for some reason.
The original code style (the below code) works as I expect.
ionViewDidEnter() {
  this.platform.ready().then(() => {

    var div = document.getElementById("map");
    var map = window["plugin"].google.maps.Map.getMap(div, {
      'backgroundColor': 'white',
      'controls': {
        'compass': false,
        'myLocationButton': false,
        'indoorPicker': false,
        'zoom': false
      },
      'gestures': {
        'scroll': true,
        'tilt': false,
        'rotate': false,
        'zoom': true
      },
      'camera': {
        'latLng': {lat: 53.0, lng: 0.0},
        'tilt': 30,
        'zoom': 15,
        'bearing': 50
      }
    });

    map.on(window["plugin"].google.maps.event.MAP_READY, function() {
      map.addMarker({
        position: {lat: 53.0, lng: 0.0}
      }, function(marker) {
        alert("marker is added on the map");
      });
    });

  });
}

By the way, if you have just started with this plugin, I strongly recommend you use the maps plugin v2-beta.
The current version is written 3 years ago, and the v2-beta is written this year.
The v2-beta improves performance, lots of issues are fixed, and multiple maps are supported.
Installation is easy.
$ cordova plugin rm cordova-plugin-googlemaps
$ cordova plugin add https://github.com/mapsplugin/cordova-plugin-googlemap
s#multiple_maps --variable API_KEY_FOR_ANDROID="(API Key)" --variable API_KEY_FOR_IOS="
(API Key)"

Unfortunately, you can not use the ionic wrapper with the v2.
See the document, https://github.com/mapsplugin/cordova-plugin-googlemaps/wiki/v2-beta
And try the demo apk
https://dl.dropboxusercontent.com/u/1456061/cordova-google-maps/v2/cordova-googlemaps-v2-demo_02.apk

Brilliant thank you! I'm using v2 now without the wrapper and it works. Thank you so much for your help.
I think I've found a very minor bug in the marker btw. Lines 238 to 245 in Marker.js read
Marker.prototype.setRotation = function(rotation) {
    if (!rotation) {
        console.log('missing value for rotation');
        return false;
    }
    this.set('rotation', rotation);
    return this;
};

The issue is that 0 and 0.0 are both falsy, so setRotation(0) will not work. Perhaps something like
if (!rotation && typeof rotation !== 'number')
or even just the second condition would be better.

@janrg Thanks for inspecting. I fixed the problem position.

repo: mapsplugin/cordova-plugin-googlemaps


text:
fix self to this in remove method of overlays

there are times when native code not called when removing map.
I could not catch up to details, but I guessed this to be the cause.
by the way, self refers to window.

Thank you for pointing out, it is mistake. But you misunderstand the code.
The code have to be like this.
Circle.prototype.remove = function() {
    var self = this;
     this.trigger(this.id + "_remove");
     exec.call(this, null, this.errorHandler, this.getPluginName(), 'remove', [this.getId()]);
    Object.defineProperty(self, "_isRemoved",
         value: true,
         writable: false
     });

I think it is unnecessary to define self, but why is it necessary?
this reference is always same in this method.

@watacoz3 Sorry, I misunderstood. I first checked on my phone, so I thought the code was in callback.
Anyway, I make a point to use the variable self instead of this usually (except short code).
The reason of avoiding this is that clarify who is this?.
The keyword this indicates who called this function, but it leads to misunderstand people who is this.
That's why I use the variable self basically, except short code (such as just a few lines).
The code of remove methods are mistake of mine.
I copied the code from the map.js (I think I was tired), then I didn't notice that there is no definition self.
Thank you for pointing out.
I already fixed the code on the multiple_maps branch.

thank you for your answer and fix.
certainly handling this is easy to mistake in JS.
I think that it is good to do so.


text:
when using yarn: ERROR Program Failed to start: M_UNKNOWN_TOKEN: Unrecognised access token

When I run yarn start -- -p 9555 I get an error:
M_UNKNOWN_TOKEN: Unrecognised access token. WARN bridge [-] POST http://localhost:8008/_matrix/client/r0/createRoom (AS) HTTP 401 Error: "{\"errcode\":\"M_UNKNOWN_TOKEN\",\"error\":\"Invalid access token passed.\",\"soft_logout\":false}"
datetimeredacted ERROR Program Homeserver cannot reach the bridge. You probably need to adjust your configuration. M_UNKNOWN_TOKEN: Invalid access token passed.

Here is my config:
bridge:
  # Your homeserver server_name.
  domain: "synapse.local"
  # A internally reachable endpoint for the CS api of the homeserver.
  homeserverUrl: "http://localhost:8008"
  #homeserverUrl: "http://synapse.local"
  # Prefix of all users of the bridge.
  userPrefix: "_bf_"
  # If homeserverUrl is not reachable publically, the public address that media can be reached on.
  # mediaserverUrl: "http://example.com:8008"
  # Set this to the port you want the bridge to listen on.
  appservicePort: 9555
  # Specify a Bridge Administrator mxID
  #adminMxID: "@adman:synapse.local"

roomRules: []
# - room: "#badroom:example.com"
#   action: "deny"
# - room: "!badroom:example.com"
#   action: "deny"

datastore:
  # The datastore engine to use, either "nedb" or "postgres"
  engine: "postgres"

  # For NeDB:
  #   Location of the user and room database files, by default will be stored in the working directory.
  # For Postgres:
  #   A postgres style connection string.
  connectionString: "postgres://bifroster:password@localhost/bifrost"

purple:
  # For selecting a specific backend. One of "node-purple", "xmpp-js".
# -- For xmpp.js - You need an existing xmpp server for this to work.
  backend: "xmpp-js"
  backendOpts:
    # endpoint to reach the component on. The default port is 5347
    service: "xmpp://localhost:5347"
    # domin assigned to the component.
    domain: "matrix.localhost"
    # password needed by the component.
    password: "jam"

  # Default settings to set for new accounts, useful for node-purple. NOT used for xmpp.js
  # defaultAccountSettings:
  #   # The protocol ID (e.g. prpl-sipe)
  #   prpl-plugin:
  #     # A set of strings -> values for a plugin's settings.
  #     # Consult the documentation for your protocol for options in here
  #     server: sip.unstable.technology:5061
  #     encryption-policy: obey-server
  # backendOpts:
  # # Should the backend output extra logging.
  #   debugEnabled: false
  # # Where are the plugin libraries stored.
  #   pluginsDir: "/usr/lib/purple-2"
  # # Where should purple account data be stored.
  #   dataDir: "./purple-data"
  # # Should only one plugin be enabled (to simplify userIds / commands).
  #   soloProtocol: "prpl-sipe"
  # # Extra options for protocols.
  #   protocolOptions:
  #   # The protocol ID (e.g. prpl-sipe)
  #     prpl-plugin:
  #       # When the user passes in a username to "accounts add", it should use this format.
  #       # The format will replace % with the passed in username.
  #       usernameFormat: "%@my-domain"

  # OR
  # backend: "node-purple"
  # backendOpts:
  #   # endpoint to reach the component on. The default port is 5347
  #   service: "xmpp://localhost:5347"
  #   # domin assigned to the component.
  #   domain: "matrix.localhost"
  #   # password needed by the component.
  #   password: "jam"

# Matrix forwards room aliases join requests matching a regex in the
# registration file to the owner's bridge, if the room doesn't exist.
# The following options allow you to configure how the purple bridge may
# match those aliases to remote rooms.
portals:
  # Enable gateway support for protocols that support them, e.g. xmpp.js
  enableGateway: false
  # List of regexes to match a alias that can be turned into a bridge.
  aliases:
    # This matches #_bifrost_ followed by anything
    "/^_bifrost_(.+)$/":
      # Use the xmpp-js protocol.
      protocol: "xmpp-js"
      properties:
        # Set room to the first regex match
        room: "regex:1"
        # Set the server to be conf.localhost
        server: "regex:2"

# Automatically register users with accounts if they join/get invited
# a room with a protocol they are not bound to.
# This is REQUIRED for xmpp.js to work.
autoRegistration:
  enabled: true
  protocolSteps:
  # For xmpp.js, please use:
    xmpp-js:
      type: "implicit"
      parameters:
        username: "<T_LOCALPART>_<T_DOMAIN>@matrix.localhost"

# Set up access controls for the bridge
# access:
#   accountCreation:
#     whitelist:
#       - "^@.*:yourdomain$"

# Available subsitution variables for parameters:
# <T_MXID> - The users mxid.
# <T_MXID_SANE> - The users mxid, with an : replaced with _ and the @ discarded.
# <T_DOMAIN> - The users domain.
# <T_LOCALPART> - The users localpart.
# <T_DISPLAYNAME> - The users displayname, or localpart if not set.
# <T_GENERATEPWD> - Generates a 32 char password
# <T_AVATAR> - The MXC url of the users avatar, if available.

## This is how to autoregister folks with prosody (xmpp)
## with the included lua script in extras. This applies to node-purple (NOT xmpp.js)
#   protocolSteps:
#       prpl-jabber:
#           type: "http"
#           path: "http://localhost:5280/register_account/"
#           opts:
#               method: "post"
#               usernameResult: null
#           parameters:
#               username: "m_<T_LOCALPART>"
#               nick: "<T_DISPLAYNAME>"
#               password: "<T_GENERATEPWD>"
#               auth_token: "bridge-token"
#               ip: "127.0.0.1"
#           paramsToStore:
#               - password

# Enable prometheus metrics reporting.
# This will report metrics on /metrics on the same port as the bridge.
metrics:
  enabled: true

provisioning:
  # Can users use ""!purple" in a room to bridge it to a group.
  enablePlumbing: false
  # Required power level to bridge a room into a group.
  requiredUserPL: 100

logging:
  # Set the logging level for stdout.
  # Lower levels are inclusive of higher levels e.g. info will contain warn and error logging.
  console: "info" # "debug", "info", "warn", "error", "off"
  # A list of files and their associated logging levels.
  files:
    "./info.log": "info"
#    "./error.log": "error"
#    "./warn.log": "warn"
#    "./debug.log": "debug"

# These are specific flags or values to tune the bridge to different setups.
# The defaults are usually fine, but adjust as needed.
tuning:
    # Do not send a message or join a room before setting a users profile for
    # the first time. This should help clients hide ugly mxids better behind
    # displaynames.
    waitOnProfileBeforeSend: true
    #  A nasty hack to check the domain for conf* to see if the PM is coming from a MUC.
    # This is only really needed for legacy clients that don't implement xmlns.
    # This is specific to the XMPP.js bridge.
    # conferencePMFallbackCheck: false
    # Don't send messages from the remote protocol until we have seen them join.
    # A list of prefixes to check for a userId.
    # This is useful for talking to remote IRC users who might not see a message
    # until after they have joined.
    # waitOnJoinBeforePM: string[];

I edited the homeserver.yaml to include the full path of the registration file (although this is different then other matrix bridges registration files which i just stuck in the /etc/matrix-synapse/app-service/ directory)
app_service_config_files:
  - "/home/dl/matrix-bifrost/bifrost-registration.yaml"

I'm not sure what to try next. Any advice or help?

Configuration issue, also unrelated to Aria Network's Bifrost fork, closing.

authors: ipqngxqbeioo maranda

repo: maranda/matrix-bifrost


text:
"Up" and "down" directions reversed

All my devices are showing them flipped. If dy is positive (start position is greater than end position), the swipe would be "up", wouldn't it?
https://github.com/marcandre/detect_swipe/blob/master/jquery.detect_swipe.js#L38

Sorry for the delay, I was travelling abroad.
And sorry for the embarassing bug... I only use left and right!
Fixed, thanks for reporting this.


text:
Update CN README to include latest changes

See https://github.com/marcelstoer/docker-nodemcu-build/compare/master@{1day}...master#diff-04c6e90faac2675aa89e2176d2eec7d8

NEW: support for building LFS
NEW: no default command
REMOVED: INTEGER_ONLY / FLOAT_ONLY parameters

@lou-lan if you find time for this in the next few weeks I would be very grateful

Again, thank you so much!

repo: marcelstoer/docker-nodemcu-build


text:
Go through Ryan Florence's list of modal recommendations

Just came by https://gist.github.com/ryanflorence/fd7e987c832cc4efaa56 . It might be a good idea to go through those issues and see how Skylight manages with them.

:+1:

authors: bebraw marcio

repo: marcio/react-skylight


text:
Change data source

Hello Marc!
Thank you for your model documentation. Can I change data source from local file (C:\Power BI Model Documenter) to Azure Analysis Services, because I want to deploy this PBI to the cloud and configure "Connect Live". I understand that need get DaxVpaView.json and DaxModel.json from Azure Analysis Services without saving on the local disk, but don't undestand how it do.
If you can suggest some other option please tell about it

Hi @dmtvasin,
Not sure if I fully understand your question. Do you want to save the model documentation to an AAS instance?
Today, if your Power BI Desktop is connected to AAS, you can already document the AAS model. Only an additional pop-up for authentication will appear during tool execution.
Please elaborate :)
--Marc

@marclelijveld
Hi Marc, I want deploy this pbix on the cloud in workspace and configure automatic update every day this pbix apps

Okay, why exactly do you want to do that? Cause the model documenter is reporting meta data, such as Power Query expressions, measure expressions etc. It is not very likely that the meta data will change in the service, unless you change elements over XMLA.
At this moment refreshing in the service is not supported, due to the fact that the Model Documenter relies on a local generated VPAX export which is placed in C:\Power BI Model Documenter As this location is not accessible from the service, you cannot refresh it.

authors: dmtvasin marclelijveld


text:
allow short, medium, long for duration flags --timeout and --expected_lifetime

backwards compatability.
Small change in fix_units_... code.

Fixes #217


text:
🛑 Video Call is down

In c1570dc, Video Call (https://jitsi01.diversolatam.com/test) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Video Call is back up in ee5218f.

repo: marcoadasilvaa/health


text:
🛑 Video Call is down

In e88144f, Video Call (https://jitsi01.diversolatam.com/test) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Video Call is back up in 361c407.


text:
🛑 Video Call is down

In 97761c5, Video Call (https://jitsi01.diversolatam.com/test) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Video Call is back up in f56e4eb.


text:
Boundary points of 2D geometry

Hi @marcomusy,
I want to find the coordinates of the boundary points to specify boundary conditions for 2D geometry like the below (geometry generated by specifying point cloud)

I am unsure how to get the coordinates of boundary points for the two ends of the geometry. On one end , I have to specify the Dirichlet and Neumann on the other end in deepxde library; so I need  the boundary coordinates separately.
Could you please give some suggestions on how we could get the boundary coordinates in vedo?

Hi, you can try to use https://vedo.embl.es/autodocs/content/vedo/vedo/pointcloud.html#delaunay2d
and then https://vedo.embl.es/autodocs/content/vedo/vedo/mesh.html#Mesh.boundaries

Hi @marcomusy,
Sorry for the late reply.
Thanks a lot for the suggestions. I could use delaunay and mesh boundaries; it works great!

I could get all the boundary points (colored red in the above image). I would like to get the indices/labels of the boundary points which lie within the square boxes.
Could you please suggest how we can get those labels?

Hi Deepa, you can create a small 3D box and use box.inside_points().
if you already know their positions the ids are in the same order as the points/vertices.
Btw, If you upgrade you vedo version you will need to change
b = delaunay2d(pts, mode='xy').c('w').lc('o').lw(1)
to
b = pts.generate_delaunay2d(mode='xy').c('w').lc('o').lw(1)

Thank you, I have the positions but those are the coordinates of all the boundary points.
Could you please let me know how to create the 3D box after plotting the geometry (show) ? Can we mark the box interatively in the plot window that appears?
Updated : b = pts.generate_delaunay2d(mode='xy').c('w').lc('o').lw(1), thank you.

in your code pids and pts.vertices are 2 aligned numpy array if i understand correctly so you can extract/slice the pids array the way you like?

how to create the 3D box after plotting the geometry (show) ? Can we mark the box interactively in the plot window that appears?

yes, you need to create a callback function that generates a new box and place it where you click.. unless you have to do this repeatedly it's probably overkilling :)
i can help you with that if needed.

in your code pids and pts.vertices are 2 aligned numpy array if i understand correctly so you can extract/slice the pids array the way you like?

I tried to visually readout the vertex labels of boundary points on one end of the geometry (to use pids and pts.vertices  and get the vertices of selective boundary pids). The label overlaps and I couldn't read it clearly (unfortunately print(lables) didn't work, since it is a mesh object) and by changing scale (labels = boundary_pts.labels('id', scale=0.5).z(0.01)) I couldn't reduce the font size of the text that appears for labels.

yes, you need to create a callback function that generates a new box and place it where you click.. unless you have to do this repeatedly it's probably overkilling :) i can help you with that if needed.

Agree :) For now , I need to do this only once. Thank you

try labels2d() instead.

Consider this option:
from vedo import *

circle = Circle(res=36)

mesh = circle.generate_mesh()
labels = mesh.labels2d('id')

# Add a pointdata array to the mesh to store the point IDs
mesh.add_ids()
mesh.color('green9').lc("white")

mboundaries = mesh.boundaries()
print(mboundaries)

pids = mboundaries.pointdata["PointID"]
print("PIDS   = ", pids)
print("POINTS = ", mesh.vertices[pids])

show(mesh, mboundaries, labels).close()

Yes, try
from vedo import *

circle = Circle(res=36)
mesh = circle.generate_mesh()

# Add a pointdata array to the mesh to store the point IDs
mesh.add_ids()
mesh.color('green9').lc("white")

mboundaries = mesh.boundaries()
print(mboundaries)

pids = mboundaries.pointdata["PointID"]
print("PIDS   = ", pids)
print("POINTS = ", mesh.vertices[pids])
labels = mboundaries.labels("PointID")

show(mesh, mboundaries, labels).close()

Thank you so much.
mesh.add_ids()
helps!
Unfortunately, I've the same issue again; the labels aren't clearly readable.

I tried to check if
 labels = boundary_pts.labels2d('id', on="points", scale=0.5)
works with mesh.add_ids(). But labels2d add labels for the boundary points from 0 ...
Could you please suggest if there is an alternative?
Thanks so much for your kind attention

No worries, in fact there is a bug in labels2d(), add
settings.use_parallel_projection = False

then make the labels smaller so they dont overlap eg  scale=0.25.

Hello @marcomusy ,
Instead of circle, I am now trying to create a rectangle geometry.
I tried,
from vedo import *

 rectangle = Rectangle([0.0, 0.0], [5.0, 1.0])
 mesh = rectangle.generate_mesh()

# Add a pointdata array to the mesh to store the point IDs
mesh.add_ids()
mesh.color('green9').lc("white")

mboundaries = mesh.boundaries()
print(mboundaries)

pids = mboundaries.pointdata["PointID"]
print("PIDS   = ", pids)
print("POINTS = ", mesh.vertices[pids])
labels = mboundaries.labels("PointID")

show(mesh, mboundaries, labels).close()

However, print( mesh.vertices) displays only 5 points and I see a warning ( vtkDelaunay2D.cxx:1419  WARN| vtkDelaunay2D (00000175765CA0F0): Edge not recovered, polygon fill suspect)
[[2.5012121 1.014475  0.       ]
 [5.        1.        0.       ]
 [5.        0.        0.       ]
 [0.        0.        0.       ]
 [0.        1.        0.       ]]

whereas, while using Circle, I could get all the points on the surface (vtkDelaunay2D).
Could you please let me know how to create ``Rectangleandgenerate_mesh()`?
I also tried,
polygon = [
        [(82, 92, 47), (87, 88, 47),  # x,y,z of vertices
         (93, 95, 47), (88, 99, 47)],
        [[0, 1, 2, 3]],  # vertex connectivity
    ]
mesh = Mesh(polygon)

Unfortunately, this also returns only 5 points when I try mesh.vertices.

Hi, what about triangulating a simple grid:
from vedo import *

mesh = Grid(s=[np.arange(0,5, 0.2), np.arange(0,1, 0.2)]).triangulate()

# Add a pointdata array to the mesh to store the point IDs
mesh.add_ids()
mesh.color('green9').lc("white")

mboundaries = mesh.boundaries()
print(mboundaries)

pids = mboundaries.pointdata["PointID"]
print("PIDS   = ", pids)
print("POINTS = ", mesh.vertices[pids])
labels = mboundaries.labels("PointID")

show(mesh, mboundaries, labels).close()

Thanks a lot; it works great!
I could get

Could you please let me know if we can create fine mesh? i.e. I would like to get more points/vertices in the domain and boundary

Hi, you can change the numpy array to any spacing np.arange(0,5,  x)

Hi @marcomusy ,
For a geometry like the following

I would like to get all the boundaries (please refer to the lines marked with black and indicated with arrows).
Using,
b = pts.generate_delaunay2d(mode='xy').c('w').lc('o').lw(1)
b.add_ids()
#vplt.show(pts, labels, dly, __doc__, bg="Mint").close()
b.compute_normals().clean().linewidth(0.1)
boundary_pts = Points(b.points()[pids], r=10, c='red5')

I could obtain the points marked with red dots as boundaries.
Could you please help me with obtaining all the boundary points (i.e. including boundaries inside the domain)?
The original geometry is added here (image) for your kind reference and I would like to get the boundary points of all the vessel branches.

authors: DeepaMahm marcomusy

repo: marcomusy/vedo


text:
Show videos in gallery

Hi, thank you for this package. It helped me a lot, but I was wondering if there is a possibility to also pick a video from the library? thanks

While this is certainly possible with UIImagePickerController, this functionality extends beyond the goals for this library. I'd suggest you fork it and try to implement it yourself. Check out http://stackoverflow.com/questions/11572757/how-can-i-choose-a-video-from-uiimagepickercontroller-and-play-it

I am using this https://github.com/ababol/react-native-video-picker it's just a quick workaround but it is working, feel free to improve it.

authors: ababol marcshilling mihaisee

repo: marcshilling/react-native-image-picker


text:
Number field comparison doesn't work for value of 0

What happened?
I have a Project with a Number field "priority". In a Board view I tried to apply a color filter that checks that "priority" <= 0. It did not apply the color to any of my notes with "priority" = 0. I tried other comparisons to see if I could get those notes to be colored.
Comparisons that did apply color to notes with priority 0 as expected were:

priority == 0
priority != 1

Comparisons that did not apply color to notes with priority 0 were:

priority <= 0
priority >= 0
priority < 1
priority > -1

Comparisons mostly worked as expected for notes with nonzero priority, except when comparing to 0.

What did you expect to happen?
I expected notes with priority 0 to be colored when applying these comparisons:

priority <= 0
priority >= 0
priority < 1
priority > -1

I expected notes with nonzero priority to be colored when checking for priority greater than or less than 0.
How can we reproduce it (as minimally and precisely as possible)?

Create new project
Add a new note to the project
Add a Number field (e.g. "priority") to the new note, with a value of 0
Add a color for the current view of the project, with the condition priority >= 0
Observe that the note is not colored

Anything else we need to know?
No response
Plugin version
1.17.1
Obsidian version
1.5.8
OS
Windows

Yes this is recognized and solved in #787 but not yet released. You can see that fixed in the next version. Sorry that I've been trapped in another plugin for a while but will soon return to make improvements on Projects.
Mark as duplicate of #786 and solved by #787.

authors: Acylation amymelody

repo: marcusolsson/obsidian-projects


text:
Atomizer: Creating atomizer from "the other" places now does not make sense

The question is: what to do? Allow "purchase"? Or an user has bad luck? From the other side - I cannot do a build on thing I do not own. So like that.

Obsolete.

repo: marek-hanzal/puff-smith


text:
[Feature] Matrix testing with multiple MariaDB and Kubernetes versions

Describe the solution you'd like
Run our test suite agains multiple MariaDB and Kubernetes versions when a commit to the release-v* branch is pushed.
Additionally, it would be great if we could automatically push the version tag after release-v* is merged.
Describe alternatives you've considered
Open to other release flow suggestions.

Accomplishing this via KIND locally on ENG desktop for now.

repo: mariadb-operator/mariadb-operator


text:
Deployment with version V0_11_3

Hello,
I have a problem when deploying to my on-promise environment.
On the first attempt (deploy new) it generates the app normally, but on subsequent attempts it returns this error:

I redid all the configurations... even before this version, it was working normally.
If anyone can help me I would be very grateful!

Thank you for creating the issue.
Do you have a better error log, maybe also from the backend?
Can you please run the ui5 tooling with --verbose .
Apparently there is an error but I don't see where exactly.

Hi !
of course !
gw_client_data_000D3A1A05B31EEDB2CF4B6402545BE7.txt

I can't see 100% which files are causing problems because the complete path is truncated, but it seems to be the typescript files.

Do you also have the exclude in your deploy yaml file?
https://github.com/marianfoo/ui5-cc-excelUpload/blob/113047d9760293a598bb17c5f79672024932cc06/ui5-deploy.yaml#L25-L26
If i remove this exclude i get similar errors:

Good afternoon!
Sorry for the delay in answering, I ended up leaving this weekend to spend with the family.
Perfect bro! In my file I didn't have the "EXCLUDE", I put it in and did the tests.. now it's back to working correctly!
Thank you very much for your help and congratulations for the excellent work !!!
An excellent day for you!

Thanks Carlos, glad it worked

authors: carlostarraf marianfoo


text:
Feature Request: Support multi-line virtual text

Draft:
local add_virtual_text = function(buffer_nr, line, lines)
        lines = vim.list_slice(lines, 3, #lines - 2)
        local virt_text = { { lines[1], "TypeVirtualText" } }
        local virt_lines = {}
        for i = 2, #lines do
                virt_lines[i - 1] = { { lines[i], "TypeVirtualText"  } }
        end
	vim.api.nvim_buf_set_extmark(buffer_nr, virtual_types_ns, line - 1, 0, {
		virt_text = virt_text,
                virt_lines = virt_lines,
	})
end

local format_virtual_text = function(text)
	local converted = vim.lsp.util.convert_input_to_markdown_lines(text, {})
	return converted
end

Hi @MunifTanjim! Your code works like a charm! I'd like to give the user the opportunity to set virtual text inline or multiline in a setup function
Thanks for your contribution!

Hi @MunifTanjim, i've just opened a PR #5. Feel free to take a look at it


text:
[FEATURE] Allow projectiles for certain bosses to land via config

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
this one is a yes and no, so I'm trying to make a RPG related modpack for a server, in version 1.20.1. now, I'm testing bosses tryna balance things out and make sure certain things are okay before making things official, I added this mod as a means to add more rpg elements and bosses.
Describe the solution you'd like
A clear and concise description of what you want to happen.
This is what I would like, a configuration for certain bosses that are immune to projectiles, respectively the fallen icon and harbinger are immune to arrow projectiles as a example, as I was testing the archer class and you basically cant be a archer (if they are wanting to main a bow only, and a side note all abilities they have are bow only), they are forced to go melee, which if they made their build right, they wont be of much help because they will be squishy (kinda, I'm doing a leveling system but that still needs balancing ofcourse).
that's for archers however, my witches, so I'm not sure if I also have to talk to the bewitchment dev team as well or if certain bosses just are flat out immune to potions (vanilla magic), they do work with the rpg spells like the frost, arcane, fire etc. but there may be a possibility that there may be a few select that would like to main or use the potions to fight bosses as well, the harm effect is null for fallen icon and their other half, but I assumed it was due to being undead atleast he looks of it, but wither and poison work, if harming doesnt work could possibly maybe make him take damage via instant health pots if not harming in a config? I brought up bewitchment as it's the witchcraft mod of the pack but I'm pretty sure it uses vanilla potion effects so I assume it's just them being immune to the effects overall.
I havent seen anything else yet but I'll probably add incase I find anything.
so in short, a config to allow potion effects to work on bosses as well as projectiles such as arrows and fire works to work against bosses so that everyone and everything has a place to shine in the class system for the modpack.

Alright, will add the config lines for projectile immunity, fire immunity and such. (Almost) all the bosses are immune to fire, and yes the Returning Knight is undead so healing potions should damage it, while the Fallen Icon (Harbinger) is not undead.

thankyou so much! the fire damage thing I kinda understand and plus it's not a major issue, even with the immunity the fire wizard can still do their magic on them as it's just a flat damage (no burn after effect which is interesting)
thisll definitely help bring things together so everyone has a spot to shine
thankyou again!~

Added the config lines, will be live next release.

authors: TranquilStar mariumbacchus

repo: mariumbacchus/Soulslike-Weaponry


text:
Int values distribution for ChartJs.Blazor radar chart

How do I get the int values distribution for ChartJs.Blazor radar chart?
The original ChartJs radar chart distribution has the type stored as int : https://www.chartjs.org/samples/latest/charts/radar.html

But, when using the ChartJs.Blazor from this repo sample, the radar chart distribution for values between 1 to 5, it is split in fractional parts as highlighted:

Thanks for the report.

The original ChartJs radar chart distribution has the type stored as int

I don't think that's true. The data-type is an array of numbers. As already mentioned in #105, all numbers in JavaScript are a 64-bit floating point number. As is a double. int is a 32-bit signed integer number. That's not the same thing. While it's easy to represent an integer number as a floating point number, it's hard or even impossible to represent a floating point as a number.
What you're seeing is chart.js choosing a step value. You haven't provided any code so I can't modify and test it but try setting StepSize for the axis. Unfortunately, radar chart is one of the charts that haven't been reworked yet so there are a lot of issues with it. You should still be able to assign a Scale object to the Scale property and then a LinearRadialTicks object to the Ticks property of that. Because it hasn't been reworked yet, this isn't as straight-forward as it's supposed to be but it's still possible. Then on that LinearRadialTicks instance, set StepSize to 1.
Please try it and share your code :)
If it works, great; otherwise I'll look into it again and try to provide the code you need.

The Scale property does not have LinearRadialTicks object defined.  Only  Cartesian Ticks is defined in this repo. Could you please fix that for me to try to set the StepSize to 1?

Apologies, of course you can't assign LinearRadialTicks to CartesianTicks. We really need to get working on the radar-rework. There's a huge amount of work to be done for release 2.0 and I hope we can correct all the errors and focus on new features moving forward.
I'm currently the only active maintainer but I'm not the owner of the project and I'm currently waiting for approval of Marius to implement new features.
Until this is fixed in a new release (which unfortunately might take a while), you can override the Ticks property in your own class. Something like this (untested):
public class RadarScale : Scale
{
    public new LinearRadialTicks Ticks { get; set; }
}

Then use that class instead of Scale.
This is the best I can do right now. Of course it shouldn't be this way and the Scale class shouldn't even exist; there's already a LinearRadialAxis (which probably also needs work).

Also, here is the complete code example for the implementation I am looking for, out of this repo.

Assigning 14 values of int List type to double List type.
Each of the 14 Values can be in the range of 1 to 5 only.

I've looked your code and the workaround I mentioned in my previous comment works. Here's the full code:
@using ChartJs.Blazor.ChartJS.Common.Properties
@using ChartJs.Blazor.ChartJS.RadarChart
@using ChartJs.Blazor.Charts
@using ChartJs.Blazor.Util

Radar Chart

    <button class="btn btn-primary" @onclick="OnClick">Add Dataset</button>

<ChartJsRadarChart @ref="_radarChartJs" Config="@_config" Width="600" Height="300" />

@code {
    private RadarConfig _config;
    private ChartJsRadarChart _radarChartJs;

    private Random _rand = new Random();

    protected override void OnInitialized()
    {
        _config = new RadarConfig
        {
            Options = new RadarOptions
            {
                Title = new OptionsTitle
                {
                    Display = true,
                    Text = "Participant's scores"
                },
                Scale = new RadialScale
                {
                    Ticks = new ChartJs.Blazor.ChartJS.Common.Axes.Ticks.LinearRadialTicks
                    {
                        StepSize = 1
                    }
                }
            }
        };

        _config.Data.Labels = new List<string> { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N" };

        List<int> fakeData = new List<int> { 2, 5, 1, 3, 1, 1, 4, 2, 3, 4, 2, 2, 2, 3 };
        List<double> y = new List<double>();
        foreach (var dataPoint in fakeData)
            y.Add(dataPoint);

        _config.Data.Datasets.Add(new RadarDataset
        {
            Data = y,
            Label = $"Participant {_config.Data.Datasets.Count + 1}",
            BorderColor = ColorUtil.RandomColorString()
        });
    }

    public async Task OnClick()
    {
        List<int> fakeData = new List<int> { 1, 1, 1, 3, 1, 1, 4, 2, 3, 4, 5, 2, 5, 3 };
        List<double> y = new List<double>();
        foreach (var dataPoint in fakeData)
            y.Add(dataPoint);

        _config.Data.Datasets.Add(new RadarDataset
        {
            Data = y,
            Label = $"Participant {_config.Data.Datasets.Count + 1}",
            BorderColor = ColorUtil.RandomColorString()
        });

        await _radarChartJs.Update();
    }

    // Workaround until ChartJs.Blazor fixes the issue
    private class RadialScale : Scale
    {
        public new ChartJs.Blazor.ChartJS.Common.Axes.Ticks.LinearRadialTicks Ticks { get; set; }
    }
}

Note that I've changed some names so I could better understand what's going on. Also I removed the call to Convert.ToDouble since int converts to double implicit, you don't need that method call.

Thanks @Joelius300 . It worked!

The issue from our side is documented in #110.


text:
run Tabledit() after DataTable() by AJAX

Hello, I have problem with two plugins:
1.I send by DataTable ajax to server and get back  json, parse it and draw the table with standart parameters(paginig, search and order).
2.after I run Tabledit and it's break
Some one know how I can run Tabledit() after DataTable()???
https://datatables.net/examples/ajax/simple.html
Tnx

Any solutions to this problem? I currently experienced the same problem im having the "jquery.tabledit.min.js:54 Tabledit Ajax fail => parsererror : SyntaxError: Unexpected token < in JSON at position 2" error on this

repo: markcell/jquery-tabledit


text:
git semver get is returning the wrong version

$ cat .git-semver
# See https://github.com/markchalloner/git-semver
VERSION_PREFIX=v

$ git semver get
v1.40.0

$ git semver major
v2.0.0

$ git push origin v2.0.0
Everything up-to-date

$ git semver get
v1.40.0

I have pushed a PR (#46) that I believe fixes this (hope it will be merged soon), please let me know if you see further issues.

authors: dangarthwaite john-tipper

repo: markchalloner/git-semver


text:
Why is map[0] seemingly +1?

Why is it that the first map number for the inline element and code block start one above where the line actually starts, but seem to end in the right place?
[](#fragment)
```js
var foo = "hello world"
```

[ { type: 'paragraph_open',
    tag: 'p',
    attrs: null,
    map: [ 0, 1 ],
    nesting: 1,
    level: 0,
    children: null,
    content: '',
    markup: '',
    info: '',
    meta: null,
    block: true,
    hidden: false },
  { type: 'inline',
    tag: '',
    attrs: null,
    map: [ 0, 1 ],
    nesting: 0,
    level: 1,
    children: [ [Object], [Object] ],
    content: '[](#fragment)',
    markup: '',
    info: '',
    meta: null,
    block: true,
    hidden: false },
  { type: 'paragraph_close',
    tag: 'p',
    attrs: null,
    map: null,
    nesting: -1,
    level: 0,
    children: null,
    content: '',
    markup: '',
    info: '',
    meta: null,
    block: true,
    hidden: false },
  { type: 'fence',
    tag: 'code',
    attrs: null,
    map: [ 1, 4 ],
    nesting: 0,
    level: 0,
    children: null,
    content: 'var foo = "hello world"\n',
    markup: '```',
    info: 'js',
    meta: null,
    block: true,
    hidden: false } ]

Because it's designed such way for convenience. See content of real source maps for js/css

authors: puzrin reggi

repo: markdown-it/markdown-it


text:
Copy/pasted the README Marked is not a constructor

Am I missing something?

Wait I was on a very old version. My bad! 😅

repo: markedjs/marked-highlight


text:
Error when trying to process locally

Using the ova download from the website. (FreeEed4.3.0)
When trying to process a file locally (both my own, and the test files included) I get the following error.
ubuntu@ubuntu-VirtualBox:~/freeeed_complete_pack$ 172143 [AWT-EventQueue-0] TRACE org.freeeed.main.PlatformUtil  - Running command: rm -fr output/freeeed-output/1003/output/results
172150 [Thread-10] INFO  org.freeeed.main.ActionProcessing  - Processing project: Demo
Processing: local
FreeEed V4.3.0, build date: Mon May 05 10:14:06 CDT 2014
172160 [Thread-10] INFO  org.freeeed.main.MRFreeEedProcess  - Running Hadoop job
172160 [Thread-10] INFO  org.freeeed.main.MRFreeEedProcess  - Input project file = output/freeeed-output/1003/output//staging/inventory
172160 [Thread-10] INFO  org.freeeed.main.MRFreeEedProcess  - Output path = output/freeeed-output/1003/output//results
172161 [Thread-10] DEBUG org.freeeed.main.MRFreeEedProcess  - project.isEnvHadoop() = false
172161 [Thread-10] DEBUG org.freeeed.main.MRFreeEedProcess  - Ready to run, inputPath = output/freeeed-output/1003/output//staging/inventory, outputPath = output/freeeed-output/1003/output//results
172161 [Thread-10] TRACE org.freeeed.main.MRFreeEedProcess  - Project
172162 [Thread-10] TRACE org.freeeed.main.MRFreeEedProcess  - create-pdf=true
culling=
custodian=ubuntu
field-separator=pipe
file-system=local
files-per-zip-staging=100
gigs-per-zip-staging=6.0
input=/home/ubuntu/Desktop/test.nsf
lucene_fs_index_enabled=false
metadata=all
new-project-name=New project
ocr_enabled=false
ocr_max_images_per_pdf=10
output-dir-hadoop=output/freeeed-output/1003/output//results
output_dir=test-output/output
preview=false
process-where=local
project-code=1003
project-file-name=test.project
project-file-path=/home/ubuntu/test.project
project-name=Demo
remove-system-files=false
run=
send_index_solr_enabled=false
skip=0
staging_dir=test-output/staging

172447 [Thread-11] TRACE org.freeeed.main.PlatformUtil  - Running command: readpst -V

172451 [Thread-11] TRACE org.freeeed.main.PlatformUtil  - Running command: wkhtmltopdf -V

172461 [Thread-11] INFO  org.freeeed.main.Map  - readpst (PST extraction): true
wkhtmltopdf (html to pdf printing): true
172462 [Thread-11] WARN  org.apache.hadoop.mapred.LocalJobRunner  - job_local_0003
java.lang.IllegalStateException: Error parsing line recent-projects=
	at org.freeeed.services.Settings.loadFromString(Settings.java:359)
	at org.freeeed.main.Map.setup(Map.java:130)
	at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:142)
	at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764)
	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:370)
	at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:212)
173382 [Thread-10] INFO  org.freeeed.main.ActionProcessing  - Staging done

More details needed

Some settings, fixed now

authors: codezomb markkerzner

repo: markkerzner/FreeEed


text:
Minimal supported java version for Java Client API 5.0.0?

What is the minimal supported java version for Java Client Api versin 5.0.0?
I am in the process of upgrading a Marklogic project to Marklogic 10.
This project still uses java 1.8 and I am  getting java.lang.UnsupportedClassVersionError when using the Java Client Api jar as downloaded from maven central.
Is it by intent that support for java 1.8 has been dropped?

Yes, the minimum version for the Java API 5.0.0 is Java 9 -- because Java 1.8 is past end of life.

Java 9 for 5.0.0

You sure that is wise?  Java 8 is in extended support for several more
years depending on vendor.  We are just in the process of cutting over from
Java 8 to Java 11 (LTS) and we are likely in the front of the pack.
On Mon, Jul 8, 2019 at 6:24 PM georgeajit notifications@github.com wrote:

Java 9 for 5.0.0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/marklogic/java-client-api/issues/1115?email_source=notifications&email_token=AAQDGTFN5VYTMAH5GH6RCFDP6PECDA5CNFSM4H44AQH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZOUBQA#issuecomment-509427904,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQDGTC2IW2QNWVHXTBHWELP6PECDANCNFSM4H44AQHQ
.

The MarkLogic Java API 4 is formally supported on the public Oracle JDK (though expected to work on other JDKs as well).
Oracle ended public updates for commercial users of the Java 8 JDK in January 2019.  That constrains our ability to support an API on the public Oracle JDK 8.
Oracle JDK was the defacto standard for public JDK 8. Rather than switching to non-standard public alternatives for JDK 8, much of the industry seems to be migrating off of JDK 8 to later JDKs.

Oracle handed RHEL (now owned by IBM)  support of the OpenJDK 8 and 11 -
the two primary Long Term Support (LTS) builds available.  Folks could use
the 'every 6 month' major version of Oracle... but most enterprises would
be crazy to do that.  (JDK 7 reaches EOL in 2020, so technically a third.)
I believe the next LTS version will be Java 17.  For those who are staying
with Oracle (I've personally got about 350k seats+server cores at our
company) an extended support license is required to use most of their JDK
offering.  If they use Oracle JDK 9, they have a license that covers access
to the current 8 and 11 LTS builds, for example.
The 'short' major releases - 9, 10 - are already EOL, without extended
support offered.  I believe 12 gets killed off this September, with the
launch of 13.  Oracle's JDK 8 EOL in 2025, JDK 11 in 2026.  The other
OpenJDK vendors are more or less doing the same EOL dates..
https://www.oracle.com/technetwork/java/java-se-support-roadmap.html
All that said... if you were to say you are supporting JDK 9+, you likely
want to say/test JDK11 (LTS).  Oracle will do their quarterly patch on July
16th, for the next rev of JDK 7, 8, 11, and 12.  AdoptOpenJDK (default
homebrew now, for OSX developers) and RHEL's OpenJDK will likely patch on
the 18th.
Just a though, from someone updating/patching/upgrading a very large number
of Java systems.  Even those willing... it has been a slow transition to
11.  Much of the Java tooling/libraries are just not able to make the
transition to the JDK 9+ format.
On Thu, Jul 11, 2019 at 11:45 AM Erik Hennum notifications@github.com
wrote:

The MarkLogic Java API 4 is formally supported on the public Oracle JDK
(though expected to work on other JDKs as well).
Oracle ended public updates for commercial users of the Java 8 JDK in
January 2019. That constrains our ability to support an API on the public
Oracle JDK 8.
Oracle JDK was the defacto standard for public JDK 8. Rather than
switching to non-standard public alternatives for JDK 8, much of the
industry seems to be migrating off of JDK 8 to later JDKs.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/marklogic/java-client-api/issues/1115?email_source=notifications&email_token=AAQDGTF22CRNEK5SL5ZOTMDP65PSNA5CNFSM4H44AQH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZXJRFY#issuecomment-510564503,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQDGTERDIBDVTOZXGLUFIDP65PSNANCNFSM4H44AQHQ
.

Uff this a bummer. We are also still stuck on Java 8 and wanted to upgrade to MarkLogic 10.
I'd also reconsider the decision to require Java 9+.

Will review this with PM, even though we have Java 9 in build.gradle for last couple of releases.

In the end, reverted to Java 8

authors: ehennum georgeajit heelix jdjo maffelbaffel

repo: marklogic/java-client-api


text:
[BUG] htmlParser: selector ignored when using settings.json

[X ] I have searched for existing issues that already reported this problem and found none
[ X] The bug for the VSCode plugin

[ ] The bug is also present in the web version of VSCode or GitHub Codespaces

Describe the bug
I'm trying to use the following equivalent options as the defaults for settings.json:
---
markmap:
  initialExpandLevel: 4
  htmlParser:
    selector: 'h1, h2, h3, h4, h5, h6'
---

The htmlParser works when using it as front matter but not in settings.json. initialExpandLevel works.
To Reproduce

Add the following to extension settings under Markmap: Default Options
{
    "initialExpandLevel": 4,
    "htmlParser": {
        "selector": "h1, h2, h3, h4, h5, h6"
    }
}

Expected behavior
Same behavior when using front matter (only show Markdown headers -- do not use *)
---
markmap:
  initialExpandLevel: 4
  htmlParser:
    selector: 'h1, h2, h3, h4, h5, h6'
---

Actual behavior
Only initialExpandLevel works and htmlParser does not work.
Environment:

OS: Windows 10

Additional context

Fixed in 0.1.6

Confirmed fixed. Thank you @gera2ld

repo: markmap/markmap-vscode


text:
Executing proc that returns an empty result set causes a "Null reference exception" when assigned to a List<>

Exception occurs here:
List<QueuedMessage> messages = _db.WorkNextMessage((int)queueType, userId);
WorkNextMessage is a stored procedure that will sometimes return an empty result set.
Is there a way to check if the result set is empty before attempting to assign it to the list, would this help?
Stack trace:
at Simple.Data.SimpleResultSet.DynamicEnumerator..ctor(IEnumerable1 source)    at Simple.Data.SimpleResultSet.GetEnumerator()    at System.Linq.Enumerable.<OfTypeIterator>d__aa1.MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Simple.Data.ConcreteCollectionTypeCreator.Creator.TryConvertElements(Type type, IEnumerable items, Array& result)
at Simple.Data.ConcreteCollectionTypeCreator.GenericListCreator.TryCreate(Type type, IEnumerable items, Object& result)
at Simple.Data.ConcreteCollectionTypeCreator.TryCreate(Type type, IEnumerable items, Object& result)
at Simple.Data.SimpleResultSet.TryConvert(ConvertBinder binder, Object& result)
at CallSite.Target(Closure , CallSite , Object )
at EMF.Connectors.Db.GetNextMessageToWork(QueueType queueType, Int32 userId) in c:\Users\CharlieBarker\Dropbox\Development\OpenSource\EmailFlow\EMF.Connectors\Db.cs:line 96
at EMF.Connectors.Processor.WorkNextMessage(Int32 userId, QueueType queueType) in c:\Users\CharlieBarker\Dropbox\Development\OpenSource\EmailFlow\EMF.Connectors\Processor.cs:line 106
at Queues_Search.btnWorkNext_Click(Object sender, EventArgs e) in c:\Users\CharlieBarker\Dropbox\Development\OpenSource\EmailFlow\EmailFlowWebUi\Queues\Search.aspx.cs:line 64
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.d__14.MoveNext()

I had a Return statement in my stored proc that would execute if now rows were found, I changed this to select from Table where 1 = 0 to return an empty rowset and everything works.


text:
I have same issue as @svoip .

I have same issue as @svoip .
I could use master but it is not ideal.
I'm using Xcode 11.3
Originally posted by @trevor-sonic in https://github.com/marmelroy/Zip/pull/155#issuecomment-581086186

This should be fixed now.

authors: marmelroy trevor-sonic

repo: marmelroy/Zip


text:
How to query wrt more parameters

How to query, for example, books category with not a torrent hash or title but with respect to year of publication of the book, or author, or subject, or genre or a combination of those.

GetStrike does not provide specific attributes for books and therefore this gem does not provide any specific options/methods for dealing with book information. Your best bet is to include the author or year in the search parameter.

authors: isikfsc marshallford


text:
fix: resetting widgets solved ref back to false on widget unmount

This PR aims to fix #75
I discovered that when the widget was unmounted and then remounted without using the reset() function, the widgetSolved state reference was not reset to false. This issue arises in cases where the widget's dynamic cData changes, causing a reset or re-render of the widget. If widgetSolved.current is set to true, it breaks the getResultPromise() function, resulting in a "No response received" error.
The issue has been fixed by setting widgetSolved.current back to false on the widget's unmount.

For some reason, the e2e tests are failing

@marsidev Do you think that this is related to the changes? They also fail locally, when i try to run them.

I don't think so. They're also failing in the main branch locally

Thanks! @kkatsi

authors: kkatsi marsidev

repo: marsidev/react-turnstile


text:
[CRASH] UniGetUI crashed

UniGetUI crashed
Error details:

                        OS: Win32NT
                   Version: Microsoft Windows NT 10.0.19045.0
           OS Architecture: True
          APP Architecture: True
                  Language: en
               APP Version: 3.1.0
                Executable: C:\Program Files\WingetUI\WingetUI.exe

Crash Message: XAML parsing failed.

Crash Traceback:
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
   at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr)
   at ABI.Microsoft.UI.Xaml.IApplicationStaticsMethods.LoadComponent(IObjectReference _obj, Object component, Uri resourceLocator, ComponentResourceLocation componentResourceLocation)
   at Microsoft.UI.Xaml.Application.LoadComponent(Object component, Uri resourceLocator, ComponentResourceLocation componentResourceLocation)
   at UniGetUI.Interface.PackageBundlePage.InitializeComponent() in C:\SomePrograms\WingetUI-Store\src\UniGetUI\obj\x64\Release\net8.0-windows10.0.19041.0\win-x64\Interface\SoftwarePages\PackageBundle.g.i.cs:line 111
   at UniGetUI.Interface.PackageBundlePage..ctor() in C:\SomePrograms\WingetUI-Store\src\UniGetUI\Interface\SoftwarePages\PackageBundle.xaml.cs:line 54
   at UniGetUI.Interface.MainView..ctor() in C:\SomePrograms\WingetUI-Store\src\UniGetUI\Interface\MainView.xaml.cs:line 51
   at UniGetUI.Interface.MainWindow.SwitchToInterface() in C:\SomePrograms\WingetUI-Store\src\UniGetUI\Interface\MainWindow.xaml.cs:line 358
   at UniGetUI.MainApp.LoadComponentsAsync() in C:\SomePrograms\WingetUI-Store\src\UniGetUI\App.xaml.cs:line 292

Please install UniGetUI 3.1.1

Have the same issue in 3.1.1:
                        OS: Win32NT
                   Version: Microsoft Windows NT 10.0.22631.0
           OS Architecture: True
          APP Architecture: True
                  Language: Unknown
               APP Version: 3.1.1
                Executable: C:\Program Files\UniGetUI\UniGetUI.exe

Crash Message: XAML parsing failed.

Crash Traceback:
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
   at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr)
   at ABI.Microsoft.UI.Xaml.IApplicationStaticsMethods.LoadComponent(IObjectReference _obj, Object component, Uri resourceLocator, ComponentResourceLocation componentResourceLocation)
   at Microsoft.UI.Xaml.Application.LoadComponent(Object component, Uri resourceLocator, ComponentResourceLocation componentResourceLocation)
   at UniGetUI.Interface.MainWindow.InitializeComponent() in C:\SomePrograms\WingetUI-Store\src\UniGetUI\obj\x64\Release\net8.0-windows10.0.19041.0\win-x64\Interface\MainWindow.g.i.cs:line 69
   at UniGetUI.Interface.MainWindow..ctor() in C:\SomePrograms\WingetUI-Store\src\UniGetUI\Interface\MainWindow.xaml.cs:line 85
   at UniGetUI.MainApp.InitializeMainWindow() in C:\SomePrograms\WingetUI-Store\src\UniGetUI\App.xaml.cs:line 167
   at UniGetUI.MainApp..ctor() in C:\SomePrograms\WingetUI-Store\src\UniGetUI\App.xaml.cs:line 71

Is this the first time you installed UniGetUI?

Yes

Which AV are you running?

Windows Defender

I will investigate

authors: DrMMu marticliment philring

repo: marticliment/UniGetUI


text:
Close Logger After Logged Line To Keep Logging During Exceptions <bug

Logger stopped logging when the game crashed. Now logs till a crash and not resulting in emply log file.

i think it looks good, can't think of anything that would need improvements

Good improvement, I will merge the pull request.

authors: MilleIT lenigoor martijn9612


text:
Better support codespaces

Add a configuration file for the devcontainer so that the Playwright CLI is installed.

Might try and optimise this later by using the default image that has more .NET versions and Node on it already.


text:
WIP/windows-tests

This is my WIP for fixing the windows tests so far.
all the tests are working on windows :tada:
But it is way too large to be reviewed properly.
I want to share a bunch of issues i found:

cleaning up tmp dir on windows is messy (e.g. when if background process is running, like clipboard)
found various sorting and timing issues (more on in the comments)
im using Appveyor (see build#62) to build it on windows. choco times out on travis-ci
url.Parse does not support windows paths (this might become a big issue :skull_and_crossbones:)
jsonapi now supports windows paths, but it's unclear for me if it should work this way (i didn't get into gopassbrige yet). Needs further investigation.

Topics to discuss:

using travis matrix builds for all OSes would be preferable. Unfortunately i didn't get choco install working there (times out :disappointed: ).
we can not use url.Parse if we want to support windows paths see here. We need to work around that
how can we split these issues properly to get them into upstream?

@moolen , awesome! I'will have a look at it the next days, maybe we can even merge it together with windows-tests. I was able to run (most) of the tests on windows + travis. But let's also consider appveyor as an alternative. Thx for your work!

authors: martinhoefling moolen

repo: martinhoefling/gopass


text:
cat-numbers quote cells with newline characters

Sample https://github.com/SheetJS/test_files/raw/master/Attendance.numbers (this is a saved copy of the Education - Attendance template)
$ curl -LO https://github.com/SheetJS/test_files/raw/master/Attendance.numbers

$ cat-numbers Attendance.numbers | head -n 5
Attendance.numbers: Attendance: Attendance: Date,Ben
Ashley,Tom Brooks,Jimmy Cooney,Sue
Daniels,Berlinda Fong,Terry Jones,Angelina Little,Linda Smith
Attendance.numbers: Attendance: Attendance: 2020-10-01 00:00:00,False,True,True,True,True,True,False,True
Attendance.numbers: Attendance: Attendance: 2020-10-02 00:00:00,False,False,False,False,False,False,False,False

$ cat-numbers -b Attendance.numbers | head -n 5
Date,Ben
Ashley,Tom Brooks,Jimmy Cooney,Sue
Daniels,Berlinda Fong,Terry Jones,Angelina Little,Linda Smith
2020-10-01 00:00:00,False,True,True,True,True,True,False,True
2020-10-02 00:00:00,False,False,False,False,False,False,False,False

There are two newline characters in the first row: splitting the name parts of "Ben Ashley" and "Sue Daniels".  When exporting to CSV (https://github.com/SheetJS/test_files/raw/master/Attendance.csv), Numbers wraps those cells in quotes:
$ curl -L https://github.com/SheetJS/test_files/raw/master/Attendance.csv | head -n 5
Date,"Ben
Ashley",Tom Brooks,Jimmy Cooney,"Sue
Daniels",Berlinda Fong,Terry Jones,Angelina Little,Linda Smith
10/1,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,TRUE
10/2,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE

Switched to using csv package for output

Looks good!  Thanks for the quick update.

authors: SheetJSDev masaccio

repo: masaccio/numbers-parser


text:
Implement case macros

tbd

Linking http://www.willdonnelly.net/blog/scheme-syntax-rules/ here.

Of mild interest:
https://github.com/vendethiel/ADT.ex
https://github.com/vendethiel/readlist.cl/blob/master/utils.lisp#L54-L89

I notice that I've let this issue get a month old without having a proper OP description. Anyway, tl;dr: I was quite taken with Dylan's pattern macros. What we're doing, Dylan calls "procedural macros", and it never got them, preferring instead the pattern macros (which it calls just "macros").
Two challenges arise. The first one is that the patterns work on the lexical level, and a sequence of patterns in a macro are conceptually tried in order. It's hard to see how this wouldn't constitute re-parsing.
The second one is hygiene. Dylan manages this, though, and I think 007 could as well. But it needs more design.

Looking at the source code of the SweetJS module matches.js, it seems like it does what a macro would do: generate code (well, there as a string), and create a new Function with the source code.

authors: masak vendethiel


text:
🛑 POH events bot from render hosting is down

In 092b18f, POH events bot from render hosting (https://poh-events-bot.onrender.com/ping) was down:

HTTP code: 0
Response time: 0 ms

Resolved: POH events bot from render hosting is back up in 1518c8f.

repo: masch/poh-events-uptime


text:
🛑 POH events bot from render hosting is down

In c6b4097, POH events bot from render hosting (https://poh-events-bot.onrender.com/ping) was down:

HTTP code: 0
Response time: 0 ms

Resolved: POH events bot from render hosting is back up in 4205e4e.


text:
🛑 POH events bot from render hosting is down

In 71f415a, POH events bot from render hosting (https://poh-events-bot.onrender.com/ping) was down:

HTTP code: 0
Response time: 0 ms

Resolved: POH events bot from render hosting is back up in 0b53b7f after 13 minutes.


text:
🛑 POH events bot from render hosting is down

In 70ac017, POH events bot from render hosting (https://poh-events-bot.onrender.com/ping) was down:

HTTP code: 0
Response time: 0 ms

Resolved: POH events bot from render hosting is back up in a84d455 after 13 minutes.


text:
🛑 POH events bot from render hosting is down

In 1852b3e, POH events bot from render hosting (https://poh-events-bot.onrender.com/ping) was down:

HTTP code: 0
Response time: 0 ms

Resolved: POH events bot from render hosting is back up in 7f0f926 after 8 minutes.


text:
Will this be compatiable with .NET MAUI in the Future?

Will this be available in the future fir .NET MAUI

https://github.com/masonyc/Xamarin.KeyboardHelper/issues/41


text:
error in graph rendering based on order of state declarations

Describe the bug
The order of the state declarations in the puml file can lead to child nodes being displayed without their parent links and thus break the rendering of the directed graph. This seems like it's a PlantUML bug.
Current behavior for asl-puml is to emit the puml file with the states in the order encountered in the process definition. If a theme is passed to the renderer, then states logically grouped together are emitted first.
In the example below, the diagram is generated from the process execution history with a theme and thus the underlying map of states isn't in the same order as the source file.

Here's the relevant part of the emitted puml:
state "check_fetched" as state9<<Choice>>
state "end_state" as state10<<CustomStyle1>>
state "fetch_todays_scores" as state7<<CustomStyle2>>
state "get_games_to_monitor" as state2<<CustomStyle3>>
state "has_games" as state3<<Choice>>
state "init_state" as state1<<CustomStyle5>>
state "put_scores_deadline" as state4<<CustomStyle6>>
state "put_scores_now" as state5<<CustomStyle9>>
state "update_scores_item" as state8<<CustomStyle7>>
state "wait_for_deadline" as state6<<CustomStyle8>>

The rendering is correct if the state declarations are sorted.

Expected behavior
The directed graph should render based on the graph in the puml and not the order of the state declarations. In both the correct and incorrect renderings above, the directed graph is correct in the source file:
[*] --> state1
state1 --> state2
state2 --> state3
state3 -[#lightgray]-> state5
state3 --> state4
state3 --> state10
state4 --> state6
state5 -[#lightgray]-> state7
state6 --> state7
state7 --> state8
state8 --> state9
state9 --> state2
state9 --> state10
state10 --> [*]

Quick fix:

change the asl-puml output to report the directed graph ahead of the state declarations
this works in all cases but unfortunately results in the Choice style being lost (no diamond)

Other possible fix:

update the decl output to emit the states in the order defined by the graph

While this error appeared with a state execution rendering theme, it seems possible to recreate simply based on the ordering of the states within the process definition. Given that the order of the states doesn't impact the process definition, it shouldn't impact the rendering.

Applying the quick fix above loses the diamond but it does add the benefit of the state label getting rendered.
Including an emoji as a prefix to the state name could help convey that it is a choice. The following diamond emoji looks suitable:
:large_blue_diamond:
See cheat sheet for plantuml emoji's here: https://github.com/ikatyang/emoji-cheat-sheet/blob/master/README.md
The color of the diamond can be changed with a prefix like so: <#0:large_blue_diamond:> where #0 is black or use one of the named colors.

repo: massfords/asl-puml


text:
Mixin does not work properly on IE10, because it should use -ms-flex prefixed properties

Here is my test-drive page for use with sass-flex-mixin
http://prettyminimal.com/flexbox/
After checking different browsers, it seem not to work properly on Internet Explorer 10 because it uses different flexbox properties.
From Microsoft's website:
https://msdn.microsoft.com/en-us/library/dn265027(v=vs.85).aspx
For Ie10 Use:
The -ms-flex-wrap property Instead of flex-wrap property
The -ms-flex-order and flex-order properties Instead of order property.
The -ms-flex-pack property Instead of justify-content property
The -ms-flex-align property Instead of align-items property
The -ms-flex-item-align property Instead of align-self property
The -ms-flex-line-pack property Instead of align-content property
Also there is an flexyboxes app, which generate proper code including IE10 http://the-echoplex.net/flexyboxes
[edit] I have checked scss flex mixins code and there are already -ms-flex- properties implemented, so now I don't know what's the reason of this issue.

-ms prefixes are indeed here.

authors: dariuszsikorski mastastealth

repo: mastastealth/sass-flex-mixin


text:
🛑 Iran 1 - VIP 1 is down

In add297a, Iran 1 - VIP 1 ($VIP1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Iran 1 - VIP 1 is back up in e24054b after 9 minutes.


text:
🛑 RESTREAM-IR-10-ParsOnline-4 is down

In 48e1c41, RESTREAM-IR-10-ParsOnline-4 ($IR_10) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-10-ParsOnline-4 is back up in e437f07.


text:
🛑 RESTREAM-IR-14-Afranet-4 is down

In 7aec1fa, RESTREAM-IR-14-Afranet-4 ($IR_14) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-14-Afranet-4 is back up in b5eba00.


text:
🛑 RESTREAM-IR-13-Afranet-3 is down

In 634e70f, RESTREAM-IR-13-Afranet-3 ($IR_13) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-13-Afranet-3 is back up in 14e3696.


text:
🛑 RESTREAM-IR-10-ParsOnline-4 is down

In c32ff1b, RESTREAM-IR-10-ParsOnline-4 ($IR_10) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-10-ParsOnline-4 is back up in 169a2b4.


text:
🛑 RESTREAM-IR-11-ZirSakht-2 is down

In 963cb73, RESTREAM-IR-11-ZirSakht-2 ($IR_11) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-11-ZirSakht-2 is back up in cadbd39.


text:
🛑 Iran 12 - ParsOnline 5 is down

In 98984fc, Iran 12 - ParsOnline 5 ($IR_12) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Iran 12 - ParsOnline 5 is back up in 33d57dc.


text:
detected by all antiviruses and virus total help wanted!

The RAT is detected by all antiviruses and malware scanners i know there is a way to obf and crypt it but i have no single idea how to
pack it or crypt it can someone plz help.

post it on more websites like virustotal then it will for sure reduce the detections

are u fr bro?!

authors: griskiiy mategol

repo: mategol/PySilon-malware


text:
Update translations to match the actual strings

Update translations to match the actual strings

Solved by #19

repo: mathieu-mp/homeassistant-intex-spa