HackerTrans
TopNewTrendsCommentsPastAskShowJobs

spicebox

no profile record

comments

spicebox
·10 mesi fa·discuss
The whole reason that hooks were created was that they could composed, as opposed to stuff like renderprops or mixins. When you create a custom hook that uses a useState and a useEffect, that's composition. They have the caveat that they can only be composed into new hooks, but that's just like async functions only being able to be called from other async functions.
spicebox
·2 anni fa·discuss
Matt Levine has talked about how this is how PE firms work too. No Harvard MBA wants to work for a midsize manufacturing firm, but they’d kill to work for a PE firm that going to make them work for their PortCo that’s a midsize manufacturer (but they get to say they work for Apollo)
spicebox
·3 anni fa·discuss
Monads don’t compose, effects do. ‘IO a’ works great until until you need to add another effect, for example ‘Maybe’. Then you need to bring in monad transformers and create your own monad combining the two, then rewrite all your code to lift the effects from one monad to the other. And you have to do this every time you want to add a new effect.
spicebox
·3 anni fa·discuss
Being able to change the ordering of effects on the fly is a benefit of algebraic-effect systems. As you mentioned `State<S, Result<E, T>>` and `Result<E, State<S, T>>`have very different effects. Algebraic-effects let you switch between the two behaviors when you run the effects, whereas with monad transformers you have to refactor all your code to use `State<S, Result<E, T>>` instead of `Result<E, State<S, T>>` or vice-versa
spicebox
·3 anni fa·discuss
Maybe you remember when the Israeli Military killed 223 peaceful protestors and injured over 9,000 more? (https://en.m.wikipedia.org/wiki/2018–2019_Gaza_border_protes...) or when they presided over the massacre of thousands of Lebanese civilians in a refugee camp? (https://en.m.wikipedia.org/wiki/Sabra_and_Shatila_massacre)
spicebox
·3 anni fa·discuss
“They will still be able to bring their own alcohol to drink at the bars … The current alcohol ration allows Antarctic workers to buy up to the equivalent of 18 beers each week, or three bottles of wine, or a 750 milliliter (25 ounce) bottle of spirits.“ It seems like they’ll still be able to get plenty of alcohol
spicebox
·3 anni fa·discuss
It’s not JavaScript, it looks like JavaScript but it works differently
spicebox
·3 anni fa·discuss
It’s not espionage, it’s an expert network!
spicebox
·3 anni fa·discuss
In defense of consulting the “sales pitch” on consulting is that the people on top, the partners and managers, have the industry experience to guide the more junior employees who don’t have experience but have good analytical skills. How true that is is up to interpretation but that’s the steel man version
spicebox
·3 anni fa·discuss
Like most good satire it’s based on reality
spicebox
·3 anni fa·discuss
As someone with firsthand experience at a “top” consulting firm this article is pretty accurate, albeit with a definite negative slant. A couple parts that really ring true for me are:

> The work will mostly be done by clever but pimply 20-somethings, armed with two-by-two matrix frameworks … What they lack in wisdom will be made up for in long hours.

The structure of consulting firms is that a partner (who does actually have a lot of experience with the industry) will “sell” the work to the client and oversee the team that actually does the work. Partners will sell multiple cases at a time and most of time is spent doing sales so most of the work is done by the consulting team with some guidance from the partner. The consulting team will be comprised of a couple of consultants 1-3 years out of undergrad and couple of consultants 1-3 years out of their MBA and a manager who has maybe 5 years of consulting experience. Usually none of them will have any specific domain knowledge.

> Question everything

Since most of the work is done by (nearly) fresh grads they won’t have a lot of specific industry experience. At the same time it’s hard to find information on the obscure topics they’re researching so the actual information they find will be iffy. Sometimes it will even be made up (they’ll tell the client it’s based on “industry experience” or something but it was probably invented by 23 year old in excel). Regardless the information will be presented to the client as rock solid and scientific (with maybe a little disclaimer at the bottom)

In short: The people you’re talking to aren’t the people who are doing the actual work, The people who are doing the work have no industry experience And the numbers they’re basing their analysis on are probably whatever they found on google.

I know this comment sounds really critical but I do think there is some value in consultants and they are really good at structuring out a problem but the analysis they do is probably 75% accurate at best
spicebox
·3 anni fa·discuss
Neither Accenture nor McKinsey are Big 4. The Big 4 are PwC, EY, KPMG, and Deloitte. Despite what the name suggests they aren’t actually the top consulting firms (the name comes mostly from their accounting work.The three consulting firms, at least in terms of cost/prestige, are McKinsey, BCG, and Bain (MBB for short).
spicebox
·3 anni fa·discuss
The issue is that lobbying has two different meanings. The literal meaning is trying to influence politicians but the common usage refers to when companies and special interest groups spend hundreds of millions of dollars on donations and advertising to get politicians to pass laws that benefit them. The first meaning, which is what you’re talking about, is fine. But the second meaning, which is what people mean when they talk about banning lobbying, is the opposite of democracy.
spicebox
·3 anni fa·discuss
> There is no good democratic outcome for $175K a year jobs that cost half a billion dollars to apply for.

I would argue that this is a reason to reform our electoral system rather than just resign ourselves to a corrupt system. If it didn’t cost half a billion dollars to become a politician and the pay better reflected the job responsibilities (along with other reforms) we’d probably see less corruption
spicebox
·3 anni fa·discuss
> Generally industries are much better than random politicians at predicting the consequences of rules

This is true but when people are talking about restricting lobbying the kind of lobbying they want to restrict isn’t companies saying “hey this policy isn’t good for us”. It’s companies spending millions of dollars on donations and advertising to force politicians to make laws that benefit them. It’s possible to restrict the second kind without impacting the first kind, for example by implementing spending limits.
spicebox
·3 anni fa·discuss
Yes you can, even if you don’t want to restrict lobbying on free speech ground you can place donation caps and increase transparency requirements which would both limit the power of corporate lobbying
spicebox
·3 anni fa·discuss
Why? What is the benefit to the public good of allowing corporations to use their massive resources to shape legislation to benefit them at the expense of the general public?
spicebox
·3 anni fa·discuss
> You don't really care about Pokemon, but you know you can sell Pokemon on eBay[2], so you automate it with a device like this.

People who are selling Pokémon on eBay are probably just hacking them in rather than going through the trouble of using a device like this to obtain them “legitimately”
spicebox
·3 anni fa·discuss
There’s also plenty of evidence that improving educational outcomes for low performing students has an outsized impact. “Decreasing the number of high school dropouts by half would nationally produce $45 billion per year in net economic benefit to society … Improved education and more stable employment greatly increase tax revenue, such as a return of at least 7 dollars for every dollar invested in pre-kindergarten education … National savings in public health costs would exceed $40 billion if every high school dropout in just a single year would graduate”. [1] These show pretty clear economic benefits to improving outcomes for the average student.

But the bigger issue is framing with as a “struggling vs gifted” problem. Where we have to choose between supporting gifted students or helping struggling students. It isn’t, education is one of the few areas where there is a “free lunch”. Every dollar invested in education results in more than one dollar in return. We can easily find both of these things, the real question isn’t which we should fund, but why we aren’t funding both.

[1] https://www.elc-pa.org/wp-content/uploads/2011/06/BestInvest...
spicebox
·3 anni fa·discuss
Touché - “Science has widely come to be understood as a systematic assault on common sense. Common sense said the world was flat; science showed this to be false. Common sense said the sun and the moon were the same size; science showed this to be wrong. Common sense said the Earth was the center of the universe; science showed this to be false. Common sense said matter was solid; science has shown this to be false”

https://publishing.cdlib.org/ucpressebooks/view?docId=ft8c60...