Cheat Code for Drawing: The NeoLucida Lets You Trace 3D Objects onto Paper

https://s3files.core77.com/blog/images/1183774_81_108682_o4TAclEfe.jpg

A camera lucida is an old-school device that uses a lense and a mirror to let you trace a 3D object in front of you onto a piece of paper below you.

In 1999 artist David Hockney purchased one. After experimenting with it and a camera obscura as well, Hockney released his controversial book Secret Knowledge, where he laid out a case for how old masters–da Vinci, Caravaggio, Ingres, etc.–may have used optical devices to produce their realistic drawings. This became known as the Hockney-Falco thesis, and it’s fascinating.

Portrait of Mme. Baltrad, 1836, Ingres. Traced?

Having read Hockney’s book, in the 2010s artists Pablo Garcia & Golan Levin created, Kickstarted and began selling affordable mass-market camera lucidas to encourage people to experiment with them themselves. Their initial NeoLucida device was tiny and can still be purchased here; they’ve partnered up with Big Idea Design to keep them in production.

They even set up a Facebook group where NeoLucida users could share their work.

More recently they’ve released a larger version called the NeoLucida XL, designed to make the drawing experience a bit more comfortable.

Here’s what it looks like when you look through the device to trace a 3D object onto paper:

It’s better seen in video:

The small NeoLucida is $39, and the NeoLucida XL rings in at $75.

Core77

Heh

https://1.bp.blogspot.com/-Y8dsZUHpiMo/YJQlmH91-RI/AAAAAAAAsRw/ypMwcb0I0EIzvZh1OrIePv_Uh_keqlNtACPcBGAsYHg/w400-h400/Foxes%2Band%2Bguns.png

 

Found on MeWe, courtesy of fellow author John van Stry (click the image for a larger view):

As Miss D. said in her comment about the image on MeWe:  "[This is] Why you never watch a war movie with soldiers, or a flying movie with pilots… unless you enjoy the commentary!"

I must admit, she has a point.  When I watch a war movie, I’m usually enraged by the nonsensical portrayal of combat troops, battles, etc. – which is why I usually won’t watch such movies at all.  Once you’ve "been there and done that", badly scripted and acted portrayals of the real thing are anything but convincing.

Peter

Bayou Renaissance Man

Nintendo’s Game Builder Garage Lets You Make Your Own Switch Games

http://img.youtube.com/vi/0yM3ppz0Zt8/0.jpg

Nintendo has unveiled a new game/programming tool called Game Builder Garage. This title can teach you the basics of developing video games and guide you through the steps of creating your own Switch game.

Build Your Own Nintendo Switch Games With Game Builder Garage

Game Builder Garage is a programming educational tool aimed at people of all ages interested in making their own Nintendo Switch video games. It is not just another boring software with hard-to-understand lessons. Game Builder Garage will make learning how to build games a fun and easily-approachable process for everyone.

You don’t need to have any prior experience in the visual game programming field. Game Builder Garage will guide you through the steps of developing a game and teach you all the basics of programming needed to make a Switch game.

The whole video creation process will be handled through connecting creatures called Nodon. Here’s what Nintendo tells us about these creatures:

Nodon are creatures with big personalities that are used to help build your games from the ground up. There are dozens of Nodon in Game Builder Garage, each with a unique function, and you can learn how to build games just by connecting them in various ways. For example, you can create and move a human-like character with an analog stick just by connecting Stick Nodon with Person Nodon!

So just by moving and connecting them, you’ll be able to create almost any type of video game and share it with other users via codes. Also, according to Nintendo, you’ll be able to work on projects together with friends.

Game Builder Garage consists of two modes: Lesson Mode and Free Programming Mode. The first will offer step-by-step lessons that will teach you the basics of video programming. After you learn everything, you should switch to the other mode to apply those lessons and create a real Nintendo Switch game.

Related: Nintendo Labo Is Cardboard LEGO for Your Switch

Game Builder Garage will become available for Nintendo Switch players on June 11, 2021, and cost $29.99. If you want to be among the first ones to try out this software, you can pre-order it on Nintendo.com.

Have Fun Learning Programming With Nintendo

