November 22, 2018

RedCon 1 and Ethereum DevCon 4 World Report



Happy November, Red community! We’ve been very busy. Beginning in September, Nenad and Qingtian joined Gregg in Idaho for 6 weeks, in preparation for Ethereum DevCon 4, and to set some things in motion for a  possible U.S. Red presence. Challenges continued to appear at every turn, which kept us on our toes. By the end of October, we were ready to hit Prague for the DevCon, and to have our first Mini RedCon with some of the team. Here’s what happened.

Ethereum DevCon 4



It was a lot of work, leading up to Ethereum DevCon4, and we tried every avenue to sponsor and support the Ethereum community, including submission of possible presentations in every category. Unfortunately, we were not selected to present, as there were only about 50 presentation slots, and over 1000 submissions. Still, we did the best we could, and attended as many sessions as possible that we thought were valuable.
Some of those sessions were very good, some less so. The quality varied widely, as did the type of attendee. It was surprising to find that only a tiny percentage were actual developers, which is our target audience, considering this was advertised as a "Dev" Con, and 70% of the tickets were reserved for "BUIDLers". 1
We noticed a systemic issue at DevCon: There was a lot of hype surrounding many projects, but when it came to actual follow-through, it was hard to find programmers at the DevCon. The hardcore deep-devs on the EVM and language development side were the biggest "clusters" we found. Those writing smart contracts and building actual working project infrastructure were few and far between.2 Some commentary on that in our footnotes.
Nevertheless, we did find some key builders (real ones!) and creators who had valuable insights:
  • One of the people who takes this seriously, and seems to be carefully walking the line of professionalism and community culture, is Sid Coelho-Prabhu of CoinBase. His talk was professional, on-point, clearly stated some of the same problems we see, but also played well to the crypto- and Ethereum-culture crowd. He has a positive approach and is realistic, which was great to see. (Best in Show)
  • The DevEx Breakout EVM Panel consisted of a good cross section of EVM developers, some core, some higher-up, formalists, and others. It gave us a lot of insight into the history of the EVM, challenges it faces, and their thoughts on future ideas. 
  • Another highlight was our meeting with the Solidity and Vyper teams. While we have different goals, let it be known that we have the highest respect for their skills, and the kind of people they are. As outsiders, potentially competitors, they welcomed us, shared insights, and both challenged and supported ideas we shared about our goals and design elements of Red/C3. Our deepest thanks to Alex, Christian, Jacque, and Bryant for seeing us as walking the same road, sharing the goal of making it possible for people to use and experiment with Ethereum on the Distributed Executable Code (Smart Contract) side, which is separate from the EVM team(s). 
Secret Language Design Meeting

On a related note to DevCon, Prague is a beautiful city, and the Ethereum Foundation chose well in selecting it as the host. The Congress Center staff were efficient and professional, and the overall logistics were very well managed. A thank you to the organizers for all their hard work.

RedCon 1

The day after DevCon ended, we held our first RedCon in Prague, bringing together some of our core team, contractors, and new people who were interested in Red and Red/C3. 
We planned an informal event, and that's how it went. We rolled with questions, shifted the agenda as needed, and ate most of the snacks. @rebolek deserves a big round of applause (and leftover beer) for arranging the facility and much more. As is often the case, small groups clustered during breaks to talk about specific topics and get to know each other. 
We were able to answer questions some of the newcomers had, both verbally and in code. It's great to have someone ask "How hard would it be..." and be able to sit down and live code a demo. This is the power of Red.
As far as planned presentations, Nenad gave an overview of Red, and showed some C3 examples, which led to Q&A on more general blockchain aspects as well. It was a nice mix of people on the Red and blockchain sides, helping each other learn a bit about the other side. @rebolek demoed his `values` structured editing prototype, which was very cool. If you thought you needed fancy GUI editors to offer help and extra information to users, you haven't seen what can be done with unicode chars and a little (or a lot of) creativity. Gregg gave a very quick rundown of possible approaches we can take to offer a cron type system for C3. If you aren't into the blockchain side of things, you may not know that there is no internal cron, no way to run something on a schedule. All triggers must come from outside the blockchain, as there isn't even the concept of a clock or current time in the EVM. Those things are handled via "oracles", which is just a fancy term for a reference to some higher authority you trust, outside the blockchain.

