skysight-inc/HackerNews huggingface dataset:
Single expression lambdas. Lambdas can span multiple lines but they specifically contain a single expression, no statements. And since Python isn't really an expression oriented language this is still pretty constraining.
Titanic Explainer
> Are all startups at my age generally side hustles that become profitable enough to quit my day job?

Maybe yes. But that's only the first step.

40yo here, married, 3 kids (5yo, 3yo, 1yo), and a mortgage. I am more in the risk-averse side.

I was a CIO ('I' as in 'investment') in a family office. In 2019 I started building a document processing service (eg merge, encrypt PDFs) as a side hustle. It grew slowly and steadly, until, in May 2022 I got enough recurring revenue to ask my employer to reduce my load to half-time, taking a paycheck cut.

In the other half of the day, I am working in a more ambitious idea. I expect that at the time I am ready to launch, the income from my document processing service will be near 100% of my full-time FO paycheck, so I am taking very little financial risk.

Two resources that would have helped me a lot when I was having the same questions as you are:

- Rob Walling's "Stair Step Method"
https://robwalling.com/2015/03/26/the-stair-step-method-of-b...

- Dan Hulton's "Evaluating Modest SaaS Business Ideas"
https://greaterdanorequalto.com/evaluating-modest-saas-busin...
This is pure nonsense.

Some activists have certainly asked advertisers to pause. They've done so before, and will do so again. If the ad product is great, the advertisers will largely ignore them.

The reality is Twitter has never been a good ad platform (recently: $5B-ish from ads, vs Google's $210B or Facebooks > $100B, numbers off the top of my head but reasonably accurate), they've never commanded premium rates, etc. Brands are very sensitive to not appearing next to the hateful content that Musk is not just allowing but high fiving (eg open anti-semitism from Kanye, etc). Ads, for everything but the best platforms (Google and FB) are also a relationship business. Musk has shown he's very unreliable, fired the people with the relationships, driven out the people running Trust and Safety, and generally been a terrible partner. Twitter's ads platform has also been buggy and is even buggier now (see recent reports of paused/stopped campaign reactivation, many multiple years old.)

Additionally, Twitter's business has been swimming against long-term trends in the ads marketplace related to privacy and data movement.

Twitter isn't much more than commodity pageviews that can easily be sourced elsewhere, from more reliable partners with way less brand safety risk. Musk has also made Twitter an unreliable partner and doing business with them very difficult -- see repeated reports of agencies / brands unable to even contact their CSMs. And without an idiot allowing rampant impersonalization of brands (Nintendo verified account w/ Mario flipping the bird, Eli Lilly verified account saying Insulin is free, etc etc) with no apparent plan to stop that.
The problem with this view is that it only looks at "writing" when processing information. What about search, classification, reorganization, sharing? I have a OneNote notebook with some notes for important meetings: I don't know how would I search for certain things if I only had a paper notebook. In university I took notes in LaTeX and spend significant time rewriting as I studied and understood things better: again, it'd be a giant mess doing that in writing.

Also, you need to have good handwriting. Some people don't. In my case, my handwriting goes from bad to worse the more time I spend writing, to the point it becomes unintelligible. Seems more productive to invest the time it'd take me to improve that in other aspects of note-taking.
Yes and no. People who know what they're doing will replace failure points proactively - upgrading cooling systems, upgraded connecting rods, stronger wrist pins, etc. I had a car pushing 900+ WHP that had fewer powertrain issues than my buddy's stock 240 BHP truck.

Generally, modding anything beyond the ECM / TCM / PCM will be visible to the service center and claims will be denied.

If you stick to software alone, you're generally not looking at more than maybe 15-50 hp difference in most cars, depending on your starting point (you're getting a small percentage increase, so more powerful cars will see more of an increase).

Most ECM / PCMs do not have adequate tamper protection to detect being modded and then flashed back to stock, which is a common practice in the auto enthusiast world, and leads to people who technically shouldn't be getting repairs under warranty to get them.

