News for hackers. Stuff that matters.

fgh

Re:Chicken Scheme 6.0 on Wednesday August 12, 2026 @03:33PM (#49277484)
I had a look at Guile as well and it is great - but the simplicity of embedding s7 with just one header and C file made me go with it now. But for a more complex case, I would love to try Guile.
Re:Chicken Scheme 6.0 on Tuesday August 11, 2026 @01:53PM (#49261954)
I am currently looking into simple options for using Scheme as a scripting language in a game written in C. So far, s7 made a good impression for embedding it, but I am also not that far into evaluating the actual performance. I looked a bit at Chicken, and it seemed possible to embed, but too complicated for my purposes.
Re:Number Does Nothing on Sunday August 24, 2025 @03:49AM (#45002235)
The screenshot shows a software called "WebSerial Audio Studio". I couldn't find it, only https://serial-studio.com/ which also looks great (and has an open source edition). Does anyone know if it is the same? Looks pretty handy. Microchip had something not so sophisticated years ago.
Re:Flappy Bird in 1000 lines of C on Sunday December 08, 2024 @04:15AM (#42356014)
Yes, that brings back the memory of working through books by Andre LaMothe and implementing little games in DOS with C and a little bit of Assembler. I believe there was a very primitive graphics library included in Borland C, but it was not that useful for this task.
The OOPSLA paper is more interesting: https://dl.acm.org/doi/pdf/10.1145/3622818

Abstract: Rhombus is a new language that is built on Racket. It offers the same kind of language extensibility as Racket itself, but using conventional (infix) notation. Although Rhombus is far from the first language to support Lisp-style macros without Lisp-style parentheses, Rhombus offers a novel synthesis of macro technology that is practical and expressive. A key element is the use of multiple binding spaces for context-specific sublanguages. For example, expressions and pattern-matching forms can use the same operators with different meanings and without creating conflicts. Context-sensitive bindings, in turn, facilitate a language design that reduces the notational distance between the core language and macro facilities. For example, repetitions can be defined and used in binding and expression contexts generally, which enables a smoother transition from programming to metaprogramming. Finally, since handling static information (such as types) is also a necessary part of growing macros beyond Lisp, Rhombus includes support in its expansion protocol for communicating static information among bindings and expressions. The Rhombus implementation demonstrates that all of these pieces can work together in a coherent and user-friendly language.

Re:Picotron Is a Fantasy Workstation on Friday March 22, 2024 @02:18PM (#39793282)
As there are several available, is there one in particular that you would suggest for this use case?
Re:The Awk Programming Language, Second Edition on Thursday June 29, 2023 @04:13AM (#36517762)
Who wrote the second edition?
Team TESO wrote an excellent exploit back in the day - one of the best groups of the early 2000s.
Re:Jailbreaking ChatGPT with Dan (Do Anything Now) on Monday February 06, 2023 @10:50AM (#34679135)
With a simple "Stay in character", it is still possible to get the "current" news out of it.
It would be interesting to know which language the author currently uses.
Does this include the full machinery to prove the necessary theorems or are these basically practical courses?
I am curious why a curriculum in the US includes four courses on calculus. Why isn't this just part of maybe three analysis courses for undergraduate studies?
Re:Automatic Differentiation: Forward and Reverse on Wednesday May 11, 2022 @10:31AM (#31340505)
Just to add to this that AD was also a game changer for the banks in terms of necessary computing power and the time it needs to do these calculations. Antoine Savine describes this well in "Modern Computational Finance: AAD and Parallel Simulations", if someone is interested in this topic.
Re:The Making Of Grand Theft Auto (1996) [video] on Monday May 09, 2022 @11:39AM (#31315534)
A long time ago, I found a website with a description of how the 2.5d engine of GTA works. Would anybody here maybe remember where that was posted and could provide an URL?
Re:Modern Python Performance Considerations on Thursday May 05, 2022 @10:39AM (#31273950)
The answer would then be to have a look at polars.
No, it seems like hypergraphs should do this.
We are still using requests over the SFTP server, but I guess rather sooner than later that will change. However, when it comes to Refinitiv, I can't complain about the REST API for Datascope Select and TickHistory.

Would you know how good the quality of the options data at polygon.io is?

Well, if the sources of financial data will remain to be AlphaVantage and Reddit, yes, but as soon as they would get the really interesting data, I don't think they could keep the prices low. Even only access to one IBOR from the administrator can cost you a lot.
I don't really see the advantage over Bloomberg or Refinitiv. If I would really want to use Python within the application, there is already Refinitiv's codebook (Jupyter within Eikon). Both Bloomberg and Refinitiv are also offering an API (or too many APIs actually) and I don't see that many users of the terminal or Eikon would like to or have the resources to actually develop or maintain a fork of the application.
Re:Information Has Mass on Sunday March 27, 2022 @01:51AM (#30818032)
I don't see a convincing reason why information conservation would need two additional photons. The author mentions himself in the conclusions that the standard two photons of the annihilation process could carry the additional energy.
Reminds me of Martin Hairer commenting on what he is going to do with his $3m breakthrough prize-money: “We moved to London somewhat recently, three years ago, and we are still renting. So it might be time to buy a place to live." [0]

[0] https://www.theguardian.com/science/2020/sep/10/uk-mathemati...

Re:John von Neumann thought he had the answers on Saturday March 12, 2022 @06:19AM (#30650621)
Thanks, that clarifies his actual contribution.
Re:John von Neumann thought he had the answers on Saturday March 12, 2022 @03:18AM (#30649877)
> Von Neumann, who saw the underlying mathematics better than almost anyone, showed how wave and matrix mechanics were essentially the same, and how one could be expressed in the other’s language.

Maybe he did that, but Dirac was certainly the first to do so.

Re:A professor who beat roulette on Sunday February 27, 2022 @01:43PM (#30491200)
They ended up founding the Prediction Company and got pretty rich anyway...
Re:AdaCore and Ferrous Systems Joining Forces to Support Rust on Wednesday February 02, 2022 @07:32AM (#30176629)
This is a guess, but Simulink is most likely based on a mixture of C, C++ and Java (if we leave out MATLAB as an intermediate step).
Forgot to mention another book: Karl Sigmund, Exact Thinking in Demented Times: The Vienna Circle and the Epic Quest for the Foundations of Science.

A really beautiful book with lots of photographies of all members of the Vienna circle and what happened to them. Some parts, of course, are also about Gödel.

If you are also a little bit interested in philosophy, Heisenberg's "Physics and Beyond: Encounters and Conversations" is a wonderful recommendation.
Re:Free book to master SSH tunneling concepts on Saturday January 15, 2022 @10:50AM (#29947253)
I am not selling anything and the author of this book is giving it away for free. The lab guide and access to the lab servers cost something.
Re:Free book to master SSH tunneling concepts on Saturday January 15, 2022 @10:34AM (#29947104)
Where does it pretend anything? The license in use can be found here: https://github.com/opsdisk/the_cyber_plumbers_handbook/blob/...

Older »