The slide deck for Red/C3 presentation can be found here.

Thanks to @endo64 for bringing a camera. As you know, getting a good video setup is a job unto itself, and we couldn't arrange for a separate person to do that this time, but with simple raw footage and some magic applied by @x8x, you can see much of what happened below. Some of the video is hard to read, but many of the graphics are available elsewhere, and we'll make slides available soon.


A few RedCon attendees

Red Foundation Meeting

Another highlight from the trip was a meeting with François Jouen and Azouz Guizani from the Red Foundation. It was a 5 1/2 hour meeting, though we were in Paris, so much of it occurred over a meal in a small cafe. That may sound appealing, but when you forget your notebook, the napkins fill up quickly.
François has been a strong advocate of REBOL and Red for many years. His teaching position and deep desire to help his PhD students led to development of a curriculum where Red is a requirement, not an option. Students have 8 3-hour sessions where they learn the fundamentals of the language, and how to apply it to their domain. These are not Computer Science PhD candidates, but art historians, literature majors, and cognitive scientists. They aren't taught Red in order to make them programmers, but to enable them to use the computer as another tool in their arsenal. 
The passion for his work, and the joy he clearly gets from using Red, are inspiring and infectious. François' combination of skills and talents aren't something we can clone, but seeing it first-hand led to discussion of what it might take to reproduce his approach in other places. You need a champion, and a mix of technical, leadership, and teaching skills; plus deep domain knowledge. François has ported almost half of the OpenCV computer vision library (~400 functions) to Red, as RedCV.

His demos cover a lot of ground, run fast, and demonstrate the value software can bring, if we make it more accessible to people. Some of his students have tried to program before, because they know that's the future in almost any science, but it's too painful and too far from what normal people can do. But when his short course shows them how to create a GUI with VID, they feel empowered. They can build simple tools and see results. With RedCV, an art historian can load an image of a painting, then create their own pipeline of filters and convolutions, to bring out hidden details that are invisible to the naked eye.
Flush with the excitement of seeing Red in use, in the real world, we walked to a small cafe nearby and spent the next 4 hours discussing goals for the Foundation, explaining more about the blockchain aspect and RED tokenomic possibilities to François and Azouz. We also talked about their specific uses cases and needs that might be solved with Red. There are so many things to do, and we sometimes feel overwhelmed, but when you sit down with other people who believe in what you're doing, and support you, it makes all the difference in the world. The next night Azouz joined us again, along with some old colleagues of Nenad's, and we talked more about the technical side.

Conclusion

The days were long, and the nights short. The exhilaration of collaboration gave way to exhaustion as we headed back to our hotels, finding it hard to stop talking and planning. It all came and went quickly, but we learned a lot.
While we hoped for a different experience at DevCon, we have to engage the community if we want to bring value to it. The high points of our meetings with other passionate teams and individuals made it worthwhile. Seeing old friends, and meeting new ones, a room full of Team Red, was great. The little time we had to see sights was invariably filled with tech chat. That all ended too soon and we jetted to our next locations. More plans are in the works, and we'll pick up speed again once the lag wears off.
Until then, Happy Reducing!


1 A comment on the "BUIDLer" term. The Ethereum community wants to grow, to gain adoption, to see their tool used in the real world. We have many thoughts on that, but if that's what they really want, the first thing many projects need is to take themselves seriously. That may sound harsh, and there are serious people doing real work, to be sure. But when billions of dollars are in the mix, and at risk (look how much has been lost this year alone, through hacks and mistakes), it is irresponsible not to take that seriously, and to use inside jokes and memes publicly and prominently. Adding a hashtag and memetic baggage to a powerfully simple concept such as “build” doesn’t mean doing anything actionable or making something real, other than smoke and mirrors. It also puts projects like ours in a difficult position. We are serious, and want to be viewed that way, but our choice to not bury our work in jargon sets us apart. They value inclusivity, so we hope they'll consider our approach and views as another type of diversity: one that evaluates the project on merit, not its use of trendy jargon or rave afterparties.

