HN user

cleversoap

24 karma
Posts0
Comments12
View on HN
No posts found.

Is the "write once run everywhere" paradigm a realistic goal

A part of me sees react-native adding another option here - "write once, tailor anywhere"

While it's always been possible to have common core logic and then tweak your frontend for each platform as a separate project to get a slightly closer to actual native experience, react-native makes it significantly easier to do so and I think it's that one+ standard deviation away ease that makes all the difference.

I don't think we'll see a lot of successful react-native cross platform that goes for the one-size-fits-all approach but rather, with the same (probably even less) effort, we'll see react-native apps that target the UX of a platform rather than just the UI elements.

Tabletop games fill the niche left by typical LAN party / split-screen games as more and more of them move to only allowing internet connected matchmaking rather than some local network equipment / friends that won't look on your half of the TV.

Kit modules are compiled libraries, while CCAN distributes source code only.

Could you expand on this? I assume pulling the source, compiling locally, and then adding the headers and libs to a project local include or link path. Is it individual directories for each dependency or do they get mixed together?

How are you handling macros? Do you have some preset defines you're passing in for different platforms?

I think it's an interesting idea and definitely has more polish than ccan. I don't know if I'd ever give up fine grained control in production but for small personal projects this would be ideal.

I too was confused but then I realised this isn't meant for fun hacky 3D-mapping. It's meant to sell stuff for the home and I think that's unfortunately going to limit the reach of this technology. The only third party type of business that might be able to make use of this is a real estate company for obvious reasons. I guess they have a public API that can pull the data but even then that requires somebody with the camera to upload your house.

I highly doubt IKEA or any other furniture store is going to bring their camera out to me just so I can then digitally place a few sofas and I'm not going to pay $500 just to... what... save me a trip to the returns department? If I bought it what happens when I'm done decorating? Does my camera become a useless $500 paperweight?

It's cool that they allow you to have an OBJ (UV maps and textures too?) - I assume that doesn't include whatever proprietary meta-data gets attached to denote walls, floors, et al. If I could get the mesh with just the camera I would buy one of these in a heartbeat but otherwise I don't see this being used by any consumer apart from the absurdly obsessive renovator.

A lot of engines do this to some extent (eg. OGRE3D, Irrlicht, et al.) but there are pitfalls there as well. While jquery does a good job of shimming in hacks for older browsers the world of graphics programming isn't really that flexible and even newer drivers can still be a total grab bag of what they support - think of it like this: you have the latest version of Firefox and you can support everything but rendering text in italics. How would you shim that in? Can you? What if it tells you it supports it but it actually slants text the other way? What if it renders correctly but doing it the normal way takes an hour but there's a hack for only this operating system and version of Gecko that works. Also there really isn't a manual and StackOverflow is full of questions that contain all your search terms but are actually for a completely unrelated matter.

So you drop it from the common interface that your abstraction presents because it's just not consistent enough....

There are also a TONNE of shader abstraction languages that transcribe to HLSL or GLSL on the fly for the same reason.

tldr; Engine developers stare into the abyss and somehow the abyss gives back a projection matrix.

BASIC at 50 12 years ago

how people made games

In my experience this is the common question amongst everybody (myself included) that started programming young. Some adult somewhere (how sad that I don't remember) took me seriously enough and gave me some books so I started writing in C, BASIC, and assembly and I was too stupid to realise that it was supposed to be too hard for a 9 year old.

Today (as in literally this moment in time) I am still writing C for games.

CMake is interesting because the CMakefiles are just a different type of editable/configurable build script (ie. slightly different Makefiles). It's still an interpreted step between build instructions and the output that you actually use to build which isn't meant to be edited and therefore obfuscates part of the process... so autoconf. This is both a strength and weakness in that there are so many external modules for CMake (eg. the various FindX) that they work great most of the time but when they break they are more difficult to fix than an atomic change to the actual compiler flags in a Makefile.

I don't think there will ever be a standard build tool, simply shunts to get the needed functionality from others. Eventually all build tools will exist in each other and the only interface will be recursion.

I've been with them for quite a while and one thing I've noticed they do differently is that they will upgrade your service periodically while not changing the price. For example, I've gone from 128MB to 512MB of usable memory for my vhost without paying anything but my $9.99 a month. There are other anecdotes (awesome control panel, good support, etc...) that make me think it's unfair to group them with other hosting providers that never do anything but the bare minimum.

Oh sure, that's the logical solution.

In reality though these control freak moves only "work" (for them) if everybody is forced to adopt. Another site another plugin type situation will shift a lot of people to non-drm content providers, whether on principle or maybe just plain old apathy. I'm sure browser makers could streamline this process so that it's a minimal hurdle to install a plugin but if it's optional then we have the option to avoid it and that is exactly what those goddamn morons would like to stop.

Alfred 2 Workflows 13 years ago

I am the exact opposite, I prefer to do all these sorts of tasks in a 'visor' terminal and leave Alfred as little more than a pretty app launcher. Different strokes etc...