skysight-inc/HackerNews huggingface dataset:
Solution for computing equity portfolio using transaction list
Greetings

I'm looking for an API or open source package that takes in a list of transactions (equity/futures/etc), and then performs various computations over it. This includes things like calculating current holdings, providing an RoI chart and potentially other financial metrics like Sharpe Ratio.

I initially set out to code this myself by taking the individual prices of the equities (from something like Yahoo Finance), however, soon enough I realised that things like stock splits, mergers, dividends, etc make this task much more complicated than I expected. Since this is a relatively complicated tooling (which almost every finance-related website would have a need for), I expected that there would be an existing software or a SaaS solving this problem, but couldn't find any. Could someone point me in the right direction?
/*`````````tailsx```````````*/
<M14>"<div class=\"result_sublink\">\n[ ]+<a id=\"link\" href=\""[^\"]+
<M14><a[ ]{1,2}href=\"h[^\"]+ {
if(z)fwrite(");\n",1,3,yyout);
CDp8iULPuCinsert(14);
y=10;if(yytext[9]=='h')y=9;
for(x=y;x<yyleng;x++){putc(yytext[x],yyout);if(yytext[x]==39)putc(39,stdout);};
fwrite("',",1,2,yyout);
}
<M14>"<h3>"[^<]+ {
putc(39,stdout);
for(x=4;x<yyleng;x++){putc(yytext[x],yyout);if(yytext[x]==39)putc(39,stdout);};
putc(39,stdout);
z++;
}
<M14>"<div class=\"prev-next\">" fwrite(");\n",1,3,yyout);

/*```````````wiby.me```````````*/
<M17>"<a class=\"tlink\" href=\""[^<]+ {
CDp8iULPuCinsert(17);
for(x=23;x<yyleng;x++)
{
if(yytext[x]==34)fwrite("','",1,3,yyout);
if(yytext[x]!=34&&yytext[x]!=62)putc(yytext[x],yyout);
}
fwrite("');\n",1,4,yyout);
}

/*```````````wikipedia```````````*/
<M21>"<div class=\"mw-search-result-heading\"><a href=\""[^\"]+ {
z++;
CDp8iULPuCinsert(21);
fwrite("https://en.wikipedia.org",1,23,yyout);
for(x=47;x<yyleng;x++)putc(yytext[x],yyout);
fwrite("','",1,3,yyout);
}
<M21>[ ]title=\"[^\"]+ if(z){
z=0;
for(x=8;x<yyleng;x++)putc(yytext[x],yyout);
fwrite("');\n",1,4,yyout);
}

To test:

#!/bin/sh

test $1||exec sed -n '/^ *;;/p' ${0##*/};
read x;
case $1 in :)
;;14) # tailsx
shift
yy084 14 "$x p=${1-0}"
x=$(echo "$x"|sed 's/ /+/g;s/++/+/g');
curl -si04A "" "https://tailsx.com/search?q=$x&t=text&p=${1-0}"
;;17) # wiby
shift
yy084 17 "$x p=${1-0}";
x=$(echo "$x"|sed 's/ /+/g;s/++/+/g');
curl -si04A "" "https://wiby.me/?q=$x&p=${1-0}"
;;21) # wikipedia
shift
yy084 21 "$x offset=${1-0}";
x=$(echo "$x"|sed 's/ /+/g;s/+/+/g');
W="&ns0=1&ns1=1&ns2=1&ns3=1&ns4=1&ns5=1&ns6=1&ns7=1&ns8=1&ns9=1"
X="&ns10=1&ns11=1&ns12=1&ns13=1&ns14=1&ns15=1&ns100=1&ns101=1"
Y="&ns118=1&ns119=1&ns710=1&ns711=1&ns828=1&ns829=1&ns2300=1"
Z="&ns2301=1&ns2302=1&ns2303=1&fulltext=1&offset=${1-0}"
curl -si04A "" "https://en.wikipedia.org/w/index.php?search=$x$W$X$Y$Z"
esac

