skysight-inc/HackerNews huggingface dataset:
I wish they didn't phrase it as being about removing a loop. If math.log10 supported arbitrary integer inputs, there would be a loop inside.

They should consider the upper bound of their algorithm. Because it uses floating point, it doesn't work for all natural numbers, as required by their specification.

To address your point, counting digits in base 2 is much simpler than in base 10, because the internal representation of the number on the computer is already base 2. You can use numeric calculations, but you can also just look at your digits.

(Edited for fewer tangents and to be more positive.)
Yeah, let’s hope that it’s IE6-sized, but not IE6-speed. Although I’m not ruling out a lost decade of web tech happening again.
It can’t be better - the US basically HAS no street food outside of New York.
We have two levers on the tap. One adjust temperature, another flow rate. I can't remember last time I've touched the temperature lever. Just open the flow and take a shower.

https://www.hanakat.fi/sites/default/files/imce/oras_sekoitt...
DNS blockers are nuclear option

Sometimes they are useful but in most cases you need more flexible solution
JavaScript – The Prototype Chain in Depth
Lack of white cheese is a real problem, I kid you not!
> My wife uses subway in Munich and there is no week without complaining about delayed or canceled trains.

At least there is public transportation at all, unlike in the US.
Of course there needs to be a clock that you then need to switch between daylight savings and normal time.
Please promote the guy who came up with the name "threadripper".
Off-topic: because of this, I was thinking of moving to Vivaldi and it's really sad how unpolished and slow their UI is... it's almost as if it was a beta, still. I wonder if they use it themselves...

It seems to me that they want to reinvent the entire Chrome UI but they don't have the necessary manpower to do it properly.
It’s not until I was forced to live in Europe due to circumstances that I realized that there exists a much better life than the North American one. Even though I’m in the East (Ukraine), everything is better here. Everything, especially the food, the prices, and the lack of racial tensions and militarized police. The only thing I miss here is trying to fill the emptiness in life with same-day Amazon junk delivered to my door.
Read Rust: Interesting posts related to the Rust programming language
You base your opinions on your own individual experience, which proves nothing for the whole system.
American fridges have falcon wing doors with door knobs instead of handles
Here's more context about the demo:

http://www.scottkim.com.previewc40.carrierzone.com/viewpoint...
I don't know if this actually helps Google show more ads. With a 30k rule limit, I'm imagining most adblockers will prioritize the most common ad domains, and I'm pretty sure Google would be at the top of that list. This may really be a win for the long tail of smaller ad networks rather than the bigger players.
Must be a good teaching problem seeing as it's generated such a large amount of interesting discussion.
"Mine just has a scroll wheel which goes from cool to cold."

It not having a touch screen doesn't mean there is no UX.
Yes it's regulations, but there's another factor too: population density. In Paris for example, you can find food markets where stuff is brought from small farms and is ridiculously cheap, right in the city central areas, though often hidden in the back alleys. The reason this works is that this type of commerce doesn't require marketing: local people just see it and use it. Only possible in higher density population areas.

I think this is one of America's problems: living far apart from each other has a lot of disadvantages and inefficiencies. Homes are much more expensive to build and maintain (just think of the road infrastructure and all the utilities alone). In a typical suburban there can be virtually no public areas other than shopping malls, which are owned by someone.

There's also research that confirms people are more productive in higher density areas from the point of view of economics.

We'll have to see if America can fix itself by moving to bigger cities, which seems to be the current trend among the millennials and younger, I hear.
Looks interesting.

The examples link here: https://ossia.io/libossia/ is broken.
Minor correction: one of the developers is working for Mapbox
JavaScript design patterns #1. Singleton and the Module
Could I have it please? I had one years ago that I've lost.
roenxi is possibly talking about the main residence CGT exemption.
> I've seen it repeatedly asserted that electric cars are so much simpler than ICE cars that their reliability should be much higher

That's only one side of the problem out of many. It has more to do with the general attitude and culture withing the company, which ultimately stems from wider culture.

Tesla is currently enthusiastically repeating all of GM's failures with their engineers screaming murder, and being dismissed.

https://www.google.com/search?q=tesla+welding+cracks
I am a bit surprised at not seeing any reference to Second Life in this article. Is this because it (quickly) turned to more "mature" themes?

I ask because both the exploratory and (more importantly) the build/customize parts were a big element of that - also, it is still active (I believe) even if not exactly "thriving" today.
> The cheapest studio apartment in Western Europe or Japan ends up with better infrastructure than the $2M duplex in California

This is a strange comparison, housing prices depend on many different factors and you can get really crappy small apartments (including the plumbing) in expensive parts of London or Monaco for that kind of money.

If the $2m home in California has mediocre doors and plumbing, it's probably just due to lack of attention/clue by previous owners, possibly also from abundance of crappy plumbers because everyone in the business makes plenty of money from rich people in the area.
That's true for the copyright claims, though not for the controversial videos that YouTube also demonetizes. Still, I'm not sure who would gain by taking away that option, and forcing them to decide whether to take down the video or not.

I guess it gets easier to claim "censorship", but on the other hand, it gets easier for YouTube to justify taking any controversial video down: they can just claim (truthfully or not) that they have no advertisers willing to pay, and therefore under the new rule they must remove the video altogether.
At least there are trains... and Munich in particular is slightly weird in that the subway (U-Bahn) is run by a municipal company and works very reliably given the amount of people they're moving, while the suburban trains (S-Bahn) are run by Deutsche Bahn and are often a mess at rush hour. In part that's due to the design flaw of having a massive central bottleneck.

Similarly for universities, the quality differs. Go to Munich's technical university and you'll see buildings in the top percentiles. Go to other universities and the substance is easily going to be much older - but then again, Germany sets its priorities to a good quality education without student debt, and the buildings themselves don't matter much for the education.

Generally, I feel like all these complaints need to be measured against what the alternative is. Which cities have a busy subway system where commuters aren't complaining?
When you spend money on your house the value of that house increases. When you sell your primary residence, it isn't caught by the Capital Gains Tax. So essentially if you are looking for a place to park money you have two choices:

1) Put it in your primary residence. Wealth is stored, no future tax liability, you are more comfortable

2) Buy a productive asset. Wealth stored, you will pay capital gains tax on the asset price rises due to asset inflation.

The most tax-effective place to store money long term is capital improvements to your primary residence, mainly due to how inflation and CGT interact. And the capital value of the property could reasonably rise more than the cost of the work done.

There are risks but there is also a lot of incentive to remodel the kitchen or upgrade something if money is available.
Whether direct or indirect, parental alienation harms families
I thought the problem was that YouTube won't give you money while keeping the video online and keeping the profits. If they need to take it offline, the perverse incentives disappear. It's in their best interest to take the creators' side by default so they can keep taking their part.

The ownership question is better completely removed from the publisher's hands. The problem seems to be that it's actually true that people "create" using patches of someone else's works without permission. The abuse of take down requests could be just the effect of an overreaction. YouTube won't waste time checking authorship so better take down everything right away at the minimum sign of trouble.

But really, can someone go against you if you have properly registered the ownership of the video? There must be some method of proof so you can prevent frivolous takedown requests without too much hassle.
I think this issue is kind of an opportunity. It teaches people about how different another culture can really be. I personally notice some of the nuance in translated works (into English though) and enjoy it. Based on these kinds of differences and word choice, it's sometimes possible for me to tell what the original language or cultural background (CN, KR or JP) of the translated work is. This kind of thing enhances the experience for me.
One important user interaction for a fridge is that when the door is open you grasp the handle and push toward to the body of the fridge, three things happen:

1) The door glides smoothly on its hinge toward the body.

