Hacker News new | past | comments | ask | show | jobs | submit | chrisandchips's comments login

its cool that it still works across all locales (US, UK) for words spelt differently between countries.

E.G. searching “aluminum” still got both US and UK results, even though the later writes it “aluminium”.


And which of those implications bare importance on string templating?

Of course there are examples of situations where this heuristic doesn't apply, but that doesn't mean its a bad idea that we should totally disregard. This kind of thinking has plagued engineering fields for a long time; Don Norman talks about it in "The Design of Everyday Things". Engineering teams get mad when users don't use their products the "right way", when really they just won't admit to themselves that they've implemented bad design. Simpler, cleaner designs and use patterns tends to win as time goes on.


Untrusted input has to be escaped before injecting it into an HTML document, or else there is a script injection vulnerability when text from one user is executed as script in another user's browser. Good templating systems eliminate this possibility through parameter systems, but maybe those are still considered string templating systems?


I was going to jump in with a pithy DOET quote[1], but you got the essence quite correct: if the intended users of your system can't get it right, then you, the designer, got it wrong.

[1] Maybe something about "probably won awards" :-)


This movie is incredible. To many people, its lack of characters and a traditional storyline makes it alienating and boring, but there’s such a deep beauty embedded within that. There might not be a story, but there is a narrative that is clearly commenting about our relationship to nature, and in lacking those traditional elements of mainstream cinema it exposes us to a new way of thinking. We see life on earth taken at face value; the scenes are familiar to us but without any characters or words to ground and bias us. I’ve always felt that its as close as we can get to observing earth for the first time from a distant place. It forces us to detach from all the basic axioms that fuel our day to day experience, and in doing so makes an extremely salient point about our societies relationship with nature. Paired with the words « life out of balance », its hard to complete a viewing without a sense of dread that we’re doing a wildly bad job of taking care of our planet.


Nice. Not only was I unaware that /leaders even existed, but the top profile has some great links to blogs and writers: https://news.ycombinator.com/user?id=tptacek


> This is true in principle, but the reality is more complicated. When we say “NP-complete is hard” we’re talking about worst-case complexity, and the average-case complexity is often much more tractable. Many industry problems are “well-behaved” and modern SAT solvers can solve them quickly.

This is a really cool point, no one ever mentioned this to me when I learned about this stuff at university. I wonder though, is there data for this ? Are businesses willing to take the risk and how do they mitigate ?

I'm not sure how popular they are in the wild, but there are a lot of approximation algorithms as well for solving version of these problems that are almost-but-not-quite the same. I wonder if that's just what lots of real-world use cases actually need.


I think the complexity of the problem is such that even a lot of lecturers don't really understand it.

I remember in one lecture where the dude drew an unweighted graph on the board, claiming it to be in NP.

But he'd already proven it to be planar (by construction), which (and correct me if I'm wrong) simplifies the problem to P.


SAT is NP-complete even when the variable-clause graph is planar.

Vertex cover is NP-complete on planar graphs even if each vertex has at most three neighbors.

Travelling Salesman is NP-complete on planar graphs.

So is independent set, dominating set, 3-coloring...


It's not the travelling salesman - as per the description it's an unweighted graph.

This reduces the problem from finding the shortest hamiltonian cycle to finding any such cycle.


it's actually a very open question, even theoretically, whether we can build an "hard on average problem" from a "worst case hard problem" in NP. This is why we haven't yet managed to design cryptography from 3SAT, for instance.


That's super interesting! I'd love get the names of some people working on that stuff.


Agreed.

He is presenting the list as "too be finished by X date", which within itself sort of implies trying to do it quickly, or at least that he is taking time into account while reading.

But it's not unreasonable that he make it through this list and enjoy everything. Half an hour a day really isn't much.

Phenomenal and related mini-doc on the subject of reading time and frequency: https://www.youtube.com/watch?v=lIW5jBrrsS0

I should also add, page count is very much so dependant on font size.


Yeah font size, but also just the work itself. If I'm reading epic fantasy I'll fly along. If I'm reading Wuthering Heights I'm crawling. I think it evens out.


Wow, thank you for sharing that. Most of us don’t like to discus death and we do our absolute best to pretend like it will never happen. It really pains me to read this and I hope you and your partner find some peace.


http://www.chrislessard.co/

it’s nothing more than a decorated version of http://bettermotherfuckingwebsite.com but it does the job and works on mobile without me needing to understand much about css.


I’ve reflected on this argument recently but I struggle to see the real logic behind it. Putin claims he wants Ukraine as a neutral zone between russia and NATO. He then proceeds to invade Ukraine … if successful, territory under his control (whether explicitly shown or not, he could instil a puppet government) will now border NATO countries. How does that provide him with any security ?


Proximity to the Russia heartland presumably. Flight time of missiles to key military positions within Russia.

I'm no military strategist but how is this not obvious?

It's not about a neutral zone, it's about a buffer zone between more sensitive areas and where NATO can place troops, tanks, and missile systems. I mean a sea separates Alaska from north-east Russia and those places are deep into permafrost territory and then there's the entirety of Western and Central Russia between Moscow (say) and there. Russia is huge. 90% of the Russian population live in the 10% of Russia that is considered part of the European continent.

It's like nobody bothers to study geography or geopolitics before they open their mouth these days.


Russian Federation I guess will guarantee the security of Donetsk and Luhansk and liberate further Russian-speaking areas.


There are recipes and sticky situations where having a near instant heat switch is a real convenience, if not a real life saver. That said, if you've made it this far you probably aren't going to get much out of them. I love gas because I love cooking with a direct flame, but I think from an environmental perspective we're going to have to start making due without them


Good points. I probably have a sixth sense for avoiding recipes that the stove can't manage.

I had no idea about the amount of leaking, but it makes sense. Unless you're actively checking every foot of gas pipe everywhere, chances are it's leaking here and there. But it's too bad. I learned while doing process control in a plant with steam heated processes, that you can run a lot of power down a gas pipe. I have a hunch that they could heat all of NYC from just waste heat.


Induction gives you most of the benefits of gas: instant heat control. It's even faster heating than gas, easier to clean, safer to use.

The hob itself costs more, and the cheapest pans aren't compatible. Gas is often cheaper to run.

Other than initial purchase price, a normal electric hob has no advantages.


Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: