skysight-inc/HackerNews huggingface dataset:
My first jobs were heavily focused on parsing data from HTML and regex was (and still is) the most common solution for the majority of cases

To learn it, I played a lot of regex golf [1]

I also enabled regular expressions in my code editor's Find feature so every search I'd make used regex. Having it enabled in my editor made learning it more immersive and useful, especially when combined with things like find-and-replace. I highly recommend permanently enabling that in your editor as well

Also, challenge your coworkers to see who can make the shortest patterns for a variety of cases and see whose is the most versatile. It's always a fun time

[1] https://alf.nu/RegexGolf
> If it's really all that dull, people will just take up extreme sports such as juggling honey badgers or naked skydiving over active volcanoes.

That, or... I know that'll sound crazy but... not everything has to be an adrenalin rush. Just let go, stop taking your keep-me-alive-forever medication, have a peaceful death during your sleep, contemplating the fact that you'll make room for new humans to have the chance to discover all the things you also had the chance to discover during the last 231 years?
When companies are so big that their value is measured in the trillions I think the line between the two is blurry. These companies are managed top down internally after all, so they’re just a smaller “Soviet” situation.
I can hardly remember what happens in the episode, but I don't think anyone says all agents would try to live forever.

What I am saying, it that generally, an agent should try to live forever unless the motivation is otherwise outweighed.

Yes I know "the slave of desires" and all, but unless those desires are very strange indeed, probably due to successful AI alignment, it would be quite common for immortality to be rational.
I've read a bunch of his books and found both his engineering and philosophical ideas deeply inspiring and useful in my work as an engineer and scientist and in my hobby as a sailor- his deep understanding of geometry and tension, etc. has allowed me to build novel sail rigs and systems.

Fuller was awarded a huge number of patents on his inventions- and although mostly impractical, they are quite certainly new inventions of his own design.

I think it is quite likely that he was as narcissist, in that he worked hard to project an image of himself as a certain type of person, but I also think the type of creative out of the box thinker he actually was, tends to be labeled as a charlatan by people with authoritarian personalities.
A ‘flag’ is just a funny name for an increasing (and therefore increasing in dimension) sequence of subspaces. The ‘standard flag’ is the sequence spanned by the standard basis vectors: start with {0}, then things of the form (x,0,…), then (x,y,0,…), and so on. *

What I’m saying is that an upper triangular matrix preserves each of these subspaces because it sends each basis vector e_i into the span of the e_0, …, e_{i-1}.

You’re absolutely right that upper triangularity is basis-dependent and so is somewhat ‘weird’/‘evil’ (in fact, not even well-defined) as a purported property of maps rather than matrices. What I meant to say was ‘triangularisable’ by analogy with ‘diagonalisable’ — matrices which represent such a map in some basis. Given a linear operator, its matrix representation is triangular when expressed in a basis B if and only if it preserves the standard flag in basis B.

