skysight-inc/HackerNews huggingface dataset:
I think that decentralization is coming in a big way. The myriad of scandals and corruption surrounding the largest tech companies being one of many push forces, and platforms supporting self hosting with little technical expertise and products encouraging the same being pull forces.

A small bit of confirmation for this in my mind is the increase in companies switching to a business model that is aware of this. "We will host it for you for a fee, but we fully support self-hosting too." ala Gitlab and Ghost (https://ghost.org/docs/hosting/)
Unfortunately a while back Google deprecated the use of quotes to indicate a "must" constraint. But it does still help somewhat.
I'm with you here. The money line of the whole article was almost a throw-away at the end:

He should think more strategically about what he wants to learn and why.

The article seems to jump around between self learning, a la podcasts and audio books, and the pitfalls of formal education, with its emphasis on assembly line lectures and dismissal of interactions between students.

In high school, I wanted to make video games, so I did some research and asked my parents for a C++ book. I took the book to school with me and read it between classes or whenever there was downtime. I never made any notes or did any exercises. I never got close to learning anything like functional knowledge of C++.

Later in college, I had an internship where I was asked to program in python, even though I had no knowledge of python. "You'll pick it up quickly", I was told. And I did! I never opened a single book, nor even used Google. I just poked through the existing library of code they did, asked questions of the other programmers when I could, and within a week I was contributing code to that codebase. By the end of my internship I was writing programs that were performing vital business tasks.

I'll finish this comment by adding that journaling has been a huge help to me for retaining knowledge and unpacking deeper lessons from familiar material. The book I read most often is the Bible, but you'll never see my Bible without a journal next to it. The journal allows me to develop the ideas in my mind, and so I can track how my understanding has expanded over time, from the literal meaning of what I'm reading, expanding to the metaphorical and psychological and spiritual lessons that develop over repeated encounters.
This. Nextjs / Vercel is amazing. React + Typescript for building (Nextjs), Vercel for devops (hosting, dns, CI/CD). Excellent DX and customer service (the CEO/devrel will reply to your tweets for goodness sake).
Interestingly, that’s quite similar to what developing a new sense of smell was like after nose surgery! I haven’t smelled burning rubber from a cup of tea in a few years so it’s nice that the brain/nerves finally wired themselves up properly.
> I don't want "my" local businesses tracking me any more than the non local ones.

I get that. Seems we have a good news/bad news situation.

The good news is that 99% of local businesses do no systematic privacy invasive tracking of anything, because they have no fucking clue how to do it. Really. That might be hard to believe in a crowd that is fluent in SQL JOINS but in the real world people look at a Google Analytics accounts and learn... well, round about nothing.

It turns out that at small scale it's actually quite hard to invade peoples privacy in a way that you end up with positive ROI: You need enough data AND you need to be competent enough to analyze the data AND you need to be agile enough to act on your findings. You will be hard pressed to find local businesses that check even one of these boxes.

So most privacy "invasion" at this level happens because people are bad with complicated stuff and also at dealing with increasingly complicated regulations, and privacy regulations check both boxes (despite HN claiming otherwise, but alas, the ivory tower strikes again).

The bad news is that that is increasingly less relevant, because while the above is going on, the big businesses are exploiting any of the increasingly hard to catch openings and advancing their market position.
Read this summary of the research on how to maximize happiness per dollar.

Happy Money: The Science of Happier Spending https://www.amazon.com/dp/1451665075/ref=cm_sw_r_cp_api_glt_...

There’s a lot of guidance on which “keeping up with the joneses” spending might actually make you happier. It’s also easier to resist some spending when you can recall a concrete reason from the book that you know that purchase was researched and the happiness was short-lived.

If you’re in the United States you should also read this. The title doesn’t hint at it, but similar ideas of maximizing happiness per dollar spent over lifetime, but more US-specific advice:

Money Management Skills by Michael Finke, The Great Courses, narrated by Michael Finke:
https://www.audible.com/pd?asin=B00Q5DHLBM&source_code=ASSOR...
Is $40/mo. or $800 perpetual if you're making $50k or more a year, and free below that, really that expensive?
Hacktivism: Social Justice by Data Leaks and Defacements
The developer experience of Go is really one of its killer features. I was reminded of this when I was starting fresh on a new laptop; I just had to run one command in VScode to set up the entire Go tooling stack, which just installed and worked quickly. The standard tooling is so strong that there's no decision paralysis or maintenance burden around linting, formatting, testing, and so on.
Im a 1 MAN SHOP and i hire contractors ( engineers). I am not sure if this a good fit for me? My main concern is of course cost. Do you provide feedback on what todo with the software stack? ( can my guys implement a new plan provided by you?)and 2nd question is do you provide pay for service, for example if i am interested in a new software architecture and my guys just code it up / follow your plan / recommendation. Thx
$3k/week is not a metric, if you don't define a week. 40 hours? 168 hours?
SvelteKit! https://kit.svelte.dev/

It's really fun and easy to make front and back-end apps with any combination of pre-rendering, client-side navigation, and server-side rendering on server-based or serverless platforms. To me SvelteKit makes it feel like there's finally a harmonious unity between the front and backends. Plus the dev experience is straight fire. Not quite at a 1.0 release unfortunately but I still love it.

Plus, Svelte was rated the most-loved framework in the StackOverflow developer survey this year: https://www.infoworld.com/article/3628231/developers-love-ru...
As a big fan of complex and interesting languages, the above is all very true. Go is nice to work with, despite not being interesting.
At the other end of no/low code there is adoption of advanced computer graphics techniques that originated game programming and machine learning that focus around the GPU.

* Better GPU API on web and native with WebGPU

* Use of compute shaders to interface with trained NN models or to "replace" css.

* Easy reactive programming using immediate mode UI powered by GPU instead of CPU

* Data driven design ala ECS where your ECS lives in the cloud.

Not just for 3D AR/VR but also business/productivity apps in 2D.
In nine states, this is not legally accurate.

In those states, you have the title and the bank has a lien on the title.
When it comes to machine learning, yes it is important to know statistical methods, but at this point deep learning shouldn't be pejoratively referred to as the HottestNewArchitecture. If you want to solve previously unsolved problems, deep learning is necessary; and if you want more specific advice, learn how transformers work. This class of models is qualitatively different in the kinds of problems they unlock as solvable.
If you want to see this sort of brilliant hacking on a modern system, I recommend taking a closer look at Unreal Nanite. It isn't just auto-LOD. Oh no. That's the core, but they had to do this same sort of "work around the tools they are given" to make it actually happen. Tiny triangles chug in modern GPU hardware raster pipelines -- so they wrote a GPGPU software rasterizer. They needed more bandwidth, so they wrote a compression engine. Their shaders needed better scheduling, so they abused the Z-test to do it. It's nuts!

https://www.youtube.com/watch?v=eviSykqSUUw
Open Source Founders Fellowship by Primary Venture Partners
We are hoping to support aspiring entrepreneurs who are working on open source projects they are considering commercializing. This is a no equity, no strings attached program. Please feel free to reach out (or post) regarding questions or apply directly.
FWIW, Python will close a socket automatically when the reference to the socket is GC'd. (Of course, you _should_ always close a socket explicitly and not rely on GC to handle it for you.)

So the larger issue here was that the original code was written such that when shutdown() raised an exception, the reference to the socket object wasn't released—i.e., the line of code that set `self.socket = None` was not reached.

I had to follow the link to the PR to see what was going on, because this wasn't clear to me from the minimal example in the blog post. The fix to redis-py wasn't 100% necessary. Here's the redis-py code before the PR:

https://github.com/pawl/redis-py/blob/82bad1686177c4c543818a...

def disconnect(self):
"Disconnects from the Redis server"
self._parser.on_disconnect()
if self._sock is None:
return
try:
if os.getpid() == self.pid:
self._sock.shutdown(socket.SHUT_RDWR)
self._sock.close()
except OSError:
pass
self._sock = None

Notice that self._sock is set to None even if shutdown() raises an exception. This will eventually cause the socket object to be GC'd, and thus closed. No memory leak here. But it's still good to call close explicitly, so I'm not disagree'ing with the PR, just that there wasn't a memory leak:

https://github.com/pawl/redis-py/commit/d7f4ac33217a95541ddf...

Conversely, py-amqp looked like this:

def close(self):
if self.sock is not None:
self._shutdown_transport()
# Call shutdown first to make sure that pending messages
# reach the AMQP broker if the program exits after
# calling this method.
self.sock.shutdown(socket.SHUT_RDWR)
self.sock.close()
self.sock = None
self.connected = False

Any exception in this method prevents `self.sock = None` from running. That, _combined with the fact that_ Celery never released the py-amqp object is where the leak was.
Is tailwind much better than tachyons?
1a. You don't have to go looking for libraries or frameworks with bizarre names like boingo or zapper or something to start serving HTTP traffic
Monetization dark patterns is one thing. But how on earth do they lure people away from the good old plaintext-in-git workflow? I found everything about postman to be anti-git in nature, and then I lose versioning, CI/CD becomes weird, etc. I just don’t see the advantage for teams.

If you’re a lone wolf developer who prefers a GUI - fine. But then, why pay up for the «pro» service?
Don't keep up with the Joneses. Instead,
just be a nerd and don't care about being popular
http://www.paulgraham.com/nerds.html
Hardware has gotten more power hungry over the years not less. As long as people are more expensive than energy/hardware, I don't see this changing anytime soon. Maybe we'll get better at utilizing our high performance hardware by offloading the computations more and more to the cloud but overall energy usage will likely keep going up. Growing economies and cheap, abundant energy go hand in hand.
VR and 3D development.

It's much bigger than games.

There are some frameworks that are just now hitting their stride that make it 10x easier to build virtual worlds. Unreal Engine 5 in particular has been interesting to me. Even today we are seeing people who work full time in VR now. (mostly lower wage employees in low cost of living countries). But I've also met people who are self employed in VR making avatars for people in VR chat or that sort of thing.

It's harder now with covid but if you have a chance to try VR somewhere definitely do, it helps if you can experience it first hand.
In nine states, this is not the case. The buyer has possession of the title (or electronic), and the bank has a lien on the vehicle.
there's actually one angle that I believe has changed on that topic: security.

Security is to me the number 1 reason to reduce bloat in any application. By limiting the number of external dependencies, and maybe even the number of features, you end up with a more secure product.

It something that didn't matter as much a decade ago, but is now very relevant.

Then there's all the other reasons, like responsiveness, download size, developer experience etc, but they haven't been the priority of most businesses
I completely disagree, I cherish my personal freedom and will not be buying any connected vehicle for as long as possible because of that.
Well, it's easier to read in a hex editor and seemed like the right thing to do for a "wire format".

The only places where it matters is the header's width/height and order of RGB(A) data. Storing RGBA as ABGR is not a great choice, imho. If you want to be endian independent, you have to read one byte at a time anyway (or swap).
That has several drawbacks for a business:

1. Due to demands from marketing/sales, the supplier tends to increase versions for what is actually a minor feature, just to justify a new payment.

2. A subscription process is the most honest way of selling software. Jetbrains is a good example of this, where you get to keep your "fallback" version when you stop the subscription.

3. You often have to wait a long time for the next release, if you don't want to register in an "early access" program with versions that break constantly (basically providing free test resources).

4. You need to justify the new version to your boss, so that you can get it covered and start the approval process higher up in the hierarchy.

5. Approval processes in large Enterprises are often complex and time consuming. This not only applies to approving the payment, but often need to involve central IT. With a subscription model, this is only done once.
Plenty of web devs understand how specificity and the cascade work. That doesn't meant that they work well. CSS is full of examples of good-sounding ideas that didn't pan out.

Frankly the whole thing works better when you avoid touching the cascade as much as possible. Which is why these atomic frameworks are modeled this way.
C. It's like driving a classic manual car. Yes it's easy to make mistakes and goes wrong all the time, but that's what makes it "fun".

My least favourite is PHP.
Tailwind is a design system. It's not the same as inline styles because the options are constrained and are picked to fit on a coherent scale. I consider the inability to do this natively to be a longstanding gap in CSS itself and have been doing my own variations of the tailwind utilities with sass mixins since 2009.

I'll point out that CSS has no semantic component in itself. It's just a way to apply styles. If you want to keep semantic class names then you can apply the tailwind design language using the postCSS `@apply` in the body. There's a tradeoff between the value of semantics against the value of greater code locality and elimination of specificity as a concern. In practice most people seem to prefer the latter.
Ask HN: Would you like me to review your resume?
Hoping this doesn’t go against any HN guidelines. My apologies in advance if it does.

With the holidays coming up I'll have some free time on my hands and would like to give back something to this community. I've been working as a frontend developer for almost a decade and I've looked at many resumes in that time. I've seen just about every level of quality in a resume and feel like many could have benefitted from having another developer review it.

So, if anyone is interested, I’m inviting you to send your resume to the email in my profile and I’ll try to give you some feedback. I don’t have any particular qualifications in doing this type of thing, so keep in mind that my feedback is subjective and not necessarily good advice. Nonetheless, I think there is still value in knowing the impression your resume makes on another developer and I'd like to provide that to you!
The warning I give to family members who use my kitchen is "if my mandolin takes your finger, it gets to keep it." That usually discourages them.

In practice, use bear claw technique (you might catch a knuckle but less flesh to lose), and use either a stop or a cut glove.
In addition to that, usually for animation movies they do the voices first and make the animation to match. For comedy headliners, one might be able to recognize the actor from animated facial expressions, timing etc.

I am in no position to judge if that is true for Shrek.

(BTW, the German word for fear is Schreck [not a perfect translation, but the same spirit], yet I never made the connection mentioned in the article. Cool!)
Looks interesting but it says it's unstable. Do you have to write the backend in TS/JS?
Why would I want so? I want to warm up/cool the car before i get into it, listen for the music without plugging my phone every time , have a decent gps that is free, notify me about traffic, tell me if the charging station i'm going to is busy, alert me if someone is breaking in into my car. Heck I can even check the camera's from my App so I don't need to run if this is false alarm. I can even say something to this person to scare him away before he/she broke the glass.

Thank you but no. Tesla sales are skyrocketing because people want smart car that makes their life easier, safer. Legacy car makers also trying to keep up with trend.

It's a typical misconception. You were young back in the days the car didn't have all this amazing features. Not having this features doesn't this car magical just because of your sentiments about you been young. Driving a dumb car will not make you younger either.

I'll surprise you, most of tesla owners pay extra money ($10/mo) to have a better connectivity. Not the other way around.
I think the one bit you've not covered here is the children. While the parents likely will live a life of difficulty and work, their children become part of the American education pipeline that makes it quite likely they will be, if nothing else, integrated into society in a manner that will make their taking the next upward class step much easier. The parents are taking the hit to their livelihoods and careers to enable the next generation to be more successful. It's not a guarantee, but probably more upward mobility here.
It's not so much messes. Rentals, including short-term ones, are a thing today. But rather there's a lot of value to many people to have the car that they want when they want it, leaving certain belongings in the car, having the car equipped for their purposes whether child seats or roof racks, etc.

While I honestly don't expect door to door self driving in most places for decades, a lot of people who don't use cars much probably underestimate the degree to which many people customize their vehicles. And even if they sit a lot of the time, most of the cost is often in miles, not time.
This is the Thayer method, iirc

https://scholarscompass.vcu.edu/cgi/viewcontent.cgi?article=...

For each class, a text lesson is assigned. This assignment includes a reading and specific
problems associated with the reading material. Each cadet is expected to "work the
problems." (Note: Prior to 2000 these problems were called "drill problems"; the current
terminology is "suggested problems.")

