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

Along the same lines, Saša Jurić wrong Erlang before picking up Elixir, and wrote about that here: https://www.theerlangelist.com/article/why_elixir

Also, Devin Torres, author of Poolboy, wrote https://devinus.io/the-excitement-of-elixir/ and https://devinus.io/elixir-its-not-about-syntax/

comment 7y ago · link · parent

Well, given that you don't exist, mind if I eat your sandwich?

comment 7y ago · link · parent

> The argument that "you trusted this server enough to connect to it and download a file, therefore you clearly should trust it enough to permit it to execute arbitrary executables on your machine" is false in both cases.

Great point. Also, imagine that you control the server and you know that it was compromised. Surely you want to be able to download logs and other files from it for inspection without having your own machine compromised.

comment 7y ago · link · parent

At least some features, yes, and also some optimizations.

José Valim was the one who added "Add {continue, Term} and handle_continue/2 to gen_server" - https://github.com/erlang/otp/commit/69e009e3e1ad899a4609ff3...

José's contributions are at https://github.com/erlang/otp/commits?author=josevalim and Michał Muskała's at https://github.com/erlang/otp/commits?author=michalmuskala - there may be other Elixir devs in https://github.com/erlang/otp/graphs/contributors. (I even got in a tiny optimization myself once: https://github.com/erlang/otp/commit/07b0f4315b079cce7aeef7b...)

comment 7y ago · link · parent

This definitely sounds cool.

> your SQL database

They mention "a declarative query API", but as far as I can tell that's not actually SQL, right? So migrating from another relational db would require learning a new query language?

comment 7y ago · link · parent

FB's whole business model is extreme targeting of ads based on learning everything possible about people by any means necessary, including grabbing their text messages without their knowledge. FB isn't the overworked security guard, they're the bank robber.

And yes, non-transparent targeting of opposite fact claims to different voting blocks is quite different from "put a TV spot on Conan because the young people like him", not least because anybody could see the spot on Conan, and because TV advertising is regulated.

comment 7y ago · link · parent

Business partners are not family, sure.

On the other hand, you could easily argue that almost everything is "just business". The doctor is there to treat you, not care about you, your boss is there to extract labor from you, not care about you, your child's teacher is there to impart knowledge, not care about her.

Such black-and-white separation of concerns doesn't really fit well with being human, IMO. In most of these cases we want something less than intimacy but more than indifference.

comment 7y ago · link · parent

Selling location data to advertisers and bounty hunters is bad.

Selling the ability to target different demographics of people with different deceptive and divisive messages to foreign government agents is also bad.

We can recognize both of these things, and perhaps even find a common root cause.

comment 7y ago · link · parent

It's true that most people aren't like me in many ways. But that's not what's meant by "outliers". To have an outlier, you have to have some way in which most people are alike.

Eg, most people don't have $1 million in the bank. If all the financial advice you can read on the internet were written by millionaires, it might (eg) encourage risk-taking that isn't wise for average people. But you could get the impression that such behavior is normal and expected, since "everybody" says they do that.

comment 7y ago · link · parent

I think it's still a good market. Self-learning is hard, though, because there are a million branching paths of knowledge and it's easy to get overwhelmed or sidetracked. Especially when you have no existing skill base from which to ask "would this help me improve what I'm already doing?"

Personally, I had a good friend mentor me and point me at things to learn early on, which helped a lot. A structured program would have the same benefit.

I have no connection with it, but https://lambdaschool.com/ looks very interesting in that they bet on your ability to get a job: you pay nothing unless you do (other than the opportunity cost of spending the time to learn, which could be large).

comment 7y ago · link · parent

> it prevents folks from making themselves more famous via posting sick burns in the replies to Trump tweets

That's a rather cynical take. Imagine a politician you disagree with - be they a fascist, communist, libertarian, or whatever - tweeting something blatantly false. And imagine that they block replies by everyone who contradicts them, making their replies a chorus of agreement. Wouldn't that seem to be an impediment to civil discourse?

comment 7y ago · link · parent

Is the issue is whether the official reads someone's messages, or whether their critic's messages show up for others to see?

comment 7y ago · link · parent

Maybe the business model is the problem. If instead of owning a car, you use a car sharing model, you could use an EV car most days, swap for a pickup truck for a yard project, and swap for a gas car for your road trip (until EVs get that much range).

comment 7y ago · link · parent

I have my favorite choices, but there's a lot to be said for using whatever you already know. Especially if you're quickly putting together a simple website. :)

comment 7y ago · link · parent

I'm not sure what you're comparing it to. Releases can be tricky, but if you're accustomed to `git push heroku master`, or to "blue green deployment" (https://martinfowler.com/bliki/BlueGreenDeployment.html), there's no reason you can't do that with Elixir.

comment 7y ago · link · parent

