HNHacker News
TopNewBestAskShowJobs

cannabis_sam

704 karma · joined February 3, 2010

submissionscomments
cannabis_sam··on TypeScript please give us reflection/runtime types
This is just the desperation that comes with poor understanding. The strength of a type system should ideally be that you could confidently execute the underlying code even with full type erasure, and while I realize that TS has already sacrificed this to some extent, adding reflection/runtime “types” would just further degrade the value of TS.

No thanks! If you want this, compile java to JS or something equally hamfisted…

cannabis_sam··on The Rot Economy
I mean, what else would anyone expect after capital started siphoning off larger and larger amounts of money from labor in the 70s.

Repaying labor with a relative pittance due to growth and simultaneously lowering taxes, just to hoard capital at an ever increasingly more insane rate, while of course dismantling antitrust, will obviously just concentrate capital.

Exponentially concentrated capital will need to chase exponential returns…

The naive folly of the efficient market hypothesis is its childishly simplified view of the world; a given in a world of economists treating their social sciences as if it were as bound to nature as physics.

Although one would’ve hoped politicians weren’t so utterly and devastatingly easy to buy, but they clearly went a long with this insanity.

The idiocy of crypto is but a blip compared to the scam run by capital over the last 50 years.

It’s simple, just redistribute society’s gains, jfc…

cannabis_sam··on San Francisco office values fall
In the same way, any ripple effects are just the natural consequence of a market economy. We chose this, and we’re getting exactly what we ordered.
cannabis_sam··on Writing Python like it's Rust
This reminds me of learning Haskell…

Having transitioned from Java to Python, because the type system in Java had very little bang for the buck, I was under the wrong impression that types sucked and dynamically typed languages were superior.

Boy was I wrong about that.

I of course don’t try to import all the structural or semantic haskellisms into other languages, but just recognizing the immense value you get from typing your inputs and outputs has changed the way I program.

cannabis_sam··on Naomi Klein investigates ‘conspiracy theory culture’ that has shaken her life
It’s just the continuation of an American tradition that has been with the US since the founding fathers.

Benjamin Franklin objected to “swarthy” german immigrants: https://www.theatlantic.com/politics/archive/2008/02/swarthy...

Chinese, Italian, Irish, Eastern Europeans, Mexicans, the list just goes on..

There is always external (or externalized in the case of African-Americans) forces trying to dilute the purported “purity” of the hegemony, despite the fact that the country has always been defined by continuous immigration.

It’s just reactionary people desperately yearning for an imaginary past. One of the classic tropes of fascist movements like white nationalism, christian nationalism or the generally sclerotic and reality divorced movement that worships Trump.

cannabis_sam··on The military loved Discord for Gen Z recruiting. Then the leaks began
No, I’ve seen two versions of that image. The one with 71/17 looked most obviously edited to me, but I was asking to get any more substantial confirmation either way.
cannabis_sam··on Ask HN: Why don't smartphones encourage programming like early 80s computers?
A BASIC prompt does not appeal to most people, a smartphone does.

If you wanna make youtube videos, I’d take an iPhone over a BASIC prompt any day.

cannabis_sam··on The military loved Discord for Gen Z recruiting. Then the leaks began
>It does confirm that Ukraine is losing the war badly, I think it was like 7 Ukrainians dying for 1 Russian.

Are you referring to the picture with 17k russians vs 71k ukrainians? I thought that was the one that had been edited/falsified…

cannabis_sam··on What broke Sweden? Real estate bust exposes big divide
I literally can’t believe this comment actually got upvotes; at least this restores some sliver of faith in humanity for me..
cannabis_sam··on What broke Sweden? Real estate bust exposes big divide
It’s not complicated, housing is being used as an investment vehicle for narcissistic speculators to make bank, while clueless homeowner assholes are desperately clinging to their mortgages.

This is a constant across the western world, and it’s not gonna change until middle class families end up living on the street.

The sooner this psychotic, braindead and hateful housing market collapses, the better.

cannabis_sam··on Type system of Fortnite's Verse language
An inspired and progressive programming language, trying to advance the status quo, in collaboration with industry professionals…

