skysight-inc/HackerNews huggingface dataset:
If the argument is "what makes ERB / JST / some other templating language better than React for server-side rendering" then sure, there's not really much difference.

What I suspect was the intent of the original question was "why does a simple app need to be an SPA with an API on the backend", which I do feel is something that adds significant complexity to any project. It's sometimes worth it, but I'll never be convinced that having to maintain an API alongside client-side rendering is faster or easier than a traditional server-rendered application.
Is the only thing you are doing with your cloud vendor is using VMs? Not S3? Not IAM? Not SQS? SNS? You don’t have to go through security audits? Hybrid networks via VPNs/Direct Connect? You don’t have a massive amount of data that has to be transferred? Your DNS entries? Your build pipelines?
I can't believe I got all the way through @scriptingosx's book on Zsh and the suffix aliases just went right over my head.

(Self, you idiot)

cd'ing into a directory on the fly without even thinking about paths and just opening files by name is powerful juju

Together With AUTOCD, this feels like it shouldn't be possible...but it is.
Informative.

I didn't know sex dolls are purchased by people other than the stereotypical "weirdos".
I see the page and example blog, but where's the platform?
> f-droid is a horrible experience though IMO.

It's not good for app discovery. You already need to know what you are looking for. Other than that, most of the time it works fine.

In other words, it's a bit like Amazon.
What do you mean bias??!! That's from a verified source
How Are You Managing the Storm?
We might be focusing on different parts of the DMG. The parts I focused on and remember well are the parts that have nothing to do with D&D. Take Chapter 4: Creating NPCs. The first half of it is about fleshing out memorable characters quickly, which is a skill useful for any tabletop game (or just general fiction writing). It advises you to flesh out occupation & history, appearance, abilities, talent, mannerism, interactions with others, useful knowledge, ideals, bonds, flaws and secrets, with sections of examples and tables for quick generation, as well as advice for what to focus on really quickly. Most of the rest of the chapter is the same for villains, with little D&D-specific bits filling the remainder.

Or the play style section in chapter 1, which is about how different people play for different reasons, and you should get to know whether which of your players are looking for hack and slash, versus immersive storytelling. That's even more important in other kinds of games than it is in D&D!

I haven't actually played D&D in a long time, but it's been very useful for me in other very different kinds of games, and even fiction writing. I'd recommend you take another look.
> no country in the world wants to loose control over their currency

You're free, in America, to settle transactions in whatever currency you please. When it comes to taxes or settling debt, U.S. dollars have primacy. But if you want to sell your house in Euros or Bitcoins or bags of glitter, that's always been permitted.
This is a great, great app. I use it and love it.
> There are a handful of people who are indeed just upset about their freedoms in that sense, but they are a fringe.

I live in a blue state, but I am seeing SO MANY PEOPLE ignoring sensible, low-effort preventive guidelines, such as social distancing and wearing masks when in close contact with others.

My best guess is that it's a mix of:

1. freedom / civil liberties / not wanting the government to tell them what to do, and

2. the shortsighted view that just because they're of an age unlikely to be hit hard by the virus, they shouldn't need to mildly inconvenience themselves to prevent the spread to more vulnerable populations.
Nuclear reactions don't just make EMPs; it's not like nuclear plants are emitting continuous electromagnetic interference. Nuclear EMPs are created when radiation ionizes susceptible atoms, creating charged particles via Compton scattering. That's why high-altitude nukes create much more intense EMPs; the low-density atmosphere is much easier to ionize.

Gases at low pressure are DRAMATICALLY easier to ionize than anything else- think fluorescent tubes, etc. Dirt will not be highly ionized by an underground explosion, although I can't actually find anything about underground EMPs. It is safe to say that the EMP will be very greatly reduced, though.

The EMP is dangerous to electronics because it creates a voltage gradient over a large area. A 5 volt gradient across a few inches of ground plane will destroy most electronics permanently. A semiconductor is painstakingly embedded with atoms that create an intrinsic voltage difference across a tiny sliver of silicon; a mild voltage in the wrong direction will erase that gap. It will not destroy wires, since the pulse is extremely short.

