skysight-inc/HackerNews huggingface dataset:
Cyclomatic complexity IMHO isn't a good metric for code complexity as understood by humans, but sometimes it can be insightful especially when it's unexpected.

My favorite static analysis issues are the ones that flip-flop between two issues, I love doing "merge this if statement with the enclosing one" only to get "expressions should not be too complex" after I've merged them.

As long as you have the power as the developer to override the tool and mark issues as won't fix (with rationale) I think it's fine. If not, the ruleset needs to be really good and as minimal as possible. Otherwise you'll just get crappy but compliant code which isn't helping anyone.

Also, it sometimes makes sense to leave suboptimal but old and correct code as-is to preserve the Git history or because the suggested change doesn't actually make the code any better. And finally, these tools do still generate false positives. While it makes sense to thoroughly review each of these with a coworker, you should still be able to mark them as false positives.
I recently got the rOtring 600 Ballpoint, and have enjoyed it for similar reasons.
It does not work, at least did not worked for us. The problem is that in any single situation it is easier for expert to solve it alone then explain and when then there is sudden need to explain, expert can't do it effectively. Because he was not explaining for years.

Plus, you end up being in a limited box and have harder time to grow by learning new things - project structure keeps you in box and you can't easily expand it by taking tasks to learn something new.

Finally, expert is sort of fake expert - expert only because others are kept clueless. Not because he would had such great knowledge objectively, but because we decided this is only his area. There is no other engineer to discuss issues with our to compete with.
I assumed it was a typo for "some cold".
If UV is too expensive how are they getting rid of oral contraceptive residues and other endocrine disrupters?
Buy a VacuVin, a fridge, and a cook book for what to do with whatever wine is left.
Because SoftBank is Japanese and they’d have no choice?
构建一台用于 Cloud Native 开发，基于 Linux 桌面系统的计算机
dd is also known as "Data Destroyer", because it's easy to make a mistake and overwrite the wrong device. This actually happened to me once, but I still use it when I need to write an ISO to a USB drive anyway.
You are propagating the false narrative money manager Barry Ritholz calls “the Big Lie” (which was an apposite name before Trump’s recent antics), namely the idea that it was government regulation (specifically forcing the poor innocent banks to give mortgages to “those people”) that caused the GFC. I’d say that story has been roundly refuted.

https://www.washingtonpost.com/business/what-caused-the-fina...

And for what it’s worth, that Krugman quote is out of context. Krugman is not calling for a housing bubble there, he is explaining Greenspan’s motivation in keeping rates so low for so long. Frankly, I find that disingenuous misrepresentation telling.
That would then be nationalization and thus the opposite of the course that Thatcher had initiated. We are currently seeing such tendencies with the British Railways, but this is likely to remain the exception.
Why is it obvious that you need both? Plenty of companies seem to be ageist and surviving well
As someone who does a decent part of development in python, I'd say you are using the wrong language, if you can't test your edge cases and have huge liabilities.

Python code is inherently almost-untestable and fragile. These days, when coding something critical and non-trivial, I choose a memory-safe language with static typing and type inference, ADTs, pattern matching and try to write simple yet pure functional code with well defined semantics, that works almost by definition.
In a very similar situation, I posted a pair of "Waxed Flesh" boots on eBay from my 13 year (albeit rarely used) account. They had plenty of pictures, waxed flesh is a very well known term with regards to boot leathers, but within 2 minutes, my long term eBay account was permanently terminated with no chance for recourse.

Besides it being exceedingly difficult to find someone to talk to about this, when I finally did in the chat service they offer, as soon as I brought up my account they terminated the chat with some copy/paste message about how they cannot talk to me about it as it might compromise their fraud detection. People I've talked to have mentioned that it might be due to the fact that there was "Flesh" in the title, but that is a valid description of the good I was trying to sell.

I guess what I'm trying to say, is that it felt entirely arbitrary, I had no recourse with regards to the discussion, and eBay is similarly shitty with regards to service.
In southeastern Colorado, robots disarm WWII-era chemical weapons (2017)
>>> If they had immediately deprecated python 2, users would have quickly updated their packages over to a supported version.

Painfully wrong. They tried to deprecate at least twice, it was so bad a decision that they had to backtrack.

In fact Python 3 is the hard proof that you cannot hope users to upgrade, by abandoning ship and giving no way to upgrade.
It's even weirder: in the US, ethnicity is a separate official category from race that has two buckets: either "hispanic or latino" or "not hispanic or latino". Which... what?
A prime minister of Sweden stated that "He, who is in debt, is not free". Sometimes nuances makes communicating concepts less efficient, and debt bondage is one such case.
Citation, please? Krugman has been laudably willing to confess error; I wasn't aware he'd done so on this point.
Cathedrals, Bazaars, and Fusion Reactors
Do you have kids? Toothpaste and fluoride rinses aren’t a substitute for fluoridation - just ask poor (overwhelmingly Black and brown) North and East Portlanders
Downvoted for stating a fact. Ah well.
The same way we know about lots of products, by the company and/or third parties testing them? The same way we "know" how much of a drug is in a pill bought from a pharmacy, or the % of a chemical in a bottle of cleaning stuff, or....