Of course insecure middlebrow devs are gonna complain!

cannabis_sam··on Does Google need a new CEO?
Of course they do!?! How is this even a question? Unless you’re a run of the mill mba grifter desperately trying to push short-term “shareholder value”..
cannabis_sam··on Narcissistic Collapse
Don’t forget desperately fawning over political extremists that are fanatically stroking your ego … It’s an immensely seductive and soothing balm for a bruised, narcissistic personal image.
cannabis_sam··on Brexit: Rejoining EU takes record 14-point lead in latest poll
It’s inevitable.

The share of, at best clueless, but more likely spiteful and cruel, old people who ensured the absolutely inane brexit majority decision, before they unceremoniously were reduced to the fate of just dying off, is monotonically shrinking.

While the share of young people who weren’t even allowed to have a say in the rest of their future life, is monotonically growing.

It’s by far the most crystal clear example of the old desperately trying to eat the young, incontrovertibly to feed their petty greed, but it obviously does not have any effect on the biological realities.

A Norway style arrangement, while far worse than the previous deal, is and will always be better than the current quagmire.

Unfortunately the psychotic sadist in the ERG still have influence over British politics.

cannabis_sam··on Kiwifarms Dropped by Their ISP
KF defenders are always the true “lolcows”!

Have they and/or their nihilistic and sadistic salivation over victims of harassment been made illegal…?

Turns out, no…

Are private businesses choosing not to service their reprehensible needs for irrelevant gossip legal…?

Turns out, yes!!!

You either die a free speech defender or you were always an irrelevant misanthropic shitbag who no one wants to associate with…

Your next step is to start a “free speech” oriented ISP, cause, you know, that is still not actually illegal.

You’ve been talking the talk, time to walk the walk…

cannabis_sam··on The availability of text generators will force positive changes to education
Writing essays is not the problem, grading the essays and grades in general are the problem.

Feedback is obviously invaluable, but the point of grades, as used today, is solely to gatekeep who are allowed access to the next level of education. So instead of constructive feedback, it has become a set of filters entirely divorced from actual learning.

(And yes, I got good grades, I just hate that so many people I know were denied opportunities based on a shitty system, wildly not fit for purpose)

cannabis_sam··on British pound hits record low against the dollar
>I'm reading online that I was stupid for buying a house in a bubble and that rates need to go up and house prices need to fall.

Would you rather have perpetually increasing housing prices?

Wouldn’t that be even worse for your younger and future family members?

I don’t think you’re stupid, but this does seem like shortsighted thinking.

(I do hope you manage to get through this as unscathed as possible)

cannabis_sam··on Next steps for Rust in the kernel
Your views on programming languages are deeply appreciated, regardless of whether I agree or not.
cannabis_sam··on A legal fund to sue SF over housing deadlock
The complete and utterly unbridled hate and insanity of these people, who are ferociously fighting, tooth and nail, to deny their fellow humans housing, is truly a failure state of humanity..

At least people like this legal fund are fighting back

cannabis_sam··on A third of Pakistan is underwater from floods, climate chief says
>If you can’t say global warming is bogus because it’s particularly cold out today, you also can’t blame global warming on it being hot or rainy.

How does this in anyway whatsoever, relate to the multitude of supposedly rare (outside of “global warming), clearly climate induced events causing the floods in Pakistan right now?

They had extreme drought, now they have extreme monsoon rain, combined with localized issues like melted glaciers and overflowing reservoirs.

If you “can’t say it”, maybe that is because you don’t know what you’re talking about..?

cannabis_sam··on Programming breakthroughs we need
>Static typing everywhere. It's utterly baffling to me.

I find it far more baffling that people don’t want to offload the trivial parts of the mental work of ensuring the programs they write makes the minimum of sense.

I also jumped on the dynamically typed bandwagon after using low value type systems like java’s, but after using haskell, ocaml, typescript, purescript, rust, and especially elm, I realized that they let me focus on the business value over the incidental complexity from having any value potentially being anything…

