skysight-inc/HackerNews huggingface dataset:
Ask HN: Is it possible to hire a professional webdev to check my amateur site?
I run a blog using a static site generator and HTML templates that I created myself [1], but I'm admittedly an amateur and don't have up-to-date knowledge on best practices or modern design patterns.

Is there a job site or webdev community where I can hire a professional web developer to check my work and patch whatever problems I've made for myself? Is there an agreed-upon way to do this or should I simply ask around?

Thanks for any and all advice.

[1]: https://hg.sr.ht/~rattlerake/rattlerake
Release of CO2 causes problems for much longer than 72 days. The bump from all our fossil fuel burning won't go away for many thousands of years.
If you’re just using your classes as data records, most languages have better options for you.

Java has the record type. C# has struct and also property members that serve the same purpose.

I bet C++ and Rust also have better options for data records than plain classes.
It looks like there is a port of Quake onto iOS. You could technically run it right now. Last I checked though, GPL license isn't compatible with Apple's App Store license. But this is 10 years old so maybe things have changed.

https://github.com/tomkidd/Quake-iOS

https://www.fsf.org/blogs/licensing/more-about-the-app-store...
I don't know, is it more precise to say words like "encapsulated", "testable", "mockable" and "reusable"? Aren't these all essentially the same thing? Suppose you have a class that is technically testable, because you can control all of its inputs, but it has ten thousand methods. Is it really testable if it's so poorly encapsulated?

I feel like good code is just decoupled code that lends itself to composition. Most writing about code is just about how to achieve that quality, not about identifying all these different and conflicting qualities and finding balance between them.

> “I like solution X. It decouples the error message presentation from the core logic. It’s easier to understand, because you don’t have to consider both at the same time. This separation also unlocks some testability, as we can mock either object whilst testing the other. It does come at the expense of requiring the parent object to inject the dependencies, but that’s a worthwhile tradeoff for the testability.”

Take this passage - is it saying anything other than "I identified two independently meaningful components here where you have one". What else can you do to clean up code other than separate things that don't have to go together?
I've wanted to read this for a while but I do 97 % of my reading on a Kindle, and the digital version of this is not very Kindle-friendly, sadly.

I'm not new to the subject, but I like to go over the fundamentals from different perspectives to solidify my understanding. Does anyone have recommendations for other books similar to this one that happen to be Kindle-friendly? (There's a chance I've worked through them already, but eh, worth a shot!)
Coding is partly art, just like architecture.

I'm 42 and have been coding since 14, so I feel I can also chime in :).

I don't think anyone can really "code correctly". Sometimes, the code just falls into place, and you end up with something simple and clean.

Other times, you're struggling, and your gut feelings tells you it doesn't feel right. But your feature needs to be finished, so you mark it as "good enough".

Sometimes when you need to apply changes to some old code, it fits in nicely. That means your original code was pretty spot on. Oh what a wonderful feeling.

Other times, your old code was messy to start with, and this new thing means you have to rewrite a big part of it.

Like I said, coding is party art, where you need to balance a lot of opposing forces.
This makes no sense whatsoever.

I've read thousands of tests with multiple asserts that were perfectly plain about what was being tested and in many cases the logical sequence made it easier to understand.

Breaking them into separate tests with one assert would simply have meant a shit ton more code to read.

Uncle Bob's "rules" often come with mile long caveats that he seems to be blissfully unaware of. I think I get why he said it - overloaded tests are a thing - but he fucked up trying to turn his observation into a rule.
Sadly not, but I'm building one for myself at least because I don't want it in the cloud.
Your tone and attitude are extremely antagonistic, and are not welcome here on HN.

