skysight-inc/HackerNews huggingface dataset:
Click the little 'CC' button in the toolbar. Video authors can upload closed captions to videos, or Youtube will autogenerate using voice-to-text which, while isn't perfect, does a decent enough job.

Worth noting that this was a presentation at Texas JavaScript Conference, and the presenter likely had nothing to do with the video being uploaded to Youtube.
To be honest I don't actually differentiate them either.

When my function under test calls sort() I don't fake that call out, so technically I just wrote an integration test. (In fact I work with one group that will inject a fake sort())

If I write a library foo which has sub-module bar which has class baz and fuzz, is the test for bar that tests both baz and fuzz a unit test of an integration test? Of course if you are a user of my library tests for foo are unit tests to you...
That's exactly what I was trying to discover.
I'm a big fan of asciidoc and quite sad that it didn't take of as a default format for documents.
>> To my knowledge, nobody has ever listened to the whole thing.

The Youtube mirror [0] has 1,890 views. What is a "view"?

[0]: https://www.youtube.com/watch?v=d_s7GL6ZdG4
Why not one package per line of code? One package per expression? Surely, someone will want to reuse var x = a + b.

const {get} = require("underscore.get");

get(obj, 'a[0].b', defaultValue);

If your language requires this [1] just to be able to subscript things without going bonkers, it may be time for a new language.

[1] https://github.com/NarHakobyan/underscore.get
In the context of a retailer, "high turnover" means that individual products spend very little time on the shelf before being sold, and they are replaced with new products very quickly. For LIDL that means places where they have very busy stores. These places are "lucrative" because they are busy, but are not at all "high profit" - they sell products with extremely small profit margins.
> I'd love to have a format that is just HTML + whatever zipped up that browsers and operating systems happily just open in a browser.

There is MHTML, sadly it fails the second bit because AFAIK Chrome dropped its support and FF and Safari can't open it natively. Apple has its own WebArchive format, and Firefox's MAF extension generated MAFF file but is not compatible with newer versions.
You can add subtitles or closed captions to the video. It also supports adding a transcript (like subtitles or closed captions, but without timing information), and it will use speech recognition to try to line it up with the video.

You can also add a transcript or a link to a transcript in the video description.
Pick a single platform, and implement a small project. serverless-stack.com is decent for this.

Amazon has well over a hundred services, but an awful lot of them will never apply to what you're working on. You're right-- any print book is out of date by the time it hits stores.
AirVoice Wireless APN Settings
That's bad but small silver lining is that it's not a word document that silently renders incorrectly in other editors so you don't even see some of the fields.
Adding infrastructure has a higher rate of return when there is less infrastructure to begin with. Adding one interstate highway system greatly increased US economic mobility. Adding a second would not have such benefit.

So China, not having the infrastructure the US does, likely gets a benefit on doing projects that would be a loss in the US.
Cheaply btw. Pumping sand is not hard. And, they're doing it on existing reef structures. The sand only lasts because there is an anchor there.

This is not primarily military budget, any more than the US army corps of construction is military budget when it builds dams and Levees in the USA mainland (which btw, it does, a lot)

Military budget is materiel. Sand, even runways, is not Materiel.
That's pretty reductive. Rigorous learning in the punch card era would have involved a lot of programming on paper, which requires you to understand the program you are writing in a more comprehensive way than does trial and error. There's a discipline to that type of work that lends itself more naturally slowing down and to thinking about architecture.

Also, while software engineering changes frequently, I'm not convinced that computer science is changing rapidly. It's expanding, but it's not as if fundamental computer science concepts are being rendered obsolete.
Yes, the great failure of the internet is that it is lacks of standard mechanisms that exist in polite society to exclude the assholes. Being an asshole is cheap on the web and so you get lots of assholes. IRL being an asshole (at least in some states) has very high consequences and so you get civilization. Fixing the web is just a matter of rediscovering appropriate mechanisms to correct, silence, and ultimately exclude those who have nothing to contribute and no value to add. Google, Facebook and Twitter will inevitably clean up their spaces and new norms will ultimately be enforced. At that point things will mostly return to normal.

