skysight-inc/HackerNews huggingface dataset:
> PHP is pretty good despite the hate

I suspect the "hate" is rather localized.

I find the "Fishtank Graph"[0] to be a fairly good way to get my feet firmly planted back on the ground.

That said, I don't like PHP, and avoid it, if possible. I use it for my backend work, and it does a great job, there. I just prefer writing apps in Swift.

The "game-changer," for me, was retiring, and working on the stuff I want to work on, at my pace, and using my methodologies. No more insecure middle managers, pissing on my work, and no more insecure co-workers, fighting over every detail, and deliberately sabotaging team dynamics (to be fair, I spent a good part of my career, as a manager, which I hated, but it paid the bills).

I know that retiring is not an option for a lot of folks, and realize how fortunate I am (I didn't feel that way, at first, though. My retirement was not by choice).

But it's not work, if you love what you do.

These days (and for the last five years), I actually get more done, every day, by 10AM, than I used to get done, all day, in the office. My GH activity graph is solid green (no exaggeration), and it isn't "gamed," like so many of them. I do two things, every day:

1) I walk three miles, and

2) I write Swift code.

Life is good.

[0] https://w3techs.com/technologies/history_overview/programmin...
Disagree. Worst case scenario, you end up with a bunch of microservices, written in a hundred different esoteric languages and maintained by nobody because the authors long since left the company.

As usual, there's a balance to be struck. Only the Sith deal in absolutes
FYI if you're a contractor for a FAANG you're a probably better than average dev.

Regarding typescript, I've been writing JS on and off since '99 and I picked up TS last year. It's actually good. Not everything new is shit, just most of it!

"Coding challenge as a first-stage filter" is something I'd like to see disappear, why would I want to work for a company that shows so little respect for people's time? I guess the answer is "$$££€€", which makes sense only when there's a ton of $£€ on offer.
Your country needs consumer laws. If something craps out like that within a reasonable timeframe for the thing to last you get a refund or replacement. Generally people expect a blender to last for more than a year or two, you'd get your money back after 8 months here easy.

Same goes for whiteware that's expected to last more than 5 generally.

Shops still somehow sell extended warranties though. Crooks.
Led Zeppelin should reunite with the deceased drummer’s son playing drums - TAKE ACTION NOW
I like the idea, would be helpful to include (if not already) where the product is sold. Toyota famously added a small metal block in the US to pass IIHS's small overlap crash test but that small block doesn't exist in other Asian countries.

The modern production line is so efficient they can do that level of customisation for every market individually...
Governments are just mafias with better PR.
They did, though, for a good while? Like the entire 1980s and 90s?
I am not particularily familiar with the connotation of the term second-order-thinking, but to me it implies the somewhat mathematical meaning of it. The first order might be some value (e.g. a voltage) and the second order might be the rate with which that voltage changes and the third the rate with which this rate changes etc.

To me this implies that thinking on a higher order is somewhat about stepping back and viewing the construct from a meta position. E.g. instead of thinking about how to address an imidiate problem by applying a bandaid, one order higher would be to think about the root causes and deal with the root of the problem. Even one order higher would be to think about which culture or systems of thinking allow for the good solving of such problems etc.
LD_PRELOAD, which is basically the same thing, has been with us since forever.

