skysight-inc/HackerNews huggingface dataset:
Honestly? When I was in high school I was fortunate enough to find a copy of The Unix Programming Environment[0], which is a marvelously accessible tutorial introduction to incrementally building UNIX® programs using nothing more than the pipe operator, which means you can start writing 'programs' that work on the output of other programs, until your program snowballs into a longer pipeline. The book was published in 1984 and works verbatim on any Linux system today.

Once you grasp how powerful this closed system of incrementally processing text is, you are sort of unstoppable at the command in a *nix system.

Pay careful attention to regular expressions, which are a universal tool in Unix for processing text. Along with Unix' treatment of files as a stream of newline terminated strings, this how Unix gets away with working with unstructured files instead of something like XML or S-expressions): that is, most Unix tools expect you to work with a file (or file descriptor, which is a pointer to any file-like thing in memory), and to process it one line at a time, and to use regular expressions to parse those lines into fields.

Working with lines using regular expressions is how the original editor, /bin/ed, was conceived, before the existence of visual editors like Vim and Emacs: you can find, print, and also edit lines in the file using regular expression syntax in ed, and this knowledge, btw, translates to fluent use of regular expressions in both sed ("stream editor", or basically a non-interactive version of /bin/ed, which essentially executes your editor commands and then exits), and egrep (which searches for lines matching your regular expression).

In fact, once you start to see these pieces come together, look for examples in Kernighan and Pike[0] which demonstrate the use of awk. Awk is an extremely powerful but also extremely simple tool for processing data in Unix, using all the concepts I just described, and not much else. It has a few extra features, like variables and loops, which you'd expect in a programming language, but you are expected to use Awk exactly like you'd use things like grep, ed, and the shell. It's just that now you've got this very compact, powerful notation for splitting records (lines) into fields (regular expression matches), and then doing arbitrary things with them to spit text back out. You could even write your own database using something like Awk, and you can read about how to do database-like tasks in the classic and accessible book on Awk by the original authors of the tool (Aho, Weinberger, and Kernighan, whose last initials together form the name AWK)[1].

Then, much later in life, when you find yourself doing some fancy stuff in Haskell and creating a DSL to do things like process pipelines, you realize that Awk was actually way ahead of its time.

[0] https://en.wikipedia.org/wiki/The_Unix_Programming_Environme...

[1] https://en.wikipedia.org/wiki/The_AWK_Programming_Language
Can you provide a bit more detail? I see it’s a “free download”, but since I can’t download from a mobile device, I can’t see past the download.
note that AFAICT, Faust remains more widely used as a modern DSP coding language.
Trying to automate Gold Farming in Golf Battle using iOS shortcuts.
Serious question: Where does this information come from? I'm not saying they're wrong but it seems there's no formal documentation on many of the HN rules/policies outside of word of mouth like this.
Sorry for the confusion. I didn’t mean to suggest the post violated the rules; I was only trying to request more information (my comment was the second in this thread—no one had posted a summary or workaround at the time).

Thanks to everyone who summarized or referred me elsewhere.
Italian doctor on how virus 'exploded', having coronavirus and how to fight it
Release notifications for Software engineers https://newreleases.io/
What if the options got progressively longer? Eg: if you select the 5 minutes option, only then does the 10 minutes option appear.
I’m working on a tool that allows developers to record and playback interactive, guided walkthroughs of a codebase, directly from their editor. It’s called CodeTour, and it’s currently available as a VS Code extension: https://aka.ms/codetour.

I built it because I frequently find myself looking to onboard (or “reboard”) to a project, and not knowing exactly where to start. After speaking to a bunch of other developers, I didn’t seem to be alone, so it felt like this problem was deserving of some attention.

While documentation can help mitigate this problem, I wanted to explore ways that the codebase itself could become more explainable, without requiring unnecessary context switches. Almost like if every repo had a table of contents. To make it easier to produce these “code tours” I built a tour recorder, that tries to be as simple, and dare I say, fun to use as possible.

