skysight-inc/HackerNews huggingface dataset:
First response is:

> "Don't Repeat Yourself" versus "Repeat Once or Twice"

This is a common misconception, that principle is not about code duplication but about conflicting logic.

From Wikipedia:

> The DRY principle is stated as "Every piece of knowledge must have a single, unambiguous, authoritative representation within a system".

So if the insides of that loop are tightly coupled to a specific business logic you want to be 100% sure don’t diverge and it applies to multiple different types of data: go for it. Otherwise, DRY supports Carmack’s point here.

> When the DRY principle is applied successfully, a modification of any single element of a system does not require a change in other logically unrelated elements.
> Learn about Nostr: A simple, open protocol that enables a truly censorship-resistant and global social network.

> Relays are like the backend servers for Nostr. They allow Nostr clients to send them messages, and they may (or may not) store those messages and broadcast those messages to all other connected clients.

I still haven't wrapped my head around these two words from the nostr site. How can it be truly censorship-resistant when used are entirely dependant on what their relays decide to store and share?
He died a few years ago, so probably someone else owns the domain now.
The least impactful way to spend $300M?
Agreed. I read:

> it turned out that this was technically not allowed.

And thought “no, it turned out this query made no sense and had ill-defined results”.

But the rest of the description is odd:

> In particular, it was not allowed to have a grouped table ordered by a column that is not exposed by the SELECT list of the grouped table.

And I’m wondering if the example query was wrong and they meant:

SELECT product.product_id, sum(product_part.num)
FROM product JOIN product_part ON product.product_id = product_part.product_id
GROUP BY product.product_id, product.product_code
ORDER BY product.product_code;

In which case the change makes sense and is inoffensive.
I suppose this was a case of a failure of law enforcement insomuch as the SFPD has failed to find/hire a trio of precogs.
Or force the big RDBMS to use the same syntax like SQL was intended to be, so I don't have to reach for an ORM or maintain different flavors of the same query.

As an aside, if someone knows a tool that reliably converts PostgreSQL queries to something like SQLite, please share!
don't record your social life.
Alas, living in emacs can't be appreciated until you get good at
emacs. More than the "one-stop-shop" aspect of it, there's the
"everything is a buffer of manipulable text" aspect which, again, can't
be appreciated until you make the leap of faith.
Who says I do? You seem to miss the point of my comment entirely. If talking heads want to continue doing what they're doing, they should stick to what they know about and keep their opinions on sex between adults and minors to themselves. Given his age and eloquence, there was absolutely zero excusing what's been said. OK, he "learned" from it after being effectively cancelled and pushed out of doing what he does, but so what?

Somebody who purports to be a source of moral righteousness who judges others and tells others how to live in terms of software and what services and hardware they use had an appalling take on something very important, ergo maybe they aren't someone to listen to anymore if they couldn't reign themselves in over something so basic.
Holy crap, I went through his likes today, and he's just a fucking awful person.

I should probably get off hacker news and stop supporting this guy's company.
Even glass-covered resistance electric stovetops are better than they used to be. I'm perfectly satisfied with mine. The handful of recipes where it's useful to have an open flame can often be accomplished with a hand torch or the broiler. My next stove will be induction, but in the meantime I'm not missing gas.
>how many targets don't notice that vast quantities of data are being systematically exfiltrated.

how many people do you know that is constantly monitoring their outbound traffic? hell, how many people do you know that even know what that means?

edit: do you mean corporate targets? if so, yeah, i'd expect a competent IT department to be monitoring that kind of activity. i was coming from the home user suffering the malware
I don't think many of us would sign up for bringing the Singaporean or Japanese criminal justice systems to the US. Both places have very little due process and Singapore's police have near-unlimited surveillance powers with very little judicial oversight, not sure about Japan.
To create more streams of revenue, gradually evolve the business. They can’t just be an ad company forever.
I also successfully used it to raise my monitors by a few inches for comfort. Sometimes I did try to read a few pages but I was mostly admiring the typography.
This is neat. I’ve worked with BCI before as a postgrad around 2009 with OpenBCI.

It would be interesting to hear what effect AI might have on up leveling the codebase quality here - checking for bugs in noise reduction / down sampling or even signal detection.
How about something like this:

Is there a specific benefit you see in combining the code here? Combining these together introduces technical risk through increased coupling. Splitting the functionality has very little cost.
Buy SHIB!
Egypt taking US Foreign Aid has always been better for US foreign interests than the alternative. You might want to look at the history here.
In some parts of the world an adult male wearing shorts is extremely frowned upon.
I love that he name checks and quotes Chkalov. Not that I expect anyone to know who Chkalov was, but there's a Chkalov Drive in Vancouver WA, and I went down the "how do I pronounce that, who is it named for" rabbit hole a few years ago, so his name always makes me smile. The Vantucky locals typically say Chuckalov or similar, and look blankly at anything close to ˈtɕkaləf
Police departments have fought legal battles specifically to avoid having any duty to protect civilians or to prevent a crime in progress if they so choose.[0] I do agree with you that they (not just in SF, but across America broadly) have in fact obviously failed on all levels, though.

