skysight-inc/HackerNews huggingface dataset:
The core of a neutron star is 100% neutrons (or perhaps a quark-gluon plasma where no individual neutrons are distinguishable). All the electrons and protons have been crushed together (by the extreme gravity) until they merge and form neutrons. As you get further away from the core, you find more and more protons and electrons, but still no atoms. The surface layer of the star has distinct atomic nuclei, but since the surface temperature is so hot (600,000K) they are not neutral atoms; the electrons are not bound to the nuclei. The density at the surface is still about a thousand times higher than the density of water or stone.
Somebody already did that for us others to enjoy: https://github.com/achin/boss-work-manager-configuration, running at http://java.metagno.me/
We've been working on a plug-and-play Matrix homeserver solution that will be entering private beta very soon. Powered by WireGuard, we tunnel federation traffic (from other homeservers) to your homeserver without requiring you to expose any ports to the world. Our solution gets you from 0-to-Matrix homeserver in about 60 seconds. This offering is part of a broader ecosystem of open-source applications that we plan to package, make push-button and provide professional support services to a non-technical audience. Our primary deployment target being custom fabricated SBCs similar to the Raspberry Pi 4. We are actively seeking developers interested in building and deploying privacy preserving, self-hosted applications (like Matrix) for this platform. Join our mailing list if you'd like an invite to our beta or to check out our developer documentation: https://www.noteworthy.im
Do you have a link to a guide or anything that would let me replicate your setup for Xcode? This is definitely something I could really use right now.
Sigh. You're not wrong, but I do believe that we can change the dynamics over time :)

Building from source is a tricky one and actually I'm not sure that everyone should compile from source (although it is definitely good to retain that ability, and to have, for example, entire Linux distributons that do so during package installation.

Signing keys and binary signatures should achieve most of the result without requiring energy and CPU expenditure on recompiling every time. Especially in the presence of continuous integration, those resource costs can spiral, and that's energy that could be spent on other needy human endeavours.

Regarding enough eyeballs - yep, it's hard to tell at the moment. When version bumping a single dependency by a minor release versiom, often it's possible to do this manually by checking commit and change logs. But it's hard to scale.

The longer-term solution there is likely automation: we should encode as much of that manual diff-and-review process as we can into automated security scanners. With good enough static analysis, and languages that can unambiguously express code as syntax trees, we should be able to generate 'tree diffs' and look within those for resolved, unchanged, and introduced issues.

Lots to do and better times ahead :)
Beam on the edge: Innovation through problem-solving
> “Empty space” is a completely relative notion.

It's relative to your perception of it, but physics doesn't care about what pattern your neurological impulses have in relation to matter.
Profiling isn't really a good example; I don't actually mind doing it via language-level magic, since it doesn't affect the actual behaviour of the application - every function still executes the same and still returns the same thing, we just observe it in more detail from the outside.

But to answer the question, I'd use a monad, something akin to treelog ( https://github.com/lancewalton/treelog ). Apply the wrappers at the points where you want them (and they'll be visible in the type), and then the tracing is naturally threaded through in a way that's visible but not intrusive (basically just the difference between <- and =, so when you're reading the code you can see it but it doesn't get in the way of reading the business logic). Maintaining it is easy because it's just part of the type of everything, so automated refactoring in you IDE will do the right thing; testing is easy because everything's still just a function and a profiled computation is still just a value, but you have access to the profiling trace in a normal way as a first-class value in the language.
s/S/s/
Textual ones. In English. Approximately compliant with the rules, in most cases at least.
Not exactly double / reverse meanings, but there are several setences that are traditionally used to test Japanese tokenizers. Most of them are tongue twisters, like this one:

すももももももももの内

"Japanese plums (sumomo) and peaches are both kinds of peaches"

In speech intonation would make the word boundaries here clear, but in writing it looks odd.

This isn't a tongue twister, but tokenizers often fail on it:

外国人参政権は難しい問題だ

"Voting rights for foreigners is a complex problem."

外国人 (foreigner) / 参政権 (gov participation rights) is the right tokenization, but a common error is to parse it as 外国 (foreign) / 人参 (carrot) / 政権 (political power).
You can toggle between the old and new - click the little triangle at the right end of the header bar and then "Switch to new Facebook"
That's interesting, but it would be nice to see the actual example. Not sure why you would use the loan word for travel bag, or what Hangul you're talking about exactly.
You obviously want to grind an axe and assume the worst about other people, but these are all alternative answers:

- Local governments

- Communities

- Nonprofits/charities

- Individuals

Time was when didn't all just piss and moan for some big party boss to save us, we acted like adults and did it ourselves.
What are you talking about? Every Clojure library does not get abandoned. It's just a process of survival of the fittest, like with any language. The popular libraries in Clojure are (mostly) actively maintained like with any other language.
Only right wing conservatives like Bolsonaro and Trump are attacked by the leftist media.
I've never seen a keyboard with hyper or super. I doubt many people have, since they were only present on hardware obsoleted decades ago. Meta, aka the windows key on most PC keyboard, is usually present, but most people wouldn't know its name. On Windows, it's not even usefully bindable since Windows uses various shortcuts for it by default. On Linux, it's not bound to Meta by default by most distributions. So for the vast majority of people, it's just Alt.

I don't think Emacs has done itself any favours by using obscure and non-standard terminology based upon machines from the '70s which few people have heard of, let alone experienced. For the vast, vast majority of us, we all have bog-standard PC or Mac keyboards, and have done for the past 30+ years. It would have been in everyone's interest to standardise on terminology and keybindings which were immediately understandable and usable by all.

Given that every other application uses the standard terminology and keybindings, and that I don't see much in the way of compelling advantage to keeping the non-standard bindings other than habit, I think preserving backward compatibility for four decades was laudable but misguided.
When someone talks about robots destroying the mankind, I start picturing scenes from movies or tv series (i.e. Terminator, iRobot, Westworld so on) where human like robots try to destroy the mankind.

Robots taking over the world may not be eminent. However, greedy people taking over the world with the help of robots and AI is already being facilitated for quite some time. Governments acquiring technology to hush the oppositions and free speech around the world is a common phenomena around the world. Usage of data along with AI to pinpoint, target and destroy enemies is being used for over a decade.

It is the usage of data and AI by the greedy community we need to be more concerned about, not silly imitation of life that barely perceives the world.
There's always m.facebook.com if you want a retro experience.
Teminator.

I see many people suggest tmux, but I have not seen suggestions for my favorite terminal emulator.

Ctrl+Shift+E for vErtical split
Ctrl+Shift+O for horizontal

This is a killer feature. It is also much better than tmux because scrolling up is naturally supported.

I always keep an instance of Teminator running full screen on one monitor and whenever I need another terminal, I just split the screen, or go to the relevant already open post of the screen.

Having a visual overview of all instances of very helpful and much better than using tabs.

The other killer feature in bash is Ctrl+r.
Ishmail – email client with Motif GUI
FDA authorizes CRISPR-based test for Covid-19
Or maybe they will? https://time.com/5834087/shanghai-disneyland-sellout/
> Speaking from experience the fastest way to get around Seoul is on a scooter.

This is a pretty bold claim and I don't think you can get agreements from the majority of Seoul citizens. I lived in Seoul over 30 years and I usually could access most of the "downtown" within half an hour by a combination of bus and subway. It's been a while after me leaving there, so I guess the situation should be further improved. I don't know why you're even mentioning scooters as it's meant for delivery in the context of Seoul, not for a typical mode of transportation.
Do you use ReasonML on the backend as well? Or just something like ReasonReact? I've been interested in Reason and still wondering the best way to work it into my NodeJS/React/Typescript stack.
> If you're a seasoned Java developer you look at an `AbstractDestinationResolvingMessageTemplate` and you just know what it does. I'm not kidding.

