Skip to main content

Suche

Beiträge die mit Create getaggt sind


 
A #Tiny #Crustacean Could #Help Us #Create #Biofuel From #Wood
Bild/Foto
The termites of the sea could hold the key to sustainably transforming wood into a liquid biofuel.
https://futurism.com/biofuel-wood-crustacean-gribble/

 

Using D to Create the World’s Fastest File System


HN Discussion: https://news.ycombinator.com/item?id=18606127
Posted by aldacron (karma: 35)
Post stats: Points: 86 - Comments: 39 - 2018-12-05T06:34:04Z

\#HackerNews #create #fastest #file #system #the #using #worlds
HackerNewsBot debug: Calculated post rank: 70 - Loop: 120 - Rank min: 60 - Author rank: 116

 

Texas Is About to Create OPEC’s Worst Nightmare


To continue, please click the box below to let us know you're not a robot.

HN Discussion: https://news.ycombinator.com/item?id=18505672
Posted by selimthegrim (karma: 1754)
Post stats: Points: 88 - Comments: 94 - 2018-11-21T20:15:15Z

\#HackerNews #about #create #nightmare #opecs #texas #worst
Article content:

To continue, please click the box below to let us know youʼre not a robot.

HackerNewsBot debug: Calculated post rank: 90 - Loop: 137 - Rank min: 80 - Author rank: 13

 

Show HN: Glorious Demo – Create animations for your code samples


The easiest way to show your code in action.
Article word count: 44

HN Discussion: https://news.ycombinator.com/item?id=18363668
Posted by Daktest (karma: 85)
Post stats: Points: 113 - Comments: 14 - 2018-11-02T15:24:36Z

\#HackerNews #animations #code #create #demo #for #glorious #samples #show #your
Article content:




[1]
const gdemo = new GDemo(ʼ[data-demo-container]ʼ); const code = ʼconsole.log("Hello World!");ʼ const highlightedCode = Prism.highlight( code, Prism.languages.javascript, ʼjavascriptʼ
); gdemo .openApp(ʼeditorʼ, { minHeight: ʼ400pxʼ, windowTitle: ʼdemo.jsʼ }) .write(highlightedCode, { onCompleteDelay: 2000 }) .openApp(ʼterminalʼ, { minHeight: ʼ400pxʼ, promptString: ʼ$ʼ }) .command(ʼnode ./demoʼ) .respond(ʼHello World!ʼ) .command(ʼʼ) .end();

References

Visible links

HackerNewsBot debug: Calculated post rank: 80 - Loop: 485 - Rank min: 80 - Author rank: 94

 

Alan Kay: Is it too late to create a healthy future? [video]


HN Discussion: https://news.ycombinator.com/item?id=18355010
Posted by tosh (karma: 28813)
Post stats: Points: 235 - Comments: 79 - 2018-11-01T15:41:12Z

\#HackerNews #alan #create #future #healthy #kay #late #too #video
HackerNewsBot debug: Calculated post rank: 183 - Loop: 499 - Rank min: 100 - Author rank: 64

 
My 4 fucking projects: if you want to support me @ https://liberapay.com/rixty or @ https://www.paypal.me/trixty

Ptojects Transparency:
https://cloud.unitoo.pw/index.php/s/dnt9FBboWyYLnEH

- #UnitooMusicAwards (Pay an annual subscription to participate)
Bild/FotoBild/FotoBild/FotoBild/Foto
https://liberapay.com/UMA
Bild/Foto
The first #world #music #awards where all the #independent #artists can #participate, paying a small cost of participation, provided they release ONE #song in #CreativeCommons.
Participants:
- yPhil - https://framapiaf.org/@yphil
- Tre Chiodi
(currently I can not find a webradio that only transmits music in creative commons / copyleft that gives me a hand… I contacted 6-7 webradio, but they all get scared LOL)

- #UnitooCosplay (Pay 5 euro registration to participate)
Bild/FotoBild/FotoBild/FotoBild/Foto
https://liberapay.com/UnitooCosplay


Would you #participate in an #online #contest on the #cosplay of exclusively #opensource #characters? if YES, how much would you #pay to sign up?
poll link → https://linkto.run/p/SWUIXNER
Character List → https://cloud.unitoo.pw/index.php/s/HQy7B5zNg2BB9mX

- #UnitooComics (Free registration forever)
Bild/FotoBild/FotoBild/FotoBild/Foto
https://liberapay.com/UnitooComics


The intent is to enhance #independent #cartoonists giving them full #freedom to #create anything they want, without having to submit to any “rule”, except to #release all the material in #Creative #Commons. What would like to become Unitoo-Comics for independent cartoonists is what is, currently, the Marvel and the DC comics for the current “commercial products”
A #free, #libre and #open-source #webcomic, #supported directly by its #patrons, to change the #comic #book #industry!
Participants:
- 🔥 brAndkopf 🔥 - https://mastodon.art/users/brandkopf
- Sissone - https://framasphere.org/u/sissone
Character List → https://cloud.unitoo.pw/index.php/s/HQy7B5zNg2BB9mX
- #Anti-Herows → 41
- #Heroes → 237
- #Mascots → 71 (not finished)
- #Villains → 138
- #Fusions → 0 (not started)

- #UnitooEsports (Pay an annual subscription to participate)
Bild/FotoBild/FotoBild/FotoBild/Foto
https://liberapay.com/UnitooEsports


I was thinking of opening the inscriptions also for e-sports with open source games … but taking a server is currently too expensive, so for now I put the idea (momentarily) aside lol

 
- #Researchers #Create #StarWars - Like #Powerful #Atomic #Tractor #Beam in #Physics First


Take a bow George Lucas! These scientists have finally demonstrated the first real highly efficient ‘waveguide trap’ using a little Star Wars inspiration.
https://interestingengineering.com/researchers-create-star-wars-like-powerful-atomic-tractor-beam-in-physics-first

 

Create your own dysfunctional single-page app


Single-page apps can be hard for product organisations to execute well. Here are five common mistakes I've seen. Spoiler: they are mostly about people rather than technology.
Article word count: 2500

HN Discussion: https://news.ycombinator.com/item?id=18341993
Posted by semanticist (karma: 2048)
Post stats: Points: 125 - Comments: 64 - 2018-10-30T23:07:00Z

\#HackerNews #app #create #dysfunctional #own #single-page #your
Article content:




Single-page web applications damage businesses.

OK, now that we have the attention-grabbing, controversial introductory premise out of the way, I want it to be known that I love a well-executed single-page app (SPA) as much as the next JavaScript developer – in the right circumstances.

But I do believe my opening statement is true for many organisations that have gone head first into developing an all-JavaScript browser-based app without asking themselves whether it’s necessary, whether they are set up to succeed or what the alternatives could be.

The Vision

It’s all too easy to look at prime examples of single-page apps like Google Maps and think “we could build something like that!”

After all, it’s just a website, right? There are open source JavaScript frameworks like React and Angular that can help us build it. Other teams have built amazing things with these technologies. We know because we use them ourselves all the time.

But it’s far easier to create a single-page app that doesn’t fulfil this vision. We can easily end up with a sluggish app that resists improvement and repels new features. There is a very long tail of quality in JavaScript apps, especially in enterprise settings.

