News for hackers. Stuff that matters.

coolhoody

Re:Why do you waste so much time on the internet? on Friday May 06, 2022 @12:11PM (#31286852)
My excuses:

1. No free will.

2. Bad parenting.

3. Witches.

The original 100+ years old solo edition [0] was way too absurd. This one finally seems playable.

[0] https://en.wikipedia.org/wiki/The_Metamorphosis

Re:The $440M software error at Knight Capital (2019) on Monday May 02, 2022 @06:37PM (#31241998)
> handwriting C /…/ reading out what I'd written, semicolons and all, to the interviewer.

I had to re-read it to make sure you are not joking. The fact that you were not made me laugh harder.

I'm now just saying "retuuurn" in various exaggerated accents.

Re:On Form versus Meaning on Monday May 02, 2022 @07:26AM (#31233756)
> AI system would not be able to understand what a chair is…

As per the Yoneda lemma [0] I've studied A Chair from all possible perspectives, but still do not truly understand it.

If I, say, take 3 atoms out of it — does it stop being a chair? And if not — what's the true limit of its chairness [1]?

I suspect the AI is, ironically, the only hope on the matter.

[0] https://en.wikipedia.org/wiki/Yoneda_lemma

[1] https://en.wikipedia.org/wiki/Ship_of_Theseus

Re:Gnome patent troll stripped of patent rights on Thursday April 28, 2022 @04:18PM (#31197684)
> Filed: 2017
Re:Gnome patent troll stripped of patent rights on Thursday April 28, 2022 @04:11PM (#31197615)
> “offers a number of ways to wirelessly share photos online such as through social media.”

How was it possible to patent this in 2018?

https://patentimages.storage.googleapis.com/01/50/f8/a8e7c12...

Re:What’s Behind the Naming of TBD54566975? on Wednesday April 27, 2022 @01:17AM (#31176588)
Someone register it before Musk buys HK.

https://news.ycombinator.com/user?id=TBD54566975

Re:Speeding up Prettier locally and on your CI with dprint on Tuesday April 26, 2022 @04:02PM (#31172461)
It is a drop-in replacement. Deno has a Node compatibility mode [0] which — besides the execution — also applies to LSP, so the Node-specific idioms are processed correctly.

It is not cosmically faster than tsserver, but some — including myself — do prefer it. I wouldn't recommend to change anything if you are busy — but maybe take a glance when in the mood for checking out new things.

[0] https://deno.land/manual@main/node/compatibility_mode

It is worth having Deno even if you are not using it: just as a Js/Ts LSP server (it's inbuit). Smaller and better than tss etc.

Also makes much more sense for local scripting. Give it a try even if in doubt for production.

Re:Ask HN: Cheaper Algolia Alternative? on Saturday April 23, 2022 @10:55AM (#31134764)
Typesense is an open source alternative.

If you cannot self-host it, there is a paid cloud option. It differs from Algolia in that they do not charge by records or search operations. Instead, you get a dedicated cluster and you can throw as much data and traffic at it as it can handle.

https://github.com/typesense/typesense

https://cloud.typesense.org/pricing

Re:Ancient Roman Coins: How Were They Made? on Friday April 22, 2022 @09:58AM (#31121608)
Buying an inexpensive Roman coin was on my list. Not as a collectable — but as a meditation / fidget device. Makes you think about a lot of things and sort of… gives an interesting perspective.

Atm a Nuka Cola bottle cap makes more sense though.

Re:War of memes: Why Z-war won't end with peace on Thursday April 21, 2022 @12:47AM (#31106109)
On a local platform a post like that would live for a couple of seconds. But it's not even the issue.

You simply do not realize the depth of this brainfuckery. I good friend of mine, an objectively smart, logical and rational guy — believed that Malaysia Flight 17 was shot down by Ukraine in 2014. I tried to convince him for hours. Haven't spoke to him since, but have heard which side he's on.

I can accept that old dumbfucked babushkas with iron teeth and 3 brain cells support it — they'd support a war on Alpha Centauri if the magic box would say so.

I can even accept — and I'm really stretching it here — a common working guy being fooled by TV — after all, it's 24/7 on all channels, without breaks.

But interacting with anyone who has both means and capacity to see the real picture is physically painful. It's like you are in some sort of literal… nightmare, where things are out of control, and have no fucking logical explanation.

You talk to a guy. You show this picture. You use this argument. You pause. You breath. You repeat. You look at his face — and see your nightmare.

There are those who are talking to people every day. Nevzorov [0] alone has 1M+ Telegram subs, and growing. But even he — the best Russian journalist — is not trying to convince anyone anymore. He is just laughing at them — at their stupidity, their military fuckups, their slave mindset.

There are others — with different approaches. I support them as much as I can — as people would more likely listen to them than a random guy who could be an American spy.

[0] https://t.me/s/nevzorovtv

Re:Ask HN: Best Width for Website? on Wednesday April 20, 2022 @11:08PM (#31105669)
While there is an optimal text line width range, I do not enforce it with the 'ch'.

Visually challenged users might use bigger font sizes — and a line would get too wide for convenient reading. There are some other issues with this approach.

I personally just keep an eye on what the top text-centric sites are doing. The logic being that NYT, Substack, Medium, etc have much more resources than me to research the subject. I just keep a list of about 10 sites and check their readability progress 2-3 times a year.

I default to Vanilla, would agree to Svelte under pressure. But most start with React. The logic likely being — at least I'll find a job if this fails. Can't blame, makes sense.

There are some exceptions — e.g. Pieter Levels (RemoteOk, NomadList) who sticks to Vanilla for everything. But it's rather rare.

Re:War of memes: Why Z-war won't end with peace on Wednesday April 20, 2022 @06:51AM (#31095035)
In Latvia.
Re:War of memes: Why Z-war won't end with peace on Wednesday April 20, 2022 @06:29AM (#31094883)
(I'm Russian). This war was started by a single madman. If not him, it would never happen. Even his spy chief was fucked up [0] when he realized what's going to happen.

Yes — at least 70% support whatever he does — and I tried hard to disprove this painful fact to myself. But couldn't.

The only excuse is the 20 years of hardcore TV brainwashing — but it's not too great of an excuse. Better than in nazi Germany, but not enough.

All that cultural banter the article mentions never caused any actual sense of war — it was more like a Texan joking about a Canadian.

I don't know how to live with this shame. Can't even post in Russian, at local forums. All those stupid faces in the 'do you support the war' Youtube steet interviews… Yes, there are others — Navalny was poisoned, and is now behind the bars. Nemtsov was murdered in front of Kremlin long before the war. Kasparov, Nevzorov condemned this crime. Hundreds of thousands of IT left the country — unable to fight unarmed. But still…

Trying to drown myself in English, jokes, work to keep the sanity. Doesn't work half of the times. Jokes clumsy, work fucked.

Ukraine is now a moral leader of Europe. It will be restored — every single broken window. And people will live free and proud. It's my only bright cloud now.

[0] Fucked up spy chief — https://youtu.be/ucEs0nBuowE

MB jumpers that set it to a read-only mode should be a damn standard even at the consumer level. It's a real pain in the ass to remove this — it's literally the worst thing that could happen to a board.
Ever since the people of Earth invented Half-Assed Listicles — shallow dumps of 1-hour googling.

Now 'site:news.ycombinator.com' and 'site:reddit.com' are sad norms — like condoms.

The draft title of this comment was '9 Reasons You Can't Google Expert Feedback', but my cat came and looked at me with immeasurable disappointment.

Re:Stop Validating Email Addresses with Regex (2012) on Wednesday April 20, 2022 @01:33AM (#31093206)
This won't be popular, but:

1. An experienced dev just killed 54k stars on GitHub due to pressing a button in an auto-pilot mode. Do you think a Joe High who wants to give you $100 won't ever type '2' instead of '@'? What about an old lady? Or someone with physical difficulties? Have you personally ever made a typo in an email?

2. That code in the article is not color highlighted (rainbowed for Regex) or formatted properly. If I write something in any language in one line without highlighting — it'd look unreadable as well.

3. A Regex for this specific purpose is write-once-and-forget. You won't need to edit it for 20 years.

4. Regex — for practical tasks — is way easier than it's being painted. Not easy — just not as hard as some suggest.

5. I'm not a Regex fanboy (nobody is).

Re:Ask HN: How to Create a Simple Blog? on Tuesday April 19, 2022 @07:52PM (#31090935)
Yep, I would suggest to go indie instead of using a posting platform. Platforms die, limit your control and growth options.

Grab a domain ($1 sale at Namecheap atm), generate the site from simple markdown files using Zola (it's basically a better Hugo — if you've heard of it), and host at Netlify for free.

People who prefer a specific language would prefer a framework / generator in that language. Zola is a somewhat neutral option — since you didn't mention your preferences for the language.

Same with the services. I personally prefer Cloudflare as both registrar and hosting, but Netlify would be a bit more intuitive to start with.

Like you, I love clean blog layouts. Shouldn't be a problem if you have a CSS background, but there are themes at the Zola site if you are busy. Not all are great, but there are a couple of neat and clean ones.

P.S. At first I was a bit surprised to see such question here, but then realized that it's actually smart to ask HK — as most of the googleable content is affiliate crap.

https://www.namecheap.com/promos/new-2-year-com-promo

https://www.getzola.org

https://www.netlify.com

The 500k plan:

• You: 20 sites = $59.

• Plausible: 50 sites = $49 (2 months free if yearly).

• Fathom: 50 sites = $44 (2 months free if yearly).

As you can see, they keep eyes on each other. Hence my advice.

Startups are, in essence, lemonade stands wars. Must keep an eye on the tags and look cute.

Don't do 'roughly', research everything that matters. If you settle for 'roughly' — you'd miss, for example, that Plausible is giving back 5% of gross revenue to charitable causes, and Fathom is giving back 2%. Now — whose stand looks cuter?

I know the time is limited, but learning everything possible about the competition is a top priority — above the actual development.

Keep an eye on your commercial competitors (Plausible, Fathom) and adjust your paid plans to get an edge.
Re:Where in the galaxy will we mine lithium? on Monday April 18, 2022 @03:42PM (#31075444)
I love articles like these for their optimism — as they imply we will not be mining it in the metaverse for schrute bucks, or scouting new vegas for bottle caps.
I don't get it — there is a market for a high quality robust laptop — and yet it does not exist.

Why our choice is an ancient refurbished pre-shit ThinkPad or Mac? You can't throw a rock without hitting a random developer — but they all type on self-destructing shittops… And they type emails to customer support instead of coding.

Nothing is finalized yet.
My plan was non-profit, corporate sponsorship, plus voluntarily member donations. Used the term 'startup' just because it's short for 'big complex IT project based on some assumptions'.

Besides my own issues, I simply found too many holes in my original idea — where this idyllic utopia could go wrong.

I still keep the idea on the heap — currently evaluating an idea of professionally supervised chat groups. But I'd be glad if someone steals the idea before I find every way it could lead to the extinction of koalas and collapse of the Hilbert space.

W7 or W10 stripped down to bones with NTLite. Their forums have various tested presets if don't have time, and can answer questions.

https://www.ntlite.com/community

or diarrhea.

An idea for an app — 'Big D': Connects people with diarrhea — so they can know someone truly understands their pain.

Unless this timeline already has one.

Expands both ways — just met a micro influencer, and told him I'm a nano one.

Strange time, the future...

Older »