skysight-inc/HackerNews huggingface dataset:
Make income streams with affiliate marketing,using new affiliate software
> I meant that many people imagine Component class as being the meat of the codebase, heavily operating on `this` and updating things on it.

Yeah maybe. Even when it's not true it is still a valid way of looking at it I think. In the abstract sense that's what's being modelled here with the API, right? The fact that the internals are different is an implementation detail. Of course, it might be an interesting detail, hence your blogpost.

> Similarly folks often imagine `this.state` being the source of truth (and thus Hooks seem too ephemeral).

I still don't understand why this is though. In some of my projects I actually manage my own local state on the component class (without this.state/setState) and auto `forceRender` when something changes. In those cases my state is super sync and everything works fine. With the additional benefit of my local domain logic being modular: I can read my state after having updated it and it works like expected. So know I can write multiple methods dealing with my local state and compose them freely — like actual OO.

I understand the hooks world is a different story, but in the compat component world it all seemed just fine. Why doesn't react use `this.state` as the source of truth, or update it more aggressively so it at least looks like the source of truth to me? Perf reasons? Is it worth it?
Galia Lahav Haute Couture-Mia
That most obvious savings generated by the Manhattan Project was probably the displacement of perceived need to invade Japan. It would be nice to see an estimate of the cost of that invasion as a comparison. But the primary cost of an invasion would have been the lives of Americans and Japanese, and it would be difficult to arrive at a consensus value for that. As part of that wider comparison the cost of the destruction in Hiroshima and Nagasaki should also be included on the Manhattan Project's side of the ledger.
Mathematical paper rejected because an author is Iranian
From https://docs.perl6.org/routine/contains, `contains` coerces its invocant to a string and searches for a substring starting from a certain position (index 0 by default):

# Let's drop `<>` (quote-words constructor) and
# use a more familiar array of strings:

my @menu = 'hamburger', 'fries', 'milkshake';

# Let's look at the definition of the `Str` method in
# the `List` class from which the `Array` class inherits:

#`{
method Str(List:D: --> Str:D)
Stringifies the elements of the list and joins
them with spaces (same as .join(' ')).
}

# Thus, after being stringfied, @menu is treated as
# the string 'hamburger fries milkshake'

# With this is in hand, we can gauge the possible
# result of the following statements:

say @menu.contains('hamburger'); # True
say @menu.contains('hot dog'); # False
say @menu.contains('milk'); # True
say @menu.contains('er fr'); # True
say @menu.contains(<es mi>); # True

If you'd like instead to search the array for
words as elements, we could use Perl 6's set
functions. However, I don't know if they're as
performant as regular string searches:

say 'hamburger' (<=) @menu; # True
say 'fries' (<=) @menu; # True
say 'hot dog' ∈ @menu; # False
say 'milk' ∈ @menu; # False
say 'er fr' ∈ @menu; # False

`∈` is the unicode equivalent of `(<=)`.

---

I'm not sure if I'm missing something in the "odd design choices" in this specific case so it'd be great if you could elaborate a little bit further here.
I'm not sure why Apple is receiving any sort of praise here. I was constantly assaulted by an "explosion of noise" glitch when working with Logic Pro in OS X. I could have the system volume level set to the lowest possible setting (25% of 1 notch), and yet I'd still occasionally get deafening explosions of noise as if I had the system volume set to the full 16 notches. The explosion is just short enough that there's zero chance of you having any hope of ripping your headphones off as quickly as possible to spare your hearing. No, by the time you hear the explosion, it's already too late. I did in fact start losing my hearing from this and completely gave up on making music.
Then let's have a threshold below which it's unethical and illegal.
I've explicitly and deliberately changed the title specifically because the original is provocative, and less informative.
I think you're overestimating the amount of "hassle" that would bring. There are payment processors that simplify that end, and the difference in profit would be so massive that I think it would be worth it.
Some Epic Store games are pushing back or scrapping Steam releases
Depending on what it is, color can be very important.
Lots of people put time and energy into their work. Doesn't mean I owe their employers money.
Ha... You came up with just one example to make your point. Whereas the article has a lot more example to make it's point. I think you should go around the surface to understand that women have been misrepresented by the make dominated society.

