skysight-inc/HackerNews huggingface dataset:
You do get XSS protection out of the box in most templating languages, though, and PHP is also a templating language.

Take this template:

<h1>{{ title }}</h1>

In most templating languages, for a title of "<script>alert();</script>", the result will end up being:

<h1>&lt;script&gt;alert();&lt;/script&gt;</h1>

In PHP, which is a templating language, the equivalent seems to be:

<h1><?php echo $title; ?></h1>

But this will print the title unescaped, which is a security vulnerability, and incorrect. In reality, the equivalent is:

<h1><?php echo htmlspecialchars($title); ?></h1>

Now, you could say, don't use PHP as a templating language! But if you're not supposed to use PHP as a templating language, why does it behave as one? This is one of PHP's footguns to be avoided. Personally, I recommend a linter like PHPCS to catch issues like this one.
> This is, largely, the story of monotheist religions. Whether or not they had sacred scrolls in ancient times, the religions were mostly based in folk traditions, temple authority, prophets, judges... people. As the moved from oral tradition to authoritative canon, the religions became extremely stiff an unyielding.

The Catholic Church is interesting counterpoint. Their religious teaching still openly draws upon tradition, institutional church authority and individuals like the Pope.
I am currently carrying an iPhone and an iPad Mini. The iPad is to read the newspaper, to watch photo/video, and in cases I need to do real multitasking (i.e. make notes about a PDF, so I want both on my screen at once).

If I could have both in one device, that'd be awesome.

So far however (besides the fact that only Android has foldables), the very visible crease is a dealbreaker for me.
Here's a link I found with a quick google search:
https://www.minitool.com/partition-disk/what-happens-to-data...

According to this, JEDEC Solid State Technology Association's standard is that SSDs should be able to retain data for 1 year at 30C. Not great for an archival medium.

Here's a Quora discussion about it:
https://www.quora.com/How-long-can-SSD-store-data-without-po...

Vendors will claim much better numbers than this, but the standard isn't very good.
> pulls Vai face whilst tremolo-bombing self into pleasurable oblivion
When you're depressed you're in pain.

Try to think of the most shameful, heartbreaking moment in your life, and then imagine reliving those feelings every day of your life.

It gets tiring.
YouTube was just 18 months old when Google bought it and it had just started to fend off very costly copyright claims. It was popular, but 2006 popular.
Dart 1.0 was a fully-fledged Java-like type-unsafe OOP thing, released at just the time when such things were becoming unfashionable (for good reasons).

There was clearly a time where Google could have, and should have, killed it, but instead they decided to keep it alive and make it a core part of Flutter (Lord knows what internal politics lead to this decision). It appears that since then, just like Golang, Google has decided to plough incredible resources into turning a bad language into an OKish one. Meanwhile the world moves on.

The flutter site contains a very unconvincing explanation of why it uses Dart [1]. Unconvincing in the sense that the reasons given do not add up to a reason why a very niche language should be kept alive when many other languages would do just fine (Kotlin seems like the most obvious choice).

[1] https://docs.flutter.dev/resources/faq#why-did-flutter-choos...
Plato.. wasn't that the guy who invented the acronym "IIRC"?
I’ve been writing PHP for over 20 years. I use it for my hosted (backend) programs.

Works a treat. It’s robust, fast as hell, easy to make secure, runs on the cheapest, crappiest hosting, and has an enormous support infrastructure.

That said, I’ve never particularly liked the language, and have never become an advanced adept at it. I use it to manage the less-glamorous part of my work. I’m mostly a native Apple developer (Swift).
Then Google might be liable under various laws that support disabilities, varying per jurisdiction obviously.
There is this tapping on your head trick[0] that legitimately works for many people (me included) to clear up your tinitius but only for a few seconds after it. If you are curious what silence sounds you can try it.

