Better HN
topnewbestaskshowjobs
Log inSign up

coding123

3,044 karma · joined Jul 2, 2013 (13y ago) · 2,751 submissions

Test
Submissions

comment 5y ago · link · parent

I didn't say I'm the authority of what is useless in the entire world though. I added my perspective and agreed - hence the "just some perspective".

comment 5y ago · link · parent

I didn't write the comment... but I would probably second this. I suppose in general smart contracts "replace" escrow companies. There are escrows for tiny things like buying random stuff in Alibaba. There are escrows for large things - like buying a house/property.

I would say that in general it seems weird to handle either of those cases with a smart contract. For example. Let's say I am on Alibaba as a seller. The escrow unlock is probably based on arrival of an item - which is tied to freight companies or possibly a fedex tracking number. This "seems" like it's totally amenable to a smart contract. But where things break is fraud. Let's say an alibaba seller starts shipping empty boxes so that the funds are released.

Now one could say that a smart contract as well as an escrow company would make the same mistake. But it's still not the same. If that seller repeatedly sends empty boxes - it will quickly catch up to them with an escrow company. At some point the escrow company will stop believing the company and start trusting the pictures of empty boxes arriving. Not so with a smart contract. It would mean un-ending fraud. Now you could back things up by saying there could be a company that the smart contract is tied to, not specifically fedex tracking. But then what is that? It's an escrow company.

For houses - if anyone has been involved in a real estate transaction I would say you are probably familiar with the notion that there are 15 days to attempt getting your loan. Some contracts can be 45 or even 90 days (or years for complex business/government escrows). There are also situations where the seller decides to not cause grief because of some other issues or mistakes. Again a smart contract is not going to understand this shit. It's very peoply.

Again, not the OP on this, but just some perspectives. Maybe someone else has a great use case on people betting on weather outcomes - but what great societal use is that?

comment 5y ago · link · parent

What do all large countries not at war do? Prepare for war. Why would people think preparing for war be a crazy idea?

comment 5y ago · link · parent

I can't figure out how to charge a battery with bitcoin. Just working for a few hours drains my 12.6 to 12.2 at night. Lead acid is a battery. Lithium is a battery. Btc is not

comment 5y ago · link · parent

People in the monolith space call that "different JARs"

comment 5y ago · link · parent

I asked my dad to send me a picture of his shed recently. He asked if I have WhatsApp. I reminded him I don't use any social media. And he said, uh, it's going to be very hard for me to figure out how to send it without WhatsApp..

No shed picture. But no compromises here either.

Also I find it totally hilarious that I'm 42 and I have never even seen WhatsApp's interface yet my 80 year old father is a social media expert in a lot of ways.

comment 5y ago · link · parent

The point of it is to be able to run it simply for developers developering things. If I run in prod with 12 different splits of code, that's fine. If I want to run this locally to develop new features, I would love to put in a breakpoint to see my puppeteer job run to do some screen scraping without having to have 15 VSCode windows open. (Which is what I sometimes have to do at my current company because we're a team of 6 doing microservices with 12 apps (more planned yay).

comment 5y ago · link · parent

