skysight-inc/HackerNews huggingface dataset:
Ask HN: Do you enforce a unit test code coverage % in your CI/CD pipeline?
Previously I've never enforced unit testing, I wrote a lot myself and encouraged others to but didn't require it in code reviews. However my current team is much smaller and all onboard with doing TDD.

I understand the metric can be flakey and I'm not aiming for 100% but would like to know what number others aim for at and if you enforce it during code review or in CI/CD?
As I understand it, re-nationalization of the railways cannot be undertaken while Britain is still in the European Union given its objective of 'Opening up national freight
and passenger markets to cross-border competition'.

The EU railway directive (2012) "separating management of railway operation and infrastructure from the provision of railway transport services, separation of accounts being compulsory and organizational or institutional separation being optional.”

https://en.wikipedia.org/wiki/Single_European_Railway_Direct...
Road cyclists frequently draft behind a car or motorcycle; motor-paced racing used to be a very popular discipline and motorcycles are still used for pacing the Keirin event.

https://en.wikipedia.org/wiki/Motor-paced_racing
Ok, bitter old man with one sample.
Pretty sure the parent comment was being satirical.
I believe the pain comes from having a "proper" qwerty finger setting, where you have 8 of your fingers on asdf and hjkl. Then typing some combinations is awkward.

I never got the hang of that style but rather evolved into some fluent version where my fingers float around and sometimes I will use different fingers to type the same latters based on what I previously typed.

This has allowed me to end up at a top speed of around 160wpm using normal qwerty keyboard layouts.

I always felt that switching to a totally new layout crippled me when moving around between customer servers, mobile devices and so forth.

But I totally get that others have had different experiences and I appreciate that there are alternatives out there. I love choice.

Very interesting read!
"Its you... Its been a long time. How have you been?"

- GLaDOS (Portal 2)
or the "Nineteen-Eightyfour" one: https://www.youtube.com/watch?v=2zfqw8nhUwA
Having used and written on this subject extensively, you are right but in practice these approaches mean something along the lines of making a single primary key lookup (like 0.1 to maybe 3ms in most cases) to save many tens or hundreds of queries (in addition to the cost of rendering/templating) to build the nested content, so it is still extremely practical.
This aside, it might be useful to have the opposite as well (or instead).

Ie: Some portion of some city designated friendly and relatively unregulated for the testing of new technologies in public spaces... Like the Chinese special economic zones, but smaller scale.

Instead of arguing about what approach is unequivocally better, we can just have some of both. This isn't like housing where market fungibility makes it impossible (unadvisable) to have uncoordinated policies, There will still be people living there who don't like it, but you have that regardless. There will also be an element of choice, to the extent that people can/will move.
I love this app and use it daily. Very robust and well designed.
An interesting pattern is emerging here. China is suddenly flexing beyond politics into commerce. I'm interested in how the rest of the global market will react to China's strategy. Seems a bit extreme to ban a DJ over social media preferences but on the other hand that has always been their game.
I have had success DNS round robin-ing a cluster of HAproxy LBs which handle SSL and then proxy to my backend websocket gateways which keeps the real load evenly distributed where it matters and also run health checks on the nodes.
Judges rule on people's intent based on evidence. It is up to the lawyer presenting the statistics to interpret(with testimony from qualified professionals) these stats before the judge in a way that proves their argument. This applies to medicine,technology and many other fields as well. Judges don't need to know medicne to rule on a malpractice lawsuit either.
The rule for pacers is that they must start the race at the same time and be able to keep up with the runner being paced, though they don’t have to finish it. Swapping fresh legs in mid-race isn’t allowed.

In a college indoor track 5K, one of my teammates was being lapped by another teammate competing for a podium spot. The guy being lapped started sprinting to help the guy near the front of the race finish strong. That was ruled illegal pacing and they were both disqualified. It was a similar sort of situation — in order to legally pace you must be able to keep up with the runner your pacing.
The vague nutrition language in the Times article, led me to the study [1], which has more specifics:

“Marrow composition was mostly unsaturated FA (78%), especially monounsaturated (74%), and only 22% comprised saturated fats (table S1). Oleic (C18:1n-9) was the most abundant FA in marrow (36% in week 0), with a significant decrease per week (−0.7 ± 0.14%; P < 0.001). Other FA, like palmitoleic (C16:1n-7), palmitic (C16:0), and vaccenic (C18:1), had lower percentages (10 to 16%) and remained constant over time.

The energy value of marrow obtained from metapodial bones ranged from 123 kcal (bone from week 2 in the outdoor autumn scenario) to 2.7 kcal (bone from week 6 in the outdoor spring scenario). The energy contained in one bone in good conservation conditions (i.e., up to 9 weeks in the outdoor autumn scenario or the first few weeks in the outdoor spring scenario) could be comparable to the crude energy content of 25 g of fresh meat.”

1. https://advances.sciencemag.org/content/5/10/eaav9822
I switched to Brave a few months ago because I knew that Google would have done exactly a move like this. People should simply stop using Chrome because there's not a single good reason left to use it. Once upon a time it used to advertise its complete adherence to web standards, but nowadays it has now become the new IE when it comes to breaking them. And from now on it'll do everything not to harm Google's core business (i.e. ads revenue). And, unlike 10 years ago, there's plenty of comparable or better alternatives around.
Look at the history of censorship and look at the current state of affairs.

9 out of 10 times, censorship is just a tool used to suppress things that the one in charge (a person, institution, or 'mob') doesn't like, while that same censor holds ideas equally or more intolerant than the suppressed ones.

I don't want to go into specific examples, because otherwise this thread will devolve into a discussion about those specific issues. But look around and try to analyze things impartially.
Calling it adorable without a front and center screenshot is an odd choice.
I'm certain that the vast majority of scientists, physicists for certain, do "believe" in extraterrestrial life. Belief makes it sound kind of quirky though. It's essentially a probability measurement. Is it more likely that we are the only life in the universe, or not? You reach the same conclusion whether by intuition or by what crude modeling we're capable of. It's not really possible to create a compelling scientific argument for the lack of alien life. This is why the Fermi Paradox is a thing.

The reason people try to discount aliens is because you can attribute literally anything to aliens. And so you reach another equally simplistic binary. You discover some unknown phenomena. It is aliens, or not? Well we've discovered a whole lot of unknown phenomena throughout the years (and centuries and millennia depending on how you want to play this game) and often times it really did look a whole lot like aliens, but to date it's never yet turned out to be them.

And since the determination of an unknown phenomena often comes down to probabilities, aliens get weighted down a good deal. But nonetheless, I have no doubt that at least lurking in the back of every physicist's mind is that something now as regular as a fast radio burst could indeed finally be those LGM - the kind of joking nickname given to the first radio pulsar discovery. Standing, of course, for little green men. Is it? Well probably not, but it'll always be probably not - including when it finally is.
I mean, there are some extremely rare, extremely weird biological corner cases, but for the overwhelmingly majority there are only 2 chromosome configurations: XX and XY
It's chock full of those little touches that you didn't know you needed, like generating <language of choice> code snippets, being able to copy and paste responsive request/response elements...I even realized yesterday you can paste a JSON clip into the JSON request body tab (which is an active native control, not just a rich text area). I've had a few crashes but it seems to save everything quite well. And imports Postman (and others) quite well!
It’s Not Just Parking Minimums That Can Shrink
What was the "Class A time" for the Marines 20 years ago? No offense but if you broke 18 minutes (6:00 mile) for the 3 mile I'd be surprised. Kipchoge just ran a 4:30 mile for 26 miles.

