Better HN
topnewbestaskshowjobs
Log inSign up

thinkloop

2,120 karma · joined Jun 5, 2012 (14y ago) · 1,112 submissions

Software, Engineer, Finance
Submissions

comment 10y ago · link · parent

The article counts characters in documents stored on S3 - which makes sense since S3 is great for storing documents and can handle unlimited concurrency, priced per usage.

But what's the solution for structured data? DynamoDB is the obvious main candidate, but it's billed by hour and high concurrency is very expensive, requiring complicated temporary increases and decreases of concurrency that are hard to predict.

Is there a good solution for running massively parallel lamdas on stuctured data?

comment 10y ago · link · parent

SPA's ruined everything. All the beauty has to be handled manually.

1053.

State-Driven Routing with React, Redux, Selectors(thinkloop.com ↗)

10 points · by thinkloop · 10y ago · 12 comments

comment 10y ago · link · parent

It's possible/likely that's what they mean. However the final markup is generated, make it minimal, shout-out to react, packagers, minifiers, etc

comment 10y ago · link · parent

Routines can be created to mimic desired behavior. Sprinkle in some conventions and limitations, and you have a useful tool for a large set of use-cases.

comment 10y ago · link · parent

Another possibly unpopular opinion: having some bad people makes us safer on the whole. If the world were perfectly safe, and we didn't have to study and invest in security, redundancy, weapons, emergency response, and so on - we become more vulnerable as a race to potential future badness. Phrased differently, if badness is physically/theoretically possible, we're better off having to practice defending against it, than be caught off guard when it does manifest later on (by natural events, aliens, whatever).

Similarly with war, there is likely some optimal level above zero that increases our overall safety as humans by honing our abilities in force.

comment 10y ago · link · parent

There's a weird pride in working long hours. I see it a lot in nyc, and when I hear it I always wonder what combination of stimulus were able to generate that willful want of it. I prefer to calculate and maximize dollars per hour. If you're working a lot, then at least have it be at a high hourly rate.

comment 10y ago · link · parent

Killing people is not illegal, the circumstances matter.

comment 10y ago · link · parent

The law is not stupid, if 90%+ of what you do aids illegal activity you're going to feel the heat. Google's proportion is much lower. It's not a double standard as much as a subjective demarcation. No one would take down a torrent site with 90% legal material and processes to remove offenders.

comment 10y ago · link · parent

Yes that's true, and given that torrenting is generally reliant on installed software as well, it shouldn't heavily impact adoption.

I did think of another issue: search, sort, voting, etc. Ethereum is too expensive, too slow, and possibly not capable of that kind of large data set computation - not aware of any capable alternative.

comment 10y ago · link · parent

Diversity has an optimal threshold. The more thoughts and viewpoints the better, until agreements can no longer be reached. I think the general feeling right now is that we've crossed into a suboptimal zone where government has trouble acting.

comment 10y ago · link · parent

There are 3 other issues: hosting the UI, DNS, and monetization.

You can get away with hosting a client-heavy JavaScript interface on ipfs as well, but the URL will be ugly making you reliant on Google not dropping you (central point of failure).

And then there is incentive - even if you manage to anonymously take Bitcoin for ads or what have you, someone will eventually take all the work and strip them. The whole thing will have to be a labor of love. Any lovers out there?

comment 10y ago · link · parent

The issue here is not related to off-shoring, but to "the transferred intangibles may have been undervalued by billions of dollars."

It's a tricky question how to value IP. In many ways web companies' entire businesses are extensions of their IP. Where do you draw the line between idea and execution.

comment 10y ago · link · parent

Holding money generates nothing, you have to at minimum risk it in a savings account or the index, or for real gains, playing roulette on a start-up.

comment 10y ago · link · parent

Of course limiting oneself to one thing gives less options than two things, but this "tool" analogy (that keeps coming up) is not fair. Better would be to compare to the woodworking shop itself, where there are many tools that together solve a wide class of problems. You can run multiple shops if you like, with varying combinations of tools, and large overlap in the problems they can solve, but the overhead involved is not the same as choosing a screwdriver to screw and a hammer to smash.

