skysight-inc/HackerNews huggingface dataset:
> one can still find plenty of people who will argue in favor of walled gardens and against general computing.

What these people don't know is that we already had all of these arguments, 20+ years ago, on Usenet and Slashdot and a ton of mailing lists and it's all still there; every counter-argument, every riposte, every troll. The argument in favour of Free Software was won, philosophically, a while ago. The problem, of course, is actually getting the average Joe to understand what it means and what it implies; they have enough difficulty understanding what Free Speech really meant for them, and even now are willing participants in its dismantling.

That said, the library of existing Free Software is phenomenal. For most people, almost anything you could possibly need has some incarnation in the vast libraries of GPL and copylefted software out there. It's not going away, and so far there's no sign of general purpose-ish computing going away; $50 Raspberry Pis have more compute than most machines from a decade ago and so it's a really good, really equalizing era in computing, for anyone willing to take the plunge.

We need schools to start teaching kids Linux from a young age, I think.
> I don't want everything done for me. I feel like this will inhibit learning and growth rather than encourage it

But then you promptly discard a bunch of services you haven't even evaluated. I would agree that vendor lock-in is bad, but I'd also suggest you take a few hours and get familiar with services and products before dismissing them.

I would recommend using the AWS free tier and learn the basics, that's more than enough to get started. You can apply to their startup program for free credits as well if required.
That’s office building territory. Airplanes have always been higher.
Pandoc is a tool used daily by those of us who write code notebooks (rmd or jupyter) or are into using markdown for their notes and occasionally need to print said notes. It is hard to overstate how useful Pandoc is for me.

I would bet many people who use Pandoc have no idea they rely on it. I don't think Jupyter or RStudio make a big fuss about it even though they both use it.
Frabrice Bellard truly works in God mode.

And in Emacs mode.
That's a good point, and one that I've forgotten since I've been out of the JS world for a while now! Often you're trying to run the code in different environments depending on the context, which does require a lot of extra build tool support. Consolidating that is a reasonable goal, I'd say.

It will be neat to see where they draw the line. For example, will Rome include an assertion library? What about mock and fake support? That feels a bit far from what Rome is trying to do, but if they've implemented a test runner, maybe defaults provided would be good for the DX?
Let’s not forget these projects come from the same company that

1) had a so-called recycle mode in their devices that bricked them with no undo option,

2) lately requires you to create an account on their site just so your networked speakers may work at all.

You know how many internet accounts I need to take a raspberry pi, a USB DAC, hook those to a fine pair of Edifier speakers and run shairport-sync?

NONE AT ALL.
Am I playing poker with my insurance companies?
Neat. Not quite the same thing but here is a small hack that I use to view pandoc supported formats in emacs:

https://gist.github.com/imarko/ec8f39550662fcd16908b7ec9d100...

Can be changed to use .txt or .md if preferred.
I know real analysis(or abstract algebra) is the traditional first “proofy” course in the US, but I disagree with this way of teaching proofs - think its better to learn one thing at a time. So instead of learning how to do proofs while also learning real analysis, I think its better to learn the basic proof skills in the context math you are fluent with i.e. basic algebra and basic number theory (e.g. what integers divide easily into another integer). The books by Hammack and Chartrand do that well I think, see elsewhere in this discussion for more info.
> yeah no reason to be worried.

HN has really turned into a joke - full of self-pity yet lacking in logic.

How does panicking today help at all? It doesn't.

How does your personal worrying help at all? It doesn't.

Are you affected today? No, you're not.

If all you're doing is passively reading news, then worrying is unproductive.

To state what should be obvious in 2020, there is always another crisis.

If mankind wants to do something about climate change, then they have about 80 years. So far no country has done anything, which shows you people's true priority.

If you personally want to get involved, there's lots to do over the next 80 years. But panic, sadness and pity won't get you anywhere. The world dosn't need another hysterical Greta Thunberg.
As alluded to in the talk, I think the initial "war" solution isn't contentious for many people and most on HN.

