Rekindling the thrill of programming

Read More... Read More

Best monitor for programming of 2022

What makes for one of the best monitors for programming? Plenty of pixels doesn’t hurt, that’s for sure. The more screen real estate, the more windows and applications you can have open at the same time, be that for coding itself or for collaboration tools. 

Ergonomics matter, too. Preferences vary, but many programmers like to have at least the option to rotate a screen into portrait mode to maximize screen height, the better to see as many lines of code at once without the need for scrolling. Similarly, good connectivity can improve ergonomics, especially if you are primarily a laptop user, so USB-C is very desirable. 

Less critical are factors like HDR support, extreme color accuracy, high refresh rates and the erest. For sure, you want a screen with decent contrast and colors, if nothing else than to minimize eye strain. But huge dynamic range, eye-piercing brightness and extensive coverage of gamuts like DCI-P3 add cost to a screen for little benefit in a programming context.

How to choose a monitor for programming

First up, we’d look for a fairly high resolution screen. 4K panels are now pretty affordable, especially in 27-inch and 28-inch form factors. That said, 1440p can be a reasonable choice for programming. If you’re the kind of coder who likes to rotate a screen into portrait mode, a pair of cheaper 1440p panels with support for rotation into portrait mode could be an interesting value-orientated option. 

On the other hand, if you like to code with several application windows lined up in parallel, an ultrawide panel can make a lot of sense, too. That’s especially true now that one or two ultrawide monitors can be had with 2,160 vertical pixels. So, you’re giving up little when it comes to vertical resolution. 

All of that said, we’d still prioritize a higher resolution 4K-plus panel in order to maximize pixel density. When you’re looking at code all day, nice crisp fonts can really help keep eye strain to a minimum. Again, a panel with a fully adjustable stand with support for rotation into portrait would be our pick. 

As for panel type and performance, well, IPS technology has the advantage of wide viewing angles, which can be especially helpful in multi-monitor situations. We wouldn’t kick a VA 4K monitor out of bed, though, especially if it was attractively priced. 

What we wouldn’t worry about so much is refresh, HDR support and the last word in pixel response. Paying extra for a 120Hz-plus panel provides little benefit for coding. The same applies to HDR monitors with fancy technology like mini-LED backlighting or wide gamut color support, or indeed uber-fast pixel response. All of that just adds cost without any significant upside. 

What we would be willing to pay extra for, however, is top notch connectivity. Of particular value is USB Type-C with power delivery. That allows you to hook up a laptop and both drive the display and power the laptop with a single cable. Many USB-C monitors also

Read More... Read More

Programming languages: Python is sluggish, but it’s about to get quicker

Python is exceptionally well-liked simply because it’s simple to study, adaptable, and has 1000’s of beneficial libraries for knowledge science. But 1 detail it is not is fast. 

That’s about to modify in Python 3.11, currently in the to start with beta stage of its preview (model 3.11.0b1) in advance of its stable launch later on this 12 months. Main Python (CPython) developer Mark Shannon shared particulars about the challenge to make Python quicker at the PyCon 2022 convention this 7 days, wherever developers also confirmed off progress on the goal of working Python code in the browser

Previous calendar year, Microsoft funded a task for the Python Software Basis (PSF), led by Python creator Guido van Rossum and Shannon, to make Python 2 times as quickly as the present steady 3.10 collection. The eyesight is to nudge Python toward the overall performance of C. 

SEE: How to get promoted: Five means to climb the ladder and have a successful job

Microsoft hired van Rossum in 2020 and gave him a cost-free hand to pick any venture. At past year’s PyCon 2021 meeting, he reported he “chose to go again to my roots” and would perform on Python’s famed lack of effectiveness. 

Overall performance, probably, hasn’t been a prime priority for Python as adoption has been fueled by machine learning and data science many thanks to Tensor Flow, Numpy, Pandas and quite a few far more platforms, such as AWS’s Boto3 SDK for Python. These platforms are downloaded tens of hundreds of thousands of situations a thirty day period and made use of in environments that are typically not constrained by components. 

The Faster CPython Undertaking provided some updates about CPython 3.11 efficiency over the earlier calendar year. In advance of PyCon 2022, the task revealed extra outcomes comparing the 3.11 beta preview to 3.10 on dozens of general performance metrics, exhibiting that 3.11 was total 1.25 instances speedier than 3.10. 

