Better HN
topnewbestaskshowjobs
Log inSign up

binary132

1,655 karma · joined Mar 24, 2014 (12y ago) · 1,715 submissions

Submissions

comment 2y ago · link · parent

I recently was diagnosed with sleep apnea (am in my late 30s), and once I got used to wearing a mask (nasal pillows with Ayr gel to improve the seal work best for me) the quality of life improvement was enormous.

comment 2y ago · link · parent

Interesting, thank you for that information! But if it's not primarily cold-related, I wonder why I don't experience it as intensely when it's warmer? I guess because of the dryness of cold air? But then, wouldn't cold air absorb less moisture?

comment 2y ago · link · parent

Sometimes I feel like people don’t have real opinions any more, just carefully engineered, flexible / shifty, safe, ingroup-signaling, one-uppy, cloutchasing hot takes and meme positions.

comment 2y ago · link · parent

I tend to get exercise-induced asthma when I run if it’s near or below freezing. I wonder which of these would be suitable for that.

comment 2y ago · link · parent

It really seemed like one made eye contact with me once. It was clearly staring right at me. I'm always saying they're intelligent!

comment 2y ago · link · parent

The purpose of servo (and therefore the purpose of Rust) is to drive the development of Rust's LSP, obviously

comment 2y ago · link · parent

Mom found the medieval orgone accumulator

comment 2y ago · link · parent

UB is an example of IFNDR right?

Are you saying it’s impossible for the compiler to identify and warn on UB? That doesn’t sound right.

comment 2y ago · link · parent

“If some people shouldn’t go to space nobody should go to space” is not a compelling argument against people going to space, sorry.

comment 2y ago · link · parent

Sometimes I forget that so much of this stuff is so inaccessible. Capitalist apologetics are really drilled into us (at least in the US) since day 1. I guess I'll just leave this here and move on:

http://www.vatican.va/content/leo-xiii/en/encyclicals/docume...

comment 2y ago · link · parent

"How could a business succeed without trapping its customers?"

comment 2y ago · link · parent

It would be nice if everyone's compiler would tell their users what crazy thing they did wrong, it's just not required in order to implement C++ at all. That seems reasonable to me. Enhancing a failure-mode UX for an abstract machine interface is not really the same thing as implementing that interface. Maybe it would be nicer if the standard didn't have any possible UB in it.

comment 2y ago · link · parent

Well no, users of C++ compilers are using an abstract, encapsulated, and portable interface to it, which makes their code automatically follow the standard (if it cares at all). That's the whole point, isn't it? I don't need to know what size the standard dictates const char* must be, I can just use it and it works.

comment 2y ago · link · parent

This is neat, but a) it strikes me that what's powerful about shell scripting is that it lets you easily wrangle multiple independent utilities that don't need to be contained within the shell stdlib (maybe I'm missing something but I didn't see any emphasis on that), and b) that embedding a language as a string inside another language is very rarely a good UX. I like that it's a really portable shell though. Shell portability is actually a pretty big problem.

comment 2y ago · link · parent

Lisp was and still is extremely influential.

I didn't say anything about soft skills either. Leadership can be highly technical.

comment 2y ago · link · parent

I didn't say anything about inspiring anyone

comment 2y ago · link · parent

The point is that Carmack's work was extremely influential. That wouldn't have been true if he wasn't technically great, but technically great work can fail to have any influence whatsoever. Which is greater?

comment 2y ago · link · parent

The race detector needs to actually encounter a race in order to detect it, it's not a complete static analysis.

comment 2y ago · link · parent

Maybe it depends on how you quantify greatness. I think that if you're really good at writing a fast matrix kernel, that's lovely, but if you're really good at making a matrix kernel which is very useful to lots of people, or even just to your team or company, _that's_ great.

comment 2y ago · link · parent

and why have you heard of them?

comment 2y ago · link · parent

To be a bit pedantic, the people using the C++ standard are mostly compiler engineers.

comment 2y ago · link · parent

I have a hard time justifying faith in and donation to Zig when I don’t see reaching production quality as having a high priority for the project over the years. I am hopeful that will eventually change and it will some day even be able to compete with C, C++, and Rust.

comment 2y ago · link · parent

IMO what makes a great programmer is leverage and leadership. It doesn't really matter if you're a rockstar "10x" etc., what matters is how your work empowers others. Nobody is programming in a vacuum.

In order to become great at that, you have to make enough mistakes that affect other people until you understand what helps and what hinders them. You have to realize that your code isn't just implementation but is human-oriented communication, and tools are part of the puzzle.

The more your work hinders others, and the more you are forced to deal with the consequences of it, the more you will learn what helps and facilitates others.

You can also learn some of this by using and suffering from other people's bad work, as long as you don't allow it to make you complacent.

Finally, you need to have humility. Nobody who thinks they're great is going to be truly great. You need to recognize how you suck and how to suck less. "Take the log out of your own eye so that you can see clearly to take the speck of dust out of your brother's eye."

comment 2y ago · link · parent

Perhaps if an issue were opened describing the necessary steps to provide a fluent and stable C API, staying consistent with the uniffi approach you're using for the other wrappers, then someone enterprising could pick up the ball and run with it. :)

comment 2y ago · link · parent

Slight detail: there only needs to be one instance of the vtable per class, and objects of that type only need to contain a pointer to it.

comment 2y ago · link · parent

How terribly sad and also very moving. Hope (is this Hope? it seems that way to me) is a powerful and beautiful virtue.

comment 2y ago · link · parent

I am finding myself questioning the choice of a name that also means “toilet” or “outhouse”, but hey, you do you.

comment 2y ago · link · parent

Ah, I see. Hm. I might be interested in a C API since that could be used in C, C++, and Lua equally well. I really was just wondering what the common implementation between the bindings was since it struck me as unusual that there would be a number of bindings but not C (which is AIUI the only interface besides Rust that Rust can really export.)

comment 2y ago · link · parent

Interesting — does the Rust crate export a C API then?

comment 2y ago · link · parent

FWIW, HTTP allows subprotocol / backwards-compatible negotiation. Perhaps that could be similar to how implementations of this might need to cooperate.
1
515253
58