skysight-inc/HackerNews huggingface dataset:
A big issue with introducing C++ into a codebase is that it's incredibly hard to stick to a particular subset or standard. There's always a well-justified argument for the next standard or "just this one additional feature". Eventually you end up with the whole kitchen sink, regardless of where you started.

I've had far more success hard-firewalling C++ into its own box where programmers can use whatever they can get running than trying to limit people to subsets.
Thanks. I just checked the SATA spec, and hadn't realised just how slow it is.

(High-speed storage I/O has long relied on multiple datapaths / busses, for pretty much just this reason, in dependent of disk I/O standards, going back decades.)
People worked fewer hours in preindustrial society[1], and people had more time off, as well.

[1] http://groups.csail.mit.edu/mac/users/rauch/worktime/hours_w...
Ad Ode to Temporal
Thank you! I am now better-informed.
And yet, you are likely an outlier because many people advertise on Facebook and can specifically track sales per impression or click. They can turn off their ads, and sales stop. They can increase their ad spend and sales increase (to a point).

This is why they keep using online ads. The results can be pretty instantaneous and trackable.
You should be medically exempted. Also, the mandates for experimental vaccines are completely illegal on many levels. Uunfortunately they need to be challenged first before the courts can declare them illegal.
"What I'm arguing against is the idea that any 'universal' target will inherently feel out of place on every platform,"

Inherently? Why?

Maybe that's what the companies that make them want you to think, so they keep you trapped in their walled garden. I'm not falling for it.
That isn't the point I was making. The replication crisis is a real problem, but what I am objecting to is the far more serious allegation that overall the quality of academic research is dropping.

Science is very very difficult, a journal will try to only publish things it thinks are true however papers (especially in the more informal channels some journals have/less prestigious journals) which are merely interesting or could-be-right are published all the time. That mostly isn't a bad thing - something has to be published properly to be considered properly and fleshed out, dead ends are still ends.
Can I read this without entering my email address?
I'm the opposite, I find that jq doesn't have a reason to exist, other than pretty printing JSON files on a terminal and doing basic filtering on a JSON object and only as interactive shell usage, NOT in a script.

It's the classical tool, like sed, like awk, like a ton of unix utility that at first they seem to you easy to use, then you have to do something complex and you start abusing them, by piping things multiple times into jq, and you end up writing things like this:

echo $json | jq "something $(echo $variable | jq 'something else' | tr '"' '\'') | sed 's/"/\\'/g" | jq "another js invocation" | awk '...' > file2.json

I stopped using jq after realizing that I was wasting my time by trying to fix a script that used jq and didn't managed quoting correctly, trying to use different kind of quotes, even filtering the input before passing it to jq with tr replacing things. It's just another tool prone to abuse like sed, awk, tr, cut or similar things.

I thought why I'm wasting my time on a tool that has a complex and limited DSL when I can write a clean python script in 10 minutes to do the same things that is easier to write, to read and most importantly to maintain.

To me a script that has to manipulate JSON should be written in an high level programming language like Python, and not be abused with tool as jq and stuff. Even I there is an already existent big bash script that you don't want to rewrite and you have to do some json processing in it... you can write an inline python script like this:

python3 <<PYEND
## your python code
PYEND

Also jq is another dependency to a script that must be installed.
How to walk across a parking lot (2011)
I usually prefer knobs and crank windows to digital stuff. Easier to fix when it breaks and you get a better tactile sensation (like a mech keyboard but for your car).
HN is full of armchair polemicists and contrarians (on academia I am not one of those, but am for other matters), so I wouldn't consider that an unbiased sample.
How to use Bookmarks with Kunming.io your own account?
No.*

* Some exceptions apply. See https://archive.is/zBbNG
I don't understand how I'm supposed to reply to this given that it claims I said something I didn't even come close to saying and has nothing to do with what either me or the GP post were replying to.

If you want to try again, the central thesis of my post was:

"Using git (or some kind of version control) is, in fact, your job."

