News for hackers. Stuff that matters.
Re:Kids find a security flaw in Linux Mint by mashing keys by dr_cypher on Wednesday January 20, 2021 @10:41AM (#25847693)
jwz has a lot to say about complex graphical toolkits/desktop environments and their complex locking mechanisms. It's an interesting series of posts.

  If you are not running xscreensaver on Linux, then it is safe to assume that your screen does not lock. Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.
https://www.jwz.org/xscreensaver/toolkits.html
Re:Kids find a security flaw in Linux Mint by mashing keys by smnrchrds on Wednesday January 20, 2021 @10:46AM (#25847762)
Re:Kids find a security flaw in Linux Mint by mashing keys by phendrenad2 on Wednesday January 20, 2021 @03:24PM (#25851494)
I wish HN would just block his site already, that damn image is burned into my retinas after seeing it 10+ times here.
Re:Kids find a security flaw in Linux Mint by mashing keys by chris_wot on Thursday January 21, 2021 @08:54AM (#25858770)
You'd be better off reading the response here:

https://github.com/linuxmint/cinnamon-screensaver/issues/354...

Re:Kids find a security flaw in Linux Mint by mashing keys by vlovich123 on Wednesday January 20, 2021 @12:54PM (#25849513)
Why?
Re:Kids find a security flaw in Linux Mint by mashing keys by thesh4d0w on Wednesday January 20, 2021 @01:00PM (#25849603)
Cause he redirects based on referrer to https://cdn.jwz.org/images/2016/hn.png
Re:Kids find a security flaw in Linux Mint by mashing keys by Naracion on Wednesday January 20, 2021 @01:16PM (#25849840)
I did not get redirected--would that be because I'm using Brave? Or because I'm on mobile?
Re:Kids find a security flaw in Linux Mint by mashing keys by smnrchrds on Wednesday January 20, 2021 @01:41PM (#25850185)
The former. Brave has explained their referer policy here: https://brave.com/privacy-updates-5/

> When navigating to a new site, never send a referer header.

JWZ wouldn't know you are visiting from HN if you use Brave.

Re:Kids find a security flaw in Linux Mint by mashing keys by freebuju on Wednesday January 20, 2021 @04:21PM (#25852145)
Weird. Just tested this, Brave on PC redirected to the image but not on Brave mobile
Re:Kids find a security flaw in Linux Mint by mashing keys by kstrauser on Wednesday January 20, 2021 @02:02PM (#25850456)
Or Safari, apparently.
Re:Kids find a security flaw in Linux Mint by mashing keys by HDMI_Cable on Wednesday January 20, 2021 @03:38PM (#25851668)
What's the reason behind JWZ doing that anyways?
Re:Kids find a security flaw in Linux Mint by mashing keys by Alvarito050506 on Wednesday January 20, 2021 @04:37PM (#25852330)
Because sometimes he behaves like what's in the image.
Re:Kids find a security flaw in Linux Mint by mashing keys by lostlogin on Thursday January 21, 2021 @08:23AM (#25858530)
Strange to refer to brogrammers and to do this. Pot, kettle, black.
Re:Kids find a security flaw in Linux Mint by mashing keys by lern_too_spel on Wednesday January 20, 2021 @05:30PM (#25852834)
Also, if you're using a Hacker News app, it won't send a Referer header when opening an article unless the app authors went out of their way to implement that. I would be surprised if any did.
Re:Kids find a security flaw in Linux Mint by mashing keys by notRobot on Wednesday January 20, 2021 @12:59PM (#25849587)
Because you won't be able to actually view anything on the website.
Re:Kids find a security flaw in Linux Mint by mashing keys by GlitchMr on Wednesday January 20, 2021 @10:45AM (#25847747)
I would recommend not linking to jwz's website. Use web archive or something if you have to. jwz dislikes Hacker News and intentionally shows an NSFW image when Referer header shows Hacker News.
Re:Kids find a security flaw in Linux Mint by mashing keys by smnrchrds on Wednesday January 20, 2021 @10:49AM (#25847799)
Can he at least update the text? HN was full of entrepreneurs and wantrepreneurs years ago. It is mostly big- and mid tech employees now, tech bureaucrats if you will.
Re:Kids find a security flaw in Linux Mint by mashing keys by nefitty on Wednesday January 20, 2021 @11:50AM (#25848652)
Not to belabor the meta discussion, but your comment sparked a question. If it is how you say, and using a politico-economic lens, I wonder if there has been any discernible shift in commenter attitudes as the demographics have changed. Specifically, if the shift was from entrepreneurs -> skilled wage workers, as you’ve asserted.

The interests of the petit bourgeoisie (entrepreneurs, et al), the professional management class and that of skilled workers sometimes overlap. I think those overlaps would probably translate to some overarching strains of belief, for example, the tendency toward libertarian viewpoints on HN.

Sorry for the tangent, just had to get that out of my head!

Re:Kids find a security flaw in Linux Mint by mashing keys by toyg on Wednesday January 20, 2021 @12:35PM (#25849264)
This is OT, but I can't resist. I've been around HN since 2011, and tone has definitely shifted in the last 5-6 years. I used to stumble on HN posts that infuriated me relatively often, it was part of the deal (i.e. understanding how the self-appointed entrepreneurial classes actually rationalize certain things). That doesn't really happen anymore.

> those overlaps would probably translate to some overarching strains of belief, for example, the tendency toward libertarian viewpoints

The opposite is actually true, in my experience. Hardcore libertarian views on HN have been largely quashed into irrelevance, they only survive in lore. New commenters who join and expect HN to be a nest of hyper-capitalists are quickly downvoted into oblivion. Which is not a terrible thing in the great scheme of things, from the personal perspective of somebody who would likely dislike their point of view; but it has definitely taken something away from the HN experience, and possibly pushed some people towards worse (more radicalized) forums.

Re:Kids find a security flaw in Linux Mint by mashing keys by smnrchrds on Wednesday January 20, 2021 @01:05PM (#25849667)
What I miss about the old HN is learning about all the cool new programming tools, libraries, frameworks, etc and participating in the discussions about them. These days, you rarely see posts about programming tools, unless it is one of the big ones like React, Qt, or TypeScript. I used to stumble upon so many great tools on HN, but that has become a rare experience these days.

Is there still somewhere on the web, perhaps on Reddit or another platform, where you can find such posts and discussions?

Re:Kids find a security flaw in Linux Mint by mashing keys by throwaway325 on Wednesday January 20, 2021 @03:56PM (#25851883)
>Is there still somewhere on the web, perhaps on Reddit or another platform, where you can find such posts and discussions?

If they exist it would be wise not to link it here, or else the same fate would befall the new community. My advice is to search for a small community around a niche topic (say a specific text editor or programming language).

Re:Kids find a security flaw in Linux Mint by mashing keys by lostlogin on Thursday January 21, 2021 @08:28AM (#25858562)
There are some great Reddit subs for niche projects, the trouble is discoverability. Those I’ve found have always been via obscure links or a chance hunt after finding a git repo.
Re:Kids find a security flaw in Linux Mint by mashing keys by HDMI_Cable on Wednesday January 20, 2021 @03:41PM (#25851698)
Honestly, I think that says something more about Javascript-ifying of the web rather than HN.
Re:Kids find a security flaw in Linux Mint by mashing keys by nitrogen on Wednesday January 20, 2021 @01:09PM (#25849739)
https://lobste.rs was supposed to be something like that.
Re:Kids find a security flaw in Linux Mint by mashing keys by girvo on Wednesday January 20, 2021 @05:10PM (#25852653)
I’ve also been around for donkeys years, and I agree mostly. Certain topics bring the “screw you, got mine” opinions back out of the woodworks at times, but yeah it’s far less prevalent.
Re:Kids find a security flaw in Linux Mint by mashing keys by zimpenfish on Thursday January 21, 2021 @03:18AM (#25856664)
> Hardcore libertarian views on HN have been largely quashed into irrelevance

Having seen a few threads recently (notably "Parler off AWS") where those views seemed quite exuberant, I'm not sure they've been quashed; maybe dormant until the right thread comes along?

Re:Kids find a security flaw in Linux Mint by mashing keys by Stierlitz on Wednesday January 20, 2021 @12:13PM (#25848945)
> .. jwz dislikes Hacker News ..

Why, what's the back story?

Re:Kids find a security flaw in Linux Mint by mashing keys by RichardCA on Wednesday January 20, 2021 @01:20PM (#25849889)
It has something to do with the 1990's dot-com culture, like the original Netscape was somehow more pure than what came after, and this causes him to view modern inheritors like YC with a jaundiced eye.

You can watch this if you have an hour.

https://youtu.be/4Q7FTjhvZ7Y

Re:Kids find a security flaw in Linux Mint by mashing keys by avree on Wednesday January 20, 2021 @11:19AM (#25848226)
It's quite nice of Apple to strip this by default in Safari—didn't even realize it was a thing until I switched over to Chrome to see what you were talking about.
Re:Kids find a security flaw in Linux Mint by mashing keys by patrickmcnamara on Wednesday January 20, 2021 @01:53PM (#25850346)
I tested Safari on iOS, iPadOS and macOS and it didn’t strip the “referer” header for any of them. WatchOS did strip it though I’m not sure that counts as Safari.
Re:Kids find a security flaw in Linux Mint by mashing keys by wutbrodo on Wednesday January 20, 2021 @11:47AM (#25848620)
I didn't see it in mobile Chrome (well, Brave) but I kind of want to...
Re:Kids find a security flaw in Linux Mint by mashing keys by loeg on Wednesday January 20, 2021 @12:10PM (#25848901)
Re:Kids find a security flaw in Linux Mint by mashing keys by wutbrodo on Wednesday January 20, 2021 @02:32PM (#25850857)
I immediately regret this decision

Anyway, thanks!

Re:Kids find a security flaw in Linux Mint by mashing keys by pfundstein on Wednesday January 20, 2021 @06:44PM (#25853418)
I'm going to guess a shock image like goatse?
Re:Kids find a security flaw in Linux Mint by mashing keys by loeg on Wednesday January 20, 2021 @09:42PM (#25854685)
It's pretty tame compared to goatse. Looks like a testicle in an egg cup.
Re:Kids find a security flaw in Linux Mint by mashing keys by wutbrodo on Thursday January 21, 2021 @12:35AM (#25855814)
Yea nowhere near goatse, just mildly unpleasant. My comment probably overstated my aversion; I just really like that anchorman quote
Re:Kids find a security flaw in Linux Mint by mashing keys by charlesdaniels on Wednesday January 20, 2021 @11:22AM (#25848262)
Anecdotally, I use xidle[0] and xlock[1], and have found both to be very reliable. xidle supports locking the screen by sending it SIGUSR1, which is really useful since you can trigger it from a process that doesn't have DISPLAY set.

The trick on laptops is to block on sending the signal in the script you use to suspend, so that when the laptop resumes the display is already locked.

0 - https://github.com/steinex/xidle-linux

1 - http://sillycycle.com/xlockmore.html

Re:Kids find a security flaw in Linux Mint by mashing keys by johnmaguire2013 on Wednesday January 20, 2021 @11:50AM (#25848659)
I use physlock[0] which locks all of the ttys. I've had no issues.

[1] https://github.com/muennich/physlock

Re:Kids find a security flaw in Linux Mint by mashing keys by xanax on Wednesday January 20, 2021 @01:36PM (#25850116)
I don't think that's the right link mate. I got redirected.