I’ve seen this often in my consulting work with product teams. They can struggle with single-page apps because they underestimated the investment of time, expertise and energy required to make them anywhere near as good as the Google Maps of this world.

Let’s look at how this can happen. Spoiler alert: it’s got very little to do with the technology and a lot to do with teams and people.

Assumed user benefits

Product teams are drawn to single-page apps in the first place because there are some implied or assumed universal benefits to users (and therefore to the bottom line of the business).

Curiously, we don’t often talk about the user benefits of SPAs, preferring to talk about features and characteristics instead.

I think are three broadly assumed user benefits of single-page apps:

1. Improved user experience. We are providing application-like patterns of interaction comparable to native desktop or mobile apps, focusing on data and tasks rather than an arbitrary page and document model.
2. Improved perceived performance. Instead of interrupting task flow with full page refreshes we can provide visual feedback, and allow users to continue other tasks in parallel.
3. It’s still the web. We can take advantage of all the benefits of the web platform: universal access and device compatibility, no installation, deep linking, sharing, indexing, etc.

These benefits depend on execution, building on the approach we’ve taken. They do not come free with the JavaScript frameworks and libraries we have adopted, despite any messages propagated by marketing or hype.

Single-page apps represent a shift of complexity to browser-based code. Not just away from the server, but in some cases away from browser-native features too. We’ve seen this before. They used to be called thick clients. In the latter days of Flash, they were Rich Internet Applications. Now, many people just refer to them as web apps.

Unfortunately, plenty of teams end up creating a mess, because they fail to adapt their approach for developing thick clients applications, where the complexity is concentrated in JavaScript code that runs on the uncertain and varied computing environment that is a user’s device.

5 mistakes to create a dysfunctional single-page app

Below are five common mistakes I’ve seen teams make when building a SPA-based product. Each of these are people or practice problems that we often interpret as pure technology problems.

Unfortunately, each mistake can lead to the next, compounding the overall situation.

Mistake 1: Under-estimate long-term development and maintenance costs

Many teams underestimate the time and cost necessary to make a high-quality single-page app.

There are a lot of conspiring reasons for this.
Framework marketing focuses on the early developer experience

Framework marketing and discussion tends to focus on the ease of early development work, rather than on long-term maintenance. How much of the framework marketing makes claims of helping you to write code that’s easy to refactor? Not much. Likewise, educational resources around refactoring are rare compared to the army of introductory tutorials.
Low visibility of the true maintenance costs

This is true of all software of course, but many technical managers have limited experience of running the development of JavaScript-heavy apps, so the maintenance and continual improvement tax of single-page apps can come unexpected if you haven’t been there.
Incremental improvement work is de-prioritised

In small product companies, UI product work is often expected to go at a break-neck pace. Continual improvement, refactoring and gradual long-term migration work can be seen as an unnecessary tax on feature velocity. The long-term result can easily be utter seizure due to technical and product debt.

Mistake 2: Use the single-page app approach unilaterally

This mistake reflects the most common argument against using the single-page app approach. It’s not the right approach to take in many circumstances.

When we start a project, many development teams make a single default choice of technical approach to cover all anticipated functionality. This usually means that your framework of choice absorbs everything, irrespective of user needs. “At BobsWidgets we use React!” screams the developer job advert.

This pre-emptive decision-making can be risky. Using the SPA pattern for everything can be overkill. After all, your typical business app is a Create-Read-Update-Destroy (CRUD) affair – possibly with one or two key features that demand a genuinely dynamic, data-driven UI. Mapping and real-time data visualisation are obvious examples.

But that doesn’t mean the other parts should suffer as a result. We are assuming that the user benefits of creating all functionality with JavaScript apply evenly across a product. I’m not convinced from what I’ve seen.

We ask “What framework should we use for this whole app?” for new products up front, when we don’t even understand what we’re building yet. It’s far less wasteful to ask “What technical approach best supports this user need?” on a case-by-case basis as we learn more about those user needs during incremental product design and development.

This up front decision making often means that progressive enhancement (PE) goes out of the window immediately, sacrificed for the benefit of developer convenience and consistency of tooling and approach. Instead we assume universal JavaScript operability and hope the framework we have chosen will provide adequate performance and accessibility capabilities out of the box.

This is just one example of a collective bias towards focusing on work inputs (the tools we use and the code we write) over their outcomes (the value our product brings to users and customers).

Mistake 3: Under-invest in front end capability

Complexity in web apps has shifted from back end to front end in the last ten years. Or, more accurately, we’re attempting to offer more capability, which results in more complexity overall. The front end is taking on most of this new complexity.

Front end JavaScript application development patterns are still in a developing phase, in the face of a rapidly evolving language, web platform and uncertain execution environments. This means more work has to go into providing equivalent complexity than in the back end.

The balance in product team capabilities has not always shifted in line with this. Perhaps attitudes and habits are slower to change than technology adoption.

We’ve also seen the rise of the full-stack developer role in recent years. This is the industry’s collective attempt to deal with this shift in complexity as cheaply as possible, by forcing these skills to become a commodity. While individuals with genuinely incredible full-stack expertise do exist, they are rare, and not easily accessible to most companies.

The industry hypothesis that the full-stack developer represents is that software development expertise is portable from back end to front end without the need for a lot of expensive re-training. The same set of principles apply. This is true to some extent, but does not magically apply to knowledge of the web as a medium and platform. The transferability of skills is partial at best.

Here is one of the many jokes about full-stack developers:

These jokes are a little unfair on individuals, who are just trying to create a rewarding career for themselves. (There’s also a lot of bad and inconsistent advice out there on how to do this, by the way.)

For me, the full-stack developer mythos distracts from the need to think about the team as the unit of expertise.

In reality, everyone has qualitatively different capabilities and potential. Reducing capability to front end vs back end is over-simplistic, as is lumping a very broad set of skills into the full-stack developer role. It’s symptomatic of treating individuals as commoditised resources.

Shifting an existing product team’s capabilities more toward the front end to match the shift in system complexity requires a considered combination of training, coaching and recruitment. In other words: investment.

Unfortunately, this investment rarely happens intentionally, by the organisation that needs it, at the team level. Instead, teams are typically expected to learn on the hoof, sometimes at their own expense and in their own time.

Even worse, front end work is often given as an isolated piece of work to an inexperienced developer or intern to figure out by themselves without much in the way of mentoring or training. Learning on the job, in the W. Edward Deming sense, is fine. But leaving someone inexperienced to do it without guidance doesn’t count.

Underlying much of this is the persistent belief that front end development is relatively easy. As an opinion, it is stated overtly less often now, but its impact can still be seen in the way that teams behave and are managed.

Mistake 4: Use naïve dev practices

Under-investing in front end skills has knock-on effects.

The relative ease with which we can create working software with JavaScript frameworks is alluring. But naïve development practices can threaten the long-term maintainability and quality of products.

Poor development practices reinforce each other:
\* Poor or no test coverage, results in… 
 \* Highly-coupled code, that encourages… 
 \* Over-engineered solutions, that leads to… 
 \* Big monolithic balls of mud, that forces us to deliver… 
 \* Giant monolithic asset bundles

