skysight-inc/HackerNews huggingface dataset:
How to definitively learn regular expressions in programming languages
To learn regular expressions once and for all, we'll understand what they are, when to use them and how to master them with a few study strategies.

What are regular expressions?
Regular expressions (or “regex”) are strings of characters that define search patterns. They are widely used to search, manipulate and validate textual data, either in a line of code or in a data set. They are supported in several programming languages, such as Python, JavaScript, PHP, C++, and many others.

In essence, a regular expression is like a search language that allows you to define specific patterns for:

- Search for words in a text.

- Identify numbers in sequences.

- Filter strings based on complex criteria.

Use Cases for Regular Expressions
1. Form Validation: Regex is common in validating emails, passwords and other form entries, ensuring that a piece of data follows the right format.

2. Text Search and Replace: Replace strings or parts of strings in a document or file based on patterns. Example: changing all telephone numbers to a single format.

3. Data Extraction: Extract complex data from text, such as URLs, IP addresses, hashtags or mentions on social networks.
4. Log Analysis: Useful for analyzing server logs, where regexes can help filter out specific messages or errors.

5. Web Scraping: When capturing information from web pages, regular expressions help to search for structured data in HTML.

6. Structured Data Parsing: Manipulate or restructure JSON, XML, CSV etc. data based on specific standards.

How to Learn Regular Expressions the Definitive Way
1- Understand the Basic Structure:

Start by learning the main operators and characters:
- . (dot) - any character.

- *, +, ? - repetition quantifiers.

- [abc], [^abc] - character classes.

- \d, \w, \s - shortcut metacharacters.

- ^, $ - start and end of line anchors.

2- Practice with Interactive Tools:

- Tools like [Regex101](https://regex101.com/) or [Regexr](https://regexr.com/) help you test expressions in real time, see detailed explanations and understand how they work in different languages.

3- Learn to Read and Write Complex Regex in Parts:

- Divide more complex expressions into blocks. Practice reading and understanding each block before combining them.

4- Solve practical problems:

- Apply regexes to your own projects, such as filtering emails in a contact list or formatting dates. Practicing in real-life scenarios helps to solidify your learning.

5- Revise Regularly and Gradually Increase Complexity:

- Revise regularly and always look for new challenges, evolving from basic expressions to more advanced regexes.
Check how US steel and auto industry prospered in a connected world with unionized workforce competing with Mexico labour.

You can't legislate your way to profitability... Global competition will eat the profit margin and companies won't have enough money to honour their contracts and will go bust (as history shows).

No written law can compete with the invisible hand of the market.
This feels like a particularly derogatory take on the OP's wife's home country, which is ironic given that TFA is about "horrendous dentistry" in the US. Literal comment from the article

"Dentists are not required to learn how to place implants in dental school, nor are they required to complete implant training before performing the surgery in nearly all states."

"I was frankly stunned at how bad some of these dentists were practicing,” Prisby said. “It was horrendous dentistry."
The whole article is about how there is a tradeoff, sorry they didn’t investigate your preferred technology but you can’t expect them to try forever. Even if they had tho, are those really “batteries included” offerings like Rails?
Location: India

Remote: Yes, absolutely!

Willing to relocate: Open, if it's worth it.

Technologies: Using modern full-stack tech and building web applications with AI (Next.js, TypeScript, Server Actions, ORMs, Cloudflare, and more)

Résumé/CV: Here's proof of work -> https://x.com/sujjeeee

Email: contact@sujjeee.com

Website: https://sujjeee.com

About Me: Full-stack engineer with expertise in building secure, scalable web applications from the ground up, using modern tech stacks to deliver optimized, production-ready solutions.

What I'm looking for: Excited to work with advanced full-stack technologies and eager to explore DevOps practices using AWS, GCP, or Azure to design solutions that are both optimized and resilient under high traffic. I have a passion for building secure, scalable applications that can reach millions of users.
Before AI Nvidia made some nice money from the crypto craze. Also, during pandemics and after, but before AI, there was a severe shortage of Nvidia GPUs.
Which one's a military operation? X or the DDoS? Both?
Just curious, what nice country are you referring to ?
> Large applications written in Rails won't run fast, might be ridden with bugs and might be hard to maintain and extend.

With care, none of that is necessarily true. I think that's an overgeneralisation.

I've worked with many large, bug free, stable and easy to modify rails apps. I've also worked with messy rats nests rails apps, and go apps, etc.

It can be true that some languages/frameworks make it easier to get into that state, but all have a chance to make that a possibility, or other trade offs that make it difficult to build with for other reasons. With discipline you can make anything work.
Go is not a low level language. It does pretend to look like C but places at the other end of abstraction spectrum, even if it doesn’t seem that way.
I just prepared some data https://docs.google.com/spreadsheets/d/1C73B9XI14rLxYD_4kedG...

we are migrating to Clickhouse so it will be easier to get some interesting stats soon, then from MySQL ;)
Watching "Brilliant Minds" probably won't help, great to see Zachary Quinto as Dr. Wolf ;-)
https://www.nbc.com/brilliant-minds
The 1917-1918 flu pandemic also stood out for the many novel short-term and long-term effects, most of which we are still learning about because records and data collection were so poor. Every new spillover is an opportunity to learn what can happen that was not captured in our very bad memory of such events, effectively none of which have been rigorously recorded until the mid-20th century.

