profile
viewpoint
Gregory TAPPERO gregtap @Silvr-co Paris I’m fascinated with technology and long on human innovation. I plan to spend the rest of my life building and investing in teams of amazing people 🚀

gregtap/django-maroc-telecommerce 6

Django maroc telecommerce payment gateway

gregtap/mayan 5

Open source, Django based document manager with custom metadata indexing, file serving integration and OCR capabilities

gregtap/cardinal-spline-js 1

Smooth line through points for JavaScript / HTML5 Canvas / Node

gregtap/Impostor 1

Django app that enables staff to log in as other users using their own credentials.

gregtap/airflow-rest-api-plugin 0

A plugin for Apache Airflow that exposes rest end points for the Command Line Interfaces

gregtap/awesome-vue 0

A curated list of awesome things related to Vue.js

gregtap/babel-loader 0

Webpack plugin for Babel

gregtap/backbone.bootstrap-modal 0

Bootstrap Modal wrapper for use with Backbone.

gregtap/backbone.modal 0

A plugin for Backbone.js that simplifies creating modals for your application.

issue openedmarian-m12l/studio

Luniistore compatibility?

I did not saw it mentionned in the readme. So, if I use Studio with my lunii device to store some custom stories on it, would my lunii device still work with the Luniistore to transfer official stories from Lunii on it (or once I start using Studio, do I have to use it for all transfers to my Lunii device, even for official stories from the Luniistore)? And if a lunii device with custom stories on it (transfered with Studio) is still usable with the Luniistore, how would these custom stories packs appear on the Luniistore (can I see them? delete them?) Thanks for precising this point

created time in 9 hours

issue commentpelletier/go-toml

Is there a good way to modify a toml file?

Unfortunately not yet. As far as I know the best you can do today is to decide that the file should always be "linted" and have go-toml sort it on write.

Edit-in-place is definitely something I would love to see as well. Most of the pieces are already there: LoadFile keeps track of positions of what it read, and Encoder has some logic to change what order things should be emitted.

mq0427

comment created time in 10 hours

create barnchChefclub/spectacle

branch : dependabot/npm_and_yarn/highlight.js-10.1.2

created branch time in 16 hours

PR opened Chefclub/spectacle

Bump highlight.js from 9.13.0 to 10.1.2