None of this takes away from the fact those women made the best of what they were given, had an unfair playing field compared to their "peers", who were handed everything, and yet we're able to make themselves their peers and yet weren't represented at all.
> Do you even think that a poor person has the same quality of healthcare as a rich person has?

They actually do in The Netherlands :)
>Bitcoin is not the obvious amswer

But maybe Ethereum or Litecoin or Monero is?
Am also looking forward to this book, seems better than navigating the sources on your own, where you often lack context.

I do wonder if there are other books that give detailed insight into commercial software (not games) and how it is built.
I love OneNote too so I have to ask: what is WSL?
When you factor in storage costs, how do solar and wind compare to alternatives?
The points you make are valid but I would point out that building and bringing commercial software to market is capital intensive.

Good luck building software, testing it, writing documentation, producing a go to market strategy and executing it without a lot of capital.
The human body suffers just as much from wear and tear like anything else, maybe even more so due to being just a bunch of flesh/bones that can't be easily replaced.

In that context, anybody who works hard labor is trading in part of their health for income because many labor-intensive jobs will take their toll on the body [0]. Up to a point where people either have to switch line of work or go into early retirement, as certain parts of their body stop functioning properly and they are stuck with chronic pains for the remainder of their lives.

[0] https://www.reuters.com/article/us-health-work-occupational-...
I think it's come from people who previously made a lot in crypto.

Lottery winners are not known for their wise investments.
3D Christmas Snowflake Making Ideas and Instruction for Kids
This system is clearly working to the benefit of all. There is no need to consider alternatives. Now head down and keep working!
It’s a toss up between paying someone $20/mo to host it or paying Google $3/month not to read your info.
We Are the Dumb Terminals
How Premium Mediocre Conquered Fashion
It (the dongle) is still wholly unnecessary.
What do you guys think of a kickstarter for his next book?

He sets a funding goal that achieves profit for him and then people can pledge $10 for an e-book, $25 for b&w or $50 for color.

This way he gets to hold onto the intellectual property until he has cleared his goal and make the prints of the books a limited time offer which could drive up their demand.
Having a competitor is a big value for Google, they are smart enought to understand they need Firefox. Think about first WebRTC connection or also WebGL2.
There's a flip side to this.

When something goes well but mom and pop are excluded, the rich get richer.
Make better choices: Hawaiian monk seals keep getting eels stuck up their noses
Bose QC35 are, I think, AAC and SBC only, so this is to be expected.
Demonstration: My Workflow of Incremental Reading in SuperMemo
Can you move to a state/country where you can obtain marijuana legally? Perhaps with a prescription?
Sounds like applocker in windows
Emotional video of a mining startup shutting down posted a few days ago. https://youtube.com/watch?v=kxbCHlXZ-0U
I've heard Scratch is nice, and my library has some fun looking books about learning programming (I think with Scratch). You can whip together a simple game pretty quickly, so if that's what she's into, that could work. I plan to teach my kids using Scratch when they're older, but that's several years off so I don't know the specifics yet.

Scratch may or may not be the right answer though, depending on what she's into. Python is fantastic, but I don't see it being very good for getting something graphical working in a short amount of time (that's what usually keeps a child's attention).
> Theres always a choice, and choices have consequences.

You're making the assumption of how your choice could have been anything different. That's an illusion and studying determinism is helpful in understanding why you're simply a biological input/output machine in a system being society. Even with the possibility of randomness existing as quantum mechanics suggests possible.. it wouldn't make a person have any choice. Personally I think quantum mechanics is just a result from a deterministic system that at this point in time is too complex for humans to analysis as determinism.

It's common knowledge that an outcome results from an action and maybe even consequences happen when the world is under the free will illusion. The problem is the actions were all based on the preceding outcomes and where nobody had any control.

