HNHacker News
TopNewBestAskShowJobs

otis_inf

183 karma · joined December 19, 2014

Creator / Lead developer of LLBLGen Pro (Entity modeling system / ORM for .NET) http://www.llblgen.com || Ex-demoscene || Twitter: @FransBouma || Blog: http://weblogs.asp.net/fbouma
submissionscomments
otis_inf··on Java LINQ – C# LINQ examples running on Android
> linq102: Cross Join

I think it's an inner join, not a cross join. SelectMany() produces a cross join.

otis_inf··on FFmpeg's future and resigning as leader
You mean, on WIndows they e.g. use FFmpeg and on mac Libav (example, I don't know what they pick) ?
otis_inf··on FFmpeg's future and resigning as leader
It might hurt you but it looks like it doesn't hurt you enough that you decide 'pick a side and stick with it'. What I don't understand is why you don't simply pick ffmpeg and be done with it? E.g. it's good enough for playing whatever format on windows using WMP, so why isn't it enough for you to play whatever is out there using VLC?
otis_inf··on FFmpeg's future and resigning as leader
> I have to say that, at least in tone, FFMpeg struck me as being more mature about the whole affair.

same here. And regardless of what their codebase smells like, their stuff works and does what it says on the tin, letting people play whatever format there is out there on a massive amount of different systems. I'm the first to admit the dialogs they're using to configure the codecs is one which is a yearly 'Ugliest UI' award winner, but luckily others have made front ends which make you avoid all that mess in the first place.

otis_inf··on FFmpeg's future and resigning as leader
> Attacking me is not really objective.

In the decades I'm developing software, I've learned that there is no developer out there liking somebody else's code. There's always something. You can think you're objective and unbiased, but you're not, no-one is. FFMpeg's code might be a mess due to a large chunk of legacy / backwards compatibility code, but very likely the other side's code base is a mess in other people's eyes.

otis_inf··on GitHub Raises $250M at $2B Valuation
Hello, nice to meet you :) I use jira and I like it. I don't like github issues that much in comparison because it lacks features I love in Jira, like subtasks on an issue. But YMMV of course ;)
otis_inf··on GitHub Raises $250M at $2B Valuation
You too miss a vital point: every user of github who doesn't pay for using the service adds to the costs of running the service. The popular it gets among free users, the more costs github has. What you're referring to is precisely the reasons why users use the service for free, and of all these users github doesn't make a dime (well, in practice they might make indirect money of these users by selling profile information and perhaps because some users might purchase services because they know github, but that's not a given)

> Companies that need enterprise functionality around security and flow configurability move to Github Enterprise and spend, not $7/month/organization, but $20/month per programmer.

This is not a given at all. Github is used by many because it's a great free service. When you have to pay for the service however (or better: you're going to use a service offered by github which costs money), there are other alternatives which might be cheaper or even free. E.g. private repositories are free on bitbucket. Private repositories don't need the social aspects of github at all, as they're private and the group of people using the repo is limited and known up front.

I find the article missing this point as well: sure they got funding and that's great, but their popularity among the users of the free service is not a reason to think they'll be a very profitable company: only the paying users can make that happen.

otis_inf··on Microsoft’s new small print – how your personal data is abused
But it was tedious though. The OS gave you a tremendous long number you had to punch into your phone and then it gave you numbers in return you had to type into the OS, but as that screen wasn't available to you you first had to write them all down (If I remember it correctly!).
otis_inf··on Microsoft’s new small print – how your personal data is abused
> The reality is that nothing you do on a computer connected to the internet should be considered private.

So let's accept that as a baseline? Why is that even 'normal' ?

It's my PC, not theirs. I licensed the OS, but I didn't tell them to do any other thing. My PC is connected through routers which at least for the first hops I control myself, how is it then 'normal' I still am not able (!) to stop an outside company from peeking into what I do on my pc?

otis_inf··on The Verge's web sucks
> I wonder if that is going to be what it takes to fix today's bloat problems: Google takes the hammer to sites that too much advertising cruft.

That could get interesting: Google, using the argument that all those ad-related scripts make things slow, ranking sites with a lot of them lower than sites which don't, and at the same time hitting their competitors hard: after all, Google makes money through ads, if their competitors are forced to be used less (by Google's own actions) more people might be using Google ad networks.

otis_inf··on Implementing fast, ray-traced soft shadows in a game engine
Can't you draw the shadow as a blended polygon where you gouraud shade from full opaque to full alpha the penumbra area? (so you thus have to draw triangles in that area)? This will produce soft shadows (due to the shading) and will take not much calculations (per vertex in the model casting the shadow, you have to cast its shadow point on the surfaces the shadows are casted at from the lightsource which isn't a point anymore (so you get the penumbra, like in the image in the article)

Not sure if this will work, I thought about this years ago when I was still in the demoscene but never had the time to implement it.

otis_inf··on Rockstar lib will make you a Rockstar programmer in 2 lines of code
Now the wait is for the PR to make the github commit profile picture contain the word 'Rockstar' with green pixels.
otis_inf··on How a car works (2012)
Great work! two points of criticism:

1) The site still talks about carburetors and has no mention about fuel injection systems, while in Europe all cars sold must have a fuel injection system for quite some time now, so this looks quite outdated

2) Diesel engines of course don't have spark plugs, but you don't mention diesel engines.

otis_inf··on Go Is Unapologetically Flawed, Here’s Why We Use It
Agreed, I also didn't understand the real point the author was trying to make: if you hate it, say so and be done with it, don't wrap it in a 'I love you to death but..' kind of way.

I think with 'go' as a language when you start with it, there's a lot to love: things are simple again; "Look ma, a real program that does something with almost no code and also no magic shit behind the scenes!". But things are always simple and nice in the beginning, when you are focusing on just a small part of the complete picture.

The problem with 'simple' is that unless it abstracts away all complexity you'll ever need to deal with, you'll need to do a lot of work yourself: it's the typical RISC/CISC argument from yesteryear: do you want a small instruction set which is simple but results in a longer program, or a complex large instruction set which results in a smaller program?

So, to be able to deal with all possible complexity in all possible scenarios, either the language has to be vast in its expressiveness (go isn't) or it has to come with a vast standard library which offers additional expressiveness through classes / methods / functions / subsystems or whatever the language is lacking, OR you have to write it all yourself.

In the end, the net-result is the same: the system as the end result of your work is the combined complexity of the code written by the developer(s) and the complexity of the libraries used. Go doesn't change that, it just moves the divider between 'own code' and 'libraries' more towards 'own code', even if that's simpler to write because the language lacks things which some people might consider 'oh god this is complex, I'll never understand this'.

otis_inf··on Open Source .NET libraries that make your life easier
See: https://github.com/Microsoft/dotnet

This is an extensive list of (non-MS) OSS libs and tools for .NET , complete with descriptions. The URL might suggest this is the .NET source, it's a set of text documents with URLs to OSS libs/tools.

otis_inf··on Open Source .NET libraries that make your life easier
My testing showed that AsNoTracking is faster than dapper. But indeed the tests were purely focused on materialization and not query parsing: linq query parsing takes a lot of time, so with lots of predicates etc. you'll see much slower performance with EF compared to other ORMs with query systems other than Linq (except NHibernate, that's slow regardless)

See: https://github.com/FransBouma/RawDataAccessBencher

otis_inf··on Apple Acquires FoundationDB
Hyperdex is the result of their ongoing research at Cornell University. They have a commercial spinoff which sells Hyperdex Warp which adds full ACID transactions on hyperdex. So if you don't need full acid transactions, you can use the OSS version, if you want the extra services you have to pay.

It's the same with all software, really: to be able to do a large scale project you have to have funding from somewhere, as you need developers full time working on it to fix/write the stuff no-one wants to fix/write. Some OSS projects get this funding indirectly by sponsored developers who work at company X and write OSS code all day for the project (this is what Linux uses). Other projects are funded by VC money, licenses, support contracts or ads. It's not common a large scale OSS project is successful and stays successful without any funding from the outside.

Thus, if a piece of software gets its funding by selling licenses (like with Hyperdex Warp), it's the same as with a company getting funding by sponsoring: if the cashflow stops, the show ends. In the case of OSS you can grab the sourcecode at least, but in the end, to successfully maintain that it takes a lot of effort most of the time, as the projects are often large, complex and the internals unknown to the user.

otis_inf··on Announcing MongoDB 3.0
MongoDB is like MySQL: it promises you the world, and you believe it can deliver, and it often does, till that day when it committed a transaction which it shouldn't have, tripped over its own clogged up mess and spilled your carefully collected data all over the floor.

Without telling you.

otis_inf··on My Gravity lawsuit and how it affects every writer who sells to Hollywood
I likely miss something, but I find it intriguing that the movie isn't apparently based on her work, yet she wants the original contract being honored because the movie IS based on her work: if the movie isn't based on her work, the contract isn't in play here.

So if the movie isn't based on her work, how can it be seen as a result of the contract she signed?

otis_inf··on Show HN: Primrose – a text editor that runs in a WebGL texture
And then I hit Backspace while not inside the editor pane I moved the camera in front of and was transferred back to HN through the browser's back feature. Not sure if that was meant as a 'enough played, back to reality' nudge from mr. Firefox...
otis_inf··on Staying Hungry, Staying Foolish
It might be an idea to use a more formal, functional oriented language to implement your ideas, e.g. F# or haskell, where defining what you're going to need and want to achieve is half the work?

Though it might indeed be redundant, as designing the algorithms and understanding they'd work is enough: typing it in and seeing it work is an exercise performed so many times it's become a chore.

otis_inf··on Staying Hungry, Staying Foolish
You're new to writing software? Because after 20+ years in the trenches, it can become second nature to you. The thing is: to get from A to B is a journey you can perform in a million different ways. When you're new, and young, such a journey is an adventure: what shall we meet along the way? Who knows! Let's find out! The more experienced you get, the more you know which things to avoid, what to do to get certain things done and how to make things easier for yourself and others. That also means that a journey from A to B isn't an adventure anymore, it's a carefully planned expedition, because you _know_ that by not carefully planning it, you'll hurt yourself and perhaps won't make it to B.

This means that all the fun of exploring and adventuring to get from A to B is more or less gone, as you already know what lies ahead and how to avoid it. You _know_ what's coming and thus how to deal with it. You also _know_ which parts are a chore and can suck the energy right out of you. This alone can make a journey that would otherwise be fun, a problematic undertaking we probably would like to avoid if we had the chance.

The post absolutely doesn't state you should avoid crap, it also doesn't state one can achieve greatness without avoiding mess and misery. It just writes about by learning a lot over the years the adventure of a journey from A to B is fading away and with it, the fun and excitement.

The post hit home with me a great deal as it perfectly answered why I didn't code on a Saturday anymore (e.g. silly stuff like a small game or tiny tools), but only program software during work days and only for work: it wasn't a problem to find ideas to write a silly program for, it was the baggage that came with it as I already knew I had to do X and Y to get started properly, Z to get something on the screen, get a lib for E and F and as I knew that would likely be a chore I wouldn't even start, as: why bother with chores on a free Saturday if you can have some fun?

It's still possible though, don't think it's all grim and gloomy and dark, you just have to put what you _think_ up front what could happen aside and still do it. You'll learn it isn't so bad, but sadly the fun of adventuring and exploring into new territory is often not there anymore, simply because it's familiar territory. That's often a good thing in life, but if it's adventure and excitement filled exploration is what you're after like all those years ago, you're not going to find it (easily).

Cheers :)

otis_inf··on Apple has lost the functional high ground
Agreed, windows 8.1 isn't that bad. I hated it to death when I migrated to it due to the dreadful metro shit, but thankfully you don't have to deal with that if you spent some time making sure it's out of your way so booting to desktop and a quicklaunch bar is in place. the rest you get used to. I moved from XP to windows 8 and I missed the start menu a week or so, as I already used a quicklaunch bar for ages in XP.

Now, windows server 2012 R2 on the other hand... aargg...

otis_inf··on The 2014 Panic Report
Absolutely. And it's actually rather odd. People are tend to spent more money on a coffee they buy at starbucks than they're willing to pay for an app they use e.g. every week. Maybe it's because a lot of users have absolutely no idea how much work it takes to write an app. All they know are the Angry Bird and Minecraft success stories thinking that app makers must shit golden bricks every time they build their code.

It's not only a trend among average consumers though, it's also sadly a trend among us developers: not a lot of developers are willing to spend even a single dollar on software they have to use every day. "Do you have a free version?" "Why do I have to give away the application I spend years full time on writing? Do you work for free?"

I don't think this will end well. If we less and less value software on its true worth, it will become less and less attractive (or even possible) to write the software we need in a society which more and more relies on software. Watch this great presentation by Erik Meijer [1] where he addresses this problem (and others ;))

[1] http://vimeo.com/110554082

otis_inf··on My OpenBSD Story
Oh yeah very recognizable (I'm a professional software dev now for over 20 years too ;)). It's indeed key to have the dev of the software used to do support as well, at least for some time. I try to do support for my own work as well to stay in touch with what customers have to deal with so I can improve it. Has worked well over the years even though it's not always the greatest work.
otis_inf··on My OpenBSD Story
You almost never had to consult with a vendor, development team who wrote the stuff you're using, or otherwise 3rd party who supplied you with a piece of software or hardware you're using with your own software in those 20 years or was it in almost all cases a miserable experience? I agree paying a lot of money for simple additional features (the well known 'enterprise features') is in most cases unjustified, but support is IMHO something else.
otis_inf··on My OpenBSD Story
The feature he needed was an optional feature which did cost a lot of money and wasn't available right away so it was useless for this problem at hand as clients were threatening to leave the next day.
otis_inf··on Neat Algorithms: Paxos
IMHO 'Eventual consistency' and related 'consistencies' are not really giving a consistent state, as they're more about a promise that the system will reach a consistent state 'eventually', but when that happens is unknown: in a volatile database, the system could never reach a consistent state, due to the lack of linearizability. See: http://hackingdistributed.com/2013/03/23/consistency-alphabe...
otis_inf··on When rational thinking is correlated with intelligence the correlation is modest
Yeah I got that now. I feel pretty stupid after I found that out... :)
otis_inf··on When rational thinking is correlated with intelligence the correlation is modest
I had it wrong too, but mostly because I had an issue with the 8 card: IMHO it has to be turned over as it might have e.g. a 'V' on the other side, and that side also belongs to the card, but the answer explicitly states 8 isn't needed because apparently the other side isn't part of the card so the rule only applies to the sides you initially see. A bit of a trick question IMHO.
← PreviousPage 3 of 4Next →