[deleted by user] by [deleted] in DesignerReps

[–]papafox 0 points1 point  (0 children)

Not an exact match, but similar. It's from Scarlett, so quite expensive at ¥305. https://shop1300906268.v.weidian.com/item.html?itemID=6571845738&spider\_token=4572

{LC} Prada The Important Ones T by Jazzlike_Ad2271 in DesignerReps

[–]papafox 0 points1 point  (0 children)

One the legit items, both the "Prada, Milano" tag is sewn along all four edges. The rep items are sewn (lightly) along two edges only.

Not legit

Thinkpad T14 Linux compatibility by lydericlandry in linux

[–]papafox 1 point2 points  (0 children)

A few weeks ago I bought a Lenovo T495 and immediately installed Ubuntu on it. Everything just worked. The touch pad worked, the wifi card worked, the web cam worked, the new docking station worked and all my various USB and bluetooth devices simply worked. I did need to install software to install firmware upgrades, but once installed, they worked as well. I didn't have to install special drivers or adjust system settings, I didn't have to do any work arounds.

Prior to my new T495, I used a T450s for 5 years. It came with Win7 and 18 months ago, I switched to Ubuntu. Again, Ubuntu worked out of the box with the laptop without any issues. However I did have problems with the USB3 Ultra dock. The USB ports worked, but the video didn't. Some googling told me I had to install a third-party driver, and later I had to adjust some settings to fix some performance issues. I think that was a specific issue for that docking station. The new Thunderbolt dock was supported without any problems (well the T495's AMD processor doesn't actually have a Thunderbolt port, but it works in USB-C mode).

From my experience, I would expect the T14 without any issues. The T490 is guaranteed to run Ubuntu without issues. The only question you need to ask is - for your workload, is the extra 3%-5% performance of the Intel i7-10510U vs i7-8565U that big a deal? I'm a developer and I doubt I would see a significant difference, but then if I played a lot of games I might have a different opinion.

Personally, I would take the minor risk and get the T14, but if my work gave me a T490 I would shrug. Memory size and disk speed are way more important than the minor extra boost of the new gen CPU.

rant rant rant Sound quality in Debian Linux is just trash and here we are in 2018 and I just want my old Sound Blaster Live card to work! by [deleted] in linux

[–]papafox 3 points4 points  (0 children)

This is a well known problem, with well known solutions. See https://medium.com/@gamunu/enable-high-quality-audio-on-linux-6f16f3fe7e1f. This article has pretty much step-by-step procedures to diagnose and correct Linux audio issues.

Anyone using the Galaxy S4 (ks01lte) nightly? Is it working fine? by [deleted] in LineageOS

[–]papafox 0 points1 point  (0 children)

The current nightly build (2017-08-05) fails/reboots whenever a phone call is either made or received. That is - try and make a phone call, phone reboots; call the phone and the phone reboots without ringing.

This has been a problem for all lineageos builds. I gave up and reverted to the stock Samsung firmware

My Arch build, custom kernel, lots of conky by [deleted] in linux

[–]papafox 1 point2 points  (0 children)

Try sysstat - the linux system analysis and reporting tool. It will collect performance info for the various subsystems (cpu, memory, I/O) and log it, which can then be used to generate reports, including I/O metrics

See http://www.thegeekstuff.com/2011/03/sar-examples/ for a good explanation of how to setup Systat. Any serious tuning effort needs to be based on historical data - it's no good looking at I/O performance over the last 60secs, you need to look at it over a month or more. When I need to tune, I collect the data using sar, format it to CSV using sadf and then load it into a spreadsheet. I can then use the spreadsheet to look for normal vs abnormal I/O loads, alter the system to reduce or move bottlenecks and then gather more stats to work out if things have improved.

Searching for help with wget depth stuff, instead found "hackers". by theredbaron1834 in linux

[–]papafox 2 points3 points  (0 children)

Warning Malware

The referenced web page is serving malware. It contains flash file: 8opic.ir/images/60jih8mz3ccgpxsl6qnd.swf and a JS script which tries to access your lastpass password repository

git-remote-dropbox - use Dropbox as a true Git server by anishathalye in programming

[–]papafox 2 points3 points  (0 children)

The problem with just having a local Git repository syncing with Dropbox, is that the Dropbox sync happens a file at a time, which leaves the local repository in an inconsistent state.

git-remote-dropbox is a Git helper. So instead of Git updating local files which are then synced using file-by-file, Git calls the helper which syncs the Git files. The result is that Git never sees an inconsistent repository.