I’ve since found that this experience has value in a number of other use cases (e.g. simplifying PR reviews, doing feature hand offs, facilitating team brown bags, etc.), and I’m excited to keep getting feedback from folks as they try it out. It’s also fully OSS, so I’d love any and all contributions: https://github.com/vsls-contrib/codetour.
Do you have an android version? My company uses pager duty and it would be nice to filter out the spam. I hate leaving my ringer on.
That book is on my list to read.

One of the most interesting things I've heard about money is what Giordano Bruno (1548 – 1600) supposedly said: "Whatever has the greatest value and the least cost of storage becomes money."
Ask HN: Can we create a free platform for restaurants to do takeout?
With the restaurant industry suffering, is there any way of helping the industry by crating a free platform where people can order takeout online, but let restaurants keep 100% of the order (except for the credit card transactions of course)
Stop the Coronavirus Corporate Coup
You're totally right about repo and massive amounts of loans, but the impact of other countries trying to get USD outweighs this - at least in the short term.

Checkout currency trading right now - the USD is surging compared to every other world currency. That's because demand for USD is extremely high world wide.
Yeah you're right. 'project' is subjective :). This is just a start for now, but I'm open to PR's that includes other types of funding
Does anyone know the actual % effectiveness of masks (preferably including fabrics used in home-made masks)?

It would be an easier sell to people if I could just say ,"it's not 100% effective but estimates by studies show it to be about 20% effective"

I'm all for this. Can't hurt and might help.
No symptoms whatsoever. No rise in temperature (as measured from the forehead using IR thermometer), no cough, no tightness of chest, no tiredness. My wife and son had the sniffles shortly before (which is not a symptom of COVID19), but also no fever or cough. I didn't even have the sniffles. I also work from home, so I barely get out of the house even without a quarantine, other than to go for a hike or to buy groceries. I've embraced social distancing years ago. :-)
The newer models (2019, at least) still have that wheel as an option. I love it. I didn’t realize how great it was until I had to rent a car with touchscreen CarPlay for a couple weeks and it SO distracting compared to the Mercedes wheel.
And at Microsoft we didn’t need any approval at all for things done in our own time and own equipment - provided it wasn’t competing with anything the company was working on.

It gets better: during the Windows 8 launch and for the life of Windows Phone 8/10 we were actively encouraged to build own apps for their respective App Stores (cynically this was in-part to boost app count numbers, but also to make us motivated to dogfood the platform, provide feedback, etc). IIRC we were expressly permitted today use company hardware too - just not during core business hours. That said, I openly worked on my never-released clone of “Lose Your Marbles” during my downtime in our teamroom office during the day - right in front of our team’s Partner-level director who didn’t bat an eyelid...
I did have just that: won't dig it up. I also have a friend who's an odd character, sometimes far from well, but who's also a Kiwi poster. They sought me out and warned me, "This is happening. Do not respond, do not get sucked into it, let it subside".

I think that was wise advice. There's a temptation to be like 'wait, no, I'm cool: let me show how I'm basically cool with this' and it'll play well to some extent but there's a limit. In a place like that you are not there to demonstrate your coolness: either you're trying to 'show them' (bad attitude) or you're offended and angry that they are slighting you (worse attitude!)

We are all basically 'lolcows' and 'cool people' at the same time. Trying to post a defense against being a lolcow shows a kind of arrogance that the whole site is set up to exploit: best to just not respond, and not to be too judgemental or offended. I try to do stuff that doesn't belong on Kiwi Farms and is not worthy of their attention. I try to be a very uninteresting, dried-up, unrewarding lolcow :)
We had this exact issue with VisiData, and had to resort to some not-great hacks. Thanks for your work!
Interesting. What about “strike for the public safety”?

Performing a strike to achieve a goal for public safety, such as, when the government of a city decided, against public opinion, not to close the border even when bordering a large country with lots of infected patients, some essential workers decided to go on strike to demand the close of the border?

