skysight-inc/HackerNews huggingface dataset:
And the delay
Great analogy, and very thought provoking.

Had me thinking about different strategies you might use in Tetris and how they mirror development.

For example, when you do the big setup to drop a vertical 4x1...and it doesn't arrive.

Classic case of Yagni or Premature Optimisation leading to technical debt.
Did your friend say 10,000 times faster or 10,000 times bandwidth? By using different color simultaneously , you can stuff more data but I can’t imagine it becoming faster than speed of light it already travels at.
Show HN: State of Cloud Tech
Slightly less tersely, if you fit a multivariate gaussian to some points you could think of this as an something like an ellipse (at a contour of constant probability). The semi major/minor axes of the ellipse are the principal component directions. The size of the principal components is like the radii of the ellipse.
Tesla will raise prices on its cars, reverses plan to close stores
5) Does anyone know how to save that(cabling-world) animated image alone?
All I can make out is 'g-map' div ;-)
“When action grows unprofitable, gather information; when information grows unprofitable, sleep.” Ursula K. Le Guin
Fukushima underground ice wall keeps radiation at bay
You blow up a lot of dust with a leaf blower, so a face mask is probably a good idea regardless
> introducing an addictive substance with only extremely ephemeral benefits and potentially serious health consequences

This seems like a description of any method of nicotine use, and you're about 3500 years too late for that. I don't see how it's accurate to describe e-cigs advent as the introduction of a new addictive substance: it seems to me to largely be the introduction of a new (far safer) method of delivery for an existing addictive substance.

The complaint about e-cigarettes seems to me to be a complaint about the ease for teens of hiding their usage, relative to stinky cigarettes.
> administering melatonin prior to exposure to UV radiation increases cell survival and reduces oxidative damage. Topical melatonin applied to skin 15 minutes prior to exposure to UV radiation completely prevented skin redness (erythema) in a small randomized double-blind study of human subjects

This isn't necessarily good news. Sun burn is your body's way of reducing skin cancer. When your body detects too much exposure to sun, it kills the cells that are most likely to have suffered DNA damage. The soreness and inflammation are a result of that mechanism. Disabling that mechanism would cause skin cancer.

But maybe melatonin promotes DNA repair and thus the cells don't need to be killed. More research needed :-)
Only the order of the hook function calls is tracked. The "danger" of 3rd party APIs is a theoretical one, as in most cases you would not put hook function anywhere else except the first level inside the functional component - not into callbacks or whatnot of 3rd party libraries.
restic stores files as a Merkle tree of blobs, with snapshots just being a particular root of the tree. This means that all snapshots are "full" (in the sense you don't need any others to reconstruct the filesystem) but are also "incremental" (in the sense that data isn't duplicated if it wasn't changed).

Yes, ZFS internally stores things in a similar fashion but I believe you can't get that from zfs-send (which is totally fine -- that's not the use-case they were going for, and zfs-send is incredibly useful for lots of other cases). restic is also chunked using content-defined chunking which is gives you much better deduplication than extent-based chunking (which is what ZFS, or any in-kernel filesystem has) -- and ZFS deduplication is well-known to be very expensive to enable while restic's deduplication is (almost) free. Of course, restic doesn't get atomic snapshots without using a filesystem like ZFS -- so so there's obviously benefits to using both together.
My 2 favorite books that explain it in depth, as well as the modern process of re-learning the lost art/skill:

https://www.goodreads.com/book/show/18375122-hawaiki-rising

https://en.wikipedia.org/wiki/We,_the_Navigators

(Edit: both mentioned in the article, now that I've read it)
Will the reddit aviation answers be different if instead of China, it was Chinese (or another country’s) airlines were announcing one by one, they were grounding the planes?
More plastic? Should we not try to figure out how to engineer microbes to ingest micro plastic and return something biodegradable?
Jeez, the numbers thrown around in the article are insane!

Sample:

The king reportedly paid the poet 200 kg (440lb) in gold

A hundred camels were in tow, each camel carrying hundreds of pounds of pure gold.

If this wasn't BBC, I'd have thought I was reading The Onion :P

The later arrival of Europeans in the region was the final nail in the empire's coffin.

:( Of course
1) The fibre pairs are housed in multiple layers of armor to protect against the elements, supply power to inline amplifiers and -most notably- provide the structural strength needed to survive being deployed. Outside diameter is still less than one inch, though.

2) Depends, but a metre or two (tops!) would be the right ballpark.

