Better HN
topnewbestaskshowjobs
Log inSign up

Seb-C

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

Submissions

241.

Show HN: RODB – generates APIs from static data (CSV, XML, JSON...)(rodb.io ↗)

7 points · by Seb-C · 5y ago · discuss

comment 5y ago · link · parent

Some cultures does not have sarcasm, while having a sense of humor.

And they probably also have forms of humor that you would not understand. Which does not imply that you don't have a sense of humor.

comment 5y ago · link · parent

> While you wait for your appointment, research your condition using any of the free, high quality medical knowledge bases on the web, and/or connect with a community of other internet users with similar afflictions to get advice/perspective.

And now not only your running nose is still there, but you are also very anguished and cannot sleep well, just because it might be the sign that you have a cancer and will die alone in terrible suffering in a few months while ruining your family with debts.

comment 5y ago · link · parent

I was wondering if the old curse afflicting Microsoft that makes every other version of Windows broadly hated was going to happen again.

Given the current amount of criticism, apparently it's happening again.

comment 5y ago · link · parent

In my experience, the main difference is that people not comfortable with English will spend more time on naming things and code reviews. But it tends to get better with experience.

Companies with a poor engineering culture often name things in their own language, which makes an awkward and confusing mix because everything else is in English.

I have noticed interesting regional differences too. In France it is hard to get people to use English, but otherwise the grammar is mostly fine. But in Asia it's easy to get people to use English, but it's not easy to get the grammar right. For example they have a hard time with plurals when naming variables.

Of course it's just my data point and a broad generalization, because there are also very skilled developers everywhere.

comment 5y ago · link · parent

I don't need a source to express my very own and subjective opinion about how mankind will adapt in the future.

Besides, you did not give any for your own affirmations either.

comment 5y ago · link · parent

I'm quite optimistic about this too. Sure, we have to reduce our impact on the climate and be responsible about it, but even in the worst case scenario, I'm confident that we'll just find a way to deal with it. The current apocalyptic scenarios we see on the medias is too extreme and pessimistic.

"If the Earth can't support seven billion people, then all seven billion of us just have to figure out a way! That's how science works!"

comment 5y ago · link · parent

People will just start to crack the games to remove this rule, and use private self-hosted servers imho.

comment 5y ago · link · parent

Generally I prefer to keep both separated, either with two devices or two different OS users. I certainly wouldn't want to keep both on the same profile/device (especially since I have to deal with two profiles for the browser, password manager etc... anyway).

But when I need to make a quick exception to this (private project on my work device or work project on my private device), I'm just using the `.git/config` of the repository. It's far easier and reliable.

comment 5y ago · link · parent

I'm a happy and paid user of bitwarden too. On top of being open source, what made me choose it is that the desktop client downloads my vault locally in an open and secured format. So I can make an automated backup of this file wherever I want.

comment 5y ago · link · parent

The largest I'm aware of is the nvidia driver, version 471.

comment 5y ago · link · parent

As much as I love sqlite, if I understand correctly, this is telling that sqlite doing fread on an already opened file is 35% faster than not-sqlite doing fopen+fread on a single file.

Is this just a blatantly dishonest comparison, or did I miss something?

comment 5y ago · link · parent

http://webcache.googleusercontent.com/search?q=cache:https:/...

comment 5y ago · link · parent

This is interesting, I did not know this syntax.

Alternatively there are still the NATURAL JOIN and USING syntaxes that have been standard like forever.

comment 5y ago · link · parent

My customized PS1 only contains the current path.

Additionally, I have used git-prompt as PROMPT_COMMAND for a long time, and it's certainly the most useful piece of information.

comment 5y ago · link · parent

The country of the Play store is not actually the same than the one this article is about.

I could find a way to change it and have the local store when I moved to Japan, but honestly I don't remember exactly how.

I only remember that it was a major pain in the ass to understand how to do it. I had to navigate between different applications (notably Google pay) and web interfaces to finally be able to change this setting. Worst UX ever.

comment 5y ago · link · parent

In about 15 years of being a developer, I have met a lot of difficult bugs in all categories of this list.

But there is another kind of bug that happened to me only 3 times so far, and that I definitely consider it to be the hardest of all.

It's when the language interpreter/compiler itself is broken.

This is a nightmare to find and understand because when it happens, nothing makes sense. You can take a break, have a whole night of sleep, have a walk or talk to a rubber duck, it still does not make sense because the logic itself is broken.

comment 5y ago · link · parent

I basically agree with this.

But to me it feels more like "I'm using those fancy words I don't care about because I think that's what you want and how I can lure you".

It is totally disrespectful to the intelligence of it's users.

comment 5y ago · link · parent

