HNHacker News
TopNewBestAskShowJobs

dmitri1981

2,316 karma · joined March 10, 2009

Working on Skmtc, a declarative code generation framework for TypeScript

https://github.com/skmtc/skmtc https://skm.tc

submissionscomments
dmitri1981··on Cursing the government does not fix potholes. Spray-painting them does
In New Orleans, pot holes get dressed up and become part of the community https://neworleansmom.com/perspectives-in-parenting/confessi...
dmitri1981··on Ireland shuts last coal plant, becomes 15th coal-free country in Europe (2025)
It's not a free market in Europe since there is vast amount of planning regulations involved etc. If you want to see free markets in action, look at the electricity prices in Texas, where ironically renewables are also the dominant source. https://www.gridstatus.io/live
dmitri1981··on Ask HN: What Are You Working On? (Nov 2025)
An OpenAPI code generation framework for TypeScript called Skmtc (pronounced like "schematic")

It handles the complexities of parsing OpenAPI and rendering output code, while providing the end user with full control over generator code via string templates.

Imagine something like React but for code generation where each code generator can compose its own output using the outputs of other generators.

https://github.com/skmtc/skmtc - https://skm.tc

dmitri1981··on Ask HN: What are you working on? (September 2025)
A TypeScript code generation framework that lets you create UIs and does not use ASTs

- https://github.com/skmtc/skmtc

- https://skm.tc

dmitri1981··on California exceeds 100% of energy demand with renewables over a record 30 days
If you are interested in renewables generation data, this dashboard shows live data across the world https://app.electricitymaps.com/map
dmitri1981··on Show HN: Tabserve.dev. HTTPS proxy using Web Workers and a Cloudflare Worker
The
dmitri1981··on The Making of Dr. Strangelove (2013) [video]
According to his biopic he was originally slated to play Major Kong as well, but struggled to make the character work. Which is just as well since Slim Pickens is of the great highlights in the film
dmitri1981··on France's senate votes that large parking lots have to be covered by solar panels
How so? Would love to get more info. I would have expected car parks to be a decent place for solar panels. Close to existing infrastructure, easy access, provides shade and no loss of habitat.
dmitri1981··on Don't Pay UK
> I'm not really sure though that energy prices can be controlled by govts.

They cannot set the price, but they can set the market mechanism which produces the prices. The auction mechanism used in UK and the order in which producers with higher CO2 output get switched off first means that electricity price is set by gas powered electricity producers. Govt can and is looking at updating that auction mechanism to decouple electricity prices from gas prices.

https://assets.publishing.service.gov.uk/government/uploads/...

dmitri1981··on The world’s biggest offshore wind farm, Hornsea 2, generates first power
There are better ways to use hydrogen than burning it in boilers. Check out the hydrogen ladder https://mobile.twitter.com/mliebreich/status/142690073731398...

While storing electricity is very hard at grid scale at the moment, another approach to solve the intermittency problem is using interconnectors. By connecting to other grids using uncorrelated energy sources, we can balance energy supply and demand across space rather than across time with storage.

dmitri1981··on Equivalent of 97% of Scotland’s 2020 electricity consumption was from renewables
From what I understand that does not really work. For example, you can't have jet fuel manufacturing based on negative prices, because you need to have high utilisation rate for manufacturing equipment itself. It's not economically viable to have that equipment sitting idle during times of normal electricity prices.
dmitri1981··on What can Seattle learn from Dutch street design?
Depends where you are. London is starting to get some good cycling lanes and some junctions are having traffic rerouted to make it safer for cyclists.

Sadly in many other places cycling only really works for confident riders. Lots of drivers are either unaware of cyclists or downright aggressive. I would have near misses on a weekly basis. Things are getting better but very slowly.

dmitri1981··on Why can’t you buy a good webcam?
Given my limited understanding of photography that is not really possible with small sensor sizes. Phones can achieve that using computational photography, but I don't think it's possible using optics on webcams.
dmitri1981··on Why can’t you buy a good webcam?
The trick to great picture quality is to use good lighting and drop the ISO on the video as low as possible. I've been using Reincubate Camo for my iPhone along with Key Light Air Lights. The quality is better than any webcam. Most webcams crank up ISO so they can work in the dark and that is what ruins picture quality.
dmitri1981··on The $2B Mall Rats
GS was the intermediary. AllianceBernstein and Putnam Investments were the counterparty. GS makes money by facilitating the transaction whereas the counterparty holds the risk
dmitri1981··on The $2B Mall Rats
They used credit default swaps rather than securities lending. It's an instrument that is commonly used for hedging, aka protect your position from downside risk. It can be used for taking a short position as well, though it is not short selling as such since you are not borrowing to sell, just buying a type of insurance
dmitri1981··on 1% of people cause half of global aviation emissions
Aviation fuel is typically not taxed since the alternative would involve planes loading up in cheaper countries and carrying it around. The end result would defeat the purpose of emissions reductions.
dmitri1981··on Hacker News Meetups
Sorry you had a bad time. However, your description of the event does not sound like something I have ever organised.
dmitri1981··on Hacker News Meetups
Folks are welcome to start a fresh HN London meetup much like we did when we started. If you are new to organising events starting with something small and manageable would be much easier than trying to pick up an event with 400 attendees.
dmitri1981··on Hacker News Meetups
We stopped running it. It required a fair amount of work to put on and we no longer had the time for it.
dmitri1981··on Creating Effective Job Adverts
Meh. There are more jobs than developers, so developers have lots more alternatives. As I developer I would not apply for a job that did not advertise a rate unless I knew in advance it would meet my expectations.

I feel withholding salary info is a premature optimisation of salary negotiation. You are not going to attract top talent and then snag them with a lowball offer.

dmitri1981··on Ask HN: Why does the Eastern Bloc produce so many good programmers?
Having studied in Russia, Germany and UK, I would say that:

- Technical education was emphasized over humanities. It was much more important to produce good engineers as required by industry and military rather than "thinkers".

- Maths was traditionally well taught across the board, whereas in Europe and especially UK it is seen as tough and unnecessary.

- Doing well in school is seen as a point of pride. Thus many work hard to do well in school to get the respect of their peers.

dmitri1981··on React is the new jQuery
I wanted to try and address the points Brad makes and as well as clear up some of the misunderstandings in his post. Take a look https://medium.com/@dmitrigrabov/react-is-not-the-new-jquery...
dmitri1981··on All Work and No Play: Why Kids Are More Anxious, Depressed (2011)
UK has no helmets and I very rarely see kids cycling to school, especially by themselves. Cycling in London is a very recent development and the infrastructure only recently started to appear. Even then it is designed around cycle superhighways for commuters rather than local journeys which can involve crossing many busy roads.
dmitri1981··on Why the U.S. Spends So Much More Than Other Nations on Health Care
Single payer systems are popular and work well, but you are right that it is not the only solution. Countries like Germany use heavy regulation to manage the healthcare system. However, I don't think Americans would accept this level of "government interference".
dmitri1981··on Why the U.S. Spends So Much More Than Other Nations on Health Care
It's simple economics: third party payment. Patients want as much care as possible, doctors are incentivised to provide it and insurance companies pay for it. Until that changes healthcare costs will not decrease
dmitri1981··on “Variables” in CSS are harmful (2008)
It’s hard to take an article with this kind of background seriously
dmitri1981··on Ruby vs. JavaScript as a first programming language
Totally agree regarding semantics and the problem of too much syntactic sugar.

Where JS wins for me, is that you can quickly create something that you can click on and have it do something. From a teaching perspective that kind of interaction and quick feedback is very empowering for students. This experience will quickly inspire students to think "what else can I make this thing do". I appreciate this is not the traditional CS approach, but making things fun for students is key to getting them started coding.

dmitri1981··on Ruby vs. JavaScript as a first programming language
Class is a bit of a shambles. Yeah, it does make it easier to create constructors. But it also papers over the underlying prototype inheritance structure and can mislead beginners into assuming there is class system in place.
dmitri1981··on Kremlin Cash Behind Yuri Milner’s Twitter and Facebook Investments
We had this discussion on HN in 2010 https://news.ycombinator.com/item?id=3144351 where PG noted that "I have never heard of a case where a startup refused investment from a venture fund because of who their LPs were."
Page 1 of 7Next →