skysight-inc/HackerNews huggingface dataset:
I spent a bit of time learning the Myers Diff algorithm, (I made this page: https://blog.robertelder.org/diff-algorithm/)

Like someone else said, I think the key is that you're not getting the shortest edit script, you're just getting a edit script.

Interestingly, even git's implementation of diff (which uses a variant of the Myers Diff algorithm) doesn't actually find the shortest edit script by default. It has a hard-coded heuristic that just quits early if it finds a 'good enough' solution:

https://github.com/git/git/blob/master/xdiff/xdiffi.c#L143

Same this for unix diff (unless you specify the commandline flag to find shortest):

https://github.com/Distrotech/diffutils/blob/distrotech-diff...

Having said that, if you're still confident that you've made an improvement, you can port the function to python and try it out as a test case in my unit test file that I wrote when I developed my variant of the Myers Diff algorithm:

https://github.com/RobertElderSoftware/roberteldersoftwaredi...

On that topic, I'm pretty sure my variant of the Myers Diff algorithm is actually slightly faster/uses less memory than the original (I'd be happy to be proved wrong). At least, I've had my blog post up for a few years and no one has corrected me, but then again, I think the original paper has a few mistakes/obvious flaws and it still has hundreds of citations and no one has written much about improvements.
The problem to me can be summarized pretty simply: since unfortunately the USA doesn't have any law on the books to require political advertisement to be truthful (contrary to normal advertisement where it is enforced aggressively).

Considering how effective is Facebook at targeting individuals; you can do a lot of damage spreading lies on the platform. The question is moral: even if there's no law forbidding Facebook from spreading lies, should the company hold itself to a higher standard?

IMHO Facebook should do that, because it risks creating a lifelong enemy in the political side that's likely to win the next elections and as the Romans would say, Vae Victis.

https://www.factcheck.org/2004/06/false-ads-there-oughta-be-...
While AMD is already selling CPUs at 7nm.
The city and subway is dirty and hot in general, so dressing at work is just smart.
Is Bitcoin is the classic hedge for US-China trade war?
I disagree, I just think it's far easier for femininity to coop masculine concepts than the reverse. Just in my personal view, it can be seen as "cute" for a girl to have a masculine name which sort of juxtaposes their femininity against a previously masculine name.

Also in my experience, there is a lot more at stake for a young boy with a "girl's" name than for a young girl with a "boy's" name. Feel free to contradict me if you have the opposite experience. But I feel that boys would be teased much harder, and their masculinity would be called into question throughout their life simply based on their name.
The only copy visible fix was afaik reject in the bug tracker because you could switch the visibility on and off for a short time (<1s).

The don't allow changes to selection would mean if you mark something on a website and use a button to change it (change to a link for example) you can't do that anymore.

The proposed fix would be either easily circumvented or/and would mean a high risk of breaking working sites.

If you read the bug section the last comment explains why the proposed fixe are a bad idea.
I've used plenty of ATMs that didn't get the no bills larger than $20 memo. I haven't gotten a $100 out of an ATM, but plenty of $50s. Enough that for quite a while, I'd request $80, instead of $100, because it's less than what I want, but it will definitely be in bills I can use; $120 sometimes worked, if you knew the machine wouldn't mix denominations.
no, this is not so black & white. Lets take it in two parts 'Free' and 'Open Source'. One use of Open Source is to participate in science; define, expand, fork, integrate, extend. A different use of 'Free' is to become the standard upon which the infrastructure depends; hard game, but big results.

One author may steer or originate, but over time, Free and Open Source, is the work of many authors, many architectural components, and many network nodes.

Said another way, to understand the motivations of Free and Open Source, one must be able to see beyond one author, to the effects on systems, and systems of systems. Much of the benefits of both Free and Open Source, are not mainly to one author, but to systems, and over time.