All of this makes it unlikely that we’ll deliver on those assumed user benefits we talked about earlier.

[1]Performance in particular is a big problem with JavaScript-heavy apps, and particularly on mobile devices. While framework maintainers are working hard to improve the situation, we still have our existing apps to deal with.

If you want to improve the situation, you first need a code base that is amenable to improvement. For example, [2]Addy Osmani’s excellent advice in his post about modern JavaScript application performance is hard to implement for existing apps if you don’t have well-structured foundations.

Skills in the gradual rescuing, rejuvenation, profiling and speeding up of existing JavaScript applications are hard to learn. So they are hard to come by in the employment market. Which leads us to the alternative approach…

Mistake 5: Surf the waves of framework hype

Once we find ourselves with a poorly-executed single-page app (using our simple four-step plan!), we naturally want to do something about it. This is a very dangerous situation. It’s here where we can do serious compounding damage to the business.

It’s all too easy to blame a failing app on the technology and tools that were used to create it. In this case, the most common target for our rancour is the JavaScript application tooling we chose. After all, all that shiny marketing and positivity at the outset promised us a Google Maps or at least something we’d enjoy working on.

Our team’s inability to move the product forward at speed; the redesign of that core piece of functionality that took six months instead of six weeks; those two developers that left the company out of frustration; the poor UX and performance. These are easily blamed on the technology we chose a couple of years ago. (Or that someone else chose a couple of years ago.)

So, we look at the alternatives.

And the quickly changing attitudes of the wider JavaScript community provide plenty of alternatives to tempt us.

The regularity with which new JavaScript frameworks, libraries and their associated ecosystems have risen to popularity in the last five years seems to match the cadence at which product teams get frustrated with their technology choices. Is this a coincidence?

I’m going to make a questionable argument in favour of this using The Gartner Hype Cycle. This infamous chart plots the visibility of a technology over time.

Could it be that product teams complain about their web app about here…

[3]The Gartner Hype Cycle, showing the visibility of technology over time. The visibility takes a sharp dip after ʼthe peak of inflated expectationsʼ.

… just as an alternative tool is rising in popularity?

[4]Two Gartner Hype cycles, with React and Vue.js staggered one after the other

In extreme cases we can end up in a situation like the one below, as various attempts to rewrite a whole app or significant parts of it are undertaken, leaving a trail of frameworks and libraries throughout the code.

[5]Lots of cycles, one after the other, focusing on hype only

This is another way of illustrating the [6]developer experience bait-and-switch, as described robustly by Alex Russell.

I may have been responsible for allowing something like this to happen in a rapidly growing product myself. I apologise unreservedly to anyone I’ve ever worked with who has had to deal with this. But I wouldn’t be the only one, by a long shot.

The fickleness in the JavaScript community has died down a little in the last few years. We may actually be seeing some consolidation around component-based approaches as offered by ecosystems (don’t say framework) like React, Angular or VueJS.

But there is still plenty of churn around other application capabilities like state management, handling of CSS and the use of platform native capabilities. Change is constant, but inconsistent.

Even if you’re a committed vanilla JS (no framework) advocate, there is still change around the JavaScript language itself, build and developer tooling, dependency management, utility libraries, browser support and the web platform itself to contend with. Not using a framework at all doesn’t sidestep the problem.

So, what’s the solution, Mr. Grumpy?

This article is far too negative and long enough thank you, so I’ll be looking at approaches to getting some way out of this mire in a future post.

Few teams will have encountered all five of the problems above. They can surface at different times in a product’s lifecycle.

As pointed out at the start, the common thread of the problems I’ve identified above is not technology in itself, but people. We focus far too much on technology as the solution to problems that are not based in technology.

We don’t talk enough about team structure, dynamics, skills and capabilities, about the cost of writing and maintaining multi-platform asynchronous browser-based software, and about healthy and sustainable long-term software development practices.

That should give you some clues as to how product teams can start to address the situation.

This article is based on my talk [7]How to Survive the Single-Page App-ocalypse, first presented at The Lead Dev London conference in June 2018. [8]Slides for this talk are available on Noti.st.

References

Visible links
1.
2. https://medium.com/@addyosmani/the-cost-of-javascript-in-2018-7d8950fbb5d4
6. https://infrequently.org/2018/09/the-developer-experience-bait-and-switch/
7.
8. https://noti.st/froots/ICNNZT/how-to-survive-the-single-page-app-ocalypse

HackerNewsBot debug: Calculated post rank: 104 - Loop: 234 - Rank min: 100 - Author rank: 42

 

A purpose for this Friendica Node?


This node was started as a temporary test bed to try out Friendica. We have a large community that relied on Google+ and is in need of a good solution to replace it.

Over the past few weeks, I have been dropping out of the big social media sites. I quit Facebook completely yesterday. G+ is going away. I refuse to follow people to MeWe, for various reasons. With the US elections coming up, people have been particularly vile. I honestly cant take the relentless negativity anymore. But I am kind of heartbroken. There are people I will miss. And Google+ was a great place to post about things I create, and a few people actually appreciate it and care. So there is a great void.

I think, in the coming weeks, I am going to redouble my efforts and get this node/site really spiffy, and working well. And dedicate this to a foolish idea. How about a "nice" social media site? We lay off calling each other names, throwing snotty memes at each other. Talk about Trump someplace else.

What I would like to see, this dedicated to being a place to show off the cool, creative stuff you do. Art, music, programming, gardening, knitting.. what have you. :) I know there are tons of big ones that fill that need. But small and intimate is good too, with more of a sense of community. If things aren't the way you like it. You can harangue Hyacinth about it, and she'll probably fix it or add a feature. Where else are you going to get that!? :)

I am working on another node, that is specifically for my virtual reality community. BUT I am developing some neat stuff. We have our own miniature version of Youtube, a search engine and all kinds of stuff I am integrating into Friendica. So this could really be a cool little site, with a lot of good features and services in-house. So in the coming weeks I can bring all that to this node as well. And with any luck, a lot of my friends from Facebook are tired too. So they might find this a better way to spend their time. :)

#friendica #dropfacebook #be-nice #create

 

‘Two-faced’ membrane can create electricity from salty and fresh water


New membrane acts as one-way path for charged particles
Article word count: 388

HN Discussion: https://news.ycombinator.com/item?id=18315799
Posted by flippyhead (karma: 2118)
Post stats: Points: 110 - Comments: 33 - 2018-10-27T14:25:31Z

\#HackerNews #and #can #create #electricity #fresh #from #membrane #salty #two-faced #water
Article content:




By [1]Frankie SchembriOct. 26, 2018 , 2:00 PM

Imagine being stuffed into a crowded train car and noticing a less crowded one just down the platform. You’d probably want to move over as soon as possible. Particles that follow this balancing act—known as osmosis—spontaneously move from an area of high concentration to one of low concentration. Now, scientists have used this tendency to create a power-producing membrane that can harvest electric current from nothing but salty water.

When ionic salts, made of bundles positively and negatively charged particles, dissolve in water, the bundles break apart, leaving positively and negatively charged particles free to participate in osmosis. By placing charged, thin membranes in between salty water and freshwater, scientists can create an expressway for the flowing particles, generating electric current. But these membranes are often expensive to manufacture and they tend to get leaky over time. That lets particles pass back through in the wrong direction, cutting into how much electricity they can produce.