Bumps highlight.js from 9.13.0 to 10.1.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/highlightjs/highlight.js/releases">highlight.js's releases</a>.</em></p> <blockquote> <h2>10.1.2</h2> <p>Fixes:</p> <ul> <li>fix(night) Prevent object prototype values from being returned by <code>getLanguage</code> (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2636">#2636</a>) <a href="https://github.com/night">night</a></li> </ul> <h2>10.1.1</h2> <p>Fixes:</p> <ul> <li>Resolve issue on Node 6 due to dangling comma (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2608">#2608</a>) [Edwin Hoogerbeets][]</li> <li>Resolve <code>index.d.ts is not a module</code> error (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2603">#2603</a>) [Josh Goebel][]</li> </ul> <h2>10.1.0</h2> <p>Just your typical minor release. Plenty of fixes and enhancements, few new themes.</p> <p>Some deprecations language maintainers might want to pay attention to:</p> <ul> <li><code>htmlbars</code> grammar is now deprecated. Use <code>handlebars</code> instead. (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2344">#2344</a>) [Nils Knappmeier][]</li> <li>when using <code>highlightBlock</code> <code>result.re</code> deprecated. Use <code>result.relevance</code> instead. (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2552">#2552</a>) [Josh Goebel][]</li> <li>ditto for <code>result.second_best.re</code> => <code>result.second_best.relevance</code> (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2552">#2552</a>)</li> <li><code>lexemes</code> is now deprecated in favor of <code>keywords.$pattern</code> key (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2519">#2519</a>) [Josh Goebel][]</li> <li><code>endSameAsBegin</code> is now deprecated. (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2261">#2261</a>) [Josh Goebel][]</li> </ul> <h2>10.0.2</h2> <p>Fixes a serious potential freeze/infinite loop issue. Everyone on version 10 should upgrade.</p> <ul> <li>Remove support for AMD module loading, which never truly worked properly anyways.</li> </ul> <h2>10.0.1</h2> <p>Fixes: sublanguage with no rule matches causes text to disappear in final output. (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2506">#2506</a>).</p> <h2>10.0.0</h2> <p>Welcome to version 10.0. This a major release and therefore will contain breaking changes.</p> <h2>Breaking Changes</h2> <p>Our normal minor releases try to never break anything, holding all breaking changes for major releases. We tried to squeeze in as many as we could this time so that after 10.0 ships we'll be back to quiet sailing for a while before we need to push version 11. That said, we're very conservative about what we consider a breaking change.</p> <p><em>i.e., if there it could possibly break things for anyone, it's typically a breaking change.</em> The fact is a vast majority of users should upgrade and probably not notice any changes at all.</p> <p>See <a href="https://github.com/highlightjs/highlight.js/blob/master/VERSION_10_BREAKING_CHANGES.md">VERSION_10_BREAKING_CHANGES.md</a> for a comprehensive list of breaking changes, but here is a summary... if you use:</p> <h3>Core highlight.js lib on the client (with no extra CDN languages)</h3> <p>Just keep doing that.</p> <ul> <li>If you're using <code>darkula.css</code>, you'll need to change that to <code>darcula.css</code></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/highlightjs/highlight.js/blob/10.1.2/CHANGES.md">highlight.js's changelog</a>.</em></p> <blockquote> <h2>Version 10.1.2</h2> <p>Fixes:</p> <ul> <li>fix(night) Prevent object prototype values from being returned by <code>getLanguage</code> (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2636">#2636</a>) <a href="https://github.com/night">night</a></li> </ul> <h2>Version 10.1.1</h2> <p>Fixes:</p> <ul> <li>Resolve issue on Node 6 due to dangling comma (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2608">#2608</a>) <a href="https://github.com/ehoogerbeets">Edwin Hoogerbeets</a></li> <li>Resolve <code>index.d.ts is not a module</code> error (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2603">#2603</a>) <a href="https://github.com/yyyc514">Josh Goebel</a></li> </ul> <h2>Version 10.1.0</h2> <p>New themes:</p> <ul> <li><em>NNFX</em> and <em>NNFX-dark</em> by [Jim Mason][]</li> <li><em>lioshi</em> by [lioshi][]</li> </ul> <p>Parser Engine:</p> <ul> <li>(parser) Now escapes quotes in text content when escaping HTML (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2564">#2564</a>) <a href="https://github.com/yyyc514">Josh Goebel</a></li> <li>(parser) Adds <code>keywords.$pattern</code> key to grammar definitions (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2519">#2519</a>) <a href="https://github.com/yyyc514">Josh Goebel</a></li> <li>(parser) Adds SHEBANG utility mode <a href="https://github.com/yyyc514">Josh Goebel</a></li> <li>(parser) Adds <code>registerAliases</code> method (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2540">#2540</a>) [Taufik Nurrohman][]</li> <li>(enh) Added <code>on:begin</code> callback for modes (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2261">#2261</a>) <a href="https://github.com/yyyc514">Josh Goebel</a></li> <li>(enh) Added <code>on:end</code> callback for modes (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2261">#2261</a>) <a href="https://github.com/yyyc514">Josh Goebel</a></li> <li>(enh) Added ability to programatically ignore begin and end matches (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2261">#2261</a>) <a href="https://github.com/yyyc514">Josh Goebel</a></li> <li>(enh) Added <code>END_SAME_AS_BEGIN</code> mode to replace <code>endSameAsBegin</code> parser attribute (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2261">#2261</a>) <a href="https://github.com/yyyc514">Josh Goebel</a></li> <li>(fix) <code>fixMarkup</code> would rarely destroy markup when <code>useBR</code> was enabled (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2532">#2532</a>) <a href="https://github.com/yyyc514">Josh Goebel</a></li> </ul> <p>Deprecations:</p> <ul> <li><code>htmlbars</code> grammar is now deprecated. Use <code>handlebars</code> instead. (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2344">#2344</a>) [Nils Knappmeier][]</li> <li>when using <code>highlightBlock</code> <code>result.re</code> deprecated. Use <code>result.relevance</code> instead. (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2552">#2552</a>) <a href="https://github.com/yyyc514">Josh Goebel</a></li> <li>ditto for <code>result.second_best.re</code> => <code>result.second_best.relevance</code> (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2552">#2552</a>)</li> <li><code>lexemes</code> is now deprecated in favor of <code>keywords.$pattern</code> key (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2519">#2519</a>) <a href="https://github.com/yyyc514">Josh Goebel</a></li> <li><code>endSameAsBegin</code> is now deprecated. (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2261">#2261</a>) <a href="https://github.com/yyyc514">Josh Goebel</a></li> </ul> <p>Language Improvements:</p> <ul> <li>fix(groovy) strings are not allowed inside ternary clauses (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2217">#2217</a>) <a href="https://github.com/yyyc514">Josh Goebel</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/highlightjs/highlight.js/commit/edd73d2402b3d66706d141e9fadda004d237925d"><code>edd73d2</code></a> bump v10.1.2</li> <li><a href="https://github.com/highlightjs/highlight.js/commit/7241013ae011a585983e176ddc0489a7a52f6bb0"><code>7241013</code></a> (parser) use null prototype objects for languages/aliases (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2636">#2636</a>)</li> <li><a href="https://github.com/highlightjs/highlight.js/commit/93fd0d7335e2b8b94dd122dc2898db8c86343257"><code>93fd0d7</code></a> bump v10.1.1; (chore) add changelog for 10.1.1</li> <li><a href="https://github.com/highlightjs/highlight.js/commit/c5783d2ffca795ccbae7045f66553adaf78303a2"><code>c5783d2</code></a> (chore) clean up types just a little</li> <li><a href="https://github.com/highlightjs/highlight.js/commit/a4ee4e40263aad8586bfe7d1d0fc42a0683080f7"><code>a4ee4e4</code></a> (chore) declare ambient modules for lib/core & languges</li> <li><a href="https://github.com/highlightjs/highlight.js/commit/06565885c7c8d2717b0f8d655c3157f02551686c"><code>0656588</code></a> (chore) removed dangling comma (<a href="https://github-redirect.dependabot.com/highlightjs/highlight.js/issues/2612">#2612</a>)</li> <li><a href="https://github.com/highlightjs/highlight.js/commit/b1bce6e3ada485b89696f554878b2ef44a73d94a"><code>b1bce6e</code></a> (chore) more import below metadata comment</li> <li><a href="https://github.com/highlightjs/highlight.js/commit/74de6eaa1d4dddd2ce1b167abda91913a77c48e6"><code>74de6ea</code></a> (chore) bump copyright</li> <li><a href="https://github.com/highlightjs/highlight.js/commit/b2d19b038882b32935325d7f73531c8dfde2f7c4"><code>b2d19b0</code></a> bump v10.1.0</li> <li><a href="https://github.com/highlightjs/highlight.js/commit/84f7fa3c8d9742a2f890a406ac2cebf88830d139"><code>84f7fa3</code></a> (chore) upgrade some dev stuff to newer versions</li> <li>Additional commits viewable in <a href="https://github.com/highlightjs/highlight.js/compare/9.13.0...10.1.2">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~isagalaev">isagalaev</a>, a new releaser for highlight.js since your current version.</p> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+27 -22

