W1siziisijiwmtuvmdivmtivmtyvmzyvmdqvnteyl0f2yxrhci5wbmcixsxbinailcj0ahvtyiisijmwmhgzmdajil1d?sha=40d429a2ffd553af
In reply to: need.computer/wwt409
Fuck.

SHUT UP AND TAKE MY MONEY

Fuck. Me. I have about 200 hours now in X-Plane and too many in P3D and HOLY FUCK I WANT THIS! Playing P3D with the Oculus is already a boatload of fun, but this… Want. Want. Want. Very nice find!

In reply to: pants.halfbyte.org/zzo652
I’m pretty sure I was still sucking on pacifiers at that time (I was probably already out of diapers?

Me personally, I have no problems parsing the ternary as well, but then again, I wrote my first line of C in probably 1994 or so.

I’m pretty sure I was still sucking on pacifiers at that time (I was probably already out of diapers? I can’t claim I have the best memory of these times), and my first line of C has been much later, so I don’t think it’s the age.

I agree that it depends on the context, you can abuse almost anything and turn it into an unreadable mess, point in case the IOCCC. But I still very much believe that the ternary operator can also help turning hard to read code into easy to understand one. There’s a point where information density and readability are optimal and you can definitely get there with the ternary operator.

The biggest issue is probably that it’s hard to google for beginners.

I just had to fork and fuck around with >120 header files because Cocoapods podspec stuff is an inflexible mess.

I just had to fork and fuck around with >120 header files because Cocoapods podspec stuff is an inflexible mess. Boy am I glad that the vendor allowed for this in the license, or I’d be fucked now. Why the fuck did anyone think it was a good idea to invent yet another project file format and then fuck it up so royally? I can’t tell you how much I dislike Cocoapods at this point.

Can someone explain why Cocoapods uses this stupid Podspec system?! All it does is being a half assed attempt at creating an alternative to an Xcode project, which I still have to maintain side by ...

Can someone explain why Cocoapods uses this stupid Podspec system?! All it does is being a half assed attempt at creating an alternative to an Xcode project, which I still have to maintain side by side with the podspec. And I have to resort to stupid hacks to get include paths preserved with their folders, because by itself this isn’t supported in Cocoapods. My Xcode projects builds a nice library, it copies all include files into the right destination, why the fuck doesn’t Cocoapods take an Xcode project and a target name and compile that?! Why does it have to do this bullshit “look, I invented my own fancy project file format” dance.

The more I work with it, the more I dislike Cocoapods and its architecture.

In reply to: pants.halfbyte.org/ivo720
I know this is beside the point you are trying to make, but I really really like the ternary operator and find it very easy to read.

Clever or unreadable?

The most programming languages have some variation on C’s ternary operator:

1a = flag_is_set ? 23 : 42

While it is not very readable, it is compact and the meaning is clear to everyone who saw this thing before.

I know this is beside the point you are trying to make, but I really really like the ternary operator and find it very easy to read. Mostly because it simplifies the expression making it much easier to grasp what is going on.

In reply to: pants.f5n.de/uuj260
True, die Vim emulation von den Jetbrains IDEs ist eher schlecht, ich hab da jetzt mehr in Richtung Sublime Text gedacht, was ich als Texteditor der Wahl nutze wenn ich wirklich nur Texte editieren...

The point is that you can wait for your preferred IDE to implement some new fancy feature like that. But with Vim you can use it right now. And the reason you can use it is that Vim does not tries to do all the things, but instead allows to delegate work to others.

Why I prefer Vim to RubyMine

Fasst sehr gut zusammen, wieso ich Vim gegenüber jedem anderen Editor bevorzuge.

Jede IDE und jeder gute Texteditor unterstützt aber Plugins, das ist nichts was Vim exklusiv ist. Und fast jede IDE und Texteditor unterstützt einen Vim modus von Haus aus. Nicht das Vim nicht gut wäre, aber ich der einzige Anwendungsfall den ich dafür habe ist wenn ich über SSH mal in irgendeinem Server bin und einen Texteditor brauche, ansonsten funktioniert Sublime Text für mich deutlich besser. Eventuell mach ich auch einfach nur was falsch :p

Ich benutze seit Jahren IntelliJ als Haupt-IDE in der täglichen Arbeit und das VIM-Plugin ist gut, aber nicht perfekt. Mindestens alle 1-2 Wochen muss ich einmal was direkt in VIM laden, weil irgendwas nicht hundertprozentig geht und es genausolang dauern würde, herauszufinden, wie man es anders löst.

True, die Vim emulation von den Jetbrains IDEs ist eher schlecht, ich hab da jetzt mehr in Richtung Sublime Text gedacht, was ich als Texteditor der Wahl nutze wenn ich wirklich nur Texte editieren möchte. Wobei mir CLion als C/C++ IDE sehr sehr gut gefällt und mir die Nachteile von der eher schlechten Vim emulierung nicht stören gegenüber dem was ich auf der plus Seite bekomme.

In reply to: pants.f5n.de/rrh839
I heard good things about FreeBSD’s Linux emulation layer.

As much as I would like to like Windows 10, I’m not going to switch to that platform even for development purposes, despite really looking forward to working with Direct3D 12. The privacy policies are not just extremely consumer unfriendly but outright consumer hateful. Oh and also the privacy defaults Fuck that. Just in case Apple follows suit in the near future, does any of the BSD flavours have a good desktop environment nowadays?

Good is relative. I think I could replicate my xmonad-Setup on FreeBSD, maybe on OpenBSD - the problem is that the stuff I use on that desktop is usually hard enough to get to work on Linux, haven’t tried it on the BSDs in a while.

I heard good things about FreeBSD’s Linux emulation layer. I feel you on Linux being hard and BSD being harder, but I don’t believe in the GPL and would rather avoid it if at all possible. Plus, I’m a huge fan of some of the stuff coming out of the BSD land, although more on the OpenBSD side of things than FreeBSD. And I really like what I’ve seen of Dragonfly BSD, but I guess that is so far out of the every day usable range that I might as well forget about it immediately. Ideally I would like to stick with OS X, but having options is always a good thing and Windows just kind of died for me in that regard.

As much as I would like to like Windows 10, I’m not going to switch to that platform even for development purposes, despite really looking forward to working with Direct3D 12.

As much as I would like to like Windows 10, I’m not going to switch to that platform even for development purposes, despite really looking forward to working with Direct3D 12. The privacy policies are not just extremely consumer unfriendly but outright consumer hateful. Oh and also the privacy defaults Fuck that. Just in case Apple follows suit in the near future, does any of the BSD flavours have a good desktop environment nowadays?

In reply to: need.computer/dei804
Jede IDE und jeder gute Texteditor unterstützt aber Plugins, das ist nichts was Vim exklusiv ist.

The point is that you can wait for your preferred IDE to implement some new fancy feature like that. But with Vim you can use it right now. And the reason you can use it is that Vim does not tries to do all the things, but instead allows to delegate work to others.

Why I prefer Vim to RubyMine

Fasst sehr gut zusammen, wieso ich Vim gegenüber jedem anderen Editor bevorzuge.

Jede IDE und jeder gute Texteditor unterstützt aber Plugins, das ist nichts was Vim exklusiv ist. Und fast jede IDE und Texteditor unterstützt einen Vim modus von Haus aus. Nicht das Vim nicht gut wäre, aber ich der einzige Anwendungsfall den ich dafür habe ist wenn ich über SSH mal in irgendeinem Server bin und einen Texteditor brauche, ansonsten funktioniert Sublime Text für mich deutlich besser. Eventuell mach ich auch einfach nur was falsch :p

In reply to: pants.f5n.de/nwd118
I feel ya and you raise a really good point.

From purely a “don’t get in the way” perspective, Facebook 1-2 years ago was perfect for this. Web frontend was working, the times of “iPhone app drains battery” were just fixed and pre-Messenger App on Android the app was working reliably. (Now there are people like me who don’t install that messenger app and the old one lost the functionality, so I lost the notificiations and group chats…)

I feel ya and you raise a really good point. And obviously I’m not at liberty to talk about internal discussions or future plans in detail, but web is definitely a big target. I think at some point the decision was made that we would launch with a lot of things still open to see how its accepted and also incorporate every-day user feedback instead of developing into the blue. So far that seems like it has payed off, although it definitely leaves a few people behind.

But yeah, obviously I’m biased. If only for the fact that I’ve been part of the team since almost the very first prototype (and it has seen so many iterations on the design and features since then. Something I really like; we’ve gone through many many re-designs to end up with something that I believe is really easy to use user interface that still looks pretty)

In reply to: pants.morgvom.org/nte577
Thanks :) Two things, and I feel like that should be somewhere in the marketing materials.