Obviously there can be cases of companies being misleading or completely fraudulent. But generally speaking you aren't testing every cosmetic, food, clothing etc. to be sure that they're made the way they claim, why would water filters be different? Legislate certification for them if needed, rather than worry about how hard it is for a single person to test at home.
Projects and Companies – Sam Altman
Citation? Because that’s not what my pediatric dentist friends say.
Order matching, order execution, credit and limit controls, reporting, multiple APIs and interfaces for order entry, market data and many other things supporting everything from legacy FIX clients coming over leased lines to modern restful web APIs and SBE over websockets, identity management with highly complicated RBAC model for traders and firms (who can trade what on behalf of whom under which conditions), highly complex and robust logging especially for regulatory requirements, maintaining alignment with regulations across the globe...

And if you think normal end users are picky you haven’t met traders that still want to use a 25 year old keyboard with non-standard ASCII codes that’s barely recognized as an HID device on your new electron based trading frontend and if you can’t accommodate for that they will leave.

So you have millions of clients all of which are adversarial and you have to maintain market fairness and integrity to ensure no manipulation is possible with trillions of dollars on the line that can be wiped off in a heartbeat and that is before you start thinking about nation state actors who would love to be able to cause major economic damage to the US, Europe and other major western economies.
You can bypass the Times paywall by adding a '/' to the end of the url
There are already solutions for this, like Stackbit and Publii.
But the voters were told that Britain would save money, foreigners would leave and all else would stay the same!!!!
> After performing over 100 interviews: interviewing is thoroughly broken. I also have no idea how to actually make it better.

My score is similar, and kind of agree. The eerie part is that the intuition can discern a good hire within 2 minutes with fairly high probability, and within 10 minutes with near certainty. The rest of the interview process is just padding to figure out whether the intuition is not wrong (it seldom is).

That intuition is some mashup of the candidate speaking on point, pragmatism, non-equivocation, admission of ignorance on some topics, English proficiency (1), etc. It's also impossible to codify or quantify, hard to convey and non-transferable.

(1) - here in Europe, English fluency, diction and (lack of) thick accent correlate highly with overall ability
It depends on the gas supplier. For the suppliers I deal with the difference between food grade and non-food grade is for insurance purposes.
The way you put it, it sounds like you're working with the best possible team you can - why would you be sacrificing your career to stay?

Wouldn't it be the other way around? Sacrificing your career for social contact?
In German university I did choose which lectures were worth attending in person (generally those where the professor was more insightful or entertaining than his slides or book alone), but generally attending the lectures wasn't the point. The lectures are the excuse to get people in the same building, get them to occasionally sit close to each other, give them topics to talk about and incentive to do so (when you've spent three hours on your weekly exercise that you have to turn in tomorrow and need help). It's also so much easier socializing if everyone has a valid excuse to drive there anyways; you might as well stay a bit longer avid talk
This is my experience as well. Most "friends" only stay friends for as long as they share activities together, and if there is too long of an absence in activities, it will be harder to plan activities or reconnect later down the line. They'll usually drop down to acquaintance level and stay there. Goes for work, hobbies, and more.
Friends who stick around for who you are, rather than what you do together, are exceptionally rare. Especially later in life, when everyone is "too busy" for activities outside what they already do.

I hope my experience is the minority, as the increasing loneliness that seems to be present as the younger generations grow older to me indicates the over reliance on work for friendship is the exact opposite of what we need. And on a much darker and more cynical level, it provides an opportunity of social manipulation for companies to keep one tied to their job at a lower wage, or risk crippling loneliness.
Baffling Brexit rules threaten export chaos
"Ministers must restart trade negotiations with Brussels immediately to sort out the 'baffling' array of post-Brexit rules and regulations that now threaten much of the UK’s export trade to the EU, leading business groups have said.

Amid mounting anger among UK firms at cross-border friction they were told would not exist, British manufacturing and trade organisations met Cabinet Office minister Michael Gove in an emergency session on Thursday to discuss problems resulting from the deal struck by Boris Johnson with the EU before Christmas."
Maybe you do a different work to me... but what 'stuff' is there? Like most people I just work at a computer that'd be there anyway.
I would add just one

- Automation of everything is what you need in 99% of cases. There are almost 0 cases when you automate something and it turns out that you could have done it more efficiently manually (even in that case, learning experience makes it usually worth it, while such manual work provides almost 0 XP).
> What if I told you that the government only borrows money on the backs of the working class, who pay for it in increased prices that the economist class doesn't measure ....