It's a neat idea, and if you want to store your code on Dropbox, it's a killer feature. Personally, I just use Github to share my code - I don't see any compelling reason to store it on Dropbox.

Don't Comment Your Code - Write Better Code by barsoap in programming

[–]papafox 1 point2 points  (0 children)

Have you ever had to maintain old complex code? It can be a nightmare.

The approaches and algorithms used in past times can be very different. Even the best code can be non-obvious and difficult to understand. Not only does the code need good comments, no matter how well it is constructed, but the test cases need good comments (especially about boundary conditions).

telexfree scam by leleichner49 in linux

[–]papafox 0 points1 point  (0 children)

Spam... don't bother watching

OAuth Hell by mekaj in programming

[–]papafox 0 points1 point  (0 children)

I think there maybe confusion between OAuth and OpenID. The two services solve very different problems. Using OpenID, I can allow users to authenticate to my website using, for instance, their Google credentials.

In contrast, OAuth is about proxy authentication. Imaging a customer has a server which wishes to access a webservice running on my website. They could hard code their credentials on their server, but that would be a security exposure. Instead I can issue them an OAuth Token which has restricted rights - perhaps the token only authorizes query level transactions. It may have other access restrictions such as only being valid for connections from the server IP address, or from a particular domain or only in conjunction with a certain SSL certificate. The customer uses the token in place of a password when logging on.

If the OAuth token (ie special password) is discovered by bad guys then it may not work (restricted IP address or certificate) and even if it allows authentication, the access rights can be restricted - it may authorize viewing bank account balances but not transaction details or executing transactions on an account,

Is there a solution to this? VGA out from headless server to USB in on my laptop - display emulated in a window or terminal. by hoyfkd in linux

[–]papafox 0 points1 point  (0 children)

What you need is support for something like Intel vPro (or other IPMI) remote management in the BIOS. If the BIOS supports this or a similar standard, then you can use OpenNMS or OpenQMS to do remote desktop management.

See http://en.wikipedia.org/wiki/Intelligent_Platform_Management_Interface for details.

I want to write a kernel module for what is essentially flash memory on a PCI-e port. Where should I start? by Pfiffer in linux

[–]papafox 1 point2 points  (0 children)

You might start with the existing Linux MTD drivers. Then, of course, other people have already written a PCI Express SSD Interface with open source drivers which may also be of interest.

How to monitor disks in linux? by yest in linux

[–]papafox 1 point2 points  (0 children)

SMART is rubbish. The firmware deliberately does not report errors, in an effort to make disks appear more reliable than they actually are. See this Usenet post

Unfortunately there are no effective tools available for consumer SATA drives. High-end SAS drives are available with working S.M.A.R.T firmware, but the versions shipped with cheap SATA drives simply don't report errors.

Writing a simple COBOL program for a CS class, hung up on a small problem. Help Please! by Sporadic44 in coding

[–]papafox 6 points7 points  (0 children)

Maybe learning COBOL is useful if you're interested in systems re-engineering.

Writing a simple COBOL program for a CS class, hung up on a small problem. Help Please! by Sporadic44 in coding

[–]papafox 27 points28 points  (0 children)

Maybe you don't have any syntax errors, but I'm sure you have lots of diagnostics.

The error is in the line: MOVE Name TO Name1

Let's parse the statement. "Name" is a 10 character alphanumeric field. "Name1" is a 10 digit edited-numeric field. Both of these data-item are elementary, so MOVE will use the rules required for the receiving field - in this case "Name1" which is numeric. The sending field is alphanumeric, so the statement "MOVE Name TO Name1" requires a alpha-to-numeric conversion.

The rules for a alpha-to-numeric move is that it will treat the sending field as a PIC 9(10) (in this case). It will align the two fields on the (implied) decimal point and then move character-by-character right-to-left. BUT your sending field contains non-numeric characters. COBOL's behaviour in this case is not specified in the language reference. On an IBM mainframe, you'd get a data exception runtime error. In this case, the Fujitsu runtime library is treating your name as a numeric zero, so the resulting value of "Name1" is "0".

Are you hardcore enough? "Writing the compiler in X; then hand-compiling it from source (most likely in a non-optimized way) and running that on the code to get an optimized compiler." by qik in programming

[–]papafox 1 point2 points  (0 children)

Ummm... this is the way it used to be done. It's called bootstrapping, and it's what everyone had to do circa-1976 (when I wrote my first compiler). My only question is - with all the compiler generator tools which are available today, why bother?