Now, researchers have developed a new kind of gatekeeper—a “two-faced” membrane that has different properties on either side, from the size of the pores to the charge of the membrane itself. This encourages a steady flow of charged particles from one side to the other while preventing them from drifting back in the wrong direction. These so-called Janus membranes, named after the ancient Roman god of gates and passages, can also be manufactured to have different-size pores and hold different charges, allowing them to accept different kinds of particles.

The researchers tested their Janus membranes with salty sea water on one side and fresh river water on the other. They found the devices were able to convert 35.7% of the chemical energy stored in the salty water into useable electricity. That’s [2]as efficient as most wind turbines and higher than most solar cells, they report today in Science Advances.

Next, the researchers plan to build larger membranes and see whether they can withstand the conditions of real sea and river water. If the membrane performs as well in “the wild,” the new membranes could be used to power remote communities with no other sources of renewable energy in just a few years, the researchers say. That suggests that when it comes to harvesting power from moving particles, being a little two-faced is a good thing.

References

Visible links
1. http://www.sciencemag.org/author/frankie-schembri
2. http://advances.sciencemag.org/content/4/10/eaau1665

HackerNewsBot debug: Calculated post rank: 84 - Loop: 171 - Rank min: 80 - Author rank: 36

 
- #Create #Professional #Animations with This #Award-Winning #Software


CrazyTalk Animator 3 Pro is an incredibly simple-yet-powerful piece of software that lets you create a limitless number of eye-catching videos and animations.
https://interestingengineering.com/create-professional-animations-with-this-award-winning-software

 
My 4 fucking projects: if you want to support me @ https://liberapay.com/rixty or @ https://www.paypal.me/trixty

Ptojects Transparency:
https://cloud.unitoo.pw/index.php/s/dnt9FBboWyYLnEH

- #UnitooMusicAwards (Pay an annual subscription to participate)
https://liberapay.com/UMA]https://liberapay.com/UMA ←
Bild/Foto
The first #world #music #awards where all the #independent #artists can #participate, paying a small cost of participation, provided they release ONE #song in #CreativeCommons.
Participants:
- yPhil - https://framapiaf.org/@yphil
- Tre Chiodi
(currently I can not find a webradio that only transmits music in creative commons / copyleft that gives me a hand… I contacted 6-7 webradio, but they all get scared LOL)

- #UnitooCosplay (Pay one-euro registration to participate)
https://liberapay.com/UnitooCosplay


Would you #participate in an #online #contest on the #cosplay of exclusively #opensource #characters? if YES, how much would you #pay to sign up?
poll link → https://linkto.run/p/SWUIXNER
Character List → https://cloud.unitoo.pw/index.php/s/HQy7B5zNg2BB9mX

- #UnitooComics (Free registration forever)
https://liberapay.com/UnitooComics


The intent is to enhance #independent #cartoonists giving them full #freedom to #create anything they want, without having to submit to any “rule”, except to #release all the material in #Creative #Commons. What would like to become Unitoo-Comics for independent cartoonists is what is, currently, the Marvel and the DC comics for the current “commercial products”
A #free, #libre and #open-source #webcomic, #supported directly by its #patrons, to change the #comic #book #industry!
Participants:
- 🔥 brAndkopf 🔥 - https://mastodon.art/users/brandkopf
- Sissone - https://framasphere.org/u/sissone
Character List → https://cloud.unitoo.pw/index.php/s/HQy7B5zNg2BB9mX
- #Anti-Herows → 41
- #Heroes → 237
- #Mascots → 71 (not finished)
- #Villains → 138
- #Fusions → 0 (not started)

- #UnitooEsports (Pay an annual subscription to participate)
https://liberapay.com/UnitooEsports


I was thinking of opening the inscriptions also for e-sports with open source games … but taking a server is currently too expensive, so for now I put the idea (momentarily) aside lol

 
- #Novel #3D #Bioprinting Could #Create #Functioning #Artificial #Blood #Vessels and #Organ #Tissues


Researches have developed an advanced 3D printing technique with promising biomedical uses such as the engineering of artificial arteries and organ tissues that mimic real ones.
https://interestingengineering.com/novel-3d-bioprinting-could-create-functioning-artificial-blood-vessels-and-organ-tissues

 
My 4 fucking projects: if you want to support me → https://www.paypal.me/trixty

- #UnitooMusicAwards
https://liberapay.com/UMA
Bild/Foto
The first #world #music #awards where all the #independent #artists can #participate, paying a small cost of participation, provided they release ONE #song in #CreativeCommons.
(currently I can not find a webradio that only transmits music in creative commons / copyleft that gives me a hand… I contacted 6-7 webradio, but they all get scared LOL)

- #UnitooCosplay
https://liberapay.com/UnitooCosplay


Would you #participate in an #online #contest on the #cosplay of exclusively #opensource #characters? if YES, how much would you #pay to sign up?
poll link → https://linkto.run/p/SWUIXNER
Character List → https://cloud.unitoo.pw/index.php/s/HQy7B5zNg2BB9mX

- #UnitooComics
https://liberapay.com/UnitooComics


The intent is to enhance #independent #cartoonists giving them full #freedom to #create anything they want, without having to submit to any “rule”, except to #release all the material in #Creative #Commons. What would like to become Unitoo-Comics for independent cartoonists is what is, currently, the Marvel and the DC comics for the current “commercial products”
A #free, #libre and #open-source #webcomic, #supported directly by its #patrons, to change the #comic #book #industry!
Participants:
- 🔥 brAndkopf 🔥 - https://mastodon.art/users/brandkopf
Character List → https://cloud.unitoo.pw/index.php/s/HQy7B5zNg2BB9mX
- #Anti-Herows → 41
- #Heroes → 237
- #Mascots → 71 (not finished)
- #Villains → 138
- #Fusions → 0 (not started)

- #UnitooEsports
https://liberapay.com/UnitooEsports


I was thinking of opening the inscriptions also for e-sports with open source games … but taking a server is currently too expensive, so for now I put the idea (momentarily) aside lol

 

See what you can create with 140 characters of JavaScript and a canvas


Loading... Next page

HN Discussion: https://news.ycombinator.com/item?id=18205008
Posted by pajtai (karma: 216)
Post stats: Points: 115 - Comments: 15 - 2018-10-12T21:55:37Z

\#HackerNews #140 #and #can #canvas #characters #create #javascript #see #what #with #you
Article content:

Loading...

[1]Next page

References

Visible links
1. https://www.dwitter.net/?page=2

HackerNewsBot debug: Calculated post rank: 81 - Loop: 209 - Rank min: 80 - Author rank: 30

 

Penrose: create diagrams by typing mathematical notation in plain text


Penrose is a platform that allows people to create beautiful diagrams just by typing mathematical notation in plain text. The goal is to make easy for non-experts to create and explore high-quality…
Article word count: 206

HN Discussion: https://news.ycombinator.com/item?id=18178230
Posted by mathgenius (karma: 4830)
Post stats: Points: 154 - Comments: 38 - 2018-10-09T17:54:47Z

