skysight-inc/HackerNews huggingface dataset:
> It's very thin syntactic sugar over a function call

Actually, it's not. It's a set of AST nodes. What they compile to is entirely implementation-specific. Look at Inferno.js or Solid.js compiled code for example; it looks nothing like simple function calls. Although obscure, there are also other spin-off ideas floating around like compiling to math expressions or to file system APIs. Even within the scope of React, the idea of allowing configuration for optionally compiling to `h` instead of `React.createElement` for minification purposes has been brought up (and is doable in React proper in user space, and out of box with Preact).

The idea of adding JSX to JS got brought up before and it got shot down precisely because the compilation semantics of JSX are not formally specified.

> all of these can be defined in normal JS code as opposed to a DSL

Right, but my point is that "just javascript" is not a good guiding light if the goal is implementing a pit of success. The crank.js blog post talks about how its author thinks React has gone off the rails pursuing some notion of purity. DSLs are not automatically bad things. I've mentioned Solid.js before and it has a component-based DSL for control flow, and honestly that looks quite reasonable. At some point if one jumps the shark, so to speak, and starts making uncomfortable contortions to stay within the confines of "just javascript" and avoid DSLs at all costs, that amounts to leaving a useful tool unused at the table, where it could have been effective. "When all you have is a hammer", etc.
Beets has a smartplaylist plugin that generates playlists based on the queries you give it.

https://beets.readthedocs.io/en/stable/plugins/smartplaylist...

Granted, you need to start using beets to manage your library and I don't think there's any free tagging options in beets. It does have properties like "year", "language" and "genre" for songs though and you can always write your own plugins for it. It's in Python, so writing plugins is pretty easy. I for example wrote a plugin that adds music to my MPD's main playlist after it's been added to the library: https://github.com/Hamuko/beets-mpdqueue. Plugins can also add arbitrary data to the database and lastimport (https://beets.readthedocs.io/en/v1.4.5/plugins/lastimport.ht...) for example adds a play_count field.
Expat 2.3.0 has been released
I mostly agree with you. But I'm not sure that longer school days are the answer.
"Yank" is an ethnic slur.

Do we get to cancel you now?
It certainly didn’t help at all! But that’s okay, there was a lot of discussion around it. I th
> Masks don’t help for privacy

alrighty then. glad that's cleared up.

seriously, what's up with this binary thinking where there's just no room for nuance whatsoever? "no, patching systems isn't effective, because unknown 0 days exist, so it doesn't help."

how about - bear with me - wearing a mask is merely /one/ component of not being mass surveilled, and is part of several layers, each one of which is clearly helpful although each one independently may not solve the problem entirely?
> Mind you I live in Montreal, Canada. Things may be different in the US. In particular the bay area.

It's difficult to compare these places, when I lived in Toronto the homeless situation was nothing like what I saw in downtown SF, even around Bloor & Yonge at night.

You'll find the situation is much more grim in the US in major cities and exactly like the OP describes. It affected me slowly over the years, I'm still recovering.
Well, if you go West it is. The East is much like any European city - a warren of too-narrow roads. Which makes sense, as they were founded (by Europeans) when that sort of thing was common all over the world.

Here in Iowa, which became a State in 1846, we have a nominal 1-mile grid of secondary roads covering the entire state. To make easy access to land for agriculture. It was planned and executed by surveyors, business people and pragmatic colonists.
Is there any way this could be integrated with Twilio Voice?
The pattern in the US has been that Union's provide an uncheckable form of power for the individuals who run the union. These individuals then make changes that favor the union in the long term.

Union run pensions mean someone at the union get's paid for managing it. Union run negotiations mean that someone at the union gets paid for the negotiation. Union run pay debates means the union flattens compensation to keep workers unified.

I'd be curious for union models which effectively empower a check on union power by the workers.
"The science is settled!"

Often uttered by people who should know better - or probably do but don't care because it's a politically expedient statement.

Not a bad article, but the real elephant in the room these days is how to have a dissenting viewpoint and NOT get your carrier ruined.
When Kinship Is Traced Through Women, Their Health Follows
Latency often does increase with new generations of RAM.

But remember to compensate latency cycle counts with the faster cycles of higher speed RAM. Often the absolute time in nanoseconds hasn't changed as much as the cycle count numbers make it seem.
"An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer dereference will result, leading to a crash and a denial of service attack."

That sounds like enough info that exploits will be out pretty soon. And it sounds like most software that uses OpenSSL would crash. So, guess I'm expecting broad DoS incidents soon.
You really segued there to this 'exploitation' charge..

How is the freedom to engage in profit-motived activity exploitation? The whole principle behind the free market is that all interactions have to be mutually voluntary in order to be legal. Any action that is not, and that can be proven to not be in a court of law, is treated under the law as either a contract breach, or a criminal offence.

Are you suggesting that interacitons that are non-consensual are occurring, that a court of law cannot prove are non-consensual, but yet you can?
The car made it sensible. Seemed like a good idea post-war.
Answered in another thread https://news.ycombinator.com/item?id=26581857
Two unreleased iMacs referenced in macOS Big Sur 11.3 beta
You can't produce any arbitrary information out of thin air, but you could produce a specific one by chance.

E.g. a Minecraft world seed carries very little data compared to the world which the world generator consistently generates out of it.

The catch is that only a miniscule fraction of all the possible worlds can be actually generated since there is a finite amount of coresponding seeds.
> Maybe not youthful ignorance, but ignorance just the same. RMS's stance was a libertarian "no harm, no crime"; he reversed it when he learned that there is inherent harm in sex between an adult and a child.

Even taking that as absolutely true (which I think is quite suspect, circumstantially), it says something about the judgement and credibility of someone who has spent most of their life in public advocacy roles that they would start publicly arguing for legalization of sex with chidren as public policy not later than the age of 50 (the first public statement on the issue I can find is from 2003), and do so repeatedly over a period of over a decade and a half before “learning” that it his harmful to children (Stallman recanted on the issue in 2019).
I never said they were doing it wrong. I said the distribution matters. If, for example, you are running Arch Nightly and constantly pulling in the latest and greatest features, you're likely to see some stability issues. If you're using something like Ubuntu LTS, you'll miss out on a few new bells and whistles, but you'll get a very stable OS.

Saying "linux" has a poor update process or stability issues is meaningless.
Yes, absolutely. Still, the point is that the factory will be useful, but not a panacea to the US's lack of cutting-edge chip-making prowess.
Again, though, how are you going to keep those who don't agree with the code of ethics out of the profession, when they're on the internet?
Of course, there are self made men. If you have two people from similar background, education and access to infrastructure and wealth, and one successful and the second not, the first one is self-made.
Stupion – App Idea Generator
Stupion is an application that generates stupid but excellent ideas that you can start developing today. The list will be updated daily and it would be great if some of these ideas actually came to life in practice. Who knows, sometimes stupid, funny ideas become a million-dollar business.
I dislike the `q.` too, for many reason. One of which is it's not copy/paste friendly from code to Shell.

But it's just sugar, I basically write it the way you mentioned, by deconstructing `q`. See https://github.com/Vadorequest/rwa-faunadb-reaflow-nextjs-ma...
I'm a fairly casual player too, and I guess I have my favorite aspects of the game - I've worked with foreign languages before so language identification is fun for me, and I'm a car enthusiast so I like informing guesses based on the cars I see. One thing this article raised that I'd never considered was the direction that satellite dishes face. Definitely going to keep my eye out for that!
Erm ... what's wrong with self-indulgence?
That is the food itself. Though it really depends on the method. Most cooking, including frying, won’t raise pm 2.5 levels.

But if something goes wrong and you can smell any kind of burning, then generally the levels will rise to between 150-500. I’m including small things, like a speck of food getting out of the fry pan and onto the burner. Or not enough oil in the pan, or anything producing a maillard reaction. The line between “nothing noxious” and “whoa that is dangerous” is very thing in my measuring experience. And the best way to deal it when it happens is opening windows. These should clear it out within 15 min or less in most cases.

Never had a gas stove so never tested for pm 2.5. Am guessing it is higher, and co2 as well.
The "research" underpinning this article was published almost a year ago, Ars must be really hurting for content to repackage this as fresh news.
How does it know the items for the invoice? Presumably reads them from a file in the folder you've named for the customer?
One should also think about how stupid the average person is, realizing that half of them are even dumber than that....

Human advancement and civilization is brought forward by probably less than 10% of the population at any given time, the other 90% are either just going along for the ride or actively trying to destroy that advancement...
Sorry for the inconvenience and thanks for the advice. We'll do our best to ensure this doesn't happen again.
. . . the easy ones have been found and fixed. What remains are the hard ones.
I think the advantage some people see (which is a tradeoff) is that separate zoning means you can live on a quiet residential street that is away from the hussle and noise.
SQLite is one of those things that also shows by contrast how bloated and inefficient much of modern software is. It accomplishes so much so efficiently with such a small footprint.
Not to start a holy war, but what are the advantages of emacs over vim these days? I'm considering switching to emacs just to have learned both.
Safety in numbers doesn't apply today anymore. When someone goes batshit crazy on my train saying something racist or rapey, everyone else in the crowded car goes silent and tries not to make eye contact with the crazy person. We live in a world where anyone might be carrying a gun, drugs in their veins, or a bloodborne disease, so no one is intervening for anything unless it's their kin on the line. The street can be a scary place if you are one to be stalked by these sort of people. I've known several people who have been stalked to and from public transport and their house in this city. It's dangerous if you are a woman and walking alone, legitimately.
You are neglecting the part where major roads in the suburbs are aggressively unsafe if you are on foot or on a bicycle. There are places that are theoretically ten minutes away from me that require biking along the edge of a four-lane street with no side parking, no bike lanes, and no sidewalks, and a constant stream of cars to fight with. Biking or walking through that shit is super dangerous; I stay in the parts of the city that have roads that have some hope of the car-drivers acknowledging that the road belongs to cyclists, too.
"Monster builds 'cursed' USB-C port"

Article headline now reads 'Absolute monster'; I suppose to clarify this horror wasn't done by Monster Cable.
Using https://archive.org/download/ElephantsDream/ed_hd.mp4

Convert to uncompressed YUV420P:

$ ffmpeg -i ed_hd.mp4 elephant_dream_uncompressed.yuv