> The kind of people who believe they had no choice are the worst because it shows a total lack of remorse for their selfish decisions

> Phrases like “Look what YOU made me do” and “It’s societies fault” are warning signs that they learned nothing and you have a likely repeat offender on your hands.

Ethics & morals help society strive for the best interest of humanity. The majority of society at any point in time, hasn't understood free will is an illusion and from my understanding of history. We're only capable of theorizing but from my experience, I have been able to remove resentment to persons who wronged me and because they had no control in how they became who they are with the actions they produced against me. I don't believe persons should be punished when they had no control. The best outcome is society learning how to prevent a similar unfavorable outcome and people rehabilitating the persons who were unfavorable by the universe to do a wrong.

I's a huge assumption to assume people will be repeat offenders under the belief of knowing free will is an illusion and when you're contrary to the ideology as you haven't been able to live under it for an extended period of time.
You are Batman.
Live Snapshots of Muni Subway
Regarding the op amp selection, he just used them because he had them lying around.

"If you wanted best possible sound you'd use some actual audio op-amps rather than these cheap NE5532P. And buffer the output of the op-amps somehow. But of-course size and cost balloons if you start adding buffers and stuff."

What I like about his project how he simply used a couple magnets to hold the lid on. Microsoft did something similar on my keyboard, but I don't know that it is something used much on DIY projects like this.
This article was interesting, but the photo in the article is just too much! That seal looks so relaxed, like he doesn't even know he has an eel in his nose and he's just having a relaxing day on the beach.
> The human body suffers just as much from wear and tear like anything else, maybe even more so due to being just a bunch of flesh/bones that can't be easily replaced.

The human body is amazingly reliable, no comparison to "dead" (non-self-sustaining, non-self-renuvating) machines.
Plasma donation is really the only thing that pays in the US.
> If you start by following most react tutorials, they will make you begin with something way more complicated that it needs to be and you will get discouraged.

Can't agree more with this. There are quite a few reasons I think those starter-kits and tutorials are very harmful especially to new developers. Figuring out how your tsconfig/webpack/babelrcs/state-handlers/etc all fit together should be something that should certainly be done and learned incrementally.

Perhaps the issue is the amount of boilerplate you need to start a simple app. There should be a flask[1] like starter for react/vue apps. Parcel seems like the closest thing but its still not obvious to me why they demo 4 files to get started [2] -- we already dynamically transforming and compiling everything why not just have a single `index.js` with a Index/Main entrypoint?

Is there anything out there to do something as simple as:

import * as React from "react"
import {Html, Body, Title} from "parcel"

const Index = () => {
return (
<Html>
<Title>MySite</Title>
<Body>
<h1>Hello world!</h1>
</Body>
</Html>
)
}

with a `cmd {run,build} index.{jsx,tsx}`

[1] https://github.com/pallets/flask/#a-simple-example

[2] https://parceljs.org
HotelQuickly Closes Stranding Hundreds of Travelers
I’m only concerned that they work.

Which, as you allude to, is not guaranteed no matter what it says on the tin. Samsung is my go-to for that point. Not that features were half-assed, or kinda worked. No, having an icon on a screen does not count when what backs that icon doesn’t even pretend to do what it says. (To be specific, their fitness stuff was literally laughable in how broken or, lets be honest, how unimplemented it was.)

I think what gets missed is that the “Apple tax” (the “M$” for the 2000s, indicating the writer is to be ignored) is actually the “not a broken POS, and does what you thought it would do” convenience fee. Oh, sure, there’s Pixel and the like if you don’t like Apple. Last I looked, you’ll still pay the “Apple tax” even if it goes to Google.

And I swear, the next neckbeard ranting about how people don’t how their tech works either better take public transit to work, be ready to rattle off the Otto cycle used by their ICE car, or STFU.
That's such a straw-man it hurts. You're concluding, from the fact that a user has found one obscure bug, that android is a broken mess that only Arch Linux types should dare mess with, while Apple products are bastions of stability. The reality is that Apple products are (it appears) no more bug-free than the rest.

