News for hackers. Stuff that matters.

87zuhjkas

Re:Roughly 2000 blogs running on a $7/month dyno on Wednesday September 23, 2020 @10:06AM (#24567203)
I would pick nginx in the first place.
Re:What is 5D chess? on Thursday August 06, 2020 @07:38AM (#24070055)
No, because that again depends on the representation. You can store the information of moves and chess position in 1D. As for example, two players can play a game of chess just by exchanging moves via morse code.
Re:What is 5D chess? on Thursday August 06, 2020 @04:21AM (#24069076)
It depends in real life you always have a 3D chess board (+ time dimension) and in some chess UIs you have the option to get a 3D board rendered, like in chessbase https://de.chessbase.com/Portals/All/2017/_eng/products/frit...
Re:PHP the Wrong Way on Wednesday August 05, 2020 @06:08AM (#24059055)
Don’t solve a problem that doesn’t exist. I find this article is against behavior, principles and thoughts that only very few developer have, its against extremism by formulating anti-extremism statements. But the anit-extremism statements form a kind of extremism on its own.

> The wrong way: Always use a framework on top of PHP.

If a dev is very knowledgeable with e.g. laravel, then let him use this framework as he wishes.

> The wrong way: The religious following of rules and guidelines.

If a dev team commits on a set of rules and guidelines and enforce them throughout all their projects, then let them do so.

> The wrong way: Always use object-oriented programming.

If a developer only knows how to program with this kind of programming paradigm (or chooses so), then this is fine too. Don't force him to learn other paradigms. There is no "wrong way" and no "right way" because programming is not black or white.

I think "rough edges" is an understatement. It has serious design flaws and inconsistencies which are probably never going to be fixed due to backwards compatibility. It's like C++ now, tons of language features are added over the years but non of them is able to repair the language, similar to a game of Jenga, the tower will collapse eventually.
Re:GitHub was down on Monday June 29, 2020 @06:22AM (#23676147)
Or live with it and list GitHub downtimes as one of your business risks.
Re:OpenDiablo2 on Wednesday June 24, 2020 @10:50AM (#23628470)
For anyone interested in this sort of thing, ReGoth (Gothic 1 & 2) comes to mind and is still in active development: https://github.com/REGoth-project/REGoth-bs
Re:Siberian town in arctic circle hits 101°F (38°C) on Tuesday June 23, 2020 @06:04AM (#23611880)
Please stop acting as if you know what literally all people are not saying.
Re:Analytics Without Google on Thursday June 04, 2020 @09:44AM (#23416439)
There's also Cloudflare Analytics, no js tracking or serverside logging required in case you are behind CF.
Re:This rare AMD chip is the cheapest 16 core CPU on Monday May 18, 2020 @06:51AM (#23220784)
That depends on the context of cheap, e.g. how much would it cost to run these chips 24/7 for 5 years based on their TDP (performance per watt).
Re:This rare AMD chip is the cheapest 16 core CPU on Monday May 18, 2020 @06:25AM (#23220599)
I prefer https://www.cpubenchmark.net/cpu.php?cpu=AMD+Opteron+6272&id... vs https://www.cpubenchmark.net/cpu.php?cpu=AMD+EPYC+7351P&id=3...

AMD Opteron 6272: Multi-Core Score 4368, Single Thread Score 741

AMD EPYC 7351P: Multi-Core Score 15792, Single Thread Score 1691

So the AMD EPYC 7351P is more than twice as good in Single Thread usage and more than 3.5x times as good in Multi-Core computation.

Re:Why Segment Went Back to a Monolith on Wednesday April 29, 2020 @10:58AM (#23020042)
> Conway's Law is a physical law in the same sense as Murphy's Law. It's also obviously true.

It's like a tautology: "In logic, a tautology is a formula or assertion that is true in every possible interpretation."

Re:Why Segment Went Back to a Monolith on Wednesday April 29, 2020 @10:53AM (#23019973)
I think we can have both architectures Monolith and Microservices peacefully co-existing, with their own pros and cons.
Re:Why Segment Went Back to a Monolith on Wednesday April 29, 2020 @10:10AM (#23019415)
Well, lets assume N = 999, then N^2 = 998001, so nowhere near the number of atoms in the universe, which is estimated to be about 10^80.
"Nintendo ... rolls their own emulator(s) ... rather than using existing open source ones"

Wouldn't it be possible to reverse engineer these emulators? Maybe the official Nintendo SNES emulator has all the right S-PPU1/2 values in it.

Are there any protection mechanism against that? Something like, even if you are being tortured you cannot provide the access to anyone else?
There is no doubt that the PCI-DSS is a farce.
Why pyhton 2.7? He's dead, Jim.
Re:Ask HN: What Skills to Acquire in 2020? on Tuesday February 04, 2020 @10:31AM (#22236649)
Category theory
Re:Comparing Parallel Rust and C++ on Thursday November 07, 2019 @11:07AM (#21474410)
> Rust is very deliberately designed to address safety and correctness issues that exist in a style of programming that's just completely orthogonal to what I do.

My reasoning is: If rust addresses correctness issues that C++ does not, then it is more likely that rust programs produce correct computing results than C++ programs on average. But this is just an assumption and I might be wrong.

> This does not sound nice at all.

Ah that's true, sorry for that, I should have expressed it in a different (nicer) way.

Re:Comparing Parallel Rust and C++ on Thursday November 07, 2019 @09:36AM (#21473525)
I think C++ might be a better choice if you don't care so much about correct results from your computations. I think there are certainly some scenarios where this is the case.
Re:When to Switch to Python 3.8 on Tuesday October 29, 2019 @10:30AM (#21387541)
Maybe I could write a bot for this and then make post about the creation of the bot.
Re:Richard M. Stallman resigns on Tuesday September 17, 2019 @10:12AM (#20995279)
I wonder which of his other strong opinions could have led to a similar result.
I don't know, it reminds me of LiveScript plus goroutines. http://livescript.net/
Re:History and Effective Use of Vim on Saturday July 20, 2019 @05:38AM (#20484869)
> Once you get used to biting the bullet and hitting escape instead of jj ... it just works, everywhere.

Well you can also invest the small amount of time to type in:

:imap jj <Esc>

Re:tmux Privilege Escalation on Thursday July 11, 2019 @04:40PM (#20415605)
> An attacker controlling another terminal

How about controlling not another, but the same root terminal via send keys without tmux with another xorg terminal window?

Re:What I Want from a Type System (2016) on Monday July 01, 2019 @06:31AM (#20324025)
I agree, GHC has the best type inference that I know of.

Older »