skysight-inc/HackerNews huggingface dataset:
Ask HN: How common are applications of scale these days?
I've been reading lots of material on the side of my day job lately. Clean Code, Martin Fowler's Refactoring, and other similar books. Titles that look at OOP and help you make sense of complicated programming patterns.

However, I've been in the industry for ten years now, and worked for four separate companies, and I'm yet to do anything overly complicated with OOP that requires anything like a complicated class structure, architecture, or design. So far everything seems to be fairly simple and I rarely find myself thinking that hard about design.

I still try to follow best practices and write modular code etc, but I'm wondering if my experience in the software industry is an exception or the norm? Has the industry changed recently, and most developers are no longer building complex, scaled applications? And are some of these classic books on best practices a little out of date now?
> drastically improved my soft skills

I'd love to know how in a fast paced office environment you can improve those, none of the trainings or anything are about this (even the leadership like ones feel like just standardized template stuff rather than actually have an environment where you can practice social skills and get the correct timely feedback to improve it)
From my perspective it is neither wrong nor right. Articles are supposed to be written for a target audience, and I think the only issue is that the original article didn't mention the target audience is people who don't want to aim for the moon, but would be satisfied with just having a stable life where they're in control of their own decisions; in the vein of an indie hacker, a family business or other sustainable ways of doing small to medium business.

This is hackernews, and we, as an audience live in a little bubble where the only right way to do business is by disrupting a market and becoming the next Google, Microsoft or Apple. Just like some of the contemporaries that originated from this subculture here like; Stripe, Reddit and openAI.

There are many ways of doing business. The original article had a sound strategy for one particular way of business. This article by common cog has another sound strategy for doing business.

Different target audiences, different games.
I don't, what kind of strawman is that? What I propose is that foreigners play by the same rules domestic citizens do, no more no less. When in Rome do as the Romans do is what I propose, so as long as foreign outlets abide by the laws and rules of the country they want to do business in they should be able to freely publish. But when they think that they don't need to do that because they're convinced the American first amendment somehow applies in Brazil or the European Union and that American businessmen get to make the rules instead of national governments then you show them where the door is, that is all.
I wish it supported Nuxt.
> Also, there's an urban legend that mashed potatoes were used in photos requiring ice cream, because the potatoes don't melt.

Not an urban legend. I remember reading exactly this, probably in TV Guide.
I got Fired from Facebook (a $100M dollar lesson) (2012)
Missed seeing the northern lights? Why the biggest storm may be yet to come
T3X/0 a Minimal Procedural Language
I try not to be jaded having never cleared the dreaded google interview multiple times, but I'm very envious of the high compensation, amenities (which their recruiters argue is compensation), and probably getting paid doing very technically challenging work. For me in Australia, it seems to be a case of choose one.
My side projects will never leak passwords. How is that not security 101? You do not need to "invest" in this, every single engineer needs to have this level of working knowledge. Not having this in place should absolutely mean not being allowed to run a business online.
The Chinese could learn a lot from our government in the UK:
https://www.amnesty.org.uk/why-taking-government-court-mass-...

No app is needed. Spying by default.
>the money is generally used to fund the basic functioning of society and benefits all citizens

That's a very bold claim. I think in most developed countries almost the opposite has been happening. In the US it's been going toward "defense" companies and foreign countries as well as mass hordes of foreigners who hate us but like the free money.

Maybe half of the tax revenue goes to maintain infrastructure and to help old/poor people who didn't immigrate here survive.
I've had 12 hour shifts at Google with 200 pages over a week (shitty monitoring, shitty capacity constraints, shitty management). That was quite terrible.
The logical thing now is to take in a list of UPCs and Geolocation data to generate labels for an entire VHS collection.
> Many programmers, including myself, have gotten out of the habit of doing this on modern systems like Linux, because a malloc() call always succeeds, regardless how much memory is available.

Not if you use setrusage().
MPV is great for powerusers, for the vast majority of people just use VLC.

