HNHacker News
TopNewBestAskShowJobs

pitay

282 karma · joined June 5, 2013

submissionscomments
pitay··on The Worsening State of Ransomware
Booting to a Live USB/DVD/CD and then doing the backup while in the booted Live OS would minimize the chances of corruption of the backup, either reading from it or writing to it.

Not ironclad but pretty good. Issues with it that first come to mind are the live operating system image was already compromised when it was written to say the USB disk, or compromised firmware, and of course user error (nothing to do with ransomware in this case). I am not familiar with this stuff so I may be missing something very important, if so tell me about it.

pitay··on Why we’re removing comments on most of Inquirer.com
The old Slashdot comment system before the original creator left worked very well. It was proud to say that the only comment they were forced to delete was one that criticised Scientology. That was because they took Slashdot to court. Users moderated comments with a set amount of mod points, usually only having 5 points to moderate up or down at a time (every few days I think for people with excellent score), there was metamoderation there as well, user metamoderation mind you. Not sure if metamoderation was there at the start, but the comments I generally saw were generally quite good. It was great to get various viewpoints without all these people trying to stop people saying their piece like we find all the time today. Not that no comments were removed, comments were hidden if they were below a specific score that you set. You could set the score to -1 if you wanted and see all the comments, and it was nice to do so sometimes. Note that it really did work like a democracy to show what comments people really thought were worth upvoting. It worked. Now with the new owners there is a link to flag a comment on the bottom right of each comment. Sad.
pitay··on “This Browser Is Lightning Fast”: Effects of Messaging on Perceived Performance [pdf]
The addon is this one: https://addons.mozilla.org/en-GB/firefox/addon/auto-tab-disc...

On that page it says that it is recommended and that "Firefox only recommends add-ons that meet our standards for security and performance.". I have had no problems with any performance issues with it. However, you have to be very careful with it and make sure that if you are filling out a form or something that you tell the addon to keep the tab. Auto Tab Discard has the options to keep a tab for the session, or always keep tabs for a specific site. Just make sure it keeps the tab for a page that you are writing something on, otherwise you might lose information not submitted. I am not sure about this, I don't remember testing it, but just be safe.

As for the about:config settings, I believe they were these two:

browser.cache.disk.enable = false

browser.cache.memory.max_entry_size = 512

The first one is obvious. The second one limits the cache to only storing it if the entry is less than 512KB. My reasoning to change was that it should this to a smaller value was that smaller things like tiny images would be used across pages whereas larger things are less likely to be.

One I didn't change was browser.cache.memory.capacity, look it up if you want. From memory, the one that really seemed to matter was browser.cache.disk.enable to false, I really don't know why.

I hope it works for you. Have a good day.

pitay··on “This Browser Is Lightning Fast”: Effects of Messaging on Perceived Performance [pdf]
I had some issues with Firefox memory usage quite a while ago, tweaking about:config and using the Auto Tab Discard addon made it much better. IIRC the about:config changes were changes to various cache setttings, but one of the more surprising things was that not having disk cache enables significantly reduced memory usage, no idea why, maybe Firefox's bookkeeping code for stuff cached on disk used a lot of memory for some reason. This is just what worked for me, so YMMV, it only might work for anyone else.

One of my bigger annoyances with Firefox at the moment is that it writes to the cookies.sqlite and cookies.sqlite-wal files consistently every few seconds. This writing all the time behaviour has led to Firefox being called a 'SSD killer' a few years ago when SSDs were not as durable as they are now. Every chance I have tried on the about:config settings to try and fix it hasn't worked, got rid of session restore etc, no dice. It looks like I will have to put the Firefox profile directory on a ramdisk to fix this, softlinking the password files to the HDD, because they are the only thing I care about getting written to disk straight away.

pitay··on Ultima VIII – How to destroy a gaming franchise in one easy step
Yes. I definitely enjoyed U8. It's the only Ultima I've finished so far.
pitay··on Tauri: An Electron alternative written in Rust
At least with writing uncomplicated web applications it was still quite easy to have it compatible with the major browsers, you just had to test the web application with them as you wrote it to make sure. Compatibility problems didn't even come up very much while building it if you stayed reasonably within the boundaries of standards that were well entrenched. The biggest issue was how little CSS IE6 supported, if you did anything fancy with CSS and it didn't work with IE6 you had to include an IE6 specific hack, fortunately that was easy and worked completely fine with other browsers.