\#HackerNews #create #diagrams #mathematical #notation #penrose #plain #text #typing
Article content:

Penrose is a platform that allows people to create beautiful diagrams just by typing mathematical notation in plain text. The goal is to make easy for non-experts to create and explore high-quality diagrams, providing deeper insight into challenging technical concepts. We aim to democratize the process of creating visual intuition.

News: Weʼve released a [1]short introduction to the latest design of Penrose.

News: Do you often make diagrams of ideas in math, science, or computer science for learning, research, or teaching? Weʼd like to [2]interview you as part of a study to inform the design of Penrose.

The Penrose team is based at Carnegie Mellon University, comprising [3]Katherine Ye, [4]Nimo Ni, [5]Dor Maʼayan, [6]Max Krieger, [7]Rain Du, [8]Josh Sunshine, [9]Jonathan Aldrich, and [10]Keenan Crane. (Emeritus: [11]Jenna Wise and [12]Lily Shellhammer.)

Preliminary work on Penrose may be found in this two-page [13]proposal (in DSLDI ʼ17) and the accompanying [14]slides. For a very early overview, see the two-page [15]proposal (in OBT ʼ17) and the accompanying [16]slides.

Penrose is an early-stage system that is still in development. Weʼre building it as fast as we can. If you follow the [17]repository and join the mailing list, youʼll be the first to hear any news. Feel free to [18]get in touch.

References

Visible links
1. http://penrose.ink/PenroseIntro2018.pdf
2. http://penrose.ink/visualization-interview
3. https://www.cs.cmu.edu/~kqy/
4. http://www.columbia.edu/~wn2155
5. http://www.cs.technion.ac.il/people/dorma10/
6. http://a9.io/
7. https://miyehn.me/
8. https://www.cs.cmu.edu/~jssunshi/
9. https://www.cs.cmu.edu/~./aldrich/
10. https://www.cs.cmu.edu/~kmcrane/
11. https://www.cs.cmu.edu/~jlwise/
12. https://www.linkedin.com/in/lily-shellhammer-899b43105
13. http://penrose.ink/Penrose_DSLDI.pdf
14. http://penrose.ink/Penrose_DSLDI_slides.pdf
15. https://www.cs.cmu.edu/~kqy/resources/Penrose_OBT.pdf
16. https://www.cs.cmu.edu/~kqy/resources/Penrose_PLunch_slides.pdf
17. https://github.com/penrose/penrose
18. mailto:kqy@cs.cmu.edu

HackerNewsBot debug: Calculated post rank: 115 - Loop: 261 - Rank min: 100 - Author rank: 52

 

Show HN: Markdown page – Create a web page with just markdown


📝 create a webpage with just markdown. Contribute to oscarmorrison/md-page development by creating an account on GitHub.
Article word count: 43

HN Discussion: https://news.ycombinator.com/item?id=18154825
Posted by oscargeorge (karma: 39)
Post stats: Points: 87 - Comments: 39 - 2018-10-06T12:32:10Z

\#HackerNews #create #just #markdown #page #show #web #with
Article content:

Bild/Foto

You can’t perform that action at this time.

You signed in with another tab or window. [1]Reload to refresh your session. You signed out in another tab or window. [2]Reload to refresh your session.

Press h to open a hovercard with more details.

References

Visible links
1. file:///dev/
2. file:///dev/

HackerNewsBot debug: Calculated post rank: 71 - Loop: 163 - Rank min: 60 - Author rank: 43

 

Create React App 2.0: Babel 7, Sass, and More


Create React App 2.0 has been released today, and it brings a year’s worth of improvements in a single dependency update. While React itself doesn’t require any build dependencies , it can be…
Article word count: 842

HN Discussion: https://news.ycombinator.com/item?id=18118147
Posted by stablemap (karma: 9427)
Post stats: Points: 148 - Comments: 47 - 2018-10-02T01:28:12Z

\#HackerNews #and #app #babel #create #more #react #sass
Article content:

Create React App 2.0 has been released today, and it brings a year’s worth of improvements in a single dependency update.

While React itself [1]doesn’t require any build dependencies, it can be challenging to write a complex app without a fast test runner, a production minifier, and a modular codebase. Since the very first release, the goal of [2]Create React App has been to help you focus on what matters the most — your application code — and to handle build and testing setup for you.

Many of the tools it relies on have since released new versions containing new features and performance improvements: [3]Babel 7, [4]webpack 4, and [5]Jest 23. However, updating them manually and making them work well together takes a lot of effort. And this is exactly what [6]Create React App 2.0 contributors have been busy with for the past few months: migrating the configuration and dependencies so that you don’t need to do it yourself.

Now that Create React App 2.0 is out of beta, let’s see what’s new and how you can try it!
Note 

 Don’t feel pressured to upgrade anything. If you’re satisfied with the current feature set, its performance, and reliability, you can keep using the version you’re currently at! It might also be a good idea to let the 2.0 release stabilize a little bit before switching to it in production.

What’s New

Here’s a short summary of what’s new in this release:

All of these features work out of the box — to enable them, follow the below instructions.

Starting a Project with Create React App 2.0

You don’t need to update anything special. Starting from today, when you run create-react-app it will use the 2.0 version of the template by default. Have fun!

If you want to use the old 1.x template for some reason, you can do that by passing --scripts-version=react-scripts@1.x as an argument to create-react-app.

Updating a Project to Create React App 2.0

Upgrading a non-ejected project to Create React App 2.0 should usually be straightforward. Open package.json in the root of your project and find react-scripts there.

Then change its version to 2.0.3:

Run npm install (or yarn, if you use it). For many projects, this one-line change is sufficient to upgrade!
working here... thanks for all the new functionality 👍 

 — Stephen Haney (@sdothaney) [7]October 1, 2018

Here’s a few more tips to get you started.

When you run npm start for the first time after the upgrade, you’ll get a prompt asking about which browsers you’d like to support. Press y to accept the default ones. They’ll be written to your package.json and you can edit them any time. Create React App will use this information to produce smaller CSS bundles if you only target modern browsers.

If npm start still doesn’t quite work for you after the upgrade, [8]check out the more detailed migration instructions in the release notes. There are a few breaking changes in this release but the scope of them is limited, so they shouldn’t take more than a few hours to sort out. Note that [9]support for older browsers is now opt-in to reduce the polyfill size.

If you previously ejected but now want to upgrade, one common solution is to find the commits where you ejected (and any subsequent commits changing the configuration), revert them, upgrade, and later optionally eject again. It’s also possible that the feature you ejected for (maybe Sass or CSS Modules?) is now supported out of the box.
Note 

 Due to a possible bug in npm, you might see warnings about unsatisfied peer dependencies. You should be able to ignore them. As far as we’re aware, this issue isn’t present with Yarn.

Breaking Changes

Here’s a short list of breaking changes in this release:
\* Node 6 is no longer supported. 
 \* Support for older browsers (such as IE 9 to IE 11) is now opt-in with a [10]separate package. 
 \* Code-splitting with import() now behaves closer to specification, while require.ensure() is disabled. 
 \* The default Jest environment now includes jsdom. 
 \* Support for specifying an object as proxy setting was replaced with support for a custom proxy module. 
 \* Support for .mjs extension was removed until the ecosystem around it stabilizes. 
 \* PropTypes definitions are automatically stripped out of the production builds.