I used both over the year and there are still things that are really annoying in mpv:

- you can't render on a Chromecast

- opening a file that does not work does nothing, you don't know what's happening, is the file corrupted, is the codec not supported ??

- the no ui idea is nice for opening a single file, but then you go to the rabbithole of millions of settings / config to do anything more complicated, playlists? ( why can't I drag and drop on the window )

- it's hard to compile, so it's up to you to find up to date version on your distro
Strong first amendment-like system solves all these questions. Not complicated
To be fair, as a maintainer I also dread walls of text from super motivated people about details to which I assign very low priority. I’m never an asshole about it, though.
I work at google and I use google products. Sure, some giant automated heap of code is processing your data and deciding how many grammerly adverts to show you, but your data is about as safe as it can be from loss or from humans. There are so many controls and checks in place when working with user data it's difficult to get things done some times (and quite rightly too).
As a matter of fact, yes, Japanese companies operate largely on a bottom-up consensus model. Approval from the top is still required, but they rarely refuse it if everybody in the ranks is aligned.

https://en.wikipedia.org/wiki/Japanese_management_culture#Ma...
Completely fake news by the haters towards China.
It’s simply an app that blocks scam calls and text, in fact, you don’t need to install it if you don’t like. Also on the app stores, there are plenty alternatives to choose from.

The real gov spyware is this https://en.wikipedia.org/wiki/PRISM
I have the FlightAware free account, but on occasion I’ve bought the Ad removal IAP, via Apple. What personal/billing information beyond my email address do they actually have from me?
I actually don’t have a problem with this because just because it looked good conceptually, doesn’t me it is going to look good before going live. There is a stark difference. It’s not that the people are being malicious or lazy. Everyone sees and thinks differently. This could be avoiding a disaster.
I think when you're hiring people like Russ Cox, Rob Pike, Van Jacobson, Jeffrey Mogul, Jennifer Rexford, Bram Moolenar, Vint Cerf, etc. (and that's just a tiny fraction of their well known amazing talent) it's hard not to think they're hiring the smartest & brightest.
Don't look at it as "not supporting an 8-year-old device" which can't get the update; look at it through the lens of "not supporting an OS which had its initial release just under 3 years ago and is still receiving support itself."

There are plenty of reasons (of varying reasonableness) to avoid an update; people on an OS version this new shouldn't be getting this kind of harsh treatment.

If you have app features that rely on a new iOS feature, you could just put those behind a feature flag.

If your core API changes substantially over time meaning that out-of-date versions of your app quickly stop working without updates, it's better for the user if you use something like Swagger to auto-generate the API stubs; it makes it much easier to support your app in the long term, even for users on what would otherwise be unsupported platforms.

If you're dropping support because supporting an older OS creates irreparable security issues, well, I guess in this case they might actually be ok with that.
DOS's Last Stand on a Modern ThinkPad: X13 Gen 1 with Intel 10th-Gen Core CPU
I did an experiment on a relatively modern 2020 Thinkpad and found that it can still run DOS.

Modern features like Thunderbolt, 2.5 Gig Ethernet and Sound Blaster compatibility over Intel High Definition Audio can work which is pretty remarkable. Thanks to drivers that can actually be found online.

I also ran 8088 Domination and it seems to work well too.

This is however the end of the line, no more Thinkpads and likely other laptops made after this model generation will be able to run DOS natively.
I agree a million times. Specially because if you aren't seeing things happen live or semi-live (couple days of delay) there's a huge risk the entire thing will be gone when you go check it out (or have it flooded with memes, drama and general nonsense making it a headache to parse the relevant bits).

Twitter is just really bad for persistent information. In a perfect world we'd have articles filtering the massive noise-to-data ratio and serving as a persistent archive of whatever happened in there.
What is "faster calls"?
When I found out suggestions have low signal to noise ratio I simply don't look at suggestions anymore. Not in the grocery store, nor in streaming apps, nor on news websites. I go for the content I specifically went for. I do miss out on stuff though. For example, if I go to HBO Max I specifically look at HBO Originals.
mpv is a key part of my home theatre automation I wrote in PHP.