Unix security model was never meant to protect user processes between themselves, it only meant to protect system from user apps, which is a bad model these days, where basically every device has a single user, and the real threat is user apps hacking and stealing each others data.
The rule is if you are anywhere near high grass you can bet you can find ticks there. My parents have a quite large garden with private forest (2,5 acres or 1 hectare of fenced terrain) and there is no week in summer where cat would not come back with big tick attached to it. There were two separate occasions where one of their dogs almost died from fewer after tick bite (and we are talking about dog that have every conceivable tick preventive measure applied)
Gopher :-(
Google Wave. The way the conversations were threated made more sense. Instead, we eventually got Slack.
Especially front end. Backend is a bit more sane, I'm thinking of getting some Java/C++ job and becoming an expert. Hopefully having a decade+ in Java or C++ will keep me reasonably employed when I'm 50.
Judging from all the traffic inside cities and my experiences, most people do idle for awhile in traffic just to go a few miles.

The bikes are the minority vs cars sitting in the roads and all the full streets / lots, but the bike riders are generally the worst offenders on the street.

Most city public transportation is sub-par quality and safety wise. I don't mind public transportation in some countries to an extent, but not in US cities.

The bus is super slow with all the stops and you can't exactly load it up with stuff, bikes are inconvenient because I'm most likely getting groceries for the next two weeks, or it's raining, etc.

You don't have to have special needs for a bike to be impractical a lot of the time.

Anyways, your idea of small towns is quite off and generalizing, we'll leave it at that.
What’s the problem with FS?
Making Sense, by Sam Harris
The fussy UI is nothing. The real benefit is the gpu acceleration. That alone is worth the money.
I can't find any evidence of anyone using this. Need to look at github commits I guess. If this is a weird phishing scam, it's a clever one.
From Forbes article[1] linked in TFA:

> Headwinds for the 17-year-old startup started before the war in Ukraine sent a chill through public markets.

WTF does the word "startup" even mean, if it can be applied to something that's seventeen years old?

___

[1] https://www.forbes.com/sites/iainmartin/2022/05/28/klarna-ch...
> the helical gear box in those too is all plastic parts for easy and cheap replacement, and so that anything getting stuck doesn't burn out a more expensive elctrical motor.

I preferred metal "shear pins" for this function ... much easier to find replacements for at the local hardware store.
> My impression of email is that it's very hard to use for communication because it's too formal.

Young people tend to overthink the formal aspect, I know I did. In practice business emails are really:

Hey [Name],

[Content of Slack message]

Thanks,
[Other Name]
also there's a difference between hunger and appetite, is there not? And with appetite (at least for me) what I mean mostly is wanting to have something sugary. However, whenever I give in to it, it gets even harder to stop then (not just in the minute, but also an hour later or two). Which is why eliminating the first step (giving in once) is the most important part... at least thats what I'm finding out right now. (I wanted to keep eating like a tiny amount of sweets but... really, the body craves too much then. Better to stop full-stop.) I noticed that black tea, black coffee and apples (yes, they have natural sugar I know) reduce my apetite for sweets. Very helpful (although caffeine is its own kind of drug).
So what is the best practice for reading files from z/OS and OMVS? Should you: Look to see whether the file is binary or text, if it's text what encoding is it in and what is the record length (if there is one). Then open the file as binary and write wrappers for fread and fgets to do the necessary conversions yourself to utf-8 and unix newlines?

BTW, fixed length records? Way old school and yuck. Just use an index into the file with lengths already. What about all the wasted space from records that aren't full?
AutoHotkey script, pressing Caps Lock+Left Mouse Button simulates 50 mouse clicks per second until the left mouse button is pressed:

~LButton up::
if (GetKeyState("CapsLock", "P")) {
while(!GetKeyState("LButton", "P")){
MouseClick, left
sleep 20
}
}
return

Useful in situations when you need to click a lot :)

Also a bookmarklet that you use to turn any page dark with a click:

javascript:document.querySelectorAll('\*').forEach(e=>e.setAttribute('style','background-color:#222;background-image:none;color:#'+(/^A|BU/.test(e.tagName)?'36c;':'eee;')+e.getAttribute('style')))

From here: https://github.com/x08d/222
> trade dependence between countries makes war between them more likely?

