Language Selection

English French German Italian Portuguese Spanish

fieldyweb's blog

How to secure the plex web interface behind a reverse proxy

These are some instructions i put together to get plexweb working from home over https using an NGINX reverse proxy. Might be useful to someone.

Read More

OMG what happened to CentOS 7 Desktop?

As an Ubuntu user i always keep an eye out on other distros i've used over the years Sabayon, OpenSuse however CentOS is never a desktop distro i'd think of, always felt like heading back to 1990 on the desktop.. Time it seems however have changed

Read More

New HTPC the Lenovo Ideastation Q190 & Ubuntu

We cut the cord a couple of years ago, the need to get TV over traditional TV Ariel was no longer needed and services such as TV Catchup, iPlayer and the other UK Catchup TV Channels streamed over the net to my TV were all we needed.

Having had an Asrock 330 Ion be the trusty device for nearly 5 years the box finally gave up the shost last week.

The options available for using the internet to provide your TV are huge, from the giants of Apple with Apple TV, Google are dipping their toes in the water they have the ChromeCast, and there are a huge bagfull of Android Devices which all claim to plug into the HDMI port of your TV.. Then there is the Raspberry PI which has a custom build of OS's to provide different interfaces.

Read more

Why is Security not Turned on by Default?

Filed under
Just talk

This isn't a Windows thing, Linux as well should be more secure than the assumption that the OS with elevated privileges is secure enough, there is so much more Desktop Linux could be doing to make the users experience more secure.

Read more

Sometimes the Tech pres just gets it wrong..

Filed under
Just talk

While I know this is a Linux site, i feel that Windows RT is getting the same bad rap Linux gets from the Tech press in many areas. A lack of true understanding of just what they are dealing with or just a huge need to present some form of being part of the crowd. I'm not sure just what it is however it needs to change. It's the same thing that happens when some people review Ubuntu PHone for example and claim it's not a viable platform.. and it annoys me..

Why Everything you've read in the tech press about Windows RT is WRONG!!

Head to head the best of class, the Lumia 920 and the Nexus 4

Filed under
Just talk

With the tenuous link of Linux/android I take a look at just how googles flagship device stands up against the top WP8 phone

read more

OpenSUSE from an Ubuntu users point of view..

Filed under
Reviews

I'm not a huge fan of VS posts, you know, Linux Mint VS Fedora.. I'm a Linux user, and i've recently migrated from Ubuntu to OpenSuse to see what the other side of the fence is likem what's done different, what is good, what is not so good. I've put together a few observations

Please, have a read

Fixing OpenSuse’s Dog Awful default fonts…

Filed under
Howtos

Lets not beat around the bush here, the default font rendering in OpenSuse and the default font do not an OS fit for reading make.. this can be fixed however..

Love or hate Ubuntu, out of the box it has one of the best font rendering setups of any distro and considering how much time we spend on our PC’s setting your fonts up correctly is one less headach, literally.

I’m not sure how much of these instructions I got right, however after a reboot the screen text does at least look better..

Read More

Stopping Screen Flickering on Ivy Bridge Laptops using Linux

Filed under
Howtos

This is a solution to a problem which has been dogging me on every version of Linux I install on the Acer Aspire S3. I'm hoping it will help someone.

Read my solution

My thoughts after nearly a week with KDE 4.10

I'm switching to KDE from Gnome 3 for a Month.. This is nearly a week..

Read More

Linux Desktops KDE 4 vs Unity vs Gnome 3 in the real world.

If you’ve chosen one of the major Linux distributions chances are (unless you’re a Mint user) you’ve come across the three big Linux Gui’s KDE, Gnome 3 and Unity.

The problem with any post like this is it’s an opinion piece, and with out a shadow of a doubt my opinion is probably going to vastly different to a lot of people out there. Linux users can be ferociously protective of not just their choice of distro, but their choice of Desktop as well.

Read more

Time for a discreet OSX feature to come over to Linux.

Filed under
Linux

There is functionality in OSX called Airdrop which Linux Desktops could do with as a replacement of the SMB/NFS shared files sharing system. There are some options out with but they are seemingly stale projects which however can provide the functionality which is needed in Linux

Read More

The question is, Which OS is the best? The replies were interesting.

Filed under
Linux

asking this very simple question which is the best Operating system in some corners of the Internet, is like throwing a slab of raw meat into a wild animal enclosure and watching as the question gets ripped apart. Its tantamount to asking which religion or political system is the best in the way some will tear strips off others

The rest here...

Is OpenSuse a viable Ubuntu alternative?

Filed under
Linux

There’s lots of forums and even 3 or 4 releases in I still hear people talking about how much they dislike Unity, which is a shame because it’s turning into quite a nice Gui from where i’m sitting, however one thing Linux has is choice. If nothing else there are other solid, stable distributions out there which offer a user a good solid alternative. Once such example is maybe OpenSUSE.

Read More

Getting any distro to work on an Acer S3 feels like its 2002 again..

I've been having a problem all week stopping some insane screen tearing on an Acer Aspire S3, I've got to a point where its better, usable, but not perfect, so i've posted what I've done and it might help someone else.

Read More

Nettop, the command not the hardware is not just for OSX..

Filed under
Linux

I found this article on the osxdaily website, the article refers to running nettop on OSX however it’s a *nix command so will also be in the package repository (if not preinstalled) on your favorite distro. I’ve tested all of the command options on Sabayon and they work fine..

Read More

Using dual factor authentication on Linux..

Filed under
Linux

I’m really starting to appreciate the benifits of dual factor authentication across the board, so this Howtoforge article is of interest to anyone who wants to secure SSH access on thier Linux systems. I previously posted about using your mobile phone as the something you have bit, well this is another method.

Read More

HOW TO DO MASS ENROLLING OF YUBIKEY WITH LINOTP

Filed under
Linux

While you may have your Ubuntu install locked down with Full disk encryption incase you loose the laptop, UFW locking down the network with a firewall, there is no point if you have a poor password. Dual factor authentication using One Time Passwords may be an option for you, if they are this great howtoforge article might point you in the right direction.

Read More

Why is PRISM so shocking? Everyone is reading our data

Filed under
Just talk

With prism being the story of the week, I'm just asking a simple question

Read More

Setting up a serial console

This is a bit old school however if you are a Sysadmin you might need to get a console up for a Cisco or other device. I hope this helps

Read More

Syndicate content

More in Tux Machines

NanoPi NEO3 Headless SBC Launched for $20 and up

Last month, we found out FriendlyELEC was working on NanoPi NEO3, a tiny SBC powered by Rockchip RK3328 processor and made for headless applications and networked storage thanks to Gigabit Ethernet and USB 3.0 ports, as well as a 26-pin GPIO header. At the time, the board was still been finalized, but the company has now started to take orders for $20 and up depending on options which include a cute white enclosure... [...] The Wiki has been updated as well, and the company provides both Ubuntu Core 18.04 based FriendlyCore, and OpenWrt based FriendlyWrt operating systems for the board with both relying on Linux 5.4.12 kernel. I’d also expect Armbian to eventually provide Ubuntu 20.04 and Debian 10 images. Read more

Moving (parts of) the Cling REPL in Clang

Motivation
===

Over the last decade we have developed an interactive, interpretative 
C++ (aka REPL) as part of the high-energy physics (HEP) data analysis 
project -- ROOT [1-2]. We invested a significant  effort to replace the 
CINT C++ interpreter with a newly implemented REPL based on llvm -- 
cling [3]. The cling infrastructure is a core component of the data 
analysis framework of ROOT and runs in production for approximately 5 
years.

Cling is also  a standalone tool, which has a growing community outside 
of our field. Cling’s user community includes users in finance, biology 
and in a few companies with proprietary software. For example, there is 
a xeus-cling jupyter kernel [4]. One of the major challenges we face to 
foster that community is  our cling-related patches in llvm and clang 
forks. The benefits of using the LLVM community standards for code 
reviews, release cycles and integration has been mentioned a number of 
times by our "external" users.

Last year we were awarded an NSF grant to improve cling's sustainability 
and make it a standalone tool. We thank the LLVM Foundation Board for 
supporting us with a non-binding letter of collaboration which was 
essential for getting this grant.


Background
===

Cling is a C++ interpreter built on top of clang and llvm. In a 
nutshell, it uses clang's incremental compilation facilities to process 
code chunk-by-chunk by assuming an ever-growing translation unit [5]. 
Then code is lowered into llvm IR and run by the llvm jit. Cling has 
implemented some language "extensions" such as execution statements on 
the global scope and error recovery. Cling is in the core of HEP -- it 
is heavily used during data analysis of exabytes of particle physics 
data coming from the Large Hadron Collider (LHC) and other particle 
physics experiments.