It runs on a Pi 4. PHP assembles playlists with a Dolby ad, a vintage dancing hot dog ad, trailers, and the feature. It runs mpv through proc_open.

It monitors the progress and controls mpv through a socket to know when to dim or raise the lights, open or close the curtain, etc.

https://www.youtube.com/watch?v=Q7YEVGWJjvI
You will have a very hard time sterilizing a carpenter grade saw.
Seems like they would've recored both in the field, no? If they were recording sap freezing in the field, presumably the mics would pick up on other parts of the tree undergoing stresses and making audible sounds.

For that to have not been the case, either they would've had to freeze sap in the lab, or they would've had to go way out of their way to isolate recordings of just the sap in the field without the rest of the tree (is that even possible with normal recording tech?)
This is taken out of context. He actually respects contributors, including their decision to not implement reverse play.

The meaning here is "if you think the existing contributors are as incompetent and lazy as you are implying, then do better".

I think he got caught up in the argument and that he should have just put the question in a FAQ entry and lock the thread before people start mentioning nazis.
> They initially told him the design was good as is and required no feedback and change, but once the project was about to be deployed they suddenly became very opinionated and critical of each and every tiny detail, including on the need to rewrite the component

I think this situation would've happened regardless of advice vs permission. So it's not really talking directly towards the article, but yeah, bad actors are terrible to deal with especially when they hold power on like a PR review.
Before labeling it as anti-China, maybe do a bit more research on the topic first.

Anyone who's paying attention to China's surveillance programs knows this project has been running for years, and its impact is greater than what this post describes. It really is a police state. Maybe it is beyond your imagination so you can't comprehend how this is possible, but that's the reality.
Please post or blog or something about what you knew. There's not much extant info about this out there.
Original Boulder Dash for Atari 800 XL: 11,65 KB

GDash 1.9.15 Win64: 65,3 MB

What went wrong?
> None of those things landed people in jail.

Literally all of those things did.

- Equal rights activism https://calendar.eji.org/racial-injustice/feb/1

- Communism activism: https://en.wikipedia.org/wiki/Smith_Act_trials_of_Communist_...

And don't even get me started on Snowden and Assange exposing the tremendous (war + civilian) crimes of the US government and being silenced and persecuted for it.

> The US, from a law standpoint, has had the strongest free speech protections of almost any country in history.

Absolutely false. It's not even in top 10.

https://worldpopulationreview.com/country-rankings/countries...
What a bioluminescent petunia had to teach me
Can you explain more about this QR code scam?
Also, <https://news.ycombinator.com/item?id=32041096>
Say Goodbye to Tedious Prompting: This Engine Makes LLMs Talk Like Experts(WIP)
Get with your manager - ask them where your autonomy ends.
Then you can get on with your job, without asking them for 'often advice'.
Those that work for me...i gave them the same 'power' I have. We talk when there's a problem they can't fix.
Most bases have been there since before you were born (probably) and before China was a rising power.

In any case, my point is that you only attribute fault to one side, when you have the other side making claims and starting to flex in front of smaller countries. Let's cut the BS here, that is not China playing nice and promoting stability.

It also doesn't take much to understand that the smaller, way less powerful countries that feel threaten will try to find allies. Who's the other big guy in the Pacific? Of course they want the US to be near them and on their side in case shit hits the fan.

This reminds me of Russia, which invaded Ukraine to keep it under their control, but then is surprised to learn that their actions made Ukrainians dislike them even more and are shocked that other countries that could rushed to join NATO. People like you course blame the US alone, missing the fact that NATO would crumble (like it was already happening) if Russia didn't make weekly threats about nuking European cities or actually invaded their neighbours.
> Mostly that the whole annotation-based dependency injection part

Right, but DI isn't Spring specific, so point still holds.

