HackerTrans
TopNewTrendsCommentsPastAskShowJobs

cwp

no profile record

comments

cwp
·vorige maand·discuss
He lost me at "our particular moment of dystopian late capitalism."
cwp
·6 maanden geleden·discuss
This article is drivel. If a supplier writes down the value of a contract with Tesla, they're saying Tesla is buying fewer batteries, or will in the near future. That is, there is a lack of demand for the batteries. If you're determined to take this as bad news for Tesla, rather than bad news for L&F, you could maybe speculate about lack of demand for Cybertrucks, but spinning it as "supply chain collapse" is just silly.
cwp
·9 maanden geleden·discuss
The code example is very similar to Ray.

Monarch:

  class Example(Actor):
     @endpoint
     def say_hello(self, txt):
         return f"hello {txt}"

  procs = this_host().spawn_procs({"gpus": 8})
  actors = procs.spawn("actors", Example)
  hello_future = actors.say_hello.call("world")
  hello_future.get()
Ray:

  @ray.remote(num_gpus=1)
  class Example:
      def say_hello(self, txt):
          return f"hello {txt}"

  actors = [Example.remote() for _ in range(8)]
  hello_object_refs = [a.say_hello.remote("world") for a in actors]
  ray.get(hello_object_refs)
cwp
·5 jaar geleden·discuss
That's basically what Canada did with the Grand Banks in 1992. They didn't ban fish imports, but they did deploy the navy to prevent other countries (eg, Spain) from continuing to fish there. This absolutely devastated Newfoundland's economy, and even with unemployment insurance, the population dropped because people left to find work.

I don't think a few years would cut it, the Grand Banks are juuuust starting to come back after almost 30 years of nearly no fishing.
cwp
·5 jaar geleden·discuss
I guess I put more of the blame on the influencers because they are the ones making editorial decisions. Sure the platforms are optimizing for engagement too, but it's all content-agnostic. The influencers choose their words carefully, and they choose harmful words because it makes them more money.
cwp
·5 jaar geleden·discuss
Yup. It's blaming smokers for second-hand smoke. We need to figure out the social-media equivalent of "no smoking" signs.
cwp
·5 jaar geleden·discuss
Yeah, the analogy between toxic media and toxic chemicals is pretty good. However, I'd put they blame for that somewhere you might find surprising: influencers.

Everybody likes to hate on "big tech" these days, but if there's anyone that knows the dangers and all the ill effects but ignores them to make a profit, it's content creators. They are hyper-attuned to the way people respond to their content, and they'll do anything to get a reaction, the more intense the better. And if that means siccing a mob on somebody, so be it. If it means doing stunts that endanger people in the real world, fine. And polarization is the best technique they've stumbled onto yet: say stuff that enrages people to get them to engage with the post, and then pick up followers among those that watch the rage with glee.

Just about every successful influencer has done a post about how hard it is to be internet-famous. It's almost always about how the negative effects of their work get reflected back at them. They know how the things they say harm people, they just want the negativity to be directed elsewhere.

There's a lot of debate about how social media companies should be regulated, how much censorship should be allowed, how much platforms should subsidize legacy media etc. But none of it will matter if we don't rein in what's considered acceptable in the creator economy.
cwp
·6 jaar geleden·discuss
Not that important, at least in the SV-centred tech world. I have a journalism degree, and I don't think it's ever been a problem. I've also been a hiring manager, and on hiring committees and never really paid much attention to it. Degrees matter in data science but not software engineering.
cwp
·7 jaar geleden·discuss
Well, the environment isn't the only factor, but it's the biggest one. You have to take care of routing, permissions, timeouts, errors etc on the server as well. Data being "an sql query away" on the server is similar to being "an AJAX call away" on the client.

If you have a UI, you're going to have to manage UI state somewhere. Even if you have no client-side code, you've marshal that state into strings to send to the client, and then parse it all out again on the server when you get the next request. Remember hidden form fields? Heck, this very site has some pretty interesting history about attempts to solve that problem elegantly. It was a PITA.

Ultimately, none of that has to do with Javascript; it's inherent in a client-server architecture. The one thing that is specific to JS is asynchronicity. If you don't like that, ok, fair enough, but that's a matter of taste. It has advantages as well as disadvantages, and with Promises and async/await, it's actually pretty elegant. It's certainly not the case that asynchronicity makes you write shit code.
cwp
·7 jaar geleden·discuss
It's not Javascript that makes you write shit software. It's trying to write software that runs correctly on a wide variety of platforms that you don't control.

reaperducer's rewrite was an improvement, not because he replaced Javascript with PHP, but because he moved all the logic to the server, which is a single environment he controls. He could have used Node instead of PHP and achieved the same thing.
cwp
·16 jaar geleden·discuss
Look up the meaning of "innovation." It's not the same as "invention." Innovation is when you take an invention and make it practical. That is, bring it to market in a product that has a significant impact. Apple has surely done this many times.