2 We see a widening gap in the field between those building the technology, and those on the speculation side, who don't know or care much about the technology. While this problem has become endemic to the blockchain, crypto, and distributed-ledger-technology world, it becomes ever more evident at each subsequent major industry event. The majority of attendees of late aren't business people, in the sense that we think of business, but they can throw buzzwords around like you wouldn't believe. We met CTOs who didn't seem to know much tech, and got vague descriptions of what people did. "We onboard people to the blockchain," or "our project decentralizes processes and devaluates [sic] intermediaries." When your own most basic introductory explanation of your business function itself needs a translation to plainspeak, you don’t actually have a job description; without clearly defined roles and results, your whole project is nebulous. If the Ethereum Foundation, project founders, and the community really want to see Ethereum succeed, they themselves need to “devalue intermediaries” spouting what sound like a hollow string of buzzwords with no connection to the real world.

October 23, 2018

Mini RedCon'18

Hello REDucers! Our mission to fight software complexity is going to be showcased alongside Ethereum's Devcon IV in Prague. If you're in the neighborhood, stop by Redcon!



What's Redcon about?


Redcon is for anyone interested in open-source, full-stack, domain-specific languages built using Red Language or any of its dialects. We'll be having a casual meetup-style event, with food and adult beverages.

Who will be there?


Red's designer, Nenad Rakocevic, will discuss the language and its capabilities. A Q&A session, presentations and demos are also on the agenda. Also present will be Gregg Irwin, leading governance and language design for the Red Foundation. Other core contributors to Red (The Team Red Irregulars) are coming too.



What will we discuss?

  • Red/C3, Red's domain-specific language for making Ethereum's smart contracts safer and simpler
  • The latest version of Red Wallet
  • How Red's DSLs build fantastic Dapps
  • World domination (or, "How to take over the world!" for fans of Pinky and The Brain)


What do we get?

  • Treats and goodies
  • Food & drinks
  • Raffle prizes from Leatherman, PacSafe, Travelon, and Victorinox
  • Input on Red tooling and features
  • Join and enjoy the awesome Red community


Where and when?

  • November 3, 2018, from 11am - 5pm (with informal pub time after)
  • Hotel Olšanka, Praha 3, Táboritská 23/1000, PSC (ZIP) 13000.
  • https://www.hotelolsanka.cz/
  • 2ND FLOOR CONFERENCE ROOM


October 20, 2018

RED Wallet - Alpha 2

Thank you for your patience. With all the other work going on, we've been juggling priorities. But now, at long last, it's time for an updated Red Wallet. There are still a lot of pieces in progress for future releases, but this version adds some key upgrades. If you missed the original wallet announcement, here's a short feature list from that:

  • Secure ETH and RED token transactions.
  • Support for the world's leading hardware key: the Ledger Nano S.
  • HD derivation path support: access up to 50 public addresses with the same key.
  • Fast address loading.
  • Fast balance retrieval (thanks to nodes provided by the Red Foundation).
  • Fully open source on Github.
  • Runs on Windows 7/8/10 and macOS 10.1x.
  • Under 300 KB (on both Windows and Mac), no installation, no setup, no external dependencies!
  • Tiny wallet source code: ~500 LOC of Red (plus ~110 KB of Red libs).
  • Custom USB drivers for hardware keys, written in the Red/System DSL.
  • Easy binary checking service to verify that your wallet app is a legit one!
  • Source code under audit by third-party security experts.

We've added a few more LOC. The main wallet code is now 600 LOC, and the new batch feature (explained below) is 300 LOC.

New Features and Improvements


Trezor Hardware Key Support


First, and perhaps most important, is support for Trezor hardware keys. After the Ledger Nano S, the Trezor is the most popular key out there, and they have a nice new version as well, to stay competitive. If you have a Trezor, now you can use the Red Wallet with it. As with the Ledger Nano S, the USB driver for the Trezor is written in Red/System, and built right into the wallet. An added bonus is that the Trezor is smart enough to show the correct destination address when sending RED tokens.



Note that you need the latest firmware on your Trezor for RED token amounts to show correctly. If your firmware is outdated, you may see "Unknown Token Value" on the Trezor display when sending tokens.

Batch Payments


Another nice feature, though without an obvious UI affordance yet, is batch payments. If you send the same amounts to the same addresses, on a regular basis, you'll love this. You can set up a list of addresses, amounts for each, and then click Send just once. You then need to confirm each transaction on the hardware key (that's why we prefer them), but you don't have to go back and forth between the key and the Wallet UI. Click, click, click, and away they go. If a transaction is successful, you'll see a small  appear next to it. If it fails for any reason, a × will appear. To see the detailed results, click the Results button. Successful transactions will open in a browser tab for the network they were sent on, while failed transactions will show the reason in a small window on the desktop.

To access the batch payments screen, select an address in the list, then right-click on it. Select Batch Payment from the context menu, and a batch transaction dialog will open. Add new items, or remove those you don't need. To save a batch for future use, click the Export button. To reload one, click Import. Yes, you can have multiple batches for different purposes. We have more UI changes in the works, to improve usability, and more features to come. For example, you can only send ETH in batch payments today, but we plan to support RED tokens there as well. We're also experimenting with how best to verify stored addresses. Batches are simple text files today, which you can even create by hand if you want, but may be secured in the future. Remember, always verify addresses!

Faster, Stronger, Better


We've also added some new back end pieces, so balance loading is much faster now. We believe we're the fastest wallet out there in this regard. There are also some improvements in how the Wallet handles various hardware key states, which is a fun challenging thing to test and debug, and a few small internal improvements and added tests. With this release, we'll also update our binary checking service, so you can make sure you've got an official, secure build from us. If you want  to check if your RED Wallet binary has been tampered with in any way, you can simply drag'n drop the wallet executable on our binary checking service. If it's valid, the screen will turn green and show you the version (0.2.0 for this release) and target OS. If it turns red with a warning message, please notify us on Gitter or Twitter at once. So far, we haven't had any attacks for fake wallet instances reported. And you can always access the source code, to see how it works, and have your own audits done, in addition to the audits we have done.

Download the RED Wallet application




Just click on the executable to run it (extract the .app file first on macOS), no installation or setup process required. Plug in your Ledger Nano S key and enjoy a smooth and simple experience!

Only download the RED Wallet app from this page, do not trust any other website for that.


There's a lot more in the works, but we're in the throes of preparation for Ethereum DevCon IV, with more exciting news to come on that side.

If you missed the announcement for the initial Wallet release, you can find it here.

Stay tuned, and Happy Reducing!

October 2, 2018

Last Week In Red: 30-Sep-2018

Happy Tuesday everyone!

@lucindamichele here. I’d like to thank everyone who responded on-list and off to our questions about yourselves. It is a big help for us, because our goal is to make Red as responsive to your needs as possible. While our due date has passed, you can still send your responses to myself or Gregg privately, and I can append them to our sheets. Our set of questions is appended at the end of this
update.

Usernames in this update are all Github usernames.

Last week in Red saw contributions from across the spectrum from our heavy hitters. In the midst of gearing up for Ethereum’s Devcon 4 in Prague at the end of October, a diverse number of elements are getting worked on. @qxtie has added Trezor hardware support to the Red Wallet, in addition to the LedgerX hardware, a goodly chunk of work (see: here) as well as the ability to set up a batch of payments. There is also new support provided for homebrew APIs for fetching balances, for those who DIY. This is still work in progress, but we’ll write it up in detail when it’s ready. There has also been a lot of work done to add bitcoin support to the wallet, but bitcoin is messy, and we're still looking at whether it's worth including.

In Red specifically, a number of modifications have been made to work around MacOS issues, and extra attention paid to the GC/recycle facility, with fixes and tests from @dockimbel, @PeterWAWood, and @qxtie.

As for new issues, some GUI aberrations have been observed, related to the appearance of checkboxes and buttons. While not blue-screen-of-death critical, they have been flagged as bugs and will be addressed.Cross platform GUIs are hard, which is why so few do them.