Have you tried testing this very same thing on an iPhone? Maybe it even has the same bug!
> I think you're overestimating the amount of "hassle" that would bring. There are payment processors that simplify that end, and the difference in profit would be so massive that I think it would be worth it.

But do they also accept payment methods that are common on other countries. For example, in Germany credit cards are often frowned upon and many people have no credit card; instead SEPA money transfer and SEPA direct debit (the latter strongly preferred) are the common ways to pay in the internet.
Valter Longo’s research has a good explanatory framework for this effect. For an introduction, The Longevity Diet (2016) is worth a read.
It's the opposite for me: Linux (first Gentoo, now Ubuntu) with Windows in a VM for specific apps (tax software, AoE 2 etc.) I'm super satisfied with such setup for last 10+ years.
Well said. Focus on what you can do. I hat 3 knee surgeries and my Dr said I wouldn't walk, but I didn't listen and walking is what I do. 1+ hour a day. Without it, I have more knee pain.

Experiment. Try different things, though try and varying them one at a time, so you can know what has an impact.

I never think about the fact that I can't run or ski or whatever.
The only blood component you can sell in the US is plasma, which is replaced much more quickly than that.
Yeah, I agree that gaydar example illustrates your point, but it’s just such an egregious outlier that overall it just further refutes the idea that this distinction matters much.

About zero serious, mainstream papers or open-source libraries or business case studies each year resemble the poor experiment design from that gaydar paper. It’s a silly one to emphasize in terms of generalization error except I guess for basic 101 pedagogy for people who have never worked with models like this before.
>But I still don't trust Google's binary blobs and the general baseband processor stuff so I stay away from Android.

Why do you trust the Apple ones then? At least on android you can get rid of most Google code with Lineage + microg
+1 for these. I've owned an HL-2270DW for almost 10 years and it continues to work flawlessly. Before that I had a similar USB only version. I just purchased it's color capable cousin as a Christmas gift.
Microsoft if you're reading this this is your fault for not marketing enough.

WSL is windows subsystem for Linux. Think of it like this- say you have an 'ls' binary from UNIX machine. You have WSL enabled on your machine in Windows. Windows will start the ls process and the UNIX calls will be handles in windows. (the kernel has mappings).

It's possible, and actually its wonderful experience, to run full "linux" environment right from windows at native speed.

It's not perfect and one of the biggest issues has been file system speed but besides that and some other smaller issues its the absolute best of both worlds- OneNote + excel + outlook + i3
The audio quality on my £110 wireless Beats X neckbuds is abysmal compared to a set of £30 wired Sony earbuds.
> The PDF is $10 on Google Play, DRM-free.

Also watermark-free?
I do agree, and Go is definitely better in this regard, but why is that the case? I can't see any technical reasons for it.
Yes, but this specific technical research paper doesn’t suffer these issues. So the original comment seemed wrongly placed here.
No surprise here, same thing that happened last crash. Any crypto company that doesn't plan for the busts with the boom is going to meet this fate.
Paris is definitely not on the verge of revolution.

Source: I live in Paris.
They are studying women in the US on the diet. I suppose they could consider other factors:

“A new study by investigators from Brigham and Women's Hospital, Harvard Medical School, and the Harvard T.H. Chan School of Public Health offers insights from a cohort study of women in the U.S. who reported consuming a Mediterranean-type diet. Researchers found a 25 percent reduction in the risk of cardiovascular disease among study participants who consumed a diet rich in plants and olive oil and low in meats and sweets.”
I can tell you I've struggled with my diet for years. The thing that I finally hit upon was intermittent fasting, and it gave me back energy and weight loss at the same time. And, it doesn't feel like a diet. It is my new lifestyle.
What if it's the lifestyle? You certainly feel more relaxed when living in Italy or Spain, people seem to prioritize a simple life full of social interactions. Work is something one needs to do, but does not get obsessed with. Talking from my own experience.
I think that's normally the case if you have cofounders or if you take investment. I started a bootstrapped company without any cofounders or employees, so I didn't set up any vesting schedule. I just own 100% of the company.
You are assuming that poorer means worse diet.

