Better HN
topnewbestaskshowjobs
Log inSign up

ehsanu1

1,377 karma · joined Apr 26, 2011 (15y ago) · 616 submissions

ehsanul@ehsanul.com

I'm actually ehsanul (http://news.ycombinator.com/user?id=ehsanul) here on HN, but I switched Google accounts.

Submissions

comment 9y ago · link · parent

You're probably thinking of heat engines. Extracting 100% efficiency from a heat source is impossible. That doesn't mean that near-100% of non-heat energy can't be converted to another energy type. Eg resistors pretty much convert electricity to heat at a 100% "efficiency" rate..

comment 9y ago · link · parent

You've got room scale setup with 3 cameras? Note that there were huge problems with the software a couple of releases ago that were recently resolved. Tracking is really smooth and solid right now for me personally on Oculus.

comment 9y ago · link · parent

It seems like indexing was implemented: https://blog.discordapp.com/how-discord-indexes-billions-of-...

comment 9y ago · link · parent

Using "personal goals" maybe be helpful feedback for the creator to understand things they had not considered from their own perspective. In this case, it might point to the goal of the project not being as obvious as it might be (I don't know if that's the case, just an example of what could possibly be constructive in this scenario).

comment 9y ago · link · parent

You wrote:

Claims to the contrary the map is not the territory and a country is not a house.

The correction is saying this should be:

Despite claims to the contrary the map is not the territory and a country is not a house.

This does not seem to change the meaning, but rather makes the sentence read sensibly.

comment 9y ago · link · parent

Yep, JIT is way more viable (and being done) with Ruby.

comment 9y ago · link · parent

MyTime | Senior Software Engineer | San Francisco | Full-Time https://www.mytime.com/merchants/scheduler

Team: We're a small team of 6 developers, largely remote, looking to grow our San Francisco team by a few members.

Product: We build a SaaS product for appointment-oriented service providers, like hair stylists, auto mechanics, pet groomers, etc to manage their business: scheduling appointments, taking payments, managing client information, reporting/analytics and some marketing tools.

Tech stack: Monolithic Rails backend + Angular 1/2 single page web frontend. Our backend API also powers Android and iOS clients.

Looking for: Experienced Full-stack and frontend web developers. For full-stack, we would like someone with some Rails experience in order to hit the ground running. For frontend development, we'd like experience writing single page applications, but the technology (besides using JS) is not a major factor.

Apply: You can send me your resume directly at ehsan+hn@mytime.com

comment 9y ago · link · parent

Guessing it's a bunch of trial and error right now - these systems are pretty hard to predict in general and I'm not aware of a whole lot of research into closed ecological systems. Which is a shame really.

A self-sustaining system like we'd want should come to its own dynamic equilibrium, given a decent enough starting state, which does make the trial and error slightly more feasible, and of course they have to have some idea of the inputs and outputs of the various organisms.

comment 9y ago · link · parent

The issue is: Can I write something in scratch in this language 1) at all and 2) with some amount of daily progress. Writing data-structures is a test case of my ability to thing and program in the context of Rust.

The point is that it's not the best test case. A better test case would be writing the programs you generally write. It'll still be hard to be honest, but really not quite as hard. I have enough familiarity with Rust to write application code myself, but I'd probably still struggle a lot with writing a data structure if I tried.

comment 9y ago · link · parent

You can probably get away with a $1k PC build these days, and the HoloLens itself is pretty expensive now as a devkit ($3k IIRC).

The HoloLens is great, but it doesn't really seem to be designed for gaming. Games are cool to demo in AR, but less practical I feel, given the requirement of meshing with the real world. Meanwhile, gaming in VR is taking off decently, and the FOV in the current generation of VR devices is much better than what the HoloLens has, and that's a pretty big deal for gaming.

Also, wireless is almost here for VR headsets: http://www.roadtovr.com/tpcast-wireless-vr-htc-vive-relased-...

The wires are annoying I agree, but not really a "nightmare".

comment 9y ago · link · parent

What's the methodology? JIT warmup taken into account or no?

The memory use does seem excessive though. Perhaps a little too much code bloating due to the polymorphic inline caches?

comment 9y ago · link · parent

Where's this ~1ms overhead for an additional asset on a HTTP2 connection coming from? Do you have a reference to a benchmark or something that demonstrates it?

comment 9y ago · link · parent

Wow, even HN has been infected! JK, but Rift tracking is great too. For "room-scale" with good tracking you basically need 3 sensors (you can buy additional sensors). For some games that cause heavy occlusion due to needing to lie on the floor or whatever, you would have to put the sensors in ceiling mounts to get the full volume tracked accurately. And the tracking volume will be smaller for the Rift compared to the Vive, but very few people have a bigger than 2.5m by 2.5m space, which the Rift can track just fine.