Of course the great thing about the web is also that it's so big. We don't need to literally silence the assholes. They should feel free to congregate in various Youtube comment threads and on boards like 4chan and voat.
You're still depending on algorithms for exposure though, all you've changed is swapping an Amazon sale for a Patreon subscription.

Edit: to be clear I think it's an improvement, just not a solution.
NES turns 35 years old and developers are still building open source NES games
I don't think there should even be a debate about what's nobler, purer, or whatever for physical vs mental, athlete vs nerd. There is something that seems to be pervasive in all forms of competition, and that is domination. We've all felt it if you have played any sort of competitive game. Basketball to call of duty. That feeling of helplessness, or that rush of just straight up beasting. And if you can harness that domination, there seems to be an avenue for money. Soccer, COD , Halo. Competition has a tendency to funnel money.
If you drive improved quality into the initial product phases in a factory, that’s still QA. QA is not an independent process unless management is incompetent.

But you will not drive significantly higher quality into earlier phases by telling your factory workers to try to do a better job. You drive higher quality by analyzing where your processes are failing you and changing them so that they no longer do.

If your workers are consistently failing to tighten bolts sufficiently, you can add a QA step to check the bolts every time, or require your workers use a torque wrench, or use a robot to make this more consistent. But you have to do something other than telling them to try harder. You undoubtedly told them to try harder already and it didn’t work. Now you need better tools or processes.
How do you know the guaranteed fairy isn't some crazy glue sniffer. He sneaks into your house once and that's all it takes. Next thing you know, there is money missing off your dresser and your daughter is knocked up! I've seen it a hundred times.

If you want me to take a dump in a box, and mark it guaranteed I will... I've got spare time.

- Tommy Boy
You cannot get debt without a lender.
Japan went out in Round_16

Croatia went out in Finals

And I do not understand what the last column means (except for France and teams out in group phase)
In my .zshrc I have

todo() {vi '+$' ~/todo/$(date +Y/%m)}
+() {echo + $* >> ~/todo/$(date +Y/%m)}
-() {echo - - $* >> ~/todo/$(date +Y/%m)}

Each month's entries are in a separate ~/todo/YYYY/MM file. The + command is to record something done. The - command is to enter a new task. The todo command is for editing this month's file -- add month-days, update entries, cleanup etc.

Separately I have current and last 2 month files open in the leftmost column of acme (about half as wide as other columns). This is for moving entries between months etc. I have to remember to do a Get before editing and Put when done editing to sync with any updates done from command line.

In the same column I have a per year "projects" file (multiple indented lines per project) and a per year "future" file (things I may want to do someday).

This is far from perfect but has endured. A simple grep can tell me what was done or what needs to be done in a given month or year.

For taking notes in a meeting I have now switched over to using an ipad + apple pencil as I can scribble notes, draw pictures, doodle etc. without having a laptop screen between me and others or clicking keys annoying people.
yes, but that's so minor compared to the gain of a more readable syntax... really an edge case.
Are these not people who are just deluding themselves that they are doing it out of love, when all they want to do is be famous?
Over half of US debt is held by Federal retirement funds -- e.g. Social Security. So you put that money away for your retirement, and that retirement fund automatically buys close to no return t-bills. It's all really a giant pyramid scheme, and is only tenable with unsustainable population growth. The US can run an enormous deficit for as long as they can convince the population that their retirement funds should pay for today.

Savings bonds end up being the poster child of the debt, but less than 1% of the debt is actually bonds like that.
A notebook on my desk for my working list - what's on today plus any ad-hoc items that come up.

Calendar for tasks tied to a specific date - Outlook for work, Google for home.

Jira for projects.
Ask HN: They cried “Gna! is shutting down” but were they not heard?
Years ago I was looking for projects to join, searching "help wanted" postings on sites like GNU Savannah [1] and Gna! [2]. I joined a few projects on Gna! and while they fizzled, I never thought they would disappear or I had left them. Gna! was supported by the Free Software Foundation France; that gave me a sense of permanence.