That is simply not true at all in relation to having a healthy diet, and the opposite is perhaps true.

In many places the traditional diet is healthy. Then, when people become richer they eat more, eat more meat, more fat, more sugar, more processed food, etc., and obesity and cardiovascular diseases shoot up.
It's a well documented issue. Maybe your headphones and/or ears just aren't sensitive enough to notice the issue. Plenty of people don't see the difference between flac and 240p youtube uploads, after all.
Which isn't that different to how many "charitable" organizations are actually for-profit organizations.

Another example of this would be clothing donations. Most people donate clothing with the expectation that it will be given to the needy for free. When in reality, these second-hand clothes will usually be sold to traders who then retail them in developing countries [0], undercutting the domestic competition who can't compete with the massive influx of "free" clothing.

[0] https://www.theguardian.com/sustainable-business/sustainable...
Is there one of these languages to start with? Or would you choose one that interests you and study that one? There seems like some great content but I don't see a clear place to start
iPad Pro is a powerful machine but it's not ready to take on laptops
No, but that would be a good project. Probably the easiest way at the moment is to see the compilation output. E.g. from the CI logs:

https://travis-ci.org/SergioBenitez/Rocket/jobs/465537062
Well, that's good idea, it could basically be used same way I guess
Thanks I'll check it out, when I get back to my Linux machine. I agree with you that linux file editors look very primitive compared to what was available on DOS.
> Many of the companies are suffering because they kept a portion of their funds in digital assets

Lol that makes it sound like they had a choice. Because essentially none of the ICOs did KYC/AML, none of them were allowed to create bank accounts anywhere worldwide so they had to keep their money in ETH.

That’s why they’re just starting to go bankrupt and will mostly all go bankrupt in 2019. If you think it’s a bear market now, the real crash hasn’t even started yet.

If you want to see something typical, here is what Jez, the founder of FunFair, wrote one year ago on Reddit:

"in the august company announcement we said we were holding more than a year's running cost in cash and thats still the case. our holdings are approx $6m in cash (dollars), and several million in bitcoin (which keeps going up in value!) and a lot more in eth. in short, we have capital of more than $30m, at current valuations. we're not going to starve in 2019, unless bitcoin and eth values plummet which seems unlikely. bitcoin is more than double the price of the time of our token sale in june."
Damn. Proof of work is such a waste. Unless you really, really need it, you probably don't want to spend the money it takes.
Show HN: Duckrails – Development tool for simulating APIs (docker img available)
The biggest takeaway for me is how important stability and deleveraging is. In the regular stock market such price action would more likely be thought of as crazy volatility rather than a bubble-crash situation. Before the sudden appreciation there was a lot of optimism at similar prices. If it never happened many of these companies wouldn't go bankrupt. Volatility killed them.
Your reply and the parent, to me, encapsulate everything that is wrong with humans today. You are 100% right. The person to which you replied doesn't see the issue. This lack of empathy is causing so many cascading failures in human society.

(To the GP of this reply, you might have misunderstood. I'm not really talking about you, personally, just using this short conversation as an example. Please don't take it personally.)
Win10 seems to be a data harvesting tool

What data specifically does Windows 10 harvest?
A poor man's REPL is a shell that fails short of everything that was possible to do across the OS infrastructure with what Lisp/Smalltalk/Oberon/XDE/Cedar REPLs allowed to do.

An approximation of it would be to have a shell that is a Jupyter netbook with access to the whole set of OS APIs, shared libraries and applications, with the ability to jump into the debugger at any given step of the pipeline, and redo the current step.

I bet you saw GUI apps on UNIX workstations, though.

Then again, maybe Steve Jobs was right after all.

https://www.usenix.org/blog/vault-steve-jobs-keynotes-1987-u...

https://www.cake.co/conversations/rZXhqtP/that-time-i-had-st...