Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
UglyToad
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
UglyToad
3y ago
There is some approach you can use sort of like this within PNGs themselves I think. It's been a while so I might be misrembering but effectively each "row" of data that is compressed can be encoded as the difference from the
32.
▲
by
UglyToad
4y ago
I think I have realised after ruining a previous codebase with overeager abstraction. Most code should read like fiction, not a reference book. That is they should read top to bottom with minimal jumping around and information hiding. (Of c
33.
▲
by
UglyToad
4y ago
Yeah every iteration of this question in the GP thread is bad and has the same ambiguity that means the gotcha of "haha your interpretation of this poorly worded riddle doesn't match the answer I had in my head, checkmate" se
34.
▲
by
UglyToad
4y ago
But do you not find the problem is you now end up with tests that assume the existence of #some_method with the tests tightly coupled to the internal logic and flow of that method? If you decide to refactor, every part of the system now has
35.
▲
by
UglyToad
4y ago
Are the patties high in iron and are they making that claim? I don't know. Orange juice is also high in vitamin C and makes that claim so low information consumers think it's ok to have their children drink litres of the stuff sin
36.
▲
by
UglyToad
4y ago
Agreex, if the burger patty is just prime ground beef or black beans and quinoa or something it's probably ok. But people like to eat food that is nice sometimes and so it's everything else, the mayo, the ketchup, the toppings, th
37.
▲
by
UglyToad
4y ago
Repeat after me, no one eats a burger believing it's a health food. Now write it a hundred times and maybe we can stop this circular discussion.
38.
▲
by
UglyToad
4y ago
Used this for a quick proof of concept I was putting together where I needed to parse the output of an OCRed date and number (price) string (with known country). Seems to work very nicely on the sample size of 3 I tried with - so I can'
39.
▲
by
UglyToad
4y ago
Just hopping on your comment to make a tangentially related point. I think the thing the vast majority of comments on hn regarding fake meats miss is the 3 factors in going vegetarian (1. environment, 2. animal welfare, 3. health) are compl
40.
▲
by
UglyToad
4y ago
I'm not sure if I look angry but I genuinely am angry when writing code. I don't know why but when I get in the zone I grow increasingly angry and aggravated. It's not a particularly fun way to be but it has been the case f
41.
▲
by
UglyToad
4y ago
Thanks for the reminder, while I might not agree on an individual level where the line between calling out misinformation and partisan-bad-faith-point-scoring lies I think despite the repeated edits I was over the line here. While it feels
42.
▲
by
UglyToad
4y ago
Yeah, like I get people maybe being wary of soy. There's a lot of mistruths and half understood myths out there. In addition to various contradictory findings from studies [0]. But for a list speaking from a position of expertise it fe
43.
▲
by
UglyToad
4y ago
Ah yes, that study of 99 (predominantly overweight) men from an infertility clinic that definitely shows soy affects sperm count. As far as I'm aware the evidence just isn't there with respect to soy and cherry picking the single
44.
▲
by
UglyToad
4y ago
Strongly agree, I've not read much of his blog but every time I do read an article the quality and personality stand out. Hoping he gets the time to recover and decompress.
45.
▲
by
UglyToad
4y ago
Maybe (most likely) this is a problem of GitHub's terminology. For genuine bugs, e.g. here's the repro, the stack trace, the code to replicate it, it happens 100% of the time if you follow these steps, I'd agree that just hav
46.
▲
by
UglyToad
4y ago
1. Because some issues are still valuable, a well presented bug report that you can immediately act on and is related to parts of the project you want to enhance improves the project. 2. As above, you want to work on some of the valuable is
47.
▲
by
UglyToad
4y ago
Eh, as a burnt-out maintainer I have to say I can understand the use of stalebot and don't begrudge people using it at all. When I started my project, I had the attitude that I'd be better than all these other maintainers. They fl
48.
▲
by
UglyToad
4y ago
This doesn't seem specific or particularly enabled by dynamic types? I don't really understand it yet and have barely used it but this seems like it's supported by expression trees / Roslyn / code gen stuff in .NET&
49.
▲
by
UglyToad
4y ago
Yes, that's the one. I found a compiled version somewhere because I was too lazy to install/learn Maven/Java stuff in order to build from source.
50.
▲
by
UglyToad
4y ago
Good luck, I once started to scratch the same itch to learn this file format, several years later I think I got about 30% of the way through! More open source PDF code is good. If you can find a version of iText RUPS application from somewh
51.
▲
China circles El Salvador's economy as country edges toward crypto plunge
(theguardian.com)
5 points
by
UglyToad
4y ago
|
5 comments
52.
▲
by
UglyToad
4y ago
Not so much "the rich" as the vast majority of voters and a large section of the population. From "Rethinking the economics of land and housing": > One important effect has been on the interests and aspirations of the
53.
▲
by
UglyToad
4y ago
Unsolicited book recommendation but I saw someone mention "Rethinking the economics of land and housing" recently which serves as a good general primer of the history of and problems with housing. Mainly UK focused but I think it&
54.
▲
by
UglyToad
4y ago
Would be interested if the article expanded further into the situation in other markets. Just before I left the UK there was a huge and exciting amount of development in the meat substitute market. Some great, some ok, some terrible. From m
55.
▲
by
UglyToad
4y ago
I'll be honest I've never really considered the various drawbacks and benefits against other solutions. It's just something I occasionally run into in a legacy context where I need to integrate to get unblocked. I think not h
56.
▲
by
UglyToad
4y ago
I clicked on it expecting effusive praise of SOAP. Disappointed to find it's still only me, there must be tens of us who like it.
57.
▲
by
UglyToad
4y ago
You're exactly right. This is the crux of it. In many domains (not every domain, but every one I've ever worked in) you can delete/rewrite/change the app code without much fuss but the data is vital. For that reason havi
58.
▲
by
UglyToad
4y ago
To be fair the UK (or rather England) isn't exactly an examplar when it comes to water quality. https://news.sky.com/story/huge-increase-in-raw-sewage-relea...
59.
▲
by
UglyToad
4y ago
Thanks for the response. I think we probably ultimately agree. I was taking aim at that second group you outline with my rant. I had always assumed punch-tape was encoding some other representation of code than text until I did the research
60.
▲
by
UglyToad
4y ago
I actually started writing a blog post along this theme but never got very far with it. I'm not against code storage and representation as text per-se, merely that typing/editing it (text) is a not particularly efficient way of th
More ›