Forget erroneous measurements. The EMP would kill the computer if it was just a plain wire. You're talking about picking up tens of thousands of volts across any kind of protection circuit. The only possible way this works is with some protection, ideally shielded wire like a coax cable. If that's the case it'll just cause a brief (<10 microsecond, mostly) flash of current to ground. Modern Ethernet is twisted pair, but the first ethernet was coax and the first R58 was sometimes shielded.

There are other types and components of nuclear EMPs but they mostly aren't important in this case. There are several highly questionable things about this story- the PDP-11 would need a pretty skookum power supply to not bottom out, the motivation is... strange, the ethernet wire would need to be incredibly long, etc. etc. EMP is probably not one of them, at least as far as the quality of data. EMP becomes irrelevant if you can access raw data or the ping uses anything but the simplest impulse waveform. Assuming you can actually collect data in the first place, anyway.
Discard channel, #announcement
Why not? Addiction is basically an illness, whose causes are broad, and breaking an addiction requires a lot of support.
It's mostly skill development. I don't want at the end of my career to be a great big company programmer.
I would avoid multiplication entirely and say that if you are combining tables, you need to update the bottom with the new number of total students. So something like:

(T1 girls) + (T2 girls) 1 + 1
_______________________ = _____
(T1 total) + (T2 total) 3 + 3

I think that's more intuitive than averages, and would still work if the tables were of different sizes.
I love the general idea of this. It is a way of introducing a chat application that is not controlled by some single behemoth. It can take advantage of other people's servers (via email), so there's no real cost associated with it like there would be trying to stand up a server for handling nearly any other protocol. I'm just not sold on PGP. I don't see a point of this as long as metadata leaks.

I wonder if you could do the same, but use usenet. Most usenet providers allow encrypted connections to their servers... But then people would have to have a subscription to usenet.
Everything I learned starting a $6000/mo e-commerce business, Part 1
Microsoft recently developed a modular form of Microsoft Office which allows you to integrate a modifiable spreadsheet into things other than .xlsx files. Automation may be easier if disparate systems all used the same modules. This is especially true in the finance sector where everyone uses Excel.
I'm pretty sure neither `apt` or `yum` or other common package managers support any way of running as non-root. Of course you can download the sources and compile yourself, or maybe even find a binary distribution with all dependencies included (good luck with that).
> CodeCommit should have been called Amazon GitHub

because Amazon can ignore trademarks? That would have been an entertaining lawsuit between Amazon and Microsoft though.
>I cannot buy ebooks with a resale limitation