If either of these points affects you, [11]2.0.3 release notes contain more detailed instructions.

Learn More

You can find the full changelog in the [12]release notes. This was a large release, and we may have missed something. Please report any problems to our [13]issue tracker and we’ll try to help.
Note 

 If you’ve been using 2.x alpha versions, we provide [14]separate migration instructions for them.

Thanks

This release wouldn’t be possible without our wonderful community of contributors. We’d like to thank [15]Andreas Cederström, [16]Clement Hoang, [17]Brian Ng, [18]Kent C. Dodds, [19]Ade Viankakrisna Fadlil, [20]Andrey Sitnik, [21]Ro Savage, [22]Fabiano Brito, [23]Ian Sutherland, [24]Pete Nykänen, [25]Jeffrey Posnick, [26]Jack Zhao, [27]Tobias Koppers, [28]Henry Zhu, [29]Maël Nison, [30]XiaoYan Li, [31]Marko Trebizan, [32]Marek Suscak, [33]Mikhail Osher, and many others who provided feedback and testing for this release.

References

Visible links
1. https://reactjs.org/docs/create-a-new-react-app.html
2. https://github.com/facebook/create-react-app
3. https://babeljs.io/blog/2018/08/27/7.0.0
4. https://medium.com/webpack/webpack-4-released-today-6cdb994702d4
5. https://jestjs.io/blog/2018/05/29/jest-23-blazing-fast-delightful-testing.html
6. https://github.com/facebook/create-react-app/graphs/contributors
7. https://twitter.com/sdothaney/status/1046822703116607490?ref_src=twsrc%5Etfw
8. https://github.com/facebook/create-react-app/releases/tag/v2.0.3
9. https://github.com/facebook/create-react-app/blob/next/packages/react-app-polyfill/README.md
10. https://github.com/facebook/create-react-app/tree/master/packages/react-app-polyfill
11. https://github.com/facebook/create-react-app/releases/tag/v2.0.3
12. https://github.com/facebook/create-react-app/releases/tag/v2.0.3
13. https://github.com/facebook/create-react-app/issues/new
14. https://gist.github.com/gaearon/8650d1c70e436e5eff01f396dffc4114
15. https://github.com/andriijas
16. https://github.com/clemmy
17. https://github.com/existentialism
18. https://github.com/kentcdodds
19. https://github.com/viankakrisna
20. https://github.com/ai
21. https://github.com/ro-savage
22. https://github.com/Fabianopb
23. https://github.com/iansu
24. https://github.com/petetnt
25. https://github.com/jeffposnick
26. https://github.com/bugzpodder
27. https://github.com/sokra
28. https://github.com/hzoo
29. https://github.com/arcanis
30. https://github.com/lixiaoyan
31. https://github.com/themre
32. https://github.com/mareksuscak
33. https://github.com/miraage

HackerNewsBot debug: Calculated post rank: 114 - Loop: 134 - Rank min: 100 - Author rank: 80

 
My 4 fucking projects: if you want to support me -> https://www.paypal.me/trixty <-

- #Unitoo-MusicAwards
-> https://liberapay.com/UMA <-
Bild/Foto
The first #world #music #awards where all the #independent #artists can #participate, paying a small cost of participation, provided they release ONE #song in #CreativeCommons.
(currently I can not find a webradio that only transmits music in creative commons / copyleft that gives me a hand... I contacted 6-7 webradio, but they all get scared LOL)

- #Unitoo-Cosplay
-> https://liberapay.com/Unitoo-Cosplay https://linkto.run/p/SWUIXNER <-

- #Unitoo-Comics
-> https://liberapay.com/Unitoo-Comics <-


The intent is to enhance #independent #cartoonists giving them full #freedom to #create anything they want, without having to submit to any "rule", except to #release all the material in #Creative #Commons. What would like to become Unitoo-Comics for independent cartoonists is what is, currently, the Marvel and the DC comics for the current "commercial products"
A #free, #libre and #open-source #webcomic, #supported directly by its #patrons, to change the #comic #book #industry!

- #Unitoo-Esports
-> https://liberapay.com/Unitoo-Esports <-


I was thinking of opening the inscriptions also for e-sports with open source games ... but taking a server is currently too expensive, so for now I put the idea (momentarily) aside lol

 
Every time i think about the past, I remember some of the ones who wronged me, harmed me, lied to my mentality, had no mercy, left my conscious confused and broken, my mind thinks of the, should have, could have, would have, if id just done, but, NO! Fuck that, fuck that pit of depressing shit, fuck the past, fuck that in of which was with it apart of it.
My abilities were restricted it wasn't my freedom of it, from it,I'm granting my self to become above this shit.
#thoughts 💭 #reprogram #learn #share #invent #create #mold #change #enhance #love #now #stand #still #time #moves on

#aevlus

 
Every time i think about the past, I remember some of the ones who wronged me, harmed me, lied to my mentality, had no mercy, left my conscious confused and broken, my mind thinks of the, should have, could have, would have, if id just done, but, NO! Fuck that, fuck that pit of depressing shit, fuck the past, fuck that in of which was with it apart of it.
My abilities were restricted it wasn't my freedom of it, from it,I'm granting my self to become above this shit.
#thoughts 💭 #reprogram #learn #share #invent #create #mold #change #enhance #love #now #stand #still #time #moves on

 

Show HN: You Don't Need WordPress – Create a Blog With Only Google Docs


You Don't Need WordPress: Create A Blog With Google Docs
Article word count: 24

HN Discussion: https://news.ycombinator.com/item?id=18077446
Posted by patwalls (karma: 887)
Post stats: Points: 181 - Comments: 87 - 2018-09-26T16:14:39Z

\#HackerNews #blog #create #docs #dont #google #need #only #show #with #wordpress #you
Article content:

We handle hosting, all you need is a Google Drive account!

Our platform is open source! Feel free to contribute and/or host it yourself!

HackerNewsBot debug: Calculated post rank: 149 - Loop: 463 - Rank min: 100 - Author rank: 68

 

Solarus


Solarus : a free and open-source Action-RPG game engine
http://www.solarus-games.org/
Solarus is a free and open-source Action-RPG game engine, licensed under GPL, and written in C++. It runs quests in Lua, and can work on a great number of platforms.
Solarus also features a game editor called Solarus Quest Editor, written in C++ with Qt to help you create your game.


\#solarus #game #engine #GPL #open-source #zelda-like #rpg #create #juegos #rol #motor #editor

 

PyQt5 Tutorial: Create a Python GUI in 2018


This tutorial shows how you can use PyQt5 to build a desktop app with Python. It covers everything from the best way to set up PyQt in 2018, to compiling your app and distributing it to other people's…
Article word count: 1585

HN Discussion: https://news.ycombinator.com/item?id=18067684
Posted by mherrmann (karma: 1976)
Post stats: Points: 298 - Comments: 142 - 2018-09-25T16:17:40Z

\#HackerNews #2018 #create #gui #pyqt5 #python #tutorial
Article content:

Bild/Foto

