Readit News logoReadit News
khasan222 commented on America’s incarceration rate is in decline   theatlantic.com/ideas/arc... · Posted by u/paulpauper
plantwallshoe · 2 months ago
Is it possible that incarceration had the intended effect? Did an entire generation grow up seeing their fathers and uncles locked up and decide that there must be a better way?
khasan222 · 2 months ago
I would argue that not having a male role model in your life is way worse than seeing the consequences enacted on another.

This even if their was a gain from watching others suffer, the lack of discipline, guidance, sternness, is way more detrimental than the positives of fearing the consequences

khasan222 commented on My AI skeptic friends are all nuts   fly.io/blog/youre-all-nut... · Posted by u/tabletcorry
progval · 3 months ago
Might, of course. And in my experience it's what happens most times I ask a LLM to do something I can't trivially do myself.
khasan222 · 3 months ago
I find this very very much depends on the model and instructions you give the llm. Also you can use other instructions to check the output and have it try again. Definitely with larger codebases it struggles but the power is there.

My favorite instruction is using component A as an example make component B

khasan222 commented on Show HN: Defuddle, an HTML-to-Markdown alternative to Readability   github.com/kepano/defuddl... · Posted by u/kepano
fabrice_d · 3 months ago
This seems to be https://github.com/mozilla/readability/pull/853#issuecomment... and I think their expectations are pretty reasonable.
khasan222 · 3 months ago
Meh, maybe I'm standing too close to the problem, Idk. It is always frustrating trying to use a tool, and it not work though. I know it's free and all, but then I feel like helping people make good contributions is paramount in maintaining and fixing bugs.

Clearly the comma thing is a bug, it's the lack of wanting to fix it actually that is a bit disheartening, and why I think it is a deadish repo

khasan222 commented on Show HN: Defuddle, an HTML-to-Markdown alternative to Readability   github.com/kepano/defuddl... · Posted by u/kepano
acrophobic · 3 months ago
Is Mozilla's Readability really abandoned? The latest release (v0.6.0) is just 2 months ago, and its maintainer (Gijs) is pretty active on responding issues.
khasan222 · 3 months ago
That codebase definitely leaves much to be desired, I’ve already had to fork it for work in order to fix some bugs.

1 such bug, find a foreign language with commas in between numbers instead of periods, like Dutch(I think), and a lot of prices on the page. It’ll think all the numbers are relevant text.

And of course I tried to open a pr and get it merged, but they require tests, and of course the tests don’t work on the page Im testing. It’s just very snafu imho

khasan222 commented on We're bringing Pebble back   repebble.com/... · Posted by u/erohead
primozk · 7 months ago
Which Garmin to you have? This isn't my experience. And you have option to buy Garmin watches with actual buttons, I agree the touch-screen only are useless.
khasan222 · 7 months ago
Im not OP, but this sounds like the garmin instinct.
khasan222 commented on Show HN: Web Development with Htmx, Type-Guided Components, Pure Python   getludic.dev/docs/... · Posted by u/paveldedik
underdeserver · a year ago
On a reasonably fast connection, I hit the increment button and it took almost two seconds for the counter to increment. Is it immediate for everyone?
khasan222 · a year ago
This is to me a non starter. Why does the server care what that im incrementing the local data? None of that is likely important until I am done.

This is just one more layer on top, and one more possible point of failure/frustration, as illustrated by this parent comment.

khasan222 commented on jQuery v4.0 Beta   blog.jquery.com/2024/02/0... · Posted by u/joshmanders
ecshafer · 2 years ago
Also, jQuery is awesome.

People have been in love with the overly complex and fancy javascript frameworks for the last 15 years or so. But jQuery doing dynamic binding to dynamically generated forms for some error states and maybe an ajax calls is literally all the javascript you need in 99% of web pages and the rest is overkill.

The industry is going to move away from the complexities to React and towards more of this simplicity with htmx, phoenix live view, ruby on rails turbo, and yes just jQuery.

khasan222 · 2 years ago
I’ve been writing JavaScript for 15 years professionally, and I must say this comment seems to be made by someone not as familiar with the context here. Moving away from React and frameworks like it would require a radical rethinking of what we expect to do with web apps. Building something like google maps, google docs, figma, are definitely doable with some of these tools, but it is almost impossible to maintain. This comment truly ignore the context of why frameworks like react took off. Jquery is great if you need a slideshow on a page, and maybe just some tracking, and even then, I’ve recently opted to just use vanilla js, with things like webpack build targeting whatever versions I would need. JavaScript programming is complex because making great ux can be a non trivial task.

Please excuse any typos, written on the phone

khasan222 commented on Tell HN: GitHub no longer readable without JavaScript    · Posted by u/leminimal
epolanski · 2 years ago
> This seems terrible when serving HTML is a much better experience for most users.

Tracking.

Pure HTML doesn't allow much tracking.

Our sector convinced c-suite that we need all kind of data, and now they want it.

khasan222 · 2 years ago
It doesn’t? I’m confused I mean no one used pure HTML anymore everyone has at least some JavaScript GA is a JavaScript file that can be used to track people pretty reliably. Pure html nowadays is paradoxically harder to maintain though.
khasan222 commented on Supreme Court strikes down affirmative action in college admissions   latimes.com/politics/stor... · Posted by u/rbrown
lotsofpulp · 2 years ago
> You've got to try to make things right.

The issue is this has nothing to do with the goal of educating someone in a certain subject based on their academic proficiencies.

Go ahead and give poor people money, but no reason to make other processes and institutions less meritocratic. I know legacy/bribed via donation admissions exist, and those are obviously also a problem too.

khasan222 · 2 years ago
What I believe they’re trying to say is that it already has not been a meritocracy, and because of human nature that stain will always be there somewhat at least this is a attempted washing of the stain

u/khasan222

KarmaCake day45October 19, 2016
About
JavaScript guy, loves fixing problems via software.

GitHub: panda01

View Original