This claim is so bad.

You could look at the name AbstractDestinationResolvingMessageTemplate and the useful information they would be gaining is that it's a message template. They would still not know how to use it; they'd still have to do an additional step like checking the documentation on its usage etc. The amount of useful information to text is small and it doesnt help.
Nah, in the late 50s and until the 90s, there was around 25% on women in computer science in the US, and close to 50% in some countries like France an UK (i think a book was written on why in 2017).

I've talked to Pr. Emeritus Mallard a lot three year ago, who was a biology researcher studying genotype and phenotype in animal/vegetal populations (for context, he got his degree around the time we discovered ADN). From what he remember, there was a lot more than 50% women when he started, at least as "programmers", although they were barely viewed as clever seamstress at the time.

Each time he wanted to do a computer-assisted statistical study in the early days, the programmer was a woman (again, from what he remembers) and he always thought the field was dominated by them, at least for grunts work.
We do, all the time. What we don't do is sacrifice thousands of others quality of life just to slightly extend your expected lifespan.
Actually learn how your tools work. Don't treat things as black boxes, tear the cover off and learn what is actually happening.
What if I'm an audiophile programmer who has won multiple marathons and likes to cook as a hobby ? What then ? Interests and identities are fluid that's why trapping people in boxes never works in long term
China was broke before the pandemic hit with many state owned banks going bankrupt.

Imagine how they're faring now.
I hope I will teach it to cache routes soon
Very interesting. Thanks!
I spend 99.9% of my screen time on my phone or laptop, I'd be quite content with an app for each of them. I assume at that point both could run from some kind of database that gets synced between the devices and stored in the cloud? Potentially a big download on a "new" device, but that's ok (and maybe the option not to sync large notes when setting up a new device). At very worst you could offer access to the notes in the cloud (for those times when you're absolutely desperate), but no full text search? Just thinking out loud!
The evidence is staring at you in the face.

The Chinese were able to halt the spread of the virus through combinations of social distancing, physical isolation, lockdowns, and wearing masks in public, whether N95 or KN95.

Gloves also help limit the spread, but you have to be aware of not cross-contaminating everything. As well as hand sanitizers.

Obviously, wearing the masks alone will not do the job. You need a full spectrum of behavioral changes, in order to halt the spread of the virus. Especially the combination of social distancing, plus masks. And everyone must get educated about it. No excuses!

But at this point, you have to question if all this is worth it, as states are opening up prematurely because people want to go to the beaches.

Hell, I want to go to the beach too! But the virus containment fight is not over.

The 2nd wave is coming, and it’s going to be bad!
You can't insert them at completely arbitrary points in third-party code. But libraries can be written generically (in terms of e.g. a general monad) so as to propagate cross cutting concerns from your callbacks to the right place, even when those concerns are implemented later on and the library doesn't know about them. Look at e.g. fs2 and http4s: everything's written generically in terms of some F[_] type which the user supplies when they use the library, and it will all be plumbed through correctly. So if you want logging, you use something like treelog as your F[_] type; if you want transactions, you include a transaction type in there. And so on.

In my experience that covers almost all the use cases, while it means that library code can still behave predictably and be understood and tested (e.g. you don't have to worry that a library upgrade is going to break your application, which you do if you've used AOP to define pointcuts deep in its internals).
Ask HN: Looking for a simple and free website analytics solution
Hi!

I have a low traffic blog and would like to get a bit of insight on where it is coming from. I know there are quite a few solutions out there but I don't want to use Google.

I'm looking for something simple, straightforward, maybe self-hosted but if not, with a generous free plan :)

What does the HN community recommend?
know your keyboard shortcuts
I tried to do this for my last project but ended up spending too much time making the blog and didn't get around to properly starting the project! Maybe instead of rolling my own site from scratch I'll use Hugo.
Another entry should be added to the “things programmers believe about commodity prices.”
Banks don't want private sector innovators like Mark Zuckenberg threatening their banker monopoly with libra cryptocurrency.
Vitamin D appears to play role in Covid-19 mortality rates
I have to say when I took an extended layover in Doah it gave me a different sense of urgency about climate change. It was just oppressive to be outside, even during the night and they air-condition their open air markets. It got me thinking that there are a lot of places like this which are probably on the edge, and where a few degrees of warming will make them simply uninhabitable to humans. It would be a strange thing to have "hot zones" like we have arctic regions where it's not possible to go without special equipment.
The industry has been trying to write C and then C++ for decades, but it all blows up randomly. Buffer overruns, use after free, shared mutable state. Apparently tooling exists that tries to make Rust-like guarantees, but it's so costly I've literally never seen it used.
As he said in his interview with Peterson, he declined interviews with any centrist media. He filed an NLRB complaint before posting, hired Charles Johnson (who is a professional conspiracy dude and claims to know where MH370 is) to run PR and made a bee-line directly for maximum exposure with people like Molyneaux.

That's a very deliberate choice. He's no martyr of rational thought.
Sorry, "travel bag" is just an example I remember someone mentioning before. You can see the Mecab fork with example output here, but the docs are all in Korean so I can't really follow it.

https://bitbucket.org/eunjeon/mecab-ko-dic/src/master/
Of course it's less bad, we did something about it.

It's like the Y2k bug. There were forecasts of doom, so we did something about it, so then there was no doom. That doesn't mean the original alarm bells weren't justified.

Framing the situation as we were right or wrong is weird though. No one has a time machine to go and come back with the truth, as if someone knew exactly how this would play out but was keeping it a secret.

It was a total mystery 3 months ago. We're only barely starting to tease it apart now. Given that, the conservative option, the choice that kills the fewest people, is what we did.

We could have avoided overshooting if we'd known 3 months ago what we know now. The problem is we didn't have knowledge from the future. 3 months ago it was clear this would have an extreme impact, economically.

What would you have done differently, given what we didn't know back then? (Also keeping in mind we still don't know all that much about this disease.)
I understand what you're saying but it doesn't make sense to me why this would be a rare occurrence. How could all the varied matter we perceive be so perfectly smooth and inertia free along the 4th dimension that we see no collisions resulting in movement along a 4th dimension?
You bless maths, not the middlemen in digital signatures. Electronic signature infrastructures are usually based on strong public key infrastructures, which I call them legally admissible digital signatures. The primary problem with electronic voting is no possible enforcement of no coercive force rule, not tallying security.

See https://en.wikipedia.org/wiki/Electronic_signature to start.
Composing Components with Pseudo-Selectors
Many of those things are solved by outsourcing it to a distro. Sure it's not perfect but having a maintainer layer between the developers and the users has proven much safer than blindly trusting the developers like npm. It also scales much better than doing it yourself.

Many have been focusing on reproducible builds lately too, so you can verify that a binary is from a particular version of the source code.
How could a nation like sweden which lacks the basic competence to oppose open borders have a chance of addressing this pandemic?

Sweden's claimed success versus corona is more likely false advertising, similar to china's, than a reality.
There is no support for comments though. Which I believe is the soul of hacker news.
> I have always been a fan of using module_os_arch.cpp

Oh no, I found that to work very very poorly. It's an antipatterns because architectures change, and that you can't cover all architectures.

Not only for my own software (I've maintained portable open source for decades across many architectures), but also huge frustration when porting software to a new (for that software) architecture.

Examples:

The software should not care if it's "linux" or "freebsd", you care if getpwnam_r is the three or four argument version. When one OS changes (or admin tweaks it) to the POSIX compliant API by default, what do you do then?

OpenBSD is API wise close to FreeBSD. So now I should find all files named ._freebsd_. and make a copy to _openbsd_, forking the code, if I port to OpenBSD?

What about Debian kFreeBSD? You don't have all of these OSs, so just test features, not OS.
[SPOILER]

_____________________________________________________________________________________________________________________________________________________________________Interstellar kinda touched on that.
Hyperbolic scales were popular some time back, for 2D "fisheye" tree displays. They mapped an infinite plane into a finite display.
Well, the whole point of AOP is to handle these "not good examples". Now, certainly if you use the wrong tools for the wrong job, you'll shoot yourself in the foot. But there are many powerful tools that we shouldn't eschew just because we fear using them wrong. And then there are many cases where you shouldn't use these tools just because you can.
Collapsed as in:

* Not enough doctors, nurses, beds and medical supplies to treat all (or even most of) the patients.

* Extremely stark triage decisions. Deciding not to treat patients who would normally be treatable, instead leaving them to die.

* Doctors and nurses working to the limit of exhaustion.

* Normal care essentially stopping. All medical resources being focused on one disease.

* Morgues unable to handle the number of dead.

Finally, double the regular number of flu deaths occurred in just a few weeks, and that was with extreme social distancing measures. Without those measures, the death toll would have been far higher.

You're describing this as some sort of mass hallucination. I don't see how that's a defensible position.
There's still both motivation and workforce missing to overhaul the desktop. It's not usable and in fact harmful for any average user.

Imagine you knew a large corporation uses LibreOffice. I doubt you'd need a million-dollar black market 0day.

Imagine an average user tries to perform a backup reliably ('this looks like time machine only it breaks restoring between versions').

Imagine you buy new blueooth headphones and you can't use high-quality audio codecs out of the box but need to compile something called an audio server.

Hell, in 2020, you don't even know for sure which application draws your browser window on the screen. Is it your browser, or some other process imposing your browser?

These are so many distribution-wide or ecosystem-wide issue that I honestly don't see the progress at any acceptable speed.
The Firework Nebula: the story behind the codename for the new OpenNebula 5.12
Game Engine Black Book Doom
30 years of programming and it never occurred to me that DIM derived from DIMENSION.
Just curious but have you tried Hegel (https://hegel.js.org/)?

I've only just started playing with it but it already feels superior to Typescript (for my needs)
For a number of years I used the jetbrains IDE's (at alternating times I used phpstorm, webstorm and intellij), commonly perceived as best in class. Then I switched employers to a place that had standardized on VS code, so I moved over as well.

I have to say that while it was hard to get used to in the beginning, it is surprising how good VS code is. I get 80% of the featureset of jetbrains' products, for free. Specifically, all of the features you mentioned VS code does just as well when doing web dev.

The only thing I'm missing is the framework-specific automation helping you easily set up projects, builds, unit tests, and so on. VS code can automate those things, but there is more googling involved.
Via https://news.ycombinator.com/item?id=23123002
Language itself is a distortion of your thoughts.
GPS Satellites Interactive Visualisation
I would be interested to know by which qualities Hackeroo is the better UI.
This website is arguably the best resource: https://developer.mozilla.org
Reddit app and Microsoft News app are the only one’s I open daily.
Blog – Blog Ideas-4 Brainstorming Tips
The OOP paradigm itself requires rather heavy use of abstraction. You can deviate from those patterns to an extent, you can add more polymorphism if you want to, you can be selective in using some design patterns like DTOs. But most of the complaints I hear about Java would apply equally to most of the C# projects I’ve worked on, because those are just the annoying bits of OOP. I’d agree the Java is a bit more inflexible, but it’s not like the other OOP languages aren’t also full of boilerplate and layer upon layer of abstractions.
>The last secession was in 287 BC. Why were there not secessions after it?

The wikipedia article concludes that the final law
"eliminated the political disparity between the two classes" so I am asking(not contradicting you because I don't have the knowledge) if your conclusion is based on something solid or just your own guess? I am not convinced about your agument.
White on black is absolutely unreadable