3) Not a dumb question; while loss in fibre optic cable is very low, repeaters are installed at regular intervals along the cable. they are powered by high-voltage DC supplied through the cable armor. The ocean acts as the return path.

4) Lots.
The nice thing about functional programming is that you can reason about execution and write lint rules to fix pitfalls that you can't detect with imperative programming.
You don't use useState to set the state, you use useState() to GET back a function that can mutate the state. And this function is safe to call in a loop or conditional.

When using hooks, yes, you have to remember not to call any use* function inside loops or conditionals (or use the linter plugins for that). Besides that, hardly any room for errors.
It only relies on that order between renders. It’s really a non issue.

I just spend the last month building a new chunk of our app in hooks to try them out, and it’s really nice to be able to wrap up shared stateful logic without HoCs.

A bunch of the HoCs in this app take a “propKey” param, because the HoCs are all stacked on top of each other, and prop collisions happened frequently.

Also, it’s a gigantic pain to use TypeScript and “compose”.
1: I think they don't put that thin cable on the seafloor, they are bunched together, in a much bigger cable with a lot of stuff around it [0] to protect it.

About the patching, they say that in the article: they sometimes cut the cable (in case of a bad weather) and attach it to a buoy. So they can "patch it" ;)

[0] http://2oqz471sa19h3vbwa53m33yj-wpengine.netdna-ssl.com/wp-c...
Positive move. It is not like India is on a different planet. Plastic waste export limitations will force us to find better solutions including reducing plastic waste.
Isn't this a whole lot of words for installing traefik with DNS challenge and let it do basically all of the work?
One of the more interesting facts about Rogers' Rangers is that they fought for the Crown in the American Revolution. It's a tad ironic that the we named our premier light infantry after them.

The submission differs from the U.S. Army Ranger School Handbook [1] (PDF - page 2). The Ranger school variant is more down to earth.

> The Rangers still use these rules today.

Sort-of. The rules are still used in the same sense that Algol-68 is still used. It's not, but all the lessons are incorporated to into modern programming languages. If you're intereseted, the tactical doctrine for the U.S. Army is freely available as "Infantry Rifle Platoon and Squad" [2] (WARNING - large PDF). [3] (unofficial HTML version)

Here's the modern day interpretation for some of these rules:

> 2. In a small group, march in single file with enough space between so that one shot can't pass through one man and kill a second.

Everything is dependent on the mission variables, but you generally keep at least 5 meters in-between soldiers so a grenade can only kill 1 person and so it's harder for a machine gun to pin down multiple people.

> 4. Before reaching your destination, send one or two men forward to scout the area and avoid traps.

This is a leader's recon. Before conducting the attack, the leader will recon the objective to confirm that's it's actually the objective, verify enemy strength and scout out locations for machine guns and the main assault force. The leader's recon is on page 326 in [1].

> 13. When laying in ambuscade, wait for the enemy to get close enough that your fire will be doubly frightening, and after firing, the enemy can be rushed with hatchets.

This is a near-ambush. Ideally, you set this up as L-shaped ambush to achieve enfilading fires in the kill-zone. The "doubly-frightening" is initiating the ambush with a Claymore mine or an AT4 rocket. The "rushing with hatchets" is clearing the objective, taking prisoners and collecting intelligence. See page 7-10 in [1] for the step-by-step guide on how to conduct an ambush.

> 14. At a campsite, the sentries should be posted at a distance to protect the camp without revealing its location. Each sentry will consist of 6 men with two constantly awake at a time..