0 comment

2 changed files

pr created time in 16 hours

issue openedpelletier/go-toml

Is there a good way to modify a toml file?

Is there a good way to modify a toml file? I just have to modify the value of some keys. And I would like to just keep all the other things unchanged, such as the order of the keys and the comments. It seems it can be achieved by LoadFile and then set the new value and call WriteTo to overwrite the toml file, but the original layout like the order of the keys and the comments will be lost.

created time in 20 hours

release pelletier/go-toml

latest

released time in a day

pull request commentpelletier/go-toml

Fix ToMap for tables in nested mixed-type arrays

Thanks! Is there a case where this branch is taken?

	if tv, ok := v.(*tomlValue); ok {
		v = tv.value
	}

If yes it's probably worth a test, if not we can get rid of the code :)

mstetson

comment created time in a day

push eventpelletier/go-toml

Stanisław Barzowski

commit sha 2e01f733df54711f94dd4309052b79a98872dbcc

[README] There are 3 cli tools, not 2. (#454)

view details

push time in a day

PR merged pelletier/go-toml

[README] There are 3 cli tools, not 2.

The README says 2 tools are provided, but actually listed 3.

+1 -1

1 comment

1 changed file

sbarzowski

pr closed time in a day

issue openedpelletier/go-toml

Unmarshaling is wrong in some cases

Describe the bug Unmarshaling is wrong in some cases

To Reproduce

import (
	"fmt"

	"github.com/pelletier/go-toml"
)

type Config struct {
	Values []string `toml:"key.values"`
}

func main() {
	doc := []byte(`
	[key]
	values = ["foo", "bar"]`)

	config := Config{}
	err := toml.Unmarshal(doc, &config)
	fmt.Printf("config: %s, err: %s\n", config, err)

}

Output:

config: {[]}, err: %!s(<nil>)

Expected behavior Expected Output:

config: {[foo bar]}, err: %!s(<nil>)

Versions

  • go-toml: v1.8.1
  • go: version 1.14.4
  • operating system: Debian

Additional context

go-toml v1.6.0 & v1.7.0 work fine, and v1.8.0 & v1.8.1 work wrong.

created time in 2 days

issue openedmarian-m12l/studio

copy error

Describe the bug when trying to copy a story to my local libray it fail with an error It start failing when i try to delete a story of the luuni during a copy of another story to my local library

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Logs Check the logs in the console for errors, if any. Join the studio-latest.log file if relevant. Also check the network tab of your browser's developer tools and look for HTTP calls in error, if any. HTTP responses may contain useful data.

Internal Server Error: Error 500: Internal Server Error

Desktop and environment (please complete the following information):

  • OS: Win32
  • Browser Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0
  • Java version: [e.g. JDK 11.0.6]
  • Maven version: [e.g. 3.6.0]
  • STUdio application version: 0.2.0

Additional context Add any other context about the problem here.

created time in 4 days

issue commentmarian-m12l/studio

Random option isn't random on Lunii: it always pick the first option

Great idea @marian-m12l, I ran a lot of tests with 4 options and I found that it never picks the last option. In my original test I had only options so it would only pick the first one. Now that I have 4, it will randomly pick 1,2,3 but never 4.

Could this be a bug on the Lunii firmware?

pozil

comment created time in 5 days

pull request commentpelletier/go-toml

Fix ToMap for tables in nested mixed-type arrays

Codecov Report

Merging #455 (c1c4b98) into master (1bd9461) will increase coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #455      +/-   ##
==========================================
+ Coverage   93.60%   93.62%   +0.01%     
==========================================
  Files          10       10              
  Lines        2268     2273       +5     
==========================================
+ Hits         2123     2128       +5     
  Misses        105      105              
  Partials       40       40              
Impacted Files Coverage Δ
tomltree_write.go 94.88% <100.00%> (+0.08%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1bd9461...c1c4b98. Read the comment docs.

mstetson

comment created time in 6 days

PR opened pelletier/go-toml

Fix ToMap for tables in nested mixed-type arrays

I wasn't thorough enough in my earlier PR. #453 fixed tables in mixed arrays, but only in the top-level array, not in any nested array. This updated fix scans arrays recursively looking for tables. It supports constructs like this:

UglyValue = ["blah", [
    {foo = "bar"},
    {baz = "quux"},
]]
+20 -11

0 comment

2 changed files

pr created time in 6 days

issue commentmarian-m12l/studio

Support new firmware version

@T1nd4 What do you mean by "4 wired connection"? The EEPROM uses SPI, but all eight pins must be wired.

marian-m12l

comment created time in 6 days

issue commentmarian-m12l/studio

Random option isn't random on Lunii: it always pick the first option

@pozil You story pack looks good to me, although I cannot test on the device right now. I'm wondering, did you try with more than two options?

pozil

comment created time in 6 days

pull request commentpelletier/go-toml

[README] There are 3 cli tools, not 2.

Codecov Report

Merging #454 (07d58fa) into master (1bd9461) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #454   +/-   ##
=======================================
  Coverage   93.60%   93.60%           
=======================================
  Files          10       10           
  Lines        2268     2268           
=======================================
  Hits         2123     2123           
  Misses        105      105           
  Partials       40       40           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1bd9461...07d58fa. Read the comment docs.

sbarzowski

comment created time in 7 days

PR opened pelletier/go-toml

[README] There are 3 cli tools, not 2.

The README says 2 tools are provided, but actually listed 3.

+1 -1

0 comment

1 changed file

pr created time in 7 days

issue commentmarian-m12l/studio

Support new firmware version

@marian, did you use a 4 wired connections ? If yes which ones plz ?


De : noctanvol notifications@github.com Envoyé : Tuesday, November 17, 2020 8:24:27 PM À : marian-m12l/studio studio@noreply.github.com Cc : T1nd4 lebeneur@hotmail.com; Mention mention@noreply.github.com Objet : Re: [marian-m12l/studio] Support new firmware version (#122)

@EddyOopshttps://github.com/EddyOops What I know for sure is that the serial number and UUID are stored on the EEPROM (at address 0x7f000), but there may be more.

@T1nd4https://github.com/T1nd4 @noctanvolhttps://github.com/noctanvol No specific clip required, I used a bunch of test clips to wire the raspberry to the chip, but a SOIC clip is probably more comfortable. On my model, the EEPROM is on the backside of the PCB (the side facing the buttons and screen), and is a GD25Q80Chttps://www.gigadevice.com/flash-memory/gd25q80c/, but there seems to be quite a few revisions of the board out there. In any case, I'd expect a SPI driven EEPROM. I used flashrom with the linux_spi programmer module. For dumping only, make sure to drive the WP# pin low. If you want to try a downgrade, be aware that it's still a blind bet...

@marian-m12lhttps://github.com/marian-m12l Thx a lot for the infos.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/marian-m12l/studio/issues/122#issuecomment-729148680, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOYM465A5763QSEDHZMWJQ3SQLEWXANCNFSM4OPJBQAA.

marian-m12l

comment created time in 8 days

issue commentmarian-m12l/studio

Support new firmware version

@EddyOops What I know for sure is that the serial number and UUID are stored on the EEPROM (at address 0x7f000), but there may be more.

@T1nd4 @noctanvol No specific clip required, I used a bunch of test clips to wire the raspberry to the chip, but a SOIC clip is probably more comfortable. On my model, the EEPROM is on the backside of the PCB (the side facing the buttons and screen), and is a GD25Q80C, but there seems to be quite a few revisions of the board out there. In any case, I'd expect a SPI driven EEPROM. I used flashrom with the linux_spi programmer module. For dumping only, make sure to drive the WP# pin low. If you want to try a downgrade, be aware that it's still a blind bet...

@marian-m12l Thx a lot for the infos.

marian-m12l

comment created time in 8 days

issue commentmarian-m12l/studio

Random option isn't random on Lunii: it always pick the first option

You'll see that you'll get a "1" displayed on the Lunii screen when it picks the first option (all of the time) or a "2" if it picks the second option (I've never seen it so far).

pozil

comment created time in 9 days

issue commentmarian-m12l/studio

Random option isn't random on Lunii: it always pick the first option

Here's a test story with two tests: one with expert nodes followed by one with a question node: Test_aléatoire-9cb21abf-5c97-417f-8437-f19df625aaf4-v1.zip

Thanks for the explanations, I'll take a closer look at the code.

pozil

comment created time in 9 days

issue commentmarian-m12l/studio

Random option isn't random on Lunii: it always pick the first option

@pozil I'll need to try this. Can you share the story.json file of your test packs?

The editor creates the "archive" story pack and uploads it to the library. When you transfer from the library to the device, the pack is read in-memory (ArchiveStoryPackReader), assets are uncompressed (if needed), and the story pack is written in binary format using BinaryStoryPackWriter. You can see this mechanics here and here.

pozil

comment created time in 9 days

issue commentmarian-m12l/studio

Random option isn't random on Lunii: it always pick the first option

Sorry, I thought that you were serializing the story pack in Java. I was looking at BinaryStoryPackWriter.java and ActionNode.java and couldn't find references to a "random" flag.

I tried the two test scenarii you suggested:

  • multiple random choices within a story
  • playing other stories in between my story tests

No luck so far. It could be a random seed problem as you suggested but what I find surprising is that it's always the first option that gets played.

Thanks for helping.

pozil

comment created time in 9 days

issue commentmarian-m12l/studio

Support new firmware version

@EddyOops What I know for sure is that the serial number and UUID are stored on the EEPROM (at address 0x7f000), but there may be more.

Comparing 2 dumps from 2 different devices could give us the information. Some people here have plenty to do it. It's only a matter of time.

marian-m12l

comment created time in 9 days

issue commentmarian-m12l/studio

Support new firmware version

@EddyOops What I know for sure is that the serial number and UUID are stored on the EEPROM (at address 0x7f000), but there may be more.

@T1nd4 @noctanvol No specific clip required, I used a bunch of test clips to wire the raspberry to the chip, but a SOIC clip is probably more comfortable. On my model, the EEPROM is on the backside of the PCB (the side facing the buttons and screen), and is a GD25Q80C, but there seems to be quite a few revisions of the board out there. In any case, I'd expect a SPI driven EEPROM. I used flashrom with the linux_spi programmer module. For dumping only, make sure to drive the WP# pin low. If you want to try a downgrade, be aware that it's still a blind bet...

marian-m12l

comment created time in 9 days

issue commentmarian-m12l/studio

Support new firmware version

@EddyOops @noctanvol Indeed, I flashed the EEPROM chip directly (raspberry pi + test clips). And I restored the SD card, just in case the Luniistore couldn't repair it (which it should, from what I understand). I had dumped the "SPI" memory blocks earlier, without knowing exactly where it was stored at the time (I actually had never opened the device until I decided to look for this internal storage). Pretty fortunate. However I cannot share this dump because a) it's proprietary software, and b) it seems to contain some data specific to a given device.

Still thats a great news. I'll dump the lunii of a friend as soon as i receive the clip and usb writer. ( i dont care If I can no longer access the store) at least i will be able restore all the others customs story i created. My daughter is asking for their return everyday, she is driving me nuts....

Could you please show us a picture of the chip where you plugged the clip ? was it near the battery or near the volume button ? Or on the other side of the motherboard ? If you didnt take any picture of the operation maybe you remember the model of the chip ?

thx again

marian-m12l

comment created time in 9 days

issue commentmarian-m12l/studio

Support new firmware version

We at least need to know how to dump our self lunii, with our raspy. Is there a specific chip clip ?


De : EddyOops notifications@github.com Envoyé : Monday, November 16, 2020 9:24:55 PM À : marian-m12l/studio studio@noreply.github.com Cc : Subscribed subscribed@noreply.github.com Objet : Re: [marian-m12l/studio] Support new firmware version (#122)

Yes, the firmware contains at least the serial number of the device and then it is automatically added to the lunii account upon association. We should be able to compare the dumps of 2 devices.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/marian-m12l/studio/issues/122#issuecomment-728303930, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOYM463HPVQT7T7O3TRHRC3SQGDBPANCNFSM4OPJBQAA.

marian-m12l

comment created time in 9 days

issue commentmarian-m12l/studio

Support new firmware version

Yes, the firmware contains at least the serial number of the device and then it is automatically added to the lunii account upon association. We should be able to compare the dumps of 2 devices.

marian-m12l

comment created time in 9 days

issue commentmarian-m12l/studio

Support new firmware version

@EddyOops @noctanvol Indeed, I flashed the EEPROM chip directly (raspberry pi + test clips). And I restored the SD card, just in case the Luniistore couldn't repair it (which it should, from what I understand). I had dumped the "SPI" memory blocks earlier, without knowing exactly where it was stored at the time (I actually had never opened the device until I decided to look for this internal storage). Pretty fortunate. However I cannot share this dump because a) it's proprietary software, and b) it seems to contain some data specific to a given device.

marian-m12l

comment created time in 9 days

more