Better HN
topnewbestaskshowjobs
Log inSign up

DrJosiah

604 karma · joined Jun 26, 2010 (16y ago) · 288 submissions

Submissions

comment 1y ago · link · parent

Not when this can be done: https://gist.github.com/josiahcarlson/39ed816e80108093d585df...

Take a deep breath.

comment 1y ago · link · parent

I mean, Python is dynamic. Here, have this: https://gist.github.com/josiahcarlson/39ed816e80108093d585df...

Now you don't need to write your double-underscore methods ever again, if you don't want to.

comment 1y ago · link · parent

I mean, it's never been a problem for me in my 26 years of Python, but if it is such a big deal for you, maybe you should consider this: https://gist.github.com/josiahcarlson/39ed816e80108093d585df...

I wrote it in about an hour and a half. It seems to work in Python 3.6 and 3.12. Now you never need to write another double-underscore magic method again.

comment 3y ago · link · parent

It might have been a typo, as the current llama.cpp / alpaca.cpp included quantizers default to 4 bits.

comment 3y ago · link · parent

And only when Carter is in hospice.

comment 4y ago · link · parent

Used to work for hCaptcha.com, my thoughts:

hCaptcha.com has a "privacy pass", where if you create a user at hCaptcha.com, you can get passes to bypass the captcha itself (because you've already verified through other methods). This is not often used, because guess what? Not many people were bothered by captchas enough to create a user, because no one wants to create another user and be tracked (via privacy pass, across captcha-protected sites) through their user. This was mostly used by disabled users who couldn't pass hCaptcha's offerings.

Personally, I'm not interested in "logging in" or passing my "realness" via API from my device(s), as that's just another token to track an individual and their behaviors. Which is also why I haven't created any user for privacy pass myself, and would generally recommend that you not do so in any Apple, Google, etc., related system (not even hCaptcha, unless you're disabled and can't do the captcha itself).

I don't know what hCaptcha is doing nowadays.

But unless you're disabled, I wouldn't sign up or agree to pass this information from Apple, Google, etc.

comment 6y ago · link · parent

When I was writing some assembly last summer, I found:

https://software.intel.com/sites/landingpage/IntrinsicsGuide...

http://ref.x86asm.net/

I don't have AMD, so didn't need to look up AMD specific stuff. Would be amazing if AMD had something like Intel's interactive Intrinsics Guide.

comment 6y ago · link · parent

> Are there not "ML techniques" for visual captchas too?

There are.

> how long do you think that is going to last?

I don't know. So far it hasn't been difficult to recognize the garbage traffic when we take the time to look. And attackers always make it easier by releasing github source and / or announcing their results on Twitter.

comment 6y ago · link · parent

I run android. Other devs run Android and recent iPhones. Someone may have an iPhone 6S to test and fix on, I'll check.

In the future, if you've got a bug that's preventing you from doing your thing, we have bug reporting instructions: https://www.hcaptcha.com/reporting-bugs

ETA: two different people have tested on Chrome and Safari on iPhone 6S locally, and can't reproduce. Please take a screenshot and provide more information to: https://www.hcaptcha.com/reporting-bugs if you want to get this fixed.

comment 6y ago · link · parent

Here it is: https://news.ycombinator.com/item?id=23903405

comment 6y ago · link · parent

Hi! I work at hCaptcha (we handle the CF captchas), and to respond specifically: audio is inaccessible for those with visual and auditory processing issues, as well as being broken by ML techniques. Not to project, but we suspect this is why Google turns it off if your browser looks at all suspicious.

Another user mentioned the Privacy Pass solution: https://news.ycombinator.com/item?id=23902870

While Privacy Pass is not perfect, we are working towards getting better. I'm not in the product flow for accessibility, but if you have ideas outside of audio that you believe would be able to distinguish between yourself and a robot, I'd be happy to discuss via email to ensure that we can get a solution for you and anyone who can reasonably interact with a computer.

eta: you can email me directly at work via: josiah@intuitionmachines.com

eta2: http://hcaptcha.com/accessibility

comment 6y ago · link · parent

I work at hCaptcha, we run CF's captcha. If you're having problems in the future, popping open a debugger and capturing the results can help us figure out what's going on. But also: browser, OS, site, ...?

Right now: there is an issue with Safari users on the most recent iOS and OS X, where 3rd party cookies have now been disabled by default. We're working on a solution.

If that's your issue, you can fix on your side in the short-term by not using Safari, or by enabling 3rd party cookies.

comment 6y ago · link · parent

If anyone doesn't think the AG is serious, read the document request / questions at the end. Someone on the tech side is giving advice :)

comment 6y ago · link · parent

My money is on it to disable support for sha1 in old products; maybe a bigger break than the prefix attack currently known.

comment 6y ago · link · parent

> What happens when people refuse

So give them that chance to say no. Right now, you're advocating for paying $81k/year (average for CA prisons) to keep people in prison, instead of trying to fix the underlying causes. Estimates put the number of homeless people in California at roughly 120k+, including families, children, etc.

So if we solve the problem as you are proposing, by putting them in prison right now, that's $9.7 billion / year. It would more than double the current California prison population, from current 115k people, to 235k+, and we'd need new child prisons, because a lot of those homeless folks are families with children.

Putting "vagrants" and other "homeless" people in prison is stupidly expensive, pointlessly punitive, and doesn't solve the underlying economic or social problems. It doesn't stop people from being poor, it just makes being poor suck worse than it already does. All you've done is put a bunch of vulnerable people in prison.

comment 6y ago · link · parent

> When someone commits a crime, we call him a criminal and remove him from society for a while.

Wow. I've received 3 speeding tickets, and 2 right on red tickets in my life. I committed a crime. I paid fines. I was not removed from society.

That is the case with a huge number of crimes, today, otherwise we would have an even worse prison problem.

> I see no reason to abandon this tradition now.

We've already abandoned it, and we are reducing the sizes of prisons as you prattle on about the problems of vagrancy.

Let's get mental health care facilities, rehab, and more, to the levels that existed before Republicans gutted them starting in the 50's. I don't know, like institute new-deal type things so people aren't wanting for basic needs, and maybe vagrancy will go away.

Well, it did the last time we did that.

Why wouldn't we do the exact same thing that worked last time?

comment 6y ago · link · parent

> Vagrants are aren't "the most vulnerable people in society'. They're criminals.

That's a pretty loaded statement presented without evidence.

comment 6y ago · link · parent

Okay. Fuck China. Fuck Chinese IP Theft.

Ban me.

comment 7y ago · link · parent

Awesome design, makes me want to put one together just to see it work. :)