* https://en.wikipedia.org/wiki/Flag_(linear_algebra)
Yes, you do actually need to do this. You basically need to calibrate every sensor to ensure that the correct wavelength of light ends up in the right channel.
When I was young I used a chat program developed by occasional HN commenter @krazydad. It had a client-side scripting language called IPTSCRAE (https://en.wikipedia.org/wiki/IPTSCRAE), with which I could write commands or eventually chatbots with the incantation

{ ... } CHATSTR "(.*)" GREPSTR IF

Since I was about 11 years old, my brain was plastic enough to take the postfix notation in stride, and regular expression syntax is still second nature to me.
"Learned" in University but it wasn't until Jeff Friedl's Perl Conference talks that I really became one with the regex engine. He taught you how to think like the regex engine and thus how regular expressions would be interpreted and thus how to write them. Then I got a master class in RE from Tom Christiansen when we were writing the Perl Cookbook.

Jeff wrote "Mastering Regular Expressions", which grew from that talk. You probably want a copy even though it was first released in 1997. For the mindset of RE, you can't beat it.

Learning REs is a roll through:

* how matching happens (advancing, matching, backtracking)
* using * ? and {} to match repetitions
* greediness and stinginess within the RE
* character classes, both [manual] and escapes like \s \W etc
* anchors and "what a line is"
* grouping and backreferences
* accessing groups outside the RE
* substitution and access backrefs in substitutions
* find ALL the matches
* complex parsing (just don't, it's rare not to regret it)

and then it's an absolutely epic deep-dive into the minutiae of what line starts and ends might be, Unicode and regex, code to be executed from within the regex enging, using code to BUILD regex and worrying about when escaping happens or doesn't, denial of service regex, etc. that will take you through ASCII, various Unix tool chains over time, and a bunch of other fun stuff.
A Redis Lua sandbox escape on Debian and its derivatives
In case it helps any reader, I recently discovered the [cmd + shift + a] / [control + shift + a] shortcut in chrome for ‘vertical tabs-ish’ in searchable form
obligatory: https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQyItWM...
While it's impossible to know without having actual access to the work, something that's sadly lacking, I've got to say that I'm looking a bit askance at a School of Architecture dissertation that conducts a psychological analysis of its subject with a clinical assessment of "grandiose narcissism." Likewise, I don't think I'd expect much from a PsyD's dissertation on architectural tensegrity.

However, the dissertation defense was held against Jonathan Woodham, who's a noted scholar of 20th-century architectural history, so there's likely something there, even though without the dissertation to read the abstract seems exceptionally combative and audacious.
to be honest, they should have done a layoff 3 years ago, as soon as Pat Gelsinger came onboard, and fired 2 entire layers of management.

No engineers or support people, but just pure middle managers - fire 2 or 3 layers. if they did that 3 years ago, they would be in a better position now.
Microcomputer having ALU performing min and max operations (1996)
The whole situation with Intel and AI is also baffling to me. They have an excellent product in this space - Gaudi2. Faster than A100 and very attractively priced. I’ve tried it, it works fine. Gaudi3 is also about to come out, and it’s twice as fast as Gaudi2. Yet nobody is buying. I get why you wouldn’t want this for training - it requires some minor code modifications and your Triton kernels are worthless. But for generative inference this is just what the doctor ordered.
Yeah I'm a little confused by the premise. How would reshoring chip production be easier if Apple weren't out there buying chips? I get that they are buying up all of the TSMC chips in some segments. Doesn't that just create demand for an alternative? I can't cohere the themes of this article.
I don't know the right way to describe it but Apple is the gatekeeper to their customers. I think it's accurate to say they sell access to their customers.
Would it be naive to say it looks like quite a simple (and ergo, cheap) molecule to synthesise?
Antisocial Club
Fun read. One detail towards the end:

> Worse, I'm already kind of dissatisfied with the iMate - it doesn't distinguish left and right for Alt/Shift/etc.

IIRC, the keys were indistinguishable at the ADB hardware level. The iMate is probably not at fault.

Again IIRC, there was also a hard limit of either one or two regular keys held down at one time, plus any combination of modifier keys. Maybe the limit was one key for pre-ADB and two keys for ADB?
Glad it wasn’t just me!
See also https://www.enemy.lol/
Well, for starters, you get hardware acceleration and device pass through. So you can use your webcam and stuff under linux and you get animations, smooth video playback, etc.

Also you can access your linux files directly from chrome os, and vice versa.
Whatever you do, don't hire some tech bro who tells you that you should build this in Ruby On Rails or Elixir or Elm or Rust or something on the cutting edge in any way.

This is standard corporate technology and needs standard ordinary technology. There is zero requirement for this sort of application to use anything fancy. Indeed if you use fancy technology that scratches the itch of a tech bro then you are buying yourself problems hiring and recruiting developers - this is one of the worst problems you can have. Not such an issue right now while the employment market is down, but a massive issue when it is not.

Use ordinary technologies, any of these things are fine:

Java

C# .NET

Python

TypeScript

Postgres

Also, don't use cloud specific technologies such as serverless. Just write software that can run on an ordinary Linux server. Once you start using serverless you are bound to that code and that cloud forever. Also, and other may argue against this, but my experience of building application using cloud technologies is that way too much developer time and effort goes into making the cloud work and not enough into writing application code. Have a general directive in place to use the cloud for running compute instances and avoid using cloud application services unless really necessary and have a process where doing so requires signoff from the top. Nothing wrong with cloud virtual machines and email sending but just run most other things on Linux - own your own computing infrastructure and be in a position to pick it up and move it elsewhere or even on premises if you choose.

In summary, beware tech bros advocating anything except Java/C#/Python/TypeScript/nodejs/Postgres, don't use serverless and use cloud computing for virtual machines, email and DNS and not much else.

Hire a development manager with experience building corporate applications and let them hire three developers, a tester and a business requirements analyst and that's phase one of your "bring it in house project". Build a series of small chunks of functionality, don't bite of more than you can chew.
> Use row reduction instead

Or, if you're using exact arithmetic (e.g. cryptography), you should use something like the Bareiss algorithm - Gaussian elimination is only polynomial if you use floats: https://en.m.wikipedia.org/wiki/Bareiss_algorithm

The Leibniz formula is totally impractical for calculating determinants, but it is sometimes useful in proofs due to its symmetric form.

I guess if you just throw a definition of the determinant at people and leave it at that, I can understand that it doesn't make sense. But that's not how I was introduced to the concept (I learned about abstract vector spaces and transformations and how they are represented by matrices - and only then about determinants and their properties and different ways of computing them). That's why Axler's critique rings somewhat hollow to me - maybe it's different if you learn about linear algebra mostly in an engineering context as opposed to pure maths.

For theoretical purposes, determinants are important because they constitute a homomorphism between the general linear group and the multiplicative group of the underlying field, and the kernel of this homomorphism is the special linear group. This leads to some very short and elegant proofs.
The bottom button in the sidebar ("Customize sidebar") allows you to turn off the tab bar at the top.
> Do you mind if somebody takes notes of the conversation you're having with them?

It would certainly change the way most people will interact with them.

> At what point do the notes become too detailed?

It doesn't have to be a binary and can vary for different people and situations.

> Do you mind the fact that all modern smartphones technically record all calls?

You cannot retrieve the "recording" of a call, so this is not really meaningful in any relevant way.

> How's an AI "recording" your conversation in memory, transcribing it and writing a summary of that transcript, different from a phone doing the recording to RAM, and a human brain doing the transcribing and writing?

Because it is doing it all the time. "Quantity has a quality of its own"
Ask HN: How to answer questions like "why do you want to work at your company?"
I see lots of companies asking questions along the lines of "why do you want to work at our company?". Should I answer anything else besides "I'm looking for a job and this position matches my skills"? But isn't that an obvious answer that applies to every candidate? Or is there something else I'm missing? And why companies even ask these kinds of questions if the answer is so obvious?

If you're hiring, why do you ask that question and what do you expect to see as an answer?

If you're an applicant, what do you usually answer?
My picture is on my Costco card and I have to hand it to the cashier when I checkout. I’m not sure what scanning on entry does that would eliminate that step.
do soil analysis before even grading work. decide if need to import soil and modify before erecting any structures
Can you be more specific with like examples or something?
When you see many of functions with 500 - 1000 lines or most of functions with 10-15 if else statements, I am not joking... There lots of and lots of FIXME: bla bla. If you see this what would you think ?
Apple was an Intel customer. Talking about Apple’s role in the semiconductor sector MUST include Intel because one must explain how and why Apple decided to develop their own (first mobile, then computer) chips in the first place instead of sticking with Intel. Why is Intel not competitive? THAT question seems much more pertinent to America’s chip travails
the downside is that the foundry process has to work properly, and by all reports, it hasn't started working properly yet.
Except each and every one of them are grifts.

As soon as VCs get involved, the startup becomes a grift for VCs, private equity and wall street to make a return by gutting the startup into a shell of itself.

dotcom boom - .com IPO or bust, move onto the next grift.

VC backed startups - Decacorn valuation or bust, move onto the next grift.

crypto - to the moon / lambo and blockchain, or bust (dump tokens on retail), move onto the next grift.

AI - automate, accelerate and keep proclaiming "AGI coming soon" or bust, move onto the next grift.

In modern times, the interest rates rising made it easier to find the grifting startups.
Right click on the empty area next to the address bar, click "Customise Toolbar...", then in the bottom left-hand corner you can toggle the Title Bar.
Balkan Video Games Were Different
I’m not sure the argument holds water - it seems to be that Apple has huge market power (yes), and manufacturing in Western world basically moved to China (yes), India (yes). But it’s hard to say this is Apples fault.

If Apple had not been there, are we saying manufacturing would have stayed onshore - steel foundaries, car factories and chip manufacturers- I mean China and India account for over 3 billion people, who want roads, houses, cars and washing machines. Where else are the factories going to be - the weight of demand means even if US owned the factories they would still be in Guangdong.

So yeah, Apple probably misuses its market power, but it’s hard to imagine it did anything but tip the playing field further down the way it was already pointing.

So if we tax or punish Apple, do we really think it will all flip back?

My personal take is that energy and computing are the things that need to be in shored - no matter the cost differential. Industrialised counties, hopefully, will become energy independent (lots of solar, lots of insulation, lots fewer transport) and computing is going to be similar - focus on that verifiable secure designs
I'm on 1018 right now, I think you're the first person I've ever seen with more open tabs than me ))

I've actually been working hard to have less open tabs every evening than what I had when I started work. Maybe in 1018 day I'll close that last tab. And yes, there is a reason that every single one of them is open.
Helm is quite often the default supported way of launching containerized third-party products. I have works at two separate startups whose 'on prem' product was offered this way.
No no, it’s when there’s no one else to buy from
> and the way he talks about “real engineering” sounds really appealing to anyone who’s cranking out CRUD apps at an MBA-dominated company.

Tbh, I think this bit is aimed squarely at laypeople. Even people who only work on CRUD apps would likely raise an eyebrow at, say, the “print out your last 60 days of code for review” thing. His ‘hardcore engineering’ thing is blatantly absurd to anyone in the industry, but… maybe convincing to people who aren’t?
CityX: Controllable Procedural Content Generation for Unbounded 3D Cities
This is a much better parody than the OP, was disappointed that NotFriend did not attempt to copy the website design.
I think there is still a good business to be made taking the AI stuff we have right now and making it highly performant.

Stable diffusion models are awesome and super useful. I don't necessarily mean the simplistic text->image stuff (though it's clearly useful)-- but denoising, in painting, animation from stills, 3d from stills.... style changes, etc.