The civil war problem though, user rights vs owner rights, I think can be helped along though maybe not solved completely with basic income and mandatory information disclosure. Lots of the problems he talks about involve people very underlevereged in the market and incapable of making decisions both because of an unequal distribution of information and/or capability.

So maybe we can solve the capability problem by giving everyone enough cash to allow them to make market decisions not solely based on survival, but also based on things like moral value. For example, people could more sustainably make purchases based on things like logging, spying, data protection or even allow someone to move from one rental property with an overzealous landlord to another without being captive to the whims of the owner out of circumstance. The monetary threshold is arguable and having the capacity to make non-binary market decisions when capable doesn't mean that people will -- most that are capable of voting with their wallet today still often don't. This wouldn't solve those human problems, but in many markets I feel we're reaching a point where many people are not just unwilling to make pro-consumer decisions, they're incapable.

My second point, mandatory information disclosure, is kind of a necessary component to a functioning capitalist market. Consumers can't make informed market decisions without information from the market. Forcing correct information disclosure of one kind or another allows consumers to compare services. Sure this doesn't solve problems with what should be mandated or "natural flavors", etc, but the more correct information consumers have, the more likely they will be able to make the best market decision, be that ingredients, certifications or schematics.
Currently composed of 85,624 lines of C code, mostly in quickjs.c (53,575 lines in that one file alone), but also with a couple other large ones.

I can't say I understand the reason for such massive files. Surely it would be easier to maintain if it was split into a few well-defined modules?

In addition to the maintenance concerns, a JavaScript engine has quite a few parts that could be used as individual components. One good example of this is node's http-parser[1] that was extracted to a self-contained C file with associated headers and is a pleasure to use.

[1] https://github.com/nodejs/http-parser
Bitcoin to Monero Atomic Swaps – How This Enables Private Bitcoin Transactions
There are different representative forms of government, and their priorities are correspondingly different. What you describe is more or less the basis on which US was organized back in the day. However, by the time the West Coast states were being settled and granted statehood, there was a pushback against elitism in government, and more interest in direct democracy. Which is why those states ended up with extensive provisions for referendums written into their constitutions. If the citizens of California decide that it's not in their interest to govern themselves directly, they can always amend the constitution to remove those provisions.
I did a tandem in the Middle East and the instructor kept joking about how I wasn't Arab and didn't have faith and it would be so easy to clip me off the parachute :D

"Lol"
An introduction to timekeeping in Linux VMs (2017)
Mankind is already responsible for on-going mass extinction, and that's pre-climate change.

So fixating on climate change is myopic at best. There are many problems to work on now, and over the next 80 years.
The trouble with "everything in moderation" is that moderation is an ambiguous, catch-all term. It means different things to different people. It's the mantra of the obese and unhealthy.

Ultimately we strive for moderation, but ought not without consideration as to what it should entail.
This is great! I'd love to see more wrappers like these for ffmpeg. Despite 5 years of using it, I can rarely run any ffmpeg commands without looking at StackOverflow. I wrote a similarly-inspired wrapper because of this as well, with a different subset of features, some of which rely on moviepy: https://github.com/achalddave/vid

Would be great if vdx learned more "common" ffmpeg features (creating a slideshow from a set of images, speeding up videos, simple drawing, etc.) while maintaining its simplicity!
Not against Steam's rules at all, but this is extremely common for PC games. Annoys me too. Most players seem to like Steam enough that they don't care.
You don't solve this problem by ditching direct democracy in favor of representative one, though. The end result is that people still vote for populists, who are either clueless and quickly run things into the ground, or are pandering sociopaths. The "philosopher representatives" has been shown to be as much of a sham as philosopher kings.
> You just described a blockchain.

I purposefully did not describe a blockchain, although that depends on what your definition of blockchain is.

If we're defining blockchain as something descending from Satoshi's 2008 paper, then what I described is not a blockchain.

