skysight-inc/HackerNews huggingface dataset:
My init files are nearly 10k lines and I have >300 packages. I've never "declared .emacs bankruptcy." Emacs starts in 0.4-0.6 seconds (without the daemon) for me. One reason I initially switched to Emacs was because Vim was comparably slow as hell for what I was doing. That's no longer the case. Neovim and Vim are definitely faster than Emacs, but I almost never run into cases where it matters. Even on my crappy work laptop, the only time I ran into issues with Emacs is when dealing with log files that were gigabytes (in cases like that evil's :g and :s are just unusably slow).

> There's a lot of cargo culted config fragments like the ones you'll find in the article.

Besides changing the gc-cons-threshold (which is indeed a questionable fragment to blindly copy/paste), there were no other specific config fragments, only examples. People blindly paste config fragments for everything (e.g. set nocompatible in Vim).

> Why does every user have to constantly reinvent the same config to work around all of the issues in Emacs?

What is there to reinvent? It should take almost no extra configuration to properly defer package loading. Package loading is also not automatic. If you are explicitly loading every package you've installed during init, that's your fault. You shouldn't blindly copy things into your config. If you really don't want to handle configuration yourself, starter kits exist for a reason.

> In the article the author talks about how he's gone bankrupt three times with his config, maybe that's a sign that the problem isn't the author. If Emacs is that fragile, then its extensibility is really a moot point.

It is mostly a user problem. Emacs lets you do anything. It gives you enough rope to hang yourself with. I could write an unreadable and broken mess of a program in any programming language, but that doesn't say anything about whether a language is fundamentally flawed.

It's a double-edged sword. There's no such thing as bug-free software. And the more functionality, the more room for misconfiguration and bugs. Vim/neovim come nowhere close in terms of functionality. The correct word isn't "fragile." A better word would be "malleable." It's the editable editor. Emacs' malleability is at least part of the reason why it's able to stay relevant despite the fact that it has very few developers compared to Vim and other editors. Because Emacs is this way, it's potentially easier to do something dumb or install a bunch of useless, slow packages, but because Emacs is this way we also have Magit, org-mode, and a bunch of other killer packages that Vim has much worse versions of (or no equivalent of at all).

This means that if you only need a simple setup, Emacs is not that appealing, but my experience has been that I have no idea what I want until I know what is actually possible (e.g. I didn't grok magit until I read the entire manual and saw how greatly it would simplify my workflow).
Ken White (Popehat, a former prosecutor) and Josh Barro had a podcast for several years about the legal travails of the Trump administration, a theme of which might have been "you are never going to win a defense based on selective prosecution, just put it out of your mind."
> China's shutdown is a Black Swan.

How bad will this be?

Is China waiting to renegotiate tariffs?
There are no "Whites in tech blogs". Only certain races are allowed to do this. Point me to one? Post it on Hacker News and observe the reaction afterwards.
> They value you exactly as much as they're paying you, no more.

Define "they".

It is sometimes useful to think of an organization as one actor, but this simplification can break down. For example, a great developer may get noticed and recognized by her manager, but said manager may have a difficult time making the case to bump her pay due to organizational dynamics and policies.

My point: different parts of the organization may value you differently, each with different abilities to 'compensate' you, whether it be pay, benefits, project flexibility, work-life balance, skunk works, or the option to not be anywhere near Chris.

(No offense to people named Chris intended. Unless, well, you are that Chris.)
You've run into a person here who has confused "a blockchain would fix this" with "better systems, standards and openness would fix this, the exact implementation doesn't matter so much".

I ran into one last week talking about concert tickets. Apparently we could fix the problems of ticketmaster dominance by using a blockchain. When I proposed that an API+DB system would do the job just as well, and we have an authority in the picture already (the venue operator) so distributed trust was overkill, I was told "good luck getting ticketmaster to use your API system".

Because apparently the data-structure and trust model now dictate how the market works, and if we just chant "blockchain" loud enough, that'll magically fix monopoly issues. It's very weird thinking.

I mean, sure, if we force ticket issuing, or the land registry or whatever onto a public blockchain solution, that would address some of the issues. But the improvement comes from the forcing, not the specific tech...
Given he was already in a state of undress, it's completely unclear if he just turned over and the towel fell off. There is no indication of the "manner" in which it was done. And of course if he touched the woman and asked her to "do more" she's automatically going to assume all sorts of things, as would anyone.

She was subsequently upset that she didn't get more time on the jet after reporting the incident as well, which just sounds weird. Why would she want to get back on the jet at all...
Show HN: ChiselStrike serverless runtime for TypeScript with native data layer
I was just on the highway with a broken horn. Let me tell you, when someone is blissfully wandering into your lane, or otherwise driving recklessly, having a horn is an essential safety device to let other motorists know of your presence.

This is so obvious to even non motorists, that I doubt it's the first time you've heard it.

And horns are getting louder? That's the first I've heard of that. Even Google doesn't indicate that's a thing.

I think you're way off base on this one.
I believe Vangelis' brass sounds were played on a Yamaha CS80, although the OB-Xa is capable of similar sounds.
As is true for all traffic laws, they are going to “target” minorities as yet another excuse to over police.

https://www.nyclu.org/en/stop-and-frisk-data
If you aren't using Linux kernel TLS support already, try it. Obviously it won't help with AES-NI instructions, but it is not rare to see 5% saving by enabling it.

https://www.kernel.org/doc/html/latest/networking/tls.html
Trust your management skills and your people and you will be fine.
Fetch is fine but I'm not going to write document.querySelector every time I have to select some nodes, which happens quite often.
Which do you suppose is the bigger problem in food information: dishonest vegans—0.5% of the US population, btw—evangelizing or the lion’s share of the meat-eating public doesn’t like to hear and acknowledge that their favorite dishes are harmful to the planet? I suspect the latter is a more widespread issue…
I'm truly saddened by this. One of my favorite artists. Loved his work all around.
There was a period of time during which it was believed (maybe accurately) that you could make a viable CFAA case out of a ToS violation. But that was more or less put to rest by the DC Circuit (and I think the Ninth Circuit before that) a couple years back.
That’s overly doom laden. These things get a lot of column inches, but I don’t think any represent the end of days.

The pandemic for instant is ancient history in most parts of the world outside of California.
We are potentially quite close to the point where small modular reactors could be commercially viable. I can easily imagine $10-20bn, carefully spent, accelerating the process.

Imagine, for example, the military placing an order for a few SMRs from each of the credible startups in the space. The reactors themselves would surely be overpriced and of dubious value, but it might substantially accelerate development and production.

In a situation where energy supplies are limited, the availability of extra (carbon-free!) electricity could help considerably.
It's "Swartz".
The Firmware Supply-Chain Security Is Broken [pdf]
Fastly focused exclusively on enterprise accounts and ceded the "entry level" developer market entirely to Cloudflare. Full on snobbishly. In the short run that worked great as being best-in-class won big deals. In the long run that lost the mindshare fight and left 100M+/y in fat margin revenue off the table. And boy oh boy does it show in the market caps.

As they bet the future on wasm-at-the-edge saving them from the crushing downward pressure of bandwidth pricing, having a compelling product for the "entry level"* developer market will be crucial to getting the mind and marketshare needed to hit revenue targets (eventually, not this year).

Put simpler: fastly made itself overly exclusive and difficult to use, glitch is the polar opposite. Fastly's customer base is 45 year old vp's of infra/devops/sre, glitch's is 27 year old app/front-end dev/designers. There's more money in a deal with the former, there's more of the future in the latter.

* I want to be clear, with ~20 years exp when I sit down to figure out a vue front end to my latest flask thingy I'm entry-level af in js/front-end land. Lowering barriers to entry, much like handicap accessibility, is usually a win for everyone.
They are going to target offenders. Minorities happen to have higher rates of offense. These are not the same things.
By default it runs with "cluster-admin" privileges but you can "bring your own RBAC permissions for the agent", see https://docs.gitlab.com/ee/user/clusters/agent/install/index...
Yes. The formulation in the blog post is a bit messy, but possibly more general way to think about it is something like:

0. set y = 1. set x = 0.

1. How many possible choices are there _given what we've picked so far_? Call it N.

2. Pick one of them. Call it 'a'.

3. set x = x + a * y. set y = y * N.

4. Repeat steps 1-3 until the number of choices drops to be less than 2.

Decoding is the same thing in reverse. Start with x. mod it with the first N. that's the first choice. divide by N, mod with the number of remaining choices. that's the second choice. etc.

For the case of n choose k, we get the rule that we can't pick anything lower than what has been picked so far. This means that first choice is one of (n-k+1) items. (We can't pick higher than that as we'd run out of choices before we reached k).

With this construction, we can see your case is easy. You just need to be able to signal that some choice was the last choice. So the each choice is from a set of N+1, being the N possibilities plus "picked nothing". Picking nothing means there's no remaining choices so it terminates.
I’m pretty sure it is just going to go by decibel level, it is a lot of added complexity to make the devices not just listen for noise but to also identify skin color.
Bill Gates was also pretty unruly, especially the 90's towards the early corporate era of Microsoft.

If allegations on Elon are true, it is unfortunate to have this stain on his rather remarkable vision for the future. We need more visionaries like Elon.
I don't know why you're sassing when it's long overdue.
>"Neither the pilot nor the SLEEP Act are intended to be a check on cars that blast music."

Incessant horn honking and blaring car stereos, both of which are significant noise contributors won't be included? Does that make any sense? If the goal is to bring the noise pollution under control via the use of sound cameras why would you limit it to mufflers? The sound camera device's metric is decibels. Why should the program discriminate the source of noise pollution?
Unfortunately, Medium does not allow setting the text color — they set it automatically based on the background... After trying several combinations, I've mostly given up with that site and am planning on moving to another.
Did you provide the assets as collateral for the loan? I imagine a traditional mortgage may not have this as an option, but a different kind of loan may have been possible. However, you can probably only borrow up to a portion of the collateral value.
> I don't think this was the case, unless you can show me otherwise.

Quadriga CX showed their users having BTC in their accounts.

In reality, the guy running the show had already gambled those away on other exchanges.

It all held together, ish, until he died and the music stopped.

> In particular, they had "BTC ATMs" where people could withdraw cash.

This is news to me and hasn't featured in any write-up of QCX I've ever seen.

> And when the CEO died, the BTC could not be retrieved. There was no magic second exchange-issued BTC around - it was gone because there is only one copy.

Yes, this is exactly what we're talking about - we have no real idea how much BTC is in peoples accounts on exchanges, because they are a black box and may be creating it out of thin air. While they don't try to move too much of it and the exchange remains operational, the ecosystem functions as if those balances are correct.

> Quadriga CX didn't produce any more BTC - they just lost their customer's BTC.

While they were still solvent it behaved as if there were more BTC present. Sure, they didn't create more on the blockchain, but they were able to operate as if there was more.

Until they weren't.
Or the carbon added to the air.

Cars are... not good for the environment.
It might not be the drunken night out that puts you in hospital, but the long term damage. We're going to be dealing with the consequences of the pandemic alone for the next decade. It's possible some things might turn out more positively than expected, but it seems sage to predict that it'll be bumpy even if so.
About motorcycles on sidewalks? Did we read the same article?
"The 5bn tonnes of cement produced each year thus account for some 8% of the world’s anthropogenic CO2, and generate abnormally high emissions per dollar of revenue earned compared even with other polluting industries (see chart). Yet if less than 0.1% by weight of graphene is added to the mixture, concrete ends up 30% stronger. And stronger concrete means less of it is needed, with a consequent reduction in CO2. "
Ask HN: Are Non-Apple Bluetooth Headphones as Good at Switching Devices?
I have Bose QC35 II and Airpod 3. I was satisfied with the Bose until I got the Airpods and I realized how annoying switching devices is on the Bose. It nominally connects to two device at once, but it only accepts sound from one at a time, and it often keeps "playing" the sound from a device that isn't doing anything and won't switch to the one that is playing something. The one that is playing something is silent because it's still connected to the headphones, but they aren't accepting it's sound.

Then I need to completely disconnect the headphones from the silent device and reconnect them to the device I want to hear from.

Airpods on the other hand only connect to one device at a time, and I can switch between them with a single press on the device I want to connect to. It also automatically switches to the one I want most of the time.
Granted, I'm only switching between an iPhone and a Macbook.

I'm thinking about getting Airpod Max, but they are ludicrously expensive and ugly IMO.

Have other bluetooth headphones advanced since the QC 35 II? Are Bose QC45 or 700 better at switching?

What about Sony XM<number>?
No choice thanks to Medium.
This technique is pretty trivial, and thus very generalizable.

When I was at Google as a new grad, I used to put comments with the wrong number of slashes for my internal todos, which would cause the regular linter to pick it up before review. You can piggyback on any such linter rule very easily.
Workers lack document access and have to schedule updates with the main thread. That puts us back where we started (plus the overhead of starting the web worker).

I don't know enough about the state of WASM today to say the same. Circa 2018 I know that it lacked DOM manipulation.

(In some distant year I will figure out the incantation to avoid getting sniped when talking about this stuff. I think I rewrote that line 4 times.)
The discussion here, exclusively from Westerners, is focused on the anglosaxon semantics of religion.

It would be blasphemous and offensive to Japanese people to suggest these sites aren’t sacred. Yes, Japan is developed and people might not need to believe in the supernatural, but, to Asian people, Confucianism and respect for ancestors is borderline religion. The very word religion has different meaning in Asia, so to map it back into Western’s archetype of religion is weird. The word religion in the sinosphere could be translated as “way of living”, and tea practitioners consider their practice as such. Shinto, whether it’s actually belief in the Kami or reverence of the imperial family, is culturally the same. When American politicians float the word God, are they really speaking in actual terms or figures of speech?

Regarding the idea that Shinto is mostly a modern invention by the ruling class. The imperial shrines look this different. They have different motifs such as horses. Datapoint : I’ve been to thousands if not tens of thousands of shrines. The naming system of shrines is also a cue. It also doesn’t explain why there are thousand year old shrines, not in one region, but every region of Japan. Datapoint: I’ve been to all 47 prefectures.

Also, go to a rural remote fishing village. The shinto shrines there have a different level of spirituality. They aren’t tourist spots. They don’t have money. But the locals worship and pray for safe passage in the seas. When I went through Mie prefecture, the Ama, freediver women, have all had friends who died. The people in harsher economically deprived regions are much closer to reality, and if that’s not religion, I’m not sure what it is.

https://en.m.wikipedia.org/wiki/Ama_(diving)
Yes, that's one significant benefit of the written interview.

We had 110,000 applications to Canonical last year, which is a lot to process for a company of 800. We offer a very high-quality remote-first employment experience, with international travel twice a year for up to two weeks so teams can plan, bond and play. That's attractive to a lot of people.

Candidates these days apply for between 5 and 75 roles in a batch, and I'm pretty focused on selecting for people who genuinely care about open source and the role we can play in making it a level playing field with high quality developer and production experiences.

About 30% of the people who are moved to written interview submit them, so it does serve to separate out those who understand our mission and are excited about it, from those who just clicked on our link along with 50 others.

The written interview also helps reduce culture and gender bias in our hiring.

Given that we hire globally we know that the people reading the candidate resume may not have context on the resume norms and expectations in the culture and place that the candidate comes from. We ask them to move any plausible candidate to written interview, and then we generally have the written interview reviewed twice by two separate people, in an anonymized fashion so the reviewer can only assess what's there, with no bias from resume.
Try https://www.myndex.com/APCA/
If you were cycling, you would just say “I am back here.”
I'm not dismissing the comment above -- it is useful -- but it leaves a lot of fundamental questions unanswered, such as:

Which kind(s) of smart people? The kinds of smarts that are like yours? What about the forms of intelligence maybe that you don't even recognize yet? What about pairwise intelligence -- that isn't traditionally captured by the term 'smart' -- it is more often captured by quotes such as "he's inspiring to work alongside" or "she teaches me without talking down to me" or "he can herd cats to push a wet rope up a hill and get the product delivered on time".

One takeaway: optimizing for "smart people" is underspecified.

Another: there are many other worthwhile things to optimize for besides one kind of intelligence -- or even one fixed blend of intelligences.
I've set aside this afternoon to update my macbook because it refused to do the 12.4 update by itself. Then it refused when I asked it to restart manually. Then it looked like it worked and was restarting but actually it just kernel panicked or something I'm not sure. Then it wouldn't acknowledge an update existed. Then it wouldn't check for an update.

So now, I'm watching it download and prepare an update in real time in safe mode, while doing absolutely nothing else, because apparently a light breeze will knock this update process over. Preparing the update has so far taken 30 minutes. No doubt installation will take another 30 mins to an hour.

"Just buy a macbook" doesn't work anymore.
... doesn't everyone who has a PhD in CS also have at least a bachelor (and probably also a master) in CS? Why should they get paid less? :D
> cool kids on r/Bitcoin

I don't use Reddit or any other social networks. This is the only site I post anything on. My suggestion to put a trade on instead of just saying stupid things on the Internet comes from institutional trading culture.

Anyone can say anything. Almost nobody backs it up with money.
You're welcome, and thank you :)
I don't think this post should have remained flagged. I came here tonight to see if this story had been posted to HN, and to find out what users here would say about it. The story is relevant to recent cultural changes in a lot of tech workplaces; it's on-topic. The discussion here has been civil.

Removing a well-sourced article that aims to exonerate someone who's been cancelled seems like a preemptive capitulation to fear that even by allowing discussion, HN could be tarred with the same brush. Upholding the flag demonstrates and amplifies the chilling effect on reasonable speech that's central to the article, by not-so-subtly telling users that it's verboten to even discuss it. HN shouldn't be afraid of allowing discussion around such an article.

>> “It’s impossible to be honest about this and preserve your own skin,” says a scientist who recently worked under Sabatini.

The fear exuded in this kind of statement is terrible for society, for academia and for science; whoever is right or wrong in this particular case. Whichever way the conversation evolves, the expectation must be maintained, even among people who want to silence others, that civil conversation will be allowed. That's why it's wrong to flag this and leave it flagged.
Medium does not allow the author to set the text color at all.
We tried heapless, but ran into some problems with it. I forget the issue, but it had to do something with a bunch of unsafe code in heapless and the way we did stack frame alignments causing subtle bugs with tuples that had u8's in them. That problem may be resolved now that we're a couple years on.

If I'm not mistaken you can't implement traits on types that aren't in your crates, so, there's that limitation. But generally it's just another layer of friction that feels like it shouldn't be there, and it manifests itself as a form of technical debt. For example inside the microkernel itself there is an array that tracks the connection IDs in and out of a process. It's limited to 32 elements. Back when it was created, that seemed like a lot. Now maybe it'd be nice to bump it up just a little bit...but it would require opening up a can of worms since it never had all the traits implemented around it, so it's just sitting there until it becomes really worth the effort to upgrade that limit. There's a few spots like this.
But why can't they use their render feature for a doc that's literally written in Markdown?