News for hackers. Stuff that matters.

doomjunky

Re:AWS to Begin Charging for Public IPv4 Addresses on Friday August 04, 2023 @09:28AM (#36999740)
IP is not a text format (like HTTP). It's a binary format where each field of the IPv4 header has an exactly defined offset and length. The source IP address is placed at offset 96 and has a length of 32 bit, the destination IP address sits right afterwards with the same length. Changing anything will result in new protocol definition, et voilà that's IPv6.

https://en.wikipedia.org/wiki/Internet_Protocol_version_4#He...

Re:Conversation Skills Essentials on Monday January 02, 2023 @11:42PM (#34227765)
One is about ideas the other is about values.
109 autors
They don't need correlation. Operating large numbers of nodes gives them a high enough probability that all three hops may be under their control thus they can observe the entire route.
I was astonished about the rapid expansion of the list of cyber warfare forces in recent years and by the incredible mass of cyber warfare capabilities of the United States.

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

Re:Ask HN: Best way to host a website for 500 years? on Saturday October 23, 2021 @10:39AM (#28968955)
Only 500 years or better through the dark age of the Galactic Empire?

The Seldon Plan:

1. Start a foundation.

2. Locate it at the outer rimes of the civilised galaxy.

3. Implement a technocratic cult governed by a dynasty of priests.

4. Engage in psychohistorical research for envisioning future risks.

Re:Those who witnessed Castle Bravo looked into Armageddon on Monday September 13, 2021 @12:27PM (#28513438)
The Tzar-bomb was not an fission-based A-bomb, it was a fusion-based H-bomb. This type of nuke has typically much less fallout.

https://en.wikipedia.org/wiki/Tsar_Bomba https://en.wikipedia.org/wiki/Thermonuclear_weapon https://en.wikipedia.org/wiki/Nuclear_weapon_design

This dark pattern is called the ratchet. https://news.ycombinator.com/item?id=16689663
For the sake of completeness:

"Prisoners released early by software bug (2015)" https://www.bbc.com/news/technology-35167191

Re:Cambridge Bitcoin Electricity Consumption Index on Wednesday February 10, 2021 @05:59PM (#26096005)
Cash also enables ransome.
Re:Voyager 2 is back online after eight months of radio silence on Wednesday November 04, 2020 @12:10PM (#24990876)
Anybody wondering why earth is closer to yovager than pluto? CGP Grey has a good explanation https://youtu.be/SumDHcnCRuU
Re:YouTube-dl has received a DMCA takedown from RIAA on Saturday October 24, 2020 @05:33PM (#24882115)
I'm in no favour for the RIAA but just imagine. It would be a 300IQ move if that specific pull request was engineered by RIAA themself.

Please pull that test case... Fooled! Now there is a legal reason. Here is the DCMA takedown notice.

Re:Ban All Ransomware Payments, in Bitcoin or Otherwise on Thursday October 22, 2020 @09:57AM (#24858050)
This law can't even be enforced because the criminal can easily generate a new addresse for every new victim.
You are the only commenter quoting the horizontal development. So maybe my idea relates to you.

Are you familar with the concept of the Big O notation [1], which computer scientists use to (more or less) describe the "growth" of their algorithms? E.g. when you compare something that growth quadratically O(n²) to something that only growth linear O(n) you will see, that at some point the quadratically growth will grow faster as the linear growth. Forever! The linear growth will never win.

Comparing this to the horizontal sprawl of a city is easy. The area of a city is planar which is mathematically described as quadratic O(n²) but the average growth of the domestic product is just linear O(n). Assuming the maintainance cost of a planar sprawling city growth quadratic while the domestic product only growth linear then the costs will win over the income. Forever!

The conclusion is to limit the horizontal sprawl of a city to linear growth. This means every new house, street, rail road, pipe system, power line and so on must be build inside a diameter to the city's center with a distance which is logaritmic O(lg(n)) on average. The rest must growth vertically.

[1] https://en.wikipedia.org/wiki/Big_O_notation [2] https://www.statista.com/graphic/1/268750/global-gross-domes...

Re:CRDTs are the future on Tuesday September 29, 2020 @08:50AM (#24627079)
It's feels like this document is heavy as ten years of work, thanks.
Re:Basics of Haskell – Code and exercises on Monday July 27, 2020 @12:06PM (#23966403)
Haskell is actually very easy.

This is just my heuristic but Haskell has just 25 keywords. For comparison: C 32, Java 53, C++ 83 and C# 102. What makes Haskell confusing are the 115 GHC language extensions. Each is basically a new concept to learn. Every time i join a new and sufficiently large project, I stumble across an extension that I am not familiar with.

https://downloads.haskell.org/~ghc/latest/docs/html/users_gu...

Re:Basics of Haskell – Code and exercises on Monday July 27, 2020 @11:35AM (#23966091)
The programming course at my university taught us the fundamental paradigmens. The languages were chosen only as examples.

Imperativ / OOP => Java

Functional => Haskell

Logic => Prolgo

I remember last year around christmas/new year 2018/2019 a similar hack/leak/doxxing took place, targeting 994 (!!) mostly german politicians, celebrities and influencers. Massive amounts of private information (names, addresses, phone numbers, e-mails, DMs, contacts, online profiles, chat logs, private documents and even intimate details) where leaked. The data was published on a wide spread of public pastebins and etherpads. It took ages to take them down. The attacker had set up a labyrinth of links, files and passwords and even structured the data by topics and political parties.

Attack vector: Sim-Swapping. It was too easy. As soon as he got into one account, he got access to it's contacts and more phone numbers.

The attacker (0rbit) was a 20 year old student living at his parents home. He bragged about his hack to a online friend. This friend knew that 0rbit had been raided by the police years earlier. He betrayed him to the investigators and with the exact date of the raid the they were able looked up the old case and reveal his identity.

Previously on HN: https://news.ycombinator.com/item?id=18823286

I got interessted in science not through books but through experiments. Every sunday morning after breakfast our parents made us do simple experiments. After my interest was roused, i became interested in books by myself.

E.g. surface tension experiments: https://www.youtube.com/watch?v=WsksFbFZeeU

Re:C Internals on Tuesday June 02, 2020 @09:52PM (#23398839)
Where did the author commit to a certain standard? Maybe the author knows all of this but isn't -Wpedantic. Please don't jump to conclusions and assume worst.
Re:Tools for Better Thinking on Friday May 29, 2020 @03:07AM (#23347061)
The Inversion Methode:

Carl Gustav Jacob Jacobi was a German mathematician famous for his maxim "Invert, always invert". He believed that the solution of many hard problems can be clarified by re-expressing them in inverse form. Inversion forces new ways of thinking and helps uncover hidden solutions.

https://twitter.com/fermatslibrary/status/114459774698642227...

https://fs.blog/2013/10/inversion/

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

Even more interesting is the comparison. VSCode took the lead in the late summer of 2017.

https://trends.google.com/trends/explore?date=today%205-y&q=...

But in managed languages the safety comes by default and in unmanaged languages the safety comes by exception.
Re:Ask HN: Dark mode for HN please? on Saturday May 16, 2020 @09:56AM (#23203406)
Please have a look. I shut my windows and turned off the light for this exercise. Just added a tick more warmth. https://imgur.com/a/t1aQaDv

    #ffffff // info white
    #d9d9d9 // text white
    #282828 // background gray
    #222222 // the other background gray
    #ff6600 // HN orange
(Notice how beautiful regular this hexes are looking.)

Source for a CSS simlpe arrow https://css-tricks.com/snippets/css/css-triangle/

JIT compiling

Just in time compiling means, you can modifiy your programm at runtime. I had wasted so much time in the implement-compile-run-debug-repeat cicle. Just the naviagtion to the part i want to debug had me cost a lot of time. With JIT you can implement and debug at the same time. Debugging every single change and seeing the effects helped me to avoid a lot of bugs.

Re:Hand Scraping a Truly Flat Plane (1908) [pdf] on Friday April 17, 2020 @05:24AM (#22897484)
I'm familiar the the bubble, Morty. I also dabble in precicion, and if you think you can even approach it with your sad, naked, caveman eyeball and a bubble of f* air, you're the reason this species is a failure, and it makes mis angry!

Experience True Level!

Why isn't there any dynamic allocation of the up-/downstream channels?
Re:Ask HN: Best solutions for keeping a personal log? on Monday December 30, 2019 @06:28PM (#21917627)
- Private E-Mail account
Re:Encoding your WiFi access point password into a QR code on Sunday December 29, 2019 @04:54PM (#21908811)
Works for me on Android 7.0 on Xiaomi Redmi Note 4X 4G Phablet since 2017 with the com.xiaomi.scanner app.

Bonus: I can also share my WiFi settings by opening a QR code on my phones display.

Older »