Hacker Newsnew | past | comments | ask | show | jobs | submit | voat's commentslogin

So are people?


That's why we have code reviewing. If you review your AI generated code, understand it, and completely agree with it, that's fine of course. But the message of this article is that you still can't blindly rely on AI for even such simple tasks.


The difference might be people are actually held accountable for the results.


And, in most cases, they tend to learn from their mistakes.


Why is that better if in aggregate, the people who can be held accountable are worse anyway?

We are killing thousands on the road to be sure we can blame a driver instead of a computer as one example.


In the self driving case people are still held accountable. Now it’s the model developers and car manufacturers instead of drivers.


Yes, we also clearly see and upwards pressure on people.


People are way more reliable.


I tried to use helix as a vim user, but couldn't get used to the key binds. However I recently found evil-helix, and it's a joy. https://github.com/usagi-flow/evil-helix


+1 for evil helix, however the default keys are not 100% compatible with vim needing some more tweaking with the settings.

For example C is not change line as expected but multi line edit mode (something not very useful with vim keybind) ...

But even with these quirks it's close enough to be usable and enjoy all the goodies of helix.


From the README:

> Scheme/Lisp should not be forced onto the user. It's error-prone and harder to read by humans, compared to Rust/TOML/Lua/...

I get the argument of preferring TOML over a Turing-complete language for configuration, but to claim that Rust is easier to read than Scheme, or that Lua is less error-prone, is... interesting, to say the least.

I saw similar comments in the linked issue that tracks the proposal. I think people object more to functional programming and S-expressions than to Scheme itself, which is a shame. There's a lot to be gained and learned from Lisps once you get over that initial reaction.


I think it's still missing basic motions such as ciw.


The algebraic effect handler pattern is a much simpler mental model than monads. And is transferrable to other languages pretty easily. See something like https://github.com/doeixd/effectively in Typescript


I use effects to make guarantees about what the code will and won't do.

When Option was retrofitted onto Java, the NPEs didn't disappear. We got Options that could be null, but more importantly, devs (and the standard library) continued to use null liberally. We never ended up at the tautological goal of "if I have a Person, then I have a Person".

I am equally skeptical of bolting on effect systems after the fact. Even if one of these effect systems becomes 'the main one' and starts showing up in standard libraries, we'll still end up with declared-effectful code and undeclared-effectful code, but will again fall short of the goal, declared-effectful code.


Doing something a bit vs almost completely can have a significant difference in practice - having a way to maybe avoid nulls doesn't solve the million dollar problem, but making non-nullability the default arguably has (see Rust, Kotlin, etc).

An even better example would be Rust's memory safety. Sure, there is still unsafe, but it being used very sparingly has reached its goal.

So I think a new language where 'pure' is the default (with a few, locally scoped escape hatches), and effects are "mandatory" would actually be pretty effective at reaching its stated goals.


I agree, this seems like something where it really needs to be natively supported in the language from day one to work properly.


The impact of Effects are a bit less pervasive than null wouldn’t you say ? Effects can be used with code “in between” that knows nothing about effects. Performing and handling effects can be quite transparently


1. The effect data type admits an instance of monad, like arrays or option or result. Not sure why would you put those in competition, an effect is a supercharged ReaderResult. The only differences are in naming choices, traverse being called foreach, flat map being called "and then", etc.

2. There is a much more popular and robust implementation of effects for Typescript: https://effect.website/


> The only differences are in naming choices

Naming choices matter, as does syntax.


The ability to output JSX between native control flow is the real cool part here's, imo. Besides that it looks kinda like Rezact.


We've come full circle and reinvented PHP


And even if they don't contain a hyphen! You can just <use> <anything> <you> <want>


The soft-requirement for hyphens is a form of namespacing: nothing precludes whatwg from adding <use> or <want> elements to HTML in the future, and that would conflict with and possibly break your page.


To prove your point, <use> already exists although in SVG. https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/E...


Is there a typescript alternative?



Paring this with Fil-C would give it a garbage collector for free?


I think your math on the percentage is inverted. If you immediately die it says you're in the top 99%


Nope! “Top K” means you’re on the high score list of size K.

Only the best players are in the “top 1%” for example. Being in the top 50 is more prestigious than the top 300,000.


Maybe if you do worse than half the people, it should invert to say the bottom 30% or the bottom 1%. Makes it clearer that you did "badly".


I think the current way is fine but showing position on the bell curve would help for those who struggle with interpretation


Maybe not a drug. But if the improvements in health come from bio chemical signals, it should be possible to activate those signals without engaging in exercise. Eventually?


Strictly speaking, any intervention other than exercise is going to give you a subset of the total stimulation. A drug acting on the tissues directly would bypass the neurological component, for example.

If the idea is to avoid the effort of exercise, perhaps it would be worth considering the possibility that the effort itself is essential.


not entirely true. you can have drugs that directly act on the respective receptors, either inhibit or excite them.


If we were good enough to have drugs that could work with that precision we’d eliminate an enormous category of things. The side effects are usually the scary things. We have drugs that can cure the symptoms of depression and anxiety - they just so happen to be insanely addictive, cause respiratory depression, loss of coordination, and you quickly build a tolerance to them.


It would take a lot of different drugs to simulate what exercise does.

- Impact and stress strengthening the muscles, bones and tendons / ligaments

- energy use that leads to better sleep

- increased blood flow, development of new capillaries, stretching of blood vessels

- if you exercise outside, exposure to sunlight