The distinction I'm making is one of trust. I was describing a database with centralized trust.

> Why rebuild what already exists? A blockchain is a great drop-in solution and reduces our costs and implementation worries massively.

I didn't say you should rebuild anything.

It sounds like you think that the only easy-to-use, mature append-only databases with cryptographically verifiable logs (popularly called "ledger databases" these days) are blockchains. That's not true. All the major clouds have such databases now.

> And the distribution of this public blockchain is much more decentralized than we could ever achieve running our own nodes.

I still don't see any evidence (either from you or anyone else advocating blockchains) that this is good for you use case.

Can you please explain an attack that is possible against something like Amazon's QLDB[1] but is impossible against a public blockchain?

There's also the issue of speed and usage costs of public blockchains, not to mention the frequent bugs, 51% attacks, and other uncertainties that come up.

We know the costs of building on public blockchains. I'm dying for someone to come up with a benefit that is only possible on that blockchain. Every time they try, it seems to be benefits that are shared with services like QLDB or a variety of FOSS solutions.

1. https://docs.aws.amazon.com/qldb/latest/developerguide/verif...
Workaround:

let m = {year: 2019};
let s = JSON.stringify(m);
console.log(s); // {"year":2019}
But how do I implement backpressure in zeromq? I've used it in production and it was great when it worked, but it was scary because its queue of messages could get arbitrarily large. I think I even saw an OoM when a service went down and something just queued indefinitely.

Edit: just checked the FAQ and apparently it will now block or drop messages. I sort of wish it would explicitly error instead of block, so as not to require the caller to queue in a thread or something.
How to make sure that my screenshots are going to desktop folder?
If you are not able to find your screenshots on your Desktop folder, you can follow the following steps to make sure they are saved to Desktop.
One thing I love about pandoc that I don't see mentioned here is the ability to apply filters to transform documents mid-conversion.

I'm using Pandoc to write my PhD thesis at the moment, from Markdown source, using certain filters to "augment" what Markdown can do. Examples:

https://github.com/LaurentRDC/pandoc-plot

https://github.com/lierdakil/pandoc-crossref

More info here: https://pandoc.org/filters.html
Since I'm American and not acquainted with "Varsity", any comments from anyone here about how reputable or not reputable it is would be appreciated.
I have a small bit left over from my surgery in my freezer in case of an emergency. It’s been a number of years but I’m planning to keep it around.
It's a product of his environment.
You might also want to check out https://github.com/NodeOS/NodeOS
SK-Intel NAND deal points to wider shake-up of chip sector
Uber drivers are, well, drivers. I wouldn't trust somebody working 80-hour schedule (with everything that implies about their quality of rest, or lack thereof) to be regularly driving a car in public. That's just accidents waiting to happen.
How is knowledge of the markets utterly irrelevant to most people's lives?

Misquote. "knowledge of the complexities of the financial markets...". Again, I've acknowledged the importance of basic financial education; deeper compulsory coverage would just displace other more useful subjects.

Another place that the education system is totally worthless is healthcare. Do the schools teach us to contact our insurance companies for interaction Id numbers to see if a provider is in network...[clipped]

I wouldn't know as I live in a different country, but perhaps at least in this instance the problem is not your education system but your healthcare...
Intriguing that you’re inside it. Or that it exists at all.
> We are so far away from companies creating and embedding computers everywhere for this to be an issue.

Apart from those in TV:s, loudspeakers, phones, light bulbs, doorbells, cars, airplanes, watches, trains, billboards, medical equipment, vacuum cleaners, washing machines, thermostats, elevators, vending machines, kitchen appliances, lawnmowers, musical instruments, cameras, bathroom scales, thermometers and a few more things there's almost no computers at all in most everyday objects.
_That_ is an excellent question, and I honestly have no idea what their plans are in that respect :) I've seen a number of Sebastian's tweets over the last couple years as he was working on Rome, and have glanced at the repo README, but haven't poked at the actual work they're doing.