(Even Agda and Idris have been amazing revelations in this context, but at that point the type theory does start to consume more time than necessary for ordinary development)

cannabis_sam··on There aren't that many uses for blockchains
Hilariously this is a business opportunity, far bigger than any crypto startup being funded by yc…
cannabis_sam··on There aren't that many uses for blockchains
I agree, but none of these trust issues are solved by using blockchai based solutions…
cannabis_sam··on 'Too many employees, but few work': Pichai, Zuckerberg sound the alarm
These CEOs are by definition not deserving of their exorbitant compensation.

In an actually functioning market they would have been kicked to the curb, long long before making these kinds of embarrassing excuses for their incompetence.

If the boards of such companies weren’t stuffed full of the same kind of absurdly entitled, overpaid and under-qualified executives, our capitalist system would be a lot less dysfunctional.

Instead we get this wildy embarrassing neo-aristocracy..

Adam Smith warned us about this:

“People of the same trade seldom meet together, even for merriment and diversion, but the conversation ends in a conspiracy against the public, or in some contrivance to raise prices.”

cannabis_sam··on A prominent composer lost his Wikipedia page
>Honestly even if he isn’t famous why can’t Wikipedia keep his entry?

The answer is Deletionists, people who are unable to contribute with actual knowledge and information, so they have decided that their contribution is destruction of knowledge and information.

The Wikipedia bureaucracy, as it exists, is unfortunately not equipped to handle these types of book burners…

cannabis_sam··on Oregon’s decriminalization of drug possession is proving disastrous
Switzerland pioneered this approach, and it has been implemented in Germany, Netherlands, Canada and Denmark.[0]

What does Portugal have to do with it?

[0] https://en.m.wikipedia.org/wiki/Heroin-assisted_treatment

cannabis_sam··on Monads are a class of hard drugs
This blogpost and a lot of comments in this thread (but absolutely not all) don’t seem to realize that monads are an abstraction over lots of different, but common programming constructs.

- Read-only values (e.g. environment variable, configuration)

- Write-only functions (e.g. logging, compiler output)

- State (read-write-values)

- Sum-types (e.g. Optionals/Maybe, Either/result)

- Inductive lists

- Arrays/vectors

- Contexts (e.g IO, file handlers, database cursors, etc)

- Functions

- Sequenced operations

- Continuations

- Parallelization

- Concurrency

- Interpreters

- Compilers

- Combinations of all of the above (plus more)

- And whole programs

- (and a whole lot more)

All of these can be built as monads, since it’s an extremely general abstraction. But when you try to attach the specifics of any of these constructs to your explanation/view/understanding of monads you will inevitably run into issues/contradictions with other things that are also monads.

At its core, monads are just an interface with two (or three) functions:

- unit/pure/return, which puts a value into a monad

- bind (or map and join) which combines a value in a monad with a function from that value into the same monad

(Plus some algebraic laws about how these functions behave when combined.)

However, the technical simplicity of this interface does not make it easy to understand how and why it’s a useful abstraction over so many programming constructs.

IMHO, the best way to get a grasp of this, is to actually use and play around with a bunch of of these constructs via these monadic functions.

(I am also thoroughly convinced that you can ignore Category Theory if you are only interested in monads as they are used in programming.)

cannabis_sam··on AI Sentience Is (Obviously) Not the Real Issue
You’ve got it exactly backwards, the question you should have asked is:

Is anterograde amnesia, an, or indistinguishable from, a statistical model?

This way the burden of proof is on the correct claimant.

cannabis_sam··on What happened to the lab-leak hypothesis?
Since you don’t even mention Daszak, while regurgitating the position he established years ago, you are per definition arguing in bad faith.

Please, for the love of us all, stop attacking humanity..

cannabis_sam··on Ask HN: What are examples of common beliefs conclusively invalidated by data?
>Bananas used to have seeds.

Bananas is also an example of this process of “GMO-by-hand” stopping due to economic reasons, leading to monocultures susceptible to disease, twice as I understand it.

← PreviousPage 2 of 17Next →