Better HN
topnewbestaskshowjobs
Log inSign up

devnull3

819 karma · joined Aug 2, 2021 (5y ago) · 273 submissions

Submissions

comment 3y ago · link · parent

Some of these companies have "code-of-ethics" document which is mandatory for every employee to read. I had to read & acknowledge as a freshman software engineer at a firm which abused visa-on-arrival for work purposes.

The sheer hypocrisy is mind-blowing!

comment 3y ago · link · parent

I think there is still time to course-correct. It is UK's bad luck that none of the political parties have any meaningful to offer.

Also, UK is stuck in a weird spot where I think lot of people know what needs to be done [1] but those things are so much under the shadow of brexit that it is unpalatable to talk about it in public. No one is willing to call spade a spade.

[1] Rejoining EU, NHS reforms, Immigration reforms, etc

comment 3y ago · link · parent

> Nuclear powers

meh. It is a deterrence at best. Contributes nothing in terms of economic might.

> Soft power

Agree. The royal family which was a major attraction seems to be on wane (imo) after Queen's death

> permanent UN security council member

This is rooted in post-World-War-2 setup. If the council had to be setup fresh today, UK will not figure in top 5 for sure. There are many countries which are more deserving.

> Brexit has been an act of astonishing self-harm

Agree.

> Talking about "trying to survive" is a bit ridiculous.

Agree here too.

The key thing is that UK is declining. Its the trend that is important here.

comment 3y ago · link · parent

I would say do not lose sight of the big picture. The topmost responsibility of parents is: To prepare them for adult-hood.

The following cross-cuts anything the child decides to do in future:

1. Being mentally tough

    * Dealing with success & failures
    
    * Dealing with conflicts
2. Money

    * Importance of money & saving

    * Importance of investing
3. Communication skills

    * Focus on effectiveness of communication

    * Importance & ability to sell
Edit: Its fine that as a parent you might not be well versed with all of the above. I am certainly not. Learn along with them. I make my deficiency in certain things e.g ability to sell as example to my kids to not to become like me.

Edit2:

If you have male child:

   * Teach them how to be respectful towards women
If you have girl child:

   * Teach them to be financially independent
To both:

   * Teach them that beauty is not permanent. It has short shelf-life and it quickly loses its utility after ~35. All that remains in later age is personality.

comment 3y ago · link · parent

Ironically, this reminds me of a quote from a French mathematician, philosopher:

“All of humanity's problems stem from man's inability to sit quietly in a room alone.” -- Blaise Pascal

comment 3y ago · link · parent

Anecdotal experience: The people in my circle who are not in tech industry are having schadenfreude when it comes to tech layoffs. The sentiment is "look-at-these-high-earning-hotshots" ... who is laughing now? Extending to wider people (like journalists, commentators, etc) this is one of factor behind newsworthiness.

> have tech layoffs always been happening during financial 'bad times'?

Yes. Although in this case, a lot of companies over-hired in last 2-3 years and hence I feel current round of layoffs are just the beginning. There will be more.

> I remember the dotcom bust

I think compared to dotcom era, tech is much more tightly coupled in our daily lives. Whatever can be digitized will be digitized. Whatever can be automated will be automated. So tech is here to stay and hence I would expect a revival in late 2024-early 2025.

comment 3y ago · link · parent

For folks who do did not get the reference, here is THAT runout:

https://www.youtube.com/watch?v=XxiyKWBPshg

Not that watching this will greatly increase the understanding of the game who do not know cricket.. but still.

(Basically the the guy in greens who was not batting simply did not run ... his is Alan Donald)

comment 3y ago · link · parent

I think 12k is just the start. The overall number will higher.

comment 3y ago · link · parent

How so? I don't know much about Dubai (from emmigration pov) other than the fact that its a low-tax destination.

comment 3y ago · link · parent

As a high-earning & tax paying immigrant in UK, it seems it is much easier to come to UK illegally than by legal means. It is getting harder to get a PR.

Cost of living, rise in taxes and degradation in Govt services (e.g NHS) really has got me thinking whether staying in UK is really worth it.

