skysight-inc/HackerNews huggingface dataset:
People hit this so much, it's maddening.

In this case, they're using Google Fonts, which already does the latter: https://fonts.googleapis.com/css?family=Poppins:400,600

Testing this on my own, I'm not seeing a difference between safari/chrome/firefox on macos. If there's only 400 and 600 weights present, they use the 600 for bold elements. If there's a 700, they use that. You only see faux bolding when there's nothing provided in the 600–900 range.

I think the difference here might be moreso about browser font handling on windows? Though I'm still not sure how they got to the bold result at the top of the screenshot…I wouldn't expect safari to apply a faux bold when the 600 weight is there, and that sure looks like the proper 700 which apparently wasn't being called.

Sidenote: I didn't know about the font-synthesis property until this. Looks like it is intended to prevent any sort of faux bolding or faux italicizing from happening. That's cool.
As another commentator said, the problem is often less the person and more the fact that saying 'I don't know' is a massive negative in most interview settings.

It was something I noticed when I was interviewing for job positions. Any time I said 'I'm not sure' or 'I don't know' and followed up with 'I'd have to look at the manpage' or 'look up the documentation' either the interviewer would express disappointment or continue to press the question in order to get even a wrong answer.

Many interviewers are looking for you to perfectly regurgitate canned answers rather than admit when you don't have something memorized.
Cancel culture is a modern day equivalent of 17th century mob with pitchforks passing judgment based on rumour and questionable evidence.

The more interesting question is, even if everyone comes to the conclusion that this isn't right or just, can something be done about it? In 17th century mobs could be controlled by armed forces. Internet mobs cannot be controlled.
Google used to allow that like 15 years ago.
I got nerd-sniped. Lets see...

y[n] = (x[n] + x[n-1]) / 2
y = prefixSum(y);

I'm pretty sure prefixsum over Y would solve the problem (see: https://en.wikipedia.org/wiki/Prefix_sum#Algorithm_1:_Shorte... for the Vectorized solution to prefix sum).

Without the addition of y[n-1], the first line is now trivially parallelizable by most auto-vectorizers. The prefix-sum probably needs to be written with intrinsics by hand, but once written it generalizes to many operations. (Prefix-max, prefix-min, prefix-XOR).

