skysight-inc/HackerNews huggingface dataset:
> 5. Change your mindset about young children (Don’t assume toddlers and
young children simply want to play; they may want to help)

It always seems to me that kids always start with an innate desire to learn
by mimicking available role models, whether they are parents, older
siblings, or older relatives. It's only after being repeatedly told to go
somewhere else to play and not bother the adults and their work that they
start to look for other ways to spend their time (e.g. by playing or
watching youtube). They realize offers of help are probably going to be
treated as a bother and rejected, and become accustomed to doing other
activities that don't bother the adults. Then, the parent, at some later
point in time, complains that they don't help around the house. They'll
insist their kid to help more, but they're asking him/her to change a habit
of play that's been set since long ago.

That's why I think that one should start teaching life skills as soon as a
child is able and willing to learn them. They might suck at everything at
first and be more bother than help, but that's part of learning and that
bother I think is the burden of parenting.

> 4. Don't force it

Yeah, people don't like doing what they're forced to do, and they'll avoid
what they don't like. It's about understanding that it's a necessity of
life. It's not optional. While the kid's a kid, the parents will be there
to help the kid clean up after his messes and do other things necessary for
his/her life (cooking etc.), but that help won't always be there. So, it's
not about getting the kid to help as much as it is about reducing the
amount of help the kid must receive from his parents. If he's doing chores
that the whole family benefit from, it's to counterbalance the things that
other family members do for him.

I feel much of the conflict in getting kids to do their chores is because
they don't see the logic in fairness behind it, and the benefit that it's
for him/her to learn it. It's a communication problem, which is
understandable because communicating effectively with kids can be hard or
at least different to communicating with adults.

> 2. Think small tasks, big contributions (The task can be tiny, but the
key part is that it has to make a real contribution to the chore, not
“mock work”)

Kids aren't dumb, and pointless work is pointless. As soon as they notice
that the work they're putting in isn't helping anyone, why bother? It's the
feeling of being useful and dependable what we want them to feel. Gratitude
from a loved family member that visibly benefited from his/her work is
nice, too.

> this piece about Mexican Maya practices around chores

I didn't know it came from the Mayans. Is this not common advice?

EDIT: Disclaimer: I don't have kids. This are just my thoughts based on
what I've learned from other parents and their kids.
Infiniband is using extremely isolated and well balanced cables for passive/copper transmission. Also the cable lengths are very short for EDR and beyond (3m-5m is max usable length). For anything longer you need to use fiber cables with embedded converters.

We have a cluster with ~1000 nodes and all generations of Infiniband (DDR/QDR/EDR) equipment, and routing all these copper cables without damaging them is not easy.

The quality of digital tranmsission over copper cables is dependent on the size and clarity of "eye", which is the pattern which two sinusodial signals when run through and oscilloscope. Lower quality cables (HDMI/DP/Coax/etc.) has blurry and small eyes, which increases chances of artifacts and drives the error correction modules harder, while better cables are easier on the both sender and receiver, since they produce lower number of errors to correct.

Trivia: Amphenol / Gore has high speed digital interconnect cables called Eye Opener Plus [0], which also used some of the Infiniband cables that we use.

[0]: http://www.spectra-strip.com/Eye_Opener_Plus_Cable.cfm?Nav=E...
Howard or one of his goons would be at the control board though. The beauty of lenny is how seamlessly his responses tie together with no human interaction.
How to Make a Crystal Radio – No Batteries, No External Power (2015) [video]
There are other unrelated cases in which the introduction of money alters behavior because it turns an action/activity into a financial business transaction that's evaluated on that basis. One example I've heard cited a number of times is a daycare center that fined parents who were late to pick up their child. What happened was that some parents came to view the fine as just a late pickup convenience fee that they were happy to pay whenever it was easier for them. As a result, there were more late pickups because there was no longer a stigma attached to being late; you just paid the fee.
I would fire you for your lack of knowledge. The top 100 mobile gaming apps are mostly unity based.
Top 100 on steam heavily populated with unreal and unity based games.
I wonder if this can/will be open sourced in some way. It was always such a cool idea, it'd be a shame for it to just disappear.
Easy. You'd probably pick the one with the biggest market cap. The whole point of money is that it is useful because everyone else is using it. So the one with the biggest market cap is almost certainly the one that you'd want to follow.