It looks like Nintendo is placing a bigger focus on making programming more accessible. Through the Game Builder Garage tool, anyone, whether 8 or 80 years old, can learn how to develop video games. And then actually create one and have fun doing so.

Image Credit: Nintendo

MUO – Feed

#WDILTW – Functions with options

In the late 1990s I learned MySQL and Java at approximately the same time. How did I teach myself? For MySQL I read the online MySQL manual cover to cover. For Java it was the Java Language Specification or Java Programming Language book, again cover to cover. Then for record I read Effective Java, and I was totally lost. I read it three or four years later and then it made sense.

At that time, with MySQL 3.22/3.23 the scope of the product was smaller, so was Java 1.2. I am confident I have forgotten as much as I retain, however it does marvel me when sometimes the most simplest of functionality I do not recall, or perhaps never learned. Today’s What Did I Learn This Week.

In MySQL, there is a TRIM() function, as the name suggests it trims whitespace, or so I thought. It actually does a lot more as the current MySQL 8.0 manual page states.

You can for example, trim the white space just LEADING, or just TRAILING, and in fact you can trim any pattern of characters, LEADING, TRAILING or BOTH. I just did not know that.

(from the man page)

mysql> SELECT TRIM('  bar   ');
        -> 'bar'
mysql> SELECT TRIM(LEADING 'x' FROM 'xxxbarxxx');
        -> 'barxxx'
mysql> SELECT TRIM(BOTH 'x' FROM 'xxxbarxxx');
        -> 'bar'
mysql> SELECT TRIM(TRAILING 'xyz' FROM 'barxxyz');
        -> 'barx'

For the record, the products are both widely used more than 20 years after I first started. MySQL has gone from 3.22 to 3.23, 4.0, 4.1, 5.0, 5.1 (the defunct 5.4 and even a 6.0 I think), 5.5, 5.6, 5.7 and now 8.0. Java was SE 1.2, then 1.3, 1.4, 5.0, 6, 7, 8 (my last major version), 9, 10, 11, 12, 13, 14, 15 and now 16, with 17 in the books.

I guess it’s never to late to re-read the manual.

Planet MySQL

Defending yourself in a progressive, left-wing environment – Part 2

 

In the first part of this series, I said I’d experienced in several countries the failure of the justice system to support the rule of law, and seen how it was overturned (and in some cases replaced) by the rule of the mob.  We’re seeing precisely that in several US cities right now, so I’d like to present the "lessons learned" in other countries to see whether there are ideas we can use locally.

I’ll start with South Africa from the late 1970’s to the mid-1990’s.  This was a time of massive unrest, not unlike a rolling civil war at times.  Troubles would break out in one place, be suppressed, and then break out in another.  The issue was the white government of the country and its racially discriminatory policies known collectively as apartheid.  They included many laws that criminalized what any democracy would regard as normal and legitimate activities.  Denied any political avenue to protest, opponents of apartheid became more and more radicalized, and turned to the former Soviet Union for inspiration and support.  Increasingly isolated and paranoid, the apartheid government declared itself under a "total onslaught" from external sources, and developed a siege mentality.  Ordinary citizens, particularly black people, became so much cannon fodder for both sides.

For ordinary people like you and I, this was an extraordinarily difficult situation.  They could be living their normal lives, only to find from one day to the next that their residential area had become a battleground.  Outside forces would move in and try to force them to behave in a certain way, or support a particular movement.  If they did not, they were "sellouts" or "stooges".  The government forces would push back, demanding their support for "law and order" (the same law that classified many of them as, effectively, sub-human).  If they objected, or tried to avoid getting caught up in the struggle, they were automatically regarded as suspicious, and might be targeted by both sides.