Depends on the relative symmetry of trade—balanced, deficit or surplus—combined with other factors, of course.
This is scary. I'm thinking about joining a corporate just to reduce the insane pressure peaks I experience now in my startup. I really don't wanna find out being in a corporate will make my mental wellbeing even worse :(

We'll see...
Ignore 300+ applicants. That always have been the case, but maybe exacerbated now when there is a lot of scam bootcamps promising one becomes a developer after a month. So you have a ton of people like this applying.

> expects you to be a superstar leetcoder, with the wherewithal to go through 6-8 interviews and IQ test.

Ignore these too. If a company is unreasonable, I see no reason why I should follow through with the interviews.

Also make sure you do work adequate to the pay. If company does not pay well, don't do overtime, don't do a great code, just something that works. Basically do bare minimum and no more.

Sadly engineers kind brought it upon themselves. I am at fault too. When I was young I would pull all-nighters at the office all the time to get features done and beating increasingly shortened deadlines. That eventually led me to depression and other issues. Also I didn't feel all that effort in my bank account.
What is the standard way?
When expensive products fail early and companies are unhelpful, I file formal complaints through the state attorney general’s consumer rights office. It’s usually just a matter of filling out an online form and perhaps uploading a few supporting documents. Companies become much more helpful when their lawyers are providing customer support instead of a minimum wage employee.
The have a releases page that contains the final epub
Having retained the services of some and seen what lawyers charge, and having seen a firm's partner verbally abuse a woman working underneath him in front of myself and another client, I am honestly a little unsympathetic and irrationally hope that the entire collective field falls into a volcano.
i'm quite interested in Vacuum Insulation Panel (VIP) used in some fridges nowadays, it seems the edges and punctures would be their down fall, but it does make for some strikingly thin fridge walls...
Are 40 year olds really not able to pick up a job? I'm 38 ...I get turned down a lot but that always used to be the case and also the market is pretty shitty now.
I have my notes in Dendron which is basically a directory of yaml files. I often need to search through the notes so I made the below

search_notes() {
input=$(rg -v '(\-\-)|(^\s*$)' --line-number /home/user/some-dir | fzf --ansi --delimiter : --preview 'batcat --color=always {1} --highlight-line {2}' --preview-window 'up,60%,border-bottom,+{2}+3/3,~3' | choose -f : 0)
if [[$input = ""]]; then
else
less $input
fi
}

It uses various linux utilities including fzf and batcat(https://github.com/sharkdp/bat) to open a terminal with all the places where my query comes up (supporting fuzzy search). Since the workhorses are fzf and ripgrep its is quite fast even for very large directories.

So i will do `search_notes postgres authentication`. I can select a line and it will open the file in less. Works like a charm!
It totally is, but it does largely work as intended.

For people who've been dealing with JS for years it's a big improvement which I guess is why it gets so much praise. (The love for React, OTOH, must be Stockholm Syndrome!)

Other languages are better, but transpiling from them to JS has (arguably?) bigger downsides than using TS. WASM is the big hope for some people, of course, but it's only really good for heavy lifting at the moment.
Well, on some ethical level so is what manufacturers are doing. Race to the bottom!
Instant PhoneCheck
USD 0.030

Active SIMCheck
USD 0.090

Strong SubscriberCheck
USD 0.200
You could take your experience with web development and pivot into an adjacent role where the career prospects are better. If you like talking to people and would like to meet with others instead of writing code all day, you could look into sales engineering roles as they always are looking for skilled developers. Or if you’d prefer to build additional technical skills, you could move into application security as a lot of that already deals with web applications and browser controls.
This is the first time I saw "keyword arguments" in fopen's mode argument. I'm not a fan.

https://www.ibm.com/docs/en/zos/2.4.0?topic=functions-fopen-...
If you are depressed then see a psychiatrist.

I would seek help before making any career moves under this cloud.

I'm an average software engineer with nothing impressive on the resume. Persistence pays off.
Is this the same as high discount factor gamma in reinforcement learning?
May I suggest to spend some time working as a trainer? I'm sure you have a ton of knowledge to share, and learning how to structure it for delivering a class is not difficult.

Training is (if your understand the content) not so stressful as working in consulting or developing, and you meet a lot of interesting people.

It comes with its own burden, of course, but it may work as a way to find time to better understand what you want to do in the future.

Also, the salary is pretty good.
You can ask for a mid level salary then. It will be silly to discriminate against you then, are you really worth less than someone with 2 years experience? I doubt it. In fact I see people get into full stack web dev and still struggling after 5 years...it's not such an easy thing to pick up.
I own many more books than I will ever read. I also own many books where I have read maybe 2 chapters, usually the first two but not always. Of course, I could download them as PDF, or put them in my wishlist, or keep endless lists of interesting books in my knowledge base, and I do, but the result is very different.

1. the actual physicality of the book ensures that I will not forget it. It is literally there on the shelf.
2. I used to LOVE libraries as a kid. As an adult with a very specific set of interests (computers, ecology, typography), I am usually frustrated by the selection available. What I have now is basically my ideal library, right here at home, and no one is going to bug me about writing inside the books or returning them late. The selection is vast and carefully curated, and I am guaranteed to come out of it delighted when I decide to borrow a few books.

Because of that, I also print out and ring-bind a huge amount of PDFs and articles and "in-between" books, to be able to put them up on shelves too.

For example, I wanted the other day to do some writing about the fundamentals of software performance, and I gathered the following books, which I plucked for the stuff I needed:

- computer systems - bryant & o'hallaron

- bpf performance tools - gregg

- systems performance - gregg

- every computer performance book - wescott

- sql performance explained - winand

- computer organization and design - hennessy, patterson

- computer architecture - hennessy, patterson

- algorithms - sedgewick

- understanding software dynamics - sites

- design of data intensive applications - kleppman

- graphics programming black book - abrash (why not!)

There is no way a public library would have them all in stock. I also would have had to go there, carry the books back or study on site.

all of these books had various amounts of marginalia, folded corners, printouts of papers laid in. This physicality gives me a lot of context information. I often do the same kind of "study session" with PDFs, and it's not hard to find "library" sites online, but it feels much less "intentional" to me.

edit: It's probably also an education thing. My grandfather was an art scholar and my uncle an accomplished lawyer. They each wrote many books and articles, and both had gigantic libraries of unread books they would pick from when writing. I grew up with my grandfather at the kitchen table with a stack of books and his boxes of index cards, staring at us kids to please shut up. There is an undertone of nostalgia realizing that this is what I do too now, 30 years later, when both have sadly passed. Their libraries however remain, in the case of my grandfather, turned into a research library in Paris.

(edit: formatting, family anecdote)
Also, it's just fun.
Getting the World Record in Hatetris
We considered:

Lansing, MI

Chapel Hill, NC

Wilmington, NC

*Ithaca, NY*
> It talks about 1 bad "feature" of specific password manager extension and then dismisses every other password manager extension without verifying if they have this bad "feature" too.

He specifically says:

> All online password managers work in a similar way, this isn’t specific to any one implementation.

And they do - because that's the integration point they have to use. It's just how the architecture of browsers works.

> And this is from security expert ? Bruh

Not sure what this is supposed to mean but I'll take it as dismissal. Assuming that is the case you should rethink how you assess information because Ormandy knows what he is talking about.
I would think you'd have to have an awful lot of them before it became a problem. Books tend to be pretty small and less oddly-shaped than most other stuff you have to move. They're so efficient to pack that you end up with some really heavy boxes if you're not careful, but after the first one or two, you get the hang of how many to pack.
Are there studies that analyse the effects of such an earthquake on the world's software infrastructure and thus on global economy?
None of this refutes my point.
Because they are significantly more memorable than pw made from individually random chars without significantly reducing their strength.

I have a handful of diceware passwords for important accounts i need to remember, and find that pretty easy... the rest are throwaway level unimportant or I leave to email based login.

However I dictate password and security policies where I work, and don't have to adhere to stupid "change your pw every week" rules - so i realise this is not a solution for everyone working under different (stupid) conditions.

https://xkcd.com/936/
Right. I guess that the stuff collapsing around must have formed some sort of pocket that allowed dirt to pile up gradually. Which still sounds crazy, but yeah, given enough events like this, some of them are bound to turn out this way by sheer chance alone.
I used to a lot until I got a job where they don't clockwatch you.
Yep, for foreign policy as well [1].

[1] https://www.wsj.com/articles/henry-kissinger-is-worried-abou...
There's not enough information shared about what metrics people monitor and why. Accurately measuring complex system performance and utilization over time is hard work! Observability platforms such as DataDog and New Relic are very expensive. Engineering teams repeat mistakes, recording too much information, getting the bill, and rushing high-priority pruning exercises through engineering to stop the financial bleeding. I encourage everyone to share their monitoring setups!
Chinese brands that lead India’s smartphone market being hounded by authorities
This has bitten me before. A security scanner reported a vulnerability from this that was blocking me from my “use X at work” request.

I ended up having to teach the vendor of the tool about go mod.

But if you are publishing a “release” I personally think it is good to tidy that up. Even just to prevent misconceptions. No reason to preserve ancient versions and especially failed library experiments.
This is true in internal emails and within close-knit partnerships between people of different companies, but not for more official B2B communication such as cold emails and C-level stuff.

Also, it’s still usually coupled with the Official Brand Signature.
Local production is always good, so this is good news.

But I fail to see that 'this changes everything'. That tone of the article just feels patriotic. What will change, exactly? Did I miss some facts?

As for quality, regardless of whether it's with or without power, I doubt there is a big difference in US, German, Japanese, Australian tools -- it's a matter of preference and workshop organisation (e.g., for cordless power tools, the batteries should fit what is already there). One company may have a slightly better circular saw (Festool?) the next has a slightly better plunge router (Triton?) -- whatever. But most of that is marketing and branding policy (DeWalt is for the tough and sweating man and Festool is for the clean and thoughtful engineer -- but is there a quality difference in their cordless drills?) Milwaulkee is good and in the same league and I don't see changes coming by this.
> I had other ways I could think of to reduce errors (tests, more robust code, etc)

You can still do that with TypeScript and also get type checks, null checks, and just typos found for you by the compiler. Why wouldn't you want the compiler to do that for you? I don't want to do it, I want the tools to do it.
A related thing that seems unthinkable for many people now is how dynamic opinions are. Like, not intelectually, but from experience understanding that my world view currently firmly stands on a foundation that might very well fall apart some day... I feel that experience deeply shaped my character. Funnily, I think my opinions are now standing on even firmer grounds since I stopped expecting them to hold forever.

People talk about their opinion as if it was some static thing that was always like this and will always be. Completely unaware how their own opinion evolved throughout their life and might evolve if they allow too. Also completely unaware of how irrelevant their opinion is, except for the consequences that follow from acting according to it.

"[...] But that's just my opinion. [...]", as if anybody should care. And, as if protecting their world view from the debate that might rip it apart. As if that'd be a painful and scary experience. (No even talking about how people use that sentence in order to spread fear, anger or hatred.) As if they'd need to put their whole life into question if they'd changed some if their opinions.

Often I think in the past there were people that lived according to this wisdom. I am not sure to what extend that's true, but I do not often meet such people now. Even in intelectual spheres, where some people even might talk about wisdom like this it often feels hollow to me if they do.
I enjoy to agree with this article but in my belly I know it is just a story we incurable collectors tell to comfort ourselves.
pulltherope.app

Only gave a shoutout on a few subreddits but it didn't stick. Oh well, I use it everyday!
How about USA-made Starrett combination squares? Is there any better, anywhere in the world? https://starrett.com/category/111001
Part of thinking ahead or to second or third order is being realistic about the range of outcomes. This article characterizes outcomes as "good" or "bad", but realistically almost any scenario is going to generate results in a broad grey area of trade offs including what might be good or bad depending on framing and points of view.
> Also good to increase time to market and make you think more about types, less about business logic.

Show me some actual measurements that TypeScript increases time to market. I don't believe you have any.
If the Job Market Is So Good, Why Is Gig Work Thriving?