2) The door connects with the body and provides haptic feedback that it is closed

3) The door remains closed.

The last one is the most important because user will likely walk away and stop monitoring the state of the fridge. If it changes to an open-state, it could remain open and thereby let the food inside spoil.
I read a Facebook blog post a few weeks back about how they integrate OSM updates. I forget all of it but they use satellite images and CV to detect if a road exists, as well as some other automated tests. I think they open-sourced it, although I can't seem to find the post now
As an outsider taking a quick look, this reminds me of the Apple Newton.

- Hard problem, immature technology that barely works as yet.

- Correct strategy would be vertical markets that have a particular need of the product, would pay enough per unit to pay for the R&D, would put it in the hands of professionals who can be trained to work around the inevitable bugs.

- Company instead unwisely aims straight for the consumer market.
It's the same thing at different levels of abstraction.

If you are from a locale where low-trust, feuding groups are interacting with each other but on a largely negative basis, and you're tired of it - then nationalism looks like something positive that can unify people into something more peaceful, and more capable of doing large scale projects together etc.

If you are from a locale where low-trust feuding nations are interacting with each other on a largely negative basis, and you're tired of it - then you want to develop a global structure which unifies them into something more peaceful, and more capable of doing large scale projects together etc.

What is it about nationalism that makes that particular level of abstraction become reified and hard to move beyond?
Frictionless Encryption
> foist crappy bread

A more charitable interpretation is "American consumers care more about price than quality."

Or perhaps it's a market for lemons. American consumers don't know which products are of good quality, and don't want to pay extra for the same quality, so they buy cheap to not be taken advantage of.

There is nothing stopping people from making good bread and chocolate in the US, and many do. They would/will succeed in the market if the demand is there. Trouble is, even though people will tell you they're willing to pay a bit more for nice things, for the most part those preferences don't come out where it matters -- in supermarket aisles.
The dynamic scaling version of cascading failure
I worked for years as an engineer and manager at a legendary Japanese corporation, known for their quality.

It was a frustrating experience. Their obsession with quality made even the smallest tasks difficult and tedious. 3,000-line testing spreadsheets, where even one failure pooched the whole deal.

But you can’t argue with the results.

Good quality is difficult and tedious. I like to think that the work I do is of exceptional quality, but I am often met with outright hostility by American engineers, when I talk about my methodology.

I’m not being snooty, or projecting onto others. I’m merely talking about what I do, and I’m treated as if I’m eating a ham sandwich in Temple.
Well, with the rUK at 48 million and France at 42 million, I guess they would have been much more equal. Probably England and France would have had about the same number of seats in Parliament. It probably would eased the Quebec situation quite a bit. But once they wanted to go their separate ways, I think it would have happened fairly smoothly.
He's fifty.
A lot of those parts are from third party suppliers (not that it excuses Tesla completely of course). I watched a video some time ago, where Musk was complaining that the big automotive parts suppliers simply didn't take Tesla seriously, and therefore it led to quality issues, in the video it was the quality of the sun flaps. It's probably due to Tesla shipping much lower volumes, and the big suppliers not being familiar with dealing with a supplier that has low volumes but aims to be a mass market car maker.
It's the same in the UK, where most of the bread you can get is basically intended for a toaster.

But, it's down to volume and consumption; in my country (NL), bread is a daily staple, often featured in two meals a day - so a family will easily go through a loaf a day. It makes more sense to optimize the production and logistics for a shelf life of days instead of weeks. We can get reasonably fresh (factory-produced) bread daily, and a lot of grocery stores have an in-house bakery as well nowadays if you want to go super fancy. (I'm sure that's a logistical optimization as well, that is, dough or its components are easier to transport than ready-made bread, especially because some (like croissants) are very fragile).
While this is technically accurate, the OP suggests more that they survived by eating their own corpses. There was just one source of ants to the bunker; living workers ate dead ones, presumably without murdering them first.
No the company which has solved some incredible technical/algorithmic problems is not capable of offering any technical solutions which might impact its own bottom line
> maybe [...] there was actually a legitimate, technical reason for choosing a restricted API