"Objection, your honor — assumes facts not in evidence."
Our greywater too (from oral contraceptives)
Reducing... "That's not a real paradox, which is why Quine called it a 'paradox'"?

meta
ffscreencast – a screencast CLI-tool with video overlay and multimonitor support
One negative is that such a hybrid mode still ties you to a location, albeit more loosely. Being able to travel and live in arbitrary (often cheaper) places is a benefit of pure remote work that many people seem to enjoy.
I really don't know what the point of this article is, it hasn't answer the question it poses. It simply starts with a straw man argument that Japan is only thought of as homogenous because of the 2% foreign-born statistic.

Firstly, that 2% statistic is telling, even though he pretends it isn't. It doesn't tell the whole story, but it is one of the best indicators for homogeneity, because the percentage of people born abroad living in your country, says something about the recent (last 2-3 generations) inflow of foreign elements (e.g. language, food, dna, religion etc).

If you look at the statistics, Europe and the US are places where these percentages are very high. The US or Germany for example are around 15%. Given Japan is at 2%, that's actually 1 out of 50 in Japan vs 1 out of 6 in say US or Germany, a massive difference.

https://en.wikipedia.org/wiki/List_of_sovereign_states_and_d...

Second, even if you look at the population which is born in Japan but has a non-Japanese heritage, the very fact so many blend in and aren't known to have non-Japanese roots says something about the homogeneity as well. The author references Masayoshi Son who is seen to be Japanese and only known to be Korean due to being a billionaire that journalists looked in to, isn't an argument against homogeneity (because, look, Koreans in Japan! Didn't think that did you?) but rather for homogeneity (because look, a 3rd generation Korean like Son isn't normally recognised unless he is a billionaire. Their entire culture has blended in and become Japanese to the point it is homogeneous and only detectable by DNA-test or investigative journalism. That shouts homogeneity to me. Son needed to be famous to be recognised as Korean ,not Japanese. But Obama or Harris didn't need to be famous to be recognised as different from the majority ethnic group in the US.

People don't claim that Japan is completely racially pure. The claim is if you take a homogenous/heterogeneous spectrum and plot rich countries on it (e.g. EU, North-America, Australia etc), Japan is relative to such countries, much more on one side than the other.

There are two main reasons for this. One is that Japan simply has had much less (permanent) migration for one.

And two, even with high-levels of migration, there can still be two different responses: Integration or Assimilation. Star Trek's Borg are fully composed of new peoples, but they are assimilated. Everyone becomes Borg, unrecognisable. Whereas you can also integrate new peoples, your culture changes, you adapt to new elements, the population and the individuals therein can be recognisably differentiated. Japan is no Borg, but on this spectrum it also scores higher on assimilation than integration, vis-a-vis other rich countries like the US or Europe. And in that sense, Japan is among a few uniquely (relatively) homogenous countries.
Deskreen – Turn any device with a web browser to a second computer screen
But it also says:
> This will mean laying off a small number of staff here and taking on people in the Netherlands.

And given that the EU market is bigger, that number might increase further as time goes on.
> Chinese people in Japan are the largest foreign minorities in Japan. They comprise 0.64% of Japan's population.

Does that mean what we think it means, though? Does that include people of Chinese descent who are Japanese citizens (who, as the author points out, are considered "Japanese" for statistical purposes), or (as I suspect) it only includes non-citizen Chinese people?
Mirror: https://archive.is/p8pyL
It's not just about VAT, but the other frictions of the new border. Direct selling from the UK is now much more awkward and the recommendation to have a subsidiary in the EU that the UK business ships to and then distributes from there means only one lot of paperwork to get the products into the EU. It'll still impact UK businesses on price or profitability. "Project fear" has pretty much been proven fact, for most businesses there is no upside to brexit, only costs.
In my university there's a professor that has an awful attitude towards students when taking exam, outright making them feel stupid (without saying anything, just from gestures and body language)... The plot twist is he does this on purpose. Many times he'll just give a passing grade, but the experience of taking an exam with him is terrible.
Well, that is depressing to learn. So by default, a bitcoin full node DOESN't fully validate transaction history. If it finds a particular block at a particular height (that a group of developers have signed off on), then all signature validations in prior blocks are assumed to be successful.
The reasoning is that you have to trust those developers anyway not to sign off on malicious source code.
I have been mulling over a pen to finalize as my primary pen, and after much trial and error, and many rounds of testing, I have finalized on Uniball Gel Impact.

Let me tell you my requirements - My first and foremost need is thickness, as thicc as it can be. I won’t settle for anything less than 1.0 mm nib and black color, so that the writing should stand out in contrast to the white page.

Last year a similar discussion [1] had cropped up on HN, and based on the suggestions I got there, I finalized Uniball Gel Impact. It's smooth, has good thickness, and feels like an almost 1.0 mm thicc pen. The writing stands out on the paper and also the contrast is unmissable. The only downside I feel is that I runs out quickly, within a couple of hours. It's quite a departure from my used to feeling of having ball pens which last for weeks and even months. Smudge is there, and the ink takes about 4-5 seconds to dry.

The only other gel pen which I find competitive to Uniball Gel Impact is Pilot V10 and Baoke. Pilot V10 ain't that smooth but lasts longer. Baoke is almost as same as Uniball, just 10% less. If Uniball Gel Impact = 10/10 then Baoke = 9/10.

If anyone here knows any other decent black gel pen that's 1.0 mm in nib thickness, please let me know.

Ref.
[1] https://news.ycombinator.com/item?id=24963031
There's also Rufus, sadly it's Windows-only.
Where in Chicago? The core of Chicago is very non-car friendly.
No the article is saying that if you want to keep doing direct sales to EU customers (retail), the only way is to use a company in the EU from where you will do the shipping.
A dedicated docker container per python project "solves" this issue, but it's a hacky workaround, not a solution.
>Java isn't that terrible of a language.

You’re onto something, but not yet enlightened. The next level will be realizing that languages don’t matter at all.
Spawn new threads (and then join them).
Who could have guessed that having a company in EU helps doing business in the EU... it's like there's a deal in place that helps businesses in the EU move goods inside the EU.
> continuously serialize WP to static files

Any cache plugin for WordPress does this already, but if you mean something that does this in order to host elsewhere (like in Netlify), WP2Static is a solution.
> This whole thing makes no sense.

I this is highly subjective and depends on how social you are, how much of an outlier you are in cognitive ability or interest and on what kind of social environments you have physical access to. If you are “middle of the pack” in all these aspects then sure, remote first doesn’t make sense.

On the other take me as an example: I enjoy working with other people face to face, but I’m extremely picky in terms of sparring partners. Most people just slow me down. Some are even offended, probably because they feel a bit intellectually inferior when I get going, leading to unnecessary conflict. I’ve been looking for people with similar cognitive style and interests in my physical surroundings for 20 years, and I’ve only found a handful. They are eccentrics, often in high demand and not easy to collaborate with.

There are of course physical environments where I would not be an outlier, or where I would even struggle to keep up. I’m not Terrence Tao. But I don’t have access to those environments.

From this perspective remote first makes a lot of sense. And while I am a bit older now I don’t think it would have been much different in my 20-ties.
Yeah, this post was very disappointing. I was expecting the author to at least attempt to fix everything, but they only did pretty much the low-hanging-fruit repairs over two posts.
This is why I like black, for Python. It doesn't have any configurable settings, which means way less arguments.
"the codebase had to be modified to work on both versions at the same time"

This. This is the only option.

I can tell you in decades of experience with I don't know how many companies and language, this is ALWAYS the option that is done.
You could get ESP32 and EspHome software, and turn the fridge smart in an afternoon.
Oh, so Project Gutenberg is still a thing? I used to use it until they blocked German users (context: they were asked to prevent access to certain pieces for German users but they decided to go nuclear instead).

Nowadays I just go to LibGen when I want to have a look into a book.
That LibGen doesn’t limit itself to works in the public domain is rather a feature ;)
I'm sure the UK staff will work for sovereignty instead of money
I'm pro EU, I'm not British, but it's too early to say.

