Better HN
topnewbestaskshowjobs
Log inSign up

PartiallyTyped

2,940 karma · joined Oct 16, 2020 (6y ago) · 2,890 submissions

me [at] [$handle].dev

----------------------------------------------------

Submissions

comment 5y ago · link · parent

C is effectively a _predictable_ and portable assembler. You can't do that with Rust because everything is catastrophically moved, which makes it harder for humans to predict emitted code, and Go afaik has a runtime.

comment 5y ago · link · parent

There is also r/scholar where I may or may not have provided articles to other people.

comment 5y ago · link · parent

I have friends who used MS Word to write their thesis in CS undergrad.

Surprisingly it is possible to write math in a LaTeX-like fashion and they show up quite well. I have had more trouble aligning things with Word than with LaTeX so I kinda looked at them sideways.

comment 5y ago · link · parent

I see. Then I am joining the club where the first one was perfectly fine.

comment 5y ago · link · parent

Literals should be avoided since they can get mistyped unless the compiler can enforce that.

comment 5y ago · link · parent

Why not use something in the form of SingleDispatch on the typed key?

This is a very simple pattern with Python, instead of passing literals, create the different literals as types, and make the function accept a union of said types. Then use `functools.singledispatch`, to map each type to the correct function. This results in three separate functions, just as one would do with algebraic data types.

Or, instead of singledispatch, use dictionary mapping `type(key)->Callable`, and pass the arguments there, making the graph identical to the second.

comment 5y ago · link · parent

> I am, somehow, less interested in the weight and convolutions of ~~Einstein~~ Cook’s brain than in the near certainty that people of equal talent have lived and died in cotton fields and sweatshops.

Original quote by Stephen Jay Gould.

comment 5y ago · link · parent

That’s absurd. Discoveries are rarely made by lone scientists, progress is made by tens or hundreds of people, each exploiting their comparable advantage, even if that is digging ditches.

comment 5y ago · link · parent

Having high IQ is not knowing the shortcuts but being able to identify them.

Fact of the matter is that we make progress when collective effort is put onto something. Not everyone of us is a Terry Tao, or John von Neumann, but we can at least exploit our comparable advantage and help those better than us. Sucking your ego sucks but coming to terms with our inherent limits is freeing.

comment 5y ago · link · parent

To say that technique isn't part of what makes Italian cuisine good is a bit inane, many pasta dishes are just plain bad without good technique, e.g. spaghetti aglio e olio becomes an oily mess, the cheese in caccio e peppe breaks, the eggs break in carbonara.

comment 5y ago · link · parent

Doublethink [1] also facilitates control. I expect this comment to be controversial, but I will express it nonetheless.

Unsurprisingly, doublethink is very prevalent in online discussion boards, I have observed it in both progressive and conservative spaces.

> Doublethink is a process of indoctrination whereby the subject is expected to simultaneously accept two mutually contradictory beliefs as correct, often in contravention to one's own memories or sense of reality.[1] Doublethink is related to, but differs from, hypocrisy.

An example of this within conservative spaces is demanding freedom, but supporting fascism, such as the instance where the datascientist that reported covid cases from Florida was swatted by the police and had her computers and hardware confiscated.

An example of this within progressive spaces is demanding equality across genders, but at the same time screeching about saving women and children from Afghanistan and sending men to die like pigs to the slaughterhouse. Or, supporting women's education and equality while supporting anachronistic systems found within religions that facilitate subjugation.

[1] https://en.wikipedia.org/wiki/Doublethink

comment 5y ago · link · parent

Sorry, but this is just sad.

comment 5y ago · link · parent

Internet points are a form of validation, also the notifications and responses play on our dopamine circuits, namely, on our desire for novelty.

comment 5y ago · link · parent

If an account is banned (not shadow-banned) and reddit finds out the person uses other accounts to evade it, they suspend (but not ban) both temporarily.

comment 5y ago · link · parent

Sometimes the best place to hide something is in plain sight.

comment 5y ago · link · parent

This [1] is a great read about the chain of trust, it boils down to whether you can trust your UEFI, if you can trust your UEFI, then you can trust your OS and its trusted public keys and the chain doesn't break.

From the essay

> Now, no one has actually observed UEFI being compromised, nor has anyone captured any UEFI-compromising Trickbot code. The thinking goes that Trickbot only downloads the UEFI code when it finds a vulnerable system.

> Running in UEFI would make Trickbot largely undetectable and undeletable. Even wiping and restoring the OS wouldn't do it. Remember, TPMs are designed to be unpatchable and tamper-resistant. The physical hardware is designed to break forever if you try to swap it out.

[1] https://pluralistic.net/2020/12/05/trusting-trust/#thompsons...

comment 5y ago · link · parent

>corporation

I think you mean collaboration.

comment 5y ago · link · parent

The cynic in me believe they may be involved in a honeypot operation, which will ensure they continue operating while not having to deal with backlash.

comment 5y ago · link · parent

Huh, the thought came out unintelligible.

Let me try again.

The devs of FloatPlane considered entering that market as soon as the exit was announced, but given the development time and the fact that most of the content creators migrated to other platforms, they would be very late and therefore it is not a worthwhile endeavor.

comment 5y ago · link · parent

