skysight-inc/HackerNews huggingface dataset:
Ask HN: Value Investing using reinforcement learning
Recently I published my experiments on using deep reinforcement learning for portfolio allocation. Few open problem I struggled and still don't have an answer are
1. For the problem specifically like stock market, how one can decide when to stop the training of RL agent ? i.e. What is the metric that can determine agent has been trained ?

2. How can one determine the deployed agent is now deviating from the trained data distribution so that it can be retrained ?

I appreciate any comments/suggestions or any mistake I might have made.

Here are the links
https://medium.com/@vivekys/value-investing-machine-d2718d35d19b

https://medium.com/@vivekys/value-investing-machine-2a-43ce2d05f2a2

https://medium.com/@vivekys/value-investing-machine-2b-638d71da7e56

https://medium.com/@vivekys/value-investing-machine-3-4c1053221940

https://medium.com/@vivekys/value-investing-machine-4-eede8823632
This article makes some excellent hypotheses about music that I think everyone can anecdotally confirm.

To explain the attributes of the brain some of these hypotheses allude to, in terms of programming, imagine you have a class. It consists of a list of data members and some member functions that are called by the user (the brain) in order to parse given (sensory) inputs.

For each sensory input, a separate object is created, and so
the returned outputs, after some computation, are inherently associated with the object. So, it happens that when you see a blue circle, the member functions are crunched using the
.shape and .color data members, that are set to circle and
blue respectively, say in the constructor of the ``blue circle`` object.

Suppose this model for processing all kinds of sensory
inputs; we might have to imagine complicated classes,
lots of member functions so that all kinds of sensory
inputs can be parsed. The author makes the interesting
claim that there are additional arguments in the member
functions that are influenced by whether there is music
at the time of sensory object creation.