I wrote a React electron app that starts all our companies microservices on a single laptop and docker images for databases (which has our canned test data). It runs like 15 things and you have the entire application running in about 12 seconds. (most of the waiting time is mysql/mongo/memcached/rabbit starting up slowly in docker). You can also grab the PID of one of the services it displays and throw it in VSCode for debugging (since it's all node). It also makes a bunch of recommendations like - git pull, change branch (if there are changes), open vscode, open Azure Devop's PR page.

All of the crazy microtasks our team has shackled ourselves to into are handled by this app.

It's fine now, but I would never ever ever ever in a million years recommend microservices to a team of 6 developers.

comment 5y ago · link · parent

Not only can a monolithic code base be scaleable but you can make it into microservices by adjusting it's startup parameters:

    monolith --start-batch-jobs
    monolith --start-claim-processor
    monolith --start-graphql
And they would be interconnected probably via some clustering protocol with libraries that hide the complexity and runs a bus available in a litany of languages.

Need scale?

k8s replica count on the above pods.

comment 5y ago · link · parent

When I drive around the city I see a Sprouts store and signs all over the place that say "Locally Grown" or "Buy Local".

There's a reason for this. Every time you pay money that goes into the community there's a higher chance for local prosperity.

If we start eating beets from China some beet farmer may be rich and his family will definitely be happy. But why not buy local beets that enriches our communities.

So at some point Sprouts made the decision to instead of buying beets from a Chinese farmer, they will buy them from a local one. However Sprouts, as a national chain of grocery stores, could have decided one day to just make an extra $1 Billion by selling MOSTLY out of country food. They don't do this for 2 reasons - fear of backlash that all the food is from China and 2 these people do actually understand the local connection.

For some reason this logic does not translate to silicon valley companies. Those companies have made the choice that because of the price difference, it's best to buy it from far away. When you look at everything that's going on in the USA - the deep divides between rich and poor, between left and right - most of that is BECAUSE of economic inequity. If we fix the economic inequity, a lot of political shit will just go away. We have a reason to fight because things AREN'T going so well. Everyone has a different fix.

I personally think the fix is to come up with policy that Sprouts has: BUY LOCALLY GROWN.

The main reason we hear about the rich getting richer and the poor getting poorer is because those rich execs at Walmart and tech companies are paying people in China, India and wherever else they can pay the lowest possible price and resell it to Americans. It makes perfect sense why the 1% is becoming richer and richer. And raising taxes on them isn't the answer - it's to stop the exporting of American dollars to sell shit to Americans. Duh?!

comment 5y ago · link · parent

We absolutely do need to keep the secrets for how this stuff is made local.

comment 5y ago · link · parent

Sent you an email

comment 5y ago · link · parent

Crap missed it (flagged now)

comment 5y ago · link · parent

It's pretty much the same thing for people that say things like all guns should be banned. (This is not a stance I support BTW).

But who knows in ten years the opposite reaction might be true.

comment 5y ago · link · parent

How can I email you with info?

comment 5y ago · link · parent

I use Scala for exactly 1 thing: Spark. No intention to use it for anything else.

comment 5y ago · link · parent

I remember System Shock. Definitely had no way to play it on my 386, but I remember going to my friend's house who had a 486 that it played somewhat decent on. The world of "true" 3D games before Voodoo 3dfx cards were released... Wing Commander Games, Ultima Underworld (1 and 2). Games that you could look up and down and not have the world skew like crazy. Fun times.

comment 5y ago · link · parent

Meanwhile the blackout curtain industry is boooooming.

comment 5y ago · link · parent

Ugh and it's not usually their fault. Too many orgs are promoting this by making manager pay higher. In a sense higher pay is the career goal. Why stay in coding when you can get a 30k bump for coding plus whipping people?

comment 5y ago · link · parent

I'm under the assumption that wiretapping to create evidence is illegal, but wiretapping to get a warrant probably happens all the time. (AKA Judge and Police officer listen to illegally captured audio - Judge approves official warrant to make future recordings legal)

comment 5y ago · link · parent

The 8 hours it's parked at work will likely charge the 20 mile round-trip. For some people it will literally never need to be charged or serviced. For other types, like me, I drive about 4 hours a week over 2 trips, but the rest of the time it would just sit at home, probably charging at least half of that drive time. So I would need to plug it in. That being said I'm planning out a 12Kw+ solar for home anyway.

comment 5y ago · link · parent

When they invented text messaging, heck even the phone system itself, did they provide anything that said there was an expectation of privacy?

Not sure which is why I'm asking.

comment 5y ago · link · parent

I never expect HN to be down... I asked my wife - hey is the internet down? She said - no, it's working for me. I clicked on another site and my mouth dropped.

comment 5y ago · link · parent

This should be upvoted because the replies and replies to replies are among the funniest I've seen in a while.

comment 5y ago · link · parent

Most likely the human consumed meat amounts will change very little. But let's say for some reason 50% of humans suddenly started only eating Impossible Foods style meat - I would imagine that along with that sea change would be pet food. (And when I say suddenly I would say expect at least 25 years - 50 years)

comment 5y ago · link · parent

Back in the day I set up Zoneminder... pretty good. I was able to write a custom perl script to run a loud wave file in my house to tell me a zone was activated :)

comment 5y ago · link · parent

Read the whole thing before you rage the title.

comment 5y ago · link · parent

The iso standard is pretty much spec'd out enough on Wikipedia.

comment 5y ago · link · parent

It was done that way on purpose to cause hundreds of people a year to freak out and discuss it ad nauseum. But really a social experiment designed to show everyone is all talk and no follow through... That being that no one actually tried to change open source but just talk about it.

comment 5y ago · link · parent

I think at this point we're just waiting for Windows and Linux to be fully supported on the M1 or for ARM to come out with a system on a chip that's documented enough for Windows and Linux to make a port.
1
565758
92