This is important, as much of basic computing would not exist as it is now, except for sacrifice and insights by earlier authors and teams.
I do not understand why somebody would buy a Fitbit... I would never buy one. All the ones I owned were gifts. All the ones I owned broke in a way that showed a flawed process and engineering.

Their Bluetooth stack is sooo broken. The devices cannot sync if there are other Bluetooth devices around or only some very specific phones are supported.

Their forums are FULL of complains for the hardware breaking (ex: https://community.fitbit.com/t5/Charge/Fitbit-charge-battery... - https://community.fitbit.com/t5/Charge/Charge-band-falling-a... - https://community.fitbit.com/t5/Charge/Button-fell-off-my-ch... ) and updates that brick the devices (one of the recent examples: https://community.fitbit.com/t5/Ionic/Fitbit-OS-4-0-2-Firmwa... )... nevertheless people still buy them.

I think the only good things Fitbit has may be the community and that it is not easier to replicate.

I guess Google can buy the company at a bargain price. They could fix up the technical/process problems, create good devices and use the FitBit brand to sell to their user base.
Open Redirects in Misconfigured Mod_rewrite Rules (PoC for CVE-2019-10098?)
> long-standing, consistent cultural values of individualism and independence

Cultural values are a product of reflexivity. The very fact that they differ between places even in the absence of any difference in genetic material of individuals is very good evidence. After all it's clear there's no "Texan Gene".

And I'm not saying it's bad! It just is a part of reality.
Principal engineer: arrives at company, notices expensive Spark cluster, replaces with one server running shell scripts

Double digit-strong data science team: speechless
>i.e. actually do something about the thefts

When that time comes I'll change my position on the matter.
Oh. Haha. Looks like I learned something new today. Thanks for the info!
Krishna is a river in India. It's very common to name daughters after rivers in India. Ganga, Yamuna, Godavari, Kaveri are more common feminine river names than Krishna, though.
> I would not delegate censorship of what I may read or watch to a non-elected political body

Who said anything about censorship?

What I proposed has two parts. One, when a political ad is bought, it must wait a certain amount of time (I propose a week) before being displayed. Two, immediately on being bought, it must be made publicly accessible in a permanent database.

The latter lets anyone fact check the ad. They DON'T get to take down the ad. But the public gets time to evaluate it before it's blasted to users. This deters micro-targeting groups with misinformation. It also creates a public record of what a campaign has said to whom, for contemporaneous and later reference by the public.

A lot of people got triggered by the term "journalist." I'm using that term broadly, to include anyone from a hobbyist with a blog to the mass media. I fundamentally disagree with censoring political speech, even lies. But the current system is unworkable. We need heightened and broadened disclosures for micro-targeted ads.
After realizing TSMC and AMD surpassed them and are aiming for their lunch, looks like they got their ducks in a row and are coming out guns blazing.

This will probably satisfy big clients and partners. Long term it will depend on whether AMD can keep up the pressure. Good times for CPU buyers.
I agree with your overall definition. In fact, the dictionary definition of compile does also suggest that you are transforming to a 'lower level' so, in strictness, there is a need for a word to fill the void that you suggest transpile provides.

But I do wonder about the actual usefulness of the distinction. If someone says that they compile Typescript to Javascript, I'm not sure that anyone is going to be confused about what is meant, even if violates the letter of the dictionary definition.

Ultimately, english is fluid and is always correct as long as those in communication are able to understand each other. For transpile to be a useful word in the toolbox, there must be a circumstance where compile cannot be used to convey the same idea. When might that be?
> you can no longer tell users apart for abuse detection purposes

s/abuse detection/tracking

As a user, this sounds like a feature -- but really, there are a ton of other metrics to track most users by (assuming we're talking about abuse done via the actual website interface rather than just flooding ports with packets from a specific IP).
FWIW, I felt the same way transitioning to working within a software development team coming from a world in which my work was done much less tracked while still in progress, however I eventually realized that 1. typically no one is watching because they are aware of the structure of the workflow and that doing so would be inefficient, and that 2. when they do, there's little reason to be shy about it since anyone paying attention understands it's a draft and all that encompasses.

Maybe consider labeling the files that are in progress as such?

I've now gone fully the other direction and will open draft pull requests as soon as I start committing code, knowing that I have nothing to lose from doing so and often end up being saved time and with a better finished product sooner when someone whose intuition probably told them to peek at this particular piece of work for a reason.

TL;DR - You can get used to this and even grow to prefer it. That said, design is not engineering and I may simply have Stockholm Syndrome.
To be fair they measure them differently.

For reference, Intel 10nm has slightly higher transistor density than 7nm TSMC or Samsung

https://www.techcenturion.com/7nm-10nm-14nm-fabrication
Is that actually true? How would outside traffic get through a NAT?
One that sticks in my mind was the help file for mIRC, as a kid trying to script my irc client, it was pretty damn useful.

(Of course moved on to ircii, bitchx, etc.)
Huh now I'm curious where you live that they don't do this? In Canada 50s and 100s come out of the ATMs. In Japan, you get 10,000 yen (~$100 USD) in ATMs.
Have you tried Zeal or Dash?

I think you can convert CHM to ePub using Calibre, then convert from ePub to whatever you want using pandoc, then import that into Zeal?
The price has been rising steadily since August. I think by the time you read about it on Hacker News, the smart money has bought already, and the price of the ETF is as likely to go down as up from here.
Wide character in print at -e line 1.
The people that want to break up Facebook are the same people that want Facebook policing political speech. I don't see the conflict of interest on Facebook's part in this regard.
I think it’s important to mention that Elizabeth Warren is displaying a blatantly false ad to illustrate this exact point: she thinks that it’s ridiculous that Facebook is airing obviously false ads and has no accountability.
Ask HN: Cloud Hosting for Intermittent Tasks?
I have a personal project (a raytracer) for which testing means the occasional high-compute job that takes a long time on my workstation and makes it very hot (and unusable for anything else). I'm wondering if there's a cloud hosting provider that offers pricing for intermittent high-workloads. Ideally it would be priced based on compute time, but otherwise it could be by the minute or hour. I don't want to pay a full monthly fee for resources that are only used a handful of times in a day a few days a week, and this being a personal project it isn't large enough to scale up and down at the level of a cluster.
updates after 2012 - are in the ebook version for Kindle (read the important announcement section to see how to obtain it)
That's because the rules are unjust. The cars shouldn't be there, for the most part, and the ones that are there should be driving slowly and carefully and paying for the privilege of commandeering space.
You've brought back some painful memories for me. I'm permanently allergic to the words "lindex" and "upvar", and cringe whenever I see a "," character in a URL...

Vignette's only redeeming qualities were that: (1) the page templates permitted the execution of arbitrary Tcl code, not just the small subset that was documented by Vignette; and (2) much of the Vignette functionality was itself actually implemented in Tcl.

This led to the glorious discovery that one could simply bypass the entire crazy Vignette system and use it like a very expensive (and somewhat slower) AOLserver. I sometimes feel sorry for the poor souls who inherited my terrifying and entirely undocumented creation, but that's what happens when management forces developers to use the entirely wrong tool for the task at hand. ("We spent $100k USD on this software so we're damn well going to use it!")
Indeed. For scripting languages, it's usually Python people moving to go and Ruby people adopting Elixir.
This season is the last one of Startup and it does indeed cover their sale to Spotify.
First time in hearing about a barber being able to spread HIV and my anxiety is now through the roof, having left haircuts with minor cuts from tapering my neckline etc. with no sanitization between customers whatsoever.

What is the likelihood of a barber passing an transmissible disease? Any stats? Thanks.
To play the Devil's advocate a bit, I feel like your comment is just arguing about definitions.

Cosmological models of the early universe tend to naturally break up into several phases, e.g. the inflation period, baryogenesis, and (much later) nucleosynthesis.

Given how sketchy our data gets the further back we try to probe, it's certainly not unreasonable to say that "Big Bang" refers to the point at which inflation ended.

Heck, even inflation itself is something that's hotly debated, and the search for evidence of an iflation field is an extremely active area of reseach.

> According to the current understanding...

Feel like you've been misled. What you describe there is a summary of an idea for a model that is particularly beautiful mathematically.

Once we have a solid, evidence-backed model going back so far, I suspect the Quantum Gravity nut will have already been cracked for some time.
A better example would be:

- Apple:
https://developer.apple.com/documentation/coreimage/cicolorc...

- Microsoft:
https://docs.microsoft.com/en-us/dotnet/api/coreimage.cicolo...
Great stuff, as always. I liked this quote:

> If you expect failure to happen on an external service, do not make its presence a guarantee of your system. We’re dealing with the real world here, and failure of external dependencies is always an option.
I think that in your examples "Austyn" and "Tristyn", the POINT of the "y" replacing "i" is to signal that the name is feminine. Namely, you're having a girl but want to name her Austin, but not have her be assumed to be male. Therefore, roughly 40% of the time you choose Austyn with a "y" (if my calculations from your ratio are right; 85 girls Austyn, 129 girls Austin).
The source would know how to render it and could provide the OS with some kind representation when asked (basically drawing the contents of the preview window).
Are letter frequencies and scoring adjusted for Scrabble in different languages?
> The proposed fix would be either easily circumvented or/and would mean a high risk of breaking working sites.

It wouldn't be harder to circumvent if changing the text (including the visibility thereof) between the start and end of the selection caused an automatic deselection. It shouldn't break any sites, either, unless those sites are doing fishy things or are already poorly designed (which - again - would warrant the torches and salt).
Uses want to pay for (managed) services, not software. The rise of AWS and cloud and downfall of on-prem licensing models over the last decade has proven this beyond any doubt.

It's completely a failure of vendors to keep trying to sell software instead of competing on the services. The ones who have rolled out their own offerings are generating plenty of revenue, but the overall breadth, flexibility and quality of is still rather poor. I don't understand why these vendors are moving slowly here. They're the best at running their own software. Writing some blog posts isn't going to fix anything.
A GUI framework for C# console applications
To be more pedantic, it's actually the product of [amplitude] times [complex conjugate of amplitude][0]. Confusingly, this is sometimes called the "square" of a value - usually in contexts where complex-element vectors and matrices are involved, since most[1] real-element formulas calling for matrix transpose (dot products[2] are a special case of this) actually want conjugate transpose[3] but didn't notice because conjugate is identity on reals.

0: zz* = (z)·(z*) = (a+bi)·(a-bi)

1: Possibly all - I have yet to happen across a counterexample.

2: https://en.wikipedia.org/wiki/Dot_product#Algebraic_definiti...

3: https://en.wikipedia.org/wiki/Conjugate_transpose
Why can't both be a factor?
Brings up my observation, how much brutality are you willing to inflect on people for esthetic reasons? Or being problematic. Lot of people are problematic. The worst of the worst usually have power.

Say what one might but a middle aged junkie lady with a sock full of smack isn't going to bring the roof down over our heads.
DuckDuckGo Terminal Interface
I think order accuracy is an advantage of online ordering as well. It removes the chance that somebody mishears you, etc.
It would be quite deadly if they opened early. There was no need for automation.

Some time after the second wreak, NASA added the ability to run a cable for that. The idea was that a rescue mission would be launched, and the cable would be installed in the abandoned shuttle to allow a landing attempt.

BTW, the first mission was flown manually. I don't think the landing software could have been written without data from the first flight.
Thanks for the Heinlein reminder. For some reason, The Moon is a Harsh Mistress has been in my thoughts, but I couldn't really say why....
I wonder if this is a driving force behind why Cognitect has kept Datomic closed source. I’ve seen people rally against Datomic more than once for that reason, but honestly, how can you open-source something truly unique and monetize without a large risk of cloud provider hijacking.
I don't agree at all. The current trend is for cloud providers to create k8s operators as a way to lock you in by using cloud services in the background. The Spark Operator for Kubernetes is one example of this that was created by Google. It seems like all the major clouds are doing it (I don't actually have an Azure example, but I imagine you could find some).
And windows basically sucks, in no small part due to the historical baggage it must carry. That and it’s not nix
Large scale, no, but succesful in New York to bridge two power grids.

https://hardware.slashdot.org/story/08/07/12/0135227/superco...
Why Disney+ Quietly Launched in the Netherlands First
Are you the /dev/random guy? If so thank you for all the countless times I copied it as skeleton kernel /dev code. :-)
I mostly like being able to see the price calculations as I order. In the restaurant it’s always unclear if the extra cheese or whatever is going to cost you.
'This is a transpiler' gives me a massive amount of additional context compared to 'this is a compiler' - likely structure, implementation techniques, output. Not all transpilers will fit this usual structure, but if they do you can tell me by changing this one little word. Powerful communication tool, I think.
A fast jogger will go from 8-12mph.
Why should the company sell SMS in relation to its cost? The seat selection on a plane costs literally zero for the company but people pay like 50 USD to seat at the front.