LLMs are at least somewhat useful.

We can radically improve image and video compression with performant enough AI.

Plenty of other applications of AI right now are already useful or would be useful if inference were made more efficient or more local (thus private). No more data needed.

You don't need some grand vision of an AI future to get a total addressable market for high performance AI that is in the same ballpark as high performance GPUs for non-AI usage.
Zero calorie sweetener linked to blood clots and heart disease, study finds
Thanks! I'm excited to hear your feedback!

I'm currently using a combination of Remotion (https://www.remotion.dev/) and ffmpeg (https://www.ffmpeg.org/)

Basically, ffmpeg helps with simple operations like cutting, cropping, compressing and resizing and most of the more complex animation are done with remotion.
There are tons of use cases for microcontrollers without wifi. The pico chip can and is used as a auxiliary micro to other systems that have networking already. The pico w will come out later this year.
Deceptive AI is most convincing
I think Clerk looks great but it starts to get quite expensive if MFA is a requirement. Do you have 2FA/MFA in your roadmap?
You don’t need to agree that DEI hiring is useful to see my point about sponsored women in tech clubs for existing employees. What is important is that for employees in the company who take care of children (many of them women), reframing their collective interests as individual problems essentially guarantees they won’t question leadership decisions. This is despite those decisions making their job more difficult, as evidenced by the fact that many women would rather quit than RTO.
Yep, they explicitly call out that the onboard voltage regulator can work with a single lithium ion cell.
Maybe that depends on your mental definition of quest. I don't think of quests as "getting things done" -- they are both more significant and less certain than that. Quests are adventures where you hope for significant outcomes, but where there are many uncertainties. It's OK, perhaps even expected, for a quest to have unexpected outcomes. A quest implies less certainty about the outcome and more of an expectation about personal growth.

