Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
omoikane
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
751.
▲
by
omoikane
3y ago
This solution did not override "free" to free the extra struct, so calling free is in fact not optional but probably a bad idea. Need an extra patch: #define free(_) /* no-op */
752.
▲
by
omoikane
3y ago
Uploading a sitemap might help? https://developers.google.com/search/docs/crawling-indexing/... Related, I found that Googlebot only fetches sitemap.xml.gz, while other bots only try to fetch sitemap.xml. Th
753.
▲
by
omoikane
3y ago
I don't think Bluesky was launched with a manifesto, so the user expectations are different. That, and the fact that the lifespans of new social networks appear to be getting shorter and shorter with each new generation. If Bluesky we
754.
▲
by
omoikane
3y ago
My bad, I just saw "R()" in the linked blog and thought the feature made it to C23, but looks like it's not standard. https://en.cppreference.com/w/c/23 On the plus side, I now have a GNU extension
755.
▲
by
omoikane
3y ago
R"(x)" literals are neat not just because whitespaces matter, but also because they are tokenized before macro expansion. Thus you can write a C23 detector like this: #include<stdio.h> #define r(R) R"()"
756.
▲
by
omoikane
3y ago
Discussions on this wiki article from few days ago: https://news.ycombinator.com/item?id=38937705 Actually the article has been posted since 2 years ago, but didn't get much discussion until recently. https:/
757.
▲
by
omoikane
3y ago
I think what the author is arguing for is not so much about writing in pure HTML, but the fact the levels of indirections added by most existing site-generating frameworks restricts them from doing something that would have been possible wi
758.
▲
by
omoikane
3y ago
> turn it completely off Instructions from first search result for "disable google assistant" might work? I found the option buried about 5 menus deep[1], but I left it on since it never triggers for me anyways, probably becau
759.
▲
by
omoikane
3y ago
Got it, looks like all the `at` need to be evaluated first. I think Mariposa should be added to esolangs.org
760.
▲
by
omoikane
3y ago
I am confused by the first example: x = 1 t = now() print(x) at t: x = 2 Why doesn't this print `1` before `2`, and then proceed to print `2` in a loop (i.e. treat `at` like a `goto`)? I think there is some
761.
▲
by
omoikane
3y ago
See also: https://news.ycombinator.com/item?id=34073877 - Mozilla to explore healthy social media alternative (2022)
762.
▲
by
omoikane
3y ago
These are just the bounties. I am sure the total compensation for Google's in-house security team is larger than this amount.
763.
▲
by
omoikane
3y ago
I am not sure anyone has an accurate idea of what's going on, including people running LinkedIn. Everyone just sees their own slice of the world. https://en.wikipedia.org/wiki/Blind_men_and_an_elephant
764.
▲
by
omoikane
3y ago
> wisdom comes with age Actually if you are of a certain age, you might have been in an era where providing extra information to HR was commonplace. I think for my first job I just filled out my bank account info on paper and did not in
765.
▲
by
omoikane
3y ago
Niklaus Wirth was also responsible for changing the title of Dijkstra's paper to "Goto Statement Considered Harmful". https://en.wikipedia.org/wiki/Considered_harmful#cite_ref-6
766.
▲
by
omoikane
3y ago
> they could make a different test The takeaway I got from the article is everyone can make their own test, as opposed to relying on other people's sentiments and memes about X is bad or Y is good. Trying to emulate a non-expert e
767.
▲
by
omoikane
3y ago
4x4 ASCII font was previously discussed here: https://news.ycombinator.com/item?id=33127419
768.
▲
by
omoikane
3y ago
The compound operators[1] are also in Playdate's variant of Lua[2]. The "continue" statement[3] is the one I really wish was available everywhere. [1] https://pluto-lang.org/docs/New%20Operators#compound-
769.
▲
by
omoikane
3y ago
> no details on SDK. The "develop your own content" link on the top page links to: https://www.invisible-computers.com/invisible-calendar/image... I guess being able to display custom images is a plus, but
770.
▲
by
omoikane
3y ago
(all gone) bsky-social-g3nsc-vnqji bsky-social-wdtib-h2pny bsky-social-dx6u7-gpr7d
771.
▲
by
omoikane
3y ago
> It still doesn't seem to have a public feed though There is one at https://firesky.tv/ I think it exists as a proof that there is activity on Bluesky. If you were looking for a feed that highlights trending posts
772.
▲
by
omoikane
3y ago
You can get most of the way by importing the bitmap in Inkscape, trace it (shift+alt+B), simplify paths (ctrl+L, maybe multiple times). Usually some manual edits after that is needed to clean things up. Depending on the image, often I just
773.
▲
by
omoikane
3y ago
The British way of saying this is "being economical with the truth". https://en.wikipedia.org/wiki/Economical_with_the_truth
774.
▲
by
omoikane
3y ago
Probably related to things like these: https://news.ycombinator.com/item?id=33560227 - NSA urges orgs to use memory-safe programming languages
775.
▲
by
omoikane
3y ago
"ed" is easier to type than "ex" but mostly it's a matter of habit. On some systems, /bin/ed is a separate binary but /usr/bin/ex is actually just a symlink to vim, and at that point I migh
776.
▲
by
omoikane
3y ago
> sed and vi both have roots in ed A joke I used to tell people is "don't know how to quit vi? Just type Q to enter Ex mode, then you can exit vi just like how you would exit ed."
777.
▲
by
omoikane
3y ago
ed is still great if I just want to fix a few lines remotely over a terminal. You might say ed is interactive sed :)
778.
▲
by
omoikane
3y ago
> Alignment is a trip Inkscape's alignment functions works for me. For things where I needed more precision, what I do is press ctrl+shift+x and type in the coordinates there. (Inkscape's XML editor seem to crash very often f
779.
▲
by
omoikane
3y ago
> a church Coincidentally, SQLite went with The Rules of St. Benedict for their code of ethics: https://news.ycombinator.com/item?id=31886687
780.
▲
by
omoikane
3y ago
I did something similar in recent months, where I generated separate bitmap tiles for all sub-tile movements and rotations: https://github.com/uguu-org/ikaruga-snake/blob/master/source... This seems like
More ›