Better HN
topnewbestaskshowjobs
Log inSign up

nathan_long

4,485 karma · joined Jun 1, 2012 (14y ago) · 1,146 submissions

Submissions

comment 7y ago · link · parent

Your comment sounds more like a soap box than interacting with the actual article.

> In one study, participants who read that an artist was strongly passionate about his job said it was more legitimate for the boss to exploit the artist than those who read the artist wasn’t as passionate. This finding extended to asking for work far beyond the job description, including leaving a day at the park with family and cleaning the office bathroom.

This is not normal and professional behavior.

comment 7y ago · link · parent

"Always violate your conscience" does not sound like good advice. Maybe you're working on the assumption that you "feel guilty" about deals that are actually fair?

Besides which, economics is all based on the fact that two parties in a trade can both win because they want different things. Eg, you have a surplus of oranges, I have a surplus of apples. I value my first apple highly (I like apples!) but my ten thousandth apple is nearly worthless to me. I'd happily trade that last apple for a tenth of an orange. And you'd gladly trade your last orange for a tenth of an apple. We trade some of our fruit 1:1 and we both got a deal 10x better than what we'd accept.

comment 7y ago · link · parent

> The jury has decided, it's successful

Hypothetically, what if it never begins earning more money than it spends each year? At some point wouldn't it be unable to borrow any more (from banks or investors) and be forced to shut down? And if so, we still don't know if it can be profitable, right?

comment 7y ago · link · parent

These style of exploits remind me of "The Free Lunch Is Over: A Fundamental Turn Toward Concurrency in Software" (2005) - http://www.gotw.ca/publications/concurrency-ddj.htm

> Chip designers are under so much pressure to deliver ever-faster CPUs that they’ll risk changing the meaning of your program, and possibly break it, in order to make it run faster.

> ...

> applications will increasingly need to be concurrent if they want to fully exploit CPU throughput gains that have now started becoming available and will continue to materialize over the next several years. For example, Intel is talking about someday producing 100-core chips; a single-threaded application can exploit at most 1/100 of such a chip’s potential throughput.

It seems the trend in programming languages is towards better concurrency support. But why don't we yet see 100-core chips? If chip makers had to forego all speculative execution and similar tricks, would that push us toward the many-core future?

comment 7y ago · link · parent

> Once solar and wind, without any subsidies, are cheaper than coal, then societies will switch purely out of self interest.

If coal prices included the negative externalities costs - in other words, if we charged coal companies for dumping their trash into our collective air instead of subsidizing them by letting them do it for free - it would greatly change the price comparison. Then the market would likely do the rest.

comment 7y ago · link · parent

> We don't really subsidize fossil fuels.

If we allowed a restaurant to dump its trash for free in a public playground, we would be subsidizing that restaurant with taxpayer dollars.

When we allow fossil fuels to be burned and dump pollution for free into the public atmosphere, we are subsidizing the usage of fossil fuel.

In the trash scenario, we'd make the restaurant pay for cleanup, pay medical costs for the kids who got ill, and pay for its future trash disposal. Burning fossil fuels causes asthma, climate change, flooding, etc, and remediation costs should be borne by those who cause the damage.

If you consider the billions of dollars we all spend dealing with fossil fuel companies' waste, it's quite a subsidy. The least we can do is make them compete on a level playing field.

comment 7y ago · link · parent

> Carbon taxes are artificial barriers to using fossil fuels.

> On the other hand, when technology improves so that electric cars cost less per mile than gasoline cars, people won't necessarily buy them to be green, they'll buy them because they're a cheaper form of transportation that happens to be greener.

Carbon taxes are like trash disposal fees. If your business dumps trash into the landfill or carbon into the atmosphere, the public should not have to subsidize your business by paying for that. You should pay to manage your own waste.

Gas cars are cheaper than electric at least partly because we're all subsidizing them by allowing them to dump waste for free into the air that we all own, and paying on their behalf for all the damages that causes (asthma, climate change, flooding, etc). A carbon tax would remove that subsidy and make fossil fuels compete on a level playing field.

And yes, once the subsidy is removed, the market can sort it out.

comment 7y ago · link · parent

What's the concurrency story in PHP - does it use 1 thread per incoming HTTP request?

comment 7y ago · link · parent

Can anyone give context on these statements?

> When combined with their previous development of “water-in-salt electrolytes (WiSE)”, they claim that they can achieve an impressive energy density of 460 Wh/Kg.

> Some soldiers have to carry between 15-25 pounds of batteries and this technology could significantly lower that weight

What's the energy density of current batteries and how much lighter would equivalent batteries be using this technology?

> while preserving safety due to the aqueous nature of the electrolyte

What does this mean - why could the new battery be safer?

comment 7y ago · link · parent

See also: ARPANET, forerunner of the internet.

> The Advanced Research Projects Agency Network (ARPANET) was an early packet-switching network and the first network to implement the TCP/IP protocol suite. Both technologies became the technical foundation of the Internet. The ARPANET was initially founded by the Advanced Research Projects Agency (ARPA) of the United States Department of Defense. > https://en.wikipedia.org/wiki/ARPANET

"Where Wizards Stay Up Late" by Katie Hafner is an entertaining chronicle of its creation.

comment 7y ago · link · parent

This example of tracking is tiny and harmless. But there's a wide spectrum of tracking behavior from sites.

> whiny, entitled users who think they have a right to use any website they want on their terms

Users do have a right to use any website they want to on their own terms. If I make an HTTP GET to your site, it's up to you to decide what HTML to return. Once you do, it's up to me whether to request the images, scripts, etc, and whether to read the sidebar, etc.