"Prefix-sum" is sometimes called "scan" in the literature (https://developer.nvidia.com/gpugems/gpugems3/part-vi-gpu-co...)

-----------

EDIT: A surprising number of "recursive" definitions can become a prefix-operation (or scan). Associativity is the main requirement. (Note that floating-points are not associative: error builds up non-associatively). So you'd need to redo your error analysis if these were floats.
Yes different fonts have different dimensions, but I'm talking about the same font across different browsers. The issue is that Firefox and Webkit render the baseline of some fonts with a 1-2px difference.

It's impossible to vertically align Helvetica consistently in Firefox and Chrome without some browser-specific adjustments, but Arial works fine.
> Users pretty clearly do not want this. Many people use Ubuntu expressly because of the PPA system

Agreed. This is one feature of Ubuntu I miss sorely after leaving it behind for other distros.
(⌐■_■)
Let me tell you an example right now. I saw a workday role that Linkedin suggested that I should apply. I clicked apply on Linkedin which redirected me to the workday site.

The workday site has an Apply with Linkedin button - which I clicked, I mean, I had already wanted to do that before.

Now workday asked me to create an account in their site (wtf?!) not only that but they didn't accept a silly password (why do I need a strong password for a throw away account and why do I need a throw away account for your site?!)

Very similar patterns with other companies... In the end I just gave up, I don't want it badly enough to be tortured in creating accounts and filling details on every company I ought to find interesting / apply when I am already very happy at my job.

If it was friction free, directly from Linkedin with a recruiter calling me to talk about the role, maybe it could lead to something?

I also am not interested in having an up-to-date CV or tailor CV to roles. I already have my Linkedin account and do not look for jobs very often.

And please, no code challenges as well. I do not have the patience to study algo101 to do some tests under 2h in your buggy web UI that doesn't allow me to troublehsoot a problem how I would in my work environment. Amazon keeps directly contacting me saying how interested a particular manager is in my work and how I would be a great fit but it is impossible to talk with a person without first showing them I can pass their buggy UI 101 algo tests under a different environment from my day to day.
Trump Pushed CIA to Give Intelligence to Kremlin [about Arming Taliban]
I am, too. The same font rendered by Core Text, FreeType, and Direct2D/DirectWrite will not have the exact same dimensions every time despite coming from the same exact file.

Say I render a font with no anti-aliasing on an embedded device, because it's marginally more expensive to do so. If I did anti-alias it, you have to account for possibly growing the bitmap size to do so. If I did, am I no longer compliant with web standards? No, because the web standards don't specify dimension requirements for text nodes from source fonts.

Further, there are multiple different types of ways to anti-alias. Should the web standards dictate how?
I don't know what your college experience was like, but for me often the informal aspects and hitting the books was more useful than formal lecture classes (labs are a different story ofc). Tutoring by grad students / teaching assistants was good too. University sanction is a high bar for something that is organic.

The reason for this is somewhat obvious: people don't retain and model complex information easily from just listening. They have to process it, interact with problems, and talk about it with people.
True, but given the vast write-off of development costs, this falls short of an argument for the economic viability of the B model project, which is the issue here.
From the July 2 Mint blog post: https://blog.linuxmint.com/?p=3766

> When Flatpak came out it immediately allowed anyone to create stores. The Flatpak client can talk to multiple stores. Spotify is on Flathub and they can push towards it. If tomorrow they have an argument with Flathub they can create their own store and the very same Flatpak client will still work with it. When Snap came out, it was only a client. The server was behind closed doors and the client couldn’t talk to multiple servers.

and

> Ubuntu is planning to replace the Chromium repository package with an empty package which installs the Chromium snap. In other words, as you install APT updates, Snap becomes a requirement for you to continue to use Chromium and installs itself behind your back.

Yea that seems to me to be a problem.

From the June 1st Mint blog post: https://blog.linuxmint.com/?p=3906

> ...in the Ubuntu 20.04 package base, the Chromium package is indeed empty and acting, without your consent, as a backdoor by connecting your computer to the Ubuntu Store. Applications in this store cannot be patched, or pinned. You can’t audit them, hold them, modify them or even point snap to a different store. You’ve as much empowerment with this as if you were using proprietary software, i.e. none. This is in effect similar to a commercial proprietary solution, but with two major differences: It runs as root, and it installs itself without asking you.

If I'm reading this right, Snap is basically trying to fix the problem of software dependencies on older packages by bundling things together (a la flatpack)... but it ALSO replaces the various repositories in different distributions of linux with a closed-source, centralized repository that points towards cannonical, and advertises ubuntu to people using other distros and potentially gives cannonical control over the distribution of sotfware in the linux ecosystem. AND it can do this behind the scenes without the knowledge of the users, who may think they're still using their normal repo system.

The whole scheme seems completely antithetical to the principles of FOSS. You don't have to go full Stallman to see this as a bad thing IMO. From that perspective, Mint's decision to drop support for Snap makes a LOT of sense.

Also, one of the reasons I enjoy running linux (I dual-boot with windows) is that it does what I tell it to do, and ONLY what I tell it to do. There's no BS like Cortana auto-installing or onedrive automatically uploading a bunch of my pictures to the cloud (yes that actually happened). I already have a linux distro that takes that benefit away, but I accept that (for now), because it's a phone. I'm not ok with losing that on my desktop.
It’s an aknowlegment from Tinder that not enough people are using it in your locality. In order for you to not loose interest, they give you that.
For anyone not familiar with the term:

https://www.urbandictionary.com/define.php?term=Cancel%20Cul...
People who are in stable relationships are people who want to be in stable relationships. This is readily apparent when most find their spouse, significant other, love of their life or other half of the walnut in their small town, neighborhood, school, or place of work.
People like me, who have been dating forever, fool themselves when they think the issue is compatibility, not having found the right person, or other pedestrian rationalizations. The simplest and more likely explanation of the dating-forever syndrome (or pleasure, because I had a great time dating) is that consciously or sub-, we don't want to be in a stable relationship.
Zero permission isn't really zero. The app still needs access to the internet and under android that is a permission.

I don't want to be a party pooper but you claim privacy. I assume this browser is not open source (didn't see a link) so how can we trust you don't collect data? Are you going to do an external audit?
A day later, 30 more deaths and we're now 7th lowest, our Rt is up to 0.99 and 3-day hospitalization average is now going up for the first time in a while. The state is now also offering expanded free testing to anyone so it'll be interesting to see how that changes it.
If y = 2^x, then log y != 2^log x because of Jensen's inequality. You can take log of both sides to keep the equality, but applying the transformation inside of 2^() results in the equality turning into a strict inequality.
Okay, but are we really considering the Battle Royale gameplay features all that innovative? If a large map you can find stuff on that eventually shrinks qualifies as something enough to differentiate it, doesn't Fortnite's building mechanic qualify enough to differentiate it?

I don't play either game (unfortunately my system needs a refresh), but from what I've seen of my son playing Fortnite the fights are like nothing I've seen in an FPS before. There's a mad dash to build fortifications right in front of people as quickly as possible as well as break through and navigate these fortifications while under fire. To outside eyes at least, the experience looks qualitatively different.

> I think it's fair to say Epic Games saw the popularity of the genre, pivoted their lackluster game into the genre, and then undercut PUBG on price to rise in popularity.

To my eyes, Fortnite differs in a few very important ways which makes it much more complex than one company copying another and undercutting them.

- It's targetted at a wider range of ages. e.g. it's much more acceptable for parents to allow a younger set of kids to play.

- It has a building mechanic, which changes both the strategy (pre-battle and route planning) and tactics (on-the-fly shielding during live fire) of a game.

- They are constantly updating it. I'm not sure how many "seasons" they are in now, but not only are the changes they introduce often fairly large, the end of season events are quite the spectacle, from the one or two I've seen after the fact.

If you combine that with the fact that PUBG seems to have made at least a few hundred million dollars on what I expect is a few million (or a couple tens of millions at most) investment, and I'm not really all that sorry for them. They had an idea, they executed on it and made a bundle of money, and then someone else iterated on it and happened to make a whole lot more money. What's the alternative, Epic not change Fortnite and all the people that play for free and all the younger players and all the people that like the building mechanic just lose out? I just don't see a situation where PUBG came out on top where more people are better off, and helping PUBG devs make billions instead of hundreds of millions isn't something I think we need to optimize for as a society, nor really care about.
This is fair, and I'll admit it's a knee-jerk reaction to a product I like disappearing into a larger organization and possibly being neglected or shut down, as I've seen happen many times before. I hope it means bigger and better support for Rancher.
The Rise of the Solo Capitalists
The difference based on which side proposes turns out to be a knife-edge result for balanced markets! For imbalanced markets, the short side gets average rank `O(log(n))` in every stable matching and the long side gets `O(n / log(n))`

Edit: reference is Ashlagi et al (2015). "Unbalanced Random Matching Markets: The Stark Effect of Competition" http://web.mit.edu/iashlagi/www/papers/UnbalancedMatchingAKL...
A classical case of "when all you have is a hammer, everything looks like a nail".

Or rather, you're blind to everything that doesn't require a hammer.

Even in most of the examples he listed (speech/voice recognition software, translation, games, and databases), the vast majority of "code"/logic is not a neural network.

You don't "train" your UI, neural nets won't directly consume audio or spit out encoded audio, don't do HTTP, aren't an operating system and just having a game AI is pretty far from having a finished game.

Neural nets approximate and guess, but for the vast majority of problems in computing we want the exactness of code.

And coincidentally that's what makes neural networks great: They let us solve problems where stating the exact precise steps to solve them is impossible.
This right here. Married for 16 years and took me a while to figure out the iterated prisoner's dilemma is a game with no winners in a marriage. We also call this game "why did you do it that way" and again there are no winners. The only way to win the game is ... (struggle not to make the War Games reference) for both parties to cooperate all the time. Therein lies the problem. Some people do not have the integrity to not take advantage of a spouse who is always cooperating. We call those people "not marriage material".
You're still conflating the two like they have anything to do with each other. The unhealthiest part has a lot more to do with our food consumption habits and our built environment, while the amount of drugs leads from that. And this isn't even getting into the issues with opioids which started with a combo of Purdue being trash along with the general macroeconomic conditions in the Appalachian Mountains.
I really doubt that 80,000 mobile iOS/android apps are in playstore which are written in flutter/DART. DART is no way better than javascript/java/typescript/swift. i may try/adapt flutter if its provides alternate languages like typescript.
android doesn't count 'internet' as one of those permissions apps need to popup a request for... It's kinda like given by default.... Storage, location, photos, call logs, contacts etc are the dangerous ones
It's an English word. Maybe it doesn't jibe with your concept of spices, but you can hardly say native English speakers are using the word wrong.
Fine woodworker. Allows me to get my "build something" kick while at the same time the sanity that comes from being able to build something and declare it "done" which is something that never happens with software. There's always another bug or another feature or another optimization. With something like a chair you build it and that's it.
should I just give up and go back to FreeBSD ?
FPGA Softcore SoC Shootout
Unfortunately vercel does not store logs for you, lesson learned. I can't tell if the email signup isn't working. Please use the link here:

https://emailoctopus.com/lists/589a8309-b670-11ea-a3d0-06b46...

Apologies for the outage, this has been educational. Thank you for the hug of death :)
sudo rm -rf /var/cache/snapd/

sudo apt autoremove --purge snapd gnome-software-plugin-snap

rm -fr ~/snap

From: https://askubuntu.com/questions/1035915/how-to-remove-snap-s...

---

..Or..

sudo apt purge snapd

rm -vrf ~/snap

# following may not be required as apt purge already removes them

sudo rm -vrf /snap /var/snap /var/lib/snapd /var/cache/snapd /usr/lib/snapd

# trying to install some package like chromium-browser will bring back snapd

# make sure snapd is not installed as a dependency anymore

# downside is that some package installation might fail because of dependecy on snapd

sudo apt-mark hold snapd

From: https://www.kevin-custer.com/blog/disabling-snaps-in-ubuntu-...
While it sounds very interesting in the beginning with a ton of things, i would argue that at the end of the day, people stoped carring.

You can, for example, see whatever people are earning in Sweden.

As soon as it is allowed and possible, things like this just become a novelty.

There was one guy having data on how often he pleasured himself. First thought 'oh interesting' second thought 'mh okay so what'.
> Why exactly do you think that is?

Canonical very publicly collaborated with these companies to get their software on the Snap store while Flathub has been handled in a more free-for-all manner. If you build it, they will come, and all that. Moreover, I'm not so sure Red Hat is as explicitly interested in monopolizing the Linux application ecosystem as Canonical, especially since their acquisition by IBM. Maybe IBM has other ideas, but we likely won't see similar marketing efforts on that front in the near future.
W3Schools and now TutorialsPoint.

While they're not bad per say, they;re never detailed enough of a reference. 99% of my webdev searches are now "mdn <topic>" as MDN is typically the most detailed resource on the topic (short of reading the exhaustingly verbose standards).