I just got my third sensor a couple days ago, and it has made a night and day difference (there is also an option for 360 tracking with two sensors, but I didn't set that up). But even when I had two sensors the tracking was fine except under certain situations where my body would occlude the controllers. Not a problem anymore after the third sensor.

comment 9y ago · link · parent

The condescension isn't too helpful here unfortunately (is it ever?). You could have made your initial response a bit less condescending by saying something like:

The comment mentions "Landauer's principle", which provides some explanation: https://en.wikipedia.org/wiki/Landauer's_principle

Here as well, you could have made your comment better if you just omitted this part: "which you'd find if you'd attempt to read what you avoided... twice."

comment 9y ago · link · parent

Thanks, I was confusing myself there. Obviously you would really want to use SubstrateVM in development to get that sweet fast startup - I'm just blind to the startup time angle since I use the zeus gem to keep my application always already started up and fork off new processes as needed.

I was considering the case of building a single executable, including the entire ruby application and its dependencies, via SubstrateVM. This could make deployment a lot simpler.

comment 9y ago · link · parent

Templating can't be the craziest thing in Rails. In fact, I can't remember the last time it gave me any trouble. Are you just talking about how ERB specifically works, or how templates are invoked/rendered? Or is there just some insane metaprogramming stuff in its implementation (there always is with Rails)?

comment 9y ago · link · parent

It's right now, with 1.0. Just don't use libraries that require nightly. Libraries are not the language. The language is stable. If your requirement is stability, then use the stable version of rust with stable libraries. That's what I do.

comment 9y ago · link · parent

Well you'd only use SubstrateVM when deploying to production, so I don't know why anyone wouldn't want to "worry about that precompilation step". During development it should be irrelevant. Or am I missing something here?

comment 9y ago · link · parent

Also, eye-tracking + foveated rendering will severely reduce the load. Once that works reliably, you just need the cheap, super-high PPI, low-latency screens (which might almost exist today, though at high cost due to lack of a mass-market).

comment 9y ago · link · parent

For the casual gamer it may not be interesting, though that depends on the learning curve - eg regular sports can be pretty challenging and physically exhausting, yet people play them casually.

But in particular competitive gaming and esports would get a lot more interesting this way.

comment 9y ago · link · parent

Ever played instagib with a low gravity mod in a regular FPS? It can be fun, but the gameplay becomes pretty limited, and I imagine the moon physics being similar in a VR FPS. Maybe projectile weapons only would make it work better, or the fact that hitscan is a lot harder in an HMD than with a monitor.

comment 9y ago · link · parent

Thanks for the article, it makes a lot of sense. Note that in this book, the doomsday scenario is predicted to happen 2 years in the future, so it's not quite the same as a natural disaster that has already happened. So I don't think it would look quite the same in terms of violence and how we've evolved. It's more like, imagine 30% of the population suddenly lose their jobs or something like that, you could probably see riots happening today.

comment 9y ago · link · parent

Then the problem seems to be the colleagues rather than the creation of frameworks. I'm happily following all this framework turnover while totally ignoring it for actual work.

To be fair, I have had colleagues want to switch to some new framework for $reasons, but I guess I have enough sway (and we're time-constrained enough) to not do just that.

comment 9y ago · link · parent

Just curious, what issues did you have that were solved by an independent projection application?

comment 9y ago · link · parent

Not saying this is great, and I don't have experience with an ES system in production, but... Could you do one of:

1. Manually remove the specific problem event from the store, then re-run all events starting from the previous accumulated state snapshot stored before that event? Then you get the new state snapshot just by re-processing all the events. This of course assumes you have state snapshots, and may not be feasible if this is a common occurrence and there are too many events to process.

Or:

2. Create a "reverse" event? This will cancel out the bad change and give you a new, valid state to work from and continue. This is nice since the historical state of the system is still represented, but that may be a disadvantage in some situations.

comment 9y ago · link · parent

Are y'all on Linux/xterm or something? I've had trouble getting this to work in OSX with the default terminal. At one point I got it to partially work by installing some scary looking plugins, but it broke other mouse behavior for me (copy/paste I think).

comment 9y ago · link · parent

What about objects belong to objects belong to the tenant? Or further levels thereof?

comment 9y ago · link · parent

I'd really like to use clippy, but for production use I don't want to use anything but the stable Rust channel, whereas clippy apparently needs nightly Rust. Maybe I'm being overly cautious (OneSignal seems to do fine with just version pinning), but there's a reason nightly is separate from stable.

It would be cool if I could configure cargo to only use nightly Rust when invoking clippy, and use stable for all dev/test/prod builds. Do you happen to know if that's possible?

comment 9y ago · link · parent

Sure, it really depends on the speed of the simulation relative to their own, and the level of resources poured into this (is it a high school project, or the combined output of their entire civilization? what do they look for inside, if anything?), and of course, their actual objectives.

Honestly, who wants to talk to some snot-nosed humans? They probably don't bother checking until the universe becomes one giant superorganism anyways. And even then maybe they just make their observations and ignore it as it tries to wave them down.

comment 9y ago · link · parent

Nah, they'd ignore that, if they even notice. You have to forcibly make them take notice. Like take over a galaxy and make all the stars in it blink in synchrony in some sort of code and establish a communication channel.
1
567
21