November 2016 Gna! announced it would shut its doors. I was on the list that sent this message. Even here on HN someone raised the cry [3]. I didn't hear it until it was too late. Others started pinging me that Gna! was gone; what would happen to the code, did they have the last commits, what's next?

I turned to GNU Savannah, to GitHub - what if they closed their doors? Was my illusion of permanence toward code repos unfounded? It caused me to question the Internet in general, how we approach projects like the Linux kernel differently from smaller projects hosted by GitHub, GNU Savannah and SourceForge. Are all projects equal and are their repositories? Certainly not if Gna! could be allowed to close for good.

When they cried "Gna! is shutting down!" were they not heard? Was this a symptom of a disorder, something that could grow, potentially reach more repos? Do we need to act? Some will say Gna! was barely used, most people hadn’t heard of it, what’s the big deal? Some will remind us the Internet has no functional permanence - such expectations are counter-productive. But source code repos aren’t just Internet sites – they’re infrastructure (IMHO). Should infrastructure not hold permanence, such that code repos simply change hands, not close? Why wasn’t the Gna! baton passed?

[1] https://savannah.gnu.org

[2] https://en.wikipedia.org/wiki/Gna!

[3] https://news.ycombinator.com/item?id=13559215
The Envy Gap Is What Holds Women Back
EDIT: I made a [Github project](https://github.com/stevenschmatz/did) which adds a few niceties to this blog post, like better dates, no date duplication, and syntax highlighting in Markdown.

---

If you want syntax highlighting and better dates, you can use a Markdown file with the following command:

```
vim +'normal Go' +'r!date +"\# \%B \%d, \%Y (\%A)"' ~/did.md
```

Make sure to turn `syntax: on` in your `.vimrc`.
Gov.uk pages are still using google-analytics and reporting the activities of British Citizens' interactions with their own government to a US-based multinational I see.

And the only option to disable is to click through and install a browser add-on to opt-out.

This doesn't seem very GDPR-friendly.
Generating CSS Grid Layout from Plain Text Using JavaScript and CSS Variables
> Despite the sometimes psychologically taxing nature of trying to get noticed on Twitch, some continue to persevere despite the cold indictment of the zero.

Maybe I’m advocating a bit of a dark pattern here, but couldn’t Twitch keep streamers engaged by seeding streams with a few fake AI bots as viewers? This seems like it might be a little of the Empty Restaurant Effect. People hesitate to go into a restaurant if there’s nobody else eating there. So provide a few fake diners.
You'd probably want a dedicated print CSS to remove various bits of UI and decoration, as well as styling which works well on a screen but is terrible in print (e.g. the white-on-black and white-on-blue headers).

However gov.uk already does both so it's not an actual issue here.
I should say, I was complaining there of code that is pervasively unit tested, not unit tests in general.

I do think it's important to have unit tests when the unit's behavior is complicated. Where I start to get worried is when there are unit tests being written against classes that have very little behavior that doesn't involve interaction with some other module.
I'm much like you. I used text files and utilities, developing some of my own, but in the end I've fallen back to a simple pen & paper technique.

1) I find it easier to browse written pages. It also seems to tweak some sort of memorization when I need to recall things from long long ago. I doodle a lot, especially during meetings so I can recall when I needed to remember a note that it was written somewhere around the page with a dinosaur wearing a baseball cap in the margin

2) Taking my eyes away from the screen to jot my tasks, is almost like a mental reset. It causes me to slow down and think more about what I've done or will be doing tomorrow

3) It almost becomes an "additional monitor" to have up. No tabbing to a file, no spacing things on desktops to keep the work list above other forms; its just there, off to my left to view.