I’m looking forward to the international launch and slightly bigger circles! Fingers crossed

Thanks :)

Just one thing: What’s in it for your company? I don’t see how you can make money with a service like this without advertisement or selling/analyzing user data.

Two things, and I feel like that should be somewhere in the marketing materials. First one, when you share a song or a book or what have you and you decide to open it in the iTunes store, our affiliate token is attached it. The second is that it’ll cost a yearly subscription fee after the first x amount of time. Although, because it’s a tech startup and the founder is a billionaire, the idea is to give everyone free lifetime access for now until it kicks off and people come because it’s cool there. Or put differently, right now it operates at a loss to gain new users.

There actually is a business model, but right now the idea is that no one will join a new and small social network without some incentive and I think this is a good call.

In reply to: pants.f5n.de/ieg781
As a biased person, mostly because it’s different in the approach that it sees itself as the product and not the user.

I’d go a step further - even if it had an Android client, it would still be 100% useless to me. I know, MVP and all, but I really do wonder why anyone would use a social network with that low of a market share.

As a biased person, mostly because it’s different in the approach that it sees itself as the product and not the user. I can tell you that this is not a “let’s see if it sticks to the wall”-project but the CEO behind it is passionate about it and has the resources to support it.

Also, I put a ton of work into all that blur. That alone should be reason to use it!