There is, in other words, no reason to suspect any particular outcome. Given how poorly we handled the still-ongoing SARS-CoV-2 pandemic there is zero reason for optimism.
Given that experience, think about what state the alternatives must be in!
I can see where they are going with it and wow! Truly the proof that we are all indeed in a simulation.
No, they’re bullshit. Stop selling bullshit.
Nvidia will make general purpose GPUs while the AI players will make ASICS. I guess most data center will prefer GPUs so customers can run whatever AI model they need.
We might not know if it's a valid cancellation for another few months and many millions of lawyer dollars.

I wouldn't be surprised if Arm is strongarmed into playing hardball with Qualcomm by Apple itself.
Does it do NNTP?
Rust is a language built by extremely smart people, unfortunately their focus is more on type theory and sparing few allocations than building something useful and coherent for blue collar devs like me. When I read a blog post on rust, I literally don't understand half of it, although I'm working with rust since 2020.
That was the result of an previous thread on asahi. It was the only time I've been embarrassed by the HN community and it's treatment of people contributing to open source.
Some of my favourite reading on this topic is Matt Pharr's retrospective on ISPC: https://pharr.org/matt/blog/2018/04/30/ispc-all
Except that not enough people are getting colonoscopies, and the cost and time is significantly more (for both the patient and the medical team).

In Australia, at 50, everyone is given a poop stick which we send to a lab for results. I think one comes in the mail every 5 years if your previous result was negative.
Other companies don't have CUDA.
The article recognizes the jump as very worrisome, but it's also a new development.

Milk/dairy infections have apparently been happening for some time now; per quoted headlines:

> Utah reported that 8 dairy herds in Cache County were bulk tank positive for H5N1, tested as a result of a B3.13-infected layer flock. Utah is the 15th state with confirmed infections in the U.S.

> California reported another 5 B3.13-infected dairy herds with the count as of yesterday standing at 193 (of approximately 400 nationally confirmed infected herds)

The testing is a consequence of that situation.
Just the true ones.
I'm learning Motif just for fun with "Vol6a" and it's fairly easier than Xaw. When Motif was propietary,
GNU users did an astounding work with LessTif, as programming in Xaw was far more level and prone to bugs because you had to keep more stuff set.

Also, Xaw3D was a good effort on mimicking Motif widgets, but it had the same exact API as Xaw.
And, finally, in late 90's TCL/TK had a big boost under GNU distros because it was a quick way to plug an UI over some C software.

If you like Motif, you might like EMWM too. WIth the suggest addons and extras, it's like a mini-DWM from IRIX minus the launching dock; altough you don't need it, the toolbar it's more than enough.