Newer ones are getting better at detecting this.
Automate the Boring Stuff with Python is a great, free resource. I think it is in written and video form.

If already know a little Python, then just build something and you will learn very fast.
Bookmarked. Will revisit.

Anyone else notice everything old is new again? Neocities[0], Marginalia Search[1], Project Gemini[2], etc

There's many others I'm forgetting, and new ones popup on Hackernews each week.

Is this just basic nostalgia, people wanting to recreate the dial-up days or even BBS days?

[0] https://neocities.org/

[1] https://www.marginalia.nu/

[2] https://gemini.circumlunar.space/
Show HN: Teetail – like tee and like tail
I want to pass tons of stuff through a pipeline, and also store it in a file so I can debug what happened if things unexpectedly die. There's way too much data to put it all in a file, so I just want the last bit to end up in the file.

Wrote a quick bit of C to solve that, posting it here to save the next person to have this particular need a bit of time.
I always use https://gitignore.io.
Somehow I don’t recall using the word “fallacy” at all.
I wonder if the most use cases today could justify flex as a default where `display:block` is a default and s/inline-block/inline-flex/ .. I often have an anxiety of using too many flex elements. How many cases where there's a need to un-flex?
If I ever need names for pet server instances again...
Kinda similar, but me and my friends do the same. Some have it always enabled, others enable it only for periods when they are free to hang out.

Makes it easy to figure out where to head next with a group of people ("ok, so person A is here, person B is in that other nearby area, and person C is a bit north right now, so let's all meet up at location Y"), as well as actually meeting them at a specific spot.

Note: this scenario only makes sense if you are in a fairly dense area without a ton of driving involved. This approacg worked splendidly for me and my friends in NYC, but much less so in other US cities.
I would say the 1D/2D thing is a summary/rule of thumb. But grid can be useful for "1D" (linear) layouts too -- I feel like I've used it for something that was harder to do with flex even though it was linear, although I can't recall specifically. And flex can certainly be useful for some "2D" things depending on what you mean by that.

Grid is newer, and somewhat more complicated. Newer is probably the main reason it seems less popular than flex.
Because we demand more than "the whole world knows" before we put someone in prison. We demand a conviction in a fair trial. So far, that hasn't happened, because these things take months to years.
lol people will be lining up to offer them jobs so I think they'll be just fine
Absolutely. In the case of Facebook, it's easy to imagine them logging into websites as you to slurp up your contact list on that site. Don't worry, you agreed to it somewhere in the thousand pages of small print!

Or as the case of twitter demonstrates, you're also trusting all future owners of the Oauth provider, whoever they may be. If an erratic billionaire with a penchant for breaking the rules whenever it suits him buys your Oauth provider, who's to say what he'll do with his new access? He could treat your accounts as his personal toys. Better hope you don't earn his personal ire when he's on another wine and ambien bender.
I have a thought…

Maybe they could charge different prices for different products?

I understand the binning concept but what I don’t agree with is turning off working hardware with the only purpose being price. 6 out of 8 cores work — sell it as a 6 core chip. AVX-512 works just fine — don’t turn it off so you can sell it as a ‘subscription service’.
Writing by hand is still the best way to take notes. I think Apple pencil is coming close but still not there.

Just think, you probably want:
- Switch between drawing amd writing in a split of second;

- Have a large enough space amd can write in very small font;

- Can move it around not caring whether part of elbow blocks something
Yes, it really is like 99.9% of websites.

If you need multiple accounts, use multiple emails addresses, 1 each. You should keep your personal and corporate email separate anyhow.
Might be thinking of Ninjutsu OS, which got a DMCA takedown in 2020 for distributing modified Windows installation ISOs "that heavily modify Windows 10 with a huge number of tweaks, mods and extra tools" for pentesting:

https://torrentfreak.com/removing-annoying-windows-10-featur...

Discussion: https://news.ycombinator.com/item?id=23486887

Complaint text: https://github.com/github/dmca/commit/e6911fbf79c67c6f9e834c...
Photographer Turns Slide Projector into a Arduino-Powered Digitizer
> This thread is about Long Covid treatments.

My point was why would you expect a group promoting a long-discredited COVID-19 prophylaxis to have a reasonable long COVID treatment? There are many clinical trials in progress testing treatments supported by better-grounded hypotheses. https://clinicaltrials.gov/ct2/results?recrs=&cond=long+covi...
I work with a system similar to Copilot and find it helpful. It memorizes APIs and code patterns so that I don't have to. I don't expect it to solve algorithmic problems for me. It's a better version of autocomplete, which is a feature that programmers have been using in their IDEs since the 90s.
> - No blogs promoting hate speech, denial of climate change, anti-vax ideas, etc.

I've heard of Twitter accounts getting banned because they mentioned some of these subjects in context of criticizing them. (which is the opposite result that would be expected)

How their curation process work is just as important as the rules themselves. If it's transparent and there's a person (not just an automated algorithm), is there also a recourse process for false positives or bad decision making?
It sure didn't help, but I agree that Google Reader's death didn't kill blogs themselves; the decline has been pretty steady (Reader was killed in 2013): https://trends.google.com/trends/explore?date=all&geo=US&q=r...

I also agree that RSS is still worth it. I am a happy subscriber to Newsblur: https://newsblur.com/

Indeed, the mess that is Twitter is giving me hope that we'll see a comeback of people self-hosting their content.
Congratulations on the launch!

The comparison website is neat. I don't like to draw the architectural diagrams which graphical tools for my Open-source projects, I'll try D2 for my next project.
Does being despised by tens of millions necessarily make one suicidal? I've never been in that position.
I don't know why these admins want their servers to grow so big. Just close registrations and encourage people to run servers. It doesn't even have to be all self hosting, running a server capable of supporting 100 or so people is pretty cheap, especially if you use something other than mastodon.
I purchased a book version many years ago, and it had a very useful practical approach to learn by doing.
I'm a big fan of Julia Evans' zines. They're short and to-the-point and are often excellent jumping off points.

This one seems highly relevant: https://wizardzines.com/zines/containers/

This was also posted on HN a couple weeks ago: https://earthly.dev/blog/chroot/
Do you have strong CS fundamentals (generally acquired through university education) ? Because that stuff really matters if you want to work on stuff related to hardware
https://sourceforge.net/p/tcl/mailman/message/37738603/ (Tcl/Tk 8.6.13 Release Announcement) with the tl;dr of: This is a patch release, so it primarily includes bug fixes and corrections to erratic behavior.

Also, new reddit can die in a raging fire: https://old.reddit.com/r/Tcl/comments/z2459z/tcltk_8613_rele... but I'll save you the click, it's just someone who posted the mailing list message on reddit
There are multiple ways!
I'd recommend `@wasmer/wasi` since it uses the same WASI implementation as Wasmer (compiled from Rust to Wasm using wasm-bindgen):

https://www.npmjs.com/package/@wasmer/wasi
Wow, my predicted Lichess rating (playing just one game where I made a stupid blunder) was eerily accurate (~50 pt difference)
"I like to think of CSS as a collection of layout modes. Each layout mode is an algorithm that can implement or redefine each CSS property. We provide an algorithm with our CSS declarations (key/value pairs), and the algorithm decides how to use them."

Brilliant. The way basic CSS properties are taught often ignores the layout mode. Even MDN does not mention that "width" is a CSS property that is not always respected when "display: flex". Making this distinction more prominent would reduce the amount of confusion/frustration when certain CSS properties appear to "not work".

[1] https://developer.mozilla.org/en-US/docs/Web/CSS/width
I thought so too when first starting it, but I realized it's in-depth by design. There are a lot of tutorials that teach you the vague basics but they leave out things you (ostensibly) might not need currently, like logging and tests. In contrast, Z2P covers a lot of areas that are traditionally missed in such tutorials, and it even teaches design patterns for high performance web APIs. With that in mind, it felt like reading two books worth of information in one.

