HNHacker News
TopNewBestAskShowJobs

tudorconstantin

1,124 karma · joined March 26, 2012

Jack of all backends, master of NodeJS and Perl.

tudorconstantin at gmail

submissionscomments
tudorconstantin··on No one knows how much the government can borrow
> but it will lead to a steady decline in the value of the dollar vs other currencies.

That would be true if the other currencies weren't printed like crazy also. Have a look at past year's increase in M2 circulating supply of the EUR or GBP. They're very similar to the one of the USD (percentage wise). That might be the reason why the dollar didn't collapse compared to them. The dollar (and the other currencies) collapsed though, when compared to assets that didn't increased in quantity at the same pace: real estate, stocks, gold and bitcoin. None of which is part of the CPI, hence the low reported inflation in the developed world economies.

tudorconstantin··on Show HN: Amplication – Instantly Generate Node.js Apps with GraphQL and REST API
Not sure "competitor" is the right word, but I started to work on my own boilerplate/project-starter some time ago[0]. I choose to use NestJS, knex and NextJS. My objective is to achieve the best tradeoffs between autogenerated-boring-stuff and easily-customize-everything (yes, including complex DB queries, especially those actually).

Also, there's BlitzJS which seems to have similar objectives.

There's definitely no incumbent in the Js/ts/nodejs world similar to the django/laravel/rails/mojolicious frameworks in the other, more mature, dynamic languages.

https://github.com/tudorconstantin/knests

tudorconstantin··on Ask HN: Are you preparing for a market crash? How?
There's a guy, PlanB (with the bitcoin B) who created a formula for estimtaing Bitcoin's price based on its emission, by correlating it with the price of other assets (mostly gold), called stock to flow. Here's a chart for it: https://www.lookintobitcoin.com/charts/stock-to-flow-model/

As a TL;DR, the price should stabilize around $100k after the current bullrun.

tudorconstantin··on Transparency Report
And also Atlassian (jira, bitbucket, etc)
tudorconstantin··on Permanently remote workers seen doubling in 2021 due to pandemic productivity
Summary: "The survey said information technology decision-makers expect permanent remote work to double to 34.4% of their companies’ workforces in 2021, compared with 16.4% before the coronavirus outbreak, a result of positive productivity trends.

About 72% of their companies’ total global workforce is currently working remotely, according to the CIOs."

Honestly I would expect it to remain at more than 34%. Who would want to go back to daily commutes of >1h?

If we're able to do our jobs remotely it would be in our interests as human beings to resist losing 5-10 hours a week commuting.

tudorconstantin··on First Bitcoin “mixer” penalized for violating anti-money laundering laws
That sounds to me as if going after the maker of a knife that was used in a murder if they can't find the killer.
tudorconstantin··on Winner of French Scrabble Title Does Not Speak French (2015)
Nit-pick: it's already more than 2 decades since Kasparov lost to deep blue (1997). Time flies.
tudorconstantin··on I thought I would have accomplished a lot more today and also before I was 35
Now, this will probably get me downvoted to oblivion, but the article sounds like the rants of a loser. We all have distractions. We all enjoy wasting time. Hell, I'm writing this after 5-6 beers and my tomorrow will most probably be wasted by hangover.

But man, you definitely got to man up get your shit figured out. You're 42, you definitely didn't hit the lottery until now and the chances don't look good in the future either. You seem pragmatic enough to realize there's got to be another way out there to be successful. Get out, find it, and follow it.

tudorconstantin··on Tell HN: Check medium's localstorage if you use adblock
It's probably because of the good SEO the articles written there get: I published a project on GitHub, then an article on my personal blog about it (with a back link from the repo itself), then an intro article on medium with a link to repo and a "read more" toward my blog post. Then I submitted the GH repo and/or my blog post to some reddit threads.

Now, guess what: when googling for _the knests stack_ in the first few weeks, the top result was the preview article from medium. Even now, it's the second result, showing up above reddit or my blog post.

tudorconstantin··on Theheadless.dev – open source Puppeteer and Playwright knowledge base
I mentioned typescript and react (meaning jsx actually) because browsers run javascript.

So the browser will have to be able to make a mapping from javascript -> jsx -> typescript in order to report correctly what was covered during the execution.

tudorconstantin··on Theheadless.dev – open source Puppeteer and Playwright knowledge base
I thought it's about a knowledge base about e2e testing using playwright/puppeteer. The problem I wrote about is one that's solvable using those tools (I think and hope). It's a problem I'm trying to solve in my limited free time and I was hoping someone already have solved it, but if that's not the case and someone also finds it interesting, how should've I let people know there already is an open source playground for this, without posting the project.
tudorconstantin··on Theheadless.dev – open source Puppeteer and Playwright knowledge base
I don't think that's possible in the most generic way. Think about when would you say the Facebook page (post login) is fully loaded. You've got there the infinite scroll, the chat box, the notifications. All of those are never fully loaded.
tudorconstantin··on Theheadless.dev – open source Puppeteer and Playwright knowledge base
Quick question: if you were to start a new project today, what would be your choice between puppeteer and playwright?

Haven't worked extensively with them, but it seems to me playwright is the no-brainer now because of the guys behind it (the creators of puppeteer), their experience and lessons learned with puppeteer and also the support for Firefox and webkit.

tudorconstantin··on Theheadless.dev – open source Puppeteer and Playwright knowledge base
For puppetteer, but playwright also works with Firefox and webkit
tudorconstantin··on The Future of Online Identity Is Decentralized
"I'd feel much more comfortable handing identity to a firm whose entire business model revolves around securing my information and protecting my privacy rather than a big-tech." - in order for that company to be rock solid, trusted by most of the world and with a proven track record of top notch security, would mean that the said company is a big-tech.

I would call okta, auth0 and iWelcome big-tech already, even if they're not FAANG-level big tech yet.

tudorconstantin··on Launch HN: Yotta Savings (YC S20) – Behavioral psychology to help people save
I totally understand you! I'm a software engineer since 2006 and even though I followed a classical career (in Eastern Europe), we (me, my wife and our daughter) were struggling financially for the first approx 9 years.

Buying a lottery ticket from time to te, when the prize was big, made us live in a fantasy world between the time we bought it and when te results were announced. I think this thing - imagining a life without financial worries, lavish vacations and expensive toys, motivated me to learn more, try to launch a few startups and sacrifice my free time in order to try and achieve greatness.