In reply to: pants.morgvom.org/zyw718
I’m not going to lie, I’m already yearning for the day the deployment target can be bumped to iOS 9.

iPhone only and iOS 8+. My close friends circle will be a very small circle.
Anyway, I’m looking forward to share my first post.

I’m not going to lie, I’m already yearning for the day the deployment target can be bumped to iOS 9. But I feel you with regards to small circles. Hopefully that’ll change though, we are currently in the “Best New Apps” section on the US AppStore and also featured in the “Best Social Networks” section, so there have been a ton of sign ups and there are articles on some major techblogs pending.

Anyway, international launch is targeted sometime in the next month, mostly to see how good the servers will cope with all the people joining. We would rather it be controlled so we have time to mitigate any issues. I would offer you to add you the Testflight beta, but I suppose that would even further reduce your possible connections? :p

I talked about how I’m an evil person and part of the growing effort of destroying the web @hmans.io likes before (as if my recent Coffee machine post wasn’t terrible enough).

I talked about how I’m an evil person and part of the growing effort of destroying the web @hmans.io likes before (as if my recent Coffee machine post wasn’t terrible enough). I haven’t said what I was working on, or really, what the company I work for is working on, but now it’s released and I can finally talk about it: It being a social network. Or better put, yet another social network.

Hold on, don’t go away just yet, I believe it’s actually a really cool social network (and I actually do, I’ve been drinking that kool-aid heavily). First of all, it’s called Vero and it’s primarily an iPhone app for now. The twist is that it’s privacy oriented AND explicitly not monetized through advertising the selling of user data! This is really important to us, what’s shared there stays there and is only visible to the people it’s shared it with, no third party!

Also, it centers around privacy: You have three so called loops, Close Friends, Friends and Acquaintances in which you can categorize people and each of these loops can have a different avatar. So not only can you decide what to share with whom, but also how these people see you within the network. And then of course you can share what you are up to, give recommendations for places, movies, music, books etc, watch and listen to previews of shared content (eg. if someone shared a song you can listen to a preview of it, or watch the trailer of a shared movie) and easily access shared content through collections.

Yadda yadda yadda. But seriously, I really like it a lot.