4) (EDIT) Can't believe I almost forgot what I consider the strongest point... is connecting thoughts. Trying to draw a line between comments I made earlier and something I've done just now is nearly impossible to do cleanly in text IMO. Notes like "See July 4th, 10:35PM" is worthless and requires a new level of focus that a squiggly arrow just accomplishes so much easier. Colouring in a black box above an important note I want to immediately catch my attention when i'm flipping backwards is so much more important to me than any text file organization.
Normally, when I do play videogames, it's a private sort of thing between myself and my game system.

I just recently ran across some twitch channels via youtube because I was looking for some help with some Dark Souls III content.

It's like a whole different universe with people who live and breath these games every waking moment. I found it very interesting to see that it's a whole way of life with this many people. Now I'm tempted to watch some of these twitch broadcasters even though I'm not interested in the games that they're playing.
Isn't this similar to posting on SoundCloud with no specific intent or expectation? Publishing content is an easy way to make it available on a bunch of devices, so if you're not concerned with outcomes then what's the difference? Need to read the article I guess.

Edit: OK, some people expect to attract a following and are having trouble:

> attracts over two million broadcasters every month ... Discoverability is an issue

No kidding.
I'd agree it is way easier to say "sleep 7-8 hours straight" than giving some advice on how to achieve it.

I'd recommend:

1. Avoid having dinner 2-3 hours before sleep time

2. Try to sleep/wake at the same 30-minute interval, sleep 11.00pm-11.30pm wake up at 7.00-7-30am

3. Light reading. An easy to read fiction novel. My picks are usually Murakami or Latin American authors.

Routines give stability to people that suffer from a mental illness.
With the toilet at the end of the carriage that is connected to its corresponding non-toilet carriage, and consequently approximately in the middle (the offset is the "last three feet" that Dijkstra mentions), there is no longer a need to reverse any two-carriage set.
The pictures are indeed stunning but with no other _verifiable_ information (like the exact circumstances such as speed) these should be taken with a grain of salt especially on Reddit, which is considered basically Tesla's astroturf.
Soccer is a sport with a big random component. This is probably why it is so exciting. An average team can beat a better team.

The reason is easy to see. The game can be decided by one, two or three key plays. Compare that to basket ball. To win a game you have to consistently score more and defend better. Rarely the game is decided by one or two plays. That only happens when the game is already very tight.
Yeah it’s got good support on Linux with vscode but without full visual studio it won’t take off.
I just watched Sour Grapes[0] on Netflix - an incredible story about wine forgery that has lots of parallels to this story.

[0] https://www.imdb.com/title/tt5728684/
Can't come up with a substantive response so you mention it might be libel? An event that happens thousands of times per day on the internet unnoticed. It just reveals your emotional bias. You're filled with hate and you just want to see someone suffer
Decorators in Python: What you need to know
The article says that in the end, “Lidl” decided to ditch “SAP” and continue developing their own, internal solution. From my own experience: good on them; it’ll certainly cost them an order of magnitude less, on the order of five million, to get it going again and then maybe 750 grand a year for the staff salaries. Good on “Lidl” for going back to classic IT.
Ok, post your streams and I'll watch a few minutes.
China Targets U.S. Tech Startups in Investment Loophole
> On a responsive website like GOV.UK, content and page elements shift around to suit the size of the user’s device and browser.

But they do not, on that very page. I resized the page up to full screen and then back again in a WWW browser and all that happened is that huge areas of whitespace opened and closed around the text, which remained word-wrapped in exactly the same places.
The Orbital Mechanics Episode 147: Interview: Al Bowers, NASA Armstrong on the aero-gravity assist maneuver
Surely your book is meant to be hedged though?
Morocco's nutty, decadent spread is made from the prized oil of the argan tree
AREL, TextWorld, ECommerce Chatbot, Bloomberg and BAIR AI Courses,
The thing about viral infections of the nervous system is that you don't even need to consider the blood brain barrier. Viruses travel backwards through neurons by hijacking microtubule transport networks, and many groups have hypothesized in the literature that it could be getting into the brain by simply infecting a peripheral nerve and traveling up the spinal chord.
Yea that could be a good idea for the product, find the industries that are very active on Facebook, but bad about updating their sites. Restaurants and bars are probably the best place to start.
I stand corrected. However, it was still justified.
China spend money on infrastructure, meanwhile in the West there is 'Quantitative Easing' with money going straight to the banks.