There were problems with internal off the shelf applications whose user interface was built for IE6 only. The funny thing is those applications still worked well with the Firefox of the time, but IE9 broke compatibility with them and the applications didn't work on IE9, but IE10 got released and was compatible with them again.

pitay··on Browsers eating RAM
For Firefox there is the 'Auto Tab Discard' addon. It has the ability to discard (unload) tabs after a certain amount of time or the number of non-active tabs is greater than a number, these are set in the addons options. Also has the ability to whitelist tabs, web sites, so that they never get unloaded.

https://addons.mozilla.org/en-GB/firefox/addon/auto-tab-disc...

pitay··on Changes to sharing and viewing news on Facebook in Australia
How is this for an idea - companies that provide links to a website that also can generate a preview, charge the linked site for the privilege of having a preview of the content shown. This shows that such things are valuable for the recipient. If Google had done that, then this proposed law wouldn't have a leg to stand on. Perhaps they should do this for other news sites now, that way it protects them from future laws like this being proposed in other countries. Being linked like this is clearly worth it to the publishers, as the law they support prohibits the delisting of the sites that the law applies to.

Second, how about having a way to add meta-information to web pages/articles saying what is okay to use as preview and what is not. This looks to me like the long term solution to all sites and services on the current web. As long as there is a single, non-specialized way for browsers to ignore attributes/tags/other info they do not use then it does not add complexity to browsers.

pitay··on Don't Offer a Free Plan
I treat 'free but remember to cancel' plans as scams.

About 10 months ago I got emails from a company that developed an development environment that was I was mildly interested in. They presented an offer with said it was free so that people could help educate themselves during lockdown. Unfortunately the terms was after 1 year you needed to pay something like $1500 if you didn't cancel, these terms were right at the bottom of the page and very hard to spot. Paid through PayPal and the about $1500 was there right in front of me. I cancelled it on the same day.

A company offering that sort of deal waiting for people not to cancel and saying it is to help people during the lockdowns is just awful.

pitay··on The endless browser wars
I had the pause problem about when you had it as well. For me the pause happened periodically, but it was for network requests IIRC, the rest of the browser worked fine, but pages wouldn't load a thing for quite a few seconds. I have not noticed the problem now for quite a few months at least. Since it looks like the pause went away at the same time, I think we had the same problem.
pitay··on Moscow Detention Centers Have Run Out of Space, Filled with Peaceful Protesters
Full text here:

https://www.gwern.net/docs/psychology/2019-letexier.pdf

pitay··on Decentralised content moderation
If it includes a recommendation system, then something to mix them up a bit so that people can see things that are different to what they have holed themselves into one view/subject by their own karma curation. The idea is that each recommendation has a chance to be anything, more likely something suggested by karma, but has the tiny chance to be the thing that karma suggests I least like. I like the idea of seeing a subject that I didn't know I was interested in or posts I would find objectionable some of the time.
pitay··on Null
If there was a physical device that could filter gas and non-gas liquids that could be installed in a car we would expect car manufacturers to do that.

There is one thing they could do to stop people putting the wrong liquid in their car. That is to key the nozzle to only fit cars which support their fuel, so petrol pumps nozzles only correctly fit petrol cars, diesel pumps only fit diesel cars.

Completely agree with you on you main point, software should be made correct and resilient (more than other things) because it can be made so.

pitay··on Microsoft planning ‘sweeping visual rejuvenation of Windows’
I just use Open Shell as a start menu replacement. Works perfectly for me, and I have it configured to behave like the Windows 7 start menu. The Windows 10 start menu being cumbersome wasn't enough to push me to it; it was that the Windows 10 start menu had a limit to the number of items on it, and if I remember correctly didn't show any new programs after that limit, which made it useless for opening any newly installed programs after that.
pitay··on Microsoft planning ‘sweeping visual rejuvenation of Windows’
Second idea: I want to store desktop icons in expandable groups much like how a smartphone does.

