Better HN
topnewbestaskshowjobs
Log inSign up

Seb-C

1,107 karma · joined Mar 22, 2019 (7y ago) · 450 submissions

Submissions

comment 5y ago · link · parent

I run what I consider to be "good high-end gear" and am surprised that I cannot even tell the difference between 128kbps and 320 kbps, let alone lossless...

comment 5y ago · link · parent

If becoming billionaire and being elected president of the USA is "not accomplishing anything", then I'll start hoping I won't accomplish anything in my life.

comment 5y ago · link · parent

Agree, this knowledge is unnecessary.

The first thing I did was use curl to check if it's a client or server problem.

Then I looked at the code and immediately noticed the unnecessary flush call, the unnecessary loading of the whole file in memory and the unnecessary fs.stats.

comment 5y ago · link · parent

I have friends who got married with a steampunk-cosplay ceremony/party, so a marriage can definitely be HackerNews-compatible :)

comment 5y ago · link · parent

> the systems and conventions need to change?

I think that in many (most?) countries nowadays, marriage is already no more than just a legal status that offers those practical points, so I am not sure if anything needs to change.

You don't have to get a ceremony/ring/party, go at the church or whatever your culture/religion associates with the act of getting married.

You can just sign the contract privately, which makes you legally married.

Same for divorce, I believe it only gets complicated when you fight about children, money and assets, otherwise you can both just decide to stop the contract.

comment 5y ago · link · parent

That would definitely be great, and I'm also wondering why we don't actually have this.

That said, given the current trends of our industry, I'm afraid that we will get connected microwaves that leaks private data and publishes to TikTok (or whatever) sooner than this actually useful feature.

comment 5y ago · link · parent

The number of commits does not matter. What matters is the quality of it. My opinion is that each PR should be an independent and working unit.

If you have a too-huge PR that can be subdivided, it almost always means you have multiple units of work (feature/fixes) into one branch/PR.

The reason I agree with the article and use squash is that it allows us to have a different history between master and the local branches. Developers can freely subdivide each feature into how many commits are useful to their mindset and workflow, while the master branch will remain clean.

In my experience, the individual scope of each commit on the master branch is almost always correlated to the scope of one code review, and thus one PR.

comment 5y ago · link · parent

I would ask such changes to be split into multiple independent PRs

comment 5y ago · link · parent

My experience is that status fields often end-up being a bad design.

Status is an information you display, but it's not the actual data. Status fields that contains multiple information and features in a single value creates confusing and complex logic for no good reason.

Booleans are way better to store data, and each one can bear a single different concern.

comment 5y ago · link · parent

If we had invested in space exploration the same amount of resources we are investing in ads, tracking, finance and bitcoin, we would already have tourists in the asteroid belt, the climate/energy issue would be solved, and we would probably enjoy many other incredible health and food-related technologies.

Complaining about the ridiculously small amounts of resources currently invested in space exploration is really short minded.

comment 5y ago · link · parent

I wish there was a standard one-liner pattern to handle errors, that would improve it a bit visually.

Go has a LOT of boilerplate. And that is why I love it. No magic. No implicit behavior. No weird stuff that will bite me if I don't know that something in a completely unrelated file is changing the behavior of my code.

It allows me to write high quality code and care about all the millions of details I should be thinking about.

Yes, 50% of go code is about handling specific cases and errors. And that's a good thing, because unexpected cases and error handling is 50% of the work that a developer should be doing. But often it is just neglected or difficult to spot in other languages (until it bites you).

comment 5y ago · link · parent

I left my last job after being paid doing nothing for more than 6 months.

The management was terrible in so many ways, it would be too long to explain here.

At first it was nice to spend my days on private stuff (I was "working" remotely because Covid), but after a while I was bored and it was hard to continue this way.

I highly suspect that a large amount of the employees were in the same situation, starting with my direct manager.

comment 5y ago · link · parent

I created a fake Facebook account two years ago (no photo, no friends, fake name and random profile informations) just to be able to see the events around me. Ironically I never got banned, while I hear all those stories about legitimate users getting blocked...

comment 5y ago · link · parent

If you want an orm that encourages you to use sql instead of abstracting it, you can look at my library: https://github.com/Seb-C/kiss-orm

comment 5y ago · link · parent

I learned the Japanese word 黄色人種 (yellow race) from a Japanese women when I asked how to appropriately designate "asian people".

