Better HN
topnewbestaskshowjobs
Log inSign up

jsprogrammer

1,146 karma · joined Mar 27, 2014 (12y ago) · 3,158 submissions

"went from zero to Godwin in record time"

https://news.ycombinator.com/item?id=12059810

Submissions

comment 10y ago · link · parent

I agree, however kzhahou made a claim that there could be a language that could do something another couldn't.

The discussion with aerovistae about computation came from their initial post:

>Unless of course you're trying to argue that the difference between python and javascript, for instance, is what each is capable of computing?

If we are talking about ideal machines, there is no argument to be made that there is a difference between what the two named languages are capable of computing.

comment 10y ago · link · parent

Sorry, I didn't mean to imply that the abbreviation was necessarily idiomatic Haskell. I've just seen so much Haskell code that contains abbreviations that it kind of turns me off from the language. :/

I really look the like of the code now :)

Printing will definitely be a bottleneck unfortunately, but I imagine the non-printing code will be quite fast. I'm mostly curious how it would compare to a well optimized C version.

Are you planning on developing on top of this anymore? One interesting use case I have for interleaved streams is for the streams to contain Promises (not sure what the equivalent is in Haskell) that must be run while only allowing a certain number of them to be run concurrently. Additionally handling multiple consumers (based on the value in the Stream), each with their own limit on how many Promises of that type can be run at a time. Adding time-based (say, a max of 10 items per second, per consumer, regardless of how fast the Promises finish). I'm sure this has been implemented many times, but it can be quite useful.

comment 10y ago · link · parent

?

Edit: Know where I can find the feed of user downmods?

comment 10y ago · link · parent

Anonymous downmods? Ok...

If your language only has features from some other language, you are replicating work.

comment 10y ago · link · parent

A user downmod is when someone pushes the "upside down triangle" next to a person's name and/or point score for a particular post, or, in some other way decrements a person's "karma".

comment 10y ago · link · parent

This is cool. I wonder what the performance is on large streams?

>It doesn't work because we haven't defined interleaveStreams - which, for the sake of brevity, we will now refer to as iStr.

I much prefer `interleaveStreams` to `iStr`. I know Haskellers like to abbreviate things, but I think it just makes things harder to read for most people. What about using `interleave` and allowing the user to infer Streams from the function signature?

comment 10y ago · link · parent

Where can I see the list of user downmods?

Also, does this mean Dan does not run all of HN? Or do the sub-moderators just fluff?

comment 10y ago · link · parent

Ah. Royal we. Nice.

Downmod bot has got me in its sights.

comment 10y ago · link · parent

If you are replicating work, you are replicating work.

I try to avoid replicating work.

comment 10y ago · link · parent

kzhahou, sorry for reading you way to literally. I actually only have the words that you post :)

I think the important thing is to find the new things, but to realize that they aren't really new, just different ways of using the old. All of the languages you listed are really just specialized, assembly, or other, programs. Yes, most of the hard work has been automated away, but it's still there.

I like JS because it can be extended (though it can be very difficult to keep track of). I think there was a workaround phase when the VMs/interpreters/machines were slower, but pretty much everything can be compiled to JS these days. You don't even need to do that though, as JS embeds first class functions, so pretty much anything is within easy reach.

comment 10y ago · link · parent

aerovistae specifically talked about the computational ability of languages:

>Unless of course you're trying to argue that the difference between python and javascript, for instance, is what each is capable of computing?

comment 10y ago · link · parent

I guess you can't be bothered to provide your reasoning of how this is not on-topic?

Might as well just delete it.

Edit: How do I become a moderator here? Also, who is "we"? You and who else?

comment 10y ago · link · parent

Which non-computational things can you do in JS and Python can you not do in the other and vice versa? I believe my machine can only do computations.

comment 10y ago · link · parent

That (tab) looks pretty cool. I didn't say that nothing new can be invented though, only that you won't find a new language that can compute a function that no other existing language can.

comment 10y ago · link · parent

Python and Javascript should be able to compute exactly the same things (assuming an appropriate compiler/runtime and infinite time & space): any computable function.

comment 10y ago · link · parent

>Just show me the 3 things I can do in your lang that I can't do anywhere else

You won't find such a new language. Most languages in use are already known to be Turing-complete. There is no new computation that "can't [be done] anywhere else [, except in some new language]".

It would be highly useful to give examples of things that are easier to do in your new language though.

comment 10y ago · link · parent

This is, essentially, the private equity model.

comment 10y ago · link · parent

Bitcoin doesn't seem to be dead.

comment 10y ago · link · parent

And someone won $1.5 billion on lotto numbers...

comment 10y ago · link · parent

Do you have a link to the detailed breakdown of Patreon's fee sources that you pulled your observation from?

At least one person I saw on there was pulling down 10K/month to produce what appears to be a regular review of classic video games.

comment 10y ago · link · parent

WebRTC can give you UDP semantics.

comment 10y ago · link · parent

I don't think the protocol was actually changed. The article just describes an equipment swap.

comment 10y ago · link · parent

You are talking about newly minted lawyers. If they have never a held paid position as someone's representative, or in some other way practiced law in exchange for money, they would not be able to get into any unemployment line as a lawyer.

comment 10y ago · link · parent

I think it depends on whose perspective you are looking from.

If I assume I am SpaceX, I think I assume that my goal is to land my rockets such that they do not explode, so that I may reuse them. In this sense, I think I can say that the landing failed.

comment 10y ago · link · parent

The IMF isn't about trade agreements? It comes directly from arguably one of the most important trade agreements.

comment 10y ago · link · parent

That crap isn't free (you did buy a ticket, right?).

comment 10y ago · link · parent

Borderline?

https://www.instagram.com/p/BAqirNbwEc0/

Definitely an explosion.

comment 10y ago · link · parent

It's not really a landing if the whole thing collapses and explodes right after touching the platform.

https://www.instagram.com/p/BAqirNbwEc0/

comment 10y ago · link · parent

Honestly, this argument appears to be a complete tautology (successful people are successful).

Also, what is with the fatalism?

>Or put another way, I've always felt that by 25 you are who you will be.

>There will always be outliers who finds a reason to turn his/her life around but almost all the successful people I know had an impressive track record of accomplishments before their big success happened.

You likely know a tiny fraction of 'successful people'.

comment 10y ago · link · parent

I agree there is not much substance here. One reason that these rants may be reoccurring is that the world created by "older" people was created without much thought to what new people might think. The new people see this reality and begin to reject it.
1
444546
106