Fences by Stardock (https://www.stardock.com/products/fences/) does that, doesn't quite look like how a smartphone does but it is essentially the same.

Of course, you could just create folders on your desktop (or taskbar) for a not so great solution.

But yes, having Windows natively support that feature would be better.

pitay··on DRY Is a Trade-Off
Your original function definition here:

  def find_xy_coordinate_of_dogs_cats_and_baboons_in_picture(picture: Picture) -> List[XYCoordinates]:
Can be made better by turning it into this:

  def find_dogs_cats_and_baboons(picture: Picture) -> List[XYCoord]:
Reasoning:

'xy_coordinate_of_' taken out because XY coordinates are already in the return type. '_in_picture' taken out because the information is already in the 'picture: Picture' parameter. The return type 'List[XYCoordinates]' changed to 'List[XYCoord]' because Coord is well known as an abbreviation for a coordinate and having XY in front of it makes it completely obvious. Removed the 's' from the end of the return type because it is already contained in a list and shouldn't be pluralised. It would be pluralised if you are returning a list of lists of coordinates.

There are problems with having huge function names, especially if other programmers need to use the functions you write in their code. One is the amount of screen space needed to use your function, this bites when the could be many functions with long names used in a single expression, long names can be harder to understand in that context. There are reasons that mathematical operators in programming languages are usually one character, things like '+ * - /', it should be obvious the problems people writing in that language would have if the operator names were replaced with things like 'multiply'. Now imagine mathematics being written in a verbose English style, it is not done this way because of all the extra effort it would take to write it, and all the extra effort it would take to understand it.

pitay··on Cydia, the original app store, sues Apple on antitrust grounds
User facing monitoring is a huge help here. I removed an application that hijacked the lock screen of a phone with Android 4 on it (Android only had the requirement that applications don't hijack the lock screen from the App Store for Android 5 and up IIRC). This was because of the simple monitoring that was built into Android through developer options which was simple to activate.

Far more could be done with more sophisticated user controlled monitoring tools, which could say monitor the network traffic, application accesses to any information on the device etc. No reason it cannot be done, and they may be there already.

Also device does not need to have their applications mandatorily locked to an App Store to get the benefits. Optional use of the 'official' app store is fine too, which is what isn't there on iOS. You can choose to just get your applications through the 'official' app store. Someone else not getting their applications through the 'official' app store does not magically put those applications on your device, and thus does not decrease the security you may get from the app store for you.

pitay··on No Config for Old Men
I've never seen any evidence that not censoring is worse than censoring. However there is strong evidence of those who instated censorship creating vast swathes of human destruction.

The most egregious I can think of is the Russian government after the Bolshevik revolution. It had the death penalty for being in possession of certain books. In the end these censorship loving people (for other people, not them) killed tens of millions of people they governed (gulags, deliberate starvation of masses of people for instance), yet it is hardly talked about.

These bad effects of not censoring that people talk about seem so pitiful and small compared to what has happened when people willing to censor other people have got into power. Seriously, people stating things like 'sunlight is the best disinfectant" does not seem to have much evidence going for it' are promoting things that totalitarian groups are very pleased to have, and despite asking for evidence, they provide no evidence that what they are trying to push is not far worse than what they are purportedly against. Along with the destruction of freedom that censorship brings to all the people that it applies to. Those that promote censorship can not be hypocritical and start with themselves first, but they won't, I'm sure they will scream loudest about how horrible censorship is if some other group got the power to censor what they may want to say.

pitay··on No Config for Old Men
I still don't understand what you are saying. When you say "Who is "they"?". Are you saying Google and other tech giants? They have huge advertising networks. But that is a total guess since what you are saying is still very unclear. It looks like you don't want to be clear about this. I'd really prefer you to just say it, rather than all this cryptic stuff.

But since you go on about advertising, that is a way for groups that want it, is to be able to force people to listen to their message. This robs people of their agency to listen to what they choose to. Censorship also doesn't allow people to listen to what they choose to. This makes advertising and censorship very alike. They both result in a persons loss of freedom to choose what information they get.

pitay··on No Config for Old Men
I need more context or detail to understand the point you a trying to get at. I really do, because otherwise I am just trying to guess what you mean, or even how it correlates to what I said at all. Without further clarification, it seems to be tangential to me.
pitay··on No Config for Old Men
Not my experience with LineageOS. My biggest problems with my phone with LineageOS is that I cannot use a microSD card as more internal disk space, not a problem with LineageOS itself, but a problem with Android 6 and above on my phone. The other problem is LineageOS not having an update for my phone for 2 or 3 years, as mine is an old budget phone from 2014.

On the whole I have been very happy with LineageOS as it has allowed me to continue to use my phone for years longer than I would have with the simply bad manufacturer updates that almost completely filled the internal disk space and stopped updating something like 2015 with Android 5. Less unnecessary expense, less eWaste, thumbs up.

For me, I would definitely go with a phone manufacturer that supports rooting their device and put LineageOS on it if I think I need it. I may not install it, but the option for the future is the main thing.

pitay··on No Config for Old Men
This is laughable. If propaganda and advertising don't work, then why is everyone so invested in creating it?

The people creating propaganda are also interested in enforcing censorship if they are in the position to do so.

Propaganda and censorship work far better together than individually for groups that want to brainwash society into certain beliefs.

pitay··on ‘Extremely aggressive’ internet censorship spreads in the world’s democracies
Here is an example from Australia:

https://www.privateinternetaccess.com/blog/isps-in-au-and-nz...

What's interesting is the Prime Minister made it explicitly legal for ISPs to do this. Couldn't find the exact news on this but a search turned up the following article which is sort of what I remember https://www.wsws.org/en/articles/2019/04/04/soci-a04.html .

pitay··on No More Free Work from Marak: Pay Me or Fork This
At least you had the right to resell CDs. Something lost even in DRM free online services. Cannot even give (transfer) a copy of the digital thing they bought to someone on the same service (ie they have it on their account, you now don't). The change to digital distribution has destroyed customer rights.
pitay··on No More Free Work from Marak: Pay Me or Fork This
They've destroyed our open web, replaced RSS with DRM, left us with streaming and music options worse than cable and personal audio libraries.

The web is bloated with ads and tracking, AMP is given preference, Facebook and Twitter are testing the limits of democracy and radicalizing everyone to cancel one another.

This is the important part from the GP. If they were under the AGPL or say a new better GPL which patches the problems with GPLv3 then those companies that have destroyed the open web would have at least had to buy the work or do it themselves. Even if that doesn't have a huge impact on the state of things, at least project maintainers can say that they are not contributing to it.

pitay··on Why do printers still suck?
Try to get a laser with automatic duplex printing if you want to save paper. With manual duplex printing mistakes can cost a significant proportion of paper and may require significant amounts of effort to do correctly.

I currently have a Brother HL-2140 (also has HL-21 model number) and it has 'manual duplex'. This means if I want to save paper I have to mark a corner of the first page before printing and see what orientation it prints compared to that mark (it is not intuitive). I have been printing one page at a time because of this, although now I have written this down I realise I could do better.

pitay··on Average UX Improvements Are Shrinking over Time
You can still use userChrome.css and userContent.css but the toolkit.legacyUserProfileCustomizations.stylesheets config option must be set to true.
pitay··on As a former social media analyst, I'm quitting Twitter
Or something like federated platform which supports federated feeds, federated messaging, federated moderation/spam filtering. The idea is to have all the different aspects of the platform federated separately, and have all the aspects under control by the user, they choose who to get services for each aspect from, and can set up their own stuff as well. The user can move on from a service provider for that distributed platform if they don't like it any more.
pitay··on Average UX Improvements Are Shrinking over Time
Yeah. There was a time that you could use chrome://global/content/config.xul to get to the old about:config, but they removed that too. Don't know why they did that, only people who wanted the old behaviour would use it. Being able to sort by column is really useful, that's what I miss.

Edit: Didn't see your last line about chrome://global/content/config.xhtml , now I can get the old behaviour back. Thank you, thank you, thank you.

pitay··on Octotree – Proprietary Firefox extension contains AGPL-licensed code
Because with the GPL you can still obtain the source code for any changes made to your original work if they want to put any software made for it public. GPL'd software is required to have the source available under GPL to anyone it is distributed to. You can merge any of this code back into your work, as it has to be GPL licenced.

With the MIT licence they can distribute proprietary software based on your work and not have the source available, as this is not required with the MIT licence. So you have no way to get the changes or improvements other parties have made if they choose not to give them to you.

Take what I am saying with a pinch of salt, others can give a better explanation. I'd suggest looking it up yourself.

← PreviousPage 2 of 8Next →