After going through the book, I've found that I simply use the same boilerplate for every new project, so it's more of a `write-once, use again` type of deal. In that case, I don't worry about the time it took to get to the point where I could do that reusing.
What would change your mind?
A Koan (公案) is a concept from Zen Buddhism. Zen made its way into pop-culture (or at least the popular counter-culture movement) in the US in the 1960s via several writers of the Beat Generation. Project MAC at MIT was founded in the early 60s (Gerald Sussman started there in '64 I think)? So a number of faux Koans were in circulation in the AI crowd by about 1970.
I can sympathize with this quite a bit. My own note-taking in college was pretty bad and at the time I would have cited speed as part of it.

What I've learned since then is to introduce a buffer between the consumption of the material and the making of the note. Instead of trying to keep up, I'm trying to fill the buffer to the point where I can summarize and re-state the material in my own words and write that down.

I slip into old habits sometimes, but for me the recap-then-write approach has been helpful and I suspect it's part of the value so many see to handwritten notes. You can't take a transcription (I could probably transcribe a lot of meetings or lectures on a keyboard) so you have to condense and the condensation, as much as anything, is probably what matters.
I spent ten years writing Go HTTP servers and the abstraction used in net/http has served me well for a decade straight. I’ve been writing http servers in rust for 3 months. Rocket provides an abstraction with a lot of holes that makes me jump through a lot of hoops to do things that have been trivial and common in http programming for over a decade. I’ve written stuff using only Hyper, it’s very manual. Warp has the problems the article describes. With Go, I used the standard library HTTP implementation for a decade and was happy the whole time. I also wasn’t experienced with Go going into it, it was how I learned Go.

Axum and Rocket have the same general thrust, the abstraction being that you define types to see a thing that’s not an HTTP request. That’s the abstraction that I think is incorrect. That design strategy is actively making things complicated for me on a daily basis at my dayjob writing services in Rust.

I want something higher level than Hyper but with a different theory of abstraction than Rocket or Hyper want to provide. The theory of Rocket’s abstraction is that the framework handles the http request and response for you, what you see is something else. That’s not the toolkit I’m looking for. The toolkit I’m looking for makes it easy to interact with http request and response streams instead of making it easy to hide their existence.
Microsoft's Windows Subsystem for Linux just hit a major milestone
Being a fucking weirdo is not a false signal, it's a signal. Signals don't determine outcomes, but they signal that maybe you should pay more attention.

If you hire a 50 year old male babysitter wearing a t-shirt that says "I Love Little Girls", you could ignore it on the basis that "appearances mean nothing in terms of execution", but it would be extremely bad parenting.
To me, Kubernetes looks like a thing a person learns on a team.

It is bigger than what one person can typically learn on their own.

Which makes sense since it is based on a tool for teams at Google.

Most organizations don't have Google like teams.

And most organizations don't have Google sized problems...and Kubernetes is based on solutions to Google sized problems.
You know, that they used a different calendar back then, right?
clickable:
https://flipperzero.one/
The main reason: getting rid of synchronization/migration process for many databases.
There's a solution - SawStop. Works fine, industry reaction to it was a long, sad tale.[1]

[1] https://en.wikipedia.org/wiki/SawStop
Is there a way to remember what justify/align-content/items do on a column or row? I write css semi-rarely and go through all options in dev tools until it’s the one I want..
Docker's recent licensing changes seem to make it not as popular anymore (>10M revenue every developer needs a license for docker desktop). Kubernetes even deprecated docker as a container runtime (https://kubernetes.io/blog/2020/12/02/dont-panic-kubernetes-...).
I used to be overflowing in paper, but last year I started using an iPad with a pencil exclusively, and it’s been quite amazing for both my retention of records, and my ability to organize information. I would write things down on paper, rather than just opening a word document, and typing it out, because I would lose the word documents in the mess of word documents. Same thing with the paper. With the iPad, and Note Shelf, I can keep this stuff much more organized and retain it better.
I'm obviously talking about ebooks downloaded from commercial platforms like KDP Amazon, and distributed for free on Z-library without permission from the author.

Comparing this to your comment is whataboutism. Comments on hacker news are free to read. If you want to be payed for your writing, use a platform that support this.

However, you do have an automatic copyright on everything you write and I would need your permission (eventually by paying you a fee) to republish it in a book or somewhere else. Fair use is an exception to that, but the amount of text we can reuse without permission is limited. These are rules.
Maybe they want SMS updates to their shipping, does that mean you should ask for confirmed phone numbers on signup? Of course not. Let them enter their email or phone number for shipping updates when they're confirming their purchase.

Ideally you shouldn't require users to make an account to make a purchase at all. There should be a "guest" path for purchases. Some sites still get this right. I can buy anything from plane tickets to pizzas without having an account on the company's website. Meanwhile half the "Show HN" non-commercial toy websites I come across seem to require a confirmed email for no good reason at all (probably because the webdev is hoping his little toy website somehow becomes a real business, and then he can spam my inbox with updates about this and turn me into a paying customer.)

Off the top of my head, here are some companies that don't require me to confirm my email address when making a purchase or an account: Southwest Airlines. Dominos Pizza, Hacker News, Reddit.

If those guys don't need a confirmed email address, probably your site doesn't either.
Based on your user name, shouldn’t you have dogs?
The melting will stop when cooling improves.
It’s nice. But I would love it more without competitive features. Maybe you can choos if you want the relax or competitive mode.
I think the lack of awareness is more due to the lack of written records.

I'm not so sure that I would say that there is no "awareness", and if there is a lack of awareness- it seems more likely that the lack of awareness is due to the fact that everyone is self centric, Europeans are going to be more aware of European history, in the same way that having grown up in a very specific region of the US, I am more well versed in the local native history than someone that wouldn't be. For instance, in elementary school, we went to visit native burial mounds and were educated on the local native history. All the native names for roads, towns, etc, they were local tribes that we learned about.
Works fine for me. I’ve had great success with it in Switzerland, Italy, Thailand, California.
I wonder if a lot of those countries would do better to declare bankruptcy and not pay those debts.
Yggdrasil is not really anonymous, though.
> The guarantees are the same as what you get with e.g. Rust.

I'm not sure how they could be, given that Rust checks exhaustively and Go doesn't. If one programmer messes up, then that's it, an unhandled exception might occur in the future. I would rather rely on the computer telling me when it should be handled over humans.
I didn't believe initially that a person like Elon would not understand how ads business work. Let's see how this round of f around and find out pans out.
Carnivore also reduces my tolerance for my meds. They last longer. In fact everything runs better for me on extremely low to zero carb. Mood, sleep, digestion, cardiac output, blood pressure, pulse rate, energy.
The remark from Alan Perlis feels pretty accurate to me: You think you know when you can learn, are more sure when you can write, even more when you can teach, but certain when you can program.

I can read a book on a subject, and understand it to a degree. If I write down what I learned in my own words, then I must come to grips with the fact that I didn't understand everything; writing it down forces me to come to a better, more organized understanding. Teaching it to someone else means I must be able to explain for someone who does not necessarily have my own background, and who may stop me to ask questions. Programming the knowledge to a computer means that I must account for all questions; the knowledge must be completely and precisely defined.

I reckon very little knowledge has yet been adequately programmed into a computer, but many people stop at the first step, and never write or teach.
Your data gets encrypted on your computer, with a key derived from your master password. Your master password is never made available to the server.
So you are the one which needed to go back.
Grid and Flex serve different purposes for layout. Also Grid has many of the same keywords as flex, but is more complex.

I find CSS Grid easier to understand than Flex. I also think it's easier (arguably more logical) to start with Grid and then understand Flexbox and how fits in your Grid.

The problem is that popular frameworks like Bootstrap and Bulma still don't support CSS Grid (they use flexbox only for layout, although Bootstrap 5 has opt-in CSS Grid). You could argue that CSS Grid makes frameworks redundant for layouts only.

Developers have rightly complained how cumbersome CSS layout has been in the past. It's ironic CSS Grid is available in all modern browsers but developers still aren't using it.