The minimum security at night is 33% and is bumped to 100% at dusk and dawn. The campsite would be a patrol base, usually arranged as a triangle with machine guns at the vertices.

> 16. Upon discovering a superior enemy in the morning, you should wait until dark to attack, thus hiding your lack of numbers and using the night to aid your retreat.

It is really difficult to fight at night, even with night-vision goggles. This is one of the primary advantages of first-world armies in a tactical setting.

> 19. Avoid using regular river fords as these are often watched by the enemy.

These are called linear danger areas and include roads, dirt paths and streams. See [4] for how to cross them.

[1]: http://www.milsci.ucsb.edu/sites/secure.lsit.ucsb.edu.mili.d...
[2]: https://armypubs.army.mil/epubs/DR_pubs/DR_a/pdf/web/ARN1384...
[3]: http://www.infantrydrills.com/
[4]: http://www.infantrydrills.com/fm-3-21-8-chapter-3-section-v-...
This! I absolutely hate instruction video’s! Skipping forward and skipping back.. watching it for ten minutes to discover you probably skipped the important part. I guess i am impatient.

Coding video tutorials - never understood it. Car repair video’s: very hard to follow because most of the time the lightning is bad and the camera is shaky. A few good pictures with descriptive text. Perhaps a movie if you have to do something which requires a specific kind of move.

That said: instruction movies about sports are pretty useful.
Isn't this just an advancement on wavelength division multiplexing?

https://en.m.wikipedia.org/wiki/Wavelength-division_multiple...
I haven't used this pattern very extensively yet myself, so definitely take this with a grain of salt, but I think a good way to avoid the pitfalls around accidentally omitting depencencies consistently might be to define our effect functions as pure functions _outside the scope of the render function_, that takes a list of dependencies from our render function, and then returns an effectful function to pass into useEffect.

Since these functions don't even have access to the render function's closure to begin with, we can eliminate the possibility of our effect functions ever lying about their dependencies, as they have no choice but to receive their dependencies explicitly as arguments.

Probably easier to demonstrate with a code sample:

```

const effectFn = (dependency1, dependency2) => () => console.log(dependency1, dependency2)

const Component = ({prop1, prop2}) => {
const dependencies = [prop1, prop2]
useEffect(effectFn(...dependencies), dependencies)

// rest of render function...
}

```

We can even define a separate hook to solidify this pattern and make it less cumbersome to write. I whipped up this quick example a while ago to show coworkers and tentatively named it `useEffectFromArgs`:

https://codesandbox.io/s/4wwqnqp3zx

For those who don't want to click the link, it's just a really thin wrapper around useEffect:

```

const useEffectFromArgs = (effectFromArgs, args) =>
useEffect(effectFromArgs(...args), args)

const effectFn = (dependency1, dependency2) => () => console.log(dependency1, dependency2)

const Component = ({prop1, prop2}) => {
useEffectFromArgs(effectFn, [prop1, prop2])
// rest of render function...
}

```

I actually came up with this originally because I wanted a way to be able to test effect functions in isolation as pure functions rather than involve the entire React rendering pipeline just to test something that could have been tested as a pure function, which are by far the simplest tests to write and reason about, and the fastest tests to run. So for me, avoiding the accidental scope capture was really just a nice side effect.

The pattern is equally applicable to other hooks like useCallback, which was actually the original motivation for this. I also have another version of this that use named arguments to specify dependencies rather than a list, that I prefer using over the other one because positional semantics don't scale: https://codesandbox.io/s/4x86wy3r60

It does make me wonder why the hooks API doesn't just work like this to begin with though. I could definitely be missing some downsides to this approach, so if anyone wants to chime in with any critiques/insights, I'd love to hear them.
I just read this today. You may find it helpful.

http://setosa.io/ev/principal-component-analysis/
Unless you live in a small town there are people who are datable, the issue is being attractive enough to them that they want to date you.
What foods were causing you problems?
> I will definitely pull this thread out next time someone complain that Apple is too expensive and that they are milking the poor developers...