In reply to: pants.f5n.de/rze494
Der Post bewegt mich ja gerade dazu eine Kaffeemaschine zu kaufen, selber Eiskaffee machen der gut ist klingt extrem gut.

Eiskaffee

Ich bin kein Kaffeesnob, aber ich trinke gern mal Kaffee. Nachdem daheim aber schon diverse Packungen Kaffee unbenutzt monatelang rumlagen, steht hier seit 2 Jahren eine Tchibo Cafissimo. Die hat Plastikkapseln (kein Alu) und der Kaffee schmeckt.

Der Post bewegt mich ja gerade dazu eine Kaffeemaschine zu kaufen, selber Eiskaffee machen der gut ist klingt extrem gut. Ist die Cafissimo empfehlenswert (gerade mal geguckt, für 49€ könnte man das ja in der Tat mal kaufen).

CLion 1.1 EAP

CLion 1.1 EAP

After writing about my thoughts on the CLion 1.0 release, I figured it’s only fair if I now also write about the new 1.1 EAP which Jetbrains released yesterday. I’ve only tested it for about an hour, but, I’m very very pleased with it!

The parser

The parser got some major improvements! It’s still not a Clang but something home cooked, but boy did they put some serious effort into it. It’s still not quite there, for example, it still has issues deducing potential side effects in lambdas properly, like in the following snippet:

template<class T>
void Enumerate(const std::function<void (T *, size_t, bool &)>& callback) const
{
	bool stop = false;
	
	for(size_t i = 0; i < _count; i ++)
	{
		callback(static_cast<T *>(_data[i]), i, stop);
		
		if(stop) // Complains about condition always being false here
			break;
	}
}

Another issue that is still there is that it complains about truncation when using an implicit cast to bool, although the C++ standard says this in 4.12 Boolean Conversion

A prvalue of arithmetic, unscoped enumeration, pointer, or pointer to member type can be converted to a
prvalue of type bool. A zero value, null pointer value, or null member pointer value is converted to false;
any other value is converted to true. For direct-initialization (8.5), a prvalue of type std::nullptr_t can
be converted to a prvalue of type bool; the resulting value is false.

I know that might sound pedantic, but I do make use of that quite often and I don’t want to see a warning every time.

On the other hand it did learn that things with a non-trivial destructor have side effects and thus doesn’t complain about an unused variable when using scope or lock guards like this:

void foo()
{
	std::lock_guard<std::mutex> lock(_lock); // No longer complains about lock being unused

	// ...
}

It also learned about override and similar keywords, as well as decltype(), so all in all it definitely got better and I’m now at a point where I feel okay with turning those live static analysis things back on. Just a tiny bit more.

Debugger

My second biggest issue: The fact that GDB simply wasn’t working for me. Breakpoints didn’t work, symbols weren’t properly symbolicated despite compilation with debug symbols… I didn’t even use CLion for debugging, I attached LLDB via command line instead. The good news is, CLion 1.1 supports LLDB and it is god send! It works, flawlessly, and I’m more than happy. It also works with custom LLDB python scripts, so CLion can now used as a complete and fully working IDE. I’m really really happy with how this has turned out.

Performance

I mentioned performance a little bit in my first post and it seems like that has improved as well. The CPU usage definitely went down and it all feels a tad smoother. I don’t have actual numbers, but it seems like it definitely got better and I like that a lot.

Some more general thoughts

Once 1.1 is final (and there is no regressions), I would definitely recommend buying CLion if anyone is looking for a cross platform C++ IDE. I know 99€ is not a drop in the bucket, but it definitely is a really good IDE now.

But this is also something where I would like to mention something else, I read on reddit and other forums about people complaining that there is free Visual Studio and CLion is not free and what the fuck is wrong with Jetbrains. No, what the fuck is wrong with you? Visual Studio is not Microsofts income source, whereas Jetbrains does IDEs as a business. And it’s cross platform, unlike Visual Studio (and don’t tell me Visual Studio Source was anything like the real Visual Studio), which is huge because it means that you don’t need to work with different IDEs and potentially keep different projects in sync. And last but not least, unless this is just a hobby, 99€ is nothing compared what it probably indirectly generates you in revenue. For fucks sake, it’s like people bitching about Sublime Text costing a lot of money: Yes, it does, but I use IDEs and text editors daily for multiple hours for work and that makes the very minimal investment in good tools so worth it.