A pity Mosaic it's propietary; adding auth support for NNTP it's something every C novice could do under 2 minutes with a printf (and I did). But there's some nice TCL/TK software which just requires tcl-tls and a plain TCL/TK install:

https://codeberg.org/luxferre/BFG
Location: Estonia

Remote: Open to it

Willing to relocate: No

Technologies: Python, Javascript, Vue.js, Node.js, Flask, Docker, Svelte, Postgres, UI/UX

Résumé/CV: https://pdfupload.io/docs/5a7e3afc

Email: mahin1384@gmail.com

Hi, I'm a full-stack developer with ~7 years of experience, passionate about building performant, scalable products. I love building stuff, from apps to internal tools. Please send me a message if you're interested!
I’m not blaming and I fully knew what I was getting myself into. In the end it worked out and successfully launched etc. Just took me longer and had a learning curve that made me a better developer too.
But had I wanted to just launch quickly from a business perspective Rails would have been the way as I already knew it. I still to this day like the simplicity and speed of Go.
Like every year or two I come back to Go and try to get the dev experience for my own framework right with Rails in the back of my mind but it’s tough and more of a boilerplate than a framework.
Not getting this one. Programmer writes app in framework he knows experiences productivity?
Can you explain further... how does this improve upon websockets and socketIO for node?
These symptoms are a classic sign of burn out. One thing I notice in your writing is you’re very tied up in things having meaning and mattering in some specific way. This itself can lead to burnout because if everything must matter you must be emotionally invested in everything. But you can care without it mattering to you. You can do a good job without being totally invested in everything about it. You can love what you do without it having significance in every detail.

In a complex job with a fast pace, a fair amount of tech debt around every edge, a relentless pace of innovation happening, and - yes - growth, there’s too much to be invested in everything. It doesn’t have to matter that much. The parts you really care about, the craft and quality of your work, your relationships, mentoring and growing the people around you, seeing things get better one piece at a time, and a few things - they can matter. But everything can’t. And even those you have to at some very deep level realize don’t matter really.

Stripe doesn’t really exist in this world. It’s a shared fiction to help frame the interactions between you and a few people you actually interact with in a day. The real truth is the only thing that happens in your days is you type on a computer and talk to a few people. It actually doesn’t matter in any meaningful way what you typed or some higher purpose around humbling honesty or exothermic curiosity or PMEs or whatever stories we tell ourselves to create some sort of reality out of the fiction. The only important things you really do is how you shape the lives of the people you interact with, and how you shape your own life.

Burnout is hard. Adopt a daily meditation practice. Let your mind heal by letting go of meaning and practice enjoying the moment you’re in with whomever you’re with, but most especially yourself. The joy will come back faster the faster you let go of things needing to matter or have deeper meaning, especially when those things are a fiction like a company or a career or any of the other small and big lies we’ve been told and we reinforce to ourselves daily. I know I’ve been there man, and I know exactly - exactly - the sensations and experiences you describe. It gets better, but I think once you get there it never totally goes away and it’s easier to slip back.

FWIW I don’t think burnout is the same as depression. I’ve felt both and burnout is different. It’s that loss of ability to engage - which overlaps with depression - but usually doesn’t come with the thoughts of hopeless despair and desire for life to be over. It’s just more of a deadness and inability to initiate what you think you should want to do but can’t, and it pervasively impacts everything.

It gets better.
Does Godwin's law (rule of Nazi analogies) apply in observable reality?
Name three.
Any action that requires most of the human population to do or receive something is certainly not easy or cheap or uncomplicated
My guess would be that it was personally advocated for by someone who has enough influence within Apple to make it happen. Possibly someone on the hardware team, as I hear that the people developing the Apple Silicon processors run linux on them while they're in development.

