skysight-inc/HackerNews huggingface dataset:
It's useful for any and all operations that involve indexing a range.

Yes you locate the specific indexes by using extended grapheme clusters, but you use the retrieved byte indexes to actually perform the basic operations. These indexes can also be cached so you don't have to recalculate their byte position every time (so long as the string isn't modified).
First, are the programs insanely expensive is a question that needs to be asked. I have no doubt there is waste to cut, but overall, a modern fighter much be complex. A WWI fighter will lose against the more complex fighter every-time, which will lose to the 1950s fighter (The jet engine was just becoming workable at the end of WWII, if the war had gone longer what I'm calling a 1950s fighter would be late WWII). And so on. A modern fighter must have high R&D, and overall we hope to only need a relatively small number of them, which makes it really easy to do division on a per fighter basis and get a really big number.

The incremental cost of a F35 once you have designed it isn't too bad (and it could be made a lot better if it was worth a larger assembly line to make more).
> I don't really understand your comment.

If you don't then you fail to appreciate the amount of labor it takes to thwart bad actors from ruining indexes. Abusers do publish to the web, and we enjoy not wallowing in their crap because small army of experienced and expensive people at a select few Big Tech companies are actively shielding us from it.

It's easy to anticipate the malcontent view; 'Google spends all its resources on ads and ranking and we don't need all that.' That is naïve; if Google completely neglected grooming out the bad actors people wouldn't use Google and Google's business model wouldn't be viable.

So the obvious question is; where is this mechanism without Google et. al? Will the published caches be 99% crap (and without an active defense against crap you can bet your life it will) and anything derived from it hopelessly polluted? If so then it isn't viable.

Now the instinct will be to find a groomer. Guess what; that's probably doomed too. No selection will be impartial to all, so you get to fight that battle. Good luck.
I stopped using Instacart when they were unable to deliver an order in the time windows I selected and then unilaterally changed the time to a time when I was not going to be at home. I complained and they insisted and eventually the food was left outside for hours until it went bad.

A shortsighted decision on their part. Because right after they took that stupid decision I stopped using their services forever and have told everyone I know to do the same.

Plus, sometimes you want to buy one thing and add extra stuff to your cart in order to meet the minimum order value, and they do not have the one thing you were interested in on stock and you end up wasting your time.

Amazon is much better at estimating stock and much more reliable. Amazon customer support is better and prioritizes long term relationships with customers over short term revenue.
Thank you for that tip. I can't tell you how many times I've wanted to clear cookies for a site and done it the roundabout way: go into settings, search for "cookies", remember which of the four matches under "privacy and security" is the one that works (and not the seemingly obvious "clear browsing data"), type in the domain, and go from there.

Your trick of clicking the padlock (which I assume also works on the warning icon for non-HTTPS sites) is so much easier!
relates closely to the recent "Only Google is allowed to crawl the web"[1][2] post.

[1] https://news.ycombinator.com/item?id=26592635

[2] https://knuckleheads.club/
For anyone seeing this, I tried to help Medium solve this coming from the other direction, which is to make it an over the top good value for HN readers to not only log in but also pay for the $5 subscription.

That's really what Medium aspires to be--a place worthy of a five dollar subscription.

Many people here probably end up on Medium repeatedly via Google search and yeah, the results are mixed. But also, it's worth noting that a lot of those results wouldn't exist at all without Medium paying and encouraging writers and editors.

What I hoped would start to take Medium over the top though was the addition of all of The Pragmatic Programmer books. That was paid for by other tech people who had already subscribed. (And I played a role in bringing them on board).

There's more coming. But overall, this is 100% Medium's direction and belief that a soft paywall is a better business and a bigger win for all parties than free & ad supported. So this paywall isn't going away, and it's really on them to do more to justify it.
I'm picturing a fleet of a few thousand hobbyist drones.

It would sound like a massive angry swarm of bees.
Yeah I hear what you're saying. However, I still don't think it would be considered genocide in the conventional sense because the woman is not being compelled to have an abortion, it is an individual choice.

Even if the percentage of women electing to have an abortion is high, they're not acting as a singular cohesive body with the collective goal to eliminate all children having Down syndrome.
Congratulations on having a daughter! I'm sure she will bring a lot of joy to your life. There will be challenges, but you will take pride in her accomplishments like any other parent. The experience will be rewarding. Cheers!
Also: Why do we need modules at all? by Joe Armstrong

http://erlang.org/pipermail/erlang-questions/2011-May/058768...
Thanks for this (and parent reply for mentioning it), that's simple and clever!

> The basic idea is not complex: when we delete an element, we move the next element to the deleted location if it is pushed away by the deleted element due to hash collision; we repeat this process until we come to an empty bucket.

I wonder, is it still amortized constant time? My gut (which is not very good at computer science) tells me that it still may be, as with an average probe length of ~1.4 (which I was seeing), you won't have to walk more than 1 or 2 elements on average.
Ok, if it's already calculated into the officials' salaries (the same way as waiters get paid less, because they get tips from customers), then they should at least give you a receipt for this "tax payment"...
Disclaimer: being subjective here and not too attached to the opinions, I waiver between words having independent meanings or defined by uses (a more Wittgenstein-esque approach, at least at my limited level of understanding)

I think that those could be grouped together but would require a new category that may or may not include water skis or wakeboards. Another condition i was thinking about placing on boat was a steering mechanism akin to a rudder but then realized rowing shells often don’t have those although I’d consider them boats.
PDF is a nightmare format, including such gems as javascript IIRC; it's not surprising that it can be used to make exploits in reader software.
> I do not want the government deciding "what purposes" e.g. non-commercial, serve the public good. The public gets to decide that.

the public's "decision" on things like this is made manifest by government policy, no?
Wow news just in, employees are happy with competent managers.

What. A. Surprise.
>Multiple manufacturers do artificially limit the performance of their engines as market segmentation

I don't think it excuses it, TBH, especially if they offer it as an "upgrade" later. If I own a car, I want to be able to access all its physical features, which includes all the performance I can squeeze out of it.

Software stuff, like satellite radio or even Tesla's self-driving updates? I can understand the model, though I believe those should be tied to the car instead of the user like they are now. That way you'd be able to sell the car and those licenses are not wasted money. But if all you get is a software update that tweaks some numbers to unlock something the car could already do... then we have a problem.

I really hope the "right to repair" movement picks up, so car software modding becomes more commonplace.
Yes, but when you put it like that, it feels like D makes use of a certain hardware protection unlike other languages. The article states "none" for those cases.
>There is no business tax if you buy a house and rent it

Rental properties pay property tax whether or not the business is profitable, and if the business is profitable, then the profits are also taxed.
Having data in the right format as a download or via an API would be the best way to go for public data.

If people have to 'scrape' that data from a public resource, I'd say they're presenting the data in the wrong way.
The UK has done the costings and VTOL is cheaper.

You need a much more expensive training pipeline to get pilots who can do arrestor wire landings and they need to keep practicing it, doing this also results in more accidents which result in the loss of the aircraft.

The VTOL system also allows a country to more easily switch pilots from being based on land to using the carrier.
> If you wanted to implement a toUpper() function for example, you would want to iterate over all the codepoints.

Nope. In order to deal with special casings you will have to span multiple codepoints, at which point it's no more work with whatever the code units are.
This is a forum sponsored by opinionated people who find them annoying. I find them annoying, too, so I think it's a good convention. Somehow ":)" became an industry, and as industries go, then eliminated ":)" (which gets replaced with a smiling yellow head in most places.)

It isn't the only arbitrary convention enforced here, and the sum of those conventions are what attracts the audience.
Really hoping Smallnetbuilder is back in the game, reviewing routers. Used to be an invaluable site but not a lot of updates these days.

On another topic, pretty devestating that OpenWRT runs on only one of these routers, the slowest/oldest one, the Netgear Nighthawk X4S aka the R7800, which dates back to 2016.
Performance is one reason. UTF-8 is up to twice as compact as UTF-16, which allows much better cache locality. And for Latin-like text, you’re probably frequently hitting the 2x better limit.
> But then, I don't know of any approach to interviewing that I think is fair

The companies that think deeply about interviews are aware that their interview is biased, and they do so intentionally. At a certain point watching 5 good engineers not meet the bar is better than having 10 bad engineers get through.

Maybe the 'right answer' is to let your needs drive the bias of your interview. Do you have a position that needs to deal with immense pressure with management breathing down their neck? Bias your selection with whiteboard interviews. Are you looking for a principal engineer that can drive adaptation and change in a large org? Bias your selection process to get that.

tl;dr Maybe the issue is the one size fits all thinking to the tech interview.
> I imagine that they mean something like this (which is also almost valid prolog, and mozart/oz, and some others)

Kind of, but notice that I mentioned receive statements. Those are important. I'll show what I mean this time, because I guess people aren't picturing what I'm describing:

https://gist.github.com/tsutsu/5543bcaec4448b1de0023fbde31c8...

(Got way too long to fit in an HN comment.)

> they start to act like something adjacent to types

Not just "adjacent"; automata are monoids!

I think I saw a language reify this concept once — where you were able to declare an abstract state-machine interface/protocol, and then the compiler would check that for implementations of that interface/protocol, each function actually has the proper precondition states (i.e. only reachable from those states' functions) and postcondition states (i.e. has live code-paths reaching exactly those functions.)

Interestingly, I think it did this with individual types for each state-transition function, rather than there being a single higher-level type for the digraph of functions.

Anyone know what language (or maybe it was a computational proof assistant) I'm referring to?
> But you're not going to find too many organizations staffed entirely by those people.

The number you are looking for here is zero, at least for organizations of any size. With a bunch of luck and money you can put a small team together like this; otherwise they are just too scarce.
These arguments are silly. If you’re competent you’ve got nothing to worry about. If not, then something to work on.

Incredible hiring risk aversion is what makes finding a job for everyone a shitshow. Definitely not an efficient market as it stands.

If it weren’t for an easy to hire organization that gave me a chance, I’d likely be homeless.
I tried a couple and ended up settling on Feedly.
Also does the same in reverse with the door open fwiw (hard to back up with the door open looking back).
Interesting. Ive only looked into Wyoming and Illinois. If I pursue this path, what should I do to prepare?

Thanks
Time for Answers About Those Intelligence Reports DHS Filed About Me
I didn't know about this.

I can't open the link, but I read https://www.nytimes.com/2021/01/26/technology/tony-hsieh-dea... and the whole thing seems classic untreated bipolar disorder.

I wonder how much of SV shenanigans can be attributed to manic breakdowns. There was already a "hypomanic advantage" meme going around a while ago; and, of course, thinking you can slightly toe the line towards a controled flirt with mania is classical bipolar anosognosia.

PSA: For many years, I self-administered the Young's Mania Ratings Scale everytime I felt the scales begin to tip. It's very short and impressively insightful. You might not know what mania is actually is, and if you live a high-intensity lifestyle you owe it to yourself to take it just once:

https://psychology-tools.com/test/young-mania-rating-scale
And on the other hand, Bing is running on the first preview version of .NET 6.

MS is a big company, they aren't going to immediately migrate everything just like Google didn't migrate every single project to Go when they were heading it.
Does anyone know the history behind why there’s two ways to “encode” things like that? What’s the rationale for having both combining and precombined codepoints?
UK tech salaries are heavily bimodal I think. I don’t know anything about you or your situation but whenever I see a Brit say that they think 60k or whatever is all that’s available to them I point at job boards like oxfordknight.co.uk to help broaden what they’re seeing as possible.
There are commercial services that do this but not cheap. One that comes to mind is ThousandEyes. [1] You can use their probes and/or install your own. They are also useful for seeing BGP changes across the net correlated with routing problems, latency, etc...

[1] - https://www.thousandeyes.com/
The only issue is that:

"- As you’re observing it, notice who’s doing the observing.

- That’s all there is to it.

- In that moment, when you observe the observing, you are the observing self."

means nothing. What does this mean? Look in the mirror? Focus on your breath? Repeat the thought you just had? None of this leads to any sort of depth that is often claimed.
I find their performance characteristics easier to naively understand without resorting to profiling with production data.
It's a great story of redemption.

But I can't help noticing that a convicted murderer can redeem himself and be honoured with prestigious appointments; while vague allegations of remote and relatively minor misbehaviour are considered enough to demand someone's removal from any prominent position. Isn't that absurd?
Yeah. I had experience in the 3 ranges. Most of my life was in a 'good pay, but nothing too much' - which would probably translate as in the 40-70k. That was back in Brazil, so numbers don't just convert as easily.

For that range, you are glad you have a decent pay, and make more than MANY people, but still care for more money, as you will not have much left for extra spendings like travel, buying new shiny things, getting a new car (in Brazil), or in case of an emergency.

With 100k you can stop thinking about getting more money and at least not have that as a goal. Which of course is liberating and make life so much easier. The difference from 50k to 100k is way bigger than 100k to 150k.
Show HN: A fast, feature-rich crawler for Go
Other Air Forces have used it, Canada and Australia. Germany is thinking of getting some.
This is published by "MIT" in about the same way that an editorial in the Washington Post is published by "Amazon".

As the first sentence of https://en.wikipedia.org/wiki/MIT_Technology_Review says:

MIT Technology Review is a magazine wholly owned by the
Massachusetts Institute of Technology, and editorially
independent of the university
Yeah, good point. And then you can allocate the hash table struct and all your buckets in one call to malloc().
See that's what I do mostly. Most often it's "here's a table of data I have, how would you compute this report." Not things like inverting binary trees or implementing hash maps.
An alternative but similar idea, apply your own algorithms to a crawler/index. That's half the problem with these large platforms commanding the majority of eyeballs, you search the entire web for something and you get results back via a black box. Alternatives in general are most definitely a good thing.

Knuckleheads' Club at the very least are doing a great job of raising awareness and the potential barriers to entry for alternatives.
This is great, but man, it could really have benefitted from some inline audio.
But Google, Yahoo and Bing are also monetizing the data. Why are they allowed to provide “benefits” but “scrapers” are not? Why is it wrong to monetize public data?
Also a senior engineer. I tried factorio demo out for maybe 30 minutes, but hated the fact that I actually have to walk the engineer around and do menial tasks like resource collection myself. Why can't I just do stuff with mouse cursor like in most other top-down strategy games? Maybe the game changes in later stages, but the demo seemed to be full of nonsense busywork that is prevalent in survival games.
> People who are willing to negotiate should get a higher salary.

Why? You seem to be saying that willingness to negotiate is something an employer should value and therefore remunerate more. Why should they value that particular skill?
Negative electricity prices are not inherently a problem. They can mean a nuclear plant paying a wind farm to curtail production so that it can ramp its own production slowly, but there is nothing inherently bad about that.

And they are a huge opportunity for every electricity user who can time-shift consumption: every refrigeration device, every thermal device, battery chargers, data center UPS banks, you name it.
Redhat 'thanks' the man that they owe their business to.
I just did a search => this article (Dec 2020) sounds funny: https://www.cbc.ca/news/politics/f18-fighter-jets-canada-aus...

> Only three of seven F-18 fighter jets purchased from Australia by the Canadian government have been integrated into the air force so far, and the Department of National Defence says key upgrades to as much as one-third of Canada's fighter force will take up to five years, according to documents recently tabled in the House of Commons.

> The slow introduction of the used warplanes — meant to bolster Canada's existing CF-18s squadrons — and the long timeline for radar refurbishment have the opposition Conservatives questioning the value of the interim fleet.

> When it first announced the plan three years ago, the government said it expected to keep most of the existing CF-18 fleet flying until 2032.

Is the article correct? Anyway I'm not laughing because here in Switzerland we have as well to replace our relatively old F-18 which might generate a huge debate with the potential result of nothing happening (F-35 is as well one of the candidates, but I've personally always been against it for various reasons).
Well then they can't nag users to donate to Jimmy Wales' trust fund.
Because everyone should have the right to try and extract as much wealth as they can from a company who is extracting as much value as they can from an employee.
The new Insta360 GO 2 would probably work really well for these type of videos:

https://www.insta360.com/product/insta360-go2
It isn't a company's responsibility to create a well-functioning nation.
I'm starting to wonder why they don't just install proper toilets in the delivery vans. Those vans should be big enough, and while camping toilets are a bit gross, they're a lot better than peeing in a bottle.
China has a branding problem.

A network of concentration camps, forced labour and forced sterilization is more than a branding problem [1]

Given the scale of abuse, you could argue that it is branding success.

[1] https://www.theguardian.com/world/2020/sep/04/muslim-minorit...
The most memorable rich snippet humor I've seen is a horse breeder sharing a story of how her searches gave snippets with my little ponies as the preview image.
Nope. All the methods should clearly name the functionality. No guess work. It reads like prose.
Here in Lithuania it's the complete opposite, but given all ownership records are max 30 years old, it makes it a lot easier :-) A lot of GIS data is open to the public (no registration required) such as boundaries and utilities. There's even a mobile app.

I am somewhat surprised how much data is open, it even shows you substations. If you wanted to sabotage the electricity supply for an area it would show you how to do it :-)

https://regia.lt/map/regia2

(Turn on different layers in the menu on mobile)
The value placed on a good is measured by what a person is willing to give up in exchange. Naturally only those things one actually has available to give up count—not what one thinks one might be willing to pay in a hypothetical world where affordability is not a concern.

The millionaire just has a longer history of already having given things up to amass that much money which they can draw on in exchange for goods later. (Or, in the case of gifts/inheritance, others gave things up on their behalf and for their benefit—which amounts to the same thing.) That's exactly what money represents: more value provided to others than the owners have claimed for themselves.
Cling: Beyond Just Interpreting C++