News for hackers. Stuff that matters.

mrcactu5

Re:NumPy 1.20 on Sunday January 31, 2021 @08:47PM (#25984693)
There's a random shuffle function. Instead of writing one out using an algorithms textbook. Lots of data types get randomly shuffled during coding.

Shuffles arrays and lists. https://numpy.org/doc/stable/reference/random/generated/nump...

Re:Quiver: A modern commutative diagram editor on Wednesday November 25, 2020 @10:50PM (#25216650)
has anyone seen "The Stacks Project" ? it's very technical but it's nice and collaborative https://stacks.math.columbia.edu/
here's a Linear Algebra course from Columbia University with a bit of computer science emphasis. https://tonydear.github.io/teaching/coms3251
there are lists of math and physics textbooks on github. maybe these are helpful https://github.com/carlosal1015/Books
what are the good freshmen level chemistry textbooks these days ?
Re:In New York, Making Ends Meet on a 5-Cent Recycling Deposit on Thursday December 26, 2019 @11:43PM (#21889251)
Everybody drinks soda misses the garbage can, so these people are making the bottle and can recycling market more efficient.
Re:Visual6502 Remix on Friday November 08, 2019 @09:47PM (#21489232)
if all I want to to is build a Super Mario clone is the knowledge of the 6502 assembly language still necessary ?
Here's a scissor's congruence app on github

https://dmsm.github.io/scissors-congruence/

Re:Solving Every Sudoku Puzzle (2006) on Thursday September 05, 2019 @06:40PM (#20891306)
last year's US Sudoku Team Qualifier was held online at some point. Possibly in May or July.

http://wpc.puzzles.com/ussq2019/

Re:Levenshtein Distance on Thursday August 22, 2019 @02:07PM (#20770814)
is Levenshtein distance a "metric" in the sense of "metric spaces"? For example, the TaxiCab metric.

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

https://en.wikipedia.org/wiki/Metric_(mathematics)

Also, this looks like could be related to the Hamming Code ? Error correcting codes.

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

This shows the thrown ball (from Freshman physics) should follow a parabolic arc rather than a straight line.

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

Re:Wavelets (1994) [pdf] on Thursday August 15, 2019 @05:44AM (#20703849)
how does this compare to Fast Fourier transform ?

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

Or the Discrete Cosine Transform ?

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

Or the Gabor Transform ?

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

Re:The Feynman Lectures on Physics: Algebra (1963) on Wednesday August 14, 2019 @11:01AM (#20696239)
He does a numerical computation of the complex powers of 10 (to five decimal places) and they still are on the unit circle. And this was done in 1963.
what motivates all these esolangs? these fractals tend to be coding exercises.

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

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

Re:Words That Are Their Own Opposites (2015) on Wednesday July 03, 2019 @02:58PM (#20347467)
these are called "Janus words" or self-antonyms. Such as "flammable" and "inflammable".

https://en.wikipedia.org/wiki/Auto-antonym

does the United States have any such programs?
i got into a nice college, and they even gave us financial aid. the job market was unforgiving.
i've always wondered how web and functional programming interact. there's, for example TypeScript and Elm. These are not designed for mathematical proofs.

https://www.typescriptlang.org/ https://elm-lang.org/

Re:God's Number Is 20 (2010) on Thursday April 18, 2019 @10:29AM (#19691244)
Here's some notes from Harvard on how to count Rubik's Cube positions with Group Theory

The number is: 2^(12)3^88!*12!

http://www.math.harvard.edu/~jjchen/docs/Group%20Theory%20an...

a simple arithmetic computation shows that Europe has 750 million people, and the world has 8 billion people. That's 1/10 of the population. We neglect about 90% of people in... anything. South America has 500 million people, so they should get a comparable share, and Africa has 1.2 billion.

So just by simple fractions we know something is off. A more careful study by subject and region could be required.

Re:Analyzing the chords of 1300 popular songs for patterns on Monday January 14, 2019 @07:20PM (#18907873)
Flow Machines is an AI music generator http://www.flow-machines.com/
Re:Anglican: A Probabilistic Programming System on Monday December 03, 2018 @10:07AM (#18589289)
why did they pick Clojure to do probabilistic programming?

btw, Python programmers have the option of pymc3 https://docs.pymc.io/

at least on StackOverflow "computer science" and "computer programming" get different pages:

https://cs.stackexchange.com/

https://softwareengineering.stackexchange.com/

Re:California just replaced cash bail with algorithms on Monday September 10, 2018 @09:49AM (#17951748)
Machine Learning Algorithms are severely racist towards defendants. We know, for example, that AI algorithms mistake Black people for primates... but they are no more racist than the criminal justice system at large. And they have a better chance of getting fixed.

https://www.nytimes.com/2016/06/26/opinion/sunday/artificial...

github says 407 bytes... how is he doing that?? my HTML / CSS is nowhere near that level
Re:Amazon Dark Patterns on Tuesday July 31, 2018 @07:14AM (#17652192)
if you are Amazon you don't have time to read all the reviews carefully. How do you detect such artificial "gaming" behavior? It's natural behavior for the sellers to try to boost their reviews (at the consumers expense).

Older »