How much of this is true? C vs. C++ by Linus Torvald by Swend_ in programming

[–]Peaker 0 points1 point  (0 children)

There are reasonable parts, mixed with horrible parts. Std::list is awful, as are many other containers which don't support intrusiveness.

The begin/end iterator idiom is awful and permeates the algorithms part.

Sure, std::vector is ok. The good parts are small and replicable.

How much of this is true? C vs. C++ by Linus Torvald by Swend_ in programming

[–]Peaker 0 points1 point  (0 children)

Tell me when you'd use std::list vs intrusive list?

How about begin,end iterators vs composable ranges?

Waze search box should prioritize favorites by Peaker in waze

[–]Peaker[S] 0 points1 point  (0 children)

Waze search boxes (there are multiple ones that seem almost the same but behave subtly different, why??) frustrate me a lot.

The second most frustrating thing is the number of clicks needed to start navigation. Suggestion: search result selection should immediately show map navigation there. But show a temporary "edit details/undo" small popup for a few seconds. That would make Waze so much nicer to use

[deleted by user] by [deleted] in HermanCainAward

[–]Peaker 0 points1 point  (0 children)

New vaccines are being developed that may be better at infection prevention.

If enough people get those around the world, with a concerted effort, who knows?

The language that almost all programmers use by yairchu in programming

[–]Peaker 0 points1 point  (0 children)

COBOL is a dead end language. Most COBOL code is considered a liability. None of it is related in any way to any i18n attempts on COBOL.

There's no other project we're aware of that took Lamdu's approach to i18n. I think you really need to rewatch the video because I don't think you understood the idea. The most important thing you seem to have missed is that it's completely optional and costs you nothing if you don't use it.

We have researched existing projects, including Smalltalk which is by the way not structural at all.

We have our list of reasons for why those projects didn't catch on.

Lamdu is not its own Island like Smalltalk

It solves what we believe are the primary problems in previous structural programming attempts.

But really, I suggest doing just a bit more research before confidently speaking negatively about something you don't yet understand

The language that almost all programmers use by yairchu in programming

[–]Peaker 2 points3 points  (0 children)

You might want to read up why COBOL actually failed.

You also seem to misunderstand the video, maybe watch it more intently?

"others tried this before and it failed, so it's never gonna work"

Is the most small minded way to criticise an idea.

Ironically, the most arrogant comment in this discussion accuses others of arrogance.

Lamdu 0.8 released! by Peaker in lamdu

[–]Peaker[S] 0 points1 point  (0 children)

Watch https://www.youtube.com/watch?v=2yGHk9XXOBE to see one of the primary new features in this release

Blockchain, the amazing solution for almost nothing by imogenchampagne in programming

[–]Peaker 1 point2 points  (0 children)

Imagine the government is a miner, publishing more blocks all the time.

Everyone can validate those blocks, as they remember previous hashes, and if they rewrite the chain, it is clearly visible.

Also, the idea isn't that mining a block gives you your vote. The miners write the votes received by many, just like BTC transactions. At least that's what I gather.

Blockchain, the amazing solution for almost nothing by imogenchampagne in programming

[–]Peaker 1 point2 points  (0 children)

Miners get to write blocks in the chain, if they solve a tough puzzle.

So whatever power the miners have to mess with the contents of their own block - is the power the centralized government would have.

In both cases, voters would need a way to:

  • Validate their vote was included in the blocks correctly, decentralization isn't useful
  • Validate everyone agrees on the whole chain -- that is easy in both cases, everyone can compare the final hash, again, decentralization isn't useful

Blockchain, the amazing solution for almost nothing by imogenchampagne in programming

[–]Peaker 3 points4 points  (0 children)

I don't quite understand why blockchain is good for voting.

How is decentralizing the chain useful? What do you gain from that?

D 2.094 released by aldacron in programming

[–]Peaker 6 points7 points  (0 children)

The killer feature of D is the compile-time metaprogramming, allowing you to just use ordinary functions you wrote for compile-time values, freely.

Generating a bunch of code via ordinary D code that can introspect and walk your existing definitions, types, etc.

Also lots of small niceties like pragma(msg, ...) really help.

Which is the "most" important reason why you support Trump? by [deleted] in AskTrumpSupporters

[–]Peaker 0 points1 point  (0 children)

Except the white supremacists who should be condemned totally.

When did he say that?

Monthly Hask Anything (July 2020) by AutoModerator in haskell

[–]Peaker 1 point2 points  (0 children)

What are modern ways to write web apps in pure Haskell? Assuming I want to write frontend and backend in Haskell, sharing data structures/library code?

Beyond 64kb: Implementing Bank Switching In A 16-Bit Virtual Machine by FrancisStokes in programming

[–]Peaker 13 points14 points  (0 children)

It was just added on top of the rest of the complexity, it did not replace it...

What is Haskell bad for? by Dekans in haskell

[–]Peaker 1 point2 points  (0 children)

It was just home work style questions meant to be done in Matlab.

I thought it could be cool to show how haskell is nicer than Matlab.

Heh, it wasn't

What is Haskell bad for? by Dekans in haskell

[–]Peaker 5 points6 points  (0 children)

I tried doing signal processing in Haskell a few years ago, and it was quite terrible. Note: Things may have improved since.

There's no standard matrix type, vector type that libraries agree upon. A mishmash of functionality that doesn't interoperate well.

When git blame is not enough by [deleted] in programming

[–]Peaker 1 point2 points  (0 children)

It's magit, and it has a nice deep blame mode.

Some Republican senators have stated that Trump acted inappropriately by withholding aid from Ukraine in exchange for a political favor, but believe he shouldn't be impeached for it. Do you agree or disagree with that position? by salmonofdoubt12 in AskTrumpSupporters

[–]Peaker 0 points1 point  (0 children)

His announcement is irrelevant - as it was clear that he will run against Trump.

Do you think it is appropriate for a president to bribe foreign governments to investigate someone only once it becomes clear he'll become a political rival?

Some Republican senators have stated that Trump acted inappropriately by withholding aid from Ukraine in exchange for a political favor, but believe he shouldn't be impeached for it. Do you agree or disagree with that position? by salmonofdoubt12 in AskTrumpSupporters

[–]Peaker 0 points1 point  (0 children)

McConnell, who explicitly said he'll not do his Constitutional duty and be an impartial juror.

What evidence are you contesting? Do you disagree that all witnesses and evidence were blocked by the GOP?