Better HN
topnewbestaskshowjobs
Log inSign up

nkallen

265 karma · joined Nov 7, 2007 (19y ago) · 50 submissions

Submissions

comment 6mo ago · link · parent

Here is the model viewable in a web browser, for anyone interested https://share.plasticity.xyz/r/BDt8nFGQYVsdhi-v5SHSOn6jtBQUV...

comment 4y ago · link · parent

don't sleep on shapr3d which is also very awesome

comment 4y ago · link · parent

Mr Dildonic it's definitely not illegal, the poster is a troll

comment 4y ago · link · parent

I agree with you -- it's hard to safely kill a runaway thread but it's not hard to kill a runaway process. But I think it's worth noting that the performance characteristics of IPC can be very bad

comment 4y ago · link · parent

I appreciate your feedback and I totally want to market it in the way you propose. But let me be real: I am one person doing everything. I expect to have all that stuff by September when I plan to launch 1.0. If I were "in control" of this situation, I'd prefer the app get more buzz closer to launch rather than 6 months away. But I can't really control when people post to hacker news... And in any case I think all publicity is good. Dying in obscurity is the biggest risk.

comment 4y ago · link · parent

When I get to version 1.0 I will do all of those things. For now this is a beta, more for artists who are interested offering feedback to affect the design of the app.

comment 4y ago · link · parent

I think it's fine for people to have varying philosophical takes on what should be the normative goals of open source software licenses. Obviously the FSF takes a rather maximalist stance. I personally find this aggressive goal and some of the personalities behind it to not match my vibe. And the reality is that more permissive licenses like MIT are becoming more and more popular.

What I've seen some Blender plugins do to get around this is to have an open-source plugin communicate via IPC to a closed source library. It's totally legal. It's a performance and implementation tax that just seems silly to me.

comment 4y ago · link · parent

It is for sure a murky area where I'm working out the details. You don't have the full kernel. But you can think of it a bit like a scripting API on top of the kernel, which is not uncommon in CAD apps, like OnShape's FeatureScript or something.

comment 4y ago · link · parent

> So external contributors can only provide patches without being able to test themselves I suppose.

My intention is that if you buy a license for plasticity, you can then build locally and test locally. You can contribute back or not depending on your interest.

Think of it like this. There will be a typescript/javascript wrapper around a limited version of the c3d kernel. this is the plasticity api. You will call plasticity.Enable(license_key) at the top of your program and you will be good to go. You buy a license key from me.

Although I do hope people will contribute the plasticity's development, my main goal with it being open source is that people will write plugins that they can then give away or sell themselves.

I have used commercial software that I pay for -- like Fusion 360 and MoI3d -- where I ran into bugs that I could have fixed for myself if only I had the code. I'm still happy to pay for them. Instead I literally waited 2 years for Fusion to fix a bug I cared about.

comment 4y ago · link · parent

That’s exactly my take. What exactly constitutes a “derived work” in the gpl (plug-ins do!) is counter intuitive to me.

Even the lgpl definition of “dynamic linking” is something that scares me in the context of npm modules, which is why I’m nervous I made the wrong choice with lgpl

comment 4y ago · link · parent

Please correct me if I’m wrong but I was not under that impression

https://stackoverflow.com/questions/5419923/can-gpl-be-re-li...

I thought I am the copyright owner and I can offer my code under as many licenses as I want. Many people dual license gpl code is my understanding. Converting my own code to mit should be allowed right?

Every Google result I’ve found says I’m the copyright owner and I can offer as many licenses as I want. Are you just trolling?

comment 4y ago · link · parent

Yes that is correct. I am not ok with others.

Edit: Jesus do you really not recognize sarcasm? People are free to use whatever license they want and I’m free to explain why I choose lgpl over gpl

comment 4y ago · link · parent

I will say I’m constantly bewildered by which license to choose. I’m using copyleft to defend myself a bit. But weak copyleft because I’ve hate that the gpl prevents blender plug-ins from being closed source or linking against something closed source. Plasticity will allow plug-ins to do whatever they want, that’s the goal.

There is some possibility I will switch to MIT since philosophically I’m more in that camp

comment 4y ago · link · parent

Parasolid and Acis are the only other options. I have a lot of admiration for OpenCascade but unfortunately its functionality is very limited for my needs.

I’m considering parasolid but, no, I can’t keep this price point with it

comment 4y ago · link · parent

I think the main thing to understand is that blender has minimal nurbs support. For example, try doing booleans, fillets, or offset surfaces with blender nurbs. You can’t.

Nurbs are good for some shapes and bad for others. In addition to manufacturing, nurbs are great for hard surface / scifi assets for video games and movies.

Plasticity is for artists. It is more in the tradition of MoI3d than say solidworks. It has a very powerful geometry kernel and the user interface is meant to be familiar to blender users and modern looking.

It’s still very beta and changing every day

comment 4y ago · link · parent

I want to emphasize to everyone that this is for concept artists. It’s nurbs used to create interesting shapes and fillets. While there are some parametric features, they’re completely de emphasized compared to something like fusion or solidworks

comment 4y ago · link · parent

This is a significant issue for anyone doing business with Russia. I’m happy with c3d in general but there is a possibility I will be forced to use another kernel

comment 4y ago · link · parent

A full build from scratch would require the c3d headers, which I can’t provide.