With a digression that amounts to:

"The disdain OP's post shows towards people who take the time to understand the tools fundamental to performing their job is extremely unappealing to me in a coworker" (ie. the "they should get a job managing a git repo or something" part)
At the same time, everything could be reconfigured at will, but if you can't provider a consistent UX, that wouldn't help a whole lot with sales and customer binding.

How much you can, or can't modify as an end-user probably relates to the HIG and general usability and transferability as well.

In some ways, there have been cases where you cannot change the background of things, or at least not in an obvious way. I suppose it really depends on the specific user and their user-case to have that matter (or not matter at all).
What if I want my window buttons on the bottom instead of the top?

What if I want my taskbar in the middle of the screen instead of the top or bottom?

What if I want textboxes to have flashing orange outlines around them?

What if I want the close button to be blue instead of red?

What if I want the Finder face to be a sad face instead of a smile?

Customizability needs to end at some point. Technical details about font rendering is not important to 99+% of users and is only confusing.
DRM consumes more energy annually than Bitcoin (needs to be fact checked) so breaking it and distributing the decrypted media is a favor to the environment and humanity.
Many houses in British Columbia still burn fuel oil so in that particular case if they all switched to reverse-cycle air conditioners it would be a net improvement
It’s unfortunate when we glom onto the headline and start arguing from there, because (assuming that NBC follows the traditional newsroom workflow) the scientists didn’t write the headline, and the journalist didn’t write the headline, the news editor did, and the news editor wrote the most attention-grabbing (a.k.a. “clickbait”) thing they could.

Now maybe if we dig into the article and the paper we’ll see that the headline is really an honest reflection of the content, but I’ll bet it’s not.

Edit: The words “remove all doubt” do not occur in the article, just the headline.
Yeah everyone does, which is why those big oil companies are causing global warming but not me.
Any U.S. resident can file an ADA complaint with the DOJ. You don't need to be disabled, you just need to be aware of an ADA violation. You can also file on someone else's behalf. [0]