Without any further explanation that sounds rather unlikely.

The change is very publicly criticized and keeping legitimate reasons that could've increased support secret is a really counter intuitive strategy.

Apart from that I think it's not far-fetched or particularly conspiratorial to assume that an ad-company might have an interest in restricting ad-blocking.

"When you hear hoofbeats, think of horses not zebras."
What It Means to Be “Cloud Native” in the Storage World
Exactly. People in Germany think that if your train is late it is the end of the world. Their trains and subways tend to be very clean and punctual, yet very affordable. In the US this is not true. BART in SF nowhere near to the quality of service in Munich.
Seeing as Amazon are now Embrace, Extend, Extinguishing profitable open-source service providers that are the primary contributors to the projects, I think it's a good thing Datomic isn't open source, and that it's worth paying $30/mo for.
Eats lot of RAM, has limited number of extensions, doesn't support royalty-free VP9 video codec. Feature-wise better than Edge, worse than FF ( https://caniuse.com/ ).
Sorry, I can’t agree with your characterization. Obviously nitpickers exist, but the general community can be very helpful. Some people have strange ideas and expect everyone to go along, but everything is up for discussion.

Especially for people coming from cultures where confrontation or directness is frowned upon this leads to the impression that OSM is a fighting ground, but there can be no discussion without disagreement.
People are free to choose what they want but you mainly keep only the "main" surname from each parent.

I know in England there was a tendency of people keeping both names of powerful families[1][2], then as double-barreled surnames. Which then sometimes went a bit nuts a few generations later if they married into other double-barreled families [3].

I think it was when I visited Stowe School, the seat of the Dukes of Buckingham and looked at the family tree, that I even saw some surnames repeated if they married into other families which shared one of their multi-barreled surnames...

[1] https://www.theguardian.com/lifeandstyle/2017/nov/02/keeping...

[2] https://www.telegraph.co.uk/family/parenting/are-we-heading-...

[3] https://en.wikipedia.org/wiki/Richard_Temple-Nugent-Brydges-...
Shiny sounds right. In my experience with appliances in the US people either get the cheapest option or the option that matches the design of their home the best.

You hear people wanting stainless steel appliances...but never discussing their quality.
Our subway is good. I'm using it every day and just because one train is canceled doesn't mean anything because 10 minutes later the next one comes
> It's amazing how AMD, which once seemed a company on their knees, now seems to be kicking Intel's butt

That's how competition works. You are constantly making decisions, each of which could bury you, even if you was a total winner only yesterday.

Intel put its bet on own fab and single die design. AMD outsourced the fab and focused on chiplet design. And AMD gain a benefit.

Though Intel still has some advantage, and would move to chiplet design soon most likely, so we would yet see a very tight competition.
In a HN thread about bread some time ago, someone living in California protested that one could get top quality European style bread basically everywhere. I looked it up and the bread they recommended comes from a single industrial bakery that supplies the whole state of California.

So yeah, there's that thing again where they don't know that better is possible.
I'd speculate that it is because people still buy them regardless.

That may sound overly simplistic but I think there's an element of truth to it. Foreign vehicle companies needed to fight to gain market share in the US, often needing to be much better just to be compared as equals. Look at KIA recently doing so, now they're doing very well reliability wise and offer a substantial free warranty, but ask random people and they'll be described as unreliable foreign cars.

The real mystery is why Americans still buy American made cars. The foreign competition has eclipsed them for whole generations at this point, but yet demand remains.
Feedback about writing a technical book
Bees learn football from their buddies (2017)
Annie Leibovitz used the Pixel 4 to shoot a new collection of photos
DNS-based blocking schemes lack fine grained control. They're simply less capable than uBlock Origin/uMatrix.
Telling the truth is more important than being kind. We live in a reality that truth matters a lot more in the long run than not hurting someone's feelings.