- the release of all the associated neurochemicals

I have a suspicion that anything designed to mimic exercise would hurt as much as the actual thing given that so many of the benefits of exercise involve damaging bone and tissue then repairing it


Steroids. You will be growing muscle while sitting on a couch, even better than someone that naturally trains. However, you very likely will develop asymetries or other weird complications because you didnt properly work out.

My point is that, even though we might find even more ways to improve/modify our bodies, they will come with slew of risks that are just not worth it if you can achieve it naturally.

On another note, I feel like there is severe muscle inflation in media which would distort how fit a person should be. You really do not need to kill yourself in the gym or hop on a some reddit-approved juices to get very fit. Just gotta experiment and find a comfortable full body workout that you can do consistently, like you brush your teeth every day.


You get plenty of asymmetries working out too, it's natural. Don't think just weight lifting, think of: tennis, boxing, baseball


Actually, that's not how steroids work. It's a common misconception that one can take "roids" and just sit on the sofa while munching on potato chips and get shredded and pack on muscle but in reality what the steroids do are to move ones natural limitations further away thus enabling larger muscle mass than naturally. But this still requires one to put in the work, i.e. the stimulus to trigger the muscle growth and to rest and eat properly.


They do work that way. Lots of studies show gains in muscle mass even with no excercise when people are on steroids. Consider average men who never excercise vs average women who never excercise. The men will have more muscle. That's what testosterone does, among other things.

That's part of why steroids were and sometimes still are used medically for people with cancer and other wasting diseases. It makes them eat more (they're usually strongly appetite inducing) but they also just help develop muscles even if sedentary.

(Of course it would be far more effective to also engage in high intensity resistance training.)


One completely random study result[0] supporting that couch + testosterone leads to bigger muscles. Maybe it is some puritanical thing, but not sure why this myth persists. Exercise + juice results in even bigger gains, but it is possible to increase muscle mass without hard work.

  ...The men in the testosterone groups had significant increases in the cross-sectional areas of the triceps and the quadriceps (Table 4); the group assigned to testosterone without exercise had a significantly greater increase in the cross-sectional area of the quadriceps than the placebo-alone group
[0] https://www.nejm.org/doi/full/10.1056/NEJM199607043350101


Steroids are usually given to reduce inflammation and as immunosuppressants to stop the body from fighting back against whatever treatment is being given. The main method of weight gain with prednisone (the most common steroid) is water retention. Anabolic steroids are not commonly prescribed to cancer patients.

Cortico steroids usually result in muscle mass loss.


That's not how steroids work. Muscles need stimulus to grow even with steroids. What steroids do is make your body recover faster so you can train more often and build muscle right away.


Yes we could also in potentially in the future manage to block pain signals when we stick our hand on hot stoves and that should be super!


The article has an opinion on this

> When I asked Ashley if it was possible to design a drug that mimicked the observed effects of exercise, he was emphatic that, no, this was not possible.


sooner than later glp + myostatin inhibitors seems to be a big winner.

https://diabetesjournals.org/diabetes/article/72/Supplement_...


yes and no. A couple thousand myokines at work here.

Even lactate, formerly regarded as simply a waste product, is one.

But sure, a cocktail may be possible at some point, beyond getting a blood transfusion from someone fitter and maybe younger.


This is so bleak. Go for a walk.


Time is short, I’ll take the walk and lift the weights but if I can get the results faster using biological engineering, I’m willing to spend and accept greater risk to make it happen (both for metabolic profile management a la GLP-1RAs and muscle growth). There is no extra credit for making life harder than it has to be, and we’re all dead eventually.


Why? My best friend uses a wheelchair and has dexterity issues in his hands due to a stroke.

Exercise for him is (a) expensive and (b) really really really painful.

If he could take a pill that simulated this it would be amazing for his life.


I was struck this past week to the extent that even a mild physical impairment can cause. I overdid it last week on a run and I spent this week nursing a swollen knee. What kind of exercise to do without involving my knee? I lift weights sometimes, but I can’t do that every day, and it also does not give me the mood altering effect that a good run does. I was drawing a blank glumly in an armchair when my wife suggested swimming at the local pool with pull buoys (so that I can keep my knee immobilized).

After a few experiments that felt more like drowning than swimming I finally got the hang of it. But it left me seriously worried about exercise in my future. After all, joint problems are likely going to happen again in my future. And I started to wonder: how do disabled folks do this? It must be incredibly difficult (and expensive!). I really am incredibly lucky across multiple fronts to have the life that I have.


Cycling is really good as it doesn't strain joints, merely gently lubricates it. I broke my knee and was put on the bike real quick, as soon as I had enough mobility to make a full round, for rehabilitation.


Yup, +1 for cycling! For me, it's some ankle cartridge destruction from an old fracture that finally put a halt to my formerly extensive trail & XC running & recreational racing. But cycling is coming back to the core of my exercise program (Mountain/trails: really miss road biking but traffic & drivers' attitudes seem to hazardous now). And not expensive either - plenty of bikes on Craigslist good enough to not give you bad habits and still get good exercise, even decade+ old race bikes.

It is really all about working with what capabilities you still have, and maximizing those. Even that may provide enough healing & fitness to get back to a bit of previously constrained activities.


I really feel for people who have never experienced a good trail ride. It’s possibly one of the most exhilarating things I’ve ever experienced. Even an ordinary trail ride puts a smile on my face.


Looks pretty fully featured.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: