skysight-inc/HackerNews huggingface dataset:
Ask HN: When and why do developers prefer an image as background and not CSS?
I ask out of morbid curiosity. Took a look under the hood of the Microsoft by the Numbers [1] microsite and noticed the captivating background gradient was actually an image [2] not CSS gradient.

I can guess a few reasons

* Consistent color reproduction on all devices

* Some gradients are difficult to reproduce and may require multiple layers

* Presentation matters more than performance and the code has a one off use

[1] https://news.microsoft.com/bythenumbers/en/homepage

[2] https://news.microsoft.com/bythenumbers/assets/uploads/00/bg-2048.jpg
There's plenty to like about Firefox, like the Awesome Bar, has better bookmarking, is able to handle a huge number of tabs, has the "Multi-Account Containers" extension (with its offspring, e.g. "Facebook Container"), or the "Tree Style Tab" extension, just to name a few.

Also that it's not Chrome or based on Chromium is reason alone to like Firefox, because we need diversity for healthy web standards. That Chromium is open source is a red herring and open standards are more important.

I know developers have been preferring Chrome and for good reasons, but I've switched back to Firefox for the last 3 years and personally I find it hard to use Chrome these days, because Firefox has a better UI.

The only downside is that Chrome's dev tools still has some capabilities that Firefox lacks, but Firefox has been improving a lot, as you have seen.
Once you go Typescript you never go JavaScript. You just get all those typing juices and you start getting fewer and fewer errors on your code.
Can you provide us with a DIY video?
Love it. That said, the 3rd party application support for wayland is pretty poor. Chrom(ium|e) can’t even do accelerated video under XWayland (so everything is choppy, even on my threadripper system). Firefox is better, but still uses XWayland. Wayland support is available in Firefox nightlies, but it _really_ isn’t ready for daily use yet. For the most part everything works fine, but I’m anxious for native wayland support from many apps (Electron apps in particular).
IMO you have an oversimplified view of this based on limited experience. You have abstracted away the diverse and complex reasons this doesn't work for everyone behind the excuse that people make excuses. It's not so simple. People are different; their circumstances are different; we can't just write them off by blaming them for being obese or addicted.
This is a collection of repos for the Transparency Toolkit site.

You would be much better off visiting their actual website at https://transparencytoolkit.org/ and then coming back to the GitHub repo for all their tools, if you found their project interesting.
DNS66
How do you avoid forgeries on eBay? I've seen a good proportion of the listings very obvious counterfeits or fakes (e.g. search for "2TB SD card") and you have to have some savvy to tell the difference between genuine OEM and fake OEM in some cases. I'm not sure I can guarantee always getting genuine goods, so I have avoided eBay for things where that matters.
They did, yes. Have you ever looked into how they got there?

The Republic of Hawaii, founded at the very end of the 19th century led to annexation by the United States (one since admitted to and apologized for, as it happens) and it wasn't until the fifties that largely non-native plantation owners were sufficiently pushed back to have those little things like "democracy" actually mean much of anything.

Outside of this specific example, the Scramble for Africa is generally not considered to have ended until 1914, with the results of it and similar Middle Eastern colonial efforts not really shaking out until after the Second World War.
Something important to note is that this is largely a BMC firmware problem - the hardware can be securely configured to maintain CIA against the host, just sometimes it is not.
Have you tried DeepL? It is a translation service with surprising quality.

https://www.deepl.com/translator
Regardless, it's a common retroactive justification. The idea that the Americas were "empty" when Europeans arrived was taught to me in the late nineties. (Never was it stated why, and my teachers got very uncomfortable when I pointed it out.)
The problem is not the use of type guards, but rather the author's implementation of them. The entire point of type guards is to narrow a variable's type within a block- e.g. to avoid accessing undefined members.

If we rewrite isWizard() to check for the existence of the `spells` variable, your counterexample will fail the type guard and JohnSmith will be exposed as the NotActuallyWizard he really is.
Slow growth/lack of user traction was what caused Google to pull the plug. Its a similar overarching problem to Twitter, but more of users being disinterested than actively repulsed due to the content the most popular users of said service post...
Css is fundamentally breaching the contract by messing in any way whatsoever with content.
TLDR: use trello
Indian investment platform scores $6.2m from Sequoia, Y Combinator, and more
Ask HN: Fun projects you need collaborators for?
I'm a senior Computer Science undergrad doing my Bachelor's Thesis right now, and that gives me a tonne of time to explore. However, I have a shortage of personal projects to work on.
Does anyone have fun personal projects/ideas for personal projects they'd need help with? Post them here, and maybe we can collaborate. I'm just looking to learn something new. :)
If the thesis of Progress & Poverty is correct, then the cyclic nature of civilization is due primarily to the tendency of the labor cost of acquiring unimproved land for productive workers to increase faster than the rate at which wages can be accumulated to acquire it. If this is the case, then the decline of our present phase of civilization may have begun in the 1930s, when state governments in the United States begun replacing property taxes with sales taxes, as the share of total government revenues raised from property taxes has now fallen from 40-50% to less than 10%, and the share is even lower in other countries.

However while the Roman Republic relied primarily a 1-3% annual property tax on wealth to fund its early expansion from 509BC, it had abandoned public assessed domestic property taxes by 167BC at the latest, yet the the Roman Empire reached its height in 117AD. So the point in time at which a country eliminates domestic property taxes on landed wealth in order to maximize the private capture of rent for its political class is unlikely to represent the peak or maximum of the civilization, but rather an initial inflection point, in which case a peak of our current phase of civilization during the 1960s may have been possible, with the inflection point occurring earlier.
New Tech Will Spawn Billionaires and Almost Nobody Sees It Coming
It's like very lean beef but more gamey.

Most people don't like it. It's usually used as pet food.
also, if you use Autodiscard plugin, you will find that FF use less RAM and Ru. more faster. Essentially discard and suspend tabs that you aren't using.
To this day I still can't list any of my extremely valuable items because of "seller limits" even though I've been a member for over 15 years and have not once gotten a negative review. Pretty disappointing considering the money they could be making off my sold transactions.
I think it was mostly due to the fact that it was from a different TLD.

The TLD of the context was .EDU and the one from the email was a .ORG.
After losing the War On Emus I can see why the Australian military is wary of taking on the Kangaroo Nation

https://en.wikipedia.org/wiki/Emu_War
After reading the article, the title seems clickbaity.

My reason for me saying that is this; having an "excuse" for irrationality (limited brain resources) is still different from rationality.

There was something about different definitions of rationality, but that sounds like moving the goalposts (which clouds any discussion.) If a discussion relies on alternative, non mainstream definitions of common terms, it should be very clear about this, even in the title.

A better title would be: "New research allows deeper understanding of our irrationality"

I'm pretty sure click bait tittles continue to work and be deployed because they rely on some of our biases ;)
Your first sentence conflicts rather severly with your second. As an investor "better executing companies" are exactly what I want to invest in.

But personally, I think "higher risk" is a better descriptor of 'tech' than "Better executing" - by my definition, a tech company is applying new processes to their business that would not have been possible with older technology. That's a risky thing to do, and it can go badly and go well; It's easy to overestimate how useful a new technology is, or how much difficulty your traditional competitors will have competing with you.
Sorry, all the payments companies just kinda blend together for me (having had to deal with too many of 'em). Corrected the post above.

On a sidenote, Square, Stripe, Payment Ninja, <insert payments startup> so far seems to be lipstick on the pig that is the underlying debit/credit networks, often with a hefty price for said lipstick. The US badly needs a better version of Zelle that supports business transactions.
Upen Patel – SAP People: SAP.com
yeah i visited g+ primarily for the active dev communities oriented around google products. def just once or twice a week and the activity on those "circles" was pretty slow
I don't see how spinning off Stubhub into a separate company will "ruin what's cool and useful about [eBay]". The rummage-sale aspect of eBay has and will change no matter how they choose to restructure their conglomeration.
React Fragments a year later: 4 real-world examples
The professional level should involve doing whatever the game permits that is most effective.

If it is a viable strategy and not a real edge case to punish some maximal greedy strategy, the game should probably be patched.
Muse (YC W12) Is Hiring a Director of Design and UX
this comment, alone, made it all worth it :)
I couldn't find an actual video of a game.
There's a lot of ways that both can be true. For example, metering variables that are friendly to how Google does things.
Since they made the big changes and become faster, I found Firefox faster that Chrome, except for Google pages.
This works really well against humans too. I can't remember how the technique was called, cheese rush?
How do we define natural predator? Dingos are an introduced species, they've only been here around 6000 years.
Isn't it also based on Chromium?
If you want to check which cloud is best for you, run your application on all of them, measure your average+median+p95 cost per whatever (tweet/post/reader/dollar of revenue/ticket/?). Then factor in which platform is easier to work with, has better tooling and community support, because until you hit a certain scale your time will always be more expensive.

After you do all that, just start with Heroku and Postgres with some AWS Lambda, then move to ALB + AWS Fargate + RDS|Aurora / DynamoDB as you get bigger, then to NLB + ECS with a cluster of 20-80 On Demand and Spot Instances, then to a cluster of ARM instances on Spot.

If you need to build your own datacenter at that point, you'll know. And you would have built a 12Factor app to make all of the above work, so migrating will be easy.
Agreed a Unity like toolkit for general purpose UI would be awesome. I would be happy to pay a reasonable subscription for such for my team. A killer feature for us, would be easy wiring up of forms and display grids to Postgresql functions and views for storage and IO - we don’t want direct to table. Maybe you could somehow incorporate PostGrest for this.
I have driven across Australia several times. Parts of the Nullarbor at night was like playing Space Invaders - the roos just kept on coming, probably in the thousands.
I didn't hit any, just like I don't hit animals when driving here at home. As with everything else in traffic, it's all about keeping your eyes peeled, your attention focused, and your driving speed sensibly adjusted to conditions.
Yeah, I got a huge rush of nostalgia. It was so cool, I remember learning so much about how planes worked trying to figure that game out.
Who is "we"? If you mean your local space agency, then ask whoever is funding them why they don't fund a continuous moon stream.
Oracle underpaid women and minority workers by $401M – Labor Department
What about like fake fingerprints that are magnetic? I wonder how thin they can make magnetic sheets? It might be too weak though but you could potentially do all 10 fingers.
Can you write it in Thai?
I admit to being ignorant of the details in the Tar Sands case, but I don't think that it's relevant to what I was trying to say really. If an injustice is being visited upon a Native population, i'm all for them prevailing in a fight to restore fairness.

But human history is what it is, regardless of our modern sensibilities and desire to do better moving forward. Out in the raw brutal nature that existed for most of human history, strong men conquered and weaker men perished, that's just the way it was. Nature was trying to kill us all, and everyone was trying to survive the best they could to pass their genes on. Even at the expense of their neighbors. That is the script for most of history, and we can't go back and change it. It is what has helped us get to this point today where we're talking to each other over incredible technologies and enjoying a much easier life than Kings of old. It's not nice, it's not picturesque, it's just the simple reality of it.
So you're saying computers are cheap and humans expensive? Breaking news there
It's the same reason why Firefox for Android it's faster that Chrome android
I am happy you posted early when things are still fluid.

A fast scripting language that is not a PITA, and not tied to a proprietary ecosystem, could carve out a place.

But please ensure that something like destructors remain possible and uncrippled. There are so many more kinds of resources to manage than memory, and we are beginning to accumulate many kinds of memory, too. When you have a solution for general resource management, memory management itself becomes a trivium, or gets locally tunable.
Quote > The factors that allow programs in functional languages to sometimes be more concise than imperative implementations are pretty much orthogonal to the use of pure functions — garbage collection, powerful built-in types, pattern matching, list comprehensions, function composition, various bits of syntactic sugar, etc. For the most part, these size reducers don't have much to do with being functional, and can also be found in some imperative languages.

—

Amen. I think people new to functional programming are thrown by this, and I think some long time adherents of functional programming have adopted these “factors” as part of the definition.

Definitions change, that’s fine, but the confusion of ideas isn’t good.

Anyway, are there functional data structures widely available to c++? I assume there are. Without them, functional programming has a heavy cost.

Clojure, for one, would not be very attractive without having adopted Bagwell’s data structure concepts.
Looking at other languages (when they exists) can also be very informative.
Google may have been exaggerating these numbers. From https://www.blog.google/technology/safety-security/expeditin...

> Google+ currently has low usage and engagement: 90 percent of Google+ user sessions are less than five seconds
Mysteries of cryptocurrency exchanges
The barrier to setting up a "legit" request for permissions for my phishy app is not that high. Yes, you can't phish for Google passwords that way, but you can get access to all other accounts of a person that are not protected by 2FA and can reset passwords via email.
You can't tell before you buy. Your only hope is requesting a refund and hoping they don't ask you to ship it back.

There are so many converter plugs for sale on eBay that are pretty much impossible for their size and price like USB to 3.5mm converters advertised to let you play music from a USB. Somehow I don't think they have a USB controller, DAC, FAT32 driver and mp3 decoder in a little cable sold for $0.70 free shipping.
Personally I've found that Starcraft is one of the less salty/bm games out there. At least in diamond 1v1, people doing "gl hf" at the beginning and "gg" when they lose is common. And you don't have much time to whine in practice because there's no downtime until either you or them are basically dead.
This is an interesting case, sorta like Amazon going to NYC. If you give discounts and lower your profit you get something, plus PR. If you don't you loose it all.

But if all ask for the Twitter discount, you're screwed. However, by by next year no one can compare the offerings side by side. Better machines, cheaper offerings etc.
His website is http://andrewmayne.com/.

> I’ve sold over 250,000 self-published books

I interpreted this as he wrote and published umpteen-thousand books, but his Amazon lists only 30. I'm guessing he meant copies of the books.
Chrome Extension Manifest V3 Could End UBlock Origin for Chrome
Debating the world as it was in 1492-1800s is hardly relevant to colonization in the 'modern world'.

Even the mindset of World War 1 where 70k French or German people would die in a single day vs even the 1960s with Vietnam war (where <70k Americans dying was a massive tragedy) sounds silly today. We evolve as a species and the tribes in South America and North America and Africa and (insert historical region) who were in constant war prior to foreign intervention weren't much different at a far smaller scale. The primary different is the absence of modern technology, communication, population levels, continental level geopolitics, etc, at their finger tips to ramp it up to 1914 levels.

The ideological parties who are obsessed with viewing history through the lenses of these power dynamics as the only defining metric are inherently irrational and intentionally ignorant of all of the macro/micro-level realities of the lifestyles of all people at that times. The difference between a colonizer and a local war lord starts to look very thin once you take a high level view of history, factoring in the historical day-to-day realities of the era.

If you're going to talk about colonization, as it is used in modern political discourse, keep it in your political debates not historical ones.