[0]: https://www.ada.gov/filing_complaint.htm
I'd bet you a pint you could publish it without any real issue as long as you weren't glib or facetious in your presentation.
> (actually, I've been meaning to ask Matt about accessibility on CLI programs

Assuming you meant me and not some other Matt, go ahead. In general, I'd say it's pretty hard to make line-oriented CLI programs inaccessible. Screen-oriented (e.g. ncurses-based) programs are, in my experience, harder to use with a screen reader, but still generally not terrible. Anyway, happy to answer any specific questions you have.
Did you buy anything this year in response to Pantone's color of the year?
It depends a lot on how varied a menu you want/require (or your spouse does....)

Cooking with variety (or "buy whatever's on sale") is really hard if you also want to do it cheaply (minimize waste & spoilage, especially). Cooking the same few meals, maybe with some seasonal rotation, is easy because you can get the measurements of what you need each week ver exact to keep spoilage very low, and arrange them so waste from one meal always goes into another later in the week.
> Software-engineering student Patrick Smith exemplifies Australia’s Google dependency. The 24-year-old from Canberra said he sometimes racks up 400 Google searches a day to help with his studies, catch up on news and look up recipes.

Look up recipes, eh? I wonder how the software development field would cope with Google being disabled.
What does “team” mean when the technology allows you to build perfectly good software by exchanging short, on-topic, asynchronous messages with a rotating cast of anonymous strangers?

I don’t think it’s necessary to be physically present to build software, but if you do go remote, go all the way. Trying to build a sense of camaraderie over Zoom is a tragic farce.
I come to HN exactly to find detailed tutorials of obscure technical matters like this. Thanks!
Sorry, I didn't mean it to come off as definitive or to say that it's exactly like your experience – that would of course be silly and misguided.

It's one thing to listen to people talk about it, but it's another to actually use it. Not to be stubborn about it, but wouldn't you agree that while you can certainly be effective with screen readers, that in general it's (or can be) less convenient than "normal" computer usage and comes with some downsides? After all, if it was of equivalent convenience then loads of people would be using it, no?

I should get back to this; but unfortunately I found it very hard to get a screen reader running on Linux :-/
China Context
You're right that I don't care, but if you saw a photo of me in one you couldn't tell what decade it is from.
Let me put it this way: people have been spending on pleasure since ancient times (including people without any need to work). So that type of economy has existed for a long time.

The sacrificed long-term pleasure seems rather mythical to me and very different from person to person.
Try

defaults -currentHost write -g AppleFontSmoothing -int 0

on macOS. That will stop it from making every font more bold than it should be. Mentioned in https://tonsky.me/blog/monitors/
From what I heard somewhere you can achieve less latency using a USB dongle than Bluetooth. Bluetooth also can interfere with WiFi. And that mouse could just not support Bluetooth.
Its true. Instead of oracle calls, I use Faustian bargains.
Communities Platform to Replace Scientific Journals
Yup definitely agree with this. MacOS rendering is horrendous on normal monitors, it only looks good on 4k monitors, whereas Windows looks decent on everything.
Old-school blogging. I like it.
We don't have a food shortage. Crop yields and agricultural productivity are at all time human civilizational highs.
Another gold! USA!
I'm 95% sure that most of those companies have 5+ year contracts they can't cancel so they will keep trying to force people into the office.
Building Infrastructure for Scientific Researches
I also love the 'But you can 'vote' with your dollar!' crowd

We have glass bottles, we have compostable plastic, a company is not incentivized to lose profit by switching to more expensive alternatives until it becomes illegal to not do so and they have more lobbying power than any of us.
Yeah they should have upgraded to some restricted subset of C++ or new restrictive language ages ago. I mostly buy the arguments against having exceptions, perhaps even against polymorphism in general, but the argument against destructors, or atomics... hell no.
> It doesn't have to be that way, but basically there has been annual share dilution from the US currency corporation for 100 years, it was chartered by Congress in 1913.

Sure, you can build a money system without inflation but that doesn't change that you still have to represent the loss of value via unemployment caused by saving money. i.e. you will need money with an expiration date, negative interest rate or wealth tax.
Plastic waste should just be landfilled if it can't be safely recycled. Who cares if some additional feedstock is required to make fresh plastic?
Does anyone know what it would look like for the US to stop using single use plastics?

Always thought it would be a cool thing for us to try, but can’t quite figure out how practical that really is
> They’re absolutely not claiming Murray did something exceptional - that has nothing to do with whether he broke the law.

Fine, but don't expect people to take you or your law seriously if out of a bunch of people who break the law in a similar way, you choose to punish and make an example of only one of them. The one who's had the least impact in identifying the people you claim to want to protect, and the one who's been a thorn in your side for many years.

> No jigsaw identification necessary at all

This makes no sense. First you claim they're "absolutely not claiming Murray did something exceptional", and in the next line you write he did something so unique that no jigsaw identification was necessary at all. So then why is he being charged with jigsaw identification? The first person ever to be jailed for it.
Macros are useful, as long as they're used sparingly. I think that in this case, it's used well - the struct is still perfectly readable, and the sole purpose of it is to make it so that you don't have to manually name the dummy fields. But you could totally just write out dummy1, dummy2, dummy3 etc. yourself if you want to get rid of the macros.
Yes but we don't just throw it in a river like many asian countries.
Right, but while raw generated plastic trash is meaningful on a long-term scale, what's far more relevant is how much is getting washed into the ocean or environment, and the US does not lead there by a long shot.

Plastic securely sequestered in a landfill isn't a medium-term concern and I'm optimistic that future recycling or sequestration technologies will help obviate that problem before it becomes acute.
Yeah and I actually develop CAD software. I worked on stuff in the 90s that ran on multiple platforms, then they gave up on that and went all windows, which sucked. Now (rejoining the same company 23 years later) the new initiative is all web based (and yes it does run on mobile, which makes plenty of sense for a lot of the market which isn't design per se but is typically used on site). The web version is damn impressive, btw.

But again, it sucks having to decide between mac and windows, or having a whole ton of effort going into supporting both. (and linux is lowest priority)
This looks interesting, but it also looks ambitious and not anywhere ready. Everyone would be well served for extensions to not be aware of Python internals and expose a clean handle based api to all users. For this, cffi is sufficient and already available across nearly all Python implementations.

https://cffi.readthedocs.io/en/latest/

I do agree that a standardized Python should have an object model that is a clean public contract, but given that Python is CPython and there is no standardization, that the library runtime is married to the core also makes this incredibly difficult politically.
PAM4 (not 3) is used a fair bit in lower cost 100GbE optical links these days, for medium distances.
Call me nuts, but I enjoy font-rendering on my Windows machines even compared to my Ubuntu laptop. I legitimately find them sharper and easier to read.
Religious people who believe in the existence and sanctity of the human soul would probably see such a transaction as something similar to spitting on a holy object - it doesn't hurt the object itself, but as a symbolic gesture it shows your lack of respect for it.
I've been going to gun shows in the Midwest since the early 90s. There is always a change in general sentiment seen at them that oscillates between "I don't dial 911" to "I outsource my violence to the worship-worthy police." The former happens when a democratic is in office and the latter happens when a republican is in office.

It's the same vendors selling different bumper stickers and using different sales tactics based on how the political winds are blowing. The media and politicians do the same thing, so we get this article and your hyperbolic comment.
You're not given the option, though.
On the other hand, the physicists, mechanical and electrical engineers I've worked with have been almost universally better engineers than the CS grads, with little or no formal CS training.
I was thinking of the composer.
As in fiber optic?

Apologies for being ignorant, most my experience with with fiber has been with very small runs of OM3 and OM4 as trunks between network switches. But isn't fiber optic cable less tolerant of the kind of abuse that a short USB cable would see? Being throwing into someone's purse or having it repeatedly pulled by the cable or just being folded in half over and over again, stuffed in a pocket and sat on. Is fiber really suitable to replace the kind of short range interconnects USB handles?
Well, you didn’t wage a massive climate change denial / disinformation campaign for decades, did you?

I don’t have any options with regard to how I get to and from work nor how I hear and cool my home.

Is that directly your fault, or am I right to place a fair chunk of the blame on the source of that denial?
You still lose your real commit history though, and I’ve found it useful to have that in the past. A dead end or experimental avenue that turned out not to have use at the time turns out to be a real timesaver later.

I’m fact I’ve found that far more useful than a well curated history.

Having both would be a good thing. Having both in a not-ridiculously overcomplex system even better… I wonder if there even is a sweet spot.
Probably Learn TypeScript
Yandex ClickHouse is also good one for this.

clickhouse.tech
Tim Sweeney praises public domain and GPL software; hints at GPL Epic
Wi Spa Protests Highlight Collaboration Between Gender Criticals and Far-Right
I believe it.

But that doesn't mean we're innocent in the rest of the western world.

One really cool improvement here in Sweden recently, besides "banning" plastic bags at supermarkets, was one store called ICA started selling their burger pattys in cardboard packaging. So the only plastic is a top foil that you peel off to open the package, the rest is cardboard. Pretty cool! That's one area where we're all guilty, namely fresh meat and dairy packaging.

Speaking of dairy and meat I tend to buy from the butcher's section instead of the pre-packaged stuff, just because they wrap it in paper instead of plastic. It's the little things you can do.

And to store it in your fridge, don't wrap it in cellofane, use glass tubs with plastic lids instead. Yeah the lids are plastic but they're amazing at keeping stuff fresh and re-usable.
There's a good chance its just a marketing strategy.
Optionality is one of those things that product managers hate right now, so the likelihood of that appearing if it hasn't already are slim

That said, Windows has highly configurable font hinting/rendering so I'm perplexed as to why this project is a thing
I am very happy with delta.

I slightly tweaked the default config and it is great.

[core]
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
features = navigate
hunk-header-style = omit
line-numbers = true
line-numbers-left-format = "{nm:>3} "
line-numbers-right-format = "{np:>3} "
max-line-length = 0
> AWS SQS? No thanks - it wouldn't give me anything useful that RabbitMQ can't do

Allow other AWS services to send it events (SNS, lambda, etc etc)? Reliably handle millions of messages per second without managing anything yourself? Transparent KMS encryption? Fine-grained role based permissions via IAM without any hard-coded credentials?

Come on.
I remember when a friend and I, both with barely any experience at all, tried building our first SaaS.

We went crazy over access control, roles, etc, wondering how operating systems and databases did it, driving ourselves mad over how to implement it at the lowest possible levels so the rest of the stack couldn’t possibly go around it…

We were pretty certain there was some highly complex dark magic behind it all.

A few years later, I worked on a project where we built a SaaS MVP for a client, with access control.

Turns out most people apparently consider ABAC overkill and will go with a few simple if statements if they can afford to.
As long as we can keep plastic waste out of the environment, does it really matter?
it definitely is a fad but of all the fads the backlink based 'unstructured' way to take notes is honestly a very smart idea. It's the first time I've actually stuck with note-taking because it sort of organizes itself which for me was always the biggest problem with notes.
What exactly do they mean when they say vaccine is “90% effective against symptomatic Covid-19 and 95% effective against severe disease”?

A bit lost here…

For the first part, does it mean that 9/10 contacts with the virus, which should otherwise result in a symptomatic COVID, will not happen (or manifest through any symptoms), or it just means 9/10 vaccinated people don’t get symptomatic COVID (assuming everyone behaves the same).

Second part is even trickier: does it mean that (a) 95/100 of all vaccinated will not contract a severe disease, (b) 95/100 of those that get exposed to a virus will not contract a severe disease, or (c) 95/100 infections will not result in a severe disease?

I have a sense we also need a statistic covering asymptomatic infections, to get the full picture.
Type punning/aliasing with unions is well defined in gcc. Linus even has a humorous rant about it on the topic:

https://www.yodaiken.com/2018/06/07/torvalds-on-aliasing/

Sure, it's compiler-specific, but I'm already using `__attribute__((packed))` anyways.
My wife and I were just talking about this this morning. There is just so much "disposable" plastic. I'm willing to pay more for non-disposable containers, but a great many people prefer the lower point of sale price, and so market forces move towards "cheaper" plastics. Education coupled with legislation is the only way that I can imagine this getting any better
This depends heavily on the country.
Some countries severely restrict what police can access,in former or current socialist/communist countries the people expect nothing less than all data available to the government and in the US the people believe somebody safeguards their data and privacy, this is almost ironic when you think about how many google , Facebook etc are out there, not to mention agencies like NSA doing mega data collection wherever they can.

Doesn't matter much on an individual basis, the governments will always find a way to get what they're looking for once they seriously target you.
On CRT screens win8 rendering was crazy blurry for me until I installed mactype
This is a fragile argument. Systems can often be at peak before crashing.
Just export it to an Asian country.
>I always thought the biggest difference was subpixel vs grayscale anti-aliasing.

It's mostly hinting. Windows actually doesn't do subpixel antialiasing in many applications anymore. (such as Start menu or new Settings panel)
Universal Basic Income: Ilhan Omar Picks Up Where Andrew Yang Left Off
In practice we don't really have replacements for a lot of things "single use plastic" is used for. Sterilized medical equipment, storage and distribution of prepared food products for people with disabilities, and probably a myriad of other minor uses that don't get a lot of attention just don't have practical alternatives without making life untenable for a lot of people.

So I don't think there's a world in which we just stop using them cold turkey. At least not a compassionate one. A lot of research and effort needs to go into finding alternatives for these things, but the structure of our society doesn't really incentivize that.