Better HN
topnewbestaskshowjobs
Log inSign up

quickthrower2

24,182 karma · joined Jul 22, 2017 (9y ago) · 14,302 submissions

Contact me at altsearch@altmails.com, which gets forwarded to my normal email.

https://hnbadges.netlify.app/?user=quickthrower2

Submissions

comment 4y ago · link · parent

Thanks… I was being tongue in cheek of course.

comment 4y ago · link · parent

We are both probably parroting old blockchain vs. not debates, but my next move is to say:

Your scenario is you can’t trust your stock exchange to correctly known who owns what stock, and you cannot trust their data feeds, given the heavy and necessary regulation of stock markets, given the very goal of them allowing ordinary people to invest in the largest companies without DD in a fungible way.

In that scenario a stock exchange becomes useless regardless of the technology.

Blockchain has other problems too. It is slow! It can’t keep up with the source of truth. And it cannot be the source of truth without slowing operations down massively.

For blockchain to be worth it you would need different validation nodes operated by different entities and consensus. This will mean the end of fast fulfilment of trades most likely.

If your point was about simple api bugs then that is an interesting point. Decent operations and monitoring should prevent this. I would put data loss or accuracy bugs with stock exchange data from the source in the same bucket as “making the exchange useless” as it is not providing a fair system.

comment 4y ago · link · parent

Good question that I am asking myself! Azure seems to have some good pricing now for hobbyist for DB and app but we are talking 20/m so not cheap but it is all managed / serverless.

(Edit: for a hobby it seems you can get cheap on https://azure.microsoft.com/en-ca/pricing/calculator/ by picking:

Sql DB: East US > Single Database > vCore > General Purpose > Serverless

App Sercice: East US > Linux > Free

Estimated monthly cost $1.27)

Otherwise you can run it on any linux box and install all the dependencies yourself, if you use .Net Core or .Net 5 or higher I think.

And of course you can rent a windows VM and it should run directly on that.

What I don’t see is anyone outside of Azure wanting to support .NET in a serverless way out of the box. Feels like there might be a gap for a Vercel of .NET.

comment 4y ago · link · parent

I like using slack more than I thought. We do a lot of calls though (now huddles) and I think a healthy balance between calls, messages, in person (if possible) helps alleviate any miscommunication via text.

Also if someone is a dick they will still be a dick on slack. Fact of life. And a dysfunctional org will be dysfunctional on slack too. In some ways slack is just the conduit of that.

comment 4y ago · link · parent

I would start with ASP.NET Razor Pages to render HTML from the server and use a simple already done CSS framework like bootstrap or milligram.

Then focus on learning the backend as you are going to need that anyway.

Learn basic HTTP concepts if you don’t already know.

Then add JS sprinkles as needed to improve the app.

Google the things you need as you go.

Do a JS course or book if required. Then MDN and the ES spec are good references.

To make the page refreshes seem like dynamic AJAX updates you can cheat and use HTMX which is a JS library but pretty simple and you might feel at home there coming from WPF.

comment 4y ago · link · parent

Is that a requirement of a stock exchange? And if it is, guess what: you can create an API layer.

comment 4y ago · link · parent

Testing restoring regularly is part of the deal of saying “i have a backup!”

A good thing is all these viral security requirements slithering through the software supply chain (and backup is a part of security because ransomware) will force anyone who sells SaaS to consider it after the startup stages when they sell to enterprises.

comment 4y ago · link · parent

SQL, JSON … as if the pragmatic standards that let people get shit done eventually and quietly eat the world.

comment 4y ago · link · parent

I loled at the % done figure in the article. You eventually realize there are 2 dones: 0 and 100% :-)

This is why continual delivery is preferable over a big bang. What could you blockchainify for a million. Then the lesson that blockchain is crap is cheaper.

comment 4y ago · link · parent

Even better is good old relational databases with ACID transactions. There is a lot you can do with that to add auditing, providing perhaps the main benefit of blockchain but in a more suitable and performant setting.

comment 4y ago · link · parent

Or cartel like behaviour? Leader needs to look tough to survive.

comment 4y ago · link · parent

It is not necessary true. A better way to say it is identifying which habits are purposeful and goal oriented and which hedonistic. Which are at the intersection. Review both! And maybe having zero hedonistic habits (like the odd TV binge even) is too strict a lifestyle for most.

