Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mpawelski
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
mpawelski
4y ago
there is --no-unchecked-indexed-access option for it. Which is not on by default or in --stric mode because indeed in practise it's painfull https://devblogs.microsoft.com/typescript/announcing-typescr...
62.
▲
CSS Grid, from Its Creators (2017)
(alistapart.com)
1 points
by
mpawelski
4y ago
|
0 comments
63.
▲
by
mpawelski
4y ago
> The problem with automapper is that it throws the compiler out the window and invites all the bugs that would normally not be there. I've seen projects when Automapper was the main reason for the cold startup of an app, which caus
64.
▲
by
mpawelski
4y ago
And what's the advantages over Mapster? (haven't used it yet, but I see it's mentioned often as a "better Automapper" alternative)
65.
▲
by
mpawelski
4y ago
But it's clearly the feature that people want and expect to be there. This is the most upvoted issue on CSS WG Github[0] and the StackOverflow question how to do it in CSS has 3 pages of answers (spoiler-alert: there is no nice way to
66.
▲
by
mpawelski
4y ago
I've also read it's non existent (at least violent bullying) in Thailand. But I didn't look for proper research on this.
67.
▲
by
mpawelski
4y ago
You are right. The algorithm you described is very similar to this XOR one. However, I did some benchmarks[0] and non-XOR version was 40% slower to XOR version when compiled with target-cpu=native. Unfortunately, without `target-cpu=native`
68.
▲
by
mpawelski
4y ago
> It has a significantly higher living standard than Moldova, one of the worst nations in Europe, which its citizens do not want to join. citation needed?
69.
▲
by
mpawelski
4y ago
It's not as good as on Google Maps (where google can show you most popular places based on reviews) but it's good enough for me. For example I didn't had "macdonalds" problem described by the parent comment. Plus it
70.
▲
by
mpawelski
4y ago
It recently got 1.0 version. But before that it was already really popular, there are tons of YouTube videos with people describing how they use it, houdreds of opensource plugins, people even sell paid courses about it. It's amazing t
71.
▲
by
mpawelski
4y ago
Have you tried Organic Maps?
72.
▲
by
mpawelski
4y ago
I'm quite impressed by the scroll indicator, though I have no idea how it works. Also I have a feeling that whatever technique it's using it won't be that flexible to position the indicator anywhere on site.
73.
▲
by
mpawelski
4y ago
Mapy.cz (web and app) has option to show satelite images. It's commercial app but it used OSM data. https://en.mapy.cz/
74.
▲
by
mpawelski
4y ago
Converting all files from .txt extension to .md extension would be enough to start. This I what I did. The only annoying thing was that in my text files I often used indentation to group stuff and in markdown indented text is treated as cod
75.
▲
by
mpawelski
4y ago
Yeah, it took me some time to get it that the concept of "patch" is actually quite fundamental in many git commands (rebase, cherry pick, merge (it's basically applying patches from common parent and other branch)). I wasn&#x
76.
▲
by
mpawelski
4y ago
This is awesome. Especially the fact that it's built-in and easy to turn on. Seams like quite a complex solution though. I guess some big company (Microsoft?) implemented it internally for their own use and later tried to move it to up
77.
▲
by
mpawelski
4y ago
Agree, this is something that I wish was changed and it's something that C# got right. I think I tried to look up why this syntax was chosen and found some old github issues when people were actually suggesting the latter syntax (patte
78.
▲
by
mpawelski
5y ago
Russia (or Putin to be precise) says that Ukraine is a fake nation. The goal was to unify Ukraine and Belarus as one country. The fact that Russia's demands are somewhat "smaller" now is just because their war didn't go
79.
▲
by
mpawelski
5y ago
I think it means exactly that. If JS will get type hints that are not checked at runtime then we will never get runtime validation for these type hints since it will break a lot of existing code that has would have "wrong" type hi
80.
▲
by
mpawelski
5y ago
The wording might seems complex (I still had to think about what is "upstream" and "merge-base" since I'm not using this terms very often but the main idea the author proposed is quite simple and brilliant if you kn
81.
▲
by
mpawelski
5y ago
It's hard for me to tell what git-ps is actually doing behind the scene and how it works with GitHub, GitLab, Bitbuket and others. Looks like in some cases the commands are basically shortcuts to normal git commands (which is not bad t
82.
▲
by
mpawelski
6y ago
Is it still that bad if you set submodule.recurse[0] config? [0] https://git-scm.com/docs/git-config#Documentation/git-config...
83.
▲
by
mpawelski
6y ago
Well, typescript doesn't solve this because "passing callback function that doesn't use all provided parameters" is so common in JS world that it would cause much hurdle when migrating JS project or when writing idiomati
84.
▲
by
mpawelski
6y ago
Damn, there seems to be so many Rust cmd tools recently that it's hard to keep up with what's new ;) Thanks, I was using https://github.com/badmotorfinger/z for powershell before. I will check it out.
85.
▲
by
mpawelski
6y ago
I think RxJs evolved from "Reactive Extensions for .NET" which was quite popular even 10 years ago. So the core idea is probably well understood by many .NET devs.
86.
▲
by
mpawelski
6y ago
what, what? any source where Microsoft said it? That would be great though. Visual Studio then would finally get proper multi cursor support.
87.
▲
by
mpawelski
6y ago
There are two great app that use OSM data that I see a lot of people use. * Maps.me - I used it a lot when travelling last year in Southeast Asia. And I noticed many other travellers were using it too. It was basically expected that people
88.
▲
by
mpawelski
6y ago
A lot of people seems to suggest that squashing PR's branches is better because you don't get commits that are broken and it doesn't work good with "git bisect". But IMO it's not a big deal, you just do "g
89.
▲
by
mpawelski
6y ago
You mean Gihub? I'm not familiar with squashed commit there but it seems that it requires that original branch is not removed from remote? Because if there is no reference to this branch then it will be garbage collected after some tim
90.
▲
by
mpawelski
6y ago
+1 this. It's not just better name for doing "git checkout -- path". "git checkout" has this stupid behavior of restoring files to worktree and index. "git restore" by default doesn't touch index (I w
More ›