One concern: I saw some designs with the rotor outside the stator, physically mounted to a wheel. I'm not a mechanical engineer, but as a guy who considers himself not quite dumb enough to fail at everything...

I hope they build those motors tough. Typical electric motor mounts create a situation where the only real stresses on the motor are rotational, along the axis of rotation, or in the case of a pulley / gear-mount setup, you are usually limited to 1-2 additional push/pull axis. But on a wheel? That wheel is going to want to rotate and move on all axis, which now needs to be supported by a motor, which also includes permanent electric magnets.

Awesome lighter motor, awesome that we can sandwich the rotor between stators (more layers more torque!).

comment 7y ago · link · parent

You are fighting the good fight, I kept trying and failing. Thank you.

http://code.activestate.com/recipes/440554-module-to-allow-a... https://www.python.org/dev/peps/pep-3145/

comment 7y ago · link · parent

They used some sort of wall to reflect off of. I'm sure that when they moved / removed the wall to take the regular picture, it wasn't in the same alignment.

comment 7y ago · link · parent

> punch down

You say this is easy. Seems to me that you're claiming to be elevated above us all with something we don't know, claiming that everyone else is doing it wrong, all the while hiding behind anonymity.

Stop clutching your pearls and faking the victim. No one is punching down; you're claiming knowledge you don't have and are being called out for it.

Look at any one of the references cited in the thread.

comment 7y ago · link · parent

This thread hurts so bad.

I never used helm / kubernetes before 3 months ago.

Not 2 weeks ago I needed to loop in a helm config file in order to basically say "all this same config, libraries, etc., just run this other command instead" ... because someone who makes those decisions had ~100 lines of environment-injected configuration + boilerplate in the yaml that I couldn't get rid of, needed, and would have otherwise needed to copy / paste.

Since then, those environment variables have been pulled out into a different file (refactoring!), and now we replaced a loop over 100 lines of config, with 2x sets of 15-20 lines of config boilerplate. Better, but still a lot of bull. I don't know what the right answer is, because we've got less helm templating bullshit in there, but we still need boilerplate. Because it's not like I can tear down an entire kubernetes + helm infrastructure because I don't like how the config files are written.

Configs / config generation is hard, and generally awful. If you don't see it that way, congratulations; you're either a genius in your field, you've got not enough experience, and/or you're wrong. If you believe it's easy, and we're all missing something - please, by all means, write a book on how / why configurations aren't as hard as the rest of us say they are.

Best of luck to you.

comment 7y ago · link · parent

It kills specifically. The immune therapies are turning your (or someone else's) body's T cells into murder machines, tuned specifically for a target. And because it is so good at its job, cleaning out the biological waste from destroying cancer is difficult, so trips to the ICU are not uncommon.

Chemo kills everything in your body, just the cancer a little bit more. You do the chemo, wait a few weeks, then do chemo again, wait a few weeks, maybe get a scan, do chemo again, wait a few weeks, ..., maybe in 6 months if your treatments are going well you keep going, maybe they switch you to something else, maybe this round is done and you take a break for a while. You wait because if you don't, the poison kills all of you, not just the cancer.

comment 7y ago · link · parent

(note, I'm not the right type of doctor to answer this properly, but my understanding is...)

A lot of chemos are some type of poison, only slightly worse for the tumor than it is for the rest of your body. It doesn't die fast enough (and if it did, you'd be killing the rest of you too). Think months / years with chemo vs. weeks with CAR-T.

comment 7y ago · link · parent

Here's the best reason not to involve yourself: it gives Facebook more power. Haven't we seen how Facebook uses that power? Yeah? So maybe we don't get on board with what Facebook wants.
12345
10