If one cannot stomach the truth, they are in for a nasty surprise when reality kicks their door.

We all shall learn how to argue by ignoring emotions and use logic. Logic is the only way forward.
If there were Bats in the bunker, surely there must have been other insects (prey / predators)?

This is anecdotal, but a WW2 bomb shelter I saw was filled with beetles and other creepy crawlies in Scotland. Ok it probably wasn't as deep underground as a nuclear storage facility but life finds a way.
Considering Intel has already ditched barely-meaningful TDP for completely meaningless SDP (the "dynamic contrast" of processor wattage), I'd say it already isn't a comparable figure.
Pi-hole can't filter out ads that are embedded into the page though. I think adblockers have to be a browser extension to work conprehensively.
I moved earlier this year, it's been a good experience overall. The dev tools, which were what was holding me back, are _excellent_ and improving all the time.

Only thing I'd really love to see are container-specific windows, so 'Work' tabs would open by default in my 'Work' window.
It would have to not just understand scopes, but their sequential relationship. In most languages, scopes don't just exist, they are loaded, in a particular order. There are "top-level" effects that happen from loading a piece of code into compiler/runtime until the end. Maybe this is different in purely functional languages (though I suspect not at compilation level).
Four Tips to Tackle Unconscious Bias in Recruitment
The handle, the different compartments, the drawers, …. That’s all part of the UX.
Run GUI applications as normal user with docker over VNC with SSH
Show HN: Tiny and utterly useless ReactJS clone (exercise in minimalism)
Meanwhile me laughing in Firefox.

I hope no one here is surprised by this G was more and more anti ad-blocking for years now.

This is only natural conclusion after u are a de-facto browser monopoly.
On the Impact of Programming Languages on Code Quality (Oopsla '19)
We don't have one. I think you may have misinterpreted my comments above. Its all code analysis
That's pretty standard feature in Italy, it's called door frame and it's basically everywhere, even on cheap doors.

I didn't know it wasn't common all over Europe.
Maybe you should consider importing a consumer bread making machine from europe :)

(in case anybody wonders what that is, see:
https://en.wikipedia.org/wiki/Bread_machine)
Most people who become national leaders are not as foolish as Cameron. And a lot has changed since then. And without a ditch to separate them from their fellows across the way, it's likely that any attempt to Frexit would result in the EU being destroyed and then recreated. People live in the border zones - they're not just distant marches.
The article doesn't say why they have this rule, but I would argue that if you use the tag sometimes, then you might as well use it consistently every time you declare a struct. There is no harm in it.

I think some of the contortions around this might come from people who are afraid of polluting global namespaces. But struct tags and other names live in different namespaces. Your second example could just as well (and without using a __ prefix, which is reserved for the implementation and therefore, strictly speaking, is undefined behavior in user code) be:

typedef struct my_struct_t {
struct my_struct_t* link;
} my_struct_t;

or even

struct my_struct_t {
struct my_struct_t* link;
};
typedef struct my_struct_t my_struct_t;

Arguably, if you "own" the my_struct_t type name, you also have a right to declare "struct my_struct_t".
There is still a fair manufactured homes industry but the ones people want look more like regular houses than space pods. See for example https://www.manufacturedhomes.com/blog/top-10-manufactured-h...
UK housing standards, especially the plumbing, is a joke.

Tiles misaligned, not sealed off, some bathrooms have no tiles but a bulge-ridden plastic ground cover. All the cupboards are loose. Doors don’t close. I have to manually fuck around with the boiler to get water for my shower. And it still has low pressure. It’s atrocious.

No idea where that comes from. I have a feeling that there’s a disregard for craftsmen. Plumbers, joiners, painters, are all looked down upon. There’s no pride in doing a good job in these areas.