echo research|1.sh 14 > 14.serp
echo research|1.sh 17 > 17.serp
echo research|1.sh 21 > 21.serp
cat [0-9]*.serp|yy084|sqlite3 test.db
I used to think I liked rejection letters that came with actionable feedback, until I actually got it and realized it was all rubbish.
Yes, I meant upload, sorry. Downloading from a page is trivial. I was more concerned ith the case of grandma sending a picture or similar.
Thanks for explaining this, I'd heard of people being treated with proton beams already and it was pretty confusing to hear this was new and experimental.

What are the theories as to why healthy cells recover better than tumor cells, if any?
I just downloaded a freshly minted app from Notion called Notion calendar. It looks beautiful, and it's download size is 84Mb! Most likely an electron app.
Thank you Dave! Rest in peace
The step-stuff is 90% just in the title, in the "plot" there isn't anything like that. Most people in porn aren't in it for the acting. The time of porn with a plot is pretty much dead.

From what I've heard it's zero-effort marketing: you make the content and rename it to whatever you want. The people who are into that will watch it and the rest of us will tolerate it.

Similar to foot fetish stuff, there's a surprising amount of people who are specifically into it and will see/buy anything with feet. The rest will kinda tolerate it.
If you look at how most animals reproduce in the wild.

It is not pretty, at all.

There is force, and violence, and subjugation, and domination, biting, killing.

Reproduction is an ugly, ugly process.

A funny analogy with humans is Panda bears. Pandas are notoriously very hard to persuade to reproduce in captivity.

Now we are the panda bears.

We have put ourselves in captivity, built an entire society that drastically warps our behavior for several generations and now we are trying to sort of undo all that.

Those behaviors and those cultures took millennia to create. And we are going to sort of hit a light switch and toggle them back on?

Suspect the basics or love and romance have been completely forgotten. We have also actively denigrated male courtship rituals to the point that men have been discouraged from a wide range of behaviors we used to have.

Watching old James Bond movies. Wtf?

Men and women have to be trained and encouraged to reproduce and date.

We don’t necessarily naturally get along at all.

A big part of relationships used to come with external pressure. Men and women were poked and trained and prodded together by society.

Unless China plans to recreate all those missing societal pressures no idea how they will get men and women back together.

If you really want to do it, you basically just let everyone know directly and indirectly that you are all getting married at 20 and getting pregnant or you don’t get a house.

Something that extreme will be needed.

Suspect a single change like that: Literally, you cannot buy or own property without a baby or you get a significant substitute and the woman gets a dowry.

Humans are like panda bears: We do not mate in captivity the way we need to in order to create children.

China will have to bring all that back.

And if they want them to STAY married there will need to be a persistent social status imbalance where the man is higher social status or the woman won’t want anything to do with him.

How do you pull that off?
Idk, we have guns, knives, and fucking nuclear weapons. Humans are pretty dangerous. Very few creatures have weapons other than the ones god gave them. I'm not sure why all the responses here are just accepting of the claim when humans literally took control of an entire planet and routinely kill creatures that were designed to kill, with knives built into them. If you're not dangerous, it's because (thank god) you choose not to be.
Or maybe they have small children. Wtf man.
I doubt YouTubers quitting is anything except availability heuristic and a combination of burnout + bandwagon effect.

I know of ~5 well-known people who have decided to stop making content, out of 100+ if not 1000+ of the "well-known" people on YouTube. Tom Scott was the first one, and his plan to stop was years in the making. I suspect the others were already burnt out, and seeing him leave gave them the initiative to do the same. A couple other YouTubers have made videos signaling they will pivot to different types of content, further reinforcing that they're burnt out with what they're doing but nothing is convincing them to stop making videos in general.
Which is exactly why WebGL never really took off for games like Flash did, versus native games, or now streaming.

Having drivers installed is not enough as the browser lords decided the computer isn't worthy of playing games.
I'm curious how many days before author can read a mathematical description of an algorithm (let's say expectation-maximization algorithm) into code?
Note this :

"Quetta’s AI-powered ad-blocking technology sets a new standard in efficiency and accuracy. [...] The key to this efficiency is server-side processing. By handling complex computations on our servers, Quetta ensures that your device’s performance remains optimal, [...].

And in their terms :

We do not do business with individuals or entities in Cuba, Iran, North Korea, Sudan, Syria, the Crimean region, DNR and LNR. If you are from such regions, you may be prohibited from using the Quetta Services.

Also note that they do not explain who their employees are, which is suspicious.
Give me an idea of how often you'd hit the brake pedal while trying to use one pedal. A few times an hour? Week? I feel like if it's a regular enough thing the natural impulse would be there for new drivers too, but if it's something you're doing every couple months, probably not.
I feel like you're really focusing on the negatives, HN has a lot of great content and I generally find it to be a big positive but it's not like, very positive on the whole, I just feel like you can mostly ignore the bad parts and have fun with the good (and I do occasionally engage with the bad too).

You're going to have to wade through garbage for high quality content pretty much everywhere, and HN has been consistent and valuable to me over the years for sure.
Or Those who want to know their kids are safe and have a place to play.
> using a single pedal has enough innate advantage that it overcomes the disadvantage of having to be learned?

For me, the learning period would be best measured in minutes. It feels extremely natural. When I bought my Bolt I turned on One-pedal mode and I haven't turned it off a single time.

Today's cars have loads of technological regressions -- touchscreen head units, expensive proprietary headlights, removal of 3.5mm audio input, telemetry -- but one-pedal driving is very clearly a progression as far as I'm concerned.
I can't speak to snow tires, but statistics clearly show 4WD/AWD significantly reduces fatality rates for a given car model.
To be honest. I want to build my company this way only. When I get product market fit and I have insights that we can grow up exponentially by burning money I won’t mind doing it. But this is very hard to pitch to a VC. You want to be honest but that honesty rarely converts into a fund raise.
Will we regret building our new site with Nextjs App Router?
Engineers at Manifold are looking for your opinions (and bets) on the new app router vs pages router.
There's a contradiction in that list: proper code reviews require knowledge of the problem the code professes to solve. If AI is poor at context-dependent details, it can't shine at reviewing code.
>The court’s ruling could have ripple effects across the federal government, where agencies frequently use highly trained experts to interpret and implement federal laws.

I'm pretty skeptical that this is true. Who is training them? Training them in what? Reading laws and navigating bureaucracy?

More ...

>Kagan cited as one example a hypothetical bill to regulate artificial intelligence. Congress, she said, “knows there are going to be gaps because Congress can hardly see a week in the future.” So it would want people “who actually know about AI and are accountable to the political process to make decisions” about artificial intelligence. Courts, she emphasized, “don’t even know what the questions are about AI,” much less the answers.

I'm not following why Kagan thinks this hypothetical helps her point. People who know about AI and are accountable to the political process are not bureaucrats in the federal agencies just as much as they are not the courts. I'll wait for the audio/transcript to come out because hopefully this is a misrepresentation of her question.
Comprehensive, yes.
Wrote more about this here: https://www.datagravity.dev/p/metas-ai-initiatives-20b-of-in...
I remember Google Wave! It felt more like a technology demo than a product.
I imagine it depends on what the screen is used to control. I tend to adjust things like climate control fairly often, for instance, or the radio/music player. I've seen crazy often used things that require the touch screen in some cars, too, such as wiper speed
It will be same as ever.

The big difference is that on native APIs we can work around them.

On browser APIs, the device gets blacklisted end of story for those folks.
WebTV, the Smart TV of the 90s (2016)
Heh, that's not so bad - 2 jobs ago I had to fix a KPI generation process that was 70k lines of dynamic sql, that unwrapped to up to 1m LOC :)
Took a class of his at University of Delaware around the turn of the century. He was a great professor that clearly had a love for the subject.

NTP was much more complex and nerdy than some of the other trivial protocol RFCs, especially by v3 (https://www.rfc-editor.org/rfc/rfc1305), which was the first one I read. A legend; RIP
/*```````````yahoo/bingj```````````*/
<M19>"<a style=\"line-height:26px\" class=\" d-ib fz-20 lh-26 td-hu tc va-bot mxw-100p\" href=\""[^\"]+ {
w=0;v++;
y=0;for(x=85;x<yyleng;x++)if(y<255){url[y]=yytext[x];y++;};urllen=y;
}
<M19>aria-label=\"[^\"]+ if(v){
y=0;for(x=12;x<yyleng;x++)if(y<255){desc[y]=yytext[x];y++;};desclen=y;
}
<M19>\<span[ ]class=.{33}fc-obsidian {
v++;
CDp8iULPuCinsert(19);
fwrite(url,1,urllen,yyout);
if(urllen==255)fwrite(" #[TRUNCATED]",1,13,yyout);
fwrite("','",1,3,yyout);
}
<M19>"ptb-1u td-n td-n-h\" href=\""[^\"]+ {
w++;
fwrite("https://cc.bingj.com/cache.aspx?",1,32,yyout);
z=0;for(x=26;x<yyleng;x++)
{
if(yytext[x]==38)z++;
if(z==1)if(yytext[x]!=38)putc(yytext[x],yyout);
if(z==4)putc(yytext[x],yyout);
}
fwrite("');\n",1,4,yyout);
}
<M19>"</li>" if(v){
if(!w){
fwrite(desc,1,desclen,yyout);
if(desclen==255)fwrite(" [TRUNCATED]",1,12,yyout);
fwrite("');\n",1,4,yyout);
}
v=0;
}

/*`````````yandex``````````*/
<M13>accessKey=.{3}[ ]tabindex=.{3}[ ]href=\"[^\"]+|.{8}link\"[ ]tabindex=.{3}[ ]href=\"[^\"]+ {
CDp8iULPuCinsert(13);
for(x=33;x<yyleng;x++){putc(yytext[x],yyout);if(yytext[x]==39)putc(39,stdout);};
fwrite("','",1,3,yyout);
}
<M13>OrganicTextContentSpan\"> jmp M13_DESC;
<M13_DESC><\/span> fwrite("');\n",1,4,yyout);jmp M13;
<M13_DESC><[^>]+>
<M13_DESC>. putc(yytext[0],yyout);

To test:

#!/bin/sh

COUNTRYCODE=
test $1||exec sed -n '/^ *;;/p' ${0##*/};
read x;
case $1 in :)
;;13) # yandex
shift
yy084 13 "$x p=${1-1}"
x=$(echo "$x"|sed 's/ /+/g;s/++/+/g');
curl -si04A "" "https://yandex.com/search/?text=$x&p=${1-1}&family=0"
;;19) # yahoo
shift
yy084 19 "$x b=${1-1}";
x=$(echo "$x"|sed 's/ /+/g;s/++/+/g');
if test $COUNTTRYCODE
then curl -si04A "" "https://$COUNTRYCODE.search.yahoo.com/search?p=$x&n=100&b=${1-1}"
else curl -si04A "" "https://search.yahoo.com/search?p=$x&n=100&b=${1-1}"
fi
esac

echo research|1.sh 13 > 13.serp
echo research|1.sh 19 > 19.serp
cat [0-9]*.serp|yy084|sqlite3 test.db
https://www.amazon.com/Dell-PowerEdge-R630-Rackmount-Warrant...
Roberts is pretty open in his opinions. I doubt that his private thoughts differ much from what he writes in his dissents or concurrences. Unless you mean court gossip, which is probably at a minimum today since we still don't know who leaked the Dobbs opinion.
in-video sponsoring can be skipped automatically with chrome add-ons.
I feel the structure of the US since the New Deal is an aberration, and the court has simply refrained from doing inconvenient things, contorting itself to avoid doing disruptive inconvenient things. That wasnt a partisan view in my world, just an obscure one, until the only ones willing to match that view were extremely partisan.

This court has expressed and shown that it wont refrain from doing disruptive, inconvenient things and I haven't found any of its decisions to be contortions or surprising, after having read those decisions

I often feel like the narrative is the opposite of what I perceive, the media and people that want a different outcome say “they’re legislating from the bench!” when I see the prior court acting like a super congress with entire multipronged frameworks, and this court saying “yeaaaaahhh voters and elected representatives should decide that” whether there is a consensus failure or not, forcing consensus to be made where it was avoided indefinitely. I just dont see that as extreme, extreme would have been it using its privilege to say “yeah that's banned now across the whole republic” and they dont do that, its all quite professional