The same happened to me with many recruiters, but the worst was a recruiter from AWS who wanted to "have a quick chat".

I only had a simple yes/no question about the job that was important enough to me to either refuse or stay considering the position.

The recruiter just uploaded my cv in his database to start the normal long process and never bothered answering to me ever again.

It was a waste of time for everyone involved.

comment 5y ago · link · parent

I hope this gets more contributors, as it could be quite useful.

I wonder how difficult it would be to build some kind of `OpenHistoricalStreetView`. We certainly have enough historical photos to do something interesting.

comment 5y ago · link · parent

Even if the approval process were neglected (which is not the case, as other comments said), it would not make sense to refuse to get it.

The choice we have to make is trade a certainty of mass-deaths (either we continue destroying the economy (and many people die) or we let the virus spread (and many people die too)) for a tiny probability of bad side effects for a minority of people.

I can't see any logic under which it makes sense to refuse the vaccine.

comment 5y ago · link · parent

I have been lucky to visit some of the camps in Auschwitz during a high-school trip about 15 years ago.

It's quite hard to describe how it feels to be in such a place. Since we were guided, I could understand quite a lot of it, but otherwise I think it would be difficult to realize the horrors that went on here.

The most striking is the sheer size of it. Especially when you enter Birkenau, you only see a range of buildings as far as the horizon.

comment 5y ago · link · parent

Which contravenes a fundamental good practice of testing: Each test should run independently and be stateless.

Also, this would not work with most (all?) CI runs (which are inherently stateless), and working around this would be complex and introduce a lot of negative side effects.

comment 5y ago · link · parent

The page's scripts can indeed see and alter the changes you make to the DOM, but cannot access the extension's script or data, so there isn't much risk actually.

Extensions are protected by a mechanism called Xray vision, not the shadow dom.

https://developer.mozilla.org/en-US/docs/Mozilla/Tech/Xray_v...

comment 5y ago · link · parent

Randomizing tests in any way is good and useful in theory, but am I the only one finding that it ends-up being counter-productive in practice?

What I found over time is that is erodes the trust of the team in the test suite. When you work on feature A, the last thing you want is for the tests of unrelated features B and C to randomly fail and prevent merging your work.

So what becomes the norm is re-running the tests until is passes rather than understanding it and fixing it.

Over time, such issues accumulate and it becomes harder and harder to be lucky enough for it to pass.

While the right thing to in theory do would be to always fix it, it's not always possible depending on the organization of the team and tasks, and being bothered by unrelated stuff during a specific task is just annoying.

That said, this package could be useful if pseudo-random (maybe it is, I didn't look so much in details).

comment 5y ago · link · parent

I lost my brother (33 years old) in august last year. It was a great shock because it was completely unexpected.

I could not attend to his funerals because I live on the other side of the world, and borders were closed due to the pandemic. Some people tried to help me to assist with video-conferences. It's not the same, but still helpful.

These are my humble suggestions:

- Continue to live as usual. This is hard but important that you continue to enjoy your life as much as possible. It may be hard during Covid-times, but staying at home to mourn will only make your recovery slower.

- Recognize that it's not wrong to feel right and enjoy yourself at times. You don't have to feel sad 100% of the time. Achieving to feel good and enjoy yourself anyway is a good sign that you're on the path to recovery. However you will probably feel guilty of feeling well at times, and I think it's normal.

- Talk. It's very painful and I cried so many times when talking about it, but allowing yourself to cry is the best thing you can do, it's how your body and mind copes with it. Talking to a psychologist to understand your own feelings and conflicts can also be of a great help.

- Say goodbye to him. It was weird for me to have a remote funeral and not be able to be here. Even being an atheist, going to a religious place and lighting a candle was the moment I basically said goodbye to him and started to accept the reality and move on.

Whatever the religious conflicts or disagreements may be with your family, I think it's important to recognize that the rituals we do when someone dies are for the sake of the livings more than for the deads. It's the time you can together say goodbye to him, and then move on.

In any case, don't stay alone.

comment 5y ago · link · parent

Json schema is very useful and is not the same thing as this.

Json schema validates the data structure, while this seems to be more about writing algorithms in json

comment 5y ago · link · parent

I've been there, done (Something like) that and I'd rather duplicate code than doing this ever again.

comment 5y ago · link · parent

What about an "isValid" field returned by your API?

Your problem is that you need the same logic in two places, and you can solve it by centralizing this logic in one place.

comment 5y ago · link · parent

I think that's great and very interesting.

Unfortunately in many western cultures, criticizing is often synonym to mocking/shaming.

So if you are being honest but with a positive intent, people will still feel attacked because it's what the situation would mean in their own culture.

1
8910
15