Of course now that I search "mdn <topic>" for everything I'm not training google's engine to match <topic> with the mdn resource, which helps cement w3schools as the top result for the topic
Dog trainer. Especially if I could do it for free to help challenging dogs at shelters become more adoptable.

I've done a lot of training with my own dogs that would definitely allow me to handle the basics of training, but I'd want to train under someone much more experienced so as to be able to work with highly aggressive dogs and others with extreme challenges that make them unadoptable in their current state.
FWIW I turned off suggestions and I don't get recommendations anymore. Doesn't solve the tracking problem though.
For those unaware of the history:

Star Writer was created by Star Division. Sun bought them and renamed it StarOffice. StarOffice was open sourced as Open Office (later renamed to OpenOffice.org).

Oracle later bought Sun and renamed the merged StarOffice and OpenOffice.org to Oracle OpenOffice. Around that time, a fork of OpenOffice.org happened by many of the developers and LibreOffice was “born.”

Only a few years after the acquisition, in 2011, Oracle abandoned the project and donated the code to the Apache Foundation. Development continued as Apache OpenOffice, but it has never attained the popularity of LibreOffice.

Interestingly, there’s NeoOffice (for macOS only) that’s (currently) based on LibreOffice. It’s a commercial fork, but still GPL licensed.

WikiMedia has a nice “merge chart” of the various forks and mergers of StarOffice: https://upload.wikimedia.org/wikipedia/commons/f/fb/StarOffi...
couldn't that specific correlation be learned with enough data?
This has been problematic for me after upgrading from 18.04 to 20.04. Every time I apt update cuda or some nvidia package my x server fails to start for several different reasons.

Just today I've already spent 30 minutes trying to start x with this latest cuda update. Too bad I can't switch back to the open source nouveau driver.
Any websites that I work on, which I don't often anymore, use standards. If its broken in Safari, then Safari needs to support the agreed upon W3C standards. I don't personally do weird cutting edge stuff, its stuff generally that's been supported in Firefox and Chrome stable for years. Safari must implement these, or be discontinued.

However, generally, Mac users have always been below 10% of PC users, most of them opt not to use Safari (over half use Chrome, half of whats left use Firefox, roughly; changes over time); in the mobile space, "100%" use Safari due to the anti-trust stance they have against their largest competitors (even if you install Chrome or Firefox or anything else, it is required to be an unoptimized Safari instance underneath, with zero access to any sort of GPU or Javascript optimization) but only a small fraction of handsets sold have been iPhones.

Apple says stuff like, almost 2 billion iPhones have been sold since the introduction of it in 2007, but there are 2 billion active Android devices out there currently.

Analysis like https://www.statista.com/statistics/266219/global-smartphone... (use https://cdn.statcdn.com/Statistic/265000/266219-blank-754.pn... to get around paywall, blue is Android, black is iOS) basically put a nail in Apple's coffin.

Like I've said on here before, if you have a lot of Apple users, you should support them. If you are a huge company, you can afford to deal with the monetary and cognitive overhead of dealing with a developer-hostile company.

But for average devs in smaller or medium sized businesses? I don't see the point to give Apple users priority over the majority. Treat them just as you would any other OS or any other browser, no special support just for them. They won't pay you more, in fact, Apple makes sure they pay you less via the 30% grab on out-of-app service signups they're shaking down big companies over.

The front page of HN is certainly familiar with Apple shakedown stories, at this point it's really hard to argue in favor of supporting Apple anymore than the bare minimum for as little gain as you get.
I believe that the Canonical Snap server is hardcoded into snapd, so even if someone did implement their own you would need to recompile snapd to even use it.
AppImages do have an update mechanism:

https://docs.appimage.org/packaging-guide/optional/updates.h...
There are interpreters that have offered those services for years. Hell, Didn't Visual Basic include a GUI layer 20 years ago?

I'm not arguing the utility of what your describing, just pointing out its not a new concept...
Show HN: Wetransfer alternative I created for fun