Part of the sales pitch for Jest is that it includes a set of APIs for mocking and assertions built in. Wouldn't surprise me if Rome did the same, but curious how they'd design things.
I don’t understand why you’d need a Boston Dynamics nightmare dog when you could fly a drone. Also, although there are problematic pockets, my understanding is that most of the zone is relatively these days.
"For example, do we really think a corporation primarily motivated by making its profits is going to be habitually careful about software security?"

Yes. It's the monarchy argument - Apple focuses on security because they own the ecosystem, so they're hurting themselves and there's no-one else left for Apple to blame if they screw it up.
If I need some boba fides, I was part of a company that wrote code for Sonos about 15 years ago, so somebody has to do it.
Http is not part of JS engine, because it has nothing to do with JS.

I kinda like large files (vs splitting the code), because they are easier to navigate in vim. I have no idea about why the choice was made for QuickJS, aside from ease of inclusion into other projects, mentioned in the docs.
Living life without evidence is one way to look at it, another way to look at it is living to a moral code that thousands of years of humanity has agreed provides a happy life. If you look at most of the world religions they pretty much agree on what those are: Abrahamic religions call them out as Pride, Envy, Gluttony, Lust (note on this, it is all consuming desire it is not just sex but sex is a powerful vector for unhealthy lust. As an example one can lust after social acceptance), Anger, Greed and Sloth. Buddhism calls the three fires out as ignorance (Greed, Sloth), attachment (Envy, Lust, Gluttony), and aversion (Pride, Anger).

I don't see it as a poor choice to live to those defined moral codes. The negative association with being religious is due to many people letting other people think for them now days. If one take the actions and words of a person over studying for oneself what the text say then that is exactly what one is doing. If one ascribes negative connotations to the underpinnings, without knowledge of whether those that claim knowledge yet may be ignorant of what the text says, then one acts in the same ignorance. Most of the religious texts, espouse universal love, non-judgment (by other people) and harmony. Most of the people that claim they understand them, have never event read the texts from end to end, much less any of the competing religions text to compare and contrasting one against the other.

For example let's take Abrahamic religions because they are fun to pick on, most Muslims, Jews and Christians (especially Christians) could not even tell you what Psalm 137:9 is, much less explain why someone would be happy to dash child against the rocks. Well deeper understanding would be that this is what the Israelites wanted, revenge for their dead children that were bludgeoned to death. But what happened was not revenge, but rather judgment and that is the lesson being conveyed, our hearts will seek revenge but what puts things in balance is not revenge but judgment. Point being, I have been hard pressed to find a single laymen from any of the 3 Abrahamic branches, that know the verse much less that could explain it (honestly Muslims where the most knowledgeable on the subject). Further most Christians don't even realize that Jesus was a devout pacifist, cavorted with mainly "sinners" and routinely spoke out about the pious.

As a side note Jeremiah 32:35 is another fun one. Why did it not enter his mind? Is he not all knowing and omnipotent?

While it may be a fairy tail, by all accounts Jesus and Buddha were pretty awesome dudes, I want to be like them, even if it's just for the time I am here.
> You can have good dental hygiene, but bad gum hygiene and vice versa.

Quote from Dr Zoidberg - “why not both?!”
When I read this, I didn't believe it. I needed to prove this to myself!

I've seen and used YAML files for configurations in many places and I've always found editing YAML files by hand too much of a pain. It's very easy to miss a space and screw everything up. However, writing JSON directly into a plain text file is totally easy.

So, I created a normal text file named 'array_of_objects.json' like this -

[
{
"first": "one"
},
{
"second": "two"
}
]

And then I wrote a ruby program to read it -

require 'json'
require 'yaml'

array_of_objects = YAML.load_file 'array_of_objects.json'
p array_of_objects

And I see the output as -

[{"first"=>"one"}, {"second"=>"two"}]

