Better HN
topnewbestaskshowjobs
Log inSign up

avg_dev

1,405 karma · joined Oct 28, 2016 (10y ago) · 474 submissions

Submissions

comment 1y ago · link · parent

While it might be nice if the article spelled out the header, I do believe that there is more than implication present.

> 00:04:51 GET /w/atom.xml, unconditional.

> Fulfilled with 200, 502 KB.

> [...]

> A 20 minute retry rate with unconditional requests is wasteful. [...]

And If-Modified-Since makes a request conditional. https://developer.mozilla.org/en-US/docs/Web/HTTP/Conditiona...

comment 1y ago · link · parent

The list of rules covered can be found in the book description on the purchase links, like: https://bookshop.org/p/books/the-rules-of-programming-how-to...

comment 1y ago · link · parent

thanks,

here are a couple of links to the course:

https://smartphonehowto.com/gift/ - "Save time & help your loved ones" - for people who might want to introduce this course to someone they know

https://smartphonehowto.com/ - "Stay connected with family and friends" - for people who might want to take this course

comment 2y ago · link · parent

i did take some issue with the way that point was phrased as well.

but, i took it a little more broadly than it was actually specified: people who are not great about communicating or make it hard for you to work with them at the outset will probably continue to be like that throughout the entirety of your working relationship.

i watch some videos on the Tested youtube channel, where the host is Adam Savage, who was one of the hosts/creators of the MythBusters tv show, and he often talks about this point, and how he learned it working with Jamie Hyneman early on in his career where they would take clients, and Jamie explained this principal.

comment 2y ago · link · parent

i do think these are good habits. my favorite is the one about type #3 of tech debt. i wish i could push a button and impart this way of thinking to many of my old coworkers.

(and, there is some room for taste/interpretation/etc. i think the thing about copy-paste and "the third time it's in the code, encapsulate it, and deal with flag params later" is maybe true and maybe not true and may be context or team dependent. i know i have done this a few times and if i am trying to cover that func with tests, the complexity of the test goes up fast with the number of flags. and then sometimes i wonder it is even worth writing these tests when the logic is so dead simple.)

comment 2y ago · link · parent

This linter tool checks a schema for those issues: https://www.npmjs.com/package/schemalint (it is linked from the doc itself, too). It is kind of handy.

comment 2y ago · link · parent

i agree; but i use caps in my codebase, and lowercase when testing things out manually, just for ease of typing.

comment 2y ago · link · parent

this is really nice. i am glad the author put it together. i didn't know the pg docs were 3200 pages long! i have been using it for a while and try to learn as i go. i really do like the docs. and i also like to read articles on various particular subjects as i find a need to.

i think the author might find it helpful to readers to add a note to https://challahscript.com/what_i_wish_someone_told_me_about_... that if someone is selecting for b alone, then an index on columns (b, a) would work fine. i think this is kind of implied when they talk about selecting on a alone, but maybe it wouldn't hurt to be extra explicit.