What I am planning is to something like this: divide the app into two pieces, an npm wrapper around the kernel and the electron front end that uses the module.

You will need a license key to “activate” the node module. You would then use the electron app or the module directly if you’re a programmer. You will be able to build your own fork of the electron app, but not the npm module.

In effect you will be paying for a license key, not the binary

comment 13y ago · link · parent

I wonder if you could handle backpressure this way, somewhat analogously to a thread-per-connection with a bounded number of threads. I don't think node.js API exposes the necessary functionality, but the point is that it's possible with callbacks:

  var MAX = 100,
      connections = 0;

  function continue() {
    server.once('connection', function(c) {
      if (++connections < MAX) continue();
      process(c, function() {
        if (--connections == MAX - 1) continue();
      });
    });
  }

  continue();
Node.js doesn't have threads so you wouldn't need atomics or locking. I don't think it's fair to say this is spaghetti, but it has some complexity, yes.

20.

RESTful interface for reading/writing to Git, in node, coffeescript and libgit2(gitdb.elasticbeanstalk.com ↗)

1 points · by nkallen · 13y ago · discuss

comment 13y ago · link · parent

sam don't waste your time this is a joke

comment 13y ago · link · parent

I know exactly what I would do in your situation.

Tell the CEO you need to go to Thailand for 8 weeks to chill out. Avoid quitting so that you can keep your Visa. Strongly consider going to your primary care physician (cheaper than a psychiatrist) and get on an anti-depressant. (This will hard to do at the same time as leaving a country as your doctor will likely not give you a two month prescription to start.) Bring your GF with you to Thailand for some of the time unless you are comfortable traveling alone. The travel experience may be enough to get you out of your rut, but I would get on an anti-depressant as well. Also exercise. Twice a week is enough.

Ignore anybody who tells you to "deal with it" or "subsist". There is more to life than your first startup. Learning to cope with depression is a lifelong process and isn't solved by just sucking it up. Also depression is not really a unique and beautiful snowflake of a disease. A change of scenery and anti-depressants will work 90% of the time.

comment 14y ago · link · parent

I think it is fair to criticize Dispatch in the following sense: "is this a library you should use in production code?". I think the answer is no, because it has an API that, while terse, is difficult to read and maintain; and furthermore it pays very little attention to robustness performance concerns (like failure accrual and more sophisticated connection pooling) that quickly become important in production software.

Dispatch is a good example of a library that is more fun/pretty than practical for systems engineering -- which is not uncommon in the Scala community, as Coda rightly points out. It's not bad to be fun/pretty rather than practical, but it is right to criticize that (strongly) from an engineering perspective.

I'm biased, but: Finagle has a substantially more robust HTTP client and server library than Dispatch, and it has been stressed at far larger deployments than Dispatch. If you're writing a high-performance system that needs to make tens of thousands of HTTP requests per second, Finagle is a good choice and Dispatch is not.

comment 16y ago · link · parent

There is no better time than during an outage to add these features. In my experience, band-aids are better way to resolve an outage than fixing root-causes. Make the problem go away by commenting out code, returning empty result-sets, (or whatever) - and re-balance your partitioned database at some later date.

comment 16y ago · link · parent

Suggestion:

In additions to hiring scalability experts (many will claim to be experts but most aren't), talk to your investors to find outside technical advisors who have worked on and are still working on similar problems.

Find advisors from Google, Facebook, and other places who have dealt with these issues. In my experience, you have as much to learn from people who have made mistakes as from people who have succeeded.

Also, in my judgement, you guys are a little too risk-tolerant for your significance (first major Scala 2.8 upgrade, largest MongoDB deploy...).

comment 16y ago · link · parent

Can you design the system such that you can turn off ("darkmode") features in an emergency? For example, in an emergency you can turn off badge-awarding as it is known to be RAM intensive (and degrade by seeking to disk).

To the extent that you do this across the board, you'll have yet another tool to defend against being over capacity.

27.

LRJew: An LRU efficiency simulator(github.com ↗)

2 points · by nkallen · 16y ago · discuss

28.

Big Data in Real-Time at Twitter(slideshare.net ↗)

3 points · by nkallen · 16y ago · discuss

comment 16y ago · link · parent

Note that it's in the process of being released: it's as yet unusable by outsiders. Honestly, I did not expect this to make Hacker News so soon. :(

I have not used Neo4J first hand. It has really cool features, but it is not a distributed database and has expensive memory usage. FlockDB is distributed, uses little memory, and has a very limited feature-set that is highly highly optimized for OLTP. It's not really an apples/apples comparison. Theoretically, Neo4J could be used as a back-end data-store in FlockDB.

comment 16y ago · link · parent

I think you've given a good suggestion for upcoming blog posts.

Gizzard is used by two systems at Twitter. One of them is called FlockDB and we are working on open-sourcing it (indeed, FlockDB is why we open-sourced Gizzard). FlockDB stores Twitter's social graphs. I cannot tell you (yet) how many QPS we do do or how many edges there are in the various graphs, but suffice to say its a lot and we run lots of complicated queries like "who follows both @aplusk and @oprah but does not want any of @aplusk's retweets," etc.

Gizzard is NOT perfect. But we think you'll find it is resilient to a large class of failure scenarios (that have, in fact, occurred over the last year, so this is not just the theoretical fault tolerance of a project that's been deployed on a small web site with simple requirements). With your help, it could be even better.

12