Plans
===

The project foresees three main directions -- move parts of cling 
upstream along with the clang and llvm features that enable them; extend 
and generalize the language interoperability layer around cling; and 
extend and generalize the OpenCL/CUDA support in cling. We are at the 
early stages of the project and this email intends to be an RFC for the 
first part -- upstreaming parts of cling. Please do share your thoughts 
on the rest, too.


Moving Parts of Cling Upstream
---

Over the years we have slowly moved some patches upstream. However we 
still have around 100 patches in the clang fork. Most of them are in the 
context of extending the incremental compilation support for clang. The 
incremental compilation poses some challenges in the clang 
infrastructure. For example, we need to tune CodeGen to work with 
multiple llvm::Module instances, and finalize per each 
end-of-translation unit (we have multiple of them). Other changes 
include small adjustments in the FileManager's caching mechanism, and 
bug fixes in the SourceManager (code which can be reached mostly from 
within our setup). One conclusion we can draw from our research is that 
the clang infrastructure fits amazingly well to something which was not 
its main use case. The grand total of our diffs against clang-9 is: `62 
files changed, 1294 insertions(+), 231 deletions(-)`. Cling is currently 
being upgraded from llvm-5 to llvm-9.

A major weakness of cling's infrastructure is that it does not work with 
the clang Action infrastructure due to the lack of an 
IncrementalAction.  A possible way forward would be to implement a 
clang::IncrementalAction as a starting point. This way we should be able 
to reduce the amount of setup necessary to use the incremental 
infrastructure in clang. However, this will be a bit of a testing 
challenge -- cling lives downstream and some of the new code may be 
impossible to pick straight away and use. Building a mainline example 
tool such as clang-repl which gives us a way to test that incremental 
case or repurpose the already existing clang-interpreter may  be able to 
address the issue. The major risk of the task is avoiding code in the 
clang mainline which is untested by its HEP production environment.
There are several other types of patches to the ROOT fork of Clang, 
including ones  in the context of performance,towards  C++ modules 
support (D41416), and storage (does not have a patch yet but has an open 
projects entry and somebody working on it). These patches can be 
considered in parallel independently on the rest.

Extend and Generalize the Language Interoperability Layer Around Cling
---

HEP has extensive experience with on-demand python interoperability 
using cppyy[6], which is built around the type information provided by 
cling. Unlike tools with custom parsers such as swig and sip and tools 
built on top of C-APIs such as boost.python and pybind11, cling can 
provide information about memory management patterns (eg refcounting) 
and instantiate templates on the fly.We feel that functionality may not 
be of general interest to the llvm community but we will prepare another 
RFC and send it here later on to gather feedback.


Extend and Generalize the OpenCL/CUDA Support in Cling
---

Cling can incrementally compile CUDA code [7-8] allowing easier set up 
and enabling some interesting use cases. There are a number of planned 
improvements including talking to HIP [9] and SYCL to support more 
hardware architectures.



The primary focus of our work is to upstreaming functionality required 
to build an incremental compiler and rework cling build against vanilla 
clang and llvm. The last two points are to give the scope of the work 
which we will be doing the next 2-3 years. We will send here RFCs for 
both of them to trigger technical discussion if there is interest in 
pursuing this direction.


Collaboration
===

Open source development nowadays relies on reviewers. LLVM is no 
different and we will probably disturb a good number of people in the 
community ;)We would like to invite anybody interested in joining our 
incremental C++ activities to our open every second week calls. 
Announcements will be done via google group: compiler-research-announce 
(https://groups.google.com/g/compiler-research-announce).



Many thanks!


David & Vassil

Read more Also: Cling C++ Interpreter Looking To Upstream More Code Into LLVM

This week in KDE: New features galore!

Tons and tons of awesome new features and UI polish landed this week, alongside an equally weighty ton of important bugfixes. Read more

Elive 3.8.14 beta released

The Elive Team is proud to announce the release of the beta version 3.8.14 This new version includes: Kernel updated to 5.6.14 retrowave special theme themes, designs, icons improvements and more customizations included bootup with a much more friendly graphical menu, it now remembers your last selected OS, all the options are in the same menu instead of submenus, disabled useless recovery options, improved resolution, fixed wallpaper issue on encrypted installations SWAP space is much more performant now, feedbacks welcome Read more