In reply to: need.computer/fvt092
Thanks :) Although I don’t think my Überspace can handle Hacker News traffic…

WOW! Very cool project! I’m pretty sure you’ll get a lot of Hacker News Traffic with this Project! :)

Thanks :)
Although I don’t think my Überspace can handle Hacker News traffic…

Guys, guys, guys… I have been working on a project for a couple of weekends now and to make a long story short it’s a watchface and watchapp generator for the Pebble Time for iOS. The basic idea is...

Guys, guys, guys… I have been working on a project for a couple of weekends now and to make a long story short it’s a watchface and watchapp generator for the Pebble Time for iOS. The basic idea is that it allows putting watchfaces/watchapps together easily and then deploying them on the Pebble that is attached to the iOS device.

Here is a video of the whole thing in action, note that the iPad simulator uses US keyboard layout and I only have my German one, so, yeah, you can watch me stumble over the keyboard quite a bit at times:

Also, my Pebble Time arrived yesterday and this is how it looks like in real life:

Pebble Blueprint in real

Took quite a bit to get a working LLVM/Clang cross compiler ready, but it basically is completely working now. Needs a ton of polish obviously, but I think for a weekend project this is quite cool. The only real big thing missing right now is an action system a la RPG Maker to allow some more customization than just the expression system.

In reply to: need.computer/mgf178
Eine Vending Maschine, das war der Körper von dem Ding.

Edit I just cancelled the print. 13 hours for the trash, fuck.

Shit! Was genau sollte das werden, wenn es fertig ist? Scheint ja wichtig zu sein, wenn du das mitnehmen musst auf deine Reise. :o

Eine Vending Maschine, das war der Körper von dem Ding. Mitnehmen müssen ist jetzt etwas übertrieben, aber meine Freundin wohnt in Kanada und sie fand die ganz süß und ich hab ihr gesagt das ich die ausdrucke. Hab einen zweiten druck gestartet mit ordentlich raft drunter damit das auch alles schön kleben bleibt, aber irgendwie hat der slicer da ganz ordentlich mist gebaut und ich hab erst 4 Stunden nach dem start rausgefunden dass das ganze schief druckt (hatte zuerst gedacht eine der Achsen ist lose, aber nach ein bisschen rumspielen dann rausgefunden das es der slicer war der kaputten code generiert hat). Naja, mittlerweile hab ich nicht mehr genug filament auf der Rolle um das ganze noch einmal zu starten, und auch nicht die Zeit.

Finde diese ganze 3D Drucker Sache ja echt interessant, aber hab dafür leider einfach keinen Anwendungsfall.

Ich müsste lügen wenn ich sagen würde dass das bei mir anders ist. Ich habe aber vor einigen Wochen mit designs für einen Verlobungsring rumgespielt und die probe gedruckt, das hat sehr gut funktioniert. Das wird aber hoffentlich jetzt kein täglicher Anwendungsfall sondern war einmalig. Ansonsten großartig ist natürlich das du dir super einfach counterfeit Lego drucken kannst.

First print update! \o/ I had to reduce the speed to around 50mm/s, which sadly added another 6 hours to the print time.

First print update! \o/

I had to reduce the speed to around 50mm/s, which sadly added another 6 hours to the print time. At least it now fills the layers correctly again, which definitely is a plus. I’ve also increased the print temperature because otherwise the extruder wasn’t extruding properly, however, I think this may have contributed to my biggest problem…

Anyway, here is how it looks:

Print progress

The C&C Mac which controls the printer right now is doing good as well:

C&C Mac

However… I have some huge warping issues, as can be seen in this picture:

Warping

I’ve reduced the bed temperature to 55°C already and the warping hasn’t increased in the last couple of hours, but, as you can see the build is already skewed on the edges. So far I’ve used up ~25m of filament, I could cancel and restart the print, this time with glue and a brim layer. I wish I had done that from the get go, but I have never experienced warping that bad.

Edit I just cancelled the print. 13 hours for the trash, fuck.