Or you could not do that. You could instead pick a different one. There is nothing stopping you.

If there are multiple networks, it would be obvious, and you can merely make up your own mind about which to follow.

Interestingly enough, this also applies to POW chains. There is nothing stopping you from picking a shorter chain. But if I had to guess, I would say that almost nobody would be following the shorter one.

This applies to POS coins as well. There would likely be 1 chain, that everyone is following. And this one chain would be obvious.
Would it be easier to convince EU customers that your US (SaaS?) business is trustworthy if you operated in Estonia?
Maybe this is why dogs do it -- they figure out that it makes their human want to pet. feed, or play with them more. Animals are superb at reading cues from humans and adjusting their behavior accordingly.
FB and Aws both have a branch of devs who know P2P and blockchain.

P2P is not that complex, just it is not worth time to work on it at this moment because it goes nowhere.

Actually, P2P research was only hot around 2000-2005.
Path-based I/O seems quite dangerous to me. If everything was path-based, you'd easily have inherent race conditions. You want to delete a directory? You stat() all the files, they look empty, so you delete them... but in between, another process writes to some file (or maybe the user forgets the file is being deleted and saves to something there), and suddenly you've deleted data you didn't expect. When you do things in a handle-based fashion, you know you're always referring to the same file (and can lock it to prevent updates, etc.), even if files are being moved around.

