Posts
Checkout `Paged Out!`
Issue #8 came out a few months ago.
https://pagedout.institute/Open linkView original on aussie.zoneMirror Arabic or gibberish?
I am trying to work out if this is LTR Arabic, or just gibberish.
From the boardgame Blood on the Clocktower.
Guess the intent
I am one of the developers on a very small team and have just found the following query
I would love to hear your ideas for what you think was being attempted here!
SELECT ... FROM client WHERE CAST(ABS(SIN(clientId)) AS BIT) = 0
`Paged Out!` is a free experimental technical magazine
I hope some people here enjoy reading these as much as I have
If you know of anything similar, I would love to hear them
Great Storage Box past 6800?
I have the maxed out Pokemon storage of 6,800. Does anyone know if I buy the Great Storage Box if it will still increase this?
Glitched avatar
Found an interesting little glitch
- Close your game
- Turn your phone's GPS off
- Start the game and as soon as it loads open routes
- Turn GPS back on and after a few seconds close routes
Gyms and stops don't appear
Pokemon cannot be clicked on
Routes?
What am I meant to be doing with "routes". There are none around me to follow and I cannot seem to create a new one
I am missing something? Do I need to complete something?
Testing instance and wiping data
I am wanting to test things and contribute back to lemmy's codebase, and to do that I want to run an instance
I have had no issue setting up an instance, but I want to make sure the things I test / change are not going to cause issues for the fediverse
For example, if I federate a remote instance and then wipe my DB (while keeping the same URL), will that other instance be able to handle the change?
Is there a best practice for this that I should follow?
Programming Music
I am a big fan of listening to Drone Zone on SomeFM while programming
Hit me with your favourite streams, albums or artists
2039 - Tom Mauritzon
I fell in love with this album many years ago, I hope someone here will enjoy it too
Anyone need a River Vivillon region gift?
I work on top of pokestops, so add me and you'll get one today
0692 0102 3964
Bug breaking all Javascript functions when loading a post
If a post body contains an unclosed HTML tag, it will be automatically closed it at the end of window.isoData and then all Javascript functionality disappears.
https://github.com/LemmyNet/lemmy-ui/issues/1192Open linkView original on aussie.zoneEclipse compiler issue
I am wondering if anyone can help me.
I have an issue with compiling some code in Eclipse but not with IntelliJ or javac.
I am using sneakyThrow to bubble a checked exception up through 2 streams.
Here is the smallest reproducible code I can make:
import java.io.IOException;
import java.util.List;
import java.util.function.Predicate;
import java.util.stream.Collectors;
public class Example {
public static void main(String[] args)
throws IOException {
List<List<Integer>> input = List.of(List.of(1, 2), List.of(2, 4));
// Should return any List whose elements are all even.
List<List<Integer>> output = input.stream()
.filter(bubblePredicate(o -> o.stream()
.allMatch(bubblePredicate(i -> {
if (i > 10) {
throw new IOException("Number too large.");
}
return i % 2 == 0;
}))))
.collect(Collectors.toList());
System.out.println(output);
}
private interface ThrowingPredicate<S, E extends Exception> {
boolean test(S s) throws E;
}
private static <S, E extends Exception> Predicate<S> bubblePredicate(ThrowingPredicate<S, E> callable)
throws E {
return s -> {
try {
return callable.test(s);
}
catch (Exception e) {
sneakyThrow(e);
return false;
}
};
}
private static <E extends Throwable> void sneakyThrow(Exception exception)
throws E {
throw (E)exception;
}
}
Compiles and runs completely fine with javac 11.0.12, but doesn't on Eclipse 4.21.0.I20210906-0500 nor Eclipse 4.27.0.20230309-1200.
Has anyone encountered this before, or have any idea what I am misunderstanding?
Anyone need a gift from the River Vivillon region?
Can probably only send you 1 gift, as my friend list is quite full
0692 0102 3964