I dont know man, they are just waiting for someone to bring challenges to every remaining vestige of the New Deal and its expanded interpretation of interstate commerce, given that the 1930s court struck down most of the New Deal until it was threatened, I dont really find finishing the job to be so extreme, just unfamiliar because we were all raised post-New Deal
It's funny how some people call systemd overcomplicated and here we have someone complaining because it only has two levels (default/specific) for config instead of three (default/specific/forced default).
I listen to a LOT of old music from 1910s to present. There seems to be a cyclic nature to complexity in pop music. From most lines repeated, to none, and back. Sure technology has always been a huge driving factor, but human nature stays the same.
Gotta imagine Boeing is giving some pretty massive discounts on them at this point.
I've been navigating this question myself - in the mechanical engineering world.

Much of my background is in product design, particularly sheetmetal enclosures. I grinded through a few different jobs in that space, picking up some skills in CAD Administration, PDM (think engineering document workflows), and programming (mostly VBA and Python). I saw myself moving away from product design/manufacturing into engineering automation... but I kept getting pulled back into designing widgets.

In my early career, designing widgets was fun and interesting. Even got some patents. But indecisive customers and overpromising salescritters made the experience extremely frustrating. Some people just love to quibble with designers over minutiae, resulting in delays and overruns. "Sure, the product is functional, but... it doesn't look like what we had in mind."

I got laid off this past summer, but lucked out with two competing employment offers. Company A needed a product designer, and they needed a CAD/PDM Administrator as well. Company B needed someone to reverse engineer existing CAD models and program mesh generation scripts for simulation software verification models. In comparing these, I realized I had an opportunity to pivot away from designing new manufactured products - and negotiate for more money in the process. So I picked Company B, even though my skills were probably a better fit for Company A.

Since starting my new job, I've found myself lately enjoying lots of downtime. In product development, I was always scrambling to produce and change designs to meet ever-evolving requirements. The design process often trends toward instability and complexity as requirements contradictions arise. In contrast, reverse-engineering naturally reaches a point of stability, and quickly. It's very satisfying doing well-defined modeling tasks and knowing that the tasks are DONE.

Future-proofing a tech career is often seen as an exercise in skill-building, focusing on what employers are trying to acquire in new hires. But I think tech workers really need to think about eliminating their career pain points as well. Reducing burnout can open your mind to new career possibilities.
/*```````````youtube search html```````````*/
<M20>"\"originalUrl\":\"https://www.youtube.com/results?search_query" w=0;
<M20>"ideoRenderer\":{\"videoId\":\""[^\"]+ {
z=0;
CDp8iULPuCinsert(20);
fwrite("https://www.youtube.com/watch?v=",1,32,yyout);
for(x=27;x<yyleng;x++)putc(yytext[x],yyout);
fwrite("','",1,3,yyout);
}
<M20>"\"title\":{\"runs\":[{\"text\":\""[^\"]+ {
y=0;for(x=26;x<yyleng;x++)if(y<255){desc[y]=yytext[x];y++;};desclen=y;
}
<M20>"webCommandMetadata\":{\"url\":\"/@"[^\"]+ {
y=0;for(x=29;x<yyleng;x++)if(y<255){url[y]=yytext[x];y++;};urllen=y;
}
<M20>\"browseId\":\"[^\"]+ if(!z){
z++;
for(x=12;x<yyleng;x++)putc(yytext[x],yyout);
putc(32,yyout);
fwrite(url,1,urllen,yyout);
putc(32,yyout);
for(x=0;x<desclen;x++){if(desc[x]==39)putc(39,yyout);putc(desc[x],yyout);};
fwrite("');\n",1,4,yyout);
}

