News for hackers. Stuff that matters.

dylanfw

Re:Why 90s Movies Feel More Alive Than Anything on Netflix on Wednesday November 26, 2025 @04:26PM (#46062520)
To avoid spoiling a 30 year old movie: ROT13 `Gur Hfhny Fhfcrpgf`
Re:Trump Pardons Convicted Binance Founder on Friday October 24, 2025 @10:27AM (#45695008)
> his employees (also non-US and under no affirmative obligation to learn the laws of every country in the world just because they run a website)

Employees of financial businesses are absolutely obligated to learn the laws of every country where they provide services.

The "surprise" is not that the agent can respond with private repository details, it's that it can receive and act upon prompts issued by someone other than the person running the agent, hence "prompt _injection_".

Or to come back to the SQL injection analogy, no one is surprised that the web app can query the database for password hashes. The surprise is that it can be instructed to do so when loading the next image in a carousel.

Re:Python's Preprocessor – Pydong on Friday August 23, 2024 @02:02PM (#41331391)
I think OP is commenting more so on the reversal of the developer’s relationship with rules of syntax than their personal capabilities.
What on earth are you talking about Saul Kripke and modal logic being some kind of cultural studies tool for “unmooring people from the authority of math”? And your lumping of Wagner, Marx, and Nietszche with Hubbard and Osho as “inventors of religions” is baffling.
Re:NES Tetris AI hits 102M points and level 237 on Saturday November 27, 2021 @11:17AM (#29361219)
I was curious as well and found this video explanation[1]. The idea is that tapping on the back of the controller pushes it up into the player’s thumb which is resting on the D-pad causing a button press.

[1] https://youtu.be/n-BZ5-Q48lE

I think we might be due for an update to Zawinski's Law of Software Envelopment:

"Every program attempts to expand until it can process _payments_. Those programs which cannot so expand are replaced by ones which can."

Re:Playing chess is a life lesson in concentration on Friday December 18, 2020 @10:51AM (#25468210)
You might enjoy "Chess960" (or Fischer Random Chess): https://en.wikipedia.org/wiki/Fischer_random_chess

The order of the back-rank pieces is randomized (but identical for both players).

Re:Fork Bomb on Wednesday February 19, 2020 @11:12AM (#22366791)
Change that `except Exception:` to just a bare `except:` to catch KeyboardInterrupts as well and prevent Ctrl+C from killing any of them while it expands.
Re:Would aliens understand lambda calculus? (2018) on Friday October 25, 2019 @03:03PM (#21358152)
This reminds me of a passage in "Godel, Escher, Bach" by Douglas Hofstadter discussing the Golden Record[1].

""" [C]onsider a meteorite which, instead of deciphering the outer-space Bach record, punctures it with colossal indifference, and continues in its merry orbit. It has interacted with the record in a way which we feel disregards the record's meaning. Therefore, we might well feel tempted to call the meteorite "stupid". But perhaps we would thereby do the meteorite a disservice. Perhaps it has a "higher intelligence" which we in our Earth chauvinism cannot perceive, and its interaction with the record was a manifestation of that higher intelligence. Perhaps, then, the record has a "higher meaning"-totally different from that which we attribute to it; perhaps its meaning depends on the type of intelligence perceiving it. Perhaps. """

1: https://en.wikipedia.org/wiki/Voyager_Golden_Record

Thank you! That makes complete sense when I consider the 4 color example of a world map. I didn't even consider that most graphs would have "overlapping borders" on such a map.

An extra thank you for apparently creating a new account to assist me. (I think that's what the green username indicates, at least).

Thank you! That makes complete sense when I consider the 4 color example of a world map. I didn't even consider that most graphs would have "overlapping borders" on such a map.
Could somebody clear up my confusion with these two statements that appear contradictory?

"Do four colors suffice to color any map? — took more than a century to answer (the answer is yes, in case you were wondering)."

and

"Returning our attention to colorings in which connected nodes are supposed to be different colors, we have no guarantee that the five colors in our palette will be sufficient to color the graph G"

How can it be that 4 colors is sufficient for any graph, but for our hypothetical graph G we can't be sure that 5 colors are sufficient?

“[A] lot of these jobs he talks about are what I call "zero-sum jobs" - it sucks that they have to exist, but if any individual firm stopped having them, that firm would be behind.”

This part of it all, in particular, reminds so much of “Meditations on Moloch”[1] . If anyone hasn’t read through this, I highly recommend it. It’s an inspiring look into how human society gets trapped into these games where no one wins, but to stop playing is much worse.

1: http://slatestarcodex.com/2014/07/30/meditations-on-moloch/

You can create “Routines” on the Echo (like IFTTT procedures). You could easily create one for “Alexa turn on all lights” that triggers all of your smart home lights regardless of brand.
If you're not asked anything after checking the box then your browser's fingerprint has already been determined to be a real human by enough partner sites using the Captcha. Try opening a private browsing window and checking the box to see the second verification part.
Re:It's Never Too Late to Learn Guitar on Monday August 14, 2017 @10:10AM (#15008646)
Justin Guitar[1] is a great place to start!

1: https://www.justinguitar.com/

> Those guys were writers, not philosophers in the first place.

It's interesting that you begin with a comment like this to seemingly dismiss Satre and Camus as not being real philosophers, and then you proceed to put forward your own terribly unfounded philosophy with no supporting argument.

Bruce Schneier's security blog implements something like this, providing an on/off switch for each social network's "Like", "+1", etc.

https://www.schneier.com/

Re:The XSS Game by Google on Wednesday November 23, 2016 @01:31PM (#13024664)
Chrome's XSS filter can still be circumvented in quite a few instances. The easiest way I've seen is when the attacker controls at least two variables and can split the XSS across them in such a way that neither half appears malicious but when loaded into the page they create a malicious script.

Example: ?a=<script>void('&b=');alert('XSS')</script>

The value of a is <script>void(' and the value of b is ');alert('XSS')</script>.

I don't know for sure about ZSH and can't test it at the moment, but Bash has -- for this purpose. It may work in ZSH as well.
Re:Before the Flood [video] on Monday October 31, 2016 @11:09AM (#12837424)
I haven't seen this yet, but for anyone that's interested: Trent Reznor and Atticus Ross (Nine Inch Nails, Social Network, Gone Girl, Girl w/ the Dragon Tattoo, and more) provide the score for this film.
Re:Why Do Americans Stink at Math? on Friday October 28, 2016 @08:53AM (#12815226)
> Whitehead and Russell famously took several hundred pages in Principia Mathematica to prove the validity of the proposition 1+1=2. What is it that kids are understanding that W&R took much pain over?

W&R proved 1+1=2 in their axiomatic system. It wasn't done to prove once and for all that 1+1 is in fact 2, but to show that their system produced mathematical truths. The truth of 1+1=2 was already assumed and understood since they were kids, and that's why it was necessary that their system also produce it.

Of course PM was obliterated by Godel shortly after.

Re:Thank HN: From Google form to $1k in revenue in one month on Thursday October 20, 2016 @08:32AM (#12751670)
> "Madness."

Blocked by ad blocker.

Re:Google's “Director of Engineering” Hiring Test on Friday October 14, 2016 @08:51AM (#12707713)
Apologies. Throughout my CS undergrad I had only been given the impression and understanding that Big-O measured worst case (lower bound, no worse than), Big-Theta average case, and Big-Omega best case (upper bound, no better than). Looking into it more now, I see that there are some more subtleties I either missed in class or was never taught.

Thanks for correcting me!

Seeing "LaTeX" (lay-tech) and "arXiv" together in your sentence made me finally realize that arXiv is pronounced "archive". I've been reading it as "arx-iv" for years.

Older »