0. https://www.reddit.com/r/videos/comments/3oauru/if_you_have_...
Cultures had good psychopath tests then too, like this is where dares originate from. You could get excluded quickly. After religion and tech arrived I think on balance it's more comfortable for them.
You don't make rational decisions when you're clinically depressed. It's a form of cognitive malfunction.
My two cents: I enjoyed reading Johnny Ryan's A History of the Internet and the Digital Future
"EDM" seemed to do alright for a few years with the mainstream. Plenty of techno, acid, house et al crept through even without vocal samples. This is probably a UK/EU-centric viewpoint.
glTF

https://en.wikipedia.org/wiki/GlTF

(note Wikipedia capitalizes it weirdly in the URL but in the page title it is correct)
Your manager is building a case so they can fire you. I would start interviewing if I was you.

Maybe that's not what will happen, but it's good to have a backup.
yea, 480p is ok for phones.

720p brings a noticeable improvement for watching on something 40"+ (tv).

going further to 1080p is only a marginal improvement over 720p so i usually "keep it simple/small"
Open-source founder of another startup/open-source project with an ee piece [1]

Separating the repos is a HUGE hassle which is why you never see it anywhere. Doing it once is a small cost but maintaining is a huge burden on teams that are already too small. In practice it does not change anything so most projects will choose to suffer nit-picks.

[1]: https://github.com/windmill-labs/windmill
I go in the completely opposite direction nowadays. I have chatgpt [*] up, I use google searches, I have online api documentation and tutorials open. I log on to IRC and chat with (other) skilled developers. (psst... I even read stack overflow ... sometimes [*]) ... so ... I definitely use the internet a lot while developing.

As mentioned above, I do try to research things to the point of understanding. Which is something human contact definitely helps with. To stay on topic: ChatGPT is obviously less good, but is often good enough, is patient, and guaranteed to answer you in a couple of seconds.