Hell, the best marathoner the US had in the 2000 Olympics ran a 2:30. Literally a half hour slower than Kipchoge.
I was surprised by how positive and constructive this article is considering the circumstances. Say what you want about whether it was foreseeable, being blindsided by your platform is not fun. I’m sure there were some swear words used the first couple of days, but some companies in the same situation have just closed up shop, so putting it behind you and moving on with hope and positivity, recognizing that there are still options, and noting that one of them is to stay there and compete with Apple, that’s commendable.
I read that, i'm not entirely sure how that relates to my post.
I'm glad it behaves like that because for me it's really annoying when the browser throws me out to another app (especially youtube, which is so much better with adblock in the browser).
That's a real stretch and applied universally any kind of location based rules like zoning would be in violation...
StackExchange is more than StackOverflow, and StackExchange is more than just the main site. Third party pronouns are widely used in meta and chat.
I am constantly surprised that anyone is surprised by this.
I do use adBlock. Other sites are fast. But those sites that are JS heavy just to render lag.
Current ergodox keymap is here: https://configure.ergodox-ez.com/ergodox-ez/layouts/yov40/la...

Most of my typing is in emacs, so having the ctrl/alt modifiers on the thumb clusters was important for me; it lets me navigate easily without moving my fingers much.

Redox layout (which is closer to stock) is here - this is for QMK Configurator: https://github.com/jfrederickson/dotfiles/blob/master/keyboa...

Less customizations there, though I swapped ctrl/alt to match my ergodox layout.
Well... what really is empathy? To me it stands to reason that it is the ability to recreate the mind of another using inference based on their behavior and communication, and thus be able to experience a similar emotional state or set of mental circumstances.

It would also stand to reason that this ability would be directly related to how similar the data contained within empathizing brains is.

If you conceive of empathy as “responding to behavior in a way that is considerate of the other party’s ability to understand and receive benefit from it” in the sense that designers and product folks use it then it becomes clear that AI trained on data more similar to what a human would’ve drawn most meaning from would naturally be more empathetic.
You sound just like to co-creator of AltaVista in 1993: https://mobile.twitter.com/MikeSchiraldi/status/110534581682...
If what you have is a business that pays the teams salaries, then what you built is by definition a product, not a feature.
The (micro)benchmarks game is a gimmick and should not be taken seriously. You forgot to mention that the SBCL #3 implementation also sits at 2.0 and is fully memory safe.

I fail to see the reason for you presenting the facts in this manner especially the "stupidly dangerous things part" which is of course totally inaccurate. (safety 0) has its uses (e.g. like Rust unsafe).

Your conclusions are not indicative of real world performance.
While I agree the swipe is too long sometimes, there is still an "X" above every tab
Not doing what? Being 100% supportive as stated and addressing people respectfully? Seems strange to express displeasure with a corporate policy about a website by being disrespectful to unrelated individuals.
I highly recommend Firefox preview. It's really fast, no ads and trackers blocked without extensions. They also put the address bar at the bottom which is so much better.
Why a 3-category in particular?
Oh, don't worry, the government, or atleast the EU, should intervene and force Google to split Chrome into an independent organization.
Oh jesus, read more about de facto monopolies and antitrust cases please.
The feedback of "Android version of Firefox is unusably crashy on my phone" is not something any developer can take action on. There are no example sites, no steps to recreate. I agree it should be in the bug tracker, but adding anecdotes without specifics does not add much to the conversation nor does it help to move FF forward. Are we arguing all users of this specific device experience the same issues as this user? If not, not even the device model is helpful. As I pointed out, I was not trying to stifle feedback but to point out that for every "FF is too slow" complaint there are just as many "works fine for me comments" that are equally useless. How is FF slow, in what use cases, how cane we recreate these problems? That is worthy of a bug report and if that information is available submit it to FF to make the software better rather than complaining on a thread about Chrome removing a useful extension that FF supports fully across platforms.
I think you’ll have to spell out specifically what those things are that affect long term productivity if you’re going to use them as a argument against use of Rails.

