News for hackers. Stuff that matters.

artisanspam

Re:New speculative attacks on Apple CPUs on Tuesday January 28, 2025 @03:35PM (#42857615)
The marketing culture for announcing hardware exploits is so strange to me. The norm seems to be getting a custom domain, logos, demos, an FAQ... why do all this instead of just reporting the exploit and releasing a paper?
Re:I Ditched the Algorithm for RSS–and You Should Too on Friday January 17, 2025 @10:25AM (#42738477)
Readwise Reader. Yes, as another commenter stated it costs money, but it has many other features that I find useful such as good text-to-speech, integrations with other apps like Obsidian, and a good export feature if I want to switch to another feed app.
Re:I Ditched the Algorithm for RSS–and You Should Too on Thursday January 16, 2025 @03:02PM (#42730158)
I love RSS. I use RSS daily. I use link-aggregation websites like HN to find interesting authors and subscribe to any RSS feeds that they have. Highlights from my reader sync automatically into my Obsidian vault. It's great.

But I know I, and everyone else posting in this thread, are in the minority. It's clear that most people prefer algorithmic drip in a walled garden. There's a reason everyone flocks to those platforms when RSS superseded them. I don't think I need to re-hash why those platforms are bad for the health of the internet and society as a whole.

So what can be done at a structural level to fight this? What can be done to incentivize people to leave these algorithmic drip feeds to reverse this trend?

I primarily write code in a DSL which has no good FOSS LSP implementation. If I’m writing this code on my personal computer I’m out of luck. My employer pays for a language server that requires a license.

There are a non-negligible number of my coworkers who don’t use the licensed LSP implementation and they write all their code in vim – or worse, gvim through a VNC. It’s very easy to tell that their code quality is worse.

Re:Show HN: App that asks 'why?' every time you unlock your phone on Wednesday November 27, 2024 @02:24PM (#42258884)
Because I am not always driven to type 128 random characters or even use my phone camera, so it does successfully stop me from procrastinating much of the time.
Re:Show HN: App that asks 'why?' every time you unlock your phone on Wednesday November 27, 2024 @08:44AM (#42256014)
You can make it up to 128 characters. That's impressive that you are able to type a random string of nonsense so fast.

My hack was to take a picture on my phone, have Apple's image recognition copy the string to my iCloud clipboard, and I'd paste it on my mac.

It's too easy to defeat the purpose of these things if you're even slightly driven.

That’s the ideal but it’s not what I’ve observed in practice. In my org, people send reactions and reply all emails like this. It’s just more distraction.
Re:A Review of Linux on Surface Pro 4 on Tuesday July 16, 2024 @11:59AM (#40977728)
Not OP but I use this and like it. It gives a slight scratchy feel when I write on my iPad with the apple pencil and it removes all of the glare for when I'm reading. It's magnetic so you can remove it whenever you want to, but I never take it off.

https://pen.tips/products/penmat

Re:The Right Kind of Stubborn on Tuesday July 09, 2024 @11:02AM (#40916926)
I do really think that PG often glosses over what he really means when he says "success." From a critical view, you could interpret the word to mean solely financial/economic success. Given his occupation, I would imagine that's his intention with the term.

But if you replace that term with something like "virtue" or "eudaimonia" and read from that perspective, there can sometimes be some truths to glean from his writing. Nothing really novel, but interesting to read nonetheless.

Re:Ask HN: Who Wants a Penpal? on Thursday July 04, 2024 @05:12PM (#40878083)
Thank you for making this post. I always love chatting with people.

Alias: artisanspam

Interests: Philosophy pertaining to both political theory and how to live “the good life,” cycling, violin, piano, jazz, PC gaming, design of the built environment (city design, interior design, landscaping) and how it shapes you, meditation, Buddhism (from a secular perspective)

Language(s): English

Link to something you think is cool: Pertaining to built-environment design, I find this YouTube channel interesting: https://youtube.com/@nevertoosmall

Contact info: in bio.

Re:How to improve the RISC-V specification on Sunday April 28, 2024 @10:18AM (#40188765)
> The easiest way to improve this would be to capture as much of the architecture as possible in formats that are easy to read and manipulate. In particular, instruction encodings and control/status registers are easily described by simple JSON/YAML/XML/… formats.

This has been something I wish was available for ARM pseudocode. It’d be ideal to just generate an equivalent Python, SystemVerilog, etc. library from the ARM ARM instead of having to reimplement a subset of it yourself.

I am a DV engineer, and I'm going to give some candid feedback: CI tooling is not what I spend most of my non-coding or verification-planning time on, so I wouldn't find much use out of this tool. Now that wasn't always true – I used to work somewhere that had horrible CI tooling. But that's just because the company didn't invest in someone to maintain that infrastructure. Given that, I don't think they'd pay an external vendor for a tool and require someone to maintain that tool as well.

However, I do have some problems that you may want to consider pivoting to or adding in the future:

1. A wrapper that works with all of the tools that EDA vendors offer as a back-end. Basically, CMake for SystemVerilog where I can just run `make` and compile, elab, and sim run in order. Every company I've worked for has made their own wrapper program which essentially re-creates this process and I've had to relearn it several times. If you had this wrapper, then you could easily just use other CI/CD pipeline which calls this tool. Bonus points if you can integrate it with VUnit or SVUnit unit testing frameworks.

2. SystemVerilog code generation. Something smarter than just "I wrote a Python script that prints SystemVerilog code to a file based on some config file and then you run your build with the file the Python just printed."

I'm sure there are others that I am not thinking of. But overall, I don't find a lack of CI to be the problem. It's the lack of tools that a CI pipe uses that's the problem.

ETA: Also, was it intentional to launch right on the tail of DVCon? If so, clever planning.

It's not just Ubuntu. Anyone using Centos 7 or RHEL 7 which are not EOL yet has run into this issue, too.
Re:Tire Dust Makes Up the Majority of Ocean Microplastics on Sunday October 01, 2023 @02:20PM (#37728806)
The Ford F150 is the best selling car in the US by a long-shot and it's a gas guzzler. Given that, I don't think consumers care a lot about how much they pay in taxes when deciding on a vehicle to purchase.

I don't think this'd have the incentive that you're suggesting it would unless something else is done, such as increasing the tax overall.

What are the limitations on what languages this supports?
Depending on the day I’ll do my journaling through dictation on my phone or iPad while I exercise. There isn’t a video component but I’m guessing that the speaking component is more of what you’re bringing up.

As other commenters have said, it ends up more like a stream of consciousness and not something well thought out. My word choice isn’t as good. The prose just kind of sucks. I don’t learn much about myself from these sorts of entries.

This is something I’ve simply accepted will happen because I do this on days that I don’t have time to sit in front of a keyboard for 30m. Maybe having more well defined prompts would help improve the quality of these entries. I’m not sure.

Re:We’re All Just Temporarily Abled on Monday August 21, 2023 @11:27AM (#37210862)
This is very timely for this post to appear on the front page because I just suffered a pretty bad injury. I broke my clavicle in a cycling race. I can hardly move, my sleep is constantly disturbed by pain, and I am only able to type this with two keyboards – one resting on my right shoulder so I can use my left hand in the sling, and one for my right hand on the desk.

I'm only able to function because my partner is taking such great care of me. I would otherwise be toast. I can't drive like this. I can hardly walk due to road rash on my legs.

Take your health seriously. You can only truly realize how lucky you are once it is gone.

Re:Linux Guide for Power Users on Monday August 07, 2023 @03:46PM (#37039934)
> considering its history

Can you elaborate?

Re:Zenbleed on Monday July 24, 2023 @12:42PM (#36850771)
Yes I understand that but I was struggling to think of a sequence of instructions that would cause this secret leaking on a single thread.

But a simple example is `vzeroupper` followed by anything that writes a secret to the same register file entry would be leaked on a subsequent flush.

Re:Zenbleed on Monday July 24, 2023 @12:28PM (#36850553)
Why does disabling SMT not fully prevent this? I don't know the details of Zen 2 architecture, but register files are usually implemented as SRAM on the CPU-die itself. So unless the core is running SMT, I don't understand how another thread could be accessing the register file to write a secret.
Re:How to Do Great Work on Saturday July 01, 2023 @07:51PM (#36556577)
As I've gotten older, I believe more and more that having a desire for great work has more negatives than it does positives. This post really demonstrates why I believe this – mainly because PG doesn't touch at all on why someone would want to do great work while romanticizing how great it is to have that desire.

I don't think the question that ambitious people should be asking themselves is "what is work that I can do that will be great?" but something more akin to "what is work that I will find fulfilling?" Why do you want your work to be great? Do you think that the work being perceived as "great" is fulfilling in and of itself? What are you trying to prove through this work, and whom are you trying to prove it to? These are important questions to ask yourself because, otherwise, you're going to end up getting burnt out and wondering what all of your effort was really for.

A personal anecdote: when I was younger, I wanted to be great at piano. I played it since I was very young and I spent many hours playing it through my teens. I competed against others at music festivals with moderate success, and I wanted to continue doing great work with it. But this environment put me in a terrible headspace. I would frequently have angry outbursts when I made minor mistakes while practicing. If not anger, I'd chastise myself to the point of crying (I firmly believe this is what gave me low self-esteem through my college years). When someone would tell me to take a break given my emotional state, I'd firmly say no and go back to practicing because... why would I stop? The best piano players practice for hours a day non-stop. I'd spent so many hours practicing and I was actually pretty good. I wouldn't be able to do great work if I were to take a break.

It made me a competitive asshole, a sore loser, and a depressed individual.

Ambition is still an admirable trait to have because, among other things, it demonstrates that you have curiosity and a love for life. But point I'm trying to make is that being ambitious for great work simply because you want to do great work is not a healthy way to do your work. You need to have a deeper reason for why you've chosen the work that you do, and you shouldn't fall for the romanticism that these sorts of essays put forth.

The work that you do will be great work if you have a reason for doing it other than "I want to do something great."

Re:What Motorcycles Teach About Maintenance on Thursday June 15, 2023 @11:28AM (#36341930)
I’m curious to hear the perspective of someone who is both into motorcycles and bicycles, as I’ve only ridden on a motorcycle a handful of times, while I cycle nearly daily.

Bicycle maintenance can be annoying, but it doesn’t seem nearly as time-intensive as motorcycle maintenance. On the other hand, the process of cycling feels better to me compared to being on a motor bike. It’s quieter, slower, and great exercise. I can talk with others. I feel as though I can get into a state of peace on lower effort rides, as well as a state of flow while racing.

It wasn't an attempt to make fun of but I can see how you and others would think so. I simply thought it was an interesting characteristic of him because there is a trend for CEOs to be taller than average.
> His history includes stints at Apple, Tesla and AMD.

Don’t forget his stint at Intel. I met him there and aside from his brilliance, the other thing that stuck out to me is how short he is.

I have to recommend that this platform doesn't give users a profit motive. It encourages quantity over quality and only "front-page" worthy content. Niche communities won't get traction this way. A few Gallowboob-level posters will be making most of the profit.

That's not to say that a financial incentive is a bad idea, though. If you capped the amount that a user made per month to the cost of their subscription - $1, then there's no profit for users to make. They're just saving money on the subscription cost.

A cap could be put in place to avoid many of these bad incentives. Example: you can’t make more money than your subscription cost per month. Maybe uncashed upvotes could roll over each month, too, so long as you keep your subscription.
Re:Ask HN: Anyone Building a Competitor to Reddit? on Wednesday June 07, 2023 @08:38AM (#36226026)
Lemmy is a federated attempt at being a Reddit competitor but I think it has quite a bit of work to do before it’s viable.

https://lemmy.ml/

Re:Dynamic Branch Prediction with Perceptrons [pdf] on Thursday May 11, 2023 @01:08PM (#35905074)
Yes modern CPUs aren't using neural nets in hardware or anything like that for branch prediction. I was referring to TAGE not being a simple state machine. That makes it sound like modern CPUs are just using a basic two-bit branch predictor.
Re:Dynamic Branch Prediction with Perceptrons [pdf] on Wednesday May 10, 2023 @03:57PM (#35892649)
As someone who works on design verification for modern CPUs, this is not true. Most modern CPUs use some form of TAGE branch prediction, if not something more complex.

Older »