Other companies also milking their developers does not invalidate this argument.
> The cause of this crash hasn't been determined

that is the exact reason why all 737 Max should be immediately grounded for a full investigation.

or are you suggesting to further risk lives just to protect the interests of a company which had two of its brand new jets crashed in 6 months? Will you defend a Russian/Chinese manufacturer posing similar obvious fatal risks to the public when FAA orders all of them to be grounded in the US?
For FSF and Emacs all bugs, discussions and contribution are handled through email.

Sending patch-files by email and then having to discuss/defend your patch for weeks, only to have to create and send a new one, leaving receivers to diff patch-files to see what is different...

Let’s just say in 2019 you expect something a little more sophisticated to be available to make your contribution easier.
For a bit, yes. For N bits, more bandwidth means more effective speed.
> How is someone who claims to be known for their writings on dark markets and bitcoins supposed to be an expert on smoking?

This is a non-sequitur in context: Gwern's whole thing is trying to take a from-scratch look at the literature instead of relying on the standard appeal-to-authority arguments that sometimes lead to flawed conclusions due to things like institutional incentive structures. That is to say, if you're the kind of person who reads thing blindly based on whether the author is an expert or not instead of taking advantage of the fact that he shows his work to assess the quality of his analysis, then gwern's writings probably aren't for you. (FWIW, you should probably be doing this to some degree even when reading the recommendations of those designated experts)

Don't get me wrong, there's obvious ways for "ignore the experts and read the literature from scratch" to lead to flawed conclusions, but it's just a different type of analysis.
> the claim that FSD is coming soon was an intentional lie.

What's your evidence of intent?
> I don't think you are their ideal consumer. They're appealing to the Stallmans

I would disagree with this point. I think this is exactly what the Purism marketing would like you to believe, but in reality, it just isn't true.

I would class myself as on the Stallman spectrum - I use a libreboot'd X200 running Trisquel, a dumbphone, no social media etc, email providers using Free Software, and so on.

In my experience of the community, Purism is very much disliked by many, and even seen as harmful to the efforts of the Free Software community. The inclusion of PureOS on the FSF distro list has more to do with technicality rather than recommendation and their hardware is pure marketing BS.
I hadn't heard of cpack - it seems like there's not that many projects using it. Do you have any examples? Do the packages pass lintian checks?
What's your evidence of intent?
There are probably ways of dumping PCI writes; I'm curious if any tracing of that sort was used (comparing traces to known working OSes), or if it was all about comparing code to the spec.
I didn't mention daughter in laws in any of my comments. You might be confusing the replies together. Your entire statement really seems to be a very pessimistic take that is certainly a possibility but not commonplace.

There are challenges in taking care of your in laws but raising a child is easily a more painful and arduous task, so it's not very extreme in the larger scale of things.

Also, I didn't bring up virtue. One of the other commenters is fixated on me demonstrating moral superiority so I'm trying to speak to only that person w.r.t. virtue.

I originally replied to that commenter with a statement that implies that there is literally zero virtue in taking care of your parents in India. Nobody praises you or holds you in higher esteem for doing so over here.
1) It would have to be a human. Existing "AI" solutions aren't close to being as good as humans, at least when they're only fed articles without context.

Even humans aren't exactly infallible when fact-checking, and truth is a debated term. The training data for any AI would be "biased" to some people and not to others.

2) HN is already great at this. That's why I read comments first.
The article suggests glass bottles and refilling them from bulk packages. No reason you shouldn't refill plastic bottles from bulk packages if you're worried about dropping the glass.