This tutorial shows how you can use PyQt5 to build a desktop app with Python. It covers everything from the best way to set up PyQt in 2018, to compiling your app and distributing it to other peopleʼs computers. You can use Windows, Mac or Linux. The only prerequisite is that you have Python 3 (ideally 3.5) installed.

What is PyQt5?

[1]PyQt is a library that lets you use the [2]Qt GUI framework from Python. Qt itself is written in C++. By using it from Python, you can build applications much more quickly while not sacrificing much of the speed of C++.

PyQt5 refers to the most recent version 5 of Qt. You may still find the occasional mention of (Py)Qt4 on the web, but it is old and no longer supported.

An interesting new competitor to PyQt is [3]Qt for Python. Its API is virtually identical. Unlike PyQt, it is licensed under the LGPL and can thus be used for free in commercial projects. The downside is that it is less mature. We use PyQt in this tutorial because it is still more stable. However, because the API of Qt for Python is so similar, you can easily switch your app to it later.

Install PyQt

The best way to manage dependencies in Python is via a [4]virtual environment. A virtual environment is simply a local directory that contains the libraries for a specific project. This is unlike a system-wide installation of those libraries, which would affect all of your other projects as well.

To create a virtual environment in the current directory, execute the following command:

python3 -m venv venv

This creates the venv/ folder. To activate the virtual environment on Windows, run:

call venv/scripts/activate.bat

On Mac and Linux, use:

source venv/bin/activate

You can see that the virtual environment is active by the (venv) prefix in your shell:

[5]Creating and activating a Python virtual environment

To now install PyQt, issue the following command:

pip install PyQt5==5.9.2

The reason why weʼre using version 5.9.2 is that not all (Py)Qt releases are equally stable. This version is guaranteed to work. Besides this subtlety – Congratulations! Youʼve successfully set up PyQt5.

Create a GUI

Time to write our very first GUI app! With the virtual environment still active, start Python. We will execute the following commands:

[6]Python code of a Hello World PyQt app on Ubuntu Linux

First, we tell Python to load PyQt via the import statement:

from PyQt5.QtWidgets import QApplication, QLabel

Next, we create a [7]QApplication with the command:

app = QApplication([])

This is a requirement of Qt: Every GUI app must have exactly one instance of QApplication. Many parts of Qt donʼt work until you have executed the above line. You will therefore need it in virtually every (Py)Qt app you write.

The brackets []in the above line represent the command line arguments passed to the application. Because our app doesnʼt use any parameters, we leave the brackets empty.

Now, to actually see something, we create a simple label:

label = QLabel(ʼHello World!ʼ)

Then, we tell Qt to show the label on the screen:

label.show()

Depending on your operating system, this already opens a tiny little window:

[8]Screenshot of Hello World PyQt application

The last step is to hand control over to Qt and ask it to "run the application until the user closes it". This is done via the command:

app.exec_()

If all this worked as expected then well done! Youʼve just built your first GUI app with Python and Qt.

Widgets

Everything you see in a (Py)Qt app is a [9]widget: Buttons, labels, windows, dialogs, progress bars etc. Like HTML elements, widgets are often nested. For example, a window can contain a button, which in turn contains a label.

The following screenshot shows the most common Qt widgets:

[10]Screenshot of the most common PyQt widgets

Top-to-bottom, left-to-right, they are:

Layouts

Like the example above, your GUI will most likely consist of multiple widgets. In this case, you need to tell Qt how to position them. For instance, you can use [11]QVBoxLayout to stack widgets vertically:

[12]QVBoxLayout example

The code for this screenshot is:

from PyQt5.QtWidgets import QApplication, QWidget, QPushButton, QVBoxLayout
app = QApplication([])
window = QWidget()
layout = QVBoxLayout()
layout.addWidget(QPushButton(ʼTopʼ))
layout.addWidget(QPushButton(ʼBottomʼ))
window.setLayout(layout)
window.show()
app.exec_()

As before, we instantiate a QApplication. Then, we create a window. We use the most basic type QWidget for it because it merely acts as a container and we donʼt want it to have any special behavior. Next, we create the layout and add two QPushButtons to it. Finally, we tell the window to use this layout (and thus its contents). As in our first application, we end with calls to .show() and app.exec_().

There are of course many other kinds of layouts (eg. [13]QHBoxLayout to lay out items in a row). See [14]Qtʼs documentation for an overview.

Custom styles

One of Qtʼs strengths is its support for custom styles. There are many mechanisms that let you customize the look and feel of your application. This section outlines a few.

Built-in styles

The coarsest way to change the appearance of your application is to set the global [15]Style. Recall the widgets screenshot above:

[16]Screenshot of common Qt widgets using the Fusion style

This uses a style called Fusion. If you use the Windows style instead, then it looks as follows:

[17]Screenshot of common Qt widgets using the Windows style

To apply a style, use app.setStyle(...):

from PyQt5.QtWidgets import *
app = QApplication([])
app.setStyle(ʼFusionʼ)
...

The available styles depend on your platform but are usually ʼFusionʼ, ʼWindowsʼ, ʼWindowsVistaʼ (Windows only) and ʼMacintoshʼ (Mac only).

Custom colors

If you like a style, but want to change its colors (eg. to a dark theme), then you can use [18]QPalette and app.setPalette(...). For example:

from PyQt5.QtCore import Qt
from PyQt5.QtGui import QPalette
from PyQt5.QtWidgets import QApplication, QPushButton app = QApplication([])
app.setStyle(ʼFusionʼ)
palette = QPalette()
palette.setColor(QPalette.ButtonText, Qt.red)
app.setPalette(palette)
button = QPushButton(ʼHello Worldʼ)
button.show()
app.exec_()

This changes the text color in buttons to red:

[19]Screenshot of a QPushButton with red text in the Fusion style

For a dark theme of the Fusion style, see [20]here.

Style sheets

In addition to the above, you can change the appearance of your application via style sheets. This is Qtʼs analogue of CSS. We can use this for example to add some spacing:

from PyQt5.QtWidgets import QApplication, QPushButton
app = QApplication([])
app.setStyleSheet("QPushButton { margin: 10ex; }")
button = QPushButton(ʼHello Worldʼ)
button.show()
app.exec_()

[21]Qt window with a button surrounded by extra space

For more information about style sheets, please see [22]Qtʼs documentation.

Signals / slots

Qt uses a mechanism called signals to let you react to events such as the user clicking a button. The following example illustrates this. It contains a button that, when clicked, shows a message box:

from PyQt5.QtWidgets import *
app = QApplication([])
button = QPushButton(ʼClickʼ)
def on_button_clicked(): alert = QMessageBox() alert.setText(ʼYou clicked the button!ʼ) alert.exec_() button.clicked.connect(on_button_clicked)
button.show()
app.exec_()

[23]PyQt QMessageBox saying that a button was clicked

The interesting line is highlighted above: button.clicked is a signal, .connect(...) lets us install a so-called slot on it. This is simply a function that gets called when the signal occurs. In the above example, our slot shows a message box.

The term slot is important when using Qt from C++, because slots must be declared in a special way in C++. In Python however, any function can be a slot – we saw this above. For this reason, the distinction between slots and "normal" functions has little relevance for us.

Signals are ubiquitous in Qt. And of course, you can also define your own. This however is beyond the scope of this tutorial.

