5,211 karma · joined Jan 21, 2022 (4y ago) · 1,591 submissions
comment 2y ago · link · parent
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 stdoutcomment 2y ago · link · parent
comment 2y ago · link · parent
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.
comment 3y ago · link · parent
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).
comment 3y ago · link · parent
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.
comment 3y ago · link · parent
Ehh...
"I want to share another idea in this post to keep it open-source [..] Let me know what you guys think" is not a "policy change on a whim". It's an idea. It was not "walked back" on, because it was ... just an idea.
Your comment is a horrible misrepresentation of what's actually in the post.
comment 3y ago · link · parent
I don't know anything about terraform, but I've written some applications where I intentionally don't automatically change the output (which in my case is usually bold text, I don't use colours much) because I expect no one will ever use the output for scripting . That's not "poor programming", it's a choice because there is no perfect solution that fits 100% of the cases.
I suspect that may probably be the best choice for terraform as well, but I never used it.
comment 3y ago · link · parent
You don't really need to know anything about shells to write a CLI app, other than basic shell conventions (- for flags, things like that). You don't even need to know all that much about terminals, just some bare basics if you want to do colours or whatnot. All of this can be summarized in a page or two.
If you want to write a ncurses-like library: that's a different story. But then it's no longer a CLI app.
comment 3y ago · link · parent
CLI apps are probably the easiest applications that accept user input to make. Compared to GUI or web apps the amount of knowledge you need is almost trivial.
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
> Of course, the whole premise of dating sites is wrong. The best way to make connections is in person, by going places regularly and seeing the same people frequently... building some non-romantic connections first which may grow into something more. Dating sites assume that if "I think I like you" and "you think you like me" then we are a match!. This sets up big expectations too soon...
In principle, I guess, but my experience is that many social spaces of all types are overwhelmingly male. There are probably some commentaries to be made about that, but I'm not sure what.
And while it can set up certain expectations, I don't think that needs to be a bad thing, necessarily.
comment 3y ago · link · parent
The second seems like a more difficult problem to solve on your own; it's really up to the city to clearly demarcate where you're allowed to park and where you're not. 10cm on 10 metres is kind of ridiculous. This is a political thing.
I don't really see how this data can meaningfully help, other than maybe some sort of "lots of people have been fined in this street, so be aware to check where you're allowed to park"-type of warning.
comment 3y ago · link · parent
I don't think Go has to increase more friction in the dev workflow, but it probably does require a little bit (one-time) more effort to get it right.
comment 3y ago · link · parent
comment 3y ago · link · parent
The people in charge (in politics or business) are in charge due to the current system, so they have very little incentive to change it and have a lot of incentive to keep it as it is. Why doesn't Labour push for a fairer electoral system even though the current system is generally biased towards the Tories (and has for many decades)? Because when they are in power they are in power due to the current system.
This also works through to the middle class: if you're having a good life then you're having that due to the current system. Why change it? It's not a coincidence that people who are least established (the underclass, students, oppressed groups) tend to be the ones advocating for change, but they're also the worst positioned to actually enact such change.
So change happens through drastic events such revolutions, which brings their own risks and often don't change things for the better. You'd expect that people are familiar enough with history to pre-empt this, but it seems not. "Ah, I'm sure it'll work out in the end" seems to be the prevailing attitude. Maybe, or ... maybe not?
comment 3y ago · link · parent
Consumers say government should do something or that businesses should change their ways. Businesses say what they're doing is legal and merely catering to consumer demand. Government says businesses should "self-regulate" or consumers should choose different.
You see this pretty much everywhere, from climate change to those ridiculous SUVs that are a danger to everyone to basic animal welfare in food production, etc.
comment 3y ago · link · parent
40k people at $60k a year is $2.4 billion/year, which is a tiny fraction of the annual $4.8 trillion federal budget. You can structure parts of this in different ways outside of a blanket cheque, such as ways to incentivize starting businesses, credits for free education, or whatnot. It's still a lot of money, but the benefits are probably worth it, IMO. If $24 billion/year in student loan forgiveness is possible then I don't see why this isn't.
Politically it's a non-starter so I don't expect anything like this will happen. The GOP seems more concerned with simplistic "culture war" chest-beating and the Dems don't seem overly concerned with the plight of the working class and have their own style of simplistic culture war chest-beating (albeit less egregious).