A phone company just needs to find creative ways to earn profit. Why is it evil?
I can't remember an ATM that I've used in the US that dispensed anything other than $20 bills, in a very, very long time.
Funny thing is Microsoft has much better documentation on Apple's very own frameworks. Simply compare their documentation on this arbitrary type (CIAffineClamp):

Microsoft's Documentation:
- https://docs.microsoft.com/en-us/dotnet/api/coreimage.ciaffi...
- https://docs.microsoft.com/en-us/dotnet/api/coreimage.ciaffi...

Apple's Documentation:
- https://developer.apple.com/library/archive/documentation/Gr...
We get it, you hate the US and love China.
So SMS should be free and mobile companies should just charge more for data, to earn the same profit?
As though requiring the ownership of a five-figure polluting death trap simply to live and work isn’t its own form of wealth-based oppression.
The SwiftUI tutorials also have quiz questions at the bottom to test your understanding of the tutorial. Never seen that before but seems like a great idea

https://developer.apple.com/tutorials/swiftui/creating-and-c...
Isn't that a result of acquisition, not recruitment?
‘.. [Intel Software Guard Extensions (SGX)] is what supposed to be secure inside Intel ships" [but, it turns out it's] really porous. You can see right through this thing."’

Have a second system that boots and secures the rest of the computer and then switches itself off. As in there is no combination of instructions that can access this second system. A bit like the Intel ME except it's actually secure from remote activation.
So if planned parenthood runs an ad inviting people to join their network of supporters to protest in support of a right to abortion - would that be paid political speech in your eyes? How about if the Catholic Church runs an ad for a pro-life YouTube channel?

It's easy to say things like "not be a platform for paid political speech". I'm sure you have a clear cut line in your head and it makes sense to you. But to expect a large corporation - or some thoughtful government committee - to draw that line with any consistency or articulable principle seems incredibly naive.
This line of reasoning seems to conveniently “forget” that time = money for most people.

I’ll prefer OSX or something nonfree if it saves time and is consistent. This is something that differentiates idealists / hobbyists from actual professionals.
I think it's an argument somewhat like the "don't water your lawn in a drought" argument - even in aggregate, domestic/consumer impact is miniscule. 2005 numbers say that domestic water use is 8.5% of freshwater use, and of that, irrigation is at most 5.3% (the "other" category). Yet we in California were told to let our lawns die or given money to convert to high-efficiency landscape.

An average shower uses 17 gallons of water. A single pound of almonds uses 1,900 gallons.

Anyway, all this to say that I think the GP's argument is convincing.
I remember as a kid in the early 90s cashiers would hold $100 bills up to the light to make sure they were real. But there's been so much inflation since then... when will we stop treating $100 bills so carefully?