HNHacker News
TopNewBestAskShowJobs

yoloClin

140 karma · joined September 25, 2019

submissionscomments
yoloClin··on Building Firefox's Picture-in-Picture Support
One of my few very good teachers in school highlighted that people learn differently - some people by reading, others doing and others again watching. I'm most definitely somewhere between the last two. I find that for me watching high quality tutorials (pluralsight, CBTNuggets, etc) at 1.5-2x speed is a very good way to get introduced into a language particularly when I seed a solid foundational understanding rather than knowing exactly how to add an additional command into npm run, etc.
yoloClin··on Lenovo now shipping Ubuntu on high end workstations in the US
The positives is that official support means linux/whatever distribution the vendor has chosen is nearly guaranteed to work on the host and pushes for component manufacturers to support Linux if they want to end up in Lenovo workstations. Both are issues which at one point made Linux a difficult option in the past, particularly with vendor built PCs.

If you've ever trusted a vendor install from any manufacturer you've made a bad decision. Lenovo is just the one that got caught doing something silly.

yoloClin··on My Emacs Productivity Tricks/Hacks
I already use this in my shrc files:

    alias ls='ls --hide="lost+found" --hide="#*" --hide="*~" --hide="*.pyc" --hide="*.egg-info" --hide="__pycache__" --color=auto'
But I'll be adding your item into my config for the rotated versioning, I wasn't aware that emacs does that but I assume it'll save me anything from few hours to a few weeks yearly. Thanks!
yoloClin··on The Linux codebase has over 3k TODO comments, many from over a decade ago
It was my job to look for security problems.
yoloClin··on The Linux codebase has over 3k TODO comments, many from over a decade ago
Yeah, that's probably true. I don't have any visibility over that particular projects ticketing system but I imagine it was never raised given it wasn't fixed until I noticed it.
yoloClin··on The Linux codebase has over 3k TODO comments, many from over a decade ago
Is there a standard for valid flags? I recently recommended a client use `TODOSECURITY` for todos which had security implications until fixed - I discovered functionality which was implemented before authorisation had been developed, resulting in a codepath which was unintentionally reachable by standard users.

Seemed weird to make up a codeword but I wasn't aware of any standard convention, and visually highlighting high impact issues (w/ the bonus of greppability) seemed like a sane approach in rapid development environments.

yoloClin··on Hepatitis C kills more Americans than all other infectious diseases combined
I imagine those numbers wouldn't be all that reliable for a bunch of reasons - companies would have vested interests in over or under reporting costs for various reasons, technology progressions mean previously expensive to develop drugs may be cheaper if they were to be redeveloped now, and sample size probably wouldn't be large enough for the raw data to be used when bankrolling pharma research ventures.

Edit: I should contextualise this by noting I have basically no experience with pharma so grain of salt blah blah

yoloClin··on Windows 0-day exploit used in Operation WizardOpium
If by 'they', you mean the blackhats for discovering and abusing the exploits then yes.

I imagine MS/Chrome will treat this as an emergency out-of-cycle patch which I don't think many people would disagree with :)

yoloClin··on WTFPython – Understanding Python through surprising snippets
I don't disagree with anything you've said, but in my opinion strongly typed function definitions/returns are about communication rather than dictation - I'd rather the compiler tell me that I'm passing an unexpected argument type rather than the runtime executor.

But to contradict your point, there's also a fair amount of Python which is a dictation - Guido even called his job role 'Benevolent dictator for life'. I really hated some of the guidelines as a new programmer but after dealing with them for some time I understand that consistency is far more important than preference in many/most/all cases.

yoloClin··on WTFPython – Understanding Python through surprising snippets
I've coded in python for >10 years and C# for ~half of that. I prefer indentation-based control flow purely because it condenses code vertically and creates consistent indentation with actual purpose (many of the devs on C# projects I've dealt with have had inconsistent tab/space settings and no linting).