I not saying your wrong, just that a hand wavy “rails is bad in the long term” is not an argument.
However you look at it, Uber and other new so-called tech companies these days spend like there is no tomorrow instead of focusing on the bottom line.
You are seeing the other way around.

That advantage is to migrate C code into Objective-C, just like C++ and TypeScript have done as well.

In fact, NeXTSTEP and its derived OSes have very little pure C code, beyond BSD/XNU kernel and the POSIX APIs.
The OP says:

> yes, I can assure you the Kolmogorov complexity ...

This is a strong comparative statement, and it's clear that it's an assertion but not a proof. So it's perfectly fine for you to say "I don't believe that" and then you would give your reasoning. Of course the conversation didn't go that way because it's pretty obvious to everyone that this is actually true even though we don't have a proof. And it's extremely likely that if you could find a minimal multiplication algorithm and enumerate all the Turing machines up to that length you could prove that none of them solve the harder problem. This is where the intuition comes from.

> using an informal term

But the OPs argument wasn't that one program would happen to be longer, but rather that it must by necessity be longer, because the problem is fundamentally more complex, which is exactly what the formal concept was created to capture.

> Kolmogorov complexity is a formal concept that does not admit intuitive judgements

This is a bad way of thinking about maths. The value of formal concepts is precisely that they give us tools for making intuitive judgements more effectively and give us a wider variety of tools to manipulate and express our intuition. As intuitions become conjectures and theorems, we accumulate new bedrock we can use for new intuitions, but don't short-circuit your thinking by saying that intuition about technical terms is off-limits. That's literally what they are good for.
His point was well taken. Nobody is against development; this is misinformation.
There was a brief time when IE and FF were about even. Around the time when a lot of developers just gave up and stopped supporting IE6 and IE's reputation never really recovered (and rightfully so).

Shortly after, Chrome hit the lead and never looked back.

Flash was already falling out of favour as html5 emerged, making it irrelevant.

iPads and iPhones were influential in the birth of the mobile-first philosophy but not in the decline of IE.

IE never really set standards, in fact the big complaint about it always was how non- compliant it was.

Of course the government didn't kill IE. It died because of arrogance and short sightedness.
Maps is the main app that I wish would open automatically. Each time someone shares a location with me or if I need to drive somewhere it's very lengthy to open the native app. Sometimes the address doesn't stick and I need to type it again.
offtopic, but these graphic documents could be best preserved as png files instead of gif (or even jpeg).

Edit: also, given the low-resolution of these old images they could be displayed inline, all on a single page withe caption for each. There are some extremely powerful images here. But maybe seeing them all at once would be too much to bear.
As an aside, am I missing something or is Apple's doc on objc_msgSend describing the parameters of the old form? The parameters section doesn't seem to match the declaration section.
In my experience, Ryanair always puts you far away enough that it's obviously impractical to ask someone to switch in the plane, and always puts the person who's booking at the back, so that there's a bigger incentive to pay to join your partner at the front.
A long time ago I made "The complete guide to rails performance" by Nate Perkobec. It's not free but it really taught my a lot about on the ways to achieve very good performance with Ruby and Rails.
Does anybody have any good resources on how to achieve better performance with ruby and something like async, concurrent ruby, threadpools and forking?
Not to mention re emergence of medieval diseases like Typhoid [1], large and widely spread amount of human feces (which is a biohazard), and lack of housing supply which contributes to untenable housing costs.

[1]: https://www.theatlantic.com/health/archive/2019/03/typhus-tu...
Known by experts of the field, the ones most qualified to evaluate claims of the field. The experts of this field are in strong consensus, to such a high degree of certainty that it's basically established fact.
Use Firefox. It has build-in ad blocker.
I think you should sort them according to importance or categorize them. Otherwise seeing a too long list may lead to outrage fatigue.
Does Hong Kong Even Need the NBA?
> At the time of Galileo, were there extremely powerful corporations whose profits would be boosted by pro-heliocentric and pro-heretical views?