This used to be one of the best things about Apple when Steve Jobs was still running the company: you'd get a bunch of features that a purely profit-focussed "rational business" would never approve, just because Steve wanted them. And I suspect Apple still has some of that culture.
I think the hybrid idea is right, it’s just that I would like to take myself off to a mountaintop for a year to practise my Haskell-Ninja skills even if I come home to suburbia later
I meant Windows Notepad on Win11 is doing this annoying thing, not Notepad++.
Are these like gigs? Can anyone worldwide get this cash?
Ask HN: Does anyone have any successes with Jobsolv.com?
I'm debating if its worth the money.
Do they have a project that achieved success?
> Large applications written in Rails won't run fast, might be ridden with bugs and might be hard to maintain and extend.

I have never used BaseCamp, but I believe their products are well written and decent, hence with adequate care, good architecture and maintenance, it should be possible.
Idk, personally I see no reason for it to top it. IMO, it's a tenacious stereotype complex enough to stay unquestioned by most. And propagated by the same principle. These exist and can live for decades if ok enough.
Passing something that isn’t a password + salt into bcrypt is the mistake here.
WSL1 reminds me of coLinux of old times.

https://en.m.wikipedia.org/wiki/Cooperative_Linux
It comes up every day, but it also goes down every night. Of course you can solve this with storage, but then the solution is no longer the cheapest available energy source (yet).
> MUCH less secure

I accept that this might be true for your situation today (though I doubt that: apart from someone potentially hacking your mail server, they could also hack into your domain registrar or DNS provider, and MFA would protect you from that, even if you'd have other, bigger problems due to losing your mail), nothing stops you from keeping the security level high (eg. use a long passphrase for your MFA device instead of a simple pin; if it's a phone, encrypt it too...).

I am guessing what you mean is that it would be a lot more inconvenient but not much more secure: it helps to be honest with oneself if you want useful advice.

Otherwise, the only thing you are signing up for is people telling you how you can make it more secure (like I did :)).