• "One learns mathematics by doing mathematics." Cadets are encouraged to be active
learners and to "do" mathematics. Group work is encouraged and expected. Special
projects are a major portion of each core mathematics course-work on these projects is
done in teams of two or three.

• Cadets are required to study the concepts of each lesson in such a way as to be ready to
use them in three ways:
1. To express them fluently in words and symbols
2. To use them in proof and analysis
3. To apply them to the solution of original problems

• The instructor's goal during each lesson is to cause the maximum number of cadets to
actively participate in the day's lesson. One of the instructor's roles is to facilitate the
learning activity in the classroom. This may take the form of a question or a remark to
clarify a point.

• Class begins with the instructor's questions on the assigned text lesson. Cadets are asked
if there are questions on the assignment. Example problems are worked and discussed.
Cadets are sent to the boards to work in groups of two or three on specific problems that
are provided (so called "board problems"). These board problems may be similar to the
problems assigned with the text lesson or they may be "original."

• Cadets are selected to recite on the problems they work. Questions are encouraged.

• The instructor spends a few minutes to discuss the next lesson. This practice is commonly
called the "pre-teach."
Looking at the spec, the only multi-byte data are the width/height in the header. So only two 4-byte swaps per file.
> You can't drive the ringer unfortunately because it requires a much higher voltage to drive it, something like 48 volts I seem to recall.