Definitely. The State and Church were dominant and depended on a heliocentric view (ie, rule by divine right).
There's a post about the three tribes of programming. https://josephg.com/blog/3-tribes/

Tribe 1: You are a poet and a mathematician. Programming is your poetry
Tribe 2: You are a hacker. You make hardware dance to your tune
Tribe 3: You are a maker. You build things for people to use

alfiedotwtf falls in the first tribe. You fall in the 2nd. Different tribes have different values, and hence all the back and forth.
If it is impossible to prevent concentration (and I don't believe it is), then oligopolists will have to accept some legal obligations that smaller companies don't have.

It is simply unacceptable that you can be kicked off extremely dominant platforms without explanation or recourse and often without even getting your data back.

There has to be a higher barrier to obliterating someone's livelihood.
The Oracle of Delphi – The Center of the World
Vim-surround is a nice solution for this. It’s developed by the same developer who wrote vim-fugitive. It is also available non the vim plugin for VSCode by turning on a setting.

https://github.com/tpope/vim-surround
Hey zamadatix! I’m glad too, it’s been tons of fun making it.

The GCC port is pretty decent. You can build about 90% of the system inside itself but you eventually hit some kernel bug that crashes the build, ironically usually while building the kernel itself. There’s debugging to be done, but that’s true of the whole system.. We’ll get there eventually.

The fs/disk performance is also quite terrible and, which you can really feel during builds with GCC. I need to look into what’s happening there as well :)
What does the "system controller" actually do? Battery management? Could a reliable system controller be used for other SoC platforms?
I noticed that too - I think it has to do with the difference in spacing from the title to the body and from the text to the outside of the notification bubble.

Notifications aside, though, those screenshots look much more polished than previous versions I've seen. I'm impressed!
> Wow, this scares me a lot. So if you upload an update to an existing extension that has many users, if a human reviewer arbitrarily decides to reject the update, the entire extension is removed from the store? Or just the recent update?

I've had an extension in the Chrome Web Store for 5 years and it's been unilaterally un-published with no warning at least 3 times. This is an extension that has many thousands of active installs, is free with no ads, and has specific simple functionality (defines a new tab page) and no access to browsing history or other permissions. It's the absolute best case.

2 of the 3 times, no reason was given. The exact same version was later re-published, after far too many emails. The 3rd time, a debatable reason was given - though again, the same version had been up for many years and was serving thousands of users.

Each time the extension gets un-published, it starts a days- or weeks-long ticket thread with Google's painfully automated review process. There's not a Google employee who simply explains what they did and why (and why no warning was given). Google just chooses from a set of email templates. If you're lucky and/or keep emailing over and over, they'll add 10 words about what was done.

I've had an IRS audit and, having experienced both, the IRS audit was easier, more predictable/logical, and more enjoyable than any of the 3 attempts to get my extension re-published.

(If anyone from the Chrome Web Store team wants help improving the publishing and review process, feel free to contact me. It's so broken that I can't imagine Google needs more input, but I'm willing.)
The Bel Language: A new dialect of Lisp from PG
Singapore to become first country banning ads on sugary drinks
I'd like to know, too. I can speculate about people being turned off by the shifting POV, heavy internal thoughts, and dry style of it. But I'd rather here it straight from the horse's mouth.
Chiming in with a simple example:

Two finger pinch zooming on a Macbook stutters enormously in Firefox and is much smoother on Chrome.

I use this feature all the time and it's made switching to Firefox difficult.

Another example:

I'm not a fan at all of how Firefox handles displaying huge amounts of tabs. Tiny arrows to scroll your tabs left and right is really a disorienting nuisance and I much prefer Chrome's system of making tabs smaller. I'm sure there's a way to change this, but I'd rather stay on the default path that they're actively iterating on and improving.
Show HN: Best of Free illustrations for your landing pages