HN guidelines (https://news.ycombinator.com/newsguidelines.html) specifically state "Be kind. Don't be snarky. Have curious conversation; don't cross-examine. Please don't fulminate. Please don't sneer, including at the rest of the community."

I suggest reading and commenting appropriately, in which case you're far more likely to receive thoughtful replies to your comments.
Or fossil carbonate. Production of cement releases CO2 even with non-fossil energy.
In this case it looks their work is based on another branch not yet merged (https://github.com/obsproject/obs-studio/pull/5155 which adds support for Apple Silicon) - and the commit is from there.
I learned most of the things that I know without explicitly looking for them. I am glad that this topic came up in this very thread because I would not have learned about Little Rock Nine otherwise.
How is local politics office turning into that? I don’t see where you’re coming from. Also, considering the number of people who are outraged at this, it seems that people clearly care about local political, don’t you think?

What should I see on substack?

Also, assume that OP is indeed a troll who won with 200 votes total via a keg, does that make what happened to him ok? Do you think that you’d feel differently if you lived in that town or was one of the voters? Even if the intentions of those who dismissed him was good, why is it bad to be skeptical of it? Why is it bad to be skeptical of those in a place of power?

Edit: also considering the number of comments you’ve made on this post specifically, I’m genuinely wondering why is it this hill specifically that you’re willing to die on?
Google to Invest Up to $1B in Deal with India’s Bharti Airtel
The Banality of Genius: Notes on Peter Jackson's Get Back
The effect of these trails reaches steady state quickly, and does not accumulate over time like CO2. So this is mostly a red herring.
> Your job can’t provide them to you as your salary

Why not? I don't know macro-economics that well, but isn't money a more or less closed circuit? I want milk so I give dollars to the grocery store owner who gives it to the employees and suppliers who then want a haircut from my barber. The currency is just an easy way of trading, but I could get milk directly for a haircut if we both agreed.

The issue of banking is a problem. If there is no service to store dollars in Argentina (due to laws, for example) then I could at least rent a secure box for my dollars. It will a least protect against inflation.
Amazon...it depends
In c++ a class declared with the keyword 'class' is private by default, and a class declared with the keyword 'struct' is public by default. So if you want public by default just write 'struct' (somehow this is not commonly known).

https://en.wikipedia.org/wiki/C%2B%2B_classes
> A sheep literally ate my internet by chewing through the cable from the satellite to the house.

That must have been a pretty long cable!
I am curious to understand why it feels like you are perceiving Gemini as some kind of existential threat? There are many mediums in this world that are technically inferior but have an important role in many people's lives. Why listen to vinyl when your digital download doesn't require unnecessary space for storage, and has the ability to skip between albums and tracks instantly? Why use Twitter with a very limited set of characters and features? Twitter existing did not kill long-form writing? Gemini existing will not kill the web somehow? Why the hostility? There is room enough for all the mediums. And they each have their place in our culture. I think the space Gemini creates is unique, and a very welcome value-add to this world of never-ending distractions.
Where did you say that? I directly quoted what I'm responding to.
I like to think of it as 'early' Heinlein and 'late' Heinlein - although both periods are very enjoyable, sometimes it as if it's two different authors.
Brazilian inflation was something different, because it was administered.

Prices had regular revisions and salaries had "triggers" and would automatically go up when inflation hit a certain value.

So it was guaranteed to just keep going.
Exactly, this is not rocket science: Introduce variantes of the affected characters in unicode (either variant selectors or distinct codepoints, doesn't matter too much but variant selectors could allow falling back to the old context-based detection). Then wait for software to be updated to use the variants based on the input language. This allows the writer to verify the variant used which will then be the same in all contexts.
That's like complaining that so-called 'No Code' web platforms are actually using code behind the scenes!
struct over class then.
Erg. It's actually much messier than that. The rules for england were rescinded (last night or was it earlier this week). But the laws are still in force, just the Home Sec has said they don't apply.

Only they still apply in some places eg on TfL where the mayor decides not the home secretary,

And he is keeping that law.

But he is also not enforcing it, just asking people only they are legally required to do it.

So we have a few laws here. None of them enforced. And loads of covid, though that is much less of a problem now everyone has been offered a vaccine.

Im not really bothered, Im just saying we love laws and we don't enforce them at all here in blighty. :)
Yes, neither set of books that either side seeks to ban are necessary or, perhaps, even good for an education in the humanities. Notice they are always relatively recent, usually pop fiction (as opposed to nonfiction) that teachers/librarians enjoyed that's supposed to "teach" you something about an actual historical event. You're supposed to read the fictionalized novel because it's more "relatable", definitely not because it ensures you see things through the preferred ideological lens of 21st century school librarians. (To be fair, the "other" side's banned books are usually what these people liked a generation earlier; although there are truly banned books, that, for example, cannot be sold on Amazon, and they are usually, but by no means always, more obviously offensive and of more questionable worth.)

What you will not find on banned book lists, with few exceptions, is the books that were used to teach the humanities for hundreds, sometimes even thousands of years, up through the first half of the 20th century. Increasingly, you won't find them in the library, either. They haven't been "banned", though. They're just being "curated" out of collections and pulped. We had to update our library, you see. Human experience is different now, you need to read our modern and ideologically fashionable authors. That's why you have to scroll down to page 14/16 on that list before you find a book published before the year 2000.

Of course, the perception (and maybe truth) is that the reaction against the currently fashionable propaganda literature in school libraries and reading lists is led by illiterates, not by people who think you should be reading Thucydides.
Dude, what are you talking about, the fine structure constant is exactly 1/137. The TimeCube [1] told me so.

[1] https://en.wikipedia.org/wiki/Time_Cube
It is funny to mention Fabrice Bellard on a topic about clean code when one of his many achievements is to have 3 winning entries in the IOCCC.
In Germany Aldi has torn down and rebuilt hundreds(?) of their shops during the last few years. Most of the new buildings now have appartments above the super market. In Berlin alone they built 2000 appartments without using any extra land.
Please, let's not go down that road. It's unnecessary to politicize everything and turn to hyperboles.

Nobody here is promoting anything when we're saying that from a purely technical perspective this report alone is not enough to justify the claims being made. Extraordinary claims require extraordinary evidence, but no evidence has been provided whatsoever, so it's perfectly fair to challenge the validity of the claims.
Yes, that's why it works everywhere* with local specifics ( e.g. proposing tuk-tuks where available, or bike rentals where Uber have the service or a partner, etc.) directly without new downloads or anything.

* of course where Uber are on the local market, i doubt it works in North Korea
> Life can still be fun even it is pre-rendered. Like a movie you don't know what's going to happen next anyways.

What if my life isn't "fun"?

A lot of people live out lives of complete suffering. Childhood cancer? Poverty? Disease? Genetic mental health issues? Inbreeding? Childhood trauma? That list goes on and on.

That isn't a movie I signed up for.

Does determinism think this is supposed to be a lesson of some sort?
Wait, 159,561 subjects is considered small? Maybe I’m not understanding what you mean
Concur. I block wasm and webgl, mostly for security and privacy, so don't use sites that require it. Unfortunately, as I also block trackers, most site operators won't even realize people like me visit their sites.
Brilliant comment! Do you have a blog? If not you should!
Indeed. But it's kinda funny that it quite literally came full circle.
Having your strings be conceptually made up of UTF-8 code units makes them no less strings than those made up of Unicode code points. As this article shows, working with code points is often not the right abstraction anyway and you need to up all the way to grapheme clusters to have anything close to what someone would intuitively call a character. Calling a code point a character is not more correct or useful than calling a code unit a char.

All you gain by having Unicode code point strings is the illusion of Unicode support until you test anything that uses combining characters or variant selectors. In essence, languages opting for such strings are making the same mistake at Windows/Java/etc. did when adopting UTF-16.
Zig, DirectX 12 source code: https://github.com/michal-z/zig-gamedev/tree/main/samples/ra...

This works by capturing render output to a transient buffer and then playing it back at human-discernable speed.
> I don't mean to be snarky

No worries. I should’ve included it more clearly in my comment. I use the question to gauge seniority and experience to help determine salary proposal.

As I mention, there is typically a difference in the answer of a junior programmer (or someone who’s used to being a solo-dev) vs a senior dev that worked on larger projects with bigger teams.

Moreover, the question is about _good_ code, not clean code.
It sounds like quackery but I tried it for a couple months and comfortably went down .5(or is it "up" -.5?) and stopped going up every year. I stopped because the constantly switching strengths, self testing and having to remind myself to take breaks and look far away was more than I had the mental bandwidth for at the time. The "marketing" website reads like snake oil sleazery but what worked for me was the community wiki. Id spend hours correlating what was in the wiki with what he was hinting it at in his "hear my pitch for 10 minutes before I get to the point" videos until I got the hang of the routine, which was basically:

Have two pairs of glasses, one of them about half strength(self test for the exact number) for computer and close up work or in-home. Use your full strength glasses for important tasks like driving. Every 20-30 minutes take a break and look into the distance(works well with Pomodoro technique, if you do that), practice your blurring exercises.

Edit: at .5 adjustment I'm right at the edge of variance. It's possible to do nothing and have a slight improvement on your yearly optometrist visit because of secondary factors like change in environment or nutrition. I'm not a health expert so I can't say, but if anything that site helped me to do fewer things that strain my vision and a few things that made me more comfortable. Would I have fully cured if I kept going? Science says probably not, but I don't regret my effort.
Malls, seemingly, aren't a forever thing. Some malls might have "old market square" longevity to them, bit that's the exception. Most have 2-3 decades of prime followed by several more of decline and/or other kinds of changes.

Fashions change, the competitive landscape changes, etc. Also, the investment/debt cycle changes things.

Malls should probably be designed with this in mind. EOL & redevelopment needs to be assumed from the start. For more permanent places to put retail, you probably need something different to a mall. Main streets, squares and/or other template with more municipal planning involved.
I've been in this situation many times too, but I have to say it feels like a weakness. When a single person works on a problem I see improvements being left on the table compared to when two people effectively collaborate. I've experienced this in a wide range of skill/experience levels so I don't think that is the problem.

That said, I don't know how to change the situation if you have devs with skillsets that don't seem to overlap much, which seems inevitable for some companies
Yes, it's not law, and UK drivers (at whom this story is aimed) implicitly know that. The HN title should be changed to the article title.
So, it's okay that they refuse to swear in the elected auditors because you think the position is unimportant? In what other circumstances do you think it's okay for government entities to ignore the law?

The auditors have duties beside auditing, and the law[1] explicitly say they "shall perform the other duties of the office" even if an accountant has been appointed. There is clearly a reason the town government dosen't want anyone to preform one or more of these other duties.

[1]: https://www.legis.state.pa.us/WU01/LI/LI/US/HTM/1933/0/0069....
Apple's 30% revenue cut is absurd rent seeking behavior. Good on these states. Let's keep it going and continue to dismantle similar systems at other companies.

Apple can continue to mandate Apple payment options are as an option in every app, but let's watch as that 30% drops to nothingness once they face real competition.
I admit that Blue Oak’s goals are noble, but why oh why would you recommend a license that has not been vetted by say OSI? As far as I know, Blue Oak is not [1].

[1]: https://opensource.org/licenses/alphabetical

Furthermore, reading things like: “Q: Is the model license compatible with GPL? A: The Council doesn’t see any reason why software licensed under the Blue Oak Model License 1.0.0 can’t be used, combined, and distributed with software under GPLv2, LGPLv2.1, GPLv3, LGPLv3, or AGPLv3.” [2], hardly fills me with confidence. Rather I would hold off until the group of people behind the license takes the time to engage with the wider FLOSS community to iron out any quirks – preferably by having it approved by OSI.

[2]: https://blueoakcouncil.org/license-faq
Only one's own mind is sure to exist
That means we need to take a very close look at whether "Real programmers" are actually anyone to emulate.

Programming culture has almost football field level of "No time for weakness" attitude.

If I see a possible failure mode of a system, and bring it up, someone's going to tell me to stop being a clicky click windows idiot and learn to be careful.

Trying to prevent human error in software isn't seen as a priority so nobody does it. They are concerned with the most reliable code rather than the most reli4 code-user-hardware-task-schedule-conditions system.

Programmers need to accept software fixes for human and hardware failures. It's a lot easier to add a confirmation dialog than it is to somehow become 100% reliable at not clicking the wrong thing.
They're called beat saber.
Just to chip in what should the commit message say: it should express the intent of the change and the reason of the change (latter could be reference to ticket). I don't think expressing how the intended change is achieved is important, that's what the diff is. If it's not clear in the diff how the intended change is achieved, try adding some comments.
I will work on implementing all those things as soon as possible! This is really a great advice and I will start implementing it.

I'm still kind of new in Community managing in open-source and I'm about to choose if is the right moment to switch to a full time evangelism and community management into the open-source project

I think is the most important thing in the project to be always as most trasparent as possible
Snapshot: https://web.archive.org/web/20210421200706/http://www.nostal...
ECB Wipes 45% Off Home Prices in Harshest Bank Climate Test
For those wanting to move more into lower level stacks, after completing a class like OS, what might be some good entry jobs? What kind of job description would I be looking for? What next after entry?
>I didn't think I was the only one with those type of feelings.

You're not. There are plenty of people that hate shopping, just as there are plenty of people that hate watching sports. Probably a disproportionate number of both groups are on HN.

It still has huge broad appeal, though, especially among women.
It was an experiment in classic Dawkins memetics before pictorial memes were the norm. It's succeed beyond anyone's wildest dreams because nobody remembers it was an experiment on the idea of a meme.

In this view of the origins there is nothing to disprove.

Am I alone in being concerned Slate don't consider this?

Godwin on this: https://www.rstreet.org/2016/05/31/i-created-godwins-law-in-...
> are common to the 90% of everything we build in most web based companies.

Imagine that you had to build something where you need to use 90 nails and 10 screws: it's not a good idea to do the job with just a hammer, you should probably have a screwdriver as well.
I don't know you, but from what i recall Windows 95 and 98 were anything but with fast and responsive UIs. Many windows were fixed size, and with significant input lag
I don't really care about Epic (because they are far from being a dream company you are likely to sympathize today - they hardly care about anybody's rights actually, just about their own revenue) but once I have an iPad/iPhone I want alternative browser engines, terminals, emulators/VMs and being able to write and run an app of my own without having to even inform (let alone pay) Apple about this. I also believe 30% is too much for an app developer to pay the device manufacturer anyway.
>Those sound like general purpose computers.

And everything running linux would be a general purpose computer? The console only run games. And that is their model. You dont sell productivity and content creation or other social / business apps on it, nor are those allowed on their "App Store".

> The App Store charged 30% to compete with brick-and-mortar retailers charging 70% on all software - not just games.

It absolutely make sense then. Because brick and mortar was at the time how majority of software distribution works. Again, suggesting 30% on software completely neglect the terms on services. You charge 30% on software, by none of that software charge 30% when I try to teach kids online during a pandemic.

>15 years of agreeing to it in the first place,

Because 15 years ago there wasn't a digital services industry on top. Why is domain name registration inside Apps exempt from 30% services fees and not other fees like email hosting? How did that exempt came from?