Readit News logoReadit News
djeikyb commented on Solving the Worst Problem in Programming Education: Windows   learncodethehardway.com/b... · Posted by u/vinipolicena
dgan · 2 years ago
Somehow tangent: can anyone tell me why WhY i can't just copy the text in any Windows' error windows? It looks like it's all text somehow is a texture which is un-selectable? So i have to retype manually (and translate back to English) the error messages to look them up
djeikyb · 2 years ago
There's a bunch of different UI frameworks, but WPF is pretty popular, and in WPF, my understanding is the normal control you'd use to just slap text on the screen is TextBlock. And a WPF TextBlock doesn't have any way to make the text selectable. And if text isn't selectable, you don't get the normal affordances of the window manager's copy functions.

I've used Avalonia, which is based on WPF. Its TextBlock control works the same way, which means the default way to put text on the screen is inaccessible. But if the programmer is thinking about it, they could use SelectableTextBlock instead, and then the text is available to the user for selecting and copying.

Deleted Comment

djeikyb commented on I don’t want a new phone, but I’m probably buying one   kooslooijesteijn.net/blog... · Posted by u/zdw
noobermin · 3 years ago
>And seriously, your six-page website with slideshow and photo gallery does not need a React-Angular-Vue hybrid frontend, Firebase logging, analytics, local storage, or any of the other 75 JavaScript files served from eight different external domains.

As a web developer, can you tell us why this happens, and how do we stop it? I see no market reason for it, it certainly doesn't make your business make more money, it feels much more like groupthink in the industry and chasing hype.

djeikyb · 3 years ago
Semi-direct response from someone else: https://infrequently.org/2023/02/the-market-for-lemons/
djeikyb commented on How to use undocumented web APIs   jvns.ca/blog/2022/03/10/h... · Posted by u/pingiun
benmmurphy · 4 years ago
> I think there’s literally no way for the backend to tell that the request isn’t sent by my browser and is actually being sent by a random Python program.

Oh my sweet summer child. Unfortunately, there is a whole industry built around this. This a great blog discussing different detection methods: https://incolumitas.com/

djeikyb · 4 years ago
There's a way to make your point without being rude and infantilizing.
djeikyb commented on Striking to End Suicide Shifts, Frito-Lay Workers Ask People to Drop the Doritos   npr.org/2021/07/21/101863... · Posted by u/testrun
missedthecue · 5 years ago
Why isn't the union disputing it then?
djeikyb · 5 years ago
Clearly, they are: the strike continues.
djeikyb commented on Striking to End Suicide Shifts, Frito-Lay Workers Ask People to Drop the Doritos   npr.org/2021/07/21/101863... · Posted by u/testrun
londons_explore · 5 years ago
The last few paragraphs seem interesting...

Looks like the company met the pay demands and the working condition changes the union asked for, yet the workers still aren't happy.

Is there something else up? Is the union not asking for the right things? Are there other unreported conditions or requests?

djeikyb · 5 years ago
Probably the union proposals were not actually met. NPR uses the wording "According to the company".
djeikyb commented on Google employees say AI researcher did not resign, despite what exec claims   cnbc.com/2020/12/07/googl... · Posted by u/bigpumpkin
KittenInABox · 5 years ago
Can I ask with the upmost politeness what is going on? I genuinely went into this considering that this was someone who is essentially decrying that normal work difficulties are sexism or racism. But I'm now finding that the procedure claimed actually essentially doesn't exist or if it did it was never enforced until now. What is going on?

If this was an issue of the researcher unprofessionally airing her frustrations on a listserv with direct reports that's one thing. It's another thing to say being upset at all was an overreaction because the treatment was totally normal and that her frustration was a resignation, when in fact, none of that is true in any good faith interpretation.

djeikyb · 5 years ago
Journalists got access to an early version of Gebru’s paper and reported on it: https://www.technologyreview.com/2020/12/04/1013294/google-a...
djeikyb commented on Ask HN: What are your favorite developer-efficiency tips?    · Posted by u/bigpeach
war1025 · 6 years ago
Learn how to use git's partial commit functionality `git add -p`, `git checkout -p`, `git reset -p`, etc.

Also get comfortable with rebasing. The most foolproof formula I've found is

   git rebase -i <commit hash immediately before what you want to move> [--onto <branch you want to be the new base>]
Using the two of those together, you can clarify your commits and have code that is actually reviewable rather than stream of consciousness spaghetti commits.

Makes reviews more pleasant and looking back through history more useful.

Also learn to use `git log -p` to look through the change history of files. Immensely more useful than `git blame`.

djeikyb · 6 years ago
i personally love partial staging/commits but haaate ’git add -p’. i use tig and a few other partial staging user interfaces. learning how to stage part of a line, in a favourite code tool, is a skill i appreciate for myself
djeikyb commented on Ask HN: I lost my job    · Posted by u/uvw
bradlys · 6 years ago
Genuinely curious, are you living in the US? (You seem to be located in SF Bay area) Living paycheck to paycheck isn't something I hear about much. (in regards to people working in tech within the US)

It might not help now but I would highly advise you learn how to budget better and grow a sizable emergency fund.

I genuinely have a hard time believing someone is living paycheck to paycheck (even in the bay area with two kids - where housing is extremely expensive) on a senior software engineer salary at a startup. ($180k/yr) I know people who manage it. It's not a comfortable life but it's stable and they can still save. I mean, they have to. They're not gonna be able to buy their options when they quit if they didn't save.

djeikyb · 6 years ago
This is maybe a time for you to listen and learn about the experiences of others. Not, as you've done, call a stranger financially incompetent or insinuate they're lying.
djeikyb commented on Twitter Thread: Experience at Lambda School for UX   twitter.com/watsonwaswrit... · Posted by u/mobileexpert
djeikyb · 6 years ago
Kim Crayton has done great analysis of this type of code school on her podcast, including interviews with students:

https://hashtagcauseascene.com/podcast/?s=bootcamp

https://duckduckgo.com/?q=site%3Ahttps%3A%2F%2Fhashtagcausea...

u/djeikyb

KarmaCake day268June 18, 2011
About
https://github.com/djeikyb
View Original