Compile your app

You now have the basic knowledge for creating a GUI that responds to user input. Say youʼve written an app. It runs on your computer. How do you give it to other people, so they can run it as well?

You could ask the users of your app to install Python and PyQt like we did above, then give them your source code. But that is very tedious (and usually impractical). What we want instead is a standalone version of your app. That is, a binary executable that other people can run on their systems without having to install anything.

In the Python world, the process of turning source code into a self-contained executable is called freezing. Although there are many libraries that address this issue – such as PyInstaller, py2exe, cx_Freeze, bbfreze, py2app, ... – freezing PyQt apps has traditionally been a surprisingly hard problem.

We will use a new library called [24]fbs that lets you create standalone executables for PyQt apps. To install it, enter the command:

pip install fbs PyInstaller==3.3.1

Then, execute the following:

python3 -m fbs startproject

This prompts you for a few values:

[25]Commands for starting a new project with fbs

When you type in the suggested run command, an empty window should open:

[26]An empty window showing ʼHello World!ʼ in its title

This is a PyQt5 app just like the ones we have seen before. Its source code is in src/main/python/main.py in your current directory. But hereʼs the cool part: We can use fbs to turn it into a standalone executable!

python3 -m fbs freeze

This places a self-contained binary in the target/MyApp/ folder of your current directory. You can send it to your friends (with the same OS as yours) and they will be able to run your app!

Bonus: Create an installer

fbs also lets you create an installer for your app via the command python3 -m fbs installer:

For more information on how you can use fbs for your existing application, please see [27]this article. Or [28]fbsʼs tutorial.

Summary

If you have made it this far, then big congratulations. Hopefully, you now have a good idea of how PyQt (and its various parts) can be used to write a desktop application with Python. We also saw how fbs lets you create standalone executables and installers.

If you have any questions or feedback on this tutorial, feel free to email me. Have fun writing your own apps!

References

Visible links
1. https://riverbankcomputing.com/software/pyqt/intro
2. https://www.qt.io/
3. https://www.qt.io/qt-for-python
4. https://docs.python.org/3/tutorial/venv.html
7. http://doc.qt.io/qt-5/qapplication.html
9. http://doc.qt.io/qt-5/qwidget.html
11. http://doc.qt.io/qt-5/qvboxlayout.html
13. http://doc.qt.io/qt-5/qhboxlayout.html
14. http://doc.qt.io/qt-5/layout.html
15. http://doc.qt.io/qt-5/qtwidgets-index.html#styles
18. http://doc.qt.io/qt-5/qpalette.html
20. https://gist.github.com/mstuttgart/37c0e6d8f67a0611674e08294f3daef7
22. http://doc.qt.io/qt-5/stylesheet-syntax.html
24. https://build-system.fman.io/
27. https://build-system.fman.io/pyqt-exe-creation/
28. https://github.com/mherrmann/fbs-tutorial

HackerNewsBot debug: Calculated post rank: 246 - Loop: 249 - Rank min: 100 - Author rank: 33

 
My 4 fucking projects: if you want to support me -> https://www.paypal.me/trixty <-

- #Unitoo-MusicAwards
Bild/Foto
The first #world #music #awards where all the #independent #artists can #participate, paying a small cost of participation, provided they release ONE #song in #CreativeCommons. -> https://liberapay.com/UMA <-
(currently I can not find a webradio that only transmits music in creative commons / copyleft that gives me a hand... I contacted 4 webradio, but they all get scared LOL)

- #Unitoo-Cosplay


Would you #participate in an #online #contest on the #cosplay of exclusively #opensource #characters? if YES, how much would you #pay to sign up?
poll link -> https://linkto.run/p/SWUIXNER <-

- #Unitoo-Comics


The intent is to enhance #independent #cartoonists giving them full #freedom to #create anything they want, without having to submit to any "rule", except to #release all the material in #Creative #Commons. What would like to become Unitoo-Comics for independent cartoonists is what is, currently, the Marvel and the DC comics for the current "commercial products"
A #free, #libre and #open-source #webcomic, #supported directly by its #patrons, to change the #comic #book #industry!

Character List (for cosplay & comics projects) -> https://cloud.unitoo.pw/index.php/s/HQy7B5zNg2BB9mX <-

- #Anti-Herows -> 41
- #Heroes -> 237
- #Mascots -> 71 (not finished)
- #Villains -> 138
- #Fusions -> 0 (not started)

Participants:
🔥 brAndkopf 🔥 - https://mastodon.art/users/brandkopf

- #Unitoo-Esports


the server is currently too expensive, so for now I put the idea (momentarily) aside lol

 
- maybe I found a webradio (which only transmits copyright free music) that advertises the Unitio Music Awards, so as to have at least 10 participants
- and I finally found the first cartoonist to enter the Unitoo-Comics (as I wrote in another post) ...
slowly the projects are "moving" XD

Bild/Fotorixty wrote the following post Wed, 29 Aug 2018 13:10:58 +0200

ok, I open this:

Bild/Foto
The first #world #music #awards where all the #independent #artists can #participate, paying a small cost of participation, provided they release ONE #song in #CreativeCommons. -> https://liberapay.com/UMA <-
- #UnitooMusicAwards #UMA

I try to open this:



- #poll #question:
Would you #participate in an #online #contest on the #cosplay of exclusively #opensource #characters? if YES, how much would you #pay to sign up?
poll link -> https://linkto.run/p/SWUIXNER <-

and this:



The intent of #Unitoo-Comics is to enhance #independent #cartoonists giving them full #freedom to #create anything they want, without having to submit to any "rule", except to #release all the material in #Creative #Commons. What would like to become Unitoo-Comics for independent cartoonists is what is, currently, the Marvel and the DC comics for the current "commercial products"
A #free, #libre and #open-source #webcomic, #supported directly by its #patrons, to change the #comic #book #industry!

and I was thinking of opening the #inscriptions also for #e-sports with open source #games ...



but taking a server is currently too expensive, so for now I put the idea (momentarily) aside lol

and it would be nice to be able to create an international event, in which there were all these 4 projects O.o

Character List (for cosplay & comics projects) -> https://cloud.unitoo.pw/index.php/s/HQy7B5zNg2BB9mX <-

\#Anti-Herows -> 41
\#Heroes -> 237
\#Mascots -> 71 (not finisced)
\#Villains -> 138

----

if you want, support me for my projects -> https://www.paypal.me/trixty <-

 

Carbon – Create images of your source code


🎨 Create and share beautiful images of your source code - dawnlabs/carbon
Article word count: 43

HN Discussion: https://news.ycombinator.com/item?id=17973809
Posted by netgusto (karma: 985)
Post stats: Points: 83 - Comments: 41 - 2018-09-12T21:55:57Z

\#HackerNews #carbon #code #create #images #source #your
Article content:

Bild/Foto

You can’t perform that action at this time.

You signed in with another tab or window. [1]Reload to refresh your session. You signed out in another tab or window. [2]Reload to refresh your session.

Press h to open a hovercard with more details.

References

Visible links
1. file:///dev/
2. file:///dev/

HackerNewsBot debug: Calculated post rank: 69 - Loop: 320 - Rank min: 60 - Author rank: 39