skysight-inc/HackerNews huggingface dataset:
Synology DS718 NAS serial (console) connection
Is there any FTDI cable or similar for console connecting with Synology DS718+ NAS?
In the version of TDD I've been exposed to, you only write the minimum number of tests to cover your next feature. It's still iterative.

I do more TDD on exploratory work than something fully formed because I can work in a narrow scope without having to grasp the whole project.
The Path to Destroying Capitalism Might Go Through a Software License
I think the celebration is slightly premature. Several areas in the African interior are inaccessible due to conflict, so testing is not possible. ... so we are not really certain it's been eradicated in those areas.

Also important is the possibility of environmental reservoirs for the disease in nature. Hopefully not, but it is still possible.

Only continued vigilance can guarantee victory. Many areas were declared polio free once before, only to have it resurface.
Most organizations are not good at throwing out members that do bad things. Usually they are set up to be defensive no matter what. Looked at police unions who protect bad cops, judges (there was something on Reuter’s about judge misconduct) and doctors (it takes forever and many injured people to get bad surgeons banned). It would be grwat these organizations had higher standards for their members but they don’t.
I would really like all news sources to link their sources at the bottom of the article.

For anonymous sources, make a document detailing the source and publish a hash at least, and promise to reveal the source in 1/5/10/50/100 years.
The ACOUP blog (which comes up on HN sometimes) has a great series on Sparta where Agoge is discussed in detail

https://acoup.blog/2019/08/16/collections-this-isnt-sparta-p...

It was a very eye-opening read, definitely at odds with the popular image of Sparta.

In short about Agoge, he says it was much less about training and more about child indoctrination through extreme trauma. He compares it to child soldier programs like the one by Lords Resistance Army in Africa. Rather than producing skilled soldiers, he argues, it produced broken dysfunctional people.
I’d think from what they quoted, that they were speaking for the general case. I’d have made the same argument and I think that the whole MAFIAA is toxic and a stain.
Because his own (other) company certified it seaworthy. It's almost as if you can create companies according to the corner you want to cut.
> just look at any photos of the protests

[...]

> if those are all far righters white rioters

1. You are falsely drawing an equivalence between protesters and rioters; they aren't identical groups.

2. I never said all the rioters were white supremacist provocateurs, just that a number of the roots that have been arrested, and some of the online encouragers, have turned out to be (and, in the latter case, specifically also law enforcement officers.)
I was given this as an interview question once, it was fun. I was told to go into “as much breadth and depth as possible” but I did get stopped a couple times when I started talking about things like debouncing.
+1 for choosing .NET Core. I'm right there with you. Extra points for F#.
I really, really wish that Slack would learn this. Their constant creep in features means I lose about a cumulative hour every other week trying to do something that I once knew how to do.
FWIW, the US federal government receives bulk cellphone location data from the tower owners.

Whether or not they let the IRS use it is another matter, but the data is there.
> Here's my proof

>It boils down to these three key points:

>1.) The modification times on the files point to the use of a FAT file system, which is used almost exclusively by storage devices (such as flash drives).

>2.) Analysis of the files released by Guccifer 2.0 -- claimed to be the Russian hacker who got the files to Wikileaks -- reveals that they were created at a data transfer rate consistent with a flash drive, but not with an internet transfer."

>3.)The NSA would've known the hack was taking place, thanks to the leaks revealed by Edward Snowden, which the NSA has never denied

This logic is worthy of r/itsaunixsystem

I don't personally believe the DNC was hacked by the Russians either, but this is pathetic and falls into the category of "not even wrong."
> I can't understand why OCaml doesn't have mass adoption.

Probably for the exact same reason each year you think about learning OCaml you decide not to (I mean this sincerely, not trying to be snide).

I think the main reasons it doesn't see mass adoption in industry:

* There are only two major companies that do a substantial amount of OCaml that I can think of off the top of my head, Jane Street and Ahrefs. Facebook does some OCaml too but I don't think it's a core part of their stack.

* The tooling is lacking.

* People have an easier time learning Python or Java so you'll have a larger pool of candidates if you use one of those languages.
Hahaha clearly!
Both should be blamed. There were plenty of doctors who noticed that the OxyContin promises didn’t work out but they kept prescribing anyway.
What cybersecurity professionals have learned from the lockdown experience
Change the href of the "Reserve now" button to "/signup", and then redirect to the page it's sending users to.
What are the police going to do? You’re already robbed/dead.

Police abolition is asking for a change to the socioeconomic systems that lead people to rob in the first place. The threat of police locking you up surely isn’t doing it.
Publicity. We're here talking about it because it's supersonic. Same reason Tesla started with the Roadster. Regional jets are boring.
Epic (Tim Sweeney) explicitly says that if not for App Store policies, they would launch an alternate App Store on iOS in the set of emails to Tim Cook that Apple submitted to the court:

> 2. A competing Epic Games Store app available through the iOS App Store and through direct installation
that has equal access to underlying operating system features for software installation and update as
the iOS App Store itself has, including the ability to install and update software as seamlessly as the iOS
App Store experience. [1]

[1] https://cdn.vox-cdn.com/uploads/chorus_asset/file/21807251/e..., Exhibit D, Page 2, Point 2.
Getting people to entrench themselves into camps and beliefs seems to be a main affect of social media these days.
This comment pops up now and again, but they are the single biggest news site for piracy and filesharing related things. I’ve been reading them since they started (I even have a T-Shirt) and they turned from a small-ish blog to a professional news site.
In his In Love with Daylight: A Memoir of Recovery, Wilfrid Sheed wrote that a guaranteed route to success for any company would be to put its intelligent people on the phones and hide the morons in management where they can do only limited damage. I wish I could remember the context.
Top Tweets on Startup, Business, and Life Advice from Domm Holland ( Domm)
Doctors who were prescribing medicine at the time that OxyContin hit the market were not in medical school, they had graduated already. If pharma lies about safety there is no way for a doctor to know unless they conduct their own study, which would require lots of extra time and massive funding. Pharmacists didn't know that the safety data was fudged either. Everyone got their oxycontin from a pharmacist after a doctor prescribed it, so having a pharmacist be the only one allowed to prescribe it wouldn't have changed anything.
Yup. That's how Cancel Culture works.
First sentence was all I needed to nope right out. Democrat/Chinese.... okay....
It can also be summed up as: "we see there are managers with budget, and we have a solution to this problem..."

Any place you have money, you will find someone selling snake oil.
My friend is an aerospace engineer and described the efficiency problem to me in detail.

He said it's impossible to commercialize supersonic flight without breaking some laws of physics. I confess to not understanding the reasoning that got him there. It's not a controversial opinion in physics, though.

I suspect Boom may end up being the uBeam of aviation.
My Productivity Stack: What Apps I Use for My Second Brain
Yeah, I never understood this safeguarding against bugs resurfacing after being fixed once. I only saw bugs coming back at a company that didn't use version control and instead copied source code back and forth with a USB stick.

I can understand something like test driven bug fixing, where you basically create a simple test to reproduce the bug quickly and then fix the bug using that. In many cases that is the most efficient workflow.

The test succeeding can then serve as evidence of the bugfix (though it might not be enough). So if you have already written the test, you might as well leave it in there, because it doesn't bother anyone usually, and the tiny chance that someone breaks this exact same thing again, while tiny isn't non-existant.

But fixing a bug and then putting extra work just for a test, if there is another easier way to prove that the bug is fixed? No, thanks.
How Science Is Revolutionizing the World of Dog Training
You mean fakes/stubs, right? Unless you're testing whether you're correctly implementing the protocol exchange with an external party, you don't need to record the API calls.
They don't have a modern supersonic-capable engine as of yet, which is basically a requirement for making progress in supersonic passenger transportation. They have an agreement with Rolls-Royce, but if it doesn't pan out the whole venture might flop, because we basically only have GE and RR as the keepers of the institutional knowledge about cutting-edge engine tech.

Also, with the way our culture currently develops, producing tons of excess CO2 for your slightly faster than ordinary business jet or first class business trip might become a very sinful, frowned upon, bad PR thing to do. If anything I see money in making business jets more economical.
But it's widely known the majority of profits are from business class?
MRAPs don’t drive and maintain themselves for free.
Fooled me!
I think GP is referring to nondeterministic exceptions. For instance, if the service under test depends on some other service, then you may need to test the scenario where the other service is unavailable. The exception is not triggered by a bug, it is triggered by an operational externality.
> The intention is likely that if the onboard computer emulation crashes (which it sometimes does) you can simulate the actual onboard computer restarting without it taking down the game.

That doesn't really make any sense to me as a motivation. The vast majority of ways they could have chosen to simulate the onboard computer would have that quality. I would guess they chose WASM because they expect a lot of third-party expansion and it provides a VM that can be targeted by almost any language.
If you can send me a source for that (on Twitter @charlieinthe6), I'm happy to make that change!
"search warrant sacklers" 0 results

It's hard to make a case for something being prosecuted in good faith if there is never any attempt at using the tools that are otherwise so vastly abused in prosecuting the most meaningless "crimes".
They aren't redefining it though. The term has always been fuzzy. A common boundary of unit testing has always been a module's publicly exposed interface.
I'm guessing you're in a dry climate. 0c can feel colder than -5c~10c if it's humid enough.
What do you think of his fake Russian accent in "Lobachevsky"? I think it's great. And isn't there a fake Irish accent in one of his songs?
One of world’s most dangerous lakes is growing in belly of Hawaii’s Kilauea volc
> One of the biggest problems with TDD is that it kind of relies on having clearly defined specifications