[0]: https://www.findlaw.com/legalblogs/law-and-life/do-the-polic...
Why Writers Use Platforms
if you have a hard time understanding basic words, anti + white, you have been critically brainwashed.
Unfortunately, the NPR report is misrepresenting the issue. The study in question is about the allocation of the water that actually makes it to the urban centers of a city for rich and poor, not urban impact on the total water supply in the region (which is primarily consumed by agricultural and industrial processes).

The study highlights how inequality in urban water distribution exacerbates a water crisis (and it gets really bad - I saw the effects in Cape Town, site of the study itself).

The author of the article (Emily Olson) is on a three month assignment, with her only other experience a 3 month internship for a rural newspaper.
My first thought was that this is random mumbling, but didn't down vote you. Then again, if it offers any consolation, my mother dreamt the exact same dream, 3 times, exactly the night before her close family member would die.
In vim I wouldn’t know where to find that markdown-table-align exists nor how to write a macro (and I used vim for much longer than emacs). In emacs I just had to notice that pressing tab in markdown mode aligned tables (among other things), then press C-h k <TAB> to see what function that key invokes, jump to the code for it and start reading.
Could something like Facebook track which links you click on so they can try to show you ones you're likely to click on again in the future?
Oh, sure, Watts has those, too. The problem is that in that world, the public Internet consists entirely of bots screaming at each other, and is basically unusable for anything else. Now listen to the fears about GPT spam finally rendering Google utterly useless, and tell me you don't feel the foreshocks of that future.
We don't need the word gender.

Behaviour and norms used to be called 'manners'. Men bow, women courtesy. Princes and princesses.

Abstracting out a 'gender norm' across all cultures is a doomed exercise. There's too many different tones (genders) trying to be contained in the one song.

The vast majority of western humanity fits in man/woman straight spiritual manners.

Bikeshedding over gender definitions is something worth forgetting from the past ten years.

Let the third and fourth and fifth 'gender norms' be what they may.
KQL https://learn.microsoft.com/en-us/azure/data-explorer/kusto/...

Hers a simple example:

StormEvents
| where StartTime between (datetime(2007-11-01) .. datetime(2007-12-01))
| where State == "FLORIDA"
| count
Yeah, me too. Many of us have had dreams that were strangely prophetic, powerful, or both. I often try to think of it as the subconsciousness of the pattern matching brain managing to piece together something that the waking mind missed or too busy or afraid to dig deeper into.

But of course, it cannot explain everything. Like you said, there are sometimes dreams preceding events that simply can't be expected or explained in anyway. Yet it happened. Maybe it is a selection bias and we tend to focus on those dreams that hit the mark and forgot all about those that didn't. But still, these dreams were always too vivid for me to forget and I often forget most dreams.

I can't help but think there might be something more to our dreams, even though the analytical part of my brain consistently shouts this idea down every time I think about it.
Because someone else is footing the bill for the infrastructure that supplies your house when your solar panels aren't producing. It is a classic Free Rider situation.
Then the site is probably violating the GDPR.
Seems like a poor excuse for v3. Changing the permissions should be a browser side thing not something that requires an update on the extension side.
E.g. You can have extensions always ask for the max permissions needed, as long as the users can go in and un-permit stuff as needed. No need to change any aspect of the existing extension system...

> Surely things like this would need to access basically every website in order to be useful, and more-so on websites you'd never visited before.

Probably some kind of blacklist instead. E.g. This extension cannot run on these websites. We already have a more basic version of this with the allow running incognito option.
IMO this will lead to an increase in hikikomori. Wait for it.
This actually exists, though I haven't bothered to try it yet: https://aws.amazon.com/codewhisperer/
Flagging data streams larger than a gigabyte is going to tag every high quality Microsoft teams call that goes on for longer than an hour. Also, sometimes I have to upload a disc image or docker image somewhere. I can’t imagine a company where you had to justify yourself every time that happened.
Whether or not to split is more a measure of whether or not these two concepts are likely to split down the road than whether or not share similarity today.
> Their fondness for animals. A multistory pet shop: canaries on the second floor, great apes at the top. A couple of years ago, a man was arrested on Fifth Avenue for driving a giraffe around in his truck. He explained that his giraffe didn’t get enough air out in the suburbs where he kept it and that he’d found this to be a good way to get it some air. In Central Park, a lady brought a gazelle to graze. To the court, she explained that the gazelle was a person. “Yet it doesn’t speak,” the judge said. “Oh, yes, it speaks the language of lovingkindness.” Five­-dollar fine. There’s also the three-­kilometer tunnel under the Hudson and the impressive bridge to New Jersey.