So, which is it?
Or, on the client side, any software that uses libpng to render PNG images (since that's using deflate on the inside). There's probably even more direct exploits against qbittorrent than MITMing the GeoIP database download.
The conversation-killer isn't the application of a reference to Hitlerism. It's the invocation of Godwin's law to squelch any comparison to Hitlerism.

The fact that the probability doesn't approach 1 implies that the number of conversations in which some participants veer toward Hitlerism (1) is greater than the number in which interlocutors are willing to rise to the bait. Probably because they heard about "Godwin's law", the most effective tool since holocaust denial to silence people who will call out fascism.
This slowly alters the essence of The Internet, due to the permissionless nature of running any self-organising system like Bittorrent and Bitcoin. This is NOT in Android, just isolated Web Apps at desktops at this stage[0]. The "direct socket access" creep moves forward again. First, IoT without any security standards. Now Web Apps.

With direct socket access to TCP/UDP you can build anything! You loose the constraint of JS servers, costly WebRTC server hosting, and lack of listen sockets feature in WebRTC DataChannel.

<self promotion>NAT puncturing is already solved in our lab, even for mobile 4G/5G. This might bring back the cyberpunk dreams of Peer2Peer... In our lab we bought 40+ SIM cards for the big EU 4G/5G networks and got the carrier-grade NAT puncturing working[1]. Demo blends 4G/5G puncturing, TikTok-style streaming, and Bittorrent content backend. Reading the docs, these "isolated" Web Apps can even do SMTP STARTTLS, IMAP STARTTLS and POP STLS. wow!

[0] https://github.com/WICG/direct-sockets/blob/main/docs/explai...
[1] https://repository.tudelft.nl/record/uuid:cf27f6d4-ca0b-4e20...
A locked down smart phone controller by Apple or Google is hardly a hacker's device. The pledge is about smart phones, not about computers.
I don't think I ever came across fatmap2.txt, but I do miss the good ol' times. I think my reference was 3DGPL, unfortunately can't find a live link to that.

Took a quick look at fatmap2 and surprisingly it doesn't do perspective-correct texture mapping (although it points to some other document in the introduction).
It seemed the best option I could find for a rp2040 microcontroller when I went looking recently? Perhaps not for okta...
Oh yeah, I'm very aware. My work machine was a 2015 MBP until about 6 months ago. It was really bad towards the end.
If you knew how much of a common thing this is you'd probably just uninstall everything.
Rust is fine.

The worst is TypeScript and Node.js.

A lot of startups are making their code bases in TypeScript. And it is an unbearable mess.

I recently consulted with a company where I rewrote their app in Rails. And now it's much simpler, much better, much more extensible, and far more enjoyable for the developers to work on it.
3D Workers Island
Guutaale
Python #1 on GitHub and speedup via Codon / Cython
Broadcom Brings Back VSphere Enterprise Plus and VSphere Standard
> Among other reasons to consider it: if you want to run on a FaaS platorm or container setup, Rust has much faster cold start time and makes for smaller container sizes.

Faster start time maybe, but I’m not sure about smaller containers. Rust is terrible with binary sizes in my admittedly limited experience.
yeah I'm aware of the stated purposed of the Monroe doctrine, nonetheless as noble as it was it also functioned as saying the Americas belong to us, other colonial powers, and we will protect it.

The definition of a sphere of influence is "a country or area in which another country has power to affect developments although it has no formal authority."
Rails (and possibly Django and Laravel) are just light-years ahead of any other stack for building web apps. They have dealt with all the tedium, know all the requirements, and actually get out of your face when building an application. I have been developing web apps for 15 years now.

I have tried Meteor (back in the day), Remix, Nextjs, Node w/ Express, etc. Always talking about how much better they are. But in my mind web dev is a solved problem. The js stuff is mainly just developers wanking off, driven by a bunch of dollars from big companies.

Systems stuff, deployment infra, etc. is great for stuff like Rust & Go, but shoehorning into web dev makes no sense. I would love to just move on from this debate but it seems thats going to never be possible.
> “Why would you use this basic image diffusion model? It just creates a poorer version of existing images!" Is what your statement sounds like.

I’m not the OP and that’s not what my reply “sounds like”. You’re not reading my comment charitably.

> Obviously, you'd do the same thing with this game engine as is done with images. You combine together multiple world models, and thats almost the same as creating a new game.

That was actually my point.

Adding some VFX to a game engine doesn’t alter the game engines state.

What some of the proponents of this project are describing is akin to saying “ray tracing alters the game mechanics”.

It doesn’t matter how smart nor performant the AI gets at drawing pixels, it’s still just stateless pixels. This is why I was discussed practical applications of AI that can define the game engines state rather than just what you see on screen.

Image diffusion models specifically are not the right applications of AI to create and alter a persistent game state. And that’s why people are underwhelmed by this project.
You can write large applications in Rails that run fast, have low bug counts and are not hard to maintain or extend. There are many examples in the wild.

Rails is quicker to build in than Java, C# or Go for most functionality needed in most web applications for similar skilled developers. In my experience, up to 3x quicker.

I’ve worked on large monoliths and SOAs, and worked alongside Java teams. I even introduced Go to a Rails shop because I believed what you did.

Turns out the real problems were MVC isn’t right for everything, and we weren’t name-spacing with enough rigour. Fix those in small and targeted areas, and Rails is just fine.
Why? I don't really understand the point of declaring a preference if there's accompanying explanation.
If it's about convenience and not security, you can trivially make a TOTP "authenticator" as a script to use for any service. If you really don't think this provides any extra security, you might push the private key to public GitHub to avoid ever losing it. You'll need to adapt all your verification steps to include a callout to the script, which might be easy or hard depending on the desire.

Now, I would strongly advise against this (and I am deliberately low on details), but if you know what you are doing, nothing can stop you.
Somewhere, DHH is reading this and smiling…
A picture says more than 1000 words
I too really liked Omnivore. Looking for an alternative that'll just take care of the newsletter aspect as that was my #1 use case.

Interestingly, SevenReader (or is it Eleven? :D) is the one I really don't even want to consider.
You took parents sentence too mundanely. Why not add some basic capacitive or resistive touch layer to each page, so touching what was a link would be detectable, and then have a microcontroller blast the corresponding URL over whatever bullshit Bluetooth Low Energy iBeacon-like marketing spam protocol currently works best?