Even more interestingly, if the essential workers are themselves public safety workers, hence their strike would put some people in risks, while hoping for saving more people when the demands are met---real life Trolley problem.

Not hypothetical, I have an actual case in mind.
I have a similar goal with this project, a multi-tenant log storage and retrieval system: https://github.com/notduncansmith/loghive

The idea is to shard the data by logical domain and by time segment, so that queries only apply to relatively small and efficiently-read data, and to exploit the embarrassingly-parallel nature of the problem.
Thanks for that. Other fun bits: mostly found in cratons; mostly from 70 and 150 Mya, but some >1200 Mya.

The closest to a survey article I quickly found was https://doi.org/10.2138/gselements.15.6.405 (on scihub).
What's preventing you from cross-compiling uLisp?
What is the benefit over async storage? We’ve built a few RN apps and never felt it was too slow to work with.
If you are shooting someone in the knee, and it is not by accident, you are the bad guy.

There may be times where you have to shoot someone to kill them, even if they are not directly a threat to you.

There may be times where you have to disable someone who is running towards you. In that case you shoot for the upper parts of the legs.

You shoot a knee and that will for ever cripple them, with no benefit to you, other than the enemy will always be in pain -- i.e. a benefit only to a psychopath.

I am not naive; I know that there are really bad people out there whom we would all be better of without, but I also understand that there is a level, which you must not cross unless you want to become just as evil yourself. These snipers crossed it, and in doing so created yet another argument to show that Israel is not mature enough to be a legitimate country.
Is this a newer thing? I drive a 2009 model and this is surely a fixed list there. I agree, an MRU would drive me crazy.
What if you’re known for loudly announcing “Google, turn off your microphone”? Then you are protecting people’s expectation of your privacy/defence of it/fourth amendment rights? I’m tempted to be that person and have done it twice.
I've been chipping away at a New York Public Library python client. They don't have an api so it's just scraping. Their website is just painfully slow to login and check the status of books so I'm building this for fun.
https://github.com/RayBB/nypl-patron/pull/1/files

Edit: I also just finished a blog post about Zhong Tai in software architecture: https://medium.com/@RayBB/what-is-zhong-tai-front-end-back-e...
My own small-community social site (demo at https://demo.localhub.social, source at https://gitlab.com/danjac/localhub/). I have an instance for family stuff and as a private weblog/photo gallery.
Harrowing indeed. It reminds me of the numerous instances in which Title IX was abused to ruin the lives of students and faculty, including TFA.
It’s not a law, but iOS can automatically turn on “Do not disturb while driving.” It can turn on automatically either when it detects that you’re going over a certain speed or when you’re connected to Bluetooth or CarPlay.

The second option would be able to distinguish if you are driving your car or riding in someone else’s car or on public transportation. Assuming that you’re not paired to your non primary vehicle.
Awesome, glad you're finding it useful!
super fun!
> We think of ourselves as an advanced democracy

The US Americans may think that they are an advanced democracy, but betting that the Western European societies see the US as a special case of a third world country or failed state is not exactly a risky bet (albeit one that cannot be validated, I’m afraid).

And no, not „because Trump“. Trump is not the reason that the US is the laughingstock of the civilized world, it is the proof that the judgement of the civilized world was warranted all along.

Don‘t get me wrong: many US Americans are very fine people. Some parts of your industry are really impressive. Lots of notable achievements in science. But „the US“ as a nation, and as a society?

There’s nothing we can look up to anymore.
“If you want to wage war, start by attacking your enemy’s language.”
It’s more like an antivirus program.
I remember I used Ubuntu Desktop in 2008 for a year or two. But Ubuntu is point and click and anyone can use it. I did not learn much about Linux using it.

I felt that I really started understanding how things work when I switched to something requiring more reading - Archlinux.

To get a running desktop it not only required doing all kinds of things I did not understand back then, it also provided great Wiki to get there. I still sometimes end up in that Wiki to quickly get up to speed about some tools or concepts.

And the fact that it is rolling release distro and was always running the latest upstream software version meant that frequently at least the UI part broke down, and that forced me to learn even more things. :)