comment 10y ago · link · parent

> punishments or penalties for offences that are arguably disproportionate to the crime

This is not incompatible, the school of thought still wants to achieve that.

"this crime is minor and deserves a minor punishment of level 2 suffering, what's a good way to inflict level 2 suffering on this individual"

comment 10y ago · link · parent

This would not be a candidate for duplication tho, because the underlying intent is also logically the same. Author is talking about things that coincidentally happen to have similar code at the moment, but are fundamentally and logically unrelated, having a high likelihood of diverging in the near future.

comment 10y ago · link · parent

Spinning up servers these days is relatively quick, do you think it's ip addresses that are the issue?

comment 10y ago · link · parent

Would love to know more details about what Netflix is actually doing behind the scenes, and why they:

> have to replace servers every 24-48 hours with lots of downtime

Which part causes lots of downtime?

comment 10y ago · link · parent

It's not even VPN, it's a DNS service that masks your location, similar to unlocator.com

comment 10y ago · link · parent

V8 has some quirky memory mechanics. Object pointers, and similar, are subject to a vague hard limit, loosely defined by `--max-old-space-size` and other related flags, while the objects themselves can extend beyond it. For example, if you had 1 object that contained 15gb text, that would likely be OK, however if you had 1 billion objects, storing 1 character each, that would likely lead to a crash - even if the process memory is below limits. Relatedly the shape and nature of the data matters (nesting, types, etc.), limiting the ability to use the full memory available in various ways. I imagine a lot of it has to do with GC, but I don't think that's the full story.

Have you noticed such quirks building loki? Do you imagine being able to make full use of, say, a 64gb ram server? Is this something being taken into account and optimized in the project somehow? @joeminichino

comment 10y ago · link · parent

Several years ago I took over the lead UI position at a company. Jira has a feature to display lines of code contributed by developer. After 10 months of adding features, and getting the product to shipping, I had contributed -1500 lines. There were less lines than when I started, and the code was simpler for it. I'd _almost_ say that LOC is a good measure of bad coding.

comment 10y ago · link · parent

And their ad network pierces all adblockers - best site ever built?

comment 10y ago · link · parent

What does burying the lede mean in the context of hn?

comment 10y ago · link · parent

It's impossible to be sure, but since it seems consciousness follows a spectrum when it comes to living beings, with more complex beings having "more" consciousness and less complex beings having less, my guess is that all living things have some form of consciousness, including plants and insects.

As soon as anything "prefers" any stimulus over another, I think consciousness becomes an emergent property.

comment 10y ago · link · parent

Yes we could cheat :)

comment 10y ago · link · parent

The last 10% always looks really tough for me. For example we kind'of have self-driving cars right now - but when will we have self-driving cars without a driver's cockpit where I can play poker in the back with complete faith that it will handle all situations intelligently, navigate any terrain and manage any situation - seems like 50+ years to me for just that.

comment 10y ago · link · parent

I felt the same, it doesn't try to address the "hard" problem of consciousness, as described in the article you linked.

It's such an interesting problem because for one, its hard/impossible to prove consciousness. If you built an android that had every if-statement imaginable coded into it so that it behaved exactly like a human, including answering the question of whether it is conscious affirmatively, and showing signs of pain and suffering in bad situations, how will you ever know if it's all just a simulation, or if real feelies are behind it. At what point does it cross over from an extremely complex and useful behavior machine, to one that experiences actual qualia.

Another issue is the purposelessness of consciousness. Why does there have to be experience tied to our reactions to stimuli, if the resulting behaviors are identical. Isn't there quite a bit of wasted energy and skull space that could be better used for more survival oriented if-statements. All of our behavior seems possible without the associated feelings.

The issue of androids is going to be an annoying one in a thousand years. People will be polarized, with some championing android rights because they seem to be conscious, while others will be adamant that they are just complex machines that can be treated any which way. Personally I'd probably err on the side conscious, just in case.

1
3435363738