I recall one incident for which I’ll forever feel guilty.  A labor organizer (illegal under South African law, where trades unions for black people were banned at the time) was arrested by the police.  I knew him, and donated money to his family to help them keep body and soul together while he was in detention.  Tragically, I was seen giving money to his wife;  and township informers immediately assumed that if she was getting money from a white man, it could only mean that she was a police informer.  That night a group of thugs from the local resistance dragged her out of her house, gang-raped her in front of her three children – hacking off her arms at the elbow when she resisted – then poured gasoline over an old tire, put it around her neck, and set fire to it (the dreaded "necklace").  Her horrified children were forced to watch as she burned to death.  They didn’t matter, of course – they were children of a "sell-out".  If only I’d taken greater care not to be seen giving her money, she might still be alive, and they would not have been mentally and emotionally scarred for life by seeing what they did . . . but that was Africa, and it still is in many places.  Human life is still dirt-cheap there.

Many simply "hunkered down" and tried to live through the chaos.  They had no means to resist, and were too afraid to try.  They chose to endure, and many became victims.  Those who had the courage and initiative to stand up against the violence, and try to defend themselves and others against it, took a greater risk, and some paid dearly for it;  but at least they were able to protect their families and groups of like-minded people against the chaos.  I was in the thick of those evil years, and I’ve written about some aspects of them in previous articles:

The first thing that had to be done was to ensure local law and order by keeping as many criminals as possible at a distance.  This wasn’t easy.  In such a lawless environment, many local gangsters set themselves up as warlords, dominating their areas and exacting a toll on residents to fund their criminal lifestyles.  Any resistance was met with savage reprisals.  Sadly, that meant the resistance also became more and more savage.  The Golden Rule tells us to "do to others as you want them to do to you".  If gangsters behave brutally, they must expect brutality in return – and they got it, in spades.

(One example:  A group of young thugs from the so-called Mass Democratic Movement, or MDM, mostly from the Xhosa tribe, decided to attack a meeting of the women’s auxiliary of the Inkatha Freedom Party [a Zulu political organization].  They ran in a loose gaggle up the street, surrounded the hall where the meeting was taking place, and began to force their way in.  Nothing loth, the women [who were typical Zulu "mammies", large, well-muscled and pugnacious] poured out of the hall and gave as good as they got.  I was there, and watched them literally rip fence posts out of the ground to beat up the interfering MDM youngsters.  A group of cops were standing there, watching, enjoying the spectacle [because the MDM was "the enemy" as far as they were concerned].  I asked them why they weren’t intervening to stop the violence, only to receive horrified looks at my stupidity in wanting to intervene in what was a tribal, as well as political, fight.  Several on both sides were severely injured, and a lot of blood was shed – but the MDM’s bully-boy tactics were decisively defeated, at least on that occasion.)

Resisting the gangsters didn’t mean challenging them for control.  There were usually too many of them and not enough resisters.  However, if an area could be made too expensive for them to dominate – because they lost too many people there, or had to commit an inordinate amount of resources to maintain control – they would look for easier pickings elsewhere.  Thus, the gang’s local people were targeted, and beaten up or even killed.  Any replacements met similar fates.  The gangs would try to retaliate, but if they met a united front, they would generally back off.  They had too much to lose, and too much to gain in weaker areas.

Of course, such resistance ran the risk of ending up as a new gang, also performing criminal acts.  This happened with an Islamic group, first calling itself Qibla, then forming PAGAD (People Against Gangsterism And Drugs).  The latter started off as a Muslim welfare society and mutual defense association, but rapidly degenerated into a criminal gang itself.  There were many such, in all communities in South Africa.  It took strong, determined leadership from people such as Inyati to prevent that happening, and keep the group focused on its original purpose – and such leaders were in short supply.

Resistance meant that weapons had to be obtained from somewhere, and defensive positions prepared.  The weapons were usually locally made, unless firearms could be bought, or captured from the opposition and turned against them (a frequent occurrence).  Pangas (a local term for machetes) were acquired (examples made from the leaf springs of heavy trucks were particularly prized for their superior performance);  spears (so-called assegais) were manufactured, in both throwing and stabbing varieties;  and bows and arrows were produced.  I remember one group that made three heavy-duty crossbows from truck leaf springs, including a hard-to-crank windlass to cock them, and rebar projectiles that were sharpened on a grinding wheel.  They were absolutely deadly at short to medium range, with enough power to drive a bolt right through a human body.  Knobkerries, clubs with rounded heads, were very often encountered, and the traditional Zulu isihlangu, a leaf-shaped cowhide shield mounted on a central wooden shaft, was often carried to provide some protection against similar weapons.  Finally, sjamboks – thick, heavy whips traditionally made from hippopotamus hide, but later from other materials, including plastic replicas – were not uncommon, being used by police as well.  A skillful wielder could cut flesh from bone with one of them.