comment 3y ago · link · parent

https://archive.md/zPOUa

comment 3y ago · link · parent

> is combined with oxygen to form carbon dioxide

Isn't that some mass will be get converted to energy while burning? So the weight of the resultant CO2 will be less than the fuel burnt.

comment 3y ago · link · parent

I have a naive question:

   When we use/burn non-renewable fuels (crude, wood, coal, etc) it will reduce the mass of earth over the period of time. At which point (if at all) it will affect gravitational force between earth & sun as per the formula [1]
By "affect" I mean in a noticeable way.

[1] https://www.google.com/search?q=gravitational+force+formula

comment 3y ago · link · parent

I don't think so. Govt of India has been promoting Sanskrit (without much success) since many decades. There is/was even Sanskrit news. Now-a-days I can see "Weekly Sanskrit Magazine: Vaartavali" from national news Doordarshan [1]

[1] https://www.youtube.com/watch?v=ELmU3GXcuuo

comment 4y ago · link · parent

> Brahmos

Nitpick: It is actually amalgamation of Indian & Russian rivers. Brahmaputra (India) and Moskva (Russia)

comment 4y ago · link · parent

There is a requirement where I need data which existed at timestamp T or version V. So even a WAL needs to be versioned.

comment 4y ago · link · parent

This is a part of a larger system which requires versioning of data. So there is a requirement of reading the data as of timestamp T. The sqlite is supposed to be metadata of that large data. Since the larger data itself is versioned I need metadata to be versioned.

Some of the use-cases are mentioned at: https://news.ycombinator.com/item?id=32629548

comment 4y ago · link · parent

In git, each version of the database will be a full copy. The git has to perform diff i.e. scan the database file. Imagine doing commits & creating snapshots very frequently.

Have a look at https://github.com/sudeep9/mojo/blob/main/design.md#index

comment 4y ago · link · parent

Yes. But you need to have such a filesystem installed at the first place.

Mojo can run on any filesystem which does not support snapshots/versions. This makes it portable not only across different fs but also across OS.

comment 4y ago · link · parent

Noted.

I have changed the license to MIT.

comment 4y ago · link · parent

I have changed the license to MIT. Sorry for the wrong impression.

comment 4y ago · link · parent

(I am the author) Some of the use-cases of mojo I could think of:

1. Rollbacking DDL changes (like create table, adding columns, etc)

2. (My use-case) Multiple readers-single writer. Readers read old versions. Writers do not block readers and vice-versa. Note: this is different than reading+writing in the same version can still happen but with database-level locking.

3. Extension of #2: The older versions read from S3 so that lamda can read.

4. Extension of #3: Readers reading from old immutable snapshots makes the database as a queue of complex changes with indexes and all the benefits of SQL.

5. Backups and replication.

Oh: I have change the license to MIT

comment 4y ago · link · parent

From what I know of litestream, it should be decoupled from VFS implementation. The versions/snapshots are not known to the database.

comment 4y ago · link · parent

I think you can read the code. I knowingly made the repo public. You do not even have to login to github. I think it should be ok.

comment 4y ago · link · parent

Not sure I understood your question fully, but if there are multiple versions, then read will be over multiple files but writes go to a single active version.

comment 4y ago · link · parent

I am the author. Mojo is both an extension and a VFS implementation.

> AFAIK only one VFS can be active at a time.

You can specify VFS as a part of connect URI.

comment 4y ago · link · parent

> is it some kind of a tease

(I am the author). It's definitely not a tease. The license will change within a week (max 2). This is my first open source project. The purpose is to validate the approach.

This has been a private project for a very long time. It can be argued that I should have figured out the license but the delay from my side reached a tipping point. I just thought "make it public, figure the rest later".

comment 4y ago · link · parent

Only modified pages go into a version data file [1]

[1] https://github.com/sudeep9/mojo/blob/main/design.md

179.

Show HN: Versioning Filesystem for SQLite(github.com ↗)

110 points · by devnull3 · 4y ago · 40 comments

1
567
10