I believe Bronstein is onto something huge here, with massive implications. Illuminating is the best adjective to describe it, as I watched this keynote:

> https://www.youtube.com/watch?v=w6Pw4MOzMuo

Everything clicked into place and I was given a new language to see the world that combined everything together well beyond the way standard DL is taught:

> we do feature extraction using this function that resembles the receptive fields of the visual cortex and then we project the dense feature representation onto multiple other vectors and pass that through stacked non-linearities, and oh by the way we have myriad of different, seemingly disconnected, architectures that we are not sure why they work, but we call it inductive bias.

> https://geometricdeeplearning.com/

That's my main source, along with the papers that lead up to the proto-book, so pretty much Bronstein's work along with related papers found using `connectedpapers.com`. I don't have an appropriate background so I am grinding through abstract algebra, geometric algebra, will then go into geometry and whatever my supervisor suggests I should read. Sure, I would like to have other people to discuss it, but don't expect much just yet.

comment 5y ago · link · parent

I suggest you take a look at Geometric Deep Learning, but the gist here is that convolutions can be thought of as translation equivariant functions, and pooling operations as permutation invariant combinations, all operating on a graph of as many components as the number of times the operation will be output, each component is composed of the pixels that the operation will act on, so there is local information that is slowly combined through the layers, then relative positioning can be decoded when the representation is transformed into a dense 1d-vector aka flattening.

In contrast, attention mechanisms in transformers can be seen as taking into consideration dense graphs of the whole input (at least in text, I haven't really worked with vision transformers but if an attention mechanism exists then it should be similar), along with some positional encoding and a neighborhood summary.

If they indeed can be thought as stacking neighborhood summaries along with attention mechanisms, then they shouldn't fall for the same tricks since they have access to "global" information instead of disconnected components.

But take this reply with a grain of salt as I am still learning about Geometric DL. If I misunderstood something, please correct me.

comment 5y ago · link · parent

The devs of FloatPlane considered entering that market as soon as the exit was announced, but given the development time and the fact that most of the content creators migrated to other platforms, and therefore they would be very late.

comment 5y ago · link · parent

In some circles, people expressed they will be DDOSing the service and report pro-life people or even made up people to halt the process to a crawl.

comment 5y ago · link · parent

This is arguing that because humans are stupid and biased, they will believe they are better drivers despite all the evidence to the contrary, and therefore, a solution needs to be close to perfect so that humans stop being fearful.

We have seen this before with autopilots in aircraft and ship, elevator operators and so on.

All it needs is time and adoption, not perfection, and as adoption increases, the roads get safer and safer, bringing us closer to the ideal, and as time increases, the closer we get to adoption.

comment 5y ago · link · parent

This was addressed in the tv-show "New Amsterdam". The medical director of the New Amsterdam Public Hospital identified that barbershops are indeed community centers, after an almost fatal event where a black man almost died playing basketball.

The director figured that it is far more likely that men could get their heart checked if they didn't have to go out of their way to get to a hospital, and that was the right place to do it. He trained the main barber there on how to use the machine because he understood how much he cared about his friends, acquaintances, and the community he had fostered. IIRC he did that in many other barber shops in the area.

Funny enough, this approach also saves a lot of money because health problems can be identified faster than otherwise.

comment 5y ago · link · parent

Funny, I began reading Yudkowsky's "Map and Territory", in the preface there is this sentence:

> For if you can't trust your brain, can you trust anything else?

Which basically means, if the brain can't trust the brain, can the brain trust another brain?

Yes slightly tortured, but only to fit :D

comment 5y ago · link · parent

> You would have needed to predict the pandemic

That was not difficult to do, even in Late December. Most discussions were taking it really casually, and believed that none of that would happen, which is exactly why it happened and how I predicted it. People are be filled with unfounded optimism, overestimate their skills, and underestimate their bad lack.

Combining the three with the belief that most humans are incapable of understanding exponential and autoregressive processes, it became clear.

But all of this is anecdotal evidence and could very well be an instance of a bear predicting a depression, after all, bears predicted 10 out of the last 3 economic crises.

comment 5y ago · link · parent

People don't give proprioception enough credit until they end up losing it. Proprioception is the sense of where in the world our bodies are.

I hold the belief that proprioception is more than a sense, but rather, part of what makes us conscious as it requires a sense of 'I'. Toddlers are able to identify themselves in mirrors, and it is usually preceded by movements, and identifying that "the mirrored human performs the same movements as I do", which requires some form of proprioception.

Oliver Sacks talks a lot about other senses beyond those covered in school. I can recommend "The man who mistook his wife for a hat", "Hallucinations", and "Awakenings".

comment 5y ago · link · parent

In pets[1]:

- Coughing - Sneezing - A runny nose - Weepy eyes - Vomiting or diarrhoea - Mild breathing difficulties - High temperature - Reduced appetite

https://www.pdsa.org.uk/taking-care-of-your-pet/pet-health-h...

Furthermore, if the corona virus does not exhibit the same symptoms which are a consequence of an infection of the respiratory tract, then transmission will be very different and probably significantly lower which does not fit the data, i.e. mass infections in the wild.

comment 5y ago · link · parent

Relevant: https://appletoo.us/

And respective HN discussion: https://news.ycombinator.com/item?id=28280134

1
818283
97