That's very true. I think it's an easier sell when you have a relatively stable set of specifications (accounting software core logic) where the rate of change is low but the cost of regressions is high. But I think you can tackle the same problem space with good unit tests instead of enforcing a test-first mindset.

In situations where work is vague, spending more upfront time thinking about architecture is much more useful (design docs?) imo. Having a set of units for a crappy, entangled system is pretty costly.
It really depends on your definition of unit. In the London school of TDD, no, a unit cannot extend across an I/O boundary. The classicist school takes a more flexible, pragmatic approach.
Yes exactly. The next accident might be different. You will never know if it will have contaminated the ground water or not, what are the necessary steps to prevent spread of the radiation. So yeah, it is not what it was, but what it might have been.
And there is no need to program in JS even if you target it, as a compile target it has a lot of advantages over wasm for high level languages.
FWIW there are multipurpose cards that can store keys for several systems and even implement domain restriction.
Then there was the couple who got a kitten. The first night it woke up down around the husband's ankles. It started to walk forward until it found its path blocked. It then dug into his thighs to climb out, and found itself launched from the bed along with husband and blankets.

(Source: the ex-wife. I don't think the kitten contributed to the breakup of the marriage, though.)
For some reason people online think writers and journalists are paid in Likes/Retweets
Having been in a similar position usually being on the 'inside' with access to code/tools/etc was more interesting than being some consultant who didn't have sufficient access and was saddled with the job responsibility of actually using the product for it's intended goal in an ordinary business setting. Playing troubleshooter for the real hard problems that nobody expected or thought about and delivering a solution in one in a hundred calls can be more rewarding than just turning the crank on a business system.
That 517-mile-range Lucid Air will use a 113kWh battery pack
I'm not sure I understand the point of this exercise. If it's being built in reasonably shallow water, why not just have the structure be mostly above-water, with sensors underwater and apparatus for divers and remotely-operated vehicles?

Decent choice of name, of course.
I just did this last month with my partner and 2 kids. We didn't go as fast as possible, but took 5 days to let us break up the trip and see stuff along the way.

We went from Amsterdam to Munich on day 1 via ICE trains (changing in Duisburg), had dinner at a biergarten and stayed overnight in Munich. Day 2 we explored Munich and that night got on the Nightjet sleeper train to Rome. Woke up in Italy on Day 3, enjoyed the views, arrived in Rome around 9 AM. Explored Rome , and stayed overnight. Took a Frecciargento train to Bari in Apulia on Day 4 and from there an overnight ferry to Patras in Greece, arriving Day 5. Took a taxi from there to Athens, which was pricey (€260) but sadly the trains don't run to Patras anymore and for our family this was a better option than the bus (and it was quicker, plus we stopped at Isthmia for souvlaki and to check out the canal.)

Trains through the Balkans are not currently an option - they weren't running north of Thessaloniki even before COVID shut the borders. If you want to avoid flying or driving, you'll have to take a ferry from Italy to Greece.

If we had to do it again, we might have taken the ferry from Venice or Ancona instead just because the port of Bari was so unwieldy for foot passengers and the Superfast I ferry was pretty bare bones and more geared towards truck drivers.

Also, beware entry requirements to Greece, as they are constantly changing. Right now you couldn't actually do this trip because people arriving from the Netherlands have to show proof on arrival of a negative COVID test taken within the last 72 hours.
"That's okay!"

Why is that Ok? How does the dev know that they've not undone anything else? Also, how does the dev know that the fix is complete? Or that it caters to the defect?

This anxiety of pushing out at fix - at the risk of undoing other working functionality - ought to be addressed first. It is better (and safer) to get into the habit of writing a test to reproduce the defect and then write the fix. After all, if the fix appears trivial, then the test for the defect ought not to take too much time either. I have been able to get to this mindset with practice.
Your proposal that the US leave Europe to fend for itself was couched as a threat. I think it would be a worthwhile experiment. Not as a punishment, but as a liberation.

Would bad things happen? Of course! Different bad things than happen now, perhaps. Then again, maybe a lot of the same bad things. Would good things happen? Who could doubt it? How absurd to think that everything is better if controlled by the US.

And, as a USian, I'm willing to accept lessons on virtue from any corner. When you reach a point that you think nobody has anything to teach you, you're cooked. Virtue lives everywhere in the world. Seek it out. Foster it. Let it foster you. Virtue cannot be monopolized.
Before a doctor gets a new drug it should’ve been approved by a government agency and gone through trails. The company selling it trains doctors on its use and side affects. The problem is the company was lying and telling half truths. Not only that they pushed use cases where something as strong as Oxy was not needed.

Pill mill doctors are a different story and they are prosecuted for it.
Are you not now guilt-tripping people who guilt-trip other people?

> Doing it is evil and makes you evil.
Extreme altitude also means there's less air to hold the plane up which seems to require a lot of power for level flight. I'm not sure about ballistic flight paths - a lot of fuel to get up there and then none for a while.

Apparently re Musk's old Telas that he launched towards Mars:

>It has achieved a fuel economy of 9,886.9 miles per gallon (4,203.4 km/liter, 0.02379 liters/100 km), assuming 126,000 gallons of fuel. https://www.whereisroadster.com/

But it's not on a very popular flight route. Should be kinda near Mars Oct 7th.
Interesting, but couldn't you ask this of any existing technology with years of development and realize you don't know how we arrived at a function we take for granted?

What happens when you press the accelerator on your car?
Never thought I’d be giving shouts out to Sarah and Duck on HN but here we are. That show has a rare combination of real chill and real personality. As my son is aging out of Sarah and Duck, I’m hoping to find similar content to offer him that will be stimulating but not spastic like so many shows. I would also love to find more stuff like Beat Bugs and Motown Magic, which are a bit more typical but still wholesome.
I would argue that there is a lack of understanding of how well the status quo prevents bad things from happening. We take for granted how many problems we've solved, because many of these problems didn't exist in our lifetimes.
That's an awfully long article about a ship that sank some years ago. While interesting, it has very little to do with the explosion or its cause.
> Just like a tent revival, sinners are welcome as long as they already want to repent, but there's not going to be a lot there to make you feel good if you aren't a believer.

I think this is a really good analogy I'd not thought of, but incorrect in the last part. I think there are (and historically, were [1]) plenty of casual participants in tent revivals, made to feel good because they are collectively part of something energetic and out of the ordinary that their peers were also part of. Such person thinks consciously or subconsciously "I may not buy (or even understand) what preacher-man is shouting about, but it sure is fun be with lots of people dancing, yelling, and letting loose, and they seem to like me when I participate. Maybe if I'm even more energetic than guy next to me, I'll get even more approval from these people." Not every participant, but I have to think that was one motivation in many cases. I'll leave to others to draw parallels to present day.

[1] https://en.wikipedia.org/wiki/Second_Great_Awakening
FYI, Using ECR with Docker Swarm is something we did try. It was hellish. We never nailed down the exact problems, but we spent about a month with 2-3 experienced engineers trying to fix the edge case issues.

The main issue was ECR has a slightly different authentication model than docker swarm. The whole '--with-registry-auth' only partially works when you are using ECR. Unfortunately, it works just enough that you think it's working, until all your tokens time out and a worker can suddenly no longer pull an image.

Our common failure case was an image becoming unhealthy or a node being drained. When that image would try to be restarted on a different worker, if that worker did not have the image it would try to get it from the registry. If the tokens were expired it would fail.

The only "fix" we ever found was to setup a cron job that forcibly deployed a new version of a "replicated globally" image every X minutes (where X was based on ECR token expiration). It kind of worked, but we still had occasional failures we could not identify.

I wish it worked better, because it was nice to use ECR. Frankly token expiration sounds much more secure too, but without direct support for token refresh inside the docker engine it's just hard to get everything to work
>The idea in the day was it would replace mp3/aac/etc which it obviously didn't.

It did for anyone that cares about it and about file size. My portable library is vorbis. Mp3 is just very popular and there are a lot of mp3 files out there that can't be converted without further degradation of the sound quality so mp3 will remain relevant for a long time.

>From that aspect, the fact that conference apps use it as the internal format is hardly relevant, they could license and use whatever and we wouldn't know any difference.

It's relevant in terms of market support. Vorbis isn't going anywhere. The random codecs that have popped over the years, open or proprietary never got a lot of support from other companies so they went away.
I don't think Australia did. Although it's leadership has been acting as if it had.
Manual testing and design patterns that isolate the effects of a change from the rest of the system.

I am going to manually test things anyways, so in practice, unit testing usually takes longer.

I am more likely to add robusts tests to parts of the code that are harder to test manually as it does save time in that instance.

Ironically, I find that well tested code gives me less incentive to refactor it. Refactoring is good for allowing future changes without breaking things. With good testing, I rely on tests to provide those guardrails instead of a clean code structure.
>>>He poses almost no threat whatsoever, what is he going to do, pull out an AK in his car and shoot the officers in broad daylight in front of witnesses?

One of the most graphic shootings I've ever seen is damn-near such a scenario. https://en.wikipedia.org/wiki/Murder_of_Kyle_Dinkheller

But I agree with most of your post: the US has an over-abundance of undisciplined, poorly-trained police who are VERY quick to escalate a situation to their firearm.
Carlsen, Kasparov Will Clash for the First Time in 16 Years
Being familiar with the DCT but having no idea how to explain to a five year-old, I clicked. This does not ELI5 the DCT.