Did he step through a door to Narnia or something? New York used to be wild!

Great apes, giraffe, gazelles!?
What is a single element? If you've coupled two almost related concepts into a single function then you are still only changing one element.
It’s all fun and games until the low intelligent masses buy in to it.

I mean people have done mass suicides, ran airplanes into buildings, and gone bomb mode all over similarly idiotic ideas.

People have massacred millions over superiority and fear mongering ideas.

An AI doesn’t need to be sentient to be an effective agent provocateur for another truly evil individual or group
Our tomcat passed too soon, a few months back. He was basically a puppy dog in demeanor, following my wife around the house from room to room. He would howl after she left the for the day, and greet her at the door on return. He was like a little old man with a bedtime routine, and as soon as the alarm clock went off, he mosyed up to her pillow for his face rubs.

We have a younger cat we adopted as a kitten that he really raised like his baby the first two years, before she rebelled and became a loner.

Lately it's been interesting watch her adopt some of his former, very specific traits months after his passing and sort of assert herself as the alpha of the house.
I compare the "more real than real" to watching cinematic scenes of nature, color corrected, high frame rate, high resolution recordings of unspoiled nature.
<< hell, how many people do you know that even know what that means?

I will push it even one step further. I knew in an abstract and it was still not until I saw pihole visualizations that I changed my mind about a lot of things. It is one thing to know, but it is quite another to see it with your own peepers. It is a shame, because it means I might be not processing things fully when I consider them in an abstract.
Emacs is neither an OS nor an editor, but it’s closer to the former than the latter. It’s probably most accurate to describe it as a framework (and bundled programming language) for building custom IDEs.
They’re great books, beautifully typeset, but they’re not for everyone. Meant for people who appreciate math, they go pretty hard. Personally I’ve owned the first three volumes for 20 years now and I still learn something new every time I open them. It will take me another 20 years to work through Volume 4A and 4B. While I can’t say that anything in there has been directly relevant to my work, they’re just fun to read.
This is HN so I don’t want to go down this rabbit hole. I’m not suggesting anyone is innocent, but the two “sides” are not equivalent at all. Watch 10 minutes of Fox News or Newsmax versus 10 minutes of anything else and the difference is extremely stark.
Blow?
I said random because I haven't heard of anything linking the attacker and the commissioner beyond that the attacker was homeless and camped near the house.

> who alleges that the victim initiated the confrontation by pepper spraying him.

The reports I have seen state that the attacker claims the victim sprayed him with bear mace, not pepper spray. Regardless of this - and other minute points that don't matter - the subsequent footage of the attack shows the commissioner turning his back to and running away from the attacker, who quickly gives chase. It doesn't matter who started it; there's no justification for continuing the assault in such a situation.
The reason people like emacs has nothing to do with the default key bindings, which are basically arbitrary. Emacs is a framework and programming environment for building custom IDEs.
Transmission losses are far lower than the cost of residential solar. National Grid transmission losses are around 5% of delivered power, while rooftop solar producers are paid 10 to 20 x the cost of commercial power production.

Similarly, infrastructure and maintenance costs are fixed unless you are willing to go without power on a cloudy day or throughout the winter.
I mean I don’t think I need to be crass here but nothing beats the feeling of typing on a mechanical keyboard.
Good thing no companies use tracking methods that don't use cookies.
Thank-you for sharing that. I had not realized he would survive the mission in the article, only to ultimately pass so young.
Oh my gosh, the future is now.
This is true, but from what I've seen, not being able to touch type may also be a serious impediment to written communication. Maybe not so much for email, but very much so for anything ~real time like slack/chat.

I once worked (mostly remotely) with a guy who I'm pretty sure couldn't touch type. He wrote pretty dense code and used very abbreviated class/variable/method names. But the real clue came from communicating with him via slack. It often felt like talking to someone much less intelligent than I knew him to be. His messages were so terse that I was constantly having to make a lot of guesses about what he was trying to say. Needless to say, it was not a great working relationship.
Wonderful wonderful comment.
It’s his money and he can do whatever he wants. But I can also form whatever opinions I want:

That man is chasing after something that he will never find.
Lloyd center has always been a late night hang out for gangbangers
> I usually recommend people read "Algorithms" by Sedgewick instead.

