HNHacker News
TopNewBestAskShowJobs

grok22

126 karma · joined February 7, 2020

submissionscomments
grok22··on How and why GraphQL will influence the Sourcehut alpha
>> Graphql will -never- return you unwanted data. Because you wrote in the query exactly what you want.

But couldn't you intentionally or unintentionally write a query such that it returns too much data and borks the system? Un-intentionally is the worrisome aspect.

grok22··on Maillard reaction
The author does mention reducing sugars later on:

"Instead, these proteins require "reducing sugars," which are essentially simple sugars that attract amino acids at certain moisture and temperature levels."

grok22··on But no, 80-column terminals in 2020 isn't “reasonable” any more
http://journal.stuffwithstuff.com/2015/09/08/the-hardest-pro... might explain why 'just' doing the pretty print on the fly might not be a easy thing (even if the problem here is limited to a single line of code and something based on line length).
grok22··on What would you do if you lost your Google account?
Looking at the choices on that takeout page, I realized that there were a number of Google services I didn't event know about: "Google Arts & Culture", "Crisis User Reports", "Handsfree", "Textcube".
grok22··on Covid-19 Superspreader Events in 28 Countries: Critical Patterns and Lessons
Yeah, this explanation was messed up. Also, if you look at the graphic associated with this, it seems like people both upstream and downstream of the individual were infected and it is not clear if some of them had the infection simultaneously or were actually infected by the first person. Lots of questions here.
grok22··on Tell HN: C Experts Panel – Ask us anything about C
Things I would like C to have:

- stricter type-checks on typedef types (useful when passing function parameters) - gcc's ' warn_unused_result' attribute for functions (ensure error returns are checked) - on-entry/on-exit qualifiers for functions (to do things like make sure you lock/unlock semaphores for instance before entry/exit of function) - D language's 'scope' feature (better handling of error path) - loops in the c pre-processor! (better code-gen)

Any chance any of this is on the radar for the next-gen C standard? Some of these are just ergonomics, but the first two might've have saved me some grief a few times.

grok22··on If you imagine a business making surgical facemasks is working 24/7, guess again
But one of the ideas of being a non-profit (atleast in my mind) is that they are driven by idea of service to the community. It seems like a lot of hospitals are structured as non-profits, but really with a profit motive (not community service) with the profits being funneled to individuals and stake-holders (in manners that take advantage of the law!).

Basically it's hard to reconcile the fact that hospitals are "non-profit" while also charging what seems excessively for everything.

I haven't looked through financial statements of one of these hospitals, but does anyone else have any experience with doing so and do they actually see that hospitals do need to charge those enormous amounts for everything to run effectively or to survive?

grok22··on If you imagine a business making surgical facemasks is working 24/7, guess again
NYTimes article, so may be pay-walled; but it sorta seems like non-profit hospitals in many places really do make money: https://www.nytimes.com/2020/02/20/opinion/nonprofit-hospita...
grok22··on Grocy: web-based, self-hosted grocery and household management
Seems like overkill for something that only a couple of decade or so ago, we used to use our own memory (albeit inefficiently, but most of us will be okay with not doing this with too much efficiency).
grok22··on Covid Notes from an Intensivist in the Seattle
Can anyone give a layman's summary of this? Too many technical terms and short-hands in the post itself and it would be useful info to if one is a patient undergoing treatment.
grok22··on Ask HN: Good ways to capture institutional knowledge?
Using and integrating a twiki as part of whatever you do ensures there is always a write-up. Encourage everyone to write up and make looking through docs as part of your review/discussion process. For this to work, you'll need to sort of make it integral to everything you do. Info in a twiki becomes stale over time, but better to have some stale info that can be updated than to not have any info at all.

Something I wished companies do is to ensure that discussions happen in internal mailing lists (rather than in individual email accounts) and have all mailing lists searchable and accessible to anyone in the group. This would simplify understanding how certain decisions were arrived at.

grok22··on Ask HN: What's your latest failed side project and why?
I think you need to experiment with different price points for the product. To me it seems like I would hesitate buying this for simple jobs due to the price itself. But maybe it it was $25-$40 I might buy it as a impulse buy for speeding my job at work. Or maybe make the free trial dependent on amount of use rather than making it time limited (transform a small number of rows for free for example).
grok22··on Learn Rust with entirely too many linked lists (2019)
I use C. And you are right, in my field there is a tendency to a large degree to re-invent the wheel of data-structures :-). Sometimes justified, but most times not. But mostly because C doesn't usually have well-known, industry-standard libraries for common data-structures. Or even if they do, it's kind of trivial to implement basic data-structures (not saying they will be bug-free!) instead of relying on some random distribution of a library from the Internet.

BTW, most times, the problem is not performance, but tight control of memory usage.

grok22··on Learn Rust with entirely too many linked lists (2019)
I am learning Rust due to it's memory safety features and comments like this rub me the wrong way for some reason -- they give me an uneasy feeling that I will run into unexpected limitations in the language because these corners are not exercised enough. Because people who know the language are saying that the kind of data-structures that I deal with day in and out in my day-to-day work are not the "preferred" thing to do.

I do system software/networking software and I deal with a lot of linked lists and trees and these comments make me feel that Rust may not be a good language for my use-case in-spite of me wanting the memory safety features.

grok22··on Show HN: Wasp – a DSL for building full-stack web apps
https://www.mint-lang.com/ that was on hn a few days ago seems to be exactly this though you've described it better and have a bit more broader ambition. Maybe you guys should get together!
grok22··on “How do you talk to 'I have nothing to hide' people?”
Maybe they are just saying "I have nothing to hide from the government"? This might be true for most law-abiding citizens in the US atleast where there is a reasonable rule of law (as compared to many other parts of the world!).
grok22··on Angular 9.0
Flutter is not yet approved for web application development, isn't it? In any case, just experimenting and learning new things.
grok22··on Angular 9.0
I am working on creating a web app now and for some reason decided to learn Dart and AngularDart at the same and do it with these technologies and it's close to being nightmarish. There are way too many concepts and things that tie together sort-of magically -- all to get a few form fields on a screen. I wonder how people come back to fix issues or add features in their Angular app after a few months away from it.

That said, I think, for bigger groups/companies working on a complex product, I can see that Angular ensures a certain level of "architecture" and code organized correctly instead of being coded to each dev's personal style.

But way too complex for single-person apps or for simple SPAs.

All that to say Angular is less popular because it is too complex to learn and use quickly.

← PreviousPage 4 of 4