(i didn't spend much time on the json/jsonb part since i rarely use that stuff)

comment 2y ago · link · parent

pretty informative. now i understand why people are often having issues with vacuum-related stuff. i like the diagrams too.

comment 2y ago · link · parent

for my area code, some of the sysops have left commentary on the directory page that lists the numbers. also, i used to log in to many of them.

comment 2y ago · link · parent

here is one nice site http://bbslist.textfiles.com/

comment 2y ago · link · parent

i don't think i've done a bait and switch and generally don't actually know what you mean by saying that i have done so. my point in that sentence was simply that nothing is promised by life. society does have norms and people do have values. i never said that i don't understand (nor did i intend to imply or portray that i don't) why people would act in ways that are not to, or hurt, "the common good". it is clear why someone who doesn't feel like their life is comfortable when they are trying to better "the common good" would act against that same common good in order to get some peace or enjoyment out of their own existence.

comment 2y ago · link · parent

yes, this. as others have pointed out: of course it is (understatedly) terrible that so many people who work various types of jobs cannot pay their bills. all that i see happening here is that the low income bar for being able to survive and live a decent life is getting higher and higher; it is not that there are not many others who also should be able to live a decent life.

(and yes, i do understand the difference between a lecturer and a professor, and i do understand about roommates, and i do understand about living in a cheaper cost-of-living area. i think these are all reasonable points. but i still think that it would be nice if someone could live a good life a distance from work that doesn't make their commute an absolute dread and still be able to afford basic things. yes, i believe everyone deserves this, no matter what type of work that they do. no, i don't think that's the direction we are currently headed.)

comment 2y ago · link · parent

Of course you are correct, nobody is ever promised anything like the ability to fulfill their dreams or to live a decent quality of life. But maybe the universities could pay them a living wage for teaching six classes a week.

comment 2y ago · link · parent

a beautiful post. it's really nice when we get posts like this here, just personally i find it very meaningful.

> But sometimes the employees there would give me the employee discount, I guess they realized I needed it.

that is such a heart-warming thing.

i would maybe argue the following point in the article:

> People whose work was not aimed at me in the slightest.

idk. i think that part of the point of being open is being open to possibilities. obviously no one can see the far-reaching consequences of their work when they set out to do it. but sometimes, people have hopes, i think, that their openness will create possibilities just like this article is describing.

> resources like w3schools,

i remember a long time back - maybe 15 years ago - i would occasionally read w3schools, and i had a coworker who would kind of turn up their nose at that site, they were kind of a snob about it. i knew enough then to realize it wasn't the best site for everything but out of insecurity after that person said that, i stopped reading it too. but it helped me, too. and i'm glad it helped you. i am starting to re-revise my opinion of that site.

comment 2y ago · link · parent

this seems like a fantastic way to look back on a career where the author started as a prolific solo developer and later became an effective, fast, and contributing part of an effective development team. it was also just really fun to read, about the code reuse, the scrapping of ideas, the rewrites, etc.

comment 2y ago · link · parent

while i have only ever worked at places that do some form of agile development, sometimes i think about things that are just foundational elements. to be pedantic, they definitely work. they just, on their own, do not provide any utility. just a means to facilitate things to be constructed later on in development.

in particular i think of Black Triangles https://rampantgames.com/blog/?p=7745 which has been discussed here previously.

comment 2y ago · link · parent

> Or computing becoming a branch of advertising.

wow. such a succinct way of putting it. ugly too. and probably at least mostly truthful.

comment 2y ago · link · parent

Very nice read. I remember reading the one she wrote first too. Quite moving.

comment 2y ago · link · parent

it was a good read. but i also note the date on it is Dec. 2021. perhaps things have changed (i have no idea). i do think it is a risky business to change your car's interface with an update!

comment 2y ago · link · parent

I believe I remember reading that for merging branches to the Postgres project, you need to update the docs too in order to pass code review. A nice way of doing it, I thought. Pg has some great docs that I have been reading for some years.

comment 2y ago · link · parent

Just noting, the commenter you replied to said:

> use “bigint generated always as identity” instead of bigserial.

The commenter you are replying to was not saying anything about whether to use UUIDs or not; they just said "if you are going to use bigserial, you should use bigint generated always as identity instead".

comment 2y ago · link · parent

also, you can view the original report here: https://www.goldmansachs.com/intelligence/pages/gs-research/...

"generative AI" seems to be covered from pages 3-24 inclusive.

comment 2y ago · link · parent

https://www.cbc.ca/mediacentre/program/about-time

comment 2y ago · link · parent

you know, i think this skill can be learned. i used to definitely have very little ability to "bridge sensory modalities", but i've been studying music and performance as a hobby somewhat seriously for about 6 years now. and i now feel like i have much more of that ability than i did before. i probably had it as a kid, just as you were saying, but i am definitely well into adulthood now :)

(there is a radio program i listen to where the guy talks about the music he plays and the context and he explains many things in this sort of "bridging sensory modalities" sort of way. and i used to always think, "that is just some straight up nonsense that he is saying." but now, i often see what he is saying very literally...)

comment 2y ago · link · parent

very fun article. What is a PHY?
12345
16