It's up to you to decide whether to show me any content of substance without first collecting payment. I can't demand that you publish content for free. I'm not entitled to that.

But it's up to me to decide what I consume. You can't demand that I view ads, send back tracking cookies, etc. You're not entitled to that.

If you don't like site visitors refusing to be tracked, then don't let them view your website. Nobody forced you to.

comment 7y ago · link · parent

> What about Romeo and Juliet? What about the Bible ( Jesus )? What about Socrates? Our cultural icons committed suicide.

Jesus didn't commit suicide; sacrificing yourself for others is quite different from deciding you don't want to live anymore.

As to your other two examples, what of them? Maybe reading Romeo and Juliet is an unhealthy thing for depressed people to do. Has anybody studied that? "[New thing] can't be bad because [old thing like it] exists" isn't an argument.

It's also possible that watching a movie that's entirely about suicide, with dramatic music and visuals, has more of an emotional effect than reading a play that includes suicide.

> So we do simply block everything anyone can say is bad for a small segment of the population?

I wouldn't say "let's use the law to censor this". But I wouldn't celebrate, promote, or support it, either.

comment 7y ago · link · parent

> In general language diversity at a company is a big negative

I agree. It really increases the difficulty of understanding the whole system. But it's a negative that has to be considered alongside potential benefits.

> If you have some developer that wants to write something in a new (for your company) language, or even worse goes off and does so without asking, because he wants to try it out, you probably want to fire that guy.

I get what you're saying; resume-driven development can ruin your systems. But at some point between "we wrote this new banking system in COBOL" and "every developer who knows COBOL and could maintain our old system is now dead", there needs to be an accepted way to experiment.

comment 7y ago · link · parent

The thesis itself is at http://erlang.org/download/armstrong_thesis_2003.pdf

comment 7y ago · link · parent

But people are paying it.

comment 7y ago · link · parent

I tweeted this about Joe:

> I wish I'd gotten to meet @joeerl. So bright and enthusiastic. Erlang embodies so many insights that seem obvious in hindsight. Eg, you can't prevent all programmer mistakes. You can't ensure computers never die or get disconnected. All you can do is make a system that copes.

> Many programming languages and tools exist to deal with the basic fact that humans make mistakes. Type checking, encapsulation, TDD, etc - all because without help, we will do dumb things. Erlang taps us on the shoulder and says "and ALSO your computer could melt. Start there."

> In Joe's words, "To guard against the failure of an entire computer, we need two computers." Obvious. Brilliant.

> The only place you can handle failure of a process on Machine A is in a process on Machine B, which can't share any memory with the first process and can only pass messages to/from it. And for consistency, Erlang handles all failures that way.

> Then you notice that these shared-nothing processes are easy to run concurrently because neither can mutate the other's state and cause race conditions. And that this scales beautifully when you have multiple CPUs.

> These are some of the insights I got from reading Joe's thesis. I'm sure I missed a lot of others and hope to re-read sometime. I wrote up some of what I learned at https://dockyard.com/blog/2018/07/18/all-for-reliability-ref...

comment 7y ago · link · parent

As a Ruby dev turned Elixir dev: no. I mean, they both have `do..end` blocks, which I don't love in either language. But the similarities pretty much end there.

Here's the view of someone who went from Erlang to Elixir: https://www.theerlangelist.com/article/why_elixir

comment 7y ago · link · parent

> I doubt we’ll start using Erlang though, it’s just too risky when you can’t hire anyone

Can you train them?

comment 7y ago · link · parent

Friendlier tooling and documentation are a couple of reasons.

Elixir's whole reason for existence is to make the Erlang programming model easier to use. Try it and see if it does.

comment 7y ago · link · parent

You can use Plug instead of Phoenix if you like, but why do you object to Phoenix? It's quite customizable.

Generate a new Phoenix app. Open up the endpoint file. Don't want routing? Comment it out. Don't want logging? Comment it out. Keep what you want, discard the rest.

comment 7y ago · link · parent

I don't recall ever hearing that Facebook made a mistake which decreased the amount of data they collected or their usage thereof. Can anyone provide an example?

comment 7y ago · link · parent

Presumably he enjoys running a powerful business built on privacy violation more than he thinks he'd enjoy philanthropy.

The BS you refer to is his creation, not some accidental thing that happened to occur in his company without his intention.

comment 7y ago · link · parent

Planet Money did an episode (https://www.npr.org/sections/money/2018/06/27/623990036/epis...) about fake reviews and talked with the creator of ReviewMeta (https://reviewmeta.com/), which attempts to distinguish real reviews from fake ones based on things like similarity and clustered posting.

Of course, if it has or gets traction, fake reviewers will adapt, just like spammers do.

comment 7y ago · link · parent

> IMHO, all the technology investment should be put into processing and validating ballots after they've been filled out

I think the opposite. When filling a ballot, the voter can use a machine with a touchscreen. The person with poor sight can use huge fonts, the blind can use a screen reader, etc. The output from this is a printed paper form, filled out with perfectly legibility. No hanging chads, ambiguous marks, etc.

At this point, the voter (or an assistant) can verify the form just as if a human had filled it out for them.

From there, these perfectly-filled forms can be counted the old-fashioned way with many witnesses.

comment 7y ago · link · parent

That's true. Fiat money is a good example. But in this case, losers have incentive to claim the system doesn't work. You want the average person to be able to refute that claim, or else suspicion will run rampant.

comment 7y ago · link · parent

That's great. But that sounds like failing to meet what could be an objective quality standard, enforced by something like CI. I don't think anyone objects to that kind of gate keeping.

The contention here (true or false) is that Apple tips the scales so that good apps lose to Apple's competing ones.

12345
39