Shannon is reasonable about the project’s potential to enhance Python overall performance, but thinks the advancements can lengthen Python’s feasible use to much more virtual devices. 

“Python is commonly acknowledged as sluggish. Even though Python will never attain the effectiveness of reduced-amount languages like C, Fortran, or even Java, we would like it to be aggressive with quickly implementations of scripting languages, like V8 for Javascript or luajit for lua,” he wrote last yr in the Python Improvement Proposal (PEP) 659. 

“Precisely, we want to achieve these performance ambitions with CPython to reward all end users of Python like these not able to use PyPy or other alternative digital machines.” 

The essential strategy thorough in PEP 659 is a “specializing, adaptive interpreter that specializes code aggressively, but over a quite smaller region, and is capable to alter to mis-specialization promptly and at lower price.”

As famous, optimizations for VMs are “expensive”, frequently demanding a long “heat up” time. To stay away from this time price, the VM must “speculate that specialization is justified even immediately after

Read More... Read More

11 new programming languages to make a coder’s heart sing

Was it Alexander Pope who reported, “Hope springs eternal in the human breast”? Pope was a poet, not a hacker, but I consider he would recognize the anticipation involved in exploring a new programming language. He would know that application developers are permanently hopeful that this language, with its distinctive conflation of Unicode characters, will finally clear up all of our challenges, earning coding simple with just a couple of clicks.

Pope surely would fully grasp the drive for a new syntax so intuitive that we require only consider an solution, and see it rendered into sensible procedures that are marvelous, elaborate, and previously mentioned all suitable. He would enjoy the craving in our fingers to spin new code that looks as effortless and elegant as a triple axel, an inward a few-and-a-50 % in the pike placement, or a large slalom operate in the Olympics.

Most contemporary languages usually are not created for whimsy or demonstrating our coding prowess, on the other hand. They are manufactured in response to a common concern that the creators are eager to solve. While most developers will continue on to do our day to day coding in just one or much more more mature, a lot more proven languages, we are for good on the lookout for new resources to enable us resolve our coding challenges. We can see this tendency, in particular, in the increase of area-specific languages, or DSLs. These languages are compact and focused. They’re not supposed for basic-goal use. But some could make a special spot in your toolbox for precisely that purpose.

Here are 11 newer languages that have found their area of interest. Some are DSLs, created to do 1 factor and do it effectively. Other people, seemingly, aspire to save the entire world. Even if they aren’t what you will need proper now, all of them have a thing to educate about generating our desktops do what they do, but improved.

Reactive Clojure

When you marry Clojure with React, this is what you get: a technique that brings together all the choices of reactive entrance ends with the sound, functional power of Clojure. At its best, Reactive Clojure lets you lay out a intricate assortment of entrance-end elements and string them with each other with functions. The Reactive framework fills in the specifics and ensures software details flows effortlessly in between your parts and the databases. Clojure brings the useful foundation to make even out-of-the-everyday use instances possible—and debuggable.

Is it a match built in heaven? Time will convey to. Reactive Clojure is a excellent solution for creating the glue code that holds alongside one another front-stop elements. Its multithreaded design is a all-natural match for sophisticated and reactive dashboards that report on many tasks at the same time.

Nickel

1 of the a lot more ironic game titles that programmers engage in is pushing most of our work to configuration files. These data files, typically encoded in JSON, YAML, or even XML, are

Read More... Read More

How Does Semifinal Programming from Week One Compare to Week Two?

Photo Credit: Carlos Bown | @bownmedia

Enjoying Morning Chalk Up? Access additional exclusive interviews, analyses, and stories with an Rx membership.

Week 1 of the 2022 CrossFit Games Semifinals is in the books and week 2 is here. Today the focus is on evaluating the programming for the two Semifinals in week 2 and how they fit in and compare with the first three slates of workouts from week 1. (If you haven’t read the article linked here, it is recommended to do so. Many of these topics are discussed in more detail there.) 

Time Domains

When evaluating time domains, we are talking about expected time domains, not listed time caps. In the table below, we have updated the time caps (when needed) to reflect the actual times needed for the top 10 or so athletes in each event. In the case that it was notably different for men than women, the men are listed first followed by a slash and then the women. 

For the MACC and Cape Town columns, those are the projected expected times for each workout. 