Getting a bulk supply that doesn't use plastic (or send you to some funny store that you have to drive further to and that costs more) is presumably the hard part...
Acting on your vision is easier for people when they have access to large pools of money. I'm not sure about Mark but Elon seemed like an entrepreneur when I read about his early adulthood. Not an inventor, just someone who found ways to make money. Then when he became rich he became a visionary.
I want you to hire my student so much that *I’ll pay her first month’s salary*
JavaScript SetTimeout Tutorial
Ask HN: What technical stuff should a technical founder know?
Full question: What technical stuff should a technical founder know before starting a software technology company?
They certainly used to be pretty worthless, but some two years ago Lenovo seems to have realised that. Being firmly on team trackpoint, I don’t use it personally, but my X1 Carbon (2017) has a nice feeling large trackpad that I’ve heard many good things about.
The Anatomy of an AWS Key Leak to a Public Code Repository
It's not illegal as such, it just not licensed and no drug company has bothered to go through the process to get it licensed in the UK. You can get it on prescription in certain rare circumstances.
- Startups For the Rest of Us: https://www.startupsfortherestofus.com/

- Remote Ruby: https://www.remoteruby.net/
Xaringan: https://github.com/yihui/xaringan.

It's mentioned on slide 6.
Why? Because 2 737s went down in the past few years? Do you know how many successful flights have been completed in the past few years?
Would you rather drive? do you know how many people die in car accidents everyday? Over 3000. But it doesn't make the news because by definition it isn't new, it happens every day.
I have a ThinkPad bluetooth keyboard[0] for this reason. I don't use a mouse anymore - the trackpoint is super convenient when programming.

[0] https://www.amazon.com/ThinkPad-Compact-Bluetooth-Keyboard-T...
Remark.js. It's easily the best html5 presentation system.
You're not supposed to be able to verify votes after the fact because that would enable buying votes.
Because one plane went down now everyone is scared and going to cancel any 737 flights. Irrational humans that pay attention to the news. Your chances of dying in a car accident are much higher than dying from flying on a Boeing 737. Are you still going to drive to work tomorrow though?

Edit: Yes it is good that 737s are being suspended and investigated but still, statistically speaking, flying is safer than driving. The media just likes fear-mongering headlines (not this article, but others in general).
> How many of the hull loses were due to pilot error (e.g. AF 447)?

He is counting 11 hull losses, which is the correct number of hull loss ( http://aviation-safety.net/database/types/Airbus-A330/losses ), but he didn't bother to look for anything more than that. Out of these 11 losses, four were due to ground attack by armed groups (Two in Sri Lanka in 2001, two in Libya in 2014. These are the one marked "C1" in the page)

Pretty sure that these should not count when assessing the security of a airplane (at least a civilian airplane)
Traffic Congestion and Infant Health: Evidence from E-ZPass [pdf]
Here's the link for Neal Stephenson's Motherboard Earth: https://www.wired.com/1996/12/ffglass/

Indeed well worth a read even this long after it was published.
It takes a cloud of points as input, and gives a set of shapes that approximate that cloud, noise filtered out.

So component is one of those shapes. In case of PCA, shapes are ellipses. For SOM, shapes could be more complex like zigzag. For k-means, shapes would be like Voronoi cells.
This figure is disputed, and it's not clear what happened to it after his death. Despite a large campaign to seize it.

On the other hand, Libya earns about $20bn a year in oil exports. Subtract cost of production and then consider how much of that could have been taken by Gaddafi personally.
No, it's not. In a real backup solution (Time Machine, borg, restic), if a file exists at the time of the backup, it will be included in that snapshot, even if snapshots in between are removed.

With ZFS snapshots, only blocks changed since the previous snapshot are included.
Are you saying this as a medical research professional or just spitballing? Because the article send to be straightforwardly claiming that melatonin is reducing oxidative damage, not just disabling the visible effects. One of the referenced sources is entitled, "Melatonin as a major skin protectant: from free radical scavenging to DNA damage repair," which seems to be saying that the "more research needed" has already been done, like 10 years ago.
Show HN: Material Interface/Enricher for HN (With Login/Comment/Submit)
Visual flight conditions give you your angle relative to the horizon but not necessarily AoA especially in non-normal flight conditions (like steep ascent or descent).
You think Elon Musk doesn't think there's any difference between theory and practice? What makes you think that?

And what does it meant to be "practically right" about the future? I don't understand how you could be right in practice about something that hasn't happened yet.