That was only the beginning but now it feels like it opened many possibilities and career paths for me. It probably was a bit frustrating at the beginning but it is worth it.
Working on a way to take the output of Event Storming and translate it into serverless applications.

hashtag DDD, CQRS, etc. etc.

I really don't know much about either (learning a lot), and when I tell people about it their eyes glaze over but whatever I still wanna do it.

https://github.com/stochastic repo is still private but I'm willing to add anyone interested. I just don't want to be judged on how bad a programmer I am before I have time to clean it up a bit.
Is it? The goal ought to be reducing the number of these crimes, not shifting their location. Or worse yet, shifting them to communities of poor and downtrodden, where they can be conveniently ignored.
They say that they'll publish the results "in the next days". Anyway it seems to work - maybe that's one of the reasons for the low death count (in relation to infected) in Austria so far.
You're right. waitpid(2) does document this.

I was also surprised to find that, at least on my linux system, the status integer returned by wait encodes the signal number in the least significant bits and the exit status in the most significant bits. So, when a process dies from SIGPIPE, the status (as set by wait(&status)) is 13; when it does exit(1), it's 256; when it does exit(2), it's 512; when it does exit(3), it's 768, etc. Maybe that encoding was done to avoid misuse from people seeing their exit codes in the raw status returned by wait, and thinking they didn't need to use the macros.

In any case, this does mean that, indeed, while the shell does display the same status for both `yes | head -0` and `(exit 141)`, they are in fact different.

TIL
A lot of urban dwellers are only there for the job market. There's plenty of space in the US where $1K/month is enough, but if you can't find work you get $0.
What the Virus Said
I agree that we shouldn't be taking the supply away from the professionals while there's a shortage, but your statement was that they were ineffective in the hands of laymen, and I don't think that's true.

I'm not assuming that they are 50% effective either, I pulled the 50% number out of my ass, but so is your 0%, and I find it hard to imagine a physical reality where me keeping a 6 feet distance to an infected person decreases my infection probability significantly more than that person wearing a mask. Anecdotally, South Korea, Japan, Hong Kong, and Taiwan, where wearing masks is quite commonplace all seem to be doing better in transmission rate than the Western world, and all that without killing their economies. And considering that we're producing around 2 billion disposable plastic bottles a day, I'd currently bet money that we should be able to ramp up the supply of cheap masks for a sum that's a lot less than that of halting 50% of the Western economy for several months. Obviously, it can't happen in a day, but I'm not really seeing anyone try, except for perhaps Trump after his recent epiphany that Corona is not a Democrats' hoax. I'm willing to be dissuaded by someone who's actually thought it through, but sadly I haven't seen any such analyses.
lots of places use an MDM profile if you connect to work email, for instance.
If 50 trillion dollars are "printed", then yes, the economy will appear to be growing purely based on the prices of stocks going up. Whether that represents real growth is another matter entirely
Covid Protocols
I'm working on chess analytics! Lots of interesting tools for statistical analysis of openings and other potentially useful things for tournament prep. Writing it as a Clojure library but it includes its own engine just for kicks.
Did you manage to find a readily available solenoids with fast enough response time? I guess for the non HP O2 parts pressure rated PVC might be ok.
Here's an idea for the next round of reworking these old videos, but it would be a LOT more work... orders of magnitude more work...

Find people from the same region today, ideally descendants of people who were in the video, and deepfake their faces onto the video. Possibly go a step further and find period clothing, and deepfake the clothing in higher resolution onto the video. Or at least get samples of the materials and use that to deepfake improvements to the "resolution" of the video. Could do something similar with the audio.
Three Benefits of Tracking Time
I am working on a browser extension called Toxnic that can block out trolling content on Facebook, Twitter, and Youtube. I have been wanting to develop this for quite some time in order to have a troll-free browsing experience when using social media. The extension uses deep learning to filter content that is considered extremely toxic or insulting. The model was trained on a standard toxic content data set by Google (Jigsaw).
https://faizanahmad.tech/toxnic/