Within Java there are plenty of other annotation frameworks...

In other languages there are annotation usages and sometimes EVEN worse behavior exists...

And yet for reasons I'd like to know people aren't blaming those (at least not in the same capacity). That's the crux of the issue.
Show HN: I develop 50% Faster and made a Sales on Soft-launch
Hey HN!
I launch a new product and deliver it 50% faster than my previous product. Also, I made sales during the Soft-launching period. How can it be possible? Here's the detail.

1. Develop and Deliver faster
Always use the same tech stack, or you can create your own boilerplate that can be reused whenever you start to build a new product. Why? When you're using the same tech stack every time. You will be an expert in that technology. And you can make a huge improvement to your product.
Then, you don't need to learn new things every time you build a product. Instead, you can more focus on how your product can solve the market's problem and business side.

2. Run Soft-launching
You can promote your product earlier, by giving a coupon or discount. From there, you can collect feedback from your users earlier and improve your product. Remember, selling features that your users needed is more important than adding a bunch of crap features.

3. Solve the Problem
Always build a product that solves problems instead of finding a random product idea. In this case, SuiteMail can solve freelancers or business owners by reducing their operational costs for email accounts.

That's my breakdown detail for my second product SuiteMail. You can follow this business boilerplate.
- Rully
If you have better solution. I am all ears.

I am myself not interested in providing any data to those companies and I am still using Internet. Yeah, I am avoid FAANG and related sites tho. Not that I am feeling Im loosing anything importand really...
Way longer than a decade. You can see it in the perlfunc man page way back in 1996[0].

Of the same vintage is `Tie::IxHash`, which retains insertion order

% repeat 5 perl -MTie::IxHash -E 'tie my %foo, "Tie::IxHash"; @foo{qw{ c a b }} = (1)x3; printf("%s%s%s\n",keys %foo)'
cab
cab
cab
cab
cab

[0] https://metacpan.org/release/NI-S/perl5.003_02a/view/pod/per...
I use it as a backend for smplayer: https://www.smplayer.info/en/mpv
So am I. It was a ... tense ... time of my life.
All the salts * all the ssns is a very large set but it’s irrelevant because in the above scenario each ssn has a public well known salt, you don’t have to test each salt against each possible ssn because the mapping from one to the other is known.

Even if such a service doesn’t exist, and you just have a list of all the salts without knowing which ssn they map to, you’re just hand waving how hard it will be to hash the entire salt*ssn set.

Hashing a salt+ssn can’t take too too long because data brokers need to be doing it frequently in order to verify identities.

In this report, https://files.consumerfinance.gov/f/documents/cfpb_consumer-..., it says monthly volume of credit card marketing mail is in the hundreds of millions per month. Can we assume that each piece of mail is roughly associated with one instance of hashing a salt+ssn? Given that number, how expensive (in terms of time, compute cycles, whatever) can it possibly be to hash a salt+ssn? If we make it too expensive, expensive enough to support your “age of the universe” claims, credit markets would grind to a halt.
> Why don't we hold them to a higher standard?

That's what imposing a 'severe' outcome would mean. You're using circular logic to be against a statement of facts.
I can do fewer things with my computer than I could when computers were slower. Software has more than destroyed the gains of hardware. (The only exception is numerical simulation, which I need occasionally for academic research, but not in my day-to-day life.)

Video games, supposedly the Killer App for high-end computing hardware, are among the worst offenders: your average modern 2D side-scrolling platformer (Mario clone) locks up my computer (to say nothing of AAA games). Web browsers are the second-worst offenders. Chat clients (secretly web browsers) are third: they barely work, and interoperability has gone the way of the dodo. Operating systems are fourth: they (mostly) still let you use older versions of software, but they have mostly just grown new problems (e.g. built-in adware in Windows; GNOME… well, GNOME) without fixing long-standing ones (e.g. slow domain login in Windows; most systemd misfeatures).
Hi, I'm Rully
Currently, I'm still working as a full-time app engineering lead. I'm targeting to launch this product in only 1 month of development. Unfortunately, since I'm still working full-time, I got a project from my company that has a tight deadline so it was delayed to be 1.5 months development.