A lot of GTD is just drudgery to accomplish. Quests are never drudgery. Difficult, maybe, but the journey is probably a bigger part of the quest than the outcome.
This is the pet rock of our generation.
Citations, lots of them, needed
Suddenly I understand why D&D never quite grew on me. ;)
I'n saying that from a chip supply perspective Apple is "monopsony-ish" since they control so much of the demand for chips. This is probably true in many areas of their supply chain.

The "smell" of a monopsony is the ability to squeeze suppliers to the point of having the power to drive them out of business if they don't meet your terms.
Prepare to consume 1/3 rd of your present rate then
I hadn't thought of that. Fortunately, they're growing in a fabric pot, so I can take them in when the weather turns.
You can open tabs from other devices in Firefox. They don't open automatically though, presumably because some people (i.e. myself) would find that horrible.
I have to say I’m glad to hear of organizations mobilizing around these problems. Companies above some size reduce fair competition just due to their size, and we need to stop wasting time litigating technicalities with them. Our existing laws and definitions fall really short of recognizing - let alone addressing - the problem (of how competition with them isn’t fair, how it concentrates power, how consumers have little choice). It’s why Microsoft can get away with bundling Teams or abusing Windows users with dark patterns, why Apple can get away with locking down the devices we own with walled gardens and extorting developers with App Store or payment fees, it’s why Google can operate for two decades as a monopoly, and so on. This needs to change, and fast.
What a bunch of nonsense. I don't buy Apple products because someone might make fun of me if I don't. It's because they are best in class and integrate so much better than any competing offering.
Controlling Pac-Man with an accordion [video]
Name it “Barra”.
> force you to publish a false update.