Non-CF Programmed Events Syndicate Lowlands Torian MACC Cape Town
E1 10:00/12:00 18:00/20:00 20:30/22:00 13:00 21:00
E2 23:00/25:00 7:00 9:30 23:00 16:00
E3 11:30/13:30 11:00 6:00 12:00 18:00
E4 6:30/7:30 4:00 5:00 7:00 7:00
Time Domains in 2022 Semifinal Events | Brian Friend

A few noteworthy items: 

  • From week 1 there was variability in terms of time needed between men and women and all four workouts relative to the other two; it will be intriguing to see if that’s the case for other Semifinals going forward. 
  • The distribution of time domains at the MACC appears to be rather appropriate given the two pre-programmed CrossFit workouts; hit the long, have a short-moderate in the finale, and two metcons in the 10-15 minute range.
  • Cape Town’s programming is very long with three workouts expected to take over 16 minutes; so far no other semi has more than one workout like that.

Handstand Push-Ups and Handstand Walking

Pretty straightforward for the next few sections; all we did was add in whether MACC and/or Cape Town had the listed movement and in what capacity.

Movement Syndicate Lowlands Torian MACC Cape Town
HS walking 400 feet 72 meters 180 feet 60 meters
HSPUs 18 def HSPUs(9/6 inches) 60 regularkipping hspus 45 strict deficitHSPUs 50 regularkipping hspus
Handstand Elements in 2022 Semifinal Events | Brian Friend

Handstand walking:

  • The handstand walking distance at Lowlands, MACC, and Cape Town is relatively similar. 
  • Syndicate still had by far the most handstand walking distance required.
  • Torian remains the only Semi thus far not to test it at all.

Handstand Push-up Variations:

  • MACC becomes the first Semifinal not to test handstand push-ups in any capacity. 
  • Cape Town, like Lowlands, has a modest number of regular kipping handstand push-ups near the end of the same chipper that also has handstand walking.

Squatting Volume:

Syndicate Lowlands Torian MACC Cape Town
150 wall balls 120 wall balls 100 wall
Read More... Read More

Botched vote count in DeKalb race caused by Georgia programming mistake

“Georgia’s election system works and is secure,” Evans said. “DeKalb’s elections team is setting an example for the rest of the state of how to properly audit and review results before certification.”

The recount, which will be open to the public, will scan each paper ballot on a central scanner at the DeKalb elections office starting at 9 a.m. Saturday. The recount will become the results certified by the DeKalb elections board next week.

Comparing the DeKalb County District 2 vote counts

The votes in District 2 were to be hand counted beginning Saturday 5-28 and continued Sunday and Monday. As of Tuesday, the recount was not complete. We will update when the new count is available. Note results are unofficial and may be incomplete.


The original count reported 5/25. Note results are unofficial and may be incomplete.


Hundreds of votes for Spears may not have been initially counted. Voter turnout in the district, which includes Brookhaven, Decatur and Druid Hills, was half as high as a neighboring commission district in southwest DeKalb.

“Our staff not only followed the proper procedures in advance but responded with urgency when this error came to light,” DeKalb Election Board Chairwoman Dele Lowman Smith said. “DeKalb County voters can take courage in the multiple checks and balances built into the voting process that should give them confidence in the outcome of this vote.”

A series of programming changes to voting touchscreens and scanners contributed to the erroneous count, according to the secretary of state’s office.

First, election officials adjusted settings to show three candidates in the commission race instead of four after Donald Broussard withdrew his candidacy.

Then, election officials discovered that voting equipment in five precincts hadn’t been updated after redistricting this year to reflect they were now within that commission district.

Next, the secretary of state’s Center for Election Systems tried to fix a problem in which a Republican Party ballot question wasn’t appearing correctly on touchscreens.

But the state’s attempt to correct the ballot question introduced a discrepancy between the five redistricted precincts and the rest of the commission district.

As a result, most ballot scanners on election day were programmed to expect votes for four candidates in the race when there were only three displayed on ballots, an inconsistency that prevented votes for Spears from being counted.

Georgia uses a voting system that combines voting touchscreens with printed-out paper ballots, which can be used to help check electronic results during recounts or audits. The state spent over $138 million to purchase voting equipment from Dominion Voting Systems in 2019.

Going into the recount, Marshall Orson and Lauren Alexander were in first and second place, putting them in a position to advance to a June 21 runoff. However, the recount could put Spears in contention.

Read More...

Read More