[*] My exact workflow would not quite fit into this footnote, but I seldom cut-and-paste answers, unless it's for something exceptionally non-critical. I try to understand what is written and then type out my own version (which should be very close), or at very least I type it across by hand rather than use ^C-^V. (the latter is an edge case). In general, there's this AI-koan about how some things only work if you also understand them, which has a kernel of truth to it. ( http://www.catb.org/jargon/html/koans.html first one about tom knight)
Yeah, but I will never put winter tires on my car, because it's useless where I live. So, maybe, the targeting was subpar. Also, repetition reinforces me to enable ublock again.
Just a matter of time really. 24 months ?
Hi. This is a common but incorrect opinion, so you're going to get down voted. You are using your frame of reference to imagine how somebody with severe mental health difficulties was thinking at the worst time of their life. Empathy is trying to understand the feelings of another based on their life situation and who they are, not your own.
If you sell at BOM + labor + reasonable profit margin, who pays for R&D and who covers the risks? This makes no sense
FBI and NATO Disrupt the Snake Malware Network Controlled by Russia
Noone seeing the obvious connection to Manifest v3?

"Oh, it appears with the new Chrome extension API it is impossible to write an adblocker that bypasses this. How could that have happened? Google told us they only have our best interests in mind, so this must've been by accident."
I also think he had a bunch written teachings that were intended only for his students. Obviously they’re lost to time.
To me, NY Times' article lacks empathy. Andy Baio's farewell blog post is much more reflective of her personality and life, and so is her 2015 XOXO talk.

https://waxy.org/2023/05/goodbye-dooce/
> people benefit from the land

"which people in particular are benefitting the most" seems to be the perennial question.
This "layoff" would then only be pushing off high-performance workers.

Slackers who don't have higher chances outside will stay.
Wikipe-Tan
While most probably true, the "Italians do it better:" added to the original title seems to me gratuitous.
Definitely not really true. Under 15% of students receive BAFÖG [1]. No idea where you got the idea that German students get free housing at many Universities as that couldn't be further from the truth considering that there are only enough rooms for around 10% of all students [2] and those are definietly not free, although pretty cheap. However many struggle to find an Apartment, especially in bigger Cities like Berlin or Munich.

[1] https://www.bafoeg-rechner.de/Hintergrund/art-2416-bafoeg-st...
[2] https://www.iwd.de/artikel/wohnungsnot-der-studenten-verscha...
I wonder if those devices simply looked at the volume and said, "If it's high [perhaps for a few seconds at a time], then it's probably an ad". Seems like a pretty good heuristic.
Jesus H. Christ. I've been saying it wrong for years.

I just assumed - you know, WebGL, OpenGL. I've even bloody implemented support for it in an app whilst calling it the wrong thing!

I need a sit down and a strong cup of tea...

EDIT - Phew. It is GLTF - in my blind panic I thought it was actualy an "I"

(I don't care how they tell me to capitalize it - that's not something I particularly care about conforming to)
Yeah, and I have a family member who died of COVID, a colleagues teenage child, and a friends parents both died of COVID. All were unvaccinated by choice "for health reasons" because that's what their bubble, much like you, believed in.

I don't care what Fauci or any other authority figure says. I look at the data from actual science journals, taking the study design into account. Yes, there are side effects from the vaccines, but on the whole they are a wildly net-positive prophylactic, after a few things like nutrient deficiencies and antibiotics the most effective tool we have against disease.
I took the parent's comment to mean they would rather 'free' viewers leech off other people's bandwidth, as if they're not Premium and not watching ads, they are just consuming bandwidth and costing resources.

If they go to a competitor and block ads and consume bandwidth, then they are actively costing the competitor rather than costing Youtube for hosting.

Youtube allowing competitors to host would just consume youtube's bandwidth but with the 'views' also going to the competitor's domain (so the competitor could then potentially get additional sponsor support for having 'eyeballs' on their domain).
PHP has a lot of top tier CMSes. IMHO bunch of them are even better than Statamic. Craft CMS (https://craftcms.com/) is a lot more mature database based CMS. Kirby (https://getkirby.com/) is better at flat-file and has a lot better admin interface. Twill (https://twillcms.com/) is better integrated in Laravel and is fully open-source. Statamic mostly feels like it's sitting besides Laravel and they call themselves Laravel based for marketing.
I'd personally pay for a lot of services if they allow you to toggle certain features off.

uBlock's great but it doesn't work in Safari.
Remembering changes memory.

It embeds what is remembered in a current context.

Did Plato take this into account?
The "tiny hands" meme is really funny from European perspective. First of all, how do you know he has tiny hands? It isn't readily apparent in his videos. Second, why does it matter? It's not like he's a competitive slapper, he's a politician.
> It feels like they're trying too many things at once instead of doubling down on making the world's best Linux laptop.

One of the problems is probably that "the world's best Linux laptop" on its own is probably quite hard to build a viable business on. The demand is relatively small, and there's quite a lot of competition – not just from other Linux-only vendors like System76 but also just "mainstream" laptops you can buy everywhere – my cheap Acer runs Linux quite well.

It also doesn't help that Purism 14 gives me a 4-year old CPU for $1370, which is ... not great, especially when System76 gives me 2023 CPU for $200 less.
> people you talk to online are just googling up wikipedia articles to base their world view upon on the fly.

Well you're lucky if they do; often they just make stuff up on the fly depending on what they saw on some dubious media or social network.
For now it is CPU only yes, uses AVX instructions. But it's pretty fast anyway, try it out. I have it running on my mbp M1 and it's pretty decent. I think GPU support will come eventually. I wrote an app that uses the openai API and it was nice and simple to just point it at my own local service instead.
I think that was actually homer. “Speak muse tell us the deeds of…” (or something to that effect)
In fact, we know that IPv4 lives in the observable universe. You can travel at the speed of light towards IPv6, but the expansion rate of space time-itself (you can think of space-time as a series of tubes) is not limited by the speed of light. Thus, IPv6 is only theorized to exist, in order to explain other physical phenomena. Worse, even if it was proven to exist by a distant observer, there no way for them to relay that information back to us because our routers here at earth would drop the packets.
I have the feeling this is missing on what people want ChatGPT to do for them.

They're still communicating their exact thoughts to the prompt, and will adjust to get exactly something matching their intent.

To take an example, asking ChatGPT to write a professional sounding resignation letter might look absurd to people who value writing in itself, but the people doing it are still expressing a very specific intent: "I quit". The rest is to them useless decorum that can be handled by a random word generator.

I kinda hope that ChatGPT will push people to actually write shorter and more to the point. If a bot can understand their message in 40 words, why send their fellow humans 400 words of useless prose ?
anyway, it sounds great.
> Well, in my opinion, the article claims "HTMX is the future" as its title,

Titles are by necessity summary in nature. If you want the whole complexity and nuance of the article in the title, the whole article would have to be the title. It's a bit too long for that. (And then everyone would complain that there was no additional meat to the body text.)

> and so it's impossible to interpret the arguments in any other way than "the user experience benefits of the SPA might matter to the users, but I think it's stupid because I dislike JS"

No, sorry, that's BS: It's eminently possible to interpret the arguments differently. All you have to take into account is that a less abbreviated (and frankly still a bit too long) version of the title could have been "HTMX is the future for solo/small teams or projects that don't need `collaborative editing`(or other advanced stuff)".

HTH!
My point is that they intentionally obtained an effective monopoly on content, so it's weird of them to complain about too many people wanting to watch content there.
So, we agree now that software engineers are not working-class people by any common or accepted terminology?
Most of these are on fault lines, where the added weight could trigger an earthquake. Not good for Jerusalem and Los Angeles.
I sometimes wonder if people who are buying ads ever watch YT and see how irrelevant the ads are. Seems like a big waste of advertising budget.
Hmm, seems like at least some of the look of the new The Last of Us tv movie has been inspired more by slime molds than actual fungi ?
5 seconds per request isn't anything to shout about in 2023.
If it has an M3 chip and stuff like iMovie seems to work fine. Or it's the only driver for the VR glasses that are coming, or wirelessly connect to certain monitors.. It may be a "new class" of device.

I mean not new for humanity, but for Apple.
Isn't it too much "string oriented"?
Show HN: AutoGPT for Ethereum
I built this on a weekend, I would love to get some feedback on the app.
It looks like Aerial View API is working only in US. With any address outside US I'm getting "Address not supported".
Are you feeling bullish?
Move slow and keep things as usual.
Advertisers aren't interested in buying only the eyeballs that are too poor to pay themselves out of the annoyance.
Pffft, what? No it isn’t. What a ludicrous thing to say.

Telegram may not be some shining paragon of freedom, but it seems pretty obvious that Brazil (like many other nations) is shifting towards naked despotism.
The voltage range of aged batteries is the same as the day they leave the factory. Or it could be even larger if the BMS is set up to sacrifice a little nominal capacity für lower wear when new, slowly widening the range as capacity decays. The temporary voltage drop while drawing a large current will be bigger on an older battery, that much is true. But that would still be a smaller delta than the one between fully charged and not at any age. If there's performance difference, I'd expect it to be from deliberately yearning performance/runtime trade-offs (which arguably are better to have than not have)
The choice to use "chrome" instead of "chromium" in the title is incompetence. They're not interchangeable. Burying the lede that all browsers (except 1) will subsequently break, doesn't make up for it. It's the difference between one browser and all browsers and most people are not tech-literate to know that.
(UK) Interest rates expected to rise for 12th time in a row
With some luck and intelligence maybe we will discover more about the past in the future [1].

[1] https://scrollprize.org
Causation, Collision, and Confusion
> I will not, and probably cannot, pay and subscribe to any random website I am gonna visit to remove ads to make the experience tolerable, when I can just block the ads.

Okay, but how do you square that with the fact that hosting content costs money? Are the people and companies which provide the content you look at not allowed to earn money to keep the servers running and the sysadmins fed?
I paid for it too, but I'm slowly figuring out its utility.

The trick is to use it for what it's good at.

For example, I had this vague, fuzzy memory of a talk I saw online about a decade ago. It was about a database modelling paradigm. All I remembered was that the country it was developed in was in northern Europe, the methodology was based on splitting out columns as individual objects, and that it had funny little icons such as diamonds on the edges connecting things together in a graph.

Good luck finding that on Google. I had tried and failed. It was bugging me, because I needed something like it for my work, but for the life of me I couldn't dig up the reference.

Chat GPT 4 found it just three prompts: https://www.anchormodeling.com/

That's insane.
"Open" means: "Open for business." Not sure how anyone could confuse that.
This is super interesting. Does anyone have any clues as to what kinds of integrations We'll begin to see first? I'm envisioning tons in the long-term.
That's a bit of an exaggeration isn't it. Yes there's bag scan, and yes you need to buy in advance not to have exorbitant prices. Apart from that the experience seems the same.

And you shouldn't be taking 1h flights anywhere of course x)
The reason was because Google at the time wanted to kill JavaScript and Dart was their weapon.

Around that time Google launched a few “initiatives” to build a “better and more efficient” web. AMP was later but the same spirit and of course all of this was a dystopian nightmare so people got scared and mostly ignored Google.

Dart only exists today as an actively developed language because of Flutter.
Interesting and similar here is that there are a bunch of algorithms from days of yore that made sense with performance back then, but these days where the CPU absolutely doesn't care whether it's comparing a single byte or 32 bytes at once this can shift some algorithms towards much simpler ones. E.g. for substring searches this page is rather interesting: http://0x80.pl/articles/simd-strfind.html which posits that some of the older algorithms were built with the assumption that comparing parts of memory is more expensive than a table lookup, which is in many cases no longer true.
My goodness what are they even planning to patent?
Seald SDK?
Ract native? Firestone? RSA?
The app does nothing, LOL.
lol, just realised about my mistake.Woops.
Unit testing is a poor mans compiler. Our medium size rails app has 40,000 unit tests and constantly we have issues where an updated library changed the name or parameters of a method without warning causing breakages.
https://news.ycombinator.com/newsguidelines.html

"Please don't complain about tangential annoyances—e.g. article or website formats, name collisions, or back-button breakage. They're too common to be interesting."
Someone AI'ing part of a human process is basically saying "this is BS and not worth my time". They may or may not be right.

I think questions about the company should be genuine (it is a good chance to find out what you need to make the decision). But many people think questions about the company are another hoop, i.e. the interviewer is using their questions as another measure, so they need to ask the correct questions.
> the very visible crease is a dealbreaker for me.

That's what I thought too, but after speaking with a Samsung Fold something owner, and testing it for some time, it's mostly visible only in some angles. Also I imagine it's like notches and holes, you get used and forget about them.
Many things can cause you to go to same place. Lack of meaningful choice, not being able to afford anything better, etc.

But YT premium on itself is bad value. I can replicate most of its value with... An ad blocker.

Why should I pay Google to solve problems it creates for me? That's just incentives them making more problems. Maybe they will add a solve a captcha every 5 min if not on Premium.

And lastly YT isn't above ruining it as well (see premium ads). History (see cable) teaches us, ads on premium is a matter of time.
On the one hand, it seems sensible that, if you want to grow your own human muscles, the best thing to eat would be human muscles. On the other hand, for purposes of maintaining and repairing the muscles you already have, the nutrient profile you want is probably pretty different from that, and likely there are animals whose meat matches that profile more closely.
Show HN: Contentcal[MVP] – Create monthly content calender with the help of AI
Sleeper trains are absolutely the superior choice. Instead of wearing yourself down from the journey, schedule it so you wake up at your destination in the morning.

I dream (heh) of a proper pan-european sleeper train network.
Yeah, frightfully verbose. (I suppose that's why JSON seems so much more popular nowadays; at the very least a large contributing cause.) But WTF does that have to do with anything here, which wasn't about XML at all?
Just because he doesn't like people saying it, and that is sufficient reason for it to persist.

Personally I think people should be talking about bigger things than his tiny hands.
Also Roadrunner https://roadrunner.dev/
Producing television shows also costs money, but no-one forces me to watch the ads there. I can change channel, or skip past them if recorded, or just leave the room while they're on.