If anything, the one thing I hate about Python3 is dynamic typing - inferring datatypes in function bodies is great but strongly typed (and _enforced_) parameters and return values would clean up a lot of the problems I have seen, and created in the past.

yoloClin··on ‘Evil Corp,’ a $100M Cybercrime Menace
And if not the FBI, surely this would be in large bank / financial institutions best interest as well?
yoloClin··on A comment on Hacker News led to 4½ new Unicode characters (2016)
Now if only we could get Hacker News to support emojis

Edit: This comment ended in man-shrugging, but Hacker News stripped the emoji.

yoloClin··on AMD’s Entire Ryzen 9 3950X 16 Core CPU Inventory Sold Out in Japan
Sweet, does that mean that there's no binary drivers (eg nvidia-drivers vs nouveau)?

Have you had any issues you suspect may be driver / gfx related?

yoloClin··on AMD’s Entire Ryzen 9 3950X 16 Core CPU Inventory Sold Out in Japan
Thanks, that might be helpful given I run OpenBox / qTile :)!
yoloClin··on AMD’s Entire Ryzen 9 3950X 16 Core CPU Inventory Sold Out in Japan
How is graphics performance / functionality?

I've only ever really dealt wit nVidia and Intel graphics, and highly prefer intel due to tearing fixes.

I'm not a gamer, but do need at least basic hardware acceleration for X rendering etc.

yoloClin··on FortiGuard XOR Encryption in Multiple Fortinet Products
The intended definition of opportunistic is not knowing about the vulnerability, but otherwise capable of exploiting it.
yoloClin··on FortiGuard XOR Encryption in Multiple Fortinet Products
> Any motivated attacker would have already noticed it too you'd think.

Motivated is a keyword here. Opportunistic attacks occur, and probably make up for the majority of such attacks.

yoloClin··on HSTS from Top to Bottom
The article mentions preloading but doesn't go into detail.

You can apply for Chrome preload via https://hstspreload.org/ which I ends up in Chrome source, the list is then replicated to other browsers by their maintaniers.

HSTS Preload will prevent initial-access downgrade attacks for clients using versions of browsers with your domain as a HSTS preload. The downside is preload removal is difficult and would take a fair while to propogate.

Also another common misconception is disabling port 80 will remediate the issue - if an attacker can intercept and modify traffic they are able to open and redirect the port to a node under their control. https://letsencrypt.org/docs/allow-port-80/

yoloClin··on This isn't your father's Microsoft
I find the keyboard layout switching really awkward but for different reasons. On MacOS/Linux, setting the keyboard layout is global - under windows it's per-application and the default is for shift-backtick to switch between layouts which is something I manage to hit pretty frequently.

When I was working on a host where I needed two layouts (US-Dvorak + US-Qwerty for other users) I ended up solving the problem using AutoHotKey to hook all keys and send a different keyevent. It was pretty gross but it bypassed all the issues I was having in a convenient way.

Perhaps you could hook US symbols such as "$" and rebind to UK equivalents with AHK? Alternatively, creating a modified EN-US keyboard layout which has relevant key-symbols would also work / be less hacky, but probably require more effort.

yoloClin··on This isn't your father's Microsoft
I think there are sections of Microsoft that are very, very good but crappier sections are bringing down company perception somewhat - the company vision is somewhat confused when they drop a cross-platform SQL server and then introduce telementry into Windows.

Microsoft Office, if anything, has gone completely backwards in regards to UX. On a fundamental level it 'just works' but when I started becoming more of a power user I found reproducible bugs, unexpected or inconsistent behaviors, and a complete lack of extensibility for creating / modifying docx documents programmatically in !C#.

By far my least favorite issue is the constant battle I have with locale - I'm not sure if the document creators local was set to EN-US or if my system config is not correct, but every time I try and force the document to EN-AU it seems to switch back seemingly on a per-section basis or something. The most amusing side effect of this is the 'Read aloud' voice changing gender mid sentence but the amusement is quickly offset by it deciding to auto-correct perfectly valid EN-AU spelling for its American localisation for the fifth time in a paragraph.