I think within 5-10 years digital media like ebooks, games, movies etc will transition to being represented by ERC-721 tokens which brings with it the benefits of physical media (permanent ownership, sharability, etc) while also being easy to store, transport, read digital items. The main benefit is that you can buy your ebook/game/movie in one store/ecosystem and even if that system goes out of business your purchase will still be valid at other stores and platforms. Like physical books, these items can be re-sold and given to anyone you like (granted you won't have access to the book anymore.)
If it were part of color, then sure. If the villager was presented as unreliable, then it cues the player fairly.

Hey, you do your campaigns as you wish! Just noting that what you call 'tainted information' is part of color and challenge. Use it how you like.
> Obsession does not mean religion. I can't believe such drivel makes it past the Atlantic's editorial.

https://www.merriam-webster.com/dictionary/religion #4

> a cause, principle, or system of beliefs held to with ardor and faith

That definition certainly applies to QAnon, no?
> People don't wear masks because it is dehumanizing.

There is nothing more dehumanizing then dying of a disease that could be prevented by someone wearing ~$0.50 worth of cotton across your face.

And evidence suggests it does work, just not hardcore, beyond-the-shadow-of-a-doubt conclusively. Given that they're stupid cheap and have zero long-term complications -- chloroquine will damage your organs; a mask should only leave gentle crease lines that go away soon after -- it's crazy to not expect people to wear masks.

Put on your damn mask and go about your business -- it's working fine in Taiwan and Korea.
Rust is not a Mozilla project, but it is sponsored by Mozilla. https://research.mozilla.org/rust/
I appreciate the no-bs lightweight website sentiment as much as anyone, but I think there's also something to be said about drastically improving readability with some line-height and font styling.
Is there an easy way to convert libra to bitcoin? I don’t have objection to centralised initiatives like Libra so long as people can convert cryptocurrencies easily.
Is this different from the note taking app "Bear"
Dental Hygienists
No, just start a post about it.
Same here - it got stuck at 96% (whatever that means), but it worked when I hit “Log in” the second time.

Strangely, the setup screen doesn’t seem to differentiate between “automatic” (i.e. “simple”) and “advanced” setup and filling out the fields is necessary for both when using the advanced setup mode.
Standards-compliant web browsers are impossibly complex to build and maintain, which is why the handful which exist are all under powerful commercial influence.

If you want to "fix" the internet, spend some time enriching open, federated protocols that are designed to be human-scale. The internet is here to stay, but we can do better than the web as it presently exists.

Gemini is worth looking into: https://gemini.circumlunar.space
Breakthrough Colourization Enables Instance-Aware Treatment of Multiple Objects
The grandparent's note about units and your mention of ratios get at the same problem for me:

The lesson mixes two of the physical world concepts that are often modeled by fractions.

One is an incomplete whole (the six pack) and the other is the proportions of a mixture (table demographics).

Fractions always have the same rules, but the rules map differently to the different territory being modeled.
There are two sides to that coin.

.NET, by putting all their efforts into just one GC, has absolutely reaped a lot of benefits in terms of working well without any fuss. .NET also has better ergonomics around memory management. For example, it has much clearer and stronger guarantees about what state the runtime environment will be in after an out-of-memory error. On the other hand, I'm sure that making these guarantees have at times constrained the things that .NET can do with its garbage collector.

Java, by making the GC a plugin, has certainly spread its efforts thinner. It's also turned the Java-facing side of the memory management subsystem into a somewhat scary and mysterious black box, since that very swappability means that the application itself can assume almost nothing about its behavior. On the other hand, if ops wants to put the effort into tuning it, Java lets them have a lot more ability to control an application's memory and performance characteristics in production. It also leaves a lot more room for boutique JVMs with their own special memory managers.

Which approach to prefer is, I think, as much a matter of personal or organizational values as it is about technical merit.
Is it open source? Could I self hosted it?
The first NPC I thought of when reading the article was Jon Battle-born.

Those videos are hilarious though.
So can I self-host this? The comparisons make no sense if I can't self-host the thing.
It doesn't, prefix lookup is solved faster and cheaper in hardware via CAM or TCAM, maybe combined with hashing, because you can limit yourself to a prefix, discarding the rest of the address.

Even if you are right about the endpoints (which only need to know all devices in their specific subtree), as soon as you get to a part of the network where there is no longer just a limited tree below a given router hierarchically, you need a global view of all addresses. This view has to be current, correct and total. That is impossible to achieve, even if the lookup itself would work (which it won't, a conservative estimate of 4 billion active internet devices take up 64GB just for their addresses, not even including routes and metrics). You just cannot search those 64GB fast enough for each packet you are passing through your links (remember, even saturating 10GE in software is hard, and routers do have a lot of those ports in 40 or 100GE...).
Or as an add-on trailer.

Tow your own generator.
On mentors, is it true that you’d be better off at a big company?

I’ve been looking for good mentors for years but have been stuck at startups. I worry that mentorship will escape me if I get on the wrong team at FAANG. I feel like this is the #1 thing limiting in my career. (Good guidance) I can’t imagine having a mentor who isn’t on my team who would actually want to mentor me.
I do agree that sticking to TSC keeps things a lot simpler, and that should be the default setup.

Pandora's box has been opened though. Majority of the JS community seem to have adopted Babel in their workflow.

Even as I question it, I must admit it's pretty sweet to have a transpiler in the buid toolchain. It frees one from the browser/backward compatibility question, more or less, and opens up the language to be extensible - for better or worse.

For example, Babel macros ¹ is an interesting concept, using the language to extend the language during compile time.

To bring it back to the topic at hand (PgTyped, Typesafe SQL) - one thing that I'd like to see in TSC is a way to output type definitions (either inlined metadata or external JSON schema), to be consumed for run-time type checking. That would "complete the circle" for me.

TypeScript "compiler plugins" seem to be on the roadmap, or at least under consideration ². Some may see that as opening a proverbial can of worms, down a similar road to Babel. I wouldn't disagree, but it'd be so useful!

¹ https://github.com/kentcdodds/babel-plugin-macros

² https://github.com/Microsoft/TypeScript/issues/16607
Jesus now its their fault for being unemployed? This is silly, and I'm done here.
Cool project! I think you'd do well to expand the example blog with more entries and content.
Good idea but not sure if I would call it a blog hosting platform. My understanding is that it hosts a single parsed markdown file on a subdomain of my choosing.
I was under the impression that the Mozilla Corporation was owned by the Mozilla Foundation. Would that not mean that the profit from the corporation would go to the foundation? Or is this a legal trick to allow them to profit from the foundation?
Love the "early internet" feel of it, and of course the speed.

The domain name could be improved, considering that it will be part of every hosted blog. Something more concise, or rolls off the tongue easier.
Strictly speaking, you can do it without that stuff, here are some snippets of a test i was doing in Borland C++ Builder 1 (from 1996, that is pre-C++98) a few years ago [0] (not using any of BCB's C++ extensions) which end up with this [1] (it is a bunch of controls thrown in a form mainly to test stuff, but the interesting bit is the property editor at the right).

If you do not mind relying a bit too hard on the preprocessor you can also do it in plain C [2] (i mean, the C++ approach still relies on it a lot, but the C one goes all the way :-P).

A game engine (for a big published game, not my own stuff) i worked on at the past used this approach (the C++ one) heavily and i think it is also quite common in some frameworks.

Though personally outside of experimentation i just use Free Pascal which provides the functionality as a core feature of the language (and next version will allow attaching arbitrary attributes to properties, which addresses my "i'd like to have a description for this property for the editor without writing a GetPropertyDescription method" wish :-P).

[0] https://pastebin.com/eCYs1tv8

[1] https://i.imgur.com/Ry5114y.png

[2] https://pastebin.com/8udWrNcv
* Luther Blissett, from the footballer of the same name.
Isn't the whole issue, get the trash out of our ecosystem and put it 'into space'? That's the entire topic.
> True, but this isn't Wal Mart's fault, it's China's fault.

It was Walmart that drove manufacturing to China. Walmart wanted name brands and dictated the price point at which they were willing to buy those brands. When the manufacturers did the numbers they realized that they could only service Walmart if they outsourced.

The companies setup factories in China and basically showed the Chinese how to make the products. Eventually the Chinese started to produce competing products that were at first inferior but have gradually gotten better.
When I was in college people had text files of tricks like this that they would send around. Over time you built up a library of these little hacks that could make a real difference especially in rendering or graphics applications.
> The price of an ebook has so far been the same as the price of a physical book.

When I go to buy a book, the ebook price seems to be 10-25% lower than hardcover. It could just be my experience, but this has been the case for dozens of books. I look at this difference as the lack-of-salability discount.
I remember this too, but Google is completely useless for finding it.
Wouldn't twtxt be a better candidate as the most minimal blogging platform?

https://twtxt.readthedocs.io/en/latest/
If you're on macOS, there's Kaleidoscope https://www.kaleidoscopeapp.com/
YouTube’s ‘Skyrim’ Grandma Is Taking a Break After Reading the Comments
I would amend this blog post's title to be the following:

"The ideal tech stack for a personal developer blog in 2020 where the author is a React front end developer who loves TypeScript"
This is from my experience looking at a few companies and their online presence.

Companies with a strong business model don't seem to do this whole bullshit virtue signaling, whether it's about diversity/inclusion or "values" unless there is an actual problem with one of those things.

The VC-funded ones that usually have no long-term, profitable business model are the ones to brag the most about "diversity and inclusion" or similar things. It's as if they were saying "we'll run out of money in 3 years, we pay shit, but hey at least we're diverse and inclusive and (pretend to) have values; wanna work for us?".

One company went as far as banning words and idioms like "blacklist" and "elephant in the room". I mean come on, were these words even being a problem or are you just looking for a problem so you can push your virtue signaling to the next level and obviously write the obligatory blog post?

Whether that actually translates to more VC funding or not is unclear, but the majority of VC-backed companies seems to be doing this charade nowadays.
I think thepiratesailor's point is that mozilla ISNT doing it.
My experience was with Apache + mod_php, so there was no option to pool connections between workers, and you would set the Apache connection limits such that they summed up to less than the MySQL connection limits (unless you had a lot of traffic that didn't hit the database... then sizing would be tricky)
I tried to get a better domain. I tried so hard. tiny.blog, bare.blog, bear.blog, petite.blog, smol.site, etc, etc.... Small domains are competitive if you're on a shoestring budget :P
Recall that the input to your algorithm gives you a binary mantissa and a binary exponent, and you need to convert this to a decimal.

The Ryu paper outlines the process as follows:

* Extract e and m from the float, and normalize the next-smallest and next-largest numbers to handle subnormal and largest/smallest mantissa for a given exponent cases.

* Convert the adjusted mantissas to base-10 mantissas by multiplying by a power of 2, or by multiplying by a power of 1/5.

* Print out all of the common prefix of the smallest and largest values.

Except it turns out that doing the last two steps naively is actually quite slow: you need bignum support to do step 2 correctly, and bignum div/mod to do step 3 correctly.

What Ryu does to speed it up is it uses a lookup table to work out a bound on the prefix size to skip several iterations of "find the common prefix", proves that everything can be done with just 128-bit (for doubles)/64-bit (for floats) math, and then precomputes the necessary multiplications of 2^a/5^b via a lookup table.
What happened to OpenTracing?
Why the U-Shaped Travel Neck Pillow Is Useless (2017)
Palmer Luckey: YouTube has deleted every comment I ever made about Wumao (五毛)
Those names are extremely generic and each covers many completely different service offerings.
Most fiction writers aren’t living from it. A lot of others books (educational material for instance) are written by people who have a job like researcher. So, writer is a professional job for some, but they largely don’t produce most of the work out there.
I'm also playing it right now. If you haven't gotten it yet, I recommend the DLC "A Woman's Lot". There's a full side quest where you play as Theresa from Skalitz on the day of the attack. I just finished another side quest from the DLC where you help out another woman from Skalitz over in Sasau as she gets tangled up in church affairs that I found intriguing.
The red ghost cases you, the pink and cyan ghosts try to cut you off, and the orange ghost alternates between chasing you and fleeing from you.
It's that "pretty much" that's the debate.

I recently switched from macOS to Ubuntu 19.10 and then 20.04 as my daily driver and it's way flakier and has far more random app crashes than macOS.

That said, the system is fast, the UX is way further along than I expected -- in some ways it's got a better UX than macOS. It's way, way faster at nearly everything.
They currently have search deal with google. This was disclosed in their yearly financial statements. ~90% of their revenue comes from google.

https://www.computerworld.com/article/3487825/mozilla-in-tro...
I think I'd second this, adding some basic improvements to the typesetting would help a lot and wouldn't cost anything WRT performance.
I noticed this too.

People in favor of lockdowns keep saying they're following science. But once someone dares to ask questions, so many act as if their religious feelings were insulted.

To be fair, from what I've seen on HN, the community here is quite open to reasonable discussion.
I heard in a jazz bar that you can host static sites for free at Zeit and use plain css for grid now, but I am unable to verify the rumours as my work limits Internet only to hackernews