Compress with zip with default compression (I also tried -9 but it didn't make much difference):

$ zip compressed_elephants_dream.zip elephant_dream_uncompressed.yuv
adding: elephant_dream_uncompressed.yuv (deflated 64%)

$ ls -la elephant_dream_uncompressed.yuv compressed_elephants_dream.zip
-rw-r--r-- 1 bawolff bawolff 1961679613 Mar 25 08:54 compressed_elephants_dream.zip
-rw-r--r-- 1 bawolff bawolff 5422809600 Mar 25 08:46 elephant_dream_uncompressed.yuv

1-1961679613/5422809600 = .63826

-----

So, 63.8% compression ratio. This is terrible compared to any lossy video codec obviously, but its hardly nothing.

i would expect even better ratio if the source contained mostly solid colours like a screencast
Looking at https://dqlite.io/docs/protocol it seems like it does not allow for embedded usage though. Doesn't this turn it into more of a traditional client-server RDBMS?
> my hand made multi cloud automation (in case we move clouds)

Aren't these symptoms of a deeper problem? Many Product Manager I talk to wanted me to build something that is as flexible as possible and solves all problems for everyone, everywhere. Go microservices with gRPC and Kubernetes feels like the only high-level technical decisions I can take in light of such information. :)
There are two internet services in my lifetime that I was devastated to see shut down (at the time): Google Reader and lala.com.
Do you mean pm 2.5, or other stuff? I think a smell test is pretty good, but in my experience it is only a burning or dry cooking smell that sets off pm 2.5 meters.

So for example if I am frying chicken in a well oiled pan, and smell chicken, pm 2.5 does nothing. But if the chicken is browning and I smell....I dunno, the smell of browning chicken, that raises the meter.
Pause: A macOS app that reminds you to rest
I've been using Thunderbird as my RSS reader for years. Who in their right mind trusts Google?
Sure, it's definitely doable without a ton of density. The problem is neighborhoods like the one I currently live in (suburbs of San Diego), where everyone has signs up in their yards declaring their total opposition to changing the zoning to allow 2-4 unit properties. That would destroy the "character" of the neighborhood, you see.
It's that, but it's also a symbol for how the Web has changed. Google bulldozing Reader in order to clear ground for a (intended) social media behemoth reflects how all sorts of smaller online communities and spaces have been razed or faded away as everything continues to consolidate onto the social media giants.
Twitter still supports the chronological timeline. It's no Google Reader, but I refuse to submit to The Algorithm.
Please don't take HN threads into nationalistic or ideological flamewar. We ban accounts that do that because it destroys the curiosity that HN is supposed to exist for.

If you wouldn't mind reviewing https://news.ycombinator.com/newsguidelines.html and sticking to the rules when posting here, we'd be grateful.

We detached this subthread from https://news.ycombinator.com/item?id=26577686.
It's a consensus mechanism that uses a particular data structure.
Considering that BoringSSL is the library in Chrome, Android, iOS, and Google's GFE, I imagine it's adoption is not "poor". It is probably the most widespread TLS implementation, by traffic.
This would probably be the case for the imagined suburban neighborhoods in the article. Select cities in the USA (notably NYC and LA, perhaps SF as well) have disproportionate homeless population because people travel there to live a homeless lifestyle. I personally know people who moved hundreds of miles away to one of these cities for easy access to drugs and opportunities for prostitution.

Your average walkable suburban center would likely have a pretty limited homeless population, and locals would be familiar enough with them to recognize whether or not they are a potential threat.
>For instance, in one study, my colleagues Patricia Chen, Jamil Zaki and I looked into the coping strategies used by people who were disappointed and upset following the outcome of the 2016 US presidential election. Those who viewed self-compassion positively were more likely than others to draw upon self-compassion in a beneficial way to help them get through the difficult times – for instance, they reported using more active strategies to manage their emotions, such as seeking support from others, and relied less upon unhelpful strategies, such as distraction or self-blame. This not only helped them feel better, it worked better too – our participants who practised more self-compassion reported having more intentions to improve themselves and the situation, such as by committing to become more politically active.

But that's the entire issue behind whether something is "self-compassion" or whether it is "self-indulgence". How do we know what's beneficial and what's not? Sometimes being hard on oneself is good. Sometimes being soft on oneself is bad. We can't know in advance the outcomes of our actions, so how do we choose between the two?

>Remember that, time and time again, researchers find that self-compassion not only helps us feel better but has positive practical consequences too.

But again, this generic statement isn't enough for people. This doesn't help people determine where the line is between self-compassion and self-indulgence. If I quit my job and draw bubble baths all day, then yeah, I'll feel better, but my material status will decline precipitously, and if I have dependents, the benefit for me turns into a loss for them.

Feel like this article could have been written by GPT-3, looks legit but totally lacks substance.
Going to take this opportunity to tell everyone that NetNewsWire has gotten really good – it's free, looks great on Big Sur, syncs via iCloud, I can't recommend it enough.
You can use anonymous firebase login option to log in users in the background and when they are finished, prompt them to use oauth login.
While I appreciate the sentiment generally, I think this opinion, at least expressed as it is here, is a little exaggerated. In this case the author is a doctor, which probably makes him more qualified than your average Fox News commentator. He's a surgeon, though, so he probably isn't the most qualified person so, sure, grain of salt etc. What if this had been an opinion piece from an esteemed epidemiologist? Should we still disregard what they say?

Generally, I think the best strategy is to be open to what people might have to say if one is also diligent about checking sources.

EDIT: Missing words.
Best Selling Headphones for 2021
This is the fix for the LibreSSL issue [1]: https://github.com/libressl-portable/openbsd/commit/5f00b800...

This is the fix for the OpenSSL issue: https://github.com/openssl/openssl/commit/02b1636fe3db274497...

They don't appear to be related to me. One is a UAF, the other is a NULL pointer dereference.

[1] The LibreSSL issue was found by HAProxy's continuous integration pipeline: https://github.com/haproxy/haproxy/issues/1115. Disclosure: I'm a community contributor of HAProxy, I help maintain the issue tracker and I took part in debugging the issue.
Current school days are an artifact of pre-industrial agrarian culture. It's highly unlikely that summers off, or having kids leave for school 2-3 hours before their parents leave for work is the best organization.

Ideally I'd like my kid to have school time similar to my working hours with before/after-school activities to fill time. Simply creating block time for students to work on homework/essays would likely improve education outcomes for many students.
It would be so cool if you could change the colors directly in VS Code by just pointing to the pixel that you want to change. A color picker would pop up and the change would be applied immediately. (It would not only change the selected pixel but the entire color key)

Maybe with some machine learning the easy-to-compute function from colors -> VS Code UI Screenshots could be inversed, so that you know which color keys influence a certain pixel.

Sadly the color space is finite, otherwise the color key could be easily encoded in the color without changing the color much.
Looking forward to high DPI CSS colors ;)
I would argue that mixing is a good idea. 300sqm per household is not a great upper limit for families nor affordable for people with smaller incomes. But houses with 4 apartments of various sizes on 600sqm lots can be quite nice. Add to that single-family-homes with 2.5 stories on similarly sized lots in a 1:2 ratio and you got a nice quarter. If you make the roads broad enough, that is. Feeling cramped in can really destroy the appearance (and take away space for public trees).
The theory is that you don't see those 10 commits unless you choose to.

