Show more

Well, we can add freenx to that list now...

If anybody has an easy tutorial that actually works from start to finish, on how to set up on my Fedora 28 KDE Plasma, a working RDP server so that I can actually connect from a windows machine with Remote Desktop Connection, I will be eternally grateful.

Because tigerVNC and xrdp both are letting me down big time...

For some reason when I write methods with a complex sequence/flow, I always stumble into these choices:

- Do I assert the input or do I merely document the method's API contract?
- Do I create specific exceptions for out-of-scope edge cases or return null or an empty array/collection/stream/iterable/etc.?

How do I determine what values I should take into consideration when making a choice?

Should there be a convention for each of these, in the programming language or platform or the project?

What it did incorrectly all this time was that for R::add it found List.add(T) : boolean

It's incorrect because expected BiConsumer<R,T> has a return type void!

On the new machine it correctly found List.add(int, T) : void instead.

But why is there a difference between machines, it's the exact same JDK/JRE versions!

What's even weirder is that in the "working" environment, using Set instead of List broke, even though they have the same Collection.add(T) function!

Oh Java, you so silly. /fin

Not sure how, for some reason I've had Java eat a situation that should've failed. I don't know how it ever worked and I don't know why it now fails on a new machine only...

<T, R> Collector<T, R, R> toIdentity(final R identity, final BiConsumer<R, T> accumulator) { ...}

I call this method like so:

<T, R extends List<? super T>> Collector<T, R, R> toList(final R list) {
return toIdentity(
list,
R::add
);
}

/1

damm kewl boosted

Bitcoin adopting protip: pretend you don't have cash at bar (or if you're like me forget your wallet at home) ask your friends to pay for you in exchange for bitcoins. Wallet setup takes 5 minutes and everyone gets excited, feels like doing something naughty.

Nocoiner becomes holder.

Gradually their brain rewires.

One of us, one of us.

Every, single, damn, time.

class <T extends SomeClass> TheClass implements Iterable<T> {...}

I call something with a raw TheClass return type (not my API), and I get confused why this doesn't work:

for(SomeClass thingy : instanceOfTheClass) { ... }

The raw type doesn't have a generic type at all, so it doesn't have a upper bound like let's say SomeClass. So the enhanced for loop sees an Iterable dishing out Object instances, not SomeClass instances.

I fall for it. Every, single, damn, time.

The more we move into the age of boundless information reuse, redistribution and reinterpretation, the less it can be stopped at a whim like lawsuits weeaboo.space/notice/1544285

You may value content originating from you, you may attempt to claim some sort of intellectual property, but you will be superseded in the end

The first game to integrate the creation and adoption of "narrative by the player" in its gameplay and have canon be not decided by a single entity but those who value it, will win

Here we go into another deepdive of "why doesn't X just do the thingy".

This round: I need to reinstall since I screwed up the filesystem partioning.

Figured I'd try a more competently configured installer rather than what F28-WS starts by default (i.e. no software packages picker).

I open up terminal, become root user, type "anaconda", hit enter, and 60 seconds later it's complaining about DBus modules not starting on time.

*looks up how to fix this*

Oh dear lord, it's python scripts...

damm kewl boosted
damm kewl boosted

@dammkewl @orionwl the upload filter thing is probably the least terrible internet censorship idea coming down from EU. What annoys me the most is that Dutch politicians, representing the country in the EU, hardly care about these issues either and usually just vote in favor. Even parties that are somewhat classical liberal, internet is a non-issue for them. Nation states aren't losing their relevance anytime soon, but the song by Henk Westbrook is relevant here: not many other places to go.

damm kewl boosted

One of the most frequent questions we get is: Why doesn't Tusky support push notifications?

Because pushing to devices would require us to use proprietary Google libraries and to run a relay server. But we want Tusky to be pure FOSS (free and open-source software) and don't want to send any data to Google so we decided not to implement push notifications at this time. We are researching other possibilities to make notifications faster though.
github.com/tuskyapp/Tusky/issu

damm kewl boosted

twitter.com/Senficon/status/10

I see no such protest in the Netherlands on this page: saveyourinternet.today/ .

The Dutch truly are a lost cause that do not care about their future.

twitter.com/atomicthumbs/statu

"A former Tesla employee, who worked on their IT infrastructure, is posting in a subforum of a subforum, a little-known place for funy computer forgotten by time. His NDA has expired. "

This thread about Tesla is all over the place.

Well so much for that. Graal on Windows is simply a no-go because you can't build it.

damm kewl boosted
damm kewl boosted

twitter.com/radomysisky/status

This is the most inspirational thing I have ever seen. and I'm not a gun person at all. shot a rifle at summer camp once, that's it.

damm kewl boosted

what we are a part of is not something that began in 2009. it began decades ago, when a small band of misfits stood up to the government and won. and they have gone from strength to strength ever since. this started in the 70s with encryption, continued in the early 00s with p2p filesharing, and grew into a flood with cryptocurrency. now Cody Wilson brings the fight to a new territory.

damm kewl boosted
Show more
Bitcoin Mastodon

A mastodon instance for Bitcoin Maximalists.
No scams, no shitcoin, no impersonation, no begging, and no illegal content.
Keep it civil and we should all survive :)