/*```````````youtube search json```````````*/
/* for timestamps from json, use yy078 */
<M20>[ ]{20,30}\"headline\":[ ]\{\n[ ]{20,30}\"runs\":[ ]\[\n[ ]{20,30}\{\n[ ]{20,30}\"text\":[ ]\"[^\"]+ {
z=0;
y=0;for(x=127;x<yyleng;x++)if(y<255){desc[y]=yytext[x];y++;};desclen=y;
}
<M20>[ ]{20,30}\"browseEndpoint\":[ ]\{\n[ ]{20,30}\"browseId\":[ ]\"[^\"]+ {
y=0;for(x=91;x<yyleng;x++){if(yytext[x])yytext[y]=yytext[x];
if(yytext[yyleng])yytext[yyleng]=0;y++;};z=y;
setenv("cid",yytext,1);
}
<M20>[ ]{29}\"canonicalBaseUrl\":[ ]\"[^\"]+ {
y=0;for(x=50;x<yyleng;x++){if(yytext[x])yytext[y]=yytext[x];
if(yytext[yyleng])yytext[yyleng]=0;y++;};w=y;
setenv("cburl",yytext,1);
}
<M20>[ ]{20,30}\"watchEndpoint\":[ ]\{\n[ ]{20,30}\"videoId\":[ ]\"[^\"]+ {
CDp8iULPuCinsert(20);
fwrite("https://www.youtube.com/watch?v=",1,32,yyout);
for(x=78;x<yyleng;x++)putc(yytext[x],yyout);
fwrite("','",1,3,yyout);
fwrite(getenv("cid"),1,z,yyout);
putc(32,yyout);
fwrite(getenv("cburl"),1,w,yyout);
putc(32,yyout);
for(x=0;x<desclen;x++){if(desc[x]==39)putc(39,yyout);putc(desc[x],yyout);};
fwrite("');\n",1,4,yyout);
}

To test:

#!/bin/sh

test $1||exec sed -n '/^ *;;/p' ${0##*/};
read x;
case $1 in :)
;;20) # youtube
shift
yy084 20 "$x depth=${1-0}"
echo ="$x"|yy076|nc -vvn 127.7 80|sed w020.htm
test $1||exit
n=1;while true;do
test $n -le ${1-0}||break
if test $n -eq 1 ;then x=020.htm; fi
if test $n -gt 1 ;then x=020.json.$((n-1)); fi
yy082 t < $x|sed 1q|yy076|nc -vvn 127.7 80|sed w020.json.$n
n=$((n+1))
done
rm 020.htm
if test $1 -gt 0;then rm 020.json.[1-9];fi
if test $1 -gt 9;then rm 020.json.[1-9][0-9];fi
esac

echo research|1.sh 20 > 20.serp
yy084 < 20.serp|sqlite3 test.db
Bert-Vits2 2.3 Chinese Extra for Local Inference on Intel or Apple Silicon Mac
What. Most people are high functioning ASD, it's a pareto distribution like almost every neurodivergent condition. Also, a shocking amount of competent researchers are autistic.

As to the cause issue, yes, many potential causes, classification bins are useful when a cause has a shared dynamic since the symptom groups are similar.

Just like 'cancer', they're all different.

I know very few excellent (as in near top of the field) researchers who aren't autistic or ADHD or neurodivergent in some kind of a way, I have no idea where you're getting this idea from. It's one of the few fields that we excel at far and above other people (bias-variance tradeoff, as per an earlier comment of mine).
Yeah, by TFA's definition whitespace matters in K&R C because of things like:

inta;

vs

int a;

To which I can just say "duh!"
Gov.uk Pay – Take online payments from your users
Infinite abundance — free boiled eggs and T-shirts — just felt like an extension of freedom to perform at the fullest of my abilities (which started out pretty meh, but grew quickly over time more than any other time in my career) without having to worry about anything else.

There’s something deep in the human mindset about resource anxiety and the importance of that not being a thing can’t be underestimated. So maybe it kind of was about the free food and clothing all along?
First of all thank for the effort.

Secondly, this was a big issue plaguing WebGL adoption, as contrary to native APIs, devices get blacklisted and telling common users to access browser flags is not an option for most products.

Hence why game studios are so keen on streaming instead.
LicheePi 4A (RISC-V) First Look