tempsolution | 5 years ago | on: The Failed Promise of Web Components
tempsolution's comments
tempsolution | 5 years ago | on: United States vs. Dread Pirate Roberts (Silk Road) FBI Report (2013) [pdf]
You really wanna go there? Seriously? Nobody forces you to use drugs. It doesn't even harm anyone else directly. He didn't even sell drugs directly, he offered a marketplace for others to sell drug on. What about pawn shops? Should we lock em all up in super max prisons for providing weapons to people? I mean here the intent is at least directly to harm people other than the client, while with drugs its just to harm clients.
Net positive... LOL Name a single politican that does provide a net positive to the world. How about Trump? What about locking him up? Did he provide a net positive to the world? He has a list of crimes that could wrap buildings in documents, however he is president of the US, which somehow manages to kill more people in a year than this guy could have killed indirectly in a life-time. But hey, yeah lock em up!
> so it's a clear reflection of his morals and empathy.
Oh is it? So what now? We lock up everything who doesn't have your high moral standards in a federal super max? Oh wait, your morals seem a bit off actually. I think you are kindof insane. How about locking you up? Do you provide a net positive to the world? Probably not. Wait, let me just call 911 so they can lock you away for life.
tempsolution | 5 years ago | on: Why Not Rust?
This is not a reason to use rust. It's like saying "I like Ferraries, because they drive fast", failing to specify WHY you need to drive fast (you usually really don't, unless you are on a race track)
> Memory safe. In higher level code you have almost zero justification for `unsafe`, except you really need a C library.
Java, C#, etc.
> Immutable by default. Can feel almost functional, depending on code style.
Okay, however this isn't a big win in practice. Java has this too with @Immutable and mostly that's enough.
> Very coherent language design. The language has few warts, in part thanks to the young age.
Yes, Rust looks fine. Let's see how it evolves. Coherent language design is however again not a reason to use rust, because it fails to mention WHY you need it and WHY it solves a business problem better than Java, C# or C++.
> Great package manager and build system.
Yeah, pretty much all modern languages have that, so it's not worth to even mention. Rust builds are slow, so there is that.
> Great tooling in general (compiler errors, formatter, linter, docs generation, ... )
Really? Ever used Java or C# tooling?
> Library availability is great in certain domains, ok most.
Compared to what? C++? I don't even think there it's true. When comparing to Java or C# library availability and quality is a joke in Rust.
> Statically compiled (though I often wish there was an additional interpreter/repl). Mostly statically linked.
Yeah... What do you need that for? Again no mention of why that's even useful.
> Good performance without much effort.
Like in Java, C# and C++ you mean?
> Good concurrency/parallelism primitives, especially since async
Async is a paradigm that received a lot of criticism lately. It turns out to be cancerous. Fibers will likely replace it and Java is getting it soon. Otherwise yeah, concurrency is something any modern language should solve and maybe Rust has a head-start here. The whole purpose of Rust is focused around safe multi-threading. However other languages don't sleep. You don't switch your company to Rust just because it does one thing better for a couple of years. Other languages will catch up soon.
tempsolution | 5 years ago | on: The EmDrive just won't die
This device presumably requires a reasonable amount of energy comparable to other existing drives. So what might happen here is a potentially unexplained quantum effect. Quantized Inertia seems like a really reasonable idea. Why wouldn't it be quantized? It doesn't even make sense for it not to be quantized.
Anyway, I hope this thing works.
tempsolution | 5 years ago | on: The 10,000 Year Clock
Like... None? This seems like a complete waste of resources. It's probably a life-like toy from someone with too much money? The world needs more 10,000 year clocks, we don't have any other problems...
If you want a 10,000 clock, you bury a radioactive rock with a note about the decay pattern at the time of creation and future radiologist will know how long it's been "ticking". Problem solved.
tempsolution | 5 years ago | on: C++20 has been approved
i.e. there is no way to end up with faster code that does the same thing, without using the abstraction.
This is the very definition of zero cost abstractions.
tempsolution | 5 years ago | on: C++20 has been approved
tempsolution | 5 years ago | on: Convicted of sex crimes, but with no victims
Yeah sounds like justice to you?
tempsolution | 5 years ago | on: Convicted of sex crimes, but with no victims
So let's summarize.
1) Guy is looking for adults on an adult page
2) Adult women(24) with an adult picture says she is 13
3) Guy probably thinks like "okay, doesn't look 13". Which arguably is stupid, given that US citizens should know how stupid the US is when it comes to minors.
4) Talks more
5) Women says again she is 13
6) They agree to meet anyway
7) Guy drives to her home and she greets him. She is obviously a grown women.
8) Guy gets arrested for child rape
Yeah sounds about right. God bless America!
So let's rewrite the story a bit:
1) Guy is looking for some mint on craigslist
2) When asking the seller why the mint "makes people high", the seller says it's actually weed.
3) Guy thinks, okay, doesn't look like weed, it looks like fucking mint
4) Guy says, I will buy this mint anyway, looks like mint
5) Seller says again "Dude, it's fucking weed, but okay"
6) Seller sells the mint
7) Guy receives the mint in his mailbox and opens it
8) Cool it's mint, smells of mint, looks like mint.
9) Guy gets arrested for drug possession
Erm what?
In the real world, that cop should have been suspended for false advertising and the seller's account as well.
Good thing the world has no other problems...
tempsolution | 6 years ago | on: Amazon CodeGuru – Preview
tempsolution | 6 years ago | on: I Ditched Google for DuckDuckGo
tempsolution | 6 years ago | on: Canadian provinces band together to develop nuclear reactor technology
tempsolution | 6 years ago | on: Superconductivity Theory Under Attack
Quantum computers can simulate things that are not possible with traditional computers. These problems are in the complexity class BQP. I want to point out though, that this is very likely a result of our limited understanding, and not something that is theoretically impossible.
tempsolution | 6 years ago | on: New South Wales rolls out mobile phone detection cameras
tempsolution | 6 years ago | on: New South Wales rolls out mobile phone detection cameras
tempsolution | 6 years ago | on: Unbundling AWS
tempsolution | 6 years ago | on: Being Average in the Age of Alpha
If you don't have the motivation to be excellent, don't try. There really is no point to it, as the author pointed out. Excellent people have an inner "drive" to get there and they seek tremendous joy from walking that path. If you force yourself to do it, you will always be unhappy and your brain won't be able to compete no matter how much you try because there is nothing more important for success than this: You need to love what you do. But also, you need to be at the right time in the right place, have the right environment to strive and parents who have the ability to support you.
The world is a mean and unfair place...
tempsolution | 6 years ago | on: Arrest Of U.S. Citizen For Assisting North Korea In Evading Sanctions
tempsolution | 6 years ago | on: Ask HN: Burning Out
tempsolution | 6 years ago | on: Siberia: 18,000-year-old frozen 'dog' stumps scientists
No it really shouldn't. Just look at JS. It's a complete mess. And HTML would get there in a short time if they were to adopt "anything that can be neatly siphoned". The problem is that data binding is actually quite complex. I have seen data binding done 10 different ways in different languages and they all had their flaws. It will be very difficult indeed to come up with such a standard that is actually being used universally.
If it is not, what sense does it make to add it to the standard? But for it to be used a lot, it would actually need to solve most problems in most businesses for the forseeable future.
Given the fact that the Web apparently still hasn't figured out quite how UI development is supposed to work (judging by the 1 new language feature, 10 new frameworks, 100 new libraries developed each day), it will be a very poor idea to start baking half baked stuff into a standard.