In the community, some great discussion has been transpiring around the issue of Red’s mission: is it, or should it be, for “everyone” as our public-facing documentation states? And many folks have stated that while they generally don’t pay for software themselves, they WOULD be willing to shell out for a comprehensive book volume (chat is here) on the subject of Red.

Join the discussion at https://gitter.im/red/red. Also, more cool demos from @toomasv, who built a protototype interactive GUI editor, and demoed it building a little live-code app.

If you will be at Ethereum DevCon 4, or in the general area of Prague during the first week of November, hit up @GreggIrwin or @dockimbel; they will be hosting a small, informal RedCon after the main Ethereum event. We’d love for you to be there.


Those community questions, again:

1) Do you consider yourself a programmer?
2) Do you consider yourself a software engineer?
3) Do you solve business problems with software?
4) What kind of problems do you solve?
5) What other languages have you used?
6) What is your favorite language, and why?
7) Is "progammer" or "developer" in your job title?
8) Do you think Red should be for "everyone" (e.g., like Visual Basic)?
9) Do you want to use Red for real work, or just fun?
10) What software do you pay for?

Keep the Red light burning,

@lucindamichele

September 25, 2018

Hello (again) world! Our Weekly Recap

(Cool announcement buried below, like a prize in cereal.)

1. A goodly part of our Fellowship of Red Magicians ("rogues" would be more alliterative, but I don't think they qualify) are cloistered in the wilds of Idaho, casting spells and muttering arcana over Red with more far-flung fellows. Right now, @dockimbel, @qxtie, @PeterWAWood and @greggirwin are
working magic on Garbage Collection, which has now been merged into the master branch. Debugging was a big challenge, and writing tests equally so. There are many subtle details that may not be intuitive, like the fact that series values don't shrink when items are removed. As you use the GC version, don't be too hasty to file bug reports. Confirm via community chat that you understand the expected behavior.

2. In red/docs, we're fleshing out our translations and adding more documentation of datatypes. In red.specs, @meijeru has expanded his discussion of the existing repertoire of errors to include ways the user can define errors for themselves. Meanwhile, @tovim's latest Czech translations have been added (here, and here). And new descriptions of datatypes from @gltewalt have been placed here.

3. Your prize for reading down: We'll be at the Ethereum Devcon! See you in Prague, October 30 - November 2! Tickets were hard to come by, each wave selling out in less than a minute. We're excited to talk to core devs and tell them about Red/C3.

4. Regarding Issues, if you notice reproducible issues, please document them as thoroughly as possible on github. New issue #3541 was handled promptly by @dockimbel. #3536 observed that when 'make hash!' was applied to a value of which there were a very large number of looped interations, Red revs up the CPU usage and grinds away for quite a while before producing a result, so we've reviewed it and added it as a bug. Of interest also is #3530, in which @dsunanda observed some laggy movement when setting a panel as loose.

5. Answer our questions for the community, before it's too late! Go here. I'll be collating your responses this week. Thanks to everyone who's already added their voice, including @rebolek, @BeardPower, @dander, @codenoid, @ungaretti, a few guys named Alexander, and many more.

If I have missed something you'd like to know more about or if you have questions/concerns, please reach out to me: lucinda_red on twitter, or lucindamichele on most every other platform. Have a great week!

September 17, 2018

So much to say, so little time

We know everyone is anxious for the 0.6.4 release with garbage collection and it is close. A couple of changes are being wrapped up on the RED wallet and then the final nails will be hammered in on 0.6.4. Thanks to @bitbegin and @qtxie for all their work in those areas.

It's amazing to have @dockimbel walk you through a log analysis and how some debugging was done for GC, inner details of func spec caching, and preview some features in the new GUI console. Even better, he walked me through them in person. That's right, he and @qtxie are here in the U.S. for a deep dive of business and technical work. The days are long, and the coffee is flowing, but we are Red-powered.

Thanks to @lucindamichele for getting the news flowing regularly, and now on to her weekly report.

Last Week In Red


Tell us about yourself and what you'd like to see Red become! Over at https://gitter.im/red/red we have a few questions for you. They're also at the bottom of this message.

More of your input and questions go into documentation: this exchange on Gitter https://gitter.im/red/help?at=5b9813e5728ddf02829371bc prompted a further fleshing out of ways block elements can be accessed: (1) using slash and a numeric index; (2) treating the block as a key/value store (these in addition to originally defined comparative functions like `=, ==, <>, >, <, >=, &lt;=, =?`).

We also saw a number of fixes to the RED Wallet, making it even more stable and flexible in response to data entries. Transactions that are waiting in the pending pool can be edited with greater clarity and simplicity; the wallet now lets you review the amount and address of your transactions.

In Red's Garbage Collection, following the previous week's fixes, some new tests of object recycling were added.

The community project red.specs-public -- a guide to the syntax and semantics governing the language -- added the option to search the repository by datatype.

In his nimble diagramming tool, user @toomasv continues to expand its interactive capabilities, adding a layer for re-sizing of diagram data and further defining shapes.

And here are your questions, go answer them on Gitter, here:
https://gitter.im/red/red?at=5b9af21854587954f99bd32d

1) Do you consider yourself a programmer?
2) Do you consider yourself a software engineer?
3) Do you solve business problems with software?
4) What kind of problems do you solve?
5) What other languages have you used?
6) What is your favorite language, and why?
7) Is "progammer" or "developer" in your job title?
8) Do you think Red should be for "everyone" (e.g., like Visual Basic)?
9) Do you want to use Red for real work, or just fun?
10) What software do you pay for?

