Better HN
topnewbestaskshowjobs
Log inSign up

Mathnerd314

3,006 karma · joined Nov 1, 2009 (17y ago) · 1,339 submissions

Making the ultimate programming language https://mathnerd314.github.io/stroscot/

In the past I developed SuperTux (http://supertux.lethargik.org) when I was bored.

Submissions

comment 2y ago · link · parent

Well, there are some labels that get enthusiasm, and some that don't. Like, of the ones mentioned in the article, "I’m an introvert", "I’m a Libra", "I’m Gen Z", I've actually had some good conversations about conversation styles, astrological sign personalities, and different generations. But when I bring up being human, nobody is willing to get into cognitive biases or the daily mishaps of living. I understand that people have different reactions, but I don't really understand why they react the way they do - it seems like a culture issue.

comment 2y ago · link · parent

If you look at the suggested measures, you will see that for example, the Big-5 personality traits are on there. https://renaissance.stonybrookmedicine.edu/sites/default/fil.... Although self-reported, I wouldn't say Big-5 is "subjective". The measures have good test-retest validity and many independent scales have been developed and found to be strongly correlated. I would argue this means Big-5 is not just "you answered this question on this scale" - it is measuring something deeper, maybe not personality per se but at least a mental attitude. I could easily see extending this sort of measurement process to all of the traits in DSM, and I think it is a worthwhile goal.

There are two issues I have with HiTOP though. First, they haven't actually developed and published the scales, or even a concise and reliable description of them. For example, if you look for Big-5 scales, you will find that only extraversion and neuroticism are well-defined. The other dimensions aren't replicable. Just by listing Big-5 and not adding any caveats, it is clear that HiTOP isn't taking a critical view of these measures. In terms of actual, usable scales, there are just the ICD-11 and DSM-5 AMPD personality models, and combining these into a concise scale is active research. In this area, the HiTOP project has accomplished little so far besides drawing attention to these and other models. There is a 405-question battery https://hitop.unt.edu/clinical-tools/hitop-digital-assessmen..., but it hasn't been validated.

Second, I find the goals somewhat confused and the distinction between categorical and dimensional somewhat artificial. For example in https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5811364/, the proposal is to have a number of traits and to rate their severity. This model isn't particularly different from the current DSM - it is just that now rather than a "diagnosis of autism" one is rated as having a "severe autism trait". It is possible to have multiple diagnoses in the DSM and similarly in the proposed model it is possible to have multiple traits. About the only real difference is that diagnoses are going to be redefined to be one level above, what could be termed a meta-diagnosis in the current DSM. This is presumably going to be more strictly trait-based, and the traits are going to be de-duplicated, so that there are fewer differential diagnoses to deal with. You can see the proposed grouping here: https://renaissance.stonybrookmedicine.edu/HITOP/AboutHiTOP. I don't see much issue with such groupings, but I also don't see it as a big change. Despite them saying it's a new framework that bears no relationship to the current one, I think all the current labels will still be around for a while, and it doesn't seem hard to fit all the DSM-5 labels into the new framework either as traits or as diagnoses (syndromes).

comment 2y ago · link · parent

I've tried introducing myself as "I'm a human", you'd think everyone would agree with this label but it gets unenthusiastic reactions. The followup "You're human too, right?" is even worse.

comment 2y ago · link · parent

https://capitalpunishmentincontext.org/resources/casesummari...

> A proper remedy for claim of actual innocence based on new evidence, which is discovered too late to file a new trial motion, would be not federal habeas relief, but rather to file for executive clemency with the state.

https://www.pullanyoung.com/blog/dont-panic-over-shinn-v-ram...

> Shinn does not affect “new factual predicate” claims. If a witness changes their story 5 years after trial, you can still validly raise that claim both as a subsequent state writ and as a 2254 federal petition. Same goes for new scientific evidence, Brady violations, etc. None of those things can be characterized as the defendant's fault for not raising them earlier.

https://www.washingtonpost.com/opinions/2022/06/01/arizona-d...

> federal courts should show enormous deference to the states, even when federal judges believe a state court is wrong.

These decisions seems more about federalism? I mean, if you want to blame someone, blame the involved state for not considering the exculpatory evidence. For example Barry Lee Jones is out now - but it is because of an Arizona judge, not a federal one.

comment 2y ago · link · parent

I guess there are two cases, a Wisconsin state case (March, out on bail, still pending) and this federal case. Apparently it is not double jeopardy to re-arrest for the same thing (or different statutes, in this case) if one is state and one federal.

comment 2y ago · link · parent

Certainly some issues are chrome vs. the world, but here it is apple vs. the world: https://caniuse.com/jpegxl

comment 2y ago · link · parent

It's all about convenience for him, Apple's tools generate Jpeg XL so he can't be bothered to resave it for anyone else. He's like "I use Safari and it works fine"

comment 2y ago · link · parent

There is an annoying guy on our team (Apple fanboy), he insists on using Jpeg XL even though I have begged him to use png or av1 or literally anything that is reliably supported across all modern browsers. I ended up using https://github.com/zamfofex/jxl-crx

comment 2y ago · link · parent

It could depend on the page. In my case it was almost half a megabyte, mostly HTML markup junk, and the text was in Japanese. https://kakuyomu.jp/works/16818023214223186311 And the task was "write a selector to identify the author". I even tried giving it the author, didn't help.

comment 2y ago · link · parent

That does a list of blocks and "cheats" by using heavily-engineereed features such as Readability's algorithm. It is suitable for some purposes, I guess. But the paper I am talking about, https://arxiv.org/pdf/2201.10608, does self-supervised learning.

comment 2y ago · link · parent

> Turning a natural language specification into web scraping code is exactly the kind of code synthesis that current LLMs can already achieve.

I wish, I have tried. LLM's don't understand the DOM. Unless it is as simple as the address being in element id=address, an LLM is useless for generating scraping code. You are better off with an element picker and some heuristics to generate a selector / xpath query. Now there are some specialized models, I found a paper that takes the DOM tree and fits a vector to each node, but I think they are too much effort for little gain, unless someone integrates them into an open source scraping library so they are easy to use.

comment 2y ago · link · parent

I follow the science, 2-3 cups of coffee a day is what was found to reduce mortality so that's what I drink. The amount of caffeine in a cup of coffee actually varies significantly, 70-140 mg, but at least 3 cups is most likely still below the FDA's recommended maximum of 400mg.

And I get headaches in the morning sometimes, coffee + aspirin has been very helpful.

comment 2y ago · link · parent

I have seen people with tripods in the gym. Filming the exercise and doing video analysis is probably the way to go - for example it can track bench press, like the other comment mentioned. The author here mentions that there are "plenty of apps on the App Store" that do that. But the tripod itself is an investment that I am not sure everyone will make.

comment 2y ago · link · parent

I guess it could be possible on Android, but currently it is not https://stackoverflow.com/questions/75125772/is-it-possible-...

comment 2y ago · link · parent

They do draw that conclusion - "the lowest point estimate for all cause mortality was approximately 2000 MET min". What their analysis did not identify is what level of exercise beyond that results in a significant increase in mortality risk. If you look at the individual studies that have categories above 2200, (Slattery 1989, Arraiz 1992, Besson 2008, Kvaavik 2010, Paganini-Hill 2011, Brown 2012, Arem 2015, Huerta 2016, Klenk 2016, Celis-Morales 2017, Lear 2017, Zhou 2017, and Liu 2018), there is some variation - almost every study shows a U-shape, but the lowest point differs by gender, age, measurement method, BMI, and so on. And the effects of too much exercise are small compared to the effects of too little, so it is not surprising that their basic univariate analysis with Stata glst is unable to resolve it. But given the number of U-shape studies I think it is reasonable to conclude that some amount is too much - in the absence of reliable statistics I would say to trust one's body and if it feels like you are pushing yourself hard every week then cut back.

comment 2y ago · link · parent

Right. I think that statement is based on Supplement eTable 5, where they analyzed numbers up to 6,000 MET-minutes/week.

Using confidence intervals in this case is a bit misleading though. What would be most useful IMO would be the prediction interval for the lowest point estimate, as that could be used to determine if individual activity amounts are appropriate.

comment 2y ago · link · parent

I'm not sure what math you're using. 12.9 MET for running * 3 hours * 60 minutes/hour is 2322 MET-minutes, so just 3 hours of running is sufficient to exceed the 2200 threshold. 36 hours of running would be 27864 MET-minutes, of course it is too much. But 3 hours of running in a week is quite easy to exceed, e.g. if you run half an hour every morning.

There are some studies which suggest that the artery buildup from frequent running is not bad, but these don't take cancer or other factors into account - in contrast all-cause mortality is one of the most comprehensive statistics available. The drawback is that although it gives you a number, that number might be affected by unknown variables.

comment 2y ago · link · parent

The relationship isn't linear, you can see in https://bjsm.bmj.com/content/54/20/1195#sec-16 that above 2200 MET-minutes/week there is increased cancer risk which outweighs the cardiovascular benefits. Now admittedly it is a very weak correlation, and MET measurement is imprecise, but I think it is safe to say that there are risks associated with over-exercising and while being in shape is good, being a ultra-marathon runner or other extreme fitness enthusiast is unhealthy long-term, and the risks start sooner than you might expect. (2200 MET-minutes/week is about 3 hours of 8mph running per week)

comment 2y ago · link · parent

> (source code not available yet because i am bad at GitHub)

Lost forever I guess. Certainly it's not at https://git.mcmillen.dev/explore/repos

comment 2y ago · link · parent

Wait until it is out of copyright and then import it wholesale into Wikipedia. But honestly Wikipedia already has most of the content.

comment 2y ago · link · parent

Well, there is that proof that stratified comprehension works, https://randall-holmes.github.io/head.pdf#page=41, based on encoding x^(n-1) ∈ y^n as ({x}^n,y^n) ∈ [∈], where the existence of [∈] = { ({x}, y) | x ∈ y } (or its containing relation [⊆]) is an axiom. I don't see why you can't similarly encode x ∈ y as ({{x}},y) ∈ [∈2] where [∈2] = {({{x}},y) | x ∈ y }. From what I can tell, the existence of [∈2] is required by relative product, [∈2] = {(x'', y) | for some x', x'' [∈] x' and x' [∈] y }. Similarly [∈n] exist for all n>0. Then an occurrence of x ∈ y in which x has type n − k and y has type n can be replaced by ι^(N−(n-k))(x) [∈k]^ι^(N−n) ι^(N−n)(y) and the formula can be stratified. So it should just be equivalent to normal NF.

comment 2y ago · link · parent

While you're around, I have a question: In TST, the restriction for x^m in y^n is that n = m+1, i.e. the level must increment by 1. In TTT, the restriction is instead that m < n, there is no requirement that it only be 1. Now, in NF, the restriction for set membership in stratified formulas is also +1. Is it possible to relax this to a "Tangled NF" where the set membership restriction is only that m < n? This would resolve issues such as how many levels it takes to construct an ordered pair.

comment 2y ago · link · parent

I was just editing the Wikipedia article, it should be more readable now: https://en.wikipedia.org/wiki/New_Foundations

I think the main thing is the existence of the universal set. For my use case, the type system of a programming language, such a universal set is very useful. There are various hacks used in existing systems like cumulative universes or type-in-type which are not as satisfying - instead, I can just check that the type signature is stratified and then forget about types having numerical levels.

comment 2y ago · link · parent

The CEO is human, so psychology applies to them. I don't think one can necessarily separate cost management and planning from the mind of the CEO. If the CEO decides to cut costs, then that CEO has a mindset that supports cutting costs. And such a mindset is not a growth mindset, as otherwise the CEO would instead be considering how to reallocate those dollars to expand the organization. And per your link, a fixed mindset is the opposite of a growth mindset. It is true that it mixes concepts from different fields, but to me each step seems clear - I think you would need more evidence to show that this chain of reasoning does not apply.

comment 2y ago · link · parent

There is a concept of growth mindset vs. fixed mindset. It is clear from the numbers that Wikipedia (as a corporation) is still growing. Cutting costs is something fixed mindset people do - it only makes sense to put effort towards that if you don't think you can grow anymore.

comment 2y ago · link · parent

I guess it makes them more like Apple, having a vertically integrated division for making phones. TFA says it might make other phone manufacturers struggle. Although I get the impression they are already struggling with the Open Handset Alliance terms from Google that they don't like. Maybe the best outcome is that AOSP gets multiple active forks supported by manufacturers, Google apps stop being distributed by default, and the phone software ecosystem gets more decentralized in general.

comment 2y ago · link · parent

I guess I was not clear - what I do in the bookmarks manager is go into a folder, and select and open them in groups of 20 or so, then delete them as bookmarks. So bookmarks are sort of like "tab cold storage" for me. So for me tagging them would be wasted work since they will eventually be deleted regardless. I also do use bookmarks for the awesomebar but it is mainly so they are prioritized in normal autocomplete.

comment 2y ago · link · parent

In some sense they are the same thing, they are all stored in the Places database in a relatively uniform schema. In another sense they aren't, history is erased after a few months whereas losing bookmarks or tabs would be very bad. Firefox Mobile has this "inactive tabs" feature which is OK but I would never turn on the option to auto-close tabs.

comment 2y ago · link · parent

I have tried add-ons, but for me, the native workflow of selecting tabs with ctrl, right click to bookmark them to a folder and then close them all, and then later opening them from the bookmark manager is good enough. They added multi-select around Firefox 63 and it has improved this workflow to be pretty enjoyable.

comment 2y ago · link · parent

No, the 8x22 (~140B) is more powerful than the 70B, it had higher eval score according to the blog. But 70B was based on LLama whereas the 8x22 and 7B were mixtral/mistral-based.
1
91011
45