However, to answer your question of why removing a directory is slow... if you mean it's slow inside Explorer, a lot of it is shell-level processing (shell hooks etc.), not the file I/O itself. Especially if they're slow hooks -- e.g. if you have TortoiseGit with its cache enabled, for example, it can easily slow down deletions by a factor of 100x. But regarding the file I/O part, if it's really that slow at all, I think it's partly because the user-level API is path-based (because that's what people find easier to work with), whereas the system calls are mostly handle-based (because that's the more robust thing, as explained above... though it can also be faster, since a lot of work is already done for the handle and doesn't need to be re-performed on every access), so merely traversing the directory a/b/c requires opening and closing a, then opening and closing a/b, then opening and closing a/b/c, but even opening a/b/c requires internally processing a and b again, since they may no longer be the same things as before... this is O(n^2) in the directory depth. If you reduce it to O(n) by using the system calls and providing parent directory handles directly (NtOpenFile() with OBJECT_ATTRIBUTES->RootDirectory) then I think it should be faster and more robust.
Kong has Community Edition and an Enterprise Edition with non-free/proprietary features (same model as MySQL, Nginx, GitLab, & Redis). It's called the open-core model. Company is signaling that it intends to offer all features open source and without restriction.

https://en.wikipedia.org/wiki/Open-core_model
> You can kind of see how controlled it is in this photo:

Just seems like large crowds of people on the street? Not sure what you think the photo shows.
Yeah it took me back too.

I started coding on a ZX Spectrum, back in 1982/1983, and even now I can hear the load-sounds!

(I still play a handful of Spectrum games, via emulators, now and again.)
> Knowing consensus rules I can verify the chain and if I notice something fishy - I go back to figuring out if I’m being attacked.

But you don't know the consensus rules. How do you know that sha256 is the "real" bitcoin proof of work algorithm? Maybe the real POW algorithm is sha512?

You can't get around this bootstrapping problem.
After looking into it for a while, i decided not to do it. Context: I live in Germany for roughly 2/3 of the year, rest is traveling.

Not sure where you are located, but if you spend the majority of your time in a other EU country (e.g. Germany) you will have a very hard time explaining to the local tax authorities that the company entity is not effectively being managed from Germany. And when you fail to explain this, the company entity becomes a german tax resident and you have to deal with all sorts of paperwork and expensive tax consultants. This is especially true when you have no local employees in Estonia.
You can do TDR (cable measurement) with 74LVC series easy enough. I built a nice little pulse generator fixture for this and use it with my Tek 475A (1.4ns risetime). Also 74AUC has Tpd of 300ps at 2.5V. I don't get why Potato even have these on the market.
Keen to know that too. We are heavily relying on Kong at my work.
Billing is a hard issue since there is no common API to do that. All payment gateways are different. And what is most important, it lot of cases it requires some application logic, on how exactly you want to bill the user: for example partly static, partly dynamic.

What API gateway can do, is to provide you with a way to set a quota for a given user, track analytics, and have it all accessed in a programmatic way, so with a few API queries, you can know how much to bill the user. At least that's how most of the Gateways, like Tyk, do.
chicken eggs come uncleaned and because of natural protection have a longer shelf-life in europe I think
My initial attraction to screen / tmux was when I spent most of my time logged into remote servers. The ability to start a long-running script at the office, detach from screen, then re-attach at home to check on it later was indispensable.
In most cases that setup does not absolve you from tax obligations where you live.
I can see a benefit in setting up a business or branch in EU in general, if you have customers in EU. Otherwise why Estonia specifically?
I prefer current trains to Bay Area traffic because they’re not crowded. But for everything else the car wins by a mile.

Which Bay Area trains are you taking that are not crowded? Both BART and Caltrain are full during commute hours -- Caltrain express trains are usually standing room only (in rail cars that aren't well designed for standing passengers) and BART is running crush-loads out of Embarcadero in the evening.

The Caltrain local trains are usually less full but those all stop trains take forever to go any significant distance. (SF to RWC is about twice as long on a local as on a baby-bullet)
Also had Trent Reznor (Nine Inch Nails) doing the soundtrack/sound effects, which added a new dimension as well. The soundtrack just screams "this game kicks ass." I still dig it. https://www.youtube.com/watch?v=5n8iU7abqkQ
At some point people started switching to amber. If above research is correct, then why was amber deemed preferable?
We have discrimination laws don't we? Are banks allowed to refuse service for any reason whatsoever?

We're talking about people's livelihood here. If transactions don't violate any laws, payment processors should not be permitted to refuse service. When they do refuse service, there should be transparency in reporting.
Well scaling is the problem when dealing with quantum chemistry.
Americans like to deny the outside world exists, and that in many ways it's much better than America. It's a strange way to behave, rather than learning what they can improve in their own society.
Of course they can't and of course it doesn't get cheaper unless you decide to frame it in a way that not at all realistic.

Solar is less then 1% and that's with 300% increase it's not even close to being able to deliver baseline anything regardless of how cheap it gets. It's a dream that's not even close to be realistic and frankly highly naive.

Again 47w per m2 vs. 1000w per m2 and with solar panels needing continous repeairs and no grid or fuel cells in sight plus reliance on coal, nuclear and oil for when the sun doesn't shine.

Good luck.
7 Fast and Easy Ways to Make Money at Home ($2,000Month)
I don't see nuclear plants much in the west because of political opposition and public ignorance nothing else.
In my town in Alaska a couple years ago we had a school child get mauled to death by a bear. In some parts of the world, man is still part of the natural eco-system and food chain.
I’m 45 and I can’t crank out code with the focus I had when I was younger. I also have a lot more on my plate - wife, kid, trying to stay healthy, etc.

But, I definitely work smarter and have that breadth of knowledge to know how to leverage preexisting technology, use managed services and outsource the “undifferentiated heavy lifting” to outside vendors.
I'm amazed that someone wrote something that's mostly string processing in pure C at this late date.
The big lesson is that even with a degree, there's a >=50% chance you will be forced into a hostile labor market in your 50s. High schools and universities are all starry-eyed about the career prospects of a degree, but degrees and skills have a best before date in the labor market.

Continuing in full-time employment is a coin flip past 50. Here in Canada the ProPublica data will be fuel for wrongful dismissal lawsuits - maybe even resulting in awards of half pay to retirement age.

In IT, you really need to plan for a career that might terminate at 35. You win the lottery when your equity in a startup is enough to retire on.

As a geek the tendency is to keep your head down developing code - and geeks tend to be low on networking skills.

So you really do need to limit your coding hours and put x hours / week into networking and side projects.
There's a bit of new syntax, but overall it does what you asked for: https://ooc-lang.org/ even compiled down to C

It didn't get very popular though.
That’s true, but they said we’d need a new language, so I assumed it must be something more.
In what world do you not need power at night? That's the most absurd claim I have heard in a long time.
WildDuck Mail Server – Self hosted modern mail server
Maybe this is also why a straight stiff neck and a head with very little movement conveys unquestionable authority.
Spain will soon overtake Japan in life expectancy rankings
For C++, on Windows I use MSVC compiler, and I'm usually happy with its performance. If your clang supports precompiled headers, try enabling them. This saves CPU time parsing standard headers, but also saves lots of IO accessing these random small include files, replacing the IO with large sequential read from the .pch.
Ask HN: Productive web stacks in 2019?
New year for new ideas! We're all building side projects, startups, toy apps, or maybe day job apps.

Setting aside the understanding that people can be productive in any language/framework and that it's usually a great idea to choose the most correct tool for a problem or choose the most familiar tool, I want to ask a question: In 2019, all things being equal, what are your choices for productive web stacks?

Which languages and frameworks do we like for building web applications back-ends in the new year?

I'll farther define productive, I'm sure I've missed something, but points for:

- Reasonable defaults
- Doing simple things well and fast
- Known solutions for common problems
- Large/active community
- High quality standard library
- High quality libraries/packages
- Good tooling (testing/debugging/package manager)
- Good deployment and hosting options

Is Ruby/Rails still the most productive stack for generic web programmer building generic web app? Is it Python/Django? Maybe Elixir/Phoenix? Scala/Play? PHP/Laravel? Node/Express? Java/Spring?

What tool do you reach for and why?
> How come this is legal in the US?

This is just legalized corruption, but of course people in developed countries don't like to use that dirty word, so they call it "tax breaks" or "campaign contributions".

After spending 2.5 years through 30 countries in Africa, I can tell you there is no difference. It's corruption.
Linenoise-rb: a Ruby wrapper around Linenoise C library (Readline alternative)
Spotify doesn't pay artists. They pay the labels. And labels pay the artists. What artists get paid has nothing to do with Spotify.
Oh certainly yes it is, but that's just not my use-case(anymore). In the past(when I had longer-lasting positions), the VIX was a useful indicator of "is this move real, or not?". Typically, if all 3 of the major equities(NQ,ES,YM) move in tandem over a 5-30s period, and the VIX inversely matches their movement - then that was my entry signal. When the VIX doesn't match, prices tended to return to their starting point moments later. If you speculate as to "why did the prices snap back?", my best guess was it was the result of profit taking or bad positions puking.

My current use of the VIX is more short-term. Over time, I found ultra-short-term positions worked out the best for me(in terms of profitability, stress, and opportunities per day - stress was #1).
I hope we have more democratization of payment processing. I don't have an opinion of this instance either way, but the fact that a few companies dominate the payment universe is troubling.
Agreed on all points. The first question I have is “what problem is this trying to solve?” And it’s not immediately obvious to me. As far as I can tell that question is also not addressed on the site. From the github repo, this project is at least a few years old, but its README also doesn’t attempt to describe any use cases.
> Otherwise why Estonia specifically?

Because the Estonian government is fairly unique in that it will issue an electronic identification card to anyone who requests it and passes a background check, permitting that person--regardless of nationality--to use most Estonian government services, like business registration and tax filing, from anywhere.

https://e-resident.gov.ee/
Explaining why implies you're on their level, or close enough, which is poison to some people. If you are on their level, you could, conceivably, disagree with them, which would marginalize their authority over you. However, if you are forced to do things because of a "Because I Said So" mandate, well, you can't possibly disagree with an argument if an argument is not presented, hein?

The corrosive effect this has on the ability of the people in nominal charge to come up with arguments is never discussed, but becomes all too obvious when a social factor, such as a religion, loses a "Because I Said So" mandate it once had over society as a whole: The representatives of that religion, accustomed as they are to being able to dictate terms, are incapable of forming a cogent argument in favor of their position. They either rant and rave about how the world is ending, because, from their perspective, it is, or they come up with things which sound like arguments but which have holes in them a child could see through, and many children do.

Dictatorship weakens the dictators. So mote it be.
I don't care about the title. I care about the claim that nuclear had it's chance which anyone who knows their history know isn't true whatso ever.

Again solar has 1% of the worlds energy covered that's it. This is with all the bells and whistle and political support and economic investments.

Nuclear will EVEN without that deliver way more energy, much more stable, in abundance form and scaleable plus it's safe and greener than even solar.

Claiming it had it's time is ideologically blind in a way only people who listen too much to politicians like to think.

Call me when sun is used for most of the tranportation industry and for large constructions etc. Call me when the poor countries can solve the problems nature provides via solar.
> If I give a company $100M in tax breaks to come to my city, and they end up paying $50M in tax (instead of $150M), the outcome was financially positive as the alternative was that they don’t come and my tax revenue is $0.

And now you're in a race to the bottom with every other city in the USA.

You're lowing the standard of living for every normal person (less tax revenue to spend on schools, roads, etc.) and you're increasing the standard of living for big companies (more profit)

Rather than doing that, NO city should offer any tax breaks, and that company will come to some city and pay $150M in taxes, thus improving society overall in the USA.

It's amazing how often you guys work against your own interests, degrading your own society in the name of increasing private profits.
To be fair, we already know how to store it with minimal leakage for thousands of years, but the tentation to just dump it in the Mediterranean (1980's), Somalia (1980-90's), seed it over Irak (Gulf's war) or leak it into the Japanese Sea (2011-17) is irresistible.
We built something like this once, AS/400, checks off many of the boxes you mentioned.
If you read that and think no one can taste the difference between a Sauvignon blanc and a Cabernet I don't know what to tell you...
This is very much HN bubble thinking. I live in wealthiest county in a major metropolitan area and one of the 25 most affluent counties in the US and my property taxes plus insurance is about $5000 a year.

No I’m not bragging, any software developer with 5-7 years of experience could easily afford to live here.

If you’re paying $1000 a month on food for just two people, “you’re doing it wrong” and “organic food” is just a yuppie thing that has no proven health benefits and is largely just a marketing thing.
The build speed difference for Android (Gradle build system) between Windows and Linux is extremely noticeable especially for large projects, where you can see even almost 50% faster builds.
It would be great to see this sort of treatment for Mahir Cagri whose page followed a similar trajectory at the time.
I am not a C# dev, so please bear with me.

So you have you core business logic and algorithms written in C and only the front end/GUI uses C#? Can you cleanly separate the two (via MVVC or a variation thereof)?

Does the whole application runs on C# and you have RPCs between the two? What does that mean for performance?

Cheers and thanks for any Insights about your setup.
There is still the trade-off between the generalist part and the specialist part. (And other things, such as family.)
Scroll further down the page - there are alternative display options to disambiguate capital i from lowercase l as well as slashed zeroes etc.
Descent was technically impressive.

Doom scared the hell out of me. It changed my life.
> virtually no average consumer is going to purchase a computer without Windows.

What about the devices that Apple and Google are selling? (No endorsement implied)
So you’re living in one of the most expensive areas in the US and think that’s normal? You could easily move to a lower cost of living area and probably find a job that made it worth the move.