The extension code has also been made open source.
I actually didn't, but I'm pretty sure it is similar in terms of capabilities. I liked FabricJs because of its thorough documentation, having lots of examples, and because I saw a strong community on GitHub and other places.

FabricJs was a bit counter intuitive in some aspects though, for example the way it handles the rendering in the canvas made it pretty hard for me to be able to get a video / GIF out of it leading me to have to use a pretty complex setup. Image scaling is also a bit odd in terms of how it deals with cropping/stretching, so that was a bit messy for getting source footage and putting it within a region in a device.
I don't think DeVos wants to (or even can) repeal Title IX. I think her proposed changes are limited to the "Dear Colleague" letter sent by Obama which, among other things, mandated that colleges use a preponderance of evidence standard rather than clear and convincing or beyond a reasonable doubt.
I don't know what took me so long but I recently realized how many Bay Area drivers are driving while using their phones (I don't have a car). Every single day there are multiple accidents on 101 despite it being a straight line and traffic rarely going over 30mph at peak hours. How can this be? Easy: silicon valley professionals reading their email.

I drove around Spain for 2 weeks and didn't see a single car accident of any kind. More manual cars (occupy your hands) and fewer digital distractions. I saw 3 accidents on my way back from Oakland airport to my house.

US drivers need to get off their damn phones. It's so dangerous.
World War II, not the New Deal, is the model for Covid-19 macroeconomic policies
> better use a persistent hash array mapped trie backed list instead

there's a real memory overhead for that structure.
Washing and touching is what people can do without shooting each other over masks. I am sure it helps like 10%. Doubt it will have a massive impact either way. I’d like to think most people wash their hands reasonable often.
My local cornershop stood strong against toilet paper hoarders for a long time but it finally fell today morning. They are on their last few packs of rolls.
At work we are using Slack, but the video calls only work on a physical computer, which is just an insane idea in 2020 where even entry level smartphones have better cameras than my laptop and where you might need to show a screen or pin board to a remote team member.

In Toastmasters we mostly use Zoom. The disadvantage is that it is not free (if you need more than one to one and more than 40 minutes) and that you can't have a standing meeting, somebody needs to host it and when the host leaves, the meeting is over. Upside is that it works, and that you can have basic things like push to speak, mute all participants, etc.

If somebody is looking for a start-up idea, a zero setup, click here to generate an url and send it to others to have a video meeting would be a god-send. Slack gets it right by continuing the call as long as at least one person is still connected, even if the person who started the call has left.
But that's not fun to build. And I suspect this is where the dichotomy comes in. Engineers want to have something that's fun to build while also making money, which can be the problem.
I believe most of the companies are waiving fees for local restaurants (not chains).
PortableApps.com is incredible. Thanks for doing it!
Epic EMR also uses Cogito as part of their branding.
Making hand sanitizer with Everclear, folding masks with shop towels and burning down the neighborhood playground.
https://tryelevator.com - a platform where people get paid for companies to connect with them. Currently open in Australia, looking for US-based partners to push it there.

In the current market situation we’re getting a good few people coming on board.
https://outline.com/4RqSLw

Free version
In theory: no, because anyone able to break the TLS could just slip in some JS to capture your comments.

In practice: possibly, because many companies use TLS proxies that probably aren't doing that?
Sure, I have a whole pile (literally, see comment above about bookcases) of books on this topic that I have read, or will be reading. I'll compile a list and post it when I'm finished building this bookcase.
Yes, because you have to do the work of all the positions. Good luck!
... also know as https://en.wikipedia.org/wiki/Anthropic_principle
Because as a geek, I have a computer that can run anything I want. My iPad is an appliance without all of the cruft of computers.
Show HN: A Covid-19 testing location site that a group of us are building