I see. That's the compelled speech that the first amendment protects against, as outlined in the EFF FAQ [0]. Interesting.

[0] https://www.eff.org/deeplinks/2014/04/warrant-canary-faq
I am generally skeptical of systems that apparently mostly rely on the methodology of "call this thing another name and you'll change your approach to it". This thing works because there's a community / group session around it, but it would probably still work even if you just called goals - goals.
The "gentlemanly" era of space exploration is over.-

The free-for-all's begun.-
It's not possible to point out the evidence any longer - those days are over. There was a public plan, by the government and the host of big tech companies that are in bed with that government (In-Q-Tel, for example, is not some big secret), to silence anyone discussing it. You wouldn't here much about this, because of this.

Conspiracies happen, and the nature of those conspiracies is that they futher somebody's goals (Bush family, CIA, big corporations, who knows), and they're secret plans for a reason, because they run counter to the will of the general public, so knowing about them reduces the actors' chances of success. Large efforts are put into place to keep ordinary people from hearing or thinking about them, until they achieve their goals. High level government agents have testified in front of congress about such efforts, many times in the past.

Rewind to 2003; the selfsame government was engaged in wide-spread lying to convince us that there were weapons of mass destruction in Iraq, and the media was fully complicit in supporting these lies. I lost my best friend, in that war, in 2006, because the big corporations, in concert with the government, convinced everyone to believe in nonsensical lies.

That war would not have happened if somebody said "wait, they're lying, and here's the proof", and people would have heard about this (on the news), before the war was well underway.
They are non-solutions if they cannot pass voter approval. But what are you talking about exactly?