It's true that when Erlang was first made, machines were single-core, so parallel execution was not possible on one machine. However, the "no shared memory" process model made transitioning to true parallelism much simpler. The ability to run one scheduler per core was added around 2005 I think. See https://hamidreza-s.github.io/erlang/scheduling/real-time/pr...

Also:

> Erlang achieves concurrency by interleaving the execution of processes on the Erlang virtual machine, the BEAM. On a multi-core processor the BEAM can also achieve parallelism by running one scheduler per core and executing one Erlang process per scheduler. The designer of an Erlang system can achieve further parallelism by distributing the system on several computers. > https://happi.github.io/theBeamBook/

My understanding is that the BEAM will also do "work stealing" among schedulers to take better advantage of the available CPUs.

comment 7y ago · link · parent

One "solution" is sometimes to use speech-to-text. The mangled results would be hilarious if they weren't frightening.

comment 7y ago · link · parent

It's notable for several reasons.

> First of all he's not wrong - anyone with a FB account (including myself) is an idiot for trusting them

First of all, many intelligent people got FB accounts in the early days because they didn't know / understand the privacy implications. Eg, some of them surely were college students who went on to become neurosurgeons, astronomers, doctors, etc. They acted on a reasonable heuristic - "this web site looks legit, people I know are using it, there appear to be social benefits, and I live in a country where rule of law is generally enforced, so it's probably safe enough." So they were not dumb categorically, even if their decision in this case turned out to be (arguably) dumb.

Second, for you to call the users idiots for trusting FB is one thing. For Zuckerberg to call them idiots for trusting him is different. A scammer probably thinks of his victims as idiots, whereas their friends think of them as regular people who got tricked. The quote sounds like he meant "because of course I'm going to abuse that trust."

And in context (according to https://en.wikiquote.org/wiki/Mark_Zuckerberg), that appears to be exactly what he meant, treating users' information as his own possession.

> Zuck: Yeah so if you ever need info about anyone at Harvard > Zuck: Just ask > Zuck: I have over 4,000 emails, pictures, addresses, SNS > [Redacted Friend's Name]: What? How'd you manage that one? > Zuck: People just submitted it. > Zuck: I don't know why. > Zuck: They "trust me" > Zuck: Dumb f---s

So this quote is brought up not because it shows his insightful analysis of the fact that generally speaking, people should not trust online services, but because it seems to show his own intent, from the beginning, to take advantage of FB users and blame them for trusting him in the first place.

comment 7y ago · link · parent

> So, Menon asks, “If machines are going to be seeing these images and video more than humans, then why don’t we think about redesigning the cameras purely for machines? Take the human out of the loop entirely, and think of cameras purely from a non-human perspective.”

From a technical perspective, this is neat.

From a societal perspective, I want the images an AI sees and the AI's decision-making process to be auditable by humans.

comment 7y ago · link · parent

Because "his audience" in this case is Facebook users? If he were quitting MySpace in 2018, it would make sense to post a message there. The users of the service are the ones who might miss him, and who might benefit from a warning.

comment 7y ago · link · parent

> So when a lawyer says something like, "Ahh, but the law only talks about 'checking accounts' and 'savings accounts' not 'checking & savings accounts'"

I'm not a lawyer, but that line of reasoning sounds like something out of a comedy skit.

"Sure, the law regulates sales of alcohol and sales of firearms, but it doesn't say anything about an Alcohol And Firearms Combo Pack™!"

comment 7y ago · link · parent

I think the bigger lesson here is that making programs pretend to be human is dangerous. The uncanny valley can feel abusive.

comment 7y ago · link · parent

That does look similar! One thing they say though:

> We don't really know yet how well server-side Blazor (Razor Components) will scale with heavy use applications.

I don't think that's a concern with LiveView, as it's built on Phoenix Channels, which in 2015 could already handle 2 million connections on a single box: https://phoenixframework.org/blog/the-road-to-2-million-webs...

comment 7y ago · link · parent

FB would not have allowed him to make Whatsapp. It was built with a philosophy of correctness ("We can never drop a message") and privacy. Contrast that to FB's "move fast and break things" and disregard for privacy to the point that they stole users' call logs right off their phones.

So there's no way they would have listened to Acton and let him build Messenger the way he wanted.

Add to that the fact that Acton's ideas didn't yet have any market validation. Once WhatsApp was a proven success, FB was willing to pay for it, but even so they are now destroying what made it good - https://www.theverge.com/2018/4/30/17304792/whatsapp-jan-kou...

comment 7y ago · link · parent

> oil products have energy density that batteries are barely starting to be capable of

"Grandpa, tell me again about combustion engines."

"Well, they burned gasoline in a series of tiny explosions, and they were set up so that the timing of those explosions would generate motion."

"Haha, that sounds like a Rube Goldberg machine."

"Yes, and the worst part is that fire is hot. So even though gasoline contains a lot of energy, the process of turning it into motion was fantastically inefficient. They turned so much of the energy into useless heat that they needed whole separate systems just to throw it all away so the darn things wouldn't melt."

1
567
39