skysight-inc/HackerNews huggingface dataset:
The UNIX philosophy is redundant. The only unique part of it is to use text for everything, which isn't a very good piece of advice.

It only exists to cover for the mistakes of UNIX. The bulk of it is saying that you should apply the same design principals you would on the inside of a program to the external interface of it. The irony here is that people only treat these situations differently because UNIX forces programs to interact through limited means (a single function which accepts an array of strings as its arguments). If UNIX allowed programs to represent themselves as modules of functions which act on datastructures richer than a string, it would be obvious to everyone that they should apply good programming principals to these modules.

Case in point: Emacs. Its programs are modular, so it needs no grand philosophy telling programmers to apply the well known practices of good design. The `find' utility is the exact sort of thing that the UNIX philosophy warns against. It contains huge amounts of duplicate functionality; I believe the version installed on my system takes more than a hundred flags. No such functions exist in Emacs, because it would never occur to someone that they should write a function with over a hundred keyword arguments to do something as basic as file handling.

The advice in the UNIX philosophy exists only to combat the issues that UNIX creates, which is why I am so confused by the fact that so many people are reverent to it. They act as though UNIX invented simplicity or good design, as though the application thereof is something special rather than what should be the default for any competent programmer. I can only speculate why this happens. My personal view is that UNIX has locked us into systems that don't follow its own philosophy. People come to view this failure as the default, so any instance of good design is remarkable.
Low average relative humidity.
Thanks, I'll have to take some time to digest the info. I suppose the only person who's winning the arms race here is Stallman.. lol
Question: Would you handle spidering your website from AWS and Azure?
At work, we recently noticed a massive increase in hits on the website, mostly coming from cloud services like Amazon and Azure.

The hits suggest that somebody is spidering our site, using fake user agent strings that pretend to be regular web browsers.

In general, the hits we get from each IP are low (1-15 hits/minute) but we are getting hit from many IPs at once so it's actually increasing the load on our web server significantly, in some cases affecting the ability of actual customers to use our website.

Because this all happened at the same time, we suspect it is the same organization doing this. (We have complained to the abuse contacts for those IP ranges.)

We've not found a pattern to the traffic that would allow us to create rules for blocking traffic using something like modsecurity, besides the IP addresses being associated with cloud services.

We don't know who or why, but we'd like to limit or block the traffic.

There are several ways to do this:

1. Block traffic at the IP tables level.

This is what I've done temporarily, and it is my preferred option. We're not going to get many real customers using our website through AWS etc.

But the downside is that smaller, legitimate search engines and other services that use cloud services will be unable to index our site. (This is actually the concern from some of my colleagues.)

2. Block traffic to IP ranges via the web server

This will allow us to log the traffic, and show a message stating that we are blocking their requests due to overloading.

The downside is that it may still block legitimate traffic, and that badly written bots may ignore HTTP errors and continue hitting our site.

We could integrate that with fail2ban so that a host that repeatedly ignores these errors gets blocked for a temporary period of time.

3. Use a grey list with severe rate limiting.

Requests from these IP ranges will be rate limited (possibly by tracking the net block) to something like 5 hits/minute.

The downside is that it won't protect against dozens of hosts hitting the site from different net blocks. And I suspect the bots will ignore HTTP errors anyway.

However, we could integrate this with fail2ban, so that a host that repeatedly ignores HTTP errors gets blocked for a temporary period of time.

This is my second choice.

4. Increase the load capacity on the web server.

Our web server has handled pages going viral and getting thousands of requests/minute from actual humans, with no significant effect on performance.

Some I'm not a fan of increasing the capacity simply to handle bots that are unlikely to benefit the company in any way.
I’m using `vimwiki` for years and love it.

I also tried Obsidian but I need it also mobile and I cannot define a storage path for my files.

I just like the freedom, minimalism and flexibility of vimwiki.
really? you can actually see the feed from all the cameras? Oh is it cameras that just show trains?
A website that allows you to test alternative investment strategies
The tool allows you to create, test and execute investment strategies that are trending on Reddit and other social media.

I kept seeing interesting trading strategies on Reddit. However, after working long hours, I didn’t want to spend hours or days on testing them. Also, those strategies are frequently based on alternative data which is costly or almost impossible to find.

I decided to write a short reusable algorithm to help me with testing strategies. I added an easy to use no-code interface. Since it was quite interesting, I then created a website out of it.

Currently, it allows you to test your trading strategies based on:
- Google trends, Wikipedia views,
- Sentiment on social networks (for example sentiment on Reddit, Twitter etc.)
- Personal stock trading by U.S. Senators and Representatives
- Public sentiment around US Equities
- Many more are coming soon.

I add one or two new strategies per week. I usually select the ones that are currently trending on Reddit.

I would be very thankful for any feedback, feature requests, and for joining my Reddit community.
Yeah same ! I don't like hearing the word just, but sometimes it helps to stop over-engineering things, or to find arguments against the one saying "just"
New AirTag competitor is cheaper and better
'LEET' tax declaration makes programmer Finland's biggest earner
Here in Edinburgh, it means that we switch over just as leaving the house at 8am to take the kids to school happens in the dark, to make it so that that happens in the light again.

Of course, if that's the aim, then we should switch back again at the start of March.
Yes, but - as comments bring up - that's an orthogonal issue. The thing here is that the owner of the machine in many cases isn't the same as the owner of the documents - think notes on a family-shared PC, or NGO-provided laptop, etc. Relatedly, there are degrees to protection - the person you want to protect your notes from may be the person you're otherwise willing to grant access to rest of the computer, etc.

What I think should be built into the OS is the ability to secure[0] specific files, or groups of files, on top of FDE. Think, "right click -> Password Protect" to set up, and then when an application tries to access the file, you're prompted for a password. Or, you mount the secured folder as a drive, TrueCrypt-style. I.e. document-level protection controlled by user.

----

[0] - I originally wrote "encrypt", but perhaps OS preventing access is enough in this context if FDE is also enabled.
But the person seeking help already knows what they have tried

But the person being asked for help doesn't know. The question "what have you tried" is meant to avoid re-tracing steps that have already been taken.
Wildcat Banks in 1800s are like cryptocurrencies today
If your database is slow and ruby isn't, simply rewrite your database in Ruby.
hey, really liked Mellow. We've just launched something ourselves that you may find interesting, just a way to manage the business-side of being an app creator www.salable.app
When I feel this way, I contemplate getting an ATP and trying to become a pilot for the airlines. Glorified taxi driver, doing a well defined task day in day out. Work schedule is some weeks on, weeks off. So, a regular change of pace.
This, I know more than a dozen journalists that are now working at facebook as PR basically.
To me, the main factors are:

- shoes sole

- floor material (especially carpet)

- relative humidity

Combinations of all three explain all discharges I've endured :)
Cryptocurrency’s legitimacy has nothing to do with Twitter.
> You only see top programmers who started as kids and probably won some Olympiads and programming competitions, and this continued in their 20s and maybe kept their skill up till 30s but that's about it.

Olympiads have almost nothing in common with actual engineering work. Overall "regular" coding isn't as brain-intensive as mathematics. Lots of 40+ software engineers are productive even in fast-paced companies so you still have some time. 50+ seem more rare where I work.
really cool! and huge!
"just change your lifestyle" is the best one ever.
Are they linked at all? Otherwise if you add up all the time limits they must exceed a day...
they raise a decent point. there's countless FAANG people on here making $250,000+/yr plus RSU and claim they are underpaid. What happens when they end up in the real world being offered half that with no stock options?
It was easier for me to be skinny in the 1980s: I was younger, and for the first half of those years ran a lot--at least a couple of marathons every year.

But, "A new study finds that people today who eat and exercise the same amount as people 20 years ago are still fatter." The 1980s were nearer 40 years ago than 20 years ago.
My favourite conspiracy theory is that this push for 'woke' activism on the political left was done as a means to undermine it, and distract away from more pressing labour and economic activism that would actually be a threat to the wealthy and powerful, if implemented.

While the purportedly left-wing activists sit there arguing if math is racist, and so on, exploitation of working people continues as it always has, largely ignored.
The counterpoint to the items you listed as Europe doing better than the United States (better infrastructure is very debatable) is that Europe suffers from perpetual stagnant economic growth, extremely low tech worker pay, brain drain of the best talent leaving for the US and few revolutionary tech ideas. The American ideology can't be dismissed as simply benefitting a few CEOs when there's so so many Americans earning compensation well above what's possible for a European. Granted, it comes at the expense of the lower class in the US, but as you point out, it depends on the ideology.
I'm in my mid 50's. The software group I'm part of has a spread of ages with people older than me all the way down to new graduates. I was new graduate once.

For the vast majority of programmers, programming just a regular job in companies that most people won't ever have heard of, in just the same way the majority of other jobs are.
Then as POTUS, I will propose a law that they must label themselves as such. Harvard won't be able to call itself an "Institution of Higher Learning", however "Institution of Influence for Sale" will be permissible.
You can take a break and go traveling :)

And even work remotely if you end up liking it
Is there a link or more info on some comparisons of this technique on identified people? Like, take the dna of someone alive and present. Generate their face using only the dna. How similar does it look to the person? I'd love to see lots of comparisons like this before I trust the technique.
If I don't discharge myself to radiator, I'll discharge to macbook. It didn't cause damage yet, but I feel uneasy when that happens. So I prefer discharging myself often, especially at winter when air is dry.

If that's a big problem for you, it's possible to wear some resistor as a gadget and discharge via this resistor to some grounded thing. It'll limit electricity flow and you won't feel anything.
I have switched industry before and you kind of start from 0.

What you are describing doesn't necessarily sound like an issue with the tech sector, but rather that you are a bit burnt out.

My suggestion: try to take some time off, either by not working or just working on some very unambitious projects that give you time to relax. Do this for at least 2-3 months. Sleep, eat, treat yourself well.

Then slowly start tinkering with whatever tickles your interest (only once you feel like it). This can be a a tech side project, playing the guitar or bartending.

This recipe has helped me re-discover my energy in the past.

It might lead you to something in tech or outside tech.

Just my 2 cents.
They missed a trick with `std::to_underlying`. It should work on all types, not just enums.

By not doing that you still have to do `std::is_enum_v<T>` somewhere.

For types that aren't enums it should do nothing (maybe `std::identity`)
Hey this is me. Or what I am building. I noticed that common social media don't actually facilitate connections and knowledge. If you look at Stack Overflow or Lunchclub, these sites create a much deeper exchange. Why is that? Because these sites are not driven by "influencers" getting followers. Yes, there are people that are Karma maxis on StackOverflow. But usually these powerusers make these sites work. With finclout, I am working on carving out a niche for investment knowledge. Where people can really connect and surface information that is actually useful. The Web3 components comes in that we actually pay users for moderating / curating / syndicating content on the platform. The lessons learned from our time with DeSo was that adding a payments layer to traditional social media interaction brings out only the worst in people.
Show HN: Draw Things, Stable Diffusion in your pocket, 100% offline
Hi, this is the first app in a while (probably 10 years) that I submitted to AppStore. I've done this app in 3 weeks, so there are a lot to be polished. The technology that enables this I discussed in depth in an accompanied blog post: https://liuliu.me/eyes/stretch-iphone-to-its-limit-a-2gib-mo...

Some parts of it (or major parts) is also available at https://github.com/liuliu/swift-diffusion. I plan to port more stuff back to swift-diffusion and make a CLI tool out of it (it is a bit more work than the app because I need to consider CUDA compatibility there).

AMA!
Just to make it clear, I’m writing this to get it out there for people who want to move into development a bit later in life. Such that they can improve their portfolios and resumes. I mean, we didn’t have an arduous interview process, but many companies do. And if you have to pass 4 filters from initial HR screening to a conversation with EMs, you absolutely have to show why you’re better for this role than a bunch of other people you’re competing with.
I don't know that I would call tech salaries "middle of the road". We're lucky enough that we're in an industry that leaves a lot of flexibility on the table, it's doable keeping a decent tech income and doing something more meaningful with your life as well. I don't know what's going to lighten you up so I won't give any specific advice, but for my part I'm eager to go back to school for something completely unrelated (that's also a professional dead end, but who cares).
Could you provide a link to this WASM implementation? I can find JXL-WASM decoder, which is 1.23 MB: https://unpkg.com/browse/jxl-wasm@0.7.0/lib/
The goal is to avoid leaking the url you actually loaded. In principle you could make a hash of every url and work back from there, but if you’re Google you already have much more effective ways of tracking what sites someone is visiting, that are “acceptable”, if Google or some other vendor were discovered to be attempting that I suspect there would be fairly substantial and immediate blowback.

There are obviously ways that you could improve the privacy aspects of this - you could have two versions of the database hashing urls with slightly different initial conditions. A client can keep one up to date and only fetch the other when the get a collision. Assuming SHA256 is pretty good then we can just multiply the false positive probabilities (I think?).

And alternative would be for the client to request multiple regions at a time.
Usually, people buy glasses for a long time.
Carrera with chameleon glasses served me for almost 15 years. They were expensive, yes. But they lasted 15 years. And this means that during these 15 years I did not buy new glasses. And so do a lot of people. And that means that if you start a company that makes cheap good glasses, you will be in trouble in a couple of years. Because good glasses last a long time, people love them and don't want to change them. So you raise your prices.
I have vintage Ray Ban from the 1970s, still with real glass, not plastic, I love and wear them, and I'm not going to buy new "aviators" because I already have them.
It's just such a specific product, it's not impersonal plastic boxes of electronics, this is a thing that is always with you and becomes a part of you.
And there are many unknown manufacturers of cheap glasses, in any supermarket in the EU you will find racks with these glasses.
Underwater welders make a lot. It's risky work, but you get to do pro level diving (the risky part) and welding metal at something like 3000 degrees...while under water.

Might also make you explore diving more which is a ...whole other world.

Good luck and take care.
You are an extreme outlier, Apple is not going to risk their reputation fingerprinting users just so they can track you.

If you truly have a request like this, send an email to the person in the executive team responsible for Apple accounts, they’ll probably have executive relations fix it for you.
try blocks? is this a bit out of date?
I'm sorry to say that your comment is the type of comment I'd typically downvote, but there's something about it that I think is worth discussing.

The user is complaining that he cannot get rid of the half-naked young girls dancing no matter how hard he tries. And yet, your reply is to accuse them of it being somehow their fault? If this is not Thoughtcrime, I don't know what it is.

For the record, I have heard this complaint before. I assume it's the default algorithm response when it can't figure you out.
Sweet for many, but very tough for those on visas who will have to now leave the US and abandon the lives they built there.
> Note that training is extremely expensive, and is beyond the capabilities of most end users.

You can't run it on consumer hardware, but you can just rent a GPU (or use a free collab book) for a few hours to generate the model. Then you download and reuse it locally at will. Yes, you need storage and if you train often it can get expensive, but it is by no mean out of the end user, at least professional end users, capabilities. And of course there are growing libraries of freely available pretrained models.

> In this case, end users are artists. One could imagine a cloud-based art program which will fine tune on demand. That certainly seems like a good startup idea.

Very much agree about this. At least for a while, I strongly believe that AI will just be another tool for artists willing to embrace it, far from replacing them.
Yeah, web3 is just the crypto-currency crowd trying to hijack the web2.0 branding to make their crypto-whatever sound better.
The costs of indie game development
Probably start a company with the money they've (hopefully) saved, and make more than slaving away for half their old salary (if half is the only option, which it probably isn't).
Plausible
>Also, how did India got to have so many people?

Because of this: https://en.wikipedia.org/wiki/Indo-Gangetic_Plain

An exaggerated relief map showing its sheer size and flatness: https://i.redd.it/5qv0bvyrd9h01.png
They might make compass crazy in your smartphone. Also they cause funny pictures on tube displays. Other than that - I don't think it will have any influence.
> Democratization. Decentralization. Censorship-resistance

I think StableDiffusion is a good example of Web 3 because it decentralises the use of generative AI. If you have your own models you can interact with them to solve various tasks instead of using the web or external APIs, and getting tracked and censured in the process. AI creates a new private safe space for expression (A Room of One's Own).
I hate the Ponzenomics of most projects in the area. Also for me Play2earn sounds great on paper until you realize that this makes it work. As someone who has build videogames for a living games are fun to play, but not to make (mostly)
Also most of these "games" are made from people that never made a game in their lives. Hence they focus on the Web3 component and making the game fun.
No, I just read news, interviews and observe public behavior of these employees on various political, social, economic and technical issues to have an informed opinion on them.
I have a common personal use-case for inheritance:

If I'm forced to use a framework that infects my whole codebase, e.g. Spring, it's often possible to escape the infection by splitting a Service into a SpringService and a LogicService. LogicService thereby remains testable and doesn't depend on Spring. The way to connect them is to have the SpringService inherit from the non-spring service.

That said, I'd rather have neither Spring nor inheritance.
It's mostly the intended "bonfire of regulation", scrapping thousands of laws protecting consumers etc.

Some in government intend the UK to have no tariffs whatsoever.

And want to solve everything with austerity.
I use two thinkpad keyboards and use one with each hand:

https://willfennel.com/posts/2022/10/26/cheap-ergonomic-keyb...
There are dozens, maybe hundreds, of tech companies in the US hiring remotely with compensation between $180k - $250k right now. RSUs might not be the same as SV companies, but we all know those RSUs are worth sh*t right now anyway.
Web3 will only succeed if it adds this layer of awe and excitement that the Web had in the 90s and the launch of the iPhone. We are still far away from that point. What makes this even worse are all these opportunistic cash-grab projects that just exploit users. On that note, I am glad that most large crypto businesses are imploding right now.
This would be interesting if it was about chiseling a volcanic glass, not another note-taking app.
Consider signing up to a gym near your place. Exercise should be scheduled just like you would schedule work.
> I cannot define a storage path for my files

I agree that this is very annoying but couldn't you still configure e.g. Syncthing (or FolderSync) to sync things correctly?
This is a stretch in my opinion. The biggest issue in this guys story was advertiser money. Musk agrees, hence why he's diversifying income by charging for the tick.

Weird that advertisers cut their money immediately.
That's a great read, many people get burned out. Have spoken to a few people who left the industry to do something else, most of them came back a few never did. The grass isn't always greener, some people can easily work through a burnout and come through the other side, others simply need a few months off to re-ignite the flame. It can just be working in the wrong environment, switch to a smaller team maybe? A few friends of mine ditched the startup wheel and now work for an agency producing "standard" websites/cms and enjoy their life so much more.
trades are brutal for your body and I wouldn't recommend picking one up in your late 30s.
So called "Russia Suicide Hotline" phone from your list is assigned to some obscure organization (probably a failed attempt to scam people with paid consultations) that was liquidated 12 years ago.
I jumped head first learning everything I could about crypto and build my own business in this space. I think there is value after all the crazy hype of the last 2 years. But then, this is mostly where I cam from. Fortune 25 GM (Finance) -> Startup -> Startup.