You can, provided you also add a boost converter [1] to generate the ring voltage from the input supply voltage.

[1] https://en.wikipedia.org/wiki/Boost_converter
Ramming into protesters vehicle package should be selected at time of purchase and will cost an extra $74.99.
> And maybe also ads generally.

This is all well and good, but then we need a serious alternative funding model for websites.

Right now, a lot of people with adblockers are benefiting from a situation fausse where they free-ride on the ad-click revenue generated by others. I think in some people's minds this leads to an impossible expectation that they can continue to enjoy freely provided services, provided at considerable expense to the service provider, without paying anything or even having the inconvenience of having to see some ads.

I'm all for abolishing ads, but it needs a serious proposal, not just "what we have right now, but no ads". I'd also be all for an online payment mechanism embedded into browsers through a new protocol - something like https://www.w3.org/TR/payment-request/ but designed with more of a view towards paywalls - but I'm under no illusion: most people's revealed preference is consistently for ads over paying anything, as many startups in that space have discovered.
I believe that formal verification is the next big thing. The problem with software reliability and security becoming the most critical one and this is the way to tackle it. There is sufficient research in academia which could be used as a foundation to build tools for the industry.
I agree. Security/privacy aren’t going to become less of a problem, and knowing what is actually running on our systems is a remarkably unsolved problem.
Not anymore with Rails 7. You can now bootstrap a new project with hotwire (html over the wire) to build a SPA
I am not a rich man but the homeless guy needs the 50 cents more than I do.
And I rather have homeless people collect cans than making street music to be honest...
This cuts both ways. The problem is that the US is already developed and the lower fertility rate will only keep up what they have. China has a lot of people who are, in this generation, coming out of poverty, and this will continue for decades, until the possible downsides of fertility show up.

Moreover, the US is changing its immigration policies exactly at the moment they need it most, which seems to be another tragic mistake.