(But it's definitely not the most common expression)

comment 5y ago · link · parent

If FLoC ever becomes standard in Chrome, I'm definitely going to search for a way to sabotage their statistics by giving fake or random data points.

comment 5y ago · link · parent

> Either your problem is worth a few hundred dollars a month or it isn't.

That is totally wrong.

Github's plans starts at $0, $4 and $21 dollars per month.

Gitlab's plans start at $0 and $21 per month.

Bitbucket's plans starts at $0, $3 and $6 per month.

So yes, a plan starting at $80 is expensive.

I don't need any more feature than those services, I just want to support the right company and don't want to be one someone else's domain.

I've developed multi-tenant/multi-domain myself on saas applications and it's not a big deal, so I find it surprising that no company provides this. 20 years ago this kind of thing was already possible with saas-hosted applications (PHPBB forums for example...)

And I'm not a company, It's for an open source project.

comment 5y ago · link · parent

I only want to avoid the vendor lock-in that means being in someone else's domain. I don't need any more features than standard github or gitlab actually.

comment 5y ago · link · parent

Thanks. That's the only one I found as well, but that's very expensive.

290.

Ask HN: Fully-managed GitHub alternative on a custom domain?

6 points · by Seb-C · 5y ago · 10 comments

comment 5y ago · link · parent

If you take a train in France, you are almost guaranteed to be late.

And if you buy a ticket in advance, you are basically making a risky bet on whether or not you will have to change your plans because of a strike.

comment 5y ago · link · parent

I found it surprising too that the native library in Go does not follow this standard.

Fortunately, there are alternative packages that does.

comment 5y ago · link · parent

Interesting analogy, but the pessimistic view does not bring any progress. The optimistic view may often be wrong, but when it is actually right, it makes our civilization progress.

Not so long ago, the experts knew and said it was impossible to land and reuse a rocket.

comment 5y ago · link · parent

Elon musk said a few years ago during a conference that he wasn't even allowed to hire non-US-citizens because of this.

comment 5y ago · link · parent

> I'm a sysadmin, not a programmer. So I don't code for business operations. I compile them to make them work.

Sounds like you have an organizational problem, not a programming language problem.

I would expect developers to provide you with an actual application or at least automated way to build it, and you to deploy and handle the given application.

Instead you have developers providing source code and you trying to understand how to make it work.

There are plenty of tools, methods and ways to get a repeatable build process, including docker, CI, bash scripts...

Even a README file can contain a valid and repeatable build process.

Even a process called 'ask to Robert how it works' would provide you with the information you need

It's hard to imagine that this is not scripted or at least documented somewhere.

comment 5y ago · link · parent

I gave up to Firefox about a month ago and switched to Vivaldi. So far I'm not looking back.

I would certainly have preferred to stick with a non-blink browser, but Mozilla won't stop remove features I like and making harmful changes.

How many pointless UX revamps have they done in the last decade? Meanwhile everyone is still waiting for the many unkept promises, including mobile extensions.

comment 5y ago · link · parent

> RSS as a Facebook alternative

You mean that you stopped using facebook as an RSS alternative, right?

comment 5y ago · link · parent

I totally agree with the views of the author. That is basically why I started to build an ORM that does not include a query builder. Best of both worlds.

Now the design was far from easy, and keeping things reasonably simple without abstracting the SQL part was my biggest challenge. And this would not have been possible without the template-string tagging feature of modern JS, so it wouldn't be doable for many other languages.

https://github.com/Seb-C/kiss-orm

comment 5y ago · link · parent

> free and full health coverage included

I don't know about other European countries, but I often heard this argument in France, and it is bullshit.

It's free but overall about 60~70% of your work value/cost for employer is taxed.

It's free, but when you need to see an ophthalmologist (for example), you are either lucky to get an appointment next year, or have to pay 150 Euros for a non-affiliated doctor.

Its free, but so completely broken that we have to pay by ourselves what is called a "mutuelle", which is basically an insurance that covers partially what is not paid by the national health system. And this thing became mandatory a few years ago.

It's free but so inefficient and corrupted that when you subscribe you have to wait 6 months and re-do the procedure 3 times because they lost your files somewhere in the bureaucratic black-hole.

If this is the definition of "free" in Europe, I'd rather get both my money and the real freedom to decide how to use it.

comment 5y ago · link · parent

I was going to say something similar.

I'm convinced that it's possible to build a better search engine than Google by using community-influenced results, rather than try to do magic.

I'd definitely pay for a search engine where we can collectively downvote to hell any SEO spam. That would be the only way to incentivize sites to provide actual quality rather than cheating the algorithms.

1
91011
15