Those weapons might not have been very effective against the AK-47’s and SKS’s of terrorists;  but the battlefield could be "shaped" to aid the defenders and hinder attackers.  Caltrops were a common tool for the purpose, scattered in areas that couldn’t be monitored constantly, or where thick cover like long grass or bushes prevented observation.  They could be easily made from heavy-duty wire or rebar, soldered or welded together by local blacksmiths.  Screams of pain from those impaled on them were useful warnings to pay attention to where they’d been sown.  Molotov cocktails were used to deter vehicles, or to throw at groups of attackers.  The sight of a man turned into a human torch was a very effective dissuader.  Arrows were sometimes used as a deterrent, to keep enemies at a distance.  If, despite all those measures, the enemy managed to get dangerously close, it was time for an attack against them.  A sudden charge from cover, or out of concealment in nearby houses, turned many a fight into a rout.

Of course, casualties had to be expected in such fights.  The defenders were as much at risk as the attackers, and injuries and deaths were simply something to be expected.  However, well-organized groups of defenders, who knew their local area well, had prepared it for defense, and were as well-armed as they could manage, were often able to keep the bad guys at a safe distance.  Knowing they would pay in blood if they tried to intrude, they usually chose areas that were less dangerous.

The South African police were at the time pretty much the enforcement arm of apartheid.  Many of their members were overtly racist, and they didn’t try very hard to protect black townships against this sort of internecine violence.  As far as they were concerned, if blacks turned on other blacks, it worked to their advantage, so why not just let them have at it?  That was no comfort at all to law-abiding citizens in the black townships, of course . . . which is where groups like that with which I worked came into play.  We tried to help the victims of violence, without any political motivation or overtone.  That made us enemies both of the apartheid state, which wanted to "divide and rule", and of the terrorists trying to overthrow apartheid, who wanted to rule by terror and didn’t want anyone being given any hope unless they supported the "resistance".  We lost a lot of dead and injured people in those years.

The lesson we learned was that if you offered no resistance, you would be steamrollered by the forces of violence.  They had no compunction about forcing themselves on entire communities, ruling by violence, intimidation and brutality.  They knew no other language, and would not tolerate any resistance.  One could avoid them in one place by moving to another, but sooner or later they’d turn up there as well.  The only sure defense was to organize with like-minded people to defend one’s families and neighborhoods.  It was literally "fight or die".  Communities that didn’t do that were rapidly overrun, and became victims.

Many of the lessons we learned in South Africa can be applied to the USA as well.  If you look at a Black Lives Matter or Antifa demonstration, they appear to be nothing more or less than the deliberately organized intimidation of white Americans.  The demonstrators know that the authorities are very unlikely to act against them;  rather, the authorities may target those who resist them, as we discussed yesterday.  Therefore, they’re emboldened to become even more provocative, violent and aggressive.  I don’t think that most US police forces are yet at the point where they’ll refuse to intervene to stop major violence against the suburbs, but I think that may be coming.  For example, Minneapolis police reportedly won’t come to your aid if you’re at or near George Floyd Square – they’ll demand that you come to meet them in a safer area.  What happens if you can’t?  It sounds to me as if in that case, you’re on your own.  In how many other cities is that happening?

The form which resistance takes is obviously a troubling factor.  I’m not suggesting that US citizens should become as violent as we encountered in South Africa;  but that will depend very much on how violent the rioters become.  You can’t put out a raging fire by throwing a thimbleful of water at it.  You need sufficient water, at sufficient volume and pressure, to put it out.  The scale of the threat will determine the scale of the response.  However, any major response may well lead to a politically correct justice system targeting the defenders, rather than the attackers.  This applies particularly if they’re stigmatized as "militia" or "right-wing", as seen again just last week.  Again, we discussed this yesterday, and in many of the articles linked there.  This will call for extreme discretion, wherever possible, on the part of defenders.  If they aren’t witnessed or recorded defending themselves or their neighborhood, they can’t be charged with any crime, real or politically trumped-up.

