Readit News logoReadit News
Beltalowda commented on The One Billion Row Challenge in Go: from 1m45s to 4s in nine solutions   benhoyt.com/writings/go-1... · Posted by u/nalgeon
benhoyt · a year ago
Using Go's profiling tool with its "source" view: I used "go tool pprof -http=: cpu.prof", where cpu.prof was generated by "go-1brc -cpuprofile=cpu.prof -revision=9 measurements.txt".
Beltalowda · a year ago
Cheers; I've always difficulty mapping those pprof graphs to actual concrete code and I never managed to get anything more useful out of it.

This is the biggest take-away from this post to be honest; had no idea it could do anything like that. Sometimes it's the little things...

You can get something similar with the CLI using:

  go tool pprof -weblist='mypkgname' cpu.out     # Generate HTML and open
  go tool pprof -list='mypkgname' cpu.out        # Generate text to stdout

Deleted Comment

Beltalowda commented on Ask HN: Has the tech recession affected you?    · Posted by u/throwaway494749
sph · 2 years ago
Sent a few hundred CVs last spring/summer, got maybe 5 interviews, got burnout and disgust at the modern tech hiring practice.

Since then, with the help of a few sporadic clients, government help, and living like a pauper I decided to go all in in becoming an entrepreneur, instead of continuing my 17+ year career as a consultant or someone else's employee. Seems like stuff hasn't improved in the past 9 months.

Not having a stable job is very stressful, but the interview rat race these days is more akin to real life Squid Game than anything I've experienced before. It is dehumanising. I'd rather be penniless, stressed, and working on my product at this point. If you can afford to, do it. Even if you don't, tbh.

Beltalowda · 2 years ago
> got burnout and disgust at the modern tech hiring practice.

In my experience it's even worse outside of tech.

Because I really need a job I've just been applying to everything. Minimum wage: I don't care. In a way I'm actually looking forward to just show up, do my job, and go home, without stress.

But I get almost no response on those. And I actually spent MORE time for cover letters for those than the tech stuff. On tech I get a response (interview or rejection) for about 1 in 4. Outside of tech? About 1 in 30.

I guess "15 years CV as software dev, that guy is too smart for us" or something like that.

I keep reading about "labour shortages" for lots of low-skilled jobs... Hmkay...

Also not eligible for social security because I'm technically homeless (as in: renting "unofficially").

Might be properly homeless soon... No idea what I'll do.

I don't have a right to work in tech or a high salary, and fine, there's a downwards turn. No problem. But that I have no options beyond "burn all your savings and go homeless fuck you" has left me rather ... disappointed.

Anyway, what I'm trying to say is: it's not "tech hiring" that's the problem. It's just "hiring" or "companies" or whatever.

Beltalowda commented on Commercially available chairs in Star Trek   ex-astris-scientia.org/da... · Posted by u/zichy
duskwuff · 2 years ago
The Expanse used a ton of off-the-shelf props; most of them were used cleverly enough that they didn't stand out too badly. My personal favorite was a couple of laptop coolers used as "vents" in a maintenance passage: https://i.redd.it/rn2iac41t8h51.jpg
Beltalowda · 2 years ago
A good Belter never wastes anything.
Beltalowda commented on Ask HN: How's the Job Hunt Going?    · Posted by u/ineedausername
Beltalowda · 2 years ago
I find myself wondering if my email is broken. Which is to say I get very little reply.

Compare this to a year ago when I got a reply to almost every application I sent out.

I'm kind of kicking myself for being so picky; I haven't had a job in a few years and running out of money (I was never that well-off, but coming from a working-class background I don't live an expensive life). I've had a few bad experiences and I wanted to find something I really liked (I actually had a very well paid "Silicon Valley type" job for a company most here will know last year which I quit after 3 months because they gave me fuck all to do and I felt their engineering ethos was horrible – it just didn't feel right accepting a huge salary and not working for it).

Beltalowda commented on A wave of sleep laws for teens?   dylancollins.com/2023/06/... · Posted by u/dylancollins
EscapeFromNY · 2 years ago
Yes please! I got called lazy as a kid since I had trouble getting up at 5:30am daily so I could walk to school. My generation is already fucked, but maybe we can fix things for the next one.

EDIT: and my school district was staggered the wrong direction. High school started earliest, then middle school, then primary school was latest. That's backwards from how it should have been, if anyone in my city had understood how the circadian rhythm changes during adolescence.

Beltalowda · 2 years ago
The conflation between "not a morning person" and "lazy" is completely ridiculous, and seems to prevail mostly in countries with a "protestant work ethic" background.

I've literally been fired from jobs where I was one of the better performers for the singular reason for struggling to be there at 8am every day, and where this didn't matter at all for the position if I started at 8am or 10am (for some positions it obviously does matter). That I often worked longer than many others didn't seem to matter; people take it as a marker and that's that.

5:30am is utterly ridiculous; that's just the middle of the night.

Beltalowda commented on ASCII table and history – Or, why does Ctrl+i insert a Tab in my terminal?   bestasciitable.com... · Posted by u/sandebert
karmakaze · 3 years ago
Unicode kept the ASCII part, so no? The only thing I found weird is the non-printable DEL 127 character being where it is.
Beltalowda · 3 years ago
On punchcards having it as the highest character (with all holes punched) is the only way you can reliably do "delete" or "ignore" outside of having a special dedicated hole for it.
Beltalowda commented on Gimp 2.10.32 on Apple Silicon (2022)   gimp.org/news/2022/12/02/... · Posted by u/wiihack
badsectoracula · 3 years ago
You can run GIMP in either single window or multiple windows mode, there is a setting in the "Windows" menu that switched between the two. The multiple windows mode is the default and IMO works better if you are using a window maanager with a virtual desktop dedicated to it (or graphics apps in general). In my Window Maker-based setup i have a virtual desktop for graphics apps and i have it configured to always place GIMP windows in that virtual desktop. The main thing i'd like is being able to preserve the tear-off menus across launches (GIMP remembers the various window locations but always closes any persistent menu windows).
Beltalowda · 3 years ago
You can still use multiple windows, but it hasn't been the default for a long time.
Beltalowda commented on More Than 150 Organizations Call to Close Guantánamo on 21st Anniversary   theintercept.com/2023/01/... · Posted by u/sfusato
AlecSchueler · 3 years ago
The amount of people affected doesn't change the abstract nature of the thing, which is what the comparison tests on.
Beltalowda · 3 years ago
Murdering one person is murder; murdering a substantial number of people in a region is genocide. Scale can definitely change the fundamental nature of something.

u/Beltalowda

KarmaCake day5211January 21, 2022View Original