My previous product took 3 months of development. From there, I used same tech stack and make it as my product boilerplate that I just need to copy / clone the repo every time I build a new product.
From a transit perspective that’s basically the same thing.
I once watched this program about a guy that grew it in an area for wood harvesting and food, and kept it in check by digging a 1 meter deep trench around the area. The trench light pruned the root system from reaching his property. I thought it was pretty clever.
To be clear I mean the investors! However it sounds from another comment like the investor instead got some money from it they didn't just drop it like a ball.
I’m quite familiar with how a salt works. One might say deeply familiar since I have worked on auth services for very large, very secure organizations.

Poster above me just said “add salt” and waved their hands without describing anything concrete, like just saying some magic words can solve hard problems.
The Problem of Defense Economics
Circles was part of G+ (it was their audience selection model to contrast with Facebook's friends)
>> Not even Indians are safe.

> What does this even mean?

You know, I'm genuinely curious; do you honestly not understand what OP meant or are you actually disagreeing with OP by asking a rhetorical question?
Browsers are a platform too
NEET: “not in employment, education, or training

The NEET category includes the unemployed (individuals without a job and seeking one), as well as individuals outside the labour force (without a job and not seeking one). It is usually age-bounded to exclude people in old-age retirement. per https://en.m.wikipedia.org/wiki/NEET
Is it me or is this one of those, only other people we don’t like do bad things.

You’d need to generalize the pop science to the British, French, Spanish and portugues empires then address the genocide of indigenous tribes by America, Canada and Australia
-> Employees switch within 2-3 years. (2 years being the industry average)

-> Most don't even live 1 whole rotation cycle.

-> But they do create substantial dependencies on themselves.
But the fact that you have all of that compatibility is partly why the OS has its flaws

Aside from any adware…
Yeah, DevOps is extremely bad with credential caching and refreshes. Sometimes after you elevate privileges, you'll see the privileged UI options and then they'll disappear on next page load.
I'm pretty sure FreeDOS could even connect to the internet OOTB on my modern laptop via the 3g modem because of the USBDOS CDC support along with something like dospppd (the modem just speaks ppp over a usbcdc port normally even on Linux. You dial it just like old modems with AT commands)
Couldn't that kill threadreaderapps bandwidth?
That claim of environmental impact is just incorrect when it comes to the junk content.

The bad ones are barely watched; sitting on a hard drive after getting transcoded isn't an environmental disaster.

You could try to argue that popular culture is fundamentally bad; people have been saying that about TV when I was a kid, dance music before that, novels in the 1800s, Christmas in Puritan New England, and the Olympics in ancient Rome.

The people tend to disagree.
> To be honest, no, the idea that chargebacks are common in the US is a stereotype and not true.

The thing is, even here on HN (where I expect, maybe not warranted, the level to be higher), people seem to absolutely proud and entitled to chargeback whatever for whatever reason. Those are almost 100% Americans (I check) and that is where I got the idea; this sentiment is much higher on tiktok, youtube, reddit etc. I even saw some shorts of people screwing merchants with chargeback like it is some batch of honour.
Well, when I read the title, I would have thought the same, but I found the article to have a fairly good motivation behind it.

It's fairly vague, though, as all these things are.

My own experience, with almost everything in life, is "It depends."

There's really no such thing as "One Pithy Aphorism to Rule Them All." In my experience, every philosophy works best as a heuristic, to be adapted to the context, and almost every context is different.

That said, we can't be too flexible, or we won't get anything done. I feel that each context needs to have "hard" parameters established and enforced.

It's just that, in my experience, we need to respect each individual context, and many folks are spectacularly bad at that.

This chap is/was the CTO of Meta, though, so he has some fairly solid background in one particular context.