South Africa is just one example where people were forced to rely on themselves to keep the peace.  In the next article in this series, we’ll discuss more cases, from more extreme environments.

Peter

Bayou Renaissance Man

10 PDF Cheat Sheets for Programmers

https://blog.finxter.com/wp-content/uploads/2018/10/CheatSheet-Python-4-Classes.png

A couple of years ago I fell into the habit of creating cheat sheets when exploring certain areas in the programming space. Over time, hundreds of thousands of Finxters have downloaded and used them in their own learning journeys. However, the cheat sheets are largely scattered around many different locations on the Finxter ecosystem. And even though I share all of them with my beloved Finxter community of ambitious coders and subscribers to my free computer science email academy, join us! 🙂, they may not be accessible at all times for all Finxters. Time to change that!

In this article, I collect all Finxter cheat sheets and links to their PDF download locations. Feel free to share it with your hacker friends and coding mates!

👉 Click each image to open the high-resolution PDF in a new tab!

The Ultimate Python Cheat Sheet

This is my absolute favorite cheat sheet because it teaches you the basics of three fundamental cheat sheets that I just condensed into this single one. Look for yourself:

Python Ultimate Cheat Sheet

Python Keywords Cheat Sheet

Python keywords are reserved words with a special meaning. Make sure to understand all of them by heart!

Python Basic Data Types Cheat Sheet

Programming mastery comes from two things: data and functions. This cheat sheet is about the former!

Python Complex Data Types Cheat Sheet

The complex or container data types in Python are lists, sets, dictionary, and tuples. We’ve written an in-depth guide on each of those if the cheat sheet is too shallow for you:

And here’s the cheat sheet:

Python List Methods Cheat Sheet

A big part of mastering lists is to master the methods provided by the list data structure. You can do this in the cheat sheet or in my in-depth course on Python list methods here.

Python Set Methods Cheat Sheet

Let’s move on to one of the most underutilized data structures in Python: sets. They’re far more efficient than lists—if you can handle the reduced expressiveness. You can find all set methods explained in detail in the Finxter Academy course.

Python Set Methods Cheat Sheet

Python Object Orientation Terminology Cheat Sheet

We need to use the right words to communicate effectively with other programmers. This cheat sheet will show you all the words you need to know in object orientation!

Python Classes Cheat Sheet

Let’s really dive into two concepts of object-oriented programming: classes and objects. These things are must-knows for you as an effective programmer!

Python Functions and Tricks Cheat Sheet

CheatSheet Python 5 - Functions and Tricks

Python Interview Questions Cheat Sheet

Python NumPy Cheat Sheet

Python Book Simplicity Cheat Sheet

Python 6 Machine Learning Algorithms Cheat Sheet

Python Support Vector Machines Cheat Sheet

Python Git Cheat Sheet

Git Cheat Sheet

Python Plotly Dash Cheat Sheet

Python Plotly Dash Cheat Sheet

That’s it for now—I’ll keep updating new cheat sheets as I produce them. Stay tuned to make sure to be informed about each new Cheat Sheet I publish on the Finxter blog.

You can also check out these interesting blog articles about cheat sheets—many with videos:

Thanks for checking out the whole article—let’s round this up with the standard Finxter “post footer”. 😉

The post 10 PDF Cheat Sheets for Programmers first appeared on Finxter.Finxter

Where do the Russian Accident videos come from?

http://img.youtube.com/vi/fFjl65Sz4Xs/0.jpg

Reader Weetabix asked a most proper question:

Does Youtube just equip all cars in Russia with cameras so they don’t run out of these videos?

My response:

You’d think so. Russia had a gigantic rash of insurance scams in the mid 2000s IRRC. You can actually still find videos of people throwing themselves at cars stopped at lights and to say they got run over and collect big fat settlements. Russians started to install cameras as precaution and thus began the era of the Russian Vehicular Spectaculars.

And here are a couple of compilations.

And they are still at it.

I am thinking very seriously about installing a camera myself. It solves the “He said/ He said” arguments for the insurance.