Better HN
topnewbestaskshowjobs
Log inSign up

rtpg

21,281 karma · joined Nov 23, 2012 (14y ago) · 6,748 submissions

real name: Raphael

blog: https://rtpg.co

email: raphael at above domain

Submissions

comment 4y ago · link · parent

I do feel like if we’re going the precommit route we need to go much deeper into things like Bazel. Loads of companies are using CI to get a huge test suite to run with a lot of parralelsim for a reason!

Though for me it’s also like… so many people do unspeakable horrors to their machine setups that I like there being a consistent runner in CI.

But “CI is to run tests” in the world of CD is a bit of a simplification anyways.

comment 4y ago · link · parent

I’m just talking about business logic and data structures. It seems fine to want to not have bugs in principle!

Though to your point when we’re talking about 8-bit microprocessors the amount of complications that could even be placed. I just feel like it’s totally normal to feel lacking when writing/reading certain kinds of code in C.

comment 4y ago · link · parent

I don’t want to go too much into C vs Rust but loads of C code out there, when it comes time to manipulate strings or do something a bit complicated, ends up a hacky mess.

For all the implications you are making about “move fast and break things” in web dev, at least newer tech stacks makes it easier to not completely break your data structures cuz the abstraction ceiling made doing things the right way hard.

Of course experienced C programmers “get it”, design their code in a way to avoid these pitfalls, and can right performant, correct code. I just think that it’s easier with a lot of other tools for stuff that’s just a bit complicated

comment 4y ago · link · parent

“It will never be updated” is a property that is just as true/false on Windows or Mac applications. What do people do? They build self updated into their programs!

And like you said, Google does it. They do it with a single deb you click on.

I feel like package managers on distos are a thing that kinda make people forget that applications can be distributed “normally” outside this chain.

comment 4y ago · link · parent

Am I incorrect in thinking that you can smartly place some resistors to turn your, say, 4 level voltage difference into two inputs with some resistors? It's been a long time since I took electronics but surely that's not a complex problem requiring "complex ADC" right?

Though I could imagine at one point you're just looking at larger buses and having to deal with those consequences

comment 4y ago · link · parent

Yep, several projects I know are leaning into AppImage to get around dealing with installers. The biggest problem with AppImage is that it _is_ just a binary, so things like desktop shortcuts don't come with it. AppImageLauncher does solve this issue (and create a "canonical place" to place your programs, like /Applications/ on mac).

I do agree it's fragmented and frustrating where we've ended up for installers. My main critique is more that the state of linux packaging _isn't_ what thunderbird is doing here.

comment 4y ago · link · parent

If you download a .deb file on Ubuntu, click on it, it will install it and do all the right things.

There is Windows files also distributed as zip files, just as unusable.

comment 4y ago · link · parent

I believe most projects that serve debs from their own download page do not try to package for each distro separately, and instead opt to package up requirements as needed.

I can't comment deeply on deb vs rpm, it is kinda disappointing that we have this split, and I don't know if there's a great way to merge it back.

Mac does have a good distribution story. This also exists on Linux in the form of app images. The one missing piece is that Mac has the Applications convention. AppImageLauncher[0] solves this, but really it would be good for Gnome/KDE to just integrate this concept. That gives the (important!) "have the application show up in the application launcher" option.

I do not believe one could qualify Windows programs as being distributed as a single binary. A single installer, perhaps! But many Windows programs dump files all over your file tree to do things, and then goes to touch stuff in your registry. There's a reason we have "portable executables" for windows as its own download option!

[0]: https://github.com/TheAssassin/AppImageLauncher

comment 4y ago · link · parent

I mean you can put up a `.deb` with a statically linked binary on your download page right? You can also use stuff like App Image right? It's not like nobody has ever put a go binary into a .deb before.

I don't think comparing "state of packages got off of apt" to "state of downloaded installers for Mac/Windows" is an apples to apples comparison.

comment 4y ago · link · parent

Don’t blame Linux as a whole for Thunderbird not packaging a .deb file. (EDIT: or an AppImage file. I get everyone is not on Ubuntu/Debian)

comment 4y ago · link · parent

JS's standard library is smaller than Python's for sure. I... want to say Rust's standard library is as well, but the traits that are present tend to have a looooooot of methods (check out all the methods on Result!).

