Better HN
topnewbestaskshowjobs
Log inSign up

vborovikov

60 karma · joined Jul 5, 2012 (14y ago) · 50 submissions

Submissions

comment 1y ago · link · parent

It's called bottom up processing and time slowing down is a side effect of that

https://en.wikipedia.org/wiki/Pattern_recognition_(psycholog...

comment 1y ago · link · parent

Source generators hide too many details from the user.

I prefer to have the generated code to be the part of the code repo. That's why I use code templates instead of source generators. But a properly constructed ID type has a non-trivial amount of code: https://github.com/vborovikov/pwsh/blob/main/Templates/ItemT...

comment 1y ago · link · parent

I recently discovered an open source project which I believe was completely vibe coded. 90k lines of code, 135 commits starting from an empty project.

I cloned the repo and tried to run the examples. Nothing worked. The problem was many data structures and variables were initialized empty/zero but the code wasn't designed to work with empty data at all.

comment 1y ago · link · parent

also known as Agile™ approach

comment 1y ago · link · parent

But I don't want to configure WordPress. I like to write and debug code. If it's not required for the business, I'm not interested in working there at all.

comment 1y ago · link · parent

You can decompile any modern .NET assembly to C# 1.0 in ILSpy. It can be quite useful when learning the language new syntax.

comment 1y ago · link · parent

Thanks for the extension. By the way it only started working after I switched the X display language to English.

comment 2y ago · link · parent

I wrote my own from scratch including the HTML/XML parsers. If you can't pick a reader the next best option is to write it yourself. There are countless projects on GitHub in any language.

Probably not really usable for anyone except myself but here is the code for my reader: https://github.com/vborovikov/news

comment 2y ago · link · parent

I keep reminding myself when working on my projects

- don't wait until you feel like doing something

and

- half-ass it

comment 2y ago · link · parent

an online store item price watcher - saved me some money while shopping online

a feed reader - I was never satisfied with other feed readers so I've built my own

small utilities I use from time to time

All these apps were in active development for at least a year each and were deployed to my home server where they continue to work to this day. I fix bugs and add new features when I have time. Many of my apps use the libraries I publish publicly. It's always a pleasure to work on my own projects.

comment 2y ago · link · parent

amusingly the older versions are still available on Adobe FTP

ftp://ftp.adobe.com/pub/adobe/reader/

comment 3y ago · link · parent

The workaround was using a collection wrapper inherited from CollectionView class, usually ListCollectionView or CollectionViewSource. So you could create a collection view, bind it to the list control's ItemsSource property and that was enough. That's few additional lines of code in a view model.

comment 3y ago · link · parent

What is the author suggesting? To write software using infinite loops changing global state? Makes sense for video games but not for the custom enterprise software where clean code practices are usually applied.

The enterprise code must be easy to change because it deals with the external data sources and devices, integration into human processes, and constantly changing end-user needs. Clean code practices allow that, it's not about CPU performance and memory optimizations at all.

comment 3y ago · link · parent

Malapropism - not the phenomenon itself, but its name which I finally remembered from watching the movie Glass Onion.

https://en.wikipedia.org/wiki/Malapropism

comment 4y ago · link · parent

this list is really helpful

https://github.com/quenhus/uBlock-Origin-dev-filter

comment 4y ago · link · parent

I check the copied password for whitespace and usually that's the reason for the password not working

comment 4y ago · link · parent

Usually nothing changes for me as a developer if shareholders get bigger returns on their investments. So I don't really care.

What I care about is the code quality because good code makes my job easier. I inherited the code, not the business.

comment 4y ago · link · parent

But these guys develop their programs in isolation and they deploy to users only the final result or a limited number of beta versions. They almost never evolve their code bases to a second version. They work on video games.

If I work in isolation from the users, don't have external requirements, don't care about future versions of the software - sure, their advice might be useful to me.

comment 4y ago · link · parent

For me, it is a gentle stop to the internal monologue by transferring attention to my own breathing. What is the end goal? Less thoughts, more stable the emotions.

comment 4y ago · link · parent

the original post (in Russian) tries to be entertaining, so these are hyperbole.

comment 4y ago · link · parent

WPF isn't dead, it's done.

comment 5y ago · link · parent

I'm trying to imagine an ideal day at work for myself and then during the interview process I ask questions to understand how far it's going to be from that ideal day working in this company.

I ask about meetings and their durations, performance reviews, bureaucracy levels, project management software, spyware used by the employer, the number of lines of code, and other potential red flags.

comment 5y ago · link · parent

How about

  [@raw organic cane sugar, @honey]{3%tbsp}
Here square brackets indicate that the ingredient will have variations separated by commas.

comment 5y ago · link · parent

The programmer's job is to produce code that works and is ready to change. So these real developers did only a half of the job.

comment 5y ago · link · parent

I've installed Spotify only to discover that podcasts are not available in Russia at all.

comment 5y ago · link · parent

There is a fix for apps that are blurry on the non-primary low-res display. Go to the app properties and on the Compatibility tab click the button 'Change high DPI setting' and check 'Override high DPI scaling behavior' option. Make sure 'Application' is selected in the 'Scaling performed by:' drop-down list.

The blurry apps will render a bit bigger on the non-primary low-res display but everything will be crisp.

comment 5y ago · link · parent

I discovered a fridge in a supermarket with a very pleasant humming tone. I went there often just to hear it and even tried to record the sound with a shitty mp3-player but it was unsuccessful.

But it was just one genre, music by an artist like Stelladrone or similar.

comment 5y ago · link · parent

Yep, when I'm really sleepy and is about to fall asleep I hear cacophony, familiar people's voices saying single words or short phrases. I even can hear my own voice saying something short.

It's very consistent and I use it as a sign that it's time to sleep.

comment 5y ago · link · parent

Also, if you have to deal with the character encoding in this scenario it's great to use something like

https://github.com/AArnott/Nerdbank.Streams/blob/main/src/Ne...

comment 5y ago · link · parent

It's possible but along with an .exe you'll get a couple of .dlls. Exe size will be 60+ Mb.
12