I think they're right in theory that a Sufficiently Smart^TM scm should be able to work better by not throwing data away, but I haven't tested if it actually works in practice.

> The Git documentation acknowledges this fact (in so many words) and justifies it by saying "rebasing makes for a cleaner history." I read that sentence as a tacit admission that the Git history display capabilities are weak and need active assistance from the user to keep things manageable. Surely a better approach is to record the complete ancestry of every check-in but then fix the tool to show a "clean" history in those instances where a simplified display is desirable and edifying, but retain the option to show the real, complete, messy history for cases where detail and accuracy are more important.
CMUS has a fairly sophisticated filter language. Example from the man page:

Filter all rock (anything with rock in genre tag) music from 80s-
:filter date>=1980&genre="*rock*"
:filter ~y1980-~grock

... which can be found here:

* https://linux.die.net/man/1/cmus

Text interface ... but then most good things are...
Incident here, but no details: https://status.heroku.com/incidents/2218

API is back up now although dashboard login is still not working.
> how stagnant Reader was before its death

That's a feature, not a bug. It was close to perfect, no pointless UI re-designs required. Fast, lightweight, no bs.
Anyone knows who that person in the framed picture is?
I use NetNewsWire on my iPad and it's outstanding. Totally free (no ads) and open source (MIT). Brent Simmons is the project lead and he has a long history with RSS and clearly loves it.
This is my favorite thing about Japan. The layout and transportation perfectly matches my ideal, I’d love to live there for some amount of time.
Building a full-text search engine in 150 lines of Python code
I mean, sure, but the FSF / GNU projects are a very small drop in a very large bucket of GPL / free software projects anyways.
I'd rather he'd announce his MTA & MUA so we can reinstate the fossil mailing list. Going to its own quirky (at the time, haven't checked since the switch) forums meant I lost interest in being part of the (dev) community.
...or the projects would have to accept not-so-good engineers. :(

Unfortunately, money brings in risks around project quality and integrity.
Yeah, and using float literals you get 0.20000...2:

jshell> .3f-.1f
$1 ==> 0.20000002

We got ourselves a hat trick :)