We've seen a lot of great responses so far, which tell us about how are people using Red, who they are, which will help us prioritize features. Keep 'em coming, and Happy Reducing!

September 10, 2018

A quick note, and recent updates

More to Come


It's been quiet here for a while, but busy as can be on the development and planning sides. We have new web sites ready to be filled with content, and all this blog content will transfer. On the PR side, Lucinda Knapp is helping us get organized, and get more regular announcements out. They'll be brief, recapping recent work and notes of interest from https://progress.red-lang.org/ as well as Gitter and other community channels.

We have a lot to talk about, and hope to do that soon. If we could just focus on development, things would be much easier. Our focus, as planned, is on the blockchain aspect and C3, but we still need to fill the gaps in the core to support that. And we have to build a business so it's sustainable. The token sale was a huge success but, in spite of that, we are subject/victim to crypto volatility. Do the math. Plans made in January had to be adjusted. Heck, plans made a week ago had to be adjusted. The token sale also came at a huge cost in other obligations. Things we might call distractions. It wasn't just "Here's a bunch of ETH, now go and do what you really want for a year." If only that were true.

There's a solid core team, support from about a dozen people in a semi-official capacity, and we have a great community. As an open source project, we live or die by that community. Otherwise we could just build what we want, and provide dev and consulting services around that. But we want to change the world. We want to help fix what is broken in software development, all while paying our own bills and eating regularly. To do that, we need you. Every little bit helps. While we need a couple more deep, experienced system-level coders (point them to us if you know any), almost anyone can contribute in some way. Reach out. Tell us what your skills are, what you're interested in, how you're using Red, or specific roadblocks you hit with it. "I need Full I/O" is not specific. 😶 Specific is important, because if you are trying to use it for something, that means you have needs and skills in that area. And you're probably not alone.

Our huge thanks to the community leaders, those working on tests and documentation, and experimental projects and research. There is a lot going on, and we're working hard to make things happen that are really worth announcing. 

Happy Reducing!

Last Week in Red


New and notable in Red development: Numerous fixes in garbage collection, addressing crashes both with the recycling of red-symbol, and on macOS after allocating virtual memory. Quick-test.r saw a change, adding a precall. On the Docs side, the percent! datatype was committed by @gltewalt,
applying percent! to typesets number! and scalar!, and it has been added to SUMMARY.adoc.

And among Red community projects, Gritter, a Red Gitter client, has seen feature updates including the mapping of antecendent post-time periods."Starting to be useful," writes @rebolek. In an update to the README.md of OTP/ssword, @planetsizecpu notes that the otp generator is dependent upon
user selected parameters for its strength, meaning it's on the user to determine how strong that password is.
Fork me on GitHub