Python has a lot of things in the standard library, though I think the tendancy has been to stop adding things (case in point: I believe there is very little argument against putting requests into the standard library. I get why they don't but I disagree with the reasoning)

comment 4y ago · link · parent

My understanding is that companies based in Russia now are required to convert their foreign reserves into rubles at a larger rate thanks to a rule change. So from a straightforward perspective you have more companies buying up rubles through... I guess USD -> RUB our EUR -> RUB?

So from a basic perspective there's just more of that going on in one direction, less happening in the other direction, so in the end the value goes up. Though it might be pretty theoretical! If you were given a bunch of rubles today, as a Russian national, how easily would you be able to actually convert those to dollars?

That being said, tight currency controls at borders for a large economy does let you control the value of your currency like this, and the downsides of relatively heavy currency controls feel really theoretical if you are not trying to hide a bunch of money (from an economic perspective at least).

comment 4y ago · link · parent

I don’t really understand the link between your post and the article, but I might have a context free theory:

In the real world annoying people can only annoy so many people at once. On the internet everyone has to read when an annoying person is posting constantly into the group chat. Annoying people simply can take up more oxygen.

Now for the contextful thing: there are loads of communities that aren’t filled with assholes! Check out subreddits for some of your hobbies, maybe a discord/irc channel for something you like, a relatively small community… there are nice places on the web!

comment 4y ago · link · parent

One of my big motivators for just getting off of OS X was having all the bundling into OSes. Just completely unforced errors meaning that every .0 release would break everything.

Y'all know that releasing one change at a time is going to be way easier to debug/fix than 100 at a time yeah?

I get that this is their "thing", but as a person who was buying Apple devices on account of them working, I would greatly appreciate them actually doing things that improve how well things work, instead of prioritizing marketing.

comment 4y ago · link · parent

For a lot of people the alternatives are things like fabric/invoke.

If you don’t care about correctness there a loads of options that work well, and don’t have problems supporting esoteric use cases such as …“let a command generate a folder of data”

comment 4y ago · link · parent

I'm still rocking an Apple Watch series 3. I know a couple people rocking old iPhones, and just doing battery swaps every once in a while.

It's not necessarily the best option but god do they feel like devices that last long (especially compared to the "barely usable on arrival" that is most mid-tier android).

comment 4y ago · link · parent

I have become more and more convinced that recycling is overhyped. Not that we shouldn't do it (except in the documented cases where it's actually not accomplishing anything), but there's a reason it's at the end of Reduce, Reuse, and Recycle.

Hoping we can push more and more towards reduce and reuse.

comment 4y ago · link · parent

I really want a huge tech tree and flowchart of all the things these microbes love to eat and everything like that. Not really to provide an argument for only potatoes, but to perhaps have stronger ideas about the value of certain kinds of food

I want to get beyond the boring "too much of anything is bad". Of course it is! That's what "too much" means!

comment 4y ago · link · parent

The reversion to the mean here just reminds me of stuff I would read on 4chan back in the day as a high school student.

Many of my friends in those environments grew up, figured out how to navigate society a bit better, and stopped saying this kind of stuff. But these threads are a reminder that loads of people didn’t.

comment 4y ago · link · parent

It does feel like more "hosted" environments are trying to do more fancy stuff inside the network, so have more failure cases. Or perhaps services that do a lot of things, even if you end up just using simple server components.

I still have a fun memory of half of IBM Cloud's servers falling over, meaning that our production app was luckily still up but our staging server fell over. I could get to their website, but their login stuff was all messed up. I believe that one was also a "routing stuff got messed up" issue....

comment 4y ago · link · parent

What is your setup to where you are isolated from "other person making a mistake"? Even if you're a box in a colocated datacenter you're still able to get knocked off the net from some maintenance on the surrounding pipes. Hell, hosting your own box doesn't cause Comcast DNS issues to not knock off a bunch of people either.

I do think there is some holistic overview of hosting stuff on the internet, where you could label each extra actor that can break things, mitigation strategies, and costs of such. Someone better than me would be able to place relative risk (and I think in that model laying out various provider uptimes/issues would be great!) and offer a smart way of dealing with the buy vs. build question on this.

comment 4y ago · link · parent

As an OSS maintainer, the way to show this is to show up with a full reproduction. "Run exactly this and it crashes".

Can't reproduce it? Well... you can of course still report it but "I'm not an idiot" is a pretty weak signal. Everyone gets lost in the weeds, and debugging a problem only for it to be an issue in some unstated part of the project is very exhausting.

comment 4y ago · link · parent

I think the idea is that money reaches the company, the company then increments how much time you have left on the account, then deletes records linking payment to the account

Like you show up and give me $5, tell me it’s for account XYZ, I go into my admin console and increment the remaining usage time, but don’t write that you were the one giving me $5

There’s a window of time where the link exists of course! But you can get rid of it.

(I Hope that they are not storing things like an account start date or too many payment records… it could easily be deanonymized through time stamp correlation and the banks/stripe/PayPal have the data)

comment 4y ago · link · parent

The counter to this is that many people aren't motivated by money, but need to actually make sure the job offers enough money. "Does the salary range enter into what I need for my life" is the question, not "what job ad has the maximum possible salary". A checkbox, not a parameter that needs to be globally maximal

comment 4y ago · link · parent

I think the GP is saying "Why don't you put your salary band into the job ad", rather than "why didn't you link the job ad itself here".

Which is 100% valid! Beyond being mandatory in more and more jurisdictions, having the salary range be posted has made me more likely to apply. Extremely confidence inspiring when it actually is market rate.

I know recruiters/C suite people think they can jedi mind trick people into taking super low offers that way, but really almost all really good candidates will be able to get jobs elsewhere anyways so you're just wasting a bunch of people's time cuz they're not going to take the offer.

1
767778
225