comment 4y ago · link · parent

People have backups on another cloud / on premise right?

comment 4y ago · link · parent

For example why most of the value of a todo list is the writing down and ticking off. And tiny todos (fill water bottle) give the same kick as big ones. Now if you understand that the it motivates you to have todo lists, use them and craft them well and build a chain of success.

Having a mental model of why something works for me at least is a big motivator. The laws of thermodynamics don’t help you lose weight but they sure make it clear it is possible (or if your body absolutely cannot burn fat, you die).

comment 4y ago · link · parent

Thanks super interesting. In addition to the lack of ethics, it sounds like there was no proof that the methods would even work, and it was a pseudoscience.

comment 4y ago · link · parent

Interesting bits there:

Detective work using intuition and assumptions.

The existence of mechanical computers as given in another answer.

The use of language in the linked paper (1). A mix of formal and informal. After all there is nothing to prove, just an explanation of how he did it. Examples:

> The conclusion was inevitable

> It is well known that every factor of 2^n — 1, p being a prime, is of the form…

1. https://projecteuclid.org/journalArticle/Download?urlId=bams...

comment 4y ago · link · parent

Did these psychologists think they were helping the greater good? And who convinced them?

comment 4y ago · link · parent

At the same time we have a need to make sense of things. And having a rough relatable framework can be part of the therapy. I can also see why it might be dangerous “e.g. dopamine hit good, what foods/drugs will give me that”

comment 4y ago · link · parent

I rarely reassign local variables too. (Other then the set to null as a fallback then set again in a branch “pattern”).

The only excuse is when I am doing something algorithmic and that would improve the performance.

By extension I prefer local variables over class state and static state and other “self managed lifetime” stuff like that.

And I am a GC blub programmer, I don’t use Rust or C.

comment 4y ago · link · parent

Yes I guess!

comment 4y ago · link · parent

The same argument means that any luxury that any person indulges in. Let’s say thanksgiving, christmas, craft beer, VR headset, calling their mother, etc. is costing X lives (X is not necessary integer) and so isn’t the rationalist thing to do.

“Ah bit they are luxuries, distinct from charity…”

Ok then give me the luxury of donating to the local theatre!

comment 4y ago · link · parent

The biggest threat of AGI IMO is people wanting and desiring to make the leap from human to digital. It is less The Matrix and more like plastic surgery or some other lifestyle enhancement. At first they wont, like people wouldn’t jump in an unlicensed taxi because that is silly, right!

comment 4y ago · link · parent

The dirty secret is Typescript is going to become the most popular language due to it’s dirty pragmatism and simultaneously very elegant features. It is definitely a get shit done language. Typescript without JS toolchains (for example compiled to WASM would make it very good).

comment 4y ago · link · parent

> What we care about is “can we deliver better code, faster“

Strawman! Most coders, even staunchly “imperative” ones care a lot about tech debt, tidyness and code quality. That is why things like SOLID and design patterns are popular. For better or worse good programmers are proud of their code, and I don’t meet too many who feel they need to “ship faster”. Product people might want that though.

comment 4y ago · link · parent

How could it, it is not clairvoyant

comment 4y ago · link · parent

If it is flatlands you need to invade? I don’t buy it.

comment 4y ago · link · parent

Makes sense. The print is way finer.

comment 4y ago · link · parent

How real are they? Are they just simulating a poisson distribution or something?

comment 4y ago · link · parent

I am lifting weights to help combat fatigue so I sort of "have to" do it as a medicine. I treat it like a time to chill out. At least half the time is resting, and I only use the phone to check the time. Get some good music going and it is a fun way to relax and not think of much.

I also refuse to be there much more than 1 hour. Years ago I used to have these 2 hour sessions of all kinds of stuff with half hour treadmill at the end, and you know what ... it gets boring and I give up. Better to do an hour 2-3 times a week for life than a ambitious thing that I give up.

comment 4y ago · link · parent

I have heard of the camino de Santiago from someone planning to do it. I just looked it up and it says you can choose one of many routes. Camino Frances being the most popular. Feel like this will be on my bucket list if I can ever get that fit :-).
1
173174175
477