I mean, they’re not really comparable. One will teach you computer science and algorithms. The other will tell you about Bernoulli numbers and the Gamma function, with a historical aside about the solution to the cubic equation, and then show you a neat trick for encoding some linked list manipulation in a handful of instructions on a fantasy CPU.
I prepare a meal and eat it. Let's assume I'm eating it alone, to avoid bringing in the pleasures of socialization. Sensory pleasures include: the smell + appearance of the ingredients; cutting vegetables with a well-sharpened knife; the sound of food cooking; the smell of food cooking; the visual enjoyment of the completed food; the visual enjoyment of a well-plated meal; the taste, textures, and smells of the meal; the contrast between the meal and any beverages; the feeling of satisfaction from having eaten a good meal. I would say that most of these are at least as pleasurable as interacting with the flame of a gas stove, and often far more pleasurable.
>the problem of needing water (I hear some place called California tends to have problems with that) I

There sure are a lot of green lawns in California, maybe we can start replacing them with gardens.

>- producing food takes time (taking care of crops or animals takes a significant amount of time, which is time people can't spend on salaried work).

Automation seems to be taking care of that issue, if gradually.

>producing food takes knowledge (knowing which crops to plant, when to plant them, how to properly care for them, and when to harvest them, for example).

ChatGPT and other educational tools can take care of that.

> producing food takes space (preferrably arable land, though a larger plot of pasturable land will also work).

We would be able to justify single family residences more if the yards were used to grow food, and keep chickens. Added benefit of reducing kitchen waste to near 0.
Vim is pretty much the best of both worlds: the ease of use of vi combined with the small footprint of Emacs!
Trig tables: I remember reading that, but I can't find a cite and I'm happy to concede the point here, but having to have a book (you do acknowledge that such tables were a thing?) that you physically look things up in is hardly better.

Accuracy: first, I can't believe I cross-wired accuracy and precision. Still, you seem to be responding as if I had gotten it right, so I'll respond in kind: sure, understanding precision is still an important concept, but it was much more so when working with a mechanical device that managed at most 2-4 digits of precision. I'm guessing that with 64-bit values, precision isn't a big topic of conversation outside of NASA. (That's hyperbole)

You're saying that algebra and calculus are just as tedious/necessary now as they were 30 years ago? To be clear, I'm sort of fudging -- Mathematica is actually 34 years old. But my point is that tools like it have changed who needs to learn the techniques, and what learning the techniques look like. And of course it's easier to be certain that basically no one today needs to know how to use a slide rule than to say no one needs to be able to solve a quadratic -- the more recent the change, the less absolute it will be.

Finally, "a very long time" seems optimistic. As an analogy, there were articles written in 2010 saying that it would be "a very long time" before computers beat anyone reasonably skilled at Go. It was less than ten years later that the very best humans couldn't beat computers.

It's impossible to know where fast progress will be made vs. slow. I purposefully chose a hyperbolic example to illustrate the point, and it's entirely possible that architecture won't be a field handled well by AI/ML in ten years. But I think it's certain that over the next several years, multiple fields that humans regard as being as complex and domain-knowledge-dependent as architecture will be automated.
Show HN: TULP – A cli tool that combines ChatGPT with POSIX, like stdin2gpt
I created TULP, an command-line tool that combines the best practices of POSIX tooling with the power of AI.

By connecting stdin and stdout directly to chatGPT, TULP allows you to process input data using natural language instructions.

Think of it as the ultimate replacement of sed, grep, jq and more, with the a smart AI that help make sense of the piped data. Although TULP is still in the early stages, it has already proven to be an indispensable tool in my daily workflow. Whether I'm translating or correcting piped text, reviewing code, writing small snippets of code, or extracting data from files, TULP streamlines the process like never before. And because it's just a command, it integrates easily with emacs/vim or any other tool that you may use.

I welcome your feedback as I continue to develop it to make it even more useful.
This was the plot of Brewster’s Millions

https://www.imdb.com/title/tt0088850/
The wacky right-wing conspiracy theory is that "they" were going to come and take gas stoves out of people's homes. This is not happening.
> well... a third-party server can do that verification.

Sure, but your phone isn't asking said third party what the results of their verification are. It's asking Facebook.

It can get hacked. It can lie. If you're looking to protect from a malicious server by protecting the key exchange better, you don't achieve that goal by asking the same party for the same information again via a different protocol and hope it answers differently. It increases attack cost because now the attacker has to fool both systems, but idk by how much honesty. The main cost will be getting into their infrastructure undetected in the first place. Sending discrepant responses to differing IP addresses seems relatively easy beyond that point.
Mix-FPGA
How would you compare yourself to PostHog?
Arrgh, I meant precision, not accuracy. I feel ashamed for the confusion.