yoloClin··on PostgREST
I feel like this is just moving business logic /back/ into the database.

It' very similar to what we were doing with stored procs 15 years ago and just moves the problem from business logic back to database layer. Given the choice, I'd prefer to write constraints in !SQL, personally.

yoloClin··on PostgREST
Is column based authorisation possible?

What about group/role based security concepts?

yoloClin··on Google Announces .new Domain Availability
Yeah, but apple.sucks is far more iconic than applesucks.com. I'm sure companies as large as Apple would have purchased both, and other variations as a defensive move.

I can't think of any other justification for .sucks to charge as much as they do for registration other than to ransom large companies.

TLDs are a complete wasteland any way you look at them.

com.au domains (owned by AUDA) at have a policy against squatting but it's reactive, toothless, time consuming and painful. On releasing a squatted domain, it's flagged as being a squatted domain (rather than expired) and AUDA approved registrars such as drop.com.au host blind auction domains, with the highest bin winning. Meaning you're either paying more than you need for a resource that should cost $15AUD to fight off real or imaginary squatters who will offer you the domain at a highly inflated cost. If you lose the auction any money you bid ends up as non-refundable credit within Drop.com.au ecosystem. I'm still unsure if it's good intentions gone bad, or just blatantly corrupt.

/rant

yoloClin··on Google Announces .new Domain Availability
I'm really sad that registering clin.sucks would cost me $250USD or whatever. The intent of the TLD seller is to hold companies to ransom (buy yourcompany.sucks, or someone that hates you will).

I'd kill clin.sucks as a mail domain.

yoloClin··on How to Avoid Leaving Tracks Around the Internet
> We need to stop treating knowledge of public data like this as some sort of identity metric.

I love how it's easier to steal my identity than to intercept my encrypted web traffic.

Society really could do with a cryptographically sane method of authentication - think an PKI-type verification but in replacement for '100 points of id' / Social Security Number / Tax File Number etc.

Surely the cost of implementation wouldn't outweigh the cost of identity theft and other types of fraud which can occur due to the current flawed system?

Maybe the costs are/would be paid for by different parties, but indirectly we all pay for them through insurance premiums and taxes which cover the (preventable) financial damage anyway.

yoloClin··on Fish: A command line shell for the 90s
I don't really care what outputs the data I see. I care about how it's formatted and whether that format is easily readable + usable by consuming utilities.

I don't understand why your being standoffish over a technicality.

yoloClin··on Fish: A command line shell for the 90s
True, but it's driven the method for output for a long time. If sh/bash exposed functions for objective output I'm sure a lot more utilities commonly in use would output in a similar methodology.
yoloClin··on Fish: A command line shell for the 90s
I would _kill_ for a shell that returns bash-like data to stdout, but a JSON blob to pipes, or whatever the not-1970 concept of a pipe would be.
yoloClin··on Fish: A command line shell for the 90s
oh-my-zsh has 'sane' defaults (and by that I mean 4-8 hours of configuration at least). I'm in the process of moving from that to self-managed zsh and I'm surprised with the stuff that doesn't come default with ZSH, such as not setting the <title> of the shell to $(pwd) or the currently executing process, or control codes.
yoloClin··on Fish: A command line shell for the 90s
> My understanding is that there are still a couple fish features not implemented for zsh yet

I'd love to know which ones! I was a bash user for 10 years, ZSH defaults put me off and it wasn't till I ran oh-my-zsh that I really learnt what I was missing, the following make me feel like a 10x-er ;) :

- zsh-autosuggetions - zsh-syntax-highlighting - colored-man-pages

Edit: And the `zstyle ':completion:*' menu select` autocomplete

← PreviousPage 2 of 3Next →