As you state there is real return in infrastructure expenditure - roads, trains, airports, education is genuine investment. A business case can be made for putting in a new 300kmh train set that spans the country. Over in the West we don't get that, instead we have to pay untold billions to the banks because if we don't then the sky will allegedly fall in so we have to kick the can down the road.

GDP is also a useless figure. If we all decide to decide that our houses are worth double what they were worth five years ago and go about buying and selling these crumbling piles of bricks then have we really increased GDP? If, on the basis of these increasing property values everyone remortgages and buys fancy German sportscars and monster SUVs then have we really increased GDP?

I am sure there is plenty of hubris going on in the Chinese economy and that status anxiety drives people to buy pointless luxury goods as per what happens in America, however, GDP is not all it is cracked up to be and there is a big difference in debt used to build an economy compared to debt used to prop up the rent-seeking classes.
sometimes (often times) unit tests make for crap code.
Babies’ Cries May Foretell Their Adult Voices, a Study Shows
Shameless plug, but relevant:

My startup is a price tracker for ecommerce in SE Asia, particularly Malaysia, and we did a write-up about this "great sale": https://sarahshopper.com/my/what-to-expect-on-singles-day-11...

(TL;DR: just like you said, use a price tracker)
In the far future when food, shelter, and other necessities are basically free, attention will be the last valuable commodity. There will always be a scarcity of attention.
IP shouldn't exist, and it hampers capitalism: https://www.youtube.com/watch?v=NAvbWeivv8o

This is one of China's advantages btw, the US should abolish IP to get more competitive.
If you take the average Google AI project and the average AI researcher in academia, the Google project is going to be more useful to humanity 99/100. Maybe at the very high end application is "beneath" exploration, but even then the puritans in the theoretical world seem the have the most impact subsequently applying their work (academia or not). Google and Facebook have the money to fund interesting projects with long time horizons. Does academia? You could argue not as much, it's about writing incremental papers as opposed to real world impact unless you have grinded long enough (or are at the top) to earn long-term measurement.
Evolve Your Hierarchy
The Volcker Rule shutdown approximately 0 amount of proprietary trading on wall street. Any articles you can point me to were merely media stunts by their respective firms.

The rule was too complex and onerous to be implemtable. Case in point, it's already being rolled back... Certainly because of the current administration we're in. But more because it was just a poorly written and thought out idea to start with.
Eventually people in the community will notice that 'few' === zero, so this becomes essentially an information tax on new Twitch viewers.

Plus, you know, they'd be lying to people.
YouTube provides the video uploader with extensive subtitle/CC capabilities, which they did not take advantage of.
Well don't leave us in suspense, why isn't PDF a suitable replacement?

Guess how we know you didn't read the article.
I just read that article in full, and it doesn't claim the same things you claim it does.

Whatever your opinion of the government abusing surveillance power, Poitras wasn't detained because the government didn't like what she was saying, she was detained because the government suspected that she had foreknowledge of an attack that took place in Iraq where a U.S. soldier was killed and kept silent about the attack so that she could film it.

Now that belief was unjustified, ended up being wrong and in my opinion an absolute abuse of power by the government, but it is not a matter related to freedom of speech or censorship.

You are taking that situation and exploiting it to push an unrelated narrative, and I think that's disingenuous.
So, the reason because the US doesn't invest in infrastructure is because the ROI is not high enough?
Scared of Math?  One Way to Fight the Fear
This seems like it has potential for being the core of an interesting interview question. Maybe something along the lines of "You are hired as the Chief Shunter (lol) of a new rail company and the CEO, to cut costs, has stated that only half of all cars will have toilets. What instructions will you give the shunters? What complications could arise? What is the optimal solution and how would it impact UX?" etc. etc.
https://news.ycombinator.com/item?id=17539836