Better HN
topnewbestaskshowjobs
Log inSign up

binary132

1,656 karma · joined Mar 24, 2014 (12y ago) · 1,717 submissions

Submissions

comment 2y ago · link · parent

I always thought Ada was super cool tbh

comment 2y ago · link · parent

there are definitely some total stinkers.

comment 2y ago · link · parent

Excuse my ignorance, but what is TFA?

I believe Reflection is being taken very seriously and will be included in standard 26.

comment 2y ago · link · parent

I don’t think the committee / proposals process is necessarily bad. It is a good way to develop a formal specification for a portable and highly complex language with many pitfalls and serious, industrial-level legacy compatibility requirements.

It might be better if it had a true BDFL, instead of a spiritual guide, and I do worry about the committee getting too far ahead of the industry and leaving it behind, plus what will happen when Stroustrup finally retires in earnest.

But yeah, now and then it does produce a turd, and there’s only so much turd-polishing you can really do.

I guess I’m just saying it’s a development model with pros and cons. The pros are necessary. The associated cons are inevitable.

comment 2y ago · link · parent

Reflection is awesome, it reminds me a lot of Zig’s comptime functionality.

comment 2y ago · link · parent

In my opinion discussions on performance theory are so subtle and can be so misleading that you really need to model and demonstrate e.g. reduced instruction count, memory reads, or other metrics in order to prove out your claims. Otherwise it’s nearly useless. The Go blog post about performance tuning versus C++ is a great model to follow.

The claim in this article is not 2x, it’s “50% of CPU was consumed by this loop, now it’s ~0%”

I’d love to see a series of improvements and how they impact the machine behavior / speedup....

comment 2y ago · link · parent

Silly kids, that’s what Emacs is for.

comment 2y ago · link · parent

OP is about a Python app that had a costly inner loop. This could perhaps be improved by switching to a JIT compiled implementation of Python like Pypy, but there are drawbacks and potential dealbreakers too.

comment 2y ago · link · parent

That’s weird, this article about performance didn’t begin with the design of the experiment and benchmark. In fact, unless I missed something, it was completely omitted. It must not be an article about performance at all, then.

comment 2y ago · link · parent

“You should increase the chances of death of your family because it might decrease someone else’s chance of death” is not a compelling argument that will work naturally on most people.

comment 2y ago · link · parent

the safety statistics are unavoidably obvious.

comment 2y ago · link · parent

Hi Li, appreciate your work. How do you feel the state of Scala is these days? I took the EPFL intro on Coursera years ago, but I was always disappointed by two things: the community feels very fragmented outside of IDEA (RIP ENSIME — oh, is it back now?), and it seems like Spark completely overwhelms the rest of the Scala ecosystem. I’ve mostly moved on these days but still think fondly of it from time to time.

comment 2y ago · link · parent

This is a nice article and everything, but any time I see someone trying to convince me that their magic lines pointing to some point in time that is a decade or more away are definitely going to mean Free Stuff for sure and that it’s a certainty, the signal they’re trying to send gets drowned out by the noise of my bullshit detector screeching.

comment 2y ago · link · parent

that leap of faith would be unreasonable :)

comment 2y ago · link · parent

I had a somewhat close friend who had a very sudden and dramatic psychotic break that he disclosed to me while it was happening. He believed that people in his family were conspiring to entrap him in a criminal conspiracy, and was in a panic. This progressed further over a few days until I was no longer able to continue to try to talk him through it. There were a number of details to his beliefs that made it absolutely clear it was not real. Unfortunately I was not able to get through to him to get help (as far as I know) and the people I tried to connect him with were very unhelpful.

The reason I’m sharing this is that I think people tend to believe that people are exclusively either “crazy” or “not crazy” as an ontological property of the person, but as many other anecdotes here show, it really can happen to people randomly. Some are able to get help and recover. Some aren’t.

While I definitely wish there was someone I could have called who could go give him real aid and assistance, I also know that this could have been a terrifying, trust-breaking ordeal and possibly could have even led to violence and imprisonment, or other serious consequences.

People like to talk about “public mental health resources” but unless you’re willing to sic what amounts to police armed with tranquilizers on people who very well may (reasonably?) not wish to be subdued against their will, it’s not really that simple.

Definitely a difficult and fraught subject. I don’t think the answer is to validate psychosis however.

comment 2y ago · link · parent

It’s not really a big leap from “everything came from something extremely highly ordered that preexisted everything” to “maybe that thing is or has a Mind”.

comment 2y ago · link · parent

My wife and I had a long few years towards the beginning that felt familiar while reading this, but eventually we both learned to prioritize peace and patience with one another over whatever nonsense seems so important at the moment. If it’s genuinely important, we are both generally now able to restrain ourselves and listen, or get some space while we calm down if it’s not. Not at all to gloat, only to say it is at least possible. I think the passage of some years also helped.

comment 2y ago · link · parent

Clearly content from back when Someone’s Funny Website existed. Those were the days.

comment 2y ago · link · parent

Same. It seems like one of those numbers that’s dreamed up just for the sake of splashy “science” journalism.

comment 2y ago · link · parent

Tongue in cheek. I’ve been using emacs with QWERTY coding fulltime for years. Hands doing fine. Just need good seating, monitor, keyswitch spring strength, and hand positioning. Cherry MX brown switches were exhausting.

comment 2y ago · link · parent

Signal handler integrations are underrated and great.

comment 2y ago · link · parent

I kind of like the feeling of typing on a QWERTY board with my fingers all over the place. Maybe it’s keeping my fingers strong and limber. What if I switched to Colemak and my fingers atrophied?!

comment 2y ago · link · parent

Was wondering that myself.

comment 2y ago · link · parent

This can even be as simple as not using multi-line error strings, or expanding variables in them.

comment 2y ago · link · parent

I wonder how many in the United States.

comment 2y ago · link · parent

the overlap is definitely significant but there are a handful who fall into only one camp or the other.

comment 2y ago · link · parent

naming things is so hard.

comment 2y ago · link · parent

Most people in the world can’t work high-income jobs or live in nice single-family houses in pleasant spacious places. It seems like the rubric you are proposing would ban people who are able to enjoy these privileges from thinking about how they can improve their own lifestyles. Regression to mean is not my objective for myself or my family. That said, I certainly believe we should do what we can to improve the lot for most people, but it is simply not realistic to imagine that the only valid ways of life are those which can scale to the whole global population.

The world’s a very big place with a hugely diverse set of possible “valid” lifestyles (and limited ability to influence their reality). So what’s the big deal with proposing that maybe for some people a return to the land or to subsistence is a legitimate option?

comment 2y ago · link · parent

maybe. but is it really FALSE?

anyway, the point of the resignation is not wanting to deal with all this, not necessarily taking a side, so I’m not even disagreeing with you. But obviously, it is a disagreeable atmosphere. I don’t find that debatable, even if that’s due to people feeling paranoid about a (nonexistent?) rust religious takeover.

I think we can all admit Rust definitely has its ideologues and cult acolytes.

comment 2y ago · link · parent

Have you considered trying to understand the perspectives of people in the C kernel dev camp? This seems awfully biased towards a hermeneutic of “C developer bad, Rust developer good”.
1
383940
58