These arguments distort the outputs (the parsed sensory
inputs). The member functions are black boxes, but common
experience gives us some insight, based on the observed
correlations of inputs and outputs (eg. "sad story" as
a sensory input without music is parsed as "sad story",
with Bach's Chaconne, is parsed as "extremely depressing, weirdly
poignant story").

One other claim that is made in the article, that is very interesting, is that there is a feedback, through evolution.
Suppose the brains of human beings have performed Bayesian
updates on the outputs of the black box member functions. When the Bayesian brain creates music, does it harness its updated function so as to amplify desired effects?
An Interview with Donald Knuth (1996)
A case for coaching: Does it works? The neuroscience POV
FedEX's claim: "Lower taxes will increase our level of investment"

The reality: Lower taxes increased shareholders' bottom line.

The NYT: "Hey FedEX, you lied to the American public. Now they're on the hook for hundreds of millions of dollars."

Consultant32452: "The NYT is politically biased for pointing this all out. Fake news!"

Everyone else: ???
On this YCombinator discussion forum of all places we should understand why an influx of foreign capital is terrible for a city.

In short the implications of spiking land values cascade down to entrepreneurs and it becomes significantly more difficult to start a business.

For example in Vancouver over the last decade we've seen this trend in action in the bar/restaurant space, as live music venues have closed, independent spots vanished, and consolidation occurred. The only survivors are the established well capitalized 'upscale casual' players like the Donnelly group, Cactus Club etc.

At this point the notion that a working class person would startup their own small business in Vancouver is laughable. Similarly it's crazy talk that a young person right out of university could go indie and create their own app or game when rents and the cost of living are as high as they are in Vancouver.

It doesn't have to be this way, but the housing crisis has been manufactured by established wealth rent seeking and the financialization of housing.
Apparently:

$ cargo install just
$ ...
$ vi Justfile
create:
touch "Hello world";
$ just create
touch "Hello world";
$ la
'Hello world' Justfile
I'm not sure why you consider Robinhood to be a boutique brokerage or what having an app (as opposed to... physical locations?) has to do with anything.

They have over 6 million accounts, which is more than E*TRADE and within a factor of 2 of Charles Schwab or TD Ameritrade. And these brokerages apparently felt enough of a competitive threat that they all adopted Robinhood's commission-free model.

Regardless, even if you don't consider Robinhood to be a major brokerage, they clearly aspire to be one, so offering banking services makes perfect sense.
It's one of the contexts in which I'm willing to be the change I want to see.

It's disappointing to click on the comments for a post and no one (especially the submitter) has told me what I'll learn/experience. And yet, there it was, four hours old, ten points up and no comments. So I give it a skim and it's really good. Now I want others to read it. Spending five or so minutes polishing three sentences is basically free for me and positive sum (unless I do a bad job).

Cynically, tl;dr submission summaries are how I've chosen to feed the beast until it grants me downvoting power.
> Although I will always be curious why countries are letting those small, insignificant islands and countries manage all this wealth

Those small, insignificant islands and countries are current or former british or european colonies. And considering they are primarily located in the caribbean, the chances of them being successfully attacked is zero - good luck going up against the might of the US Navy.

> How do you wire all this money to such a small place

Whether it's $10 or $1000000, it's just a number (a few bytes) on transfer or just a few more digits on a check.

> and how can they trust so few people to hide so much money?

It's easier to trust a few rather than the many.
I've seen where the tank top is a handwashing station. There is a faucet on top and a small basin in the tank top, when you flush, the inlet is connected to the faucet. You wash and the soap water goes into the tank for use on the next flush.
As a child I was gifted an album (cheesy christian rock, but it's what my parents would buy me) and a full set of the Chronicles of Narnia. Album went on repeat while I read the first few books and now they are forever, deeply linked in my memory.
so we are 15 but will soon 2-3x in the next 2 years. also have a mix of hardware and software people with sales, ops and marketing.

shoji screens are interesting but don't have much in terms of noise cancellation.

we are currently thinking precisely as you mentioned - private areas with central collaboration pits or areas. the value thing sounds interesting - will check it out.
I think people willfully conflate accounts being closed with your money actually disappearing.
> Make as a solid back-end to solve the "what needs to be rebuilt" problem (especially the parallel version with -jXX)

I consider it a poor back-end for parallel execution, as it doesn't serialize the outputs.

I personally like ninja build tool as a very "low level" parallel "making" engine.

https://ninja-build.org/

"Command output is always buffered. This means commands running in parallel don’t interleave their output, and when a command fails we can print its failure output next to the full command line that produced the failure. "
none of these support .net natively
Which is why, although it's a cool metaphor, it wasn't relevant to the linked SE question. A translation is not original work.
What self-driving cars can’t recognize may be a matter of life and death
And if your small business (of at least 2 years) is acquired, you get to keep the first $800k entirely tax-free [0].

Wage labour is truly for suckers in Canada.

[0] https://www.canada.ca/en/revenue-agency/services/tax/individ...
already have sit-stand desks for most! absolutely love them
Were there ever 12-, 24-, 48-, etc. bit processors?
Character models remained best in class for several years after.
If someone sent you money via an ACH push, they shouldn't hold money for 90 days. If you have pulled the money in via ACH pull. The bank you have pulled from has 90 days to contest that money transfer. Fintech banks will also do holds and have low amount thresholds to mitigate risk. One of the large fintech banks actively advertises $1 million in FDIC insurance but you can only move $50k a day with no way to remove the fraud controls for your account.

Also none of these fintechs are actually banks. They just partnered with a small bank(s) and are still beholden to these banks compliance team. There are strict rules about monitoring bank transfers and reporting suspicious transfers. If your funneling cash through your fintech bank, you'll probably get shutdown with no explanation.
US-China dispute over genetic data
Sure, don't do business with Chase. But this points to why people use banks, you take for granted that your money won't disappear permanently with no recourse. So you go ballistic when it seems like it might happen. Nobody in their right mind wants to use anything where it really does happen.

If Google had money that belonged to me, I have no idea where to even begin trying to get it back. Do they have offices that you can stage a sit-in in?
And are we gonna talk about case-insensitive filesystems?

cringe
https://www.hofstede-insights.com/product/compare-countries/

Here's the source data updated.
Unlocking the commons
>>Richmond is majority Chinese. >nine of 10 recent Chinese immigrants arrive in Metro Vancouver with enough money to immediately buy homes.

How come Chinese have that kind of money while entering? Are they all rich and well-bequeathed?
Most people are reluctant to accept large certified checks or money orders, going back to at least the 90s, because of counterfeits.
I have incurred over a million dollars in medical bills since Sept, 24, 2018. I get a pembro drip that is 28K every three weeks. And a CT scan every few months, 45 treatments of radiation.. 10K a pop on average.

Feeding tube insertion. 40K.

They had to try a few times since my stomach rides high. They had to basically use a live "CT" scan while sending a thing down my throat to push my stomach below my ribs so they could poke a hole in my belly and insert a feeding tube. And then they used staples to hold everything in-place. My god it hurt and they have amazing drugs that make you feel so good and pass out for three hours. Then you wake up screaming frantically pushing the button for more drugs. My sister had twins vaginally.. It is a toss-up who has done more pain.

I am lucky.. I am cheap. I have no kids, and my possessions fit in the back of a 1987 Volvo wagon. I tested that when I moved after I found out about the cancer. But I have gone through all this without worrying about money, kids, or bills. I was lucky I just had enough savings I could quit everything and do my health.

But my god. If you get cancer and you have a mortgage you are fucked. It has consumed every minute of my last year. Every second you think about it growing in you.
One thing that hasn't been mentioned a whole lot is how bad it is to have a phone conference in these environments. Our brains are incredibly good at localizing and filtering environmental sounds, but when everything is piped through a handset or headset, it becomes an undifferentiated cacophony. Short calls are fine, but if you're on for an hour trying to work an issue it can become infuriating.
Or they can have a website where one can order a set and have a robot setup the kits from standard bricks.

This should work for the majority of sets and would require a relatively small set of custom bricks.
If nuclear could be bought online with the same kind of investment profile as solar and wind I doubt the political aspect would be anywhere near as big a factor.

Even without the politics someone building nuclear is being forced to make a very big and long term bet with a lot of uncertainty on how it will perform across its lifetime compared with future innovation in renewables.
I also have experienced this "musical recall", but I don't think vivid memories completely replace photographs. No matter how well you can recall a memory, there's still the task of communicating that memory to others. Photographs and videos greatly help with this.
I made a down payment on a car with a money order and the dealer yelled at me that the agreement said they weren't allowed. Eventually they relented, because they wanted to complete the deal.

Back in the 90s, I tried to pay for a computer with a certified check and CompUSA treated it as a likely counterfeit.
> The two declining authors don't have copyright on the new replacement code, because they didn't write it. So their choice of license can't possibly have any bearing on the license of the rest of the project.

But they influenced the shape of the code.

Imagine if Google loses their upcoming case with Oracle. Any rock thrown into the river will forever taint a codebase unless you can rewind before it was committed or the code is 100% leafy and isolable.
Who knows? But one theory might be from selling jacked up prices in Amazon (Western market)...being the suppliers themselves. I know people who did this, there are also ecommerce companies that source from China and market the hell out (FB, Adsense) of crappy products to Westerners...those counterfeit and fake product reviews from Amazon- most are Chinese...
> Disney+ fans without answers after thousands hacked

A google search of one of the email:password came up with a Soundcloud 2018 email:password dump.

Seems like a everyday dump of reused passwords.

That happens everyday for all the services.

Just seems like everyone wants to take down Disney. Like OMG that had an issue on the first day streaming!

I also want to see them fail, but for no good reason I just enjoy seeing people fail, I guess I'm not alone.
Lots of relatives of officials or industrialists in China hiding money from authorities over there by laundering it over here.
Do you have any recommendations for next steps beyond Spock?

I learned Haskell at uni and am interested in going back to it for web work (instead of Erlang). Any insights you might be able to share would be really helpful!
Yes. Thanks! I'm going to fire up a VM for some nostalgia.
Or just flip on the transparent mode
Luckily we have regulations for that.

Google is not a bank. If they start to offer banking services it will be through a partnership with an actual bank. Your money will not be “with Google”, unless they enter the multi year, very expensive process of applying for a banking license which they’re not doing.

Not that I don’t disagree with your point, in general. But google can’t just take your money like that. At least not in the US
Thanks! @adjagu found a link to a few online. That will satisfy my nostalgia :)
I have them too and they definitely do not cancel keyboard clicks.
Anecdotal, but I used to work in an IT department where some areas had good, or at least tolerable, ventilation and some very clearly did not. The difference in moods and productivity between teams in each was distinct enough to notice, but, at the time, I don't think anyone would have thought of CO2 levels as a confounding issue.
I agree that "this" may be hard to explain (especially, say if you find yourself interviewing at AMZN and some middle manager shouts at you over video to explain what "this" means) but in BlockLike it is, by design, pretty straight forward - "this" refers to the Sprite that invoked the function.

"this" is me, the BlockLike Sheep (friend of Scratch Cat).

There is a lot of discussion about the more technical details of the implementation in the FAQ (https://www.blocklike.org/faq) and you can look at this example (https://www.blocklike.org/example/10-patterns/functions.html) to see what emerges out of the implementation (code prints out to console)

>I've written a lot of JavaScript code that doesn't use it and it's really easy to understand.

In the example below the concept of a function that can be shared by two Sprites is introduced. (Scratch Blocks can not be shared by two Sprites).

https://codepen.io/BlockLike/pen/JpjVOp?editors=1010

It can be rewritten without using "this" (obviously). But can you make it easier to understand? Can you make it better at explaining the concept it does?

There is a reason JavaScript has "this" and I think this might be the reason ;)
Works great until the farmer next door sucks your shallow well dry with his new irrigation system.
The native genocide, slavery and the endless wars all over the world probably have something to do with it.
> Keep in mind you need to flush after pee too.

When you only have restricted water, you shouldn't flush after peeing. There's even a saying to help conserve water this way:

"If it's yellow, let it mellow".
I’m no right-winger or bible-thumper, but if something has elbows, an asshole, and it’s own DNA, I think it’s its own person.
> I think somehow our body is pre-wired for some smells.

This is a result of millions of years of biological evolution. Bodies that were "less" wired for certain smells were likely at some sort of disadvantage. After a lot of generational churning, the average body appears to be "prewired" for the most important smells.

> In the same way our body knows "dead person" is a very terrible smell, even if we have never encountered it in our life.

Again, Darwinian evolution can explain this.
Comparative Benchmark of Arm, AMD, and Intel for Cloud-Native Workloads
Ads, like peacock plumes, are a net drain on society. Unlike peacock plumes, they look ugly. It's time to severely restrict them by law. Hawaii, Vermont, Maine, and Alaska all banned billboards - the move isn't even close to unprecedented.
Yes this is still a very alpha package, fallback support for non chromium-based edge has not yet been implemented.
If the effects are permanent then your results would be inconclusive if studying the same people transferring between polluted and non polluted universities.
Time Series layer on top of FoundationDB with Millions of writes per second
Largest Corporate Earnings and Losses of All Time
Here's a good list of debugging stories:
https://github.com/danluu/debugging-stories
That's cool, especially the economy of bricks.

But I don't think it'd work well where I'm from. We have straight property lines, so you'd either have to convince your neighbor to go along with it or put it all on your side (leaving areas of grass over the fence where you couldn't mow it.)
The same goes for all media. Who is funding them, who is running them and what are their goals.

This is why it's important to view a wide range of sources, but who has time for that really.
Yes. Abstract talks about iPhone and funding by Apple.

Here is Apple Newsroom
https://www.apple.com/newsroom/2019/03/stanford-medicine-ann...
Marijuana, one of these recreational drugs, is not legal in the United States.. and banks are beholden to federal regulators. The “legality” of marijuana is in dispute because it’s still a federal crime. The Supremacy Clause overrides thèse state “legalizations.”

I am vastly in favor of states rights and the 10th Amendment, however states seem to only care about those things when it supports what they want to do.
There's also https://woofjs.com/ from my friend Steve Krouse which has Scratch-like JS!
What if I choose not to spend my wealth on property?
Don't forget about the fantastic AI. Being able to dynamically ract to sound and change tactics was pretty cutting edge.
Stuff like this (and .phony) is why I can’t believe people take it seriously.
I'm going to give the advice here that saved my sanity in an open office: use headphones with "passive" noise canceling. I bought a pair of 3M WorkTunes with Bluetooth. They're just passive, sound deadening, hearing protection ear muffs like you would wear on a factory floor or in a construction workplace, with Bluetooth built. It blocks out all noise, not just white noise, and they're much cheaper than ANC head phones.

I wear the WorkTunes, plus ear plugs, plus I play cafe or brown noise through the headphones, plus I sometimes put on music. If that hadn't worked, I was going to go insane from the sound of the keyboard next to me.
I guess you mean something like (in Perl):

while (1) {
try_reading_one_more_line( $file_in );
print_last_10_lines_reverse();
sleep( 1 ); # wait, in this case one second
}

and that doing on the opened file $file_in. You'd have to write both functions in the loop of course. But Perl is a real language which allows you to try reading from the point in the file you've reached the last time, without reading anything you've already read again. POSIX semantics allows you to observe that the file grew even if in the previous pass you've hit the end of file. And you even don't have to keep in memory the lines which aren't to be printed anymore.

I prefer Perl to any shell scripts, as soon as the script is more than circa 10 lines.
> Do you think Google is going to do any better at this?

Google's new checking account isn't really Google. They don't currently have the licenses needed to act as a bank. It's basically a Google branded checking account from Stanford Federal Credit Union.

From what I've read, Google's checking account will be similar to Uber's credit card in that you will sign up and get some benefits through Google/Uber, but pretty much all maintenance will be handled by the issuing bank.

Source: https://www.fool.com/investing/2019/11/17/why-is-google-abou...
There are some great slides: https://static.sched.com/hosted_files/foundationdbsummit2019...
No income, wealth or estate tax for trusts. And you don't even have to live in south dakota.
I mean, I'm sure /r/ProgrammerHumor has had real knee-slappers of great technical sophistication. This, obviously, is not one of them. Still, it's not that unusual for a joke to be mistaken for a real thing, reported in the media and then further repeated by others - as has happened here. It boggles my mind, though, that instead of having a friendly chuckle at this perfectly human mistake, we have it as a top comment on a thread - complete with subthread where 'shenanigans' are being called, it's subject to some earnest (albeit quite iffy) speculative analysis and, most astoundingly, a claim is made (by the shenanigans-caller) that even though it's plainly a joke posted on what is plainly a joke forum, it might contain a true description of the bug.

The only thing we're missing are some back-of-the-envelope estimates of whether Roku really saved $250k on CDN fees and whether Roku devices are, in fact, used in commercial settings.

It's one of the weirdassest things I've seen on HN (a forum, it is worth recalling, on which the intellectual rigour the discipline of programming instills in its practitioners is frequently extolled) and I've been here a while.
White noise machines are recommended for people with sound sensitivities who have trouble falling asleep, including those with ADHD and autism. Whether it works well or exacerbates the issue depends on the individual, but assuming that it would simply add to the cognitive load is a stretch, and I wouldn't be surprised if in fact it worked more often than not.

One of the most popular white noise machines is the Marpac Dohm Classic, which many people (including myself) would vouch for.
'Meth. We're on it' campaign rolls out in South Dakota to confusion, ridicule
In each case, the new thing is added with a new interface, and the old remains. In this case, the new thing is https://docs.microsoft.com/en-us/microsoft-edge/hosting/webv....
Python 3.8 runtime now available in AWS Lambda
It makes more sense to integrate [1] with GitHub Semantic [2] library instead.

[1] https://github.com/CoatiSoftware/Sourcetrail/issues/750

[2] https://github.com/github/semantic