I still can't get over it. I'm thinking of the countless hours wasted!!

Thank you so much.
Ah, Digger. I remember playing it off a 5 inch floppy on our IBM-compatible clone ЕС-1841 ПЭВМ.
I’m a big fan of keeping md documents in source control, then publishing them wherever they need to go in the CI/CD pipeline, and I’ve used pandoc a lot for that.

I always ponder whether it’s the most practically useful Haskell tool ever written.
I take the bindings provided with quickjs more as an example on how to write them.
Arent laser cutters like 5k? Have you recouped that?

Also, did you create the designs
Relax completely and go limp (easier said than done). Tense muscles will exert more force on the things they're attached to like bones and organs, usually in opposing directions, which is what causes damage from otherwise trivial impacts. That's why, all other things being equal, drunk drivers experience fewer injuries in auto accidents - slower reaction times mean they don't react in time to tense up for the crash.

The human body is incredibly resilient under the right circumstances. The most striking incident in recent memory is Shayna Richardson [1]. She face planted (excuse the vernacular) into a parking lot on her first solo skydive and survived... to give birth to her son eight months later (both are alive and well today).

[1] https://en.wikipedia.org/wiki/Shayna_Richardson
Does anyone have any more info? The article only says that he died, and then nothing else. It’s two sentences long.

Whoever he was, he at least deserves a summary of his achievements.
It would be a huge pain. It's easier to do a DMCA notice & takedown process than to subpoena Twitch for the identity of the streamers and then sue them in court.
>"Which might be your goal"

I have no goals. I am on HN just to exchange opinions when I need a 5 min rest from a programming.

>"Also China has gone to war with and enslaved as many people as they had the capacity for. Pretending otherwise is weird."

Oh. I am sure thy did. But the end result is what counts. They sure treated their own citizens like crap. But in business of f..g up other countries I think they're bit behind comparatively. Might change in a future so we will see / or not.
FWIW, I had a pretty bad bicycle accident and was administered morphine, dilaudid, and fentanyl (in that order) at various times in the hours following. Only dilaudid had any affect at all on my clarity of thought.
I am a mathematician.

I would say the absolute best thing you can do is take the problems you DO know how to solve and write out the solutions, using complete sentences. If you can't explain some part, then you will quickly discover which parts you are following by rote.

At that point you need to go back and understand the process. It will be a process of writing and writing, revising, and understanding. It's not an instantaneous process and may take a few months to a year, but it is a rewarding process.

You may find you will have to think about certain concepts you thought you knew, even basic ones. Don't worry about that. It took centuries for mathematicians to even write down precisely what a set is for example.
I suffered from problem 1.

I was able to steamroll my way through calculus II. Then I hit a brick wall in calculus III and came to the harsh realization that I had simply rote memorized everything up to that point.

I resolved to actually understand the material, so I took the rather drastic step of going through all of khan academy, starting with arithmetic, all the way through calculus. This was easier back in 2010, when all khan academy videos were on a single page. Luckily, the internet archive can help us out

https://web.archive.org/web/20100206074742/http://www.khanac...

By the time I finished, I had built up a good mathematical intuition.

This was actually one of the most satisfying intellectual journies I have gone on.

As a shout out to circa-2010 khan academy, it’s still so beautiful to me that all the videos are there, on one page. You can see them all, unlike the layout of the current website, where you can easily go down rabbit holes and lose your sense of progression.
I had an interesting conversation with John MacFarlane, the maintainer and author of Pandoc (lovely human being and excellent maintainer), and the subject of day jobs came up. He's a professor of logical philosophy at UC Berkeley which I thought was fascinating. It certainly makes sense given the number of document formats and such that academia deals with.
I think this is the ledge being referred to:

https://static.ffx.io/images/$zoom_0.188%2C$multiply_1.3545%...
Yes, RStudio uses it and I find it lives up to the title "The Swiss Army Knife of document conversion."