<feed xmlns='http://www.w3.org/2005/Atom'>
<title>github/NotEnoughUpdates.git/src/main/kotlin, branch fix/apicache-nullpointer</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.nea.moe/github/NotEnoughUpdates.git/'/>
<entry>
<title>ApiCache: Fix apparent NullPointerException</title>
<updated>2023-02-16T22:38:54+00:00</updated>
<author>
<name>nea</name>
<email>nea@nea.moe</email>
</author>
<published>2023-02-16T22:12:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nea.moe/github/NotEnoughUpdates.git/commit/?id=d7f875a0dc1f46402abc3462c2fbe357876773bb'/>
<id>d7f875a0dc1f46402abc3462c2fbe357876773bb</id>
<content type='text'>
`CacheResult` should in theory have either a `file != null` a `future !=
null` or be `disposed`. Apparently this invariant of `CacheResult` is
either being violated somewhere, or the `synchronized` blocks arent as
synchronized as id hoped they were. In fact, `dispose()` does not even
delete the file, so i can really only see this happening because the
first `synchronized` block that writes the file and the second
`synchronized` block that reads from the file hold the same lock.

I have no idea how this would happen, but hopefully this fixes it (since
the dispose didn't have a threading issue reported so far, i feel more
confident leaving the .deleteOnExit in there, but I'm also wrapping any
potential IOExceptions during access, because I am just so confused how
the internal state was broken.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`CacheResult` should in theory have either a `file != null` a `future !=
null` or be `disposed`. Apparently this invariant of `CacheResult` is
either being violated somewhere, or the `synchronized` blocks arent as
synchronized as id hoped they were. In fact, `dispose()` does not even
delete the file, so i can really only see this happening because the
first `synchronized` block that writes the file and the second
`synchronized` block that reads from the file hold the same lock.

I have no idea how this would happen, but hopefully this fixes it (since
the dispose didn't have a threading issue reported so far, i feel more
confident leaving the .deleteOnExit in there, but I'm also wrapping any
potential IOExceptions during access, because I am just so confused how
the internal state was broken.
</pre>
</div>
</content>
</entry>
<entry>
<title> ApiUtil: Add cache with per request timeout and per class histogram  (#592)</title>
<updated>2023-02-15T17:50:56+00:00</updated>
<author>
<name>Roman / Linnea Gräf</name>
<email>roman.graef@gmail.com</email>
</author>
<published>2023-02-15T17:50:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nea.moe/github/NotEnoughUpdates.git/commit/?id=d3ca199f904cd72e419c6320eda261f023c71937'/>
<id>d3ca199f904cd72e419c6320eda261f023c71937</id>
<content type='text'>
* ApiUtil: Add cache with per request timeout and per class histogram

* MinionHelper: Only load minion helper data when needed

* Api: Make api response processing more async.

* Lower cache for /pv to 30 seconds and rename cacheDuration to max age

* Disk cache for the API</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* ApiUtil: Add cache with per request timeout and per class histogram

* MinionHelper: Only load minion helper data when needed

* Api: Make api response processing more async.

* Lower cache for /pv to 30 seconds and rename cacheDuration to max age

* Disk cache for the API</pre>
</div>
</content>
</entry>
<entry>
<title>API errors in console (#610)</title>
<updated>2023-02-15T17:48:11+00:00</updated>
<author>
<name>hannibal2</name>
<email>24389977+hannibal002@users.noreply.github.com</email>
</author>
<published>2023-02-15T17:48:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nea.moe/github/NotEnoughUpdates.git/commit/?id=5c58e19436f2935ae20cfb351ac6661b2dab1992'/>
<id>5c58e19436f2935ae20cfb351ac6661b2dab1992</id>
<content type='text'>
* Print api errors in console.

* No reason not to just append.

* Censor API Key

---------

Co-authored-by: hannibal2 &lt;24389977+hannibal00212@users.noreply.github.com&gt;
Co-authored-by: nea &lt;nea@nea.moe&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Print api errors in console.

* No reason not to just append.

* Censor API Key

---------

Co-authored-by: hannibal2 &lt;24389977+hannibal00212@users.noreply.github.com&gt;
Co-authored-by: nea &lt;nea@nea.moe&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Muscle Memory (#581)</title>
<updated>2023-02-13T13:03:22+00:00</updated>
<author>
<name>hannibal2</name>
<email>24389977+hannibal002@users.noreply.github.com</email>
</author>
<published>2023-02-13T13:03:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nea.moe/github/NotEnoughUpdates.git/commit/?id=3d9a03ff4f1e542339950be6a77cb4c59a46ab77'/>
<id>3d9a03ff4f1e542339950be6a77cb4c59a46ab77</id>
<content type='text'>
* Added old SkyBlock Menu.

* Execution!

* Add cache.

* Bingo has already enough to do.

* Typo.

* Revert "Typo."

This reverts commit b4a1c385e0c410b1e111797b8d39e7ff64b09ef5.

* Revert "Bingo has already enough to do."

This reverts commit 6e004d2d65dff47ea3bee5c5789cb725724df6ed.

* I am lazy.

* The map is lazy too.

* Hypixel moving features behind paywall.

* Add red text to the setting too.

* SEALED

* Fixed Booster Cookie checks. Reworked CookieWarning, kept same logic but accidentally added profile switch support.

* /trades does not require booster cookie.

* Allowing middle clicks (and any other mouse click combination)

---------

Co-authored-by: hannibal2 &lt;24389977+hannibal00212@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Added old SkyBlock Menu.

* Execution!

* Add cache.

* Bingo has already enough to do.

* Typo.

* Revert "Typo."

This reverts commit b4a1c385e0c410b1e111797b8d39e7ff64b09ef5.

* Revert "Bingo has already enough to do."

This reverts commit 6e004d2d65dff47ea3bee5c5789cb725724df6ed.

* I am lazy.

* The map is lazy too.

* Hypixel moving features behind paywall.

* Add red text to the setting too.

* SEALED

* Fixed Booster Cookie checks. Reworked CookieWarning, kept same logic but accidentally added profile switch support.

* /trades does not require booster cookie.

* Allowing middle clicks (and any other mouse click combination)

---------

Co-authored-by: hannibal2 &lt;24389977+hannibal00212@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed Lags: Magical power in SkyBlock Menu (#587)</title>
<updated>2023-02-06T14:36:26+00:00</updated>
<author>
<name>hannibal2</name>
<email>24389977+hannibal002@users.noreply.github.com</email>
</author>
<published>2023-02-06T14:36:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nea.moe/github/NotEnoughUpdates.git/commit/?id=40887624fe1f1d843741ae1cbefb72ec7d4802f3'/>
<id>40887624fe1f1d843741ae1cbefb72ec7d4802f3</id>
<content type='text'>
Co-authored-by: hannibal2 &lt;24389977+hannibal00212@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: hannibal2 &lt;24389977+hannibal00212@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Levels page in Profile Viewer (#562)</title>
<updated>2023-01-31T22:04:33+00:00</updated>
<author>
<name>efefury</name>
<email>69400149+efefury@users.noreply.github.com</email>
</author>
<published>2023-01-31T22:04:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nea.moe/github/NotEnoughUpdates.git/commit/?id=7d34b5456f9978d063b9098ab095256109d522c2'/>
<id>7d34b5456f9978d063b9098ab095256109d522c2</id>
<content type='text'>
* ughidontwannafigureouthowtousethis

* not finished

hgdt&lt;

* Make use of new collections api in collectionspage

* final commit HOPEFULLY

* fix infer v1

* fix mithril powder going over cap

my beloved

* Formatting :thumbsup:

* More Formatting :thumbsup:

important

* ea sports

its in the game

* maybe fix cache

* change location of weight and networth and config option for weght

requested by alea

* Fix jump at CAP powder

* Code formatting and deleted unused variables.

* Used KUUDRA_TIERS array from CrimsonIslePage in SlayingTaskLevel.

* Used SLAYERS array from PROFILEVIEWER in SlayingTaskLevel.

* Intellij Code Cleanup.

* revert fun things

Please efe put formatting in another PR.

* fix issues

idk

* Import fixes and formatting. And an unnecessary empty space in 2.1.1 for jani.

* fix nea issue

---------

Co-authored-by: nea &lt;nea@nea.moe&gt;
Co-authored-by: jani270 &lt;jani270@gmx.de&gt;
Co-authored-by: hannibal2 &lt;24389977+hannibal00212@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* ughidontwannafigureouthowtousethis

* not finished

hgdt&lt;

* Make use of new collections api in collectionspage

* final commit HOPEFULLY

* fix infer v1

* fix mithril powder going over cap

my beloved

* Formatting :thumbsup:

* More Formatting :thumbsup:

important

* ea sports

its in the game

* maybe fix cache

* change location of weight and networth and config option for weght

requested by alea

* Fix jump at CAP powder

* Code formatting and deleted unused variables.

* Used KUUDRA_TIERS array from CrimsonIslePage in SlayingTaskLevel.

* Used SLAYERS array from PROFILEVIEWER in SlayingTaskLevel.

* Intellij Code Cleanup.

* revert fun things

Please efe put formatting in another PR.

* fix issues

idk

* Import fixes and formatting. And an unnecessary empty space in 2.1.1 for jani.

* fix nea issue

---------

Co-authored-by: nea &lt;nea@nea.moe&gt;
Co-authored-by: jani270 &lt;jani270@gmx.de&gt;
Co-authored-by: hannibal2 &lt;24389977+hannibal00212@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title> Add EnforcedConfigValues: Allow disabling options via the repo  (#535)</title>
<updated>2023-01-31T09:19:39+00:00</updated>
<author>
<name>Roman / Linnea Gräf</name>
<email>roman.graef@gmail.com</email>
</author>
<published>2023-01-31T09:19:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nea.moe/github/NotEnoughUpdates.git/commit/?id=291860435d5487562b122aaddbe57c178a8734de'/>
<id>291860435d5487562b122aaddbe57c178a8734de</id>
<content type='text'>
* Add EnforcedConfigValues: Allow disabling options via the repo

* EnforcedConfigValues: Allow filtering for mod version

* nitpicking</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add EnforcedConfigValues: Allow disabling options via the repo

* EnforcedConfigValues: Allow filtering for mod version

* nitpicking</pre>
</div>
</content>
</entry>
<entry>
<title>Annotation registering (and also some comptime performance) (#554)</title>
<updated>2023-01-25T18:43:51+00:00</updated>
<author>
<name>Roman / Linnea Gräf</name>
<email>roman.graef@gmail.com</email>
</author>
<published>2023-01-25T18:43:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nea.moe/github/NotEnoughUpdates.git/commit/?id=f1a5ba28e92da4f46b39da27277b1c8b7a6ec4bb'/>
<id>f1a5ba28e92da4f46b39da27277b1c8b7a6ec4bb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>PetLeveling: Allow for defining custom level offsets for pets (#534)</title>
<updated>2023-01-13T12:29:39+00:00</updated>
<author>
<name>Roman / Linnea Gräf</name>
<email>roman.graef@gmail.com</email>
</author>
<published>2023-01-13T12:29:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nea.moe/github/NotEnoughUpdates.git/commit/?id=e603cf230af0cef44481633888ec13d2097b6310'/>
<id>e603cf230af0cef44481633888ec13d2097b6310</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Craft cost price calculation improved (#511)</title>
<updated>2022-12-27T18:56:24+00:00</updated>
<author>
<name>hannibal2</name>
<email>24389977+hannibal002@users.noreply.github.com</email>
</author>
<published>2022-12-27T18:56:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nea.moe/github/NotEnoughUpdates.git/commit/?id=fa7abebe73f629c17e7a43d8c50307d2f8aa588e'/>
<id>fa7abebe73f629c17e7a43d8c50307d2f8aa588e</id>
<content type='text'>
Co-authored-by: hannibal2 &lt;24389977+hannibal00212@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: hannibal2 &lt;24389977+hannibal00212@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
</feed>