My guess is that Brexit will be somewhat bad for Britain, but not majorly so and Britain will cope just fine.

The main way Britain could lose is from a geostrategical point of view and regular citizens don't really care about that (until it's too late). But who knows, maybe the "Special Relationship" will help.
Just wanted to add that I use Hugo in combination with a super simple CI/CD pipeline, and I just rsync the public/ directory every time the pipeline runs with the delete option enabled. This makes it relatively trivial to delete content after the fact, because I can just delete the content from the repository and have the pipeline remove it.
It was, it was branded "project fear" by the populist media
Sometimes it is the customers that need shielding from the engineers.

I remember a situation where defcon was raised to 2 when the head of our unit found out that a particular engineer went to a meeting with a particular customer on his own.
Don’t miss the video of the working prototype at the bottom of the post.
It's original name was cc (convert and copy). Because that is what it does. They could not use that name because that was the name of the compiler. So, they went to the next letter of the alphabet and named it dd.
This is not like we are asking GPT what is 2 times 3. It is not even a bug. Just that the author is using quantized multiplication which takes subset of floating point space and just makes all the value closest to nearest point. So 2 can be approximated as say 2.5 if there are few points. And that is not deterministic. Also it is a known thing that something like that could occur. It is just that neural network still seem to learn.
EU market may be big, but the UK is too valuable to just give up on entirely.