In this post you’ll find a nice explanation of how tail call optimization works. Surprise-surprise, the optmization also works fine with non-recursive functions.
#compiler #optimize #recursion
#compiler #optimize #recursion
eklitzke.org
How Tail Call Optimization Works
Draft JEP on Primitive Objects.
It’s something like an immutable class without identity. Copy of such an object is an exact copy of that original object. And there are plans on treating
#java #jep #primitive
It’s something like an immutable class without identity. Copy of such an object is an exact copy of that original object. And there are plans on treating
int, boolean, etc. as primitive objects. We’re waiting for you, List<int>! #java #jep #primitive
Fun, fun, fun! There’s an issue in linuxmint/cinnamon-screensaver: some kids were fooling around with lockscreen, clicking and typing random stuff, then screensaver crashed, letting them pass into the system.
#linux #crash #cybersec
#linux #crash #cybersec
GitHub
Screensaver lock by-pass via the virtual keyboard · Issue #354 · linuxmint/cinnamon-screensaver
* Cinnamon version: Cinnamon 4.6.7 * Distribution: Fedora 32 * Graphics hardware *and* driver used: 03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 47...
Why would anyone want to fix broken toilets or to stop using GNOME, if they can keep enjoying this sweet pain?
#linux #gnome #humor
#linux #gnome #humor
jayfax.neocities.org
GNOME has no thumbnails in the file picker (and my toilets are blocked)
GNOME filepicker and my toilets are broken because of culture of mediocrity.
Contempt Culture
I wonder, are there similar attitudes in the world of MDs? Do oncologists despise otolaryngologists? Do otolaryngologists in turn disdain proctologists? Does the whole bunch of them disrespect therapists?
All right, then. Who will patch my butt up after the explosion that usually happens when I spend a day fighting Android SDK?
#community #culture
I wonder, are there similar attitudes in the world of MDs? Do oncologists despise otolaryngologists? Do otolaryngologists in turn disdain proctologists? Does the whole bunch of them disrespect therapists?
All right, then. Who will patch my butt up after the explosion that usually happens when I spend a day fighting Android SDK?
#community #culture
Aurynn
Contempt Culture - The Particular Finest
So when I started programming in 2001, it was du jour in the communities I participated in to be highly critical of other languages. Other languages
@dsvoronin has recently shared “The Tragedy of systemd” talk by Benno Rice (one of FreeBSD contributors). systemd is a controversial piece of tech. In his talk Benno tried to dig deeper into the history of systemd, what it is criticized for, and why it’s not all that bad.
The talk itself is great by the way. I’ll put some quotes into the discussions.
#linux #systemd #talk
The talk itself is great by the way. I’ll put some quotes into the discussions.
#linux #systemd #talk
YouTube
The Tragedy of systemd
Benno Rice
https://2019.linux.conf.au/schedule/presentation/156/
systemd is, to put it mildly, controversial. As a FreeBSD developer I decided I wanted to know why.
I delved into the history of bootstrap systems, and even the history of UNIX and other…
https://2019.linux.conf.au/schedule/presentation/156/
systemd is, to put it mildly, controversial. As a FreeBSD developer I decided I wanted to know why.
I delved into the history of bootstrap systems, and even the history of UNIX and other…
@istima shared a great video: Quake III developers had to perform lots of 1 / sqrt(x) calculations. But it worked too slow. So, they’ve come up with an algorithm, that produces a good enough approximation, but works much faster. Enjoy!
#gamedev #math #talk
#gamedev #math #talk
YouTube
Fast Inverse Square Root — A Quake III Algorithm
In this video we will take an in depth look at the fast inverse square root and see where the mysterious number 0x5f3759df comes from. This algorithm became famous after id Software open sourced the engine for Quake III. On the way we will also learn about…
Check out this talk by Yegor Bugayenko. It’s about the basics of EOLANG in it’s current state. It looks scary, it looks funny, watching it was interesting, try for yourself.
#oop #talk
#oop #talk
YouTube
EOLANG: Basics
We will discuss how EOLANG works.
A long post on XDA with rumors and speculation about Android 12. Material NEXT? Custom themes support out-of-the-box? Scrolling screenshots? OS UI mockups look kinda nice by the way.
#android #os #update
#android #os #update
XDA Developers
Android 12: Everything you need to know about Google’s new big update to the popular OS!
Android 12 will be the latest version of Google's new Android OS when it releases later this year, but here's what we already know about it!
A very practical page of Elm guides: Types as Sets. By using well-tailored types we can protect ourselves from different kinds of invalid states in our programs. So why not just use this approach?
#type #programming #math
#type #programming #math
guide.elm-lang.org
Types as Sets · An Introduction to Elm
Two for the price of one this time. Bruce Eckel (you’ll most probably know this guy, at least for the “Thinking in Java” book) in his post has criticized Gradle a bit, and Cédric Champeau (was building Groovy, is building Gradle) has tried to challenge Bruce’s points.
#gradle #java #groovy
#gradle #java #groovy
Bruceeckel
The Problem with Gradle
Here we go again: @Deprecated annotation has become deprecated itself because of a tiny bug in documentation processing.
#humor #annotations #bug
#humor #annotations #bug
Stack Overflow
Android Deprecated Annotation is deprecated, what's the replacement?
According to Official Android Documentation Deprecated itself is deprecated in API level S. So what's the replacement for Deprecated which itself is deprecated?
Edit: Added web archive link for
Edit: Added web archive link for
Big boys want discuss big toys! Big boys want build big toys! Big boys start Mobile Native Foundation. Very nice!
By the way, check out the discussions page, it’s somewhat interesting to read.
Shared by @Remych04
#community #mobilenativefoundation
By the way, check out the discussions page, it’s somewhat interesting to read.
Shared by @Remych04
#community #mobilenativefoundation
Medium
Announcing the Mobile Native Foundation
Today, we’re excited to launch the Mobile Native Foundation. Backed by The Linux Foundation, along with Airbnb, Corellium, Elotl…
Check out this new library from Square - Curtains. It’s a bunch of
#library #window
Window-related APIs to make some very unpleasant things a little bit easier. #library #window
GitHub
GitHub - square/curtains: Lift the curtain on Android Windows!
Lift the curtain on Android Windows! Contribute to square/curtains development by creating an account on GitHub.
Looks like an important thing: the 1st release of Projector is out. This tool allows us to stream IDE from a powerful server to a weak client.
#ide #intellij
#ide #intellij
The JetBrains Blog
Access Your IDE Remotely With Projector | The JetBrains Blog
Today we're announcing the initial release of Projector – a tool and framework for running JetBrains IDEs and Swing apps remotely over your network. As you may know, Swing is a graphical widget too
The title of this post speaks for itself: “What every developer should know about TCP”. Nothing mind-blowing, just a nice reminder.
#network #tcp #http
#network #tcp #http
Roberto's blog
What every developer should know about TCP
Why do you need to place your servers geographically close to your users? One of the reasons is to achieve lower latencies. That makes a lot of sense when you are sending short bursts of data that should be delivered as quickly as possible. But what about…
By the way, “Ignite-style talk – 20 slides, 15 seconds per slide, auto-advancing” sounds like a nice and fun talk format.
#solid #oop
Dan North & Associates Ltd
CUPID—the back story
“If you had to offer some principles for modern software development, which would you choose?” At a recent Extreme Tuesday Club (XTC) virtual meet-up, we were discussing whether the SOLID principles are outdated. A while ago I gave a tongue-in-cheek talk…
HTTP is old, and over the ages lots of strange and interesting things had found it’s way into protocol. You’ll find more details in this post. Teaser:
- no-cache header actually means do cache
- What are the 1XX codes used for?
- Every websocket depends on the same UUID 258EAFA5-E914-47DA-95CA-C5AB0DC85B11. What?
#http #network #protocol
- no-cache header actually means do cache
- What are the 1XX codes used for?
- Every websocket depends on the same UUID 258EAFA5-E914-47DA-95CA-C5AB0DC85B11. What?
#http #network #protocol
Httptoolkit
HTTPWTF
HTTP is fundamental to modern development, from frontend to backend to mobile. But like any widespread mature standard, it's got some funky skeletons in the...
Very exciting story: someone has found a way to significantly speed-up load time of GTA Online. That's how our suboptimal code can bring huge inconvenience to lots of people.
#gamedev #optimize #algorithm
#gamedev #optimize #algorithm
meh.
How I cut GTA Online loading times by 70%
GTA Online. Infamous for its slow loading times. Having picked up the game again to finish some of the newer heists I was shocked (/s) to discover that it still loads just as slow as the day it was re