Otherwise it took time and the invention of political and legal systems to constrain these sorts of power abuses. But to only judge those in history who held a particular imbalance in power is a ridiculous way to view history. And an ever worse ideological foundation on which to run a country (as we've seen with countless examples of failures in history where economic/social systems were built around power imbalances as the prime motivation over the actual realities and needs of people within a society).
Hacking Education for the Future with Erik P.M. Vermeulen
...and that's why I don't take part in the discussion about browsers. It's gotten political. You advertise shit to me, when I didn't ask you to.

I tried Firefox for a month. I didn't like it. I went back to a Chromium fork.

Now go away.
It's hard to believe they can't figure out how to make money.

Making a bit of money is not a problem. Making so much money that all their investors are happy is a problem. Their investors don't want a modest company that makes modest profits on modest revenue.
that's saddening.

I remember when there was no Internet, and you never hear about it will possibly exist (where I was back then)

and then when it some day became something I just hear about and had the dream to use someday and see working with my own eyes.

And then I though Internet will bring the political (r) evolution that will make humanity human, and that it will have all the Knowledge of All the Scientists from All the World open to anyone, even a poor kid like me, to see and learn and thrive...

Wikipedia is still what is closer to that dream I had as a kid who had ever never touched a computer...So it is saddening, but we still have hope.
From the Twitter Hadoop to GCP talk that
Boulos linked:

- >500k cores

- >300PB storage

- >12,500 cluster size

- >1T messages per day

And there's also this other talk, "How Twitter Migrated its On-Prem Analytics to Google Cloud" - focused on their migration to BigQuery:

- https://www.youtube.com/watch?v=sitnQxyejUg

- 20 TB/ day of raw log data, >100k events/sec

- Loading ~1TB/hour into BigQuery.

- Serving 5,000+ complex queries / second. p99 ~300ms

Disclosure: I'm Felipe Hoffa and I work for Google Cloud https://twitter.com/felipehoffa.
Google was considering Wikipedia as main competitor in the late 2000s and the whole "content is a king" mindset. So yeah.
https://pagedraw.io/tutorials/basics
>>What would Google gain from the acquisition that they don't already have?

Google will "enhance the tweets" by showing 4-5 "relevant ads" before you even see the tweet. Tweethancer
You can still do this

input[type="button"]:active {
background-image: url('http://www.google-analytics.com/collect?v=1&_v=j23&a=...');
}

https://www.smashingmagazine.com/2014/10/css-only-solution-f...
Why would anyone want to use peloton?
The biggest issue with CMake is how many libraries seem to have really low quality CMakeLists.txt's.

CMake is very easy to use, if you do things properly with targets. include_directories and link_libraries should never never ever be used, use target_include_directories and target_link_libraries instead. This way there is no need to mess about with shell script style variables for dependencies. But so many resources online explain to people how to do things the wrong way, and so their libs end up being a pain to build or depend on.
zip can solve one of the problems I listed, namely the parallel operations problem, because it has an index at the end of the archive which would facilitate random-access (though because it's at the end you'd have to download it fully before you could parallel-extract -- so it's only partially ideal).

I wouldn't say zip can solve all of them though.
Me too, and 66 lines long.
There's also the flyinside flight simulator, which is a completely new flight simulator engine, focused on (but not limited to) VR: https://flyinside-fsx.com/Home/Sim
Customer Relationship Management (CRM) Software Market
Have a quick look. Quite easy to read. Just not sure does it have an advantage over swift which seems quite easy to read, cross 2 platform at least (linux and macOS, the windows seems not on equal footing and five code not working), target llvm.

The basic features of a new language is hard as you can see the posting what expected. Macro (may not be lisp level but template), memory Managrment, purpose (embedded, os, driver and application, ai library, CUDA, mobile app etc.), library, platform, examples and q&a under stackoverflow etc.

... wonder what is the point of learning a new one.
Legit problem that needs to be addressed.

But the website needs to stop hijacking the ability of the browser to scroll.
EBay is one of the worst offenders for legacy crap. I had to integrate a website with eBay and literally 50% of the website doesn't work, especially all the developer facing bits. The entire sandbox site is running an older version that doesn't work anymore so you have to test in production. Every page you load has its own subdomain and style sheet which often requires you to log in again. The docs are full of broken links and the api is XML hell.

After all that I finally got it all working and then eBay shut down our account just before the Christmas period requesting we send them thousands of receipts for all of our products.

EBay needs to die, and fast.
On macOS you install Wine then Wine runs all .exe files. Is that hard? If .exe files aren't associated with Wine then you can do that yourself from Get Info panel.

In Finder you can use Go to Folder. Just type ~/.wine/drive_c and add Program Files to the sidebar.