News for hackers. Stuff that matters.
Re:Show HN: Virtual breadboard in the browser, inspired by B... by lxe on Tuesday January 19, 2021 @03:58PM (#25838803)
Wow. Amazing work. What is this written in? Would love to check out the code.
Re:Show HN: Virtual breadboard in the browser, inspired by B... by dotancohen on Tuesday January 19, 2021 @07:24PM (#25840960)
As amazing as webassembly is, I feared this day. This is the day when we are no longer able to examine the source code that our browsers are running.
Re:Show HN: Virtual breadboard in the browser, inspired by B... by trevor-e on Tuesday January 19, 2021 @09:19PM (#25841813)
You can easily view the webassembly file as part of the website source, so what you're saying is a bit misleading IMO. I don't see this being different than minified Javascript.
Re:Show HN: Virtual breadboard in the browser, inspired by B... by colejohnson66 on Tuesday January 19, 2021 @10:07PM (#25842161)
Isn’t that no different than saying, “you can disassemble an exe, so you can still see what it’s doing!” While not untrue, it’s not very helpful.

Although, webassembly is closer to .NET’s CIL. It’s still a form of assembly, but it’s a bit higher level which makes decompiling a bit easier than, say, an optimized (-O3) desktop program.

Re:Show HN: Virtual breadboard in the browser, inspired by B... by trevor-e on Wednesday January 20, 2021 @01:42PM (#25850201)
No I don't think that's a fair comparison, in this case downloading the WebAssembly file is trivial and much more accessible to the average user.
Re:Show HN: Virtual breadboard in the browser, inspired by B... by flohofwoe on Wednesday January 20, 2021 @03:44AM (#25844043)
Not much different from minified Javascript though.

The License page has links to all the used open source projects at least:

https://www.tejotron.com/thirdparty.html

Re:Show HN: Virtual breadboard in the browser, inspired by B... by naikrovek on Tuesday January 19, 2021 @08:36PM (#25841526)
Well JavaScript isn't going to see any more leaps in performance, and people write slower JavaScript than they wrote yesterday, on average, so it must be remediated somehow.

And until a lot of people realize that most web technologies are fundamentally bad, things are not going to get better.

We are not going to be using this same web tech in 300 years, almost certainly, so at some point it's going to change. It won't be soon, because people love tradition, even when it causes them pain.

So, for now, it's webassembly time.

Re:Show HN: Virtual breadboard in the browser, inspired by B... by taneq on Wednesday January 20, 2021 @08:41AM (#25846282)
> people write slower JavaScript than they wrote yesterday, on average

This is only true because computers are faster than they were yesterday, on average. People don't optimize code to some arbitrary absolute level, they optimize code that's slow on their computer.

Re:Show HN: Virtual breadboard in the browser, inspired by B... by postalrat on Tuesday January 19, 2021 @08:02PM (#25841259)
You can still read the source code to all the interfaces webassembly has access to.

“Fear comes from the lack of knowledge and a state of ignorance. The best remedy for fear is to gain knowledge.” ― Debasish Mridha.

Re:Show HN: Virtual breadboard in the browser, inspired by B... by warxmike on Tuesday January 19, 2021 @07:36PM (#25841076)
this is scary, shouldn't there be a way in which we can ship source code (maybe compressed) with the wasm stuff?
Re:Show HN: Virtual breadboard in the browser, inspired by B... by naikrovek on Tuesday January 19, 2021 @08:44PM (#25841586)
How is this scarier than any other software you use but haven't seen the source code to? I don't understand. Unless you've never used software your ENTIRE LIFE, and no one has used any software on your behalf, you have been subject to closed source software.

I'm not saying that this ideal, or even good. I'm asking why it's only scary NOW.

Re:Show HN: Virtual breadboard in the browser, inspired by B... by dotancohen on Wednesday January 20, 2021 @03:48PM (#25851794)

    > How is this scarier than any other software you
    > use but haven't seen the source code to?
The only code on my computer that I do not have the source code to are the JetBrains IDEs and Kerbal Space Program. With both of those companies I have a financial relationship, and both those companies earned my trust, and their software I have to download and install explicitly.

Contrast with webassembly where there is no trust between the entity running the code on my computer, no realistic way for the average user to consent to having code run on their system, and no reason for them to earn trust.

Re:Show HN: Virtual breadboard in the browser, inspired by B... by krallja on Wednesday January 20, 2021 @03:13PM (#25851334)
Re:Show HN: Virtual breadboard in the browser, inspired by B... by systemvoltage on Tuesday January 19, 2021 @10:01PM (#25842121)
I strongly disagree and despise this kind of thinking. Don't get me wrong, OSS is awesome for tooling (shared by many creative professionals) but not for end products. An architect's tools can be open source, but an architect's plan is their own creative output that should not be open source if we make this analogy. Architects can get together and build better tooling for the benefit of all architects - OSS shines here.

This project is a creative output. Stop for a second with entitlement to the source code and just enjoy for what it is and how amazing this project is.

Do you go to museums and ask for what color palette the artist used? It's missing the point, isn't it?