Were those money well spent? Definitely yes (even though I haven't actually won the lottery)

tudorconstantin··on Flutter for Linux
I am not able to screenshare in slack from browser on Linux, only from the electron app.
tudorconstantin··on Hundreds arrested as crime chat network cracked
As a curiosity: what made you stop?
tudorconstantin··on Show HN: A Lichess Team for HNers
The second HN chess tournament: https://lichess.org/tournament/Wg6CHtmp

I'm pretty pumped to the idea of losing some games :)

tudorconstantin··on One Hundred Ideas for Computing
I've re-setup my baremetal server I rent at hetzner in December to have a modern ops infrastructure. I started with k8s because it seemed pretty straight forward to have it up using rancher. After about a week of not being able to configure a simple hello world nginx docker image I gave up and tried using docker swarm.

I couldn't be happier with the decision: in less than a month of working on it during evenings and weekends I was able to set up a reverse proxy with traefik, a self hosted gitlab instance, a docker private registry and a full CI/CD pipeline.

With docker swarm, if you can 'docker-compose up ...' an app, you can also 'docker swarm deploy' it, with almost no modifications needed. Also if your needs grow and you really need k8s, you can 'kompose up' (or something similar, since I haven't got there yet) and have it deployed to a k8s cluster. But I imagine by the time my apps will need to run on k8s, they'll make enough money I will afford a devops team to handle the migration.

Feel free to contact me (info on my profile) if you think I can help you in any way having it set up.

tudorconstantin··on Lawmakers ask US intelligence chief to investigate TikTok
I am thinking rather in the context of google plus for example: they had the money to promote it and the channels to do it and still they had to close it.

Throwing money at a problem doesn't always solve it. Not wanting to sound conspirational, but there's got to be more than huge piles of money behind tiktok.

tudorconstantin··on Lawmakers ask US intelligence chief to investigate TikTok
I find it very intriguing and fascinating the market penetration speed tiktok had:

- developed in 200 days

- launched in September 2016 in China

- launched in September 2017 internationally

- in November 2017 it's parent company spends up to $1 billion to acquire musical.ly.

- it presently has over 500 million MAU users (I think it has them for over a year now, but I'm on mobile and can't find a source for this claim)

How do you think it's possible for an app appearing seemingly out of the blue to move so fast in such a crowded and mature market like social media?

https://en.m.wikipedia.org/wiki/TikTok

tudorconstantin··on V8 adds support for top-level await
Since an async function is simply a function that returns a promise is there actually any difference between using async/await and using promises explicitly?
tudorconstantin··on Ask HN: What are some fun projects to try out on a spare Linux file server?
Revolut has "virtual cards" which are invalid after the first charge.
tudorconstantin··on US military is a bigger polluter than as many as 140 countries
We should go and force them to reduce it /s
tudorconstantin··on Learning Chess at 40 (2016)
Chess excellence depends very much on experience: the more you play and train, the better you get. See, people say it's the mind game, but it only depends on the intelect as long both players are similarly experienced.

Also, a game of chess is long and can get boring: in the beginning of a game people usually play "by the book", trying to adhere to some basic principles (control the center of the table, pull out your pieces into play, protect your king by castling, etc).

In the middle of the game, as long as you managed to avoid losing any piece so far, is where the actual play takes place, when you try to gain material advantage and this is where I spend most of my thinking fuel.

The end of the game, again, depends very much on training and experience, because there are known strategies how one should play with pawn and king against king for example. Of course, some of the strategies are obvious, like promoting your pawn to a queen and mate your opponent, but others are not, like gaining the opposition to be able to promote/block the pawn.

I don't have too much patience playing whole games myself, but I like training my mind by making chess puzzles/tactics daily, which I'd recommend you try yourself: your offered a position where you know that after a few moves you have to end up in advantage.

tudorconstantin··on 0x Launch Kit – Launch your own cryptocurrency exchange or marketplace
The speed of execution limitation is not because of 0x, but because of how fast a tx can be registered on the block chain. It can't compete (they say for now) at settlement speed with a high performance centralized exchange.

But you have to trust those centralized exchanges with your funds. While with 0x you don't have to. One could say centralized exchanges can't compete on trustlesness with decentralized ones.

tudorconstantin··on After 15 Years, the Pirate Bay Still Can’t Be Killed
I personally am not a big music listener, but when I want music, I start YouTube and do it there, for free, with uBlok installed, which is the same thing. And that seems to work for artists and YouTube too.

When I was a teenager (20 years ago), this wasn't possible and we torrented whole albums like hell. Some people got in jail back then, or had to pay huge fines for "unrealized profits", which was absurd.

tudorconstantin··on After 15 Years, the Pirate Bay Still Can’t Be Killed
Maybe the society has to finally adapt & embrace to the way things are going in the last 20 years: music stars to earn their money in the concerts they sold out due to "piracy" and not from selling CDs, movie stars from royalties paid by subscribers of Netflix and HBO and other such services, or even monetize their popularity directly from endorsing products.

Software developers seem to be the first to adapt: you can't pirate a SaaS or a cloud. One can try and copy it, but will be always behind the first moved and the original creator, because they always seem to have good ideas.

Equating IP with real estate is bad for the society: why would someone keep producing and keep performing if they made a hit with a song, or a movie, or a game?

tudorconstantin··on 500 days of Duolingo: What you can and can’t learn from a language app
My now 12.5 years old daughter started to learn English on Duolingo when she was around 9. She didn't complete the full course, but has around 100-150 days of lessons. It definitely helped her starting to understand the language.

She loves Harry Potter so much that after reading the whole series in Romanian, she started to read the first volume in English. Didn't finish that either, but managed to read about 100 pages of it and she said that after 30-40 pages, it became substantially easier to understand.

Now she's among top 3 students, if not the first, in her class at English, outpacing colleagues who take 2-3 hours weekly of extra English lessons, without having a single paid English lesson.

Duolingo might not teach you how to speak a language fluently, but it definitely can give you a headstart in learning one.

She's not able to speak English fluently yet, but she's able to watch TV series without subtitles and she's able to actually communicate with other English speaking people when visiting other countries.

← PreviousPage 2 of 11Next →