Better HN
topnewbestaskshowjobs
Log inSign up

_Codemonkeyism

3,311 karma · joined Sep 10, 2015 (11y ago) · 1,565 submissions

Submissions

comment 8y ago · link · parent

I don't watch TV, that said I find product placement a pain, all those Apple and Dell laptops shown for no reason, the Nikon cameras thrust into the view, perhaps I'm to sensitive but some shows I'm annoyed by product placement shots every 10seconds.

comment 8y ago · link · parent

Sorry for being so confusing

"Even more because your example was pure."

No it wasn't which is the whole point.

    y = x + 1
means

    y = x.map(_ + 1)
by default with async effects.

"same syntax"

Which is also the point, that there is syntax for the effects. When everything is async, there should be no special syntax as you have that syntax all over your code and it's redundant.

comment 8y ago · link · parent

From my understanding, this is not Haskells IO - though my time with Haskell is limited.

1. Haskell uses special notation 'do' to handle access to IO wrapped values, e.g. (contrieved example, one would not use do for such simple cases)

      y = do x <- xWithIO 
          return x + 1
instead of

      y = x + 1    
      
2. Haskell method signatures do include IO, e.g.

    doSomething   :: Int -> IO Int
instead of

    def doSomething(i:Int):Int
3. Because IO is usually not the only effect managaging monad, as I've said in another comment, the type signature usually uses a type alias that does alias a monad transformer stack like

    type Result a = ReaderT Env ( ErrorT  String ( StateT  Integer Identity))
or concurrency mixed in

4. This the same as my Scala code, where I have cats FutureT monad transformers with Scalactic errors OrT Every stacks showing up all over my APIs as a type alias of 'WithErrors'.

5. 'Also, parallelism is "free" on pure code.' Not sure what's that got to do with it, but yes if you have no concurrency problems (concurrent writes to shared data) you don't need to think about concurrency and parallelism is free.

But if my understanding is wrong, I'm happy to learn something about concurrency in Haskell without it showing in code and type signatures.

comment 8y ago · link · parent

Poor journalism.

1. It's about EOL SE 8

2. "software running Java SE 8" - the article needs to be clear about Oracle Java, and Open JDK and others like Azul

comment 8y ago · link · parent

I've learned so so much from his books on consulting, thank you for everything Mr.Weinberg. Rest in peace.

comment 8y ago · link · parent

[edit] I've meant beef when I've said meat. I very rarely eat any meat and if then only beef, so sorry for the confusion.

comment 8y ago · link · parent

This always sounds phoney to my ears. Move to a suburb to have a large house (3 bedrooms!), vote for parties that build roads instead of public transport, despise public transport, don't walk 100m but go by car, don't own a bicycle and then "I couldn't live without a car".

Yes they can't live without a car, agreed. But this is by their own choosing.

comment 8y ago · link · parent

In Haskell you'd have the type signature everywhere I think, mostly as a monad transformer.

comment 8y ago · link · parent

Petrol is also toxic, that said I have no clue about the relative toxicity.

comment 8y ago · link · parent

Wasn't there a language where every call was async? Instead of async ... A/returing Future[A] it did/would return A from method calls.

If it didn't exist, one can imagine one.

A.x = 3 would be wrapped in A.map(_.x = 3) etc. So you write code that would be executed when you finally await a value. No more red/blue world. Would probably need coroutines instead of threads for executing.

comment 8y ago · link · parent

People know their personal largest impact is cars and meat. But personal convenience has always beaten doing the right thing.

comment 8y ago · link · parent

Wasn't 100 Fahrenheit the temperature of a chicken on tuesday in the sunshine? Can't quite remember how that scale was created.

comment 8y ago · link · parent

They probably think this works like gyms,

"I should go more to the movies"

then people don't go after some months but keep the subscription.

comment 8y ago · link · parent

Not sure in which way e.g. the telephone or lightbulb looked utopian at the time. Most inventions had similar predecessors.

Perhaps you're thinking of social inventions like the social security nets in western Europe - I'm not as good in their history.

comment 8y ago · link · parent

Found your claim astonishing, so googled it.

Looks like this is not true, at least the Ob river (3,650 km) and the Yenisei river (3,438 km) are major rivers flowing from South to North (Both top 10 rivers).

So not sure where you did get that piece about the Nile from.

comment 8y ago · link · parent

Updated:

"We wrote in a previous version that "the next Mozilla patch in September" will enable DoH by default. We corrected that part as it is not clearly stated on Mozilla's blog, as can be seen in the screenshot below."

comment 8y ago · link · parent

For many it is, but for billions it isn't. For those where it is an improvement they can opt in.

comment 8y ago · link · parent

FF will turn this on for everybody and Cloudflare will be the default 2018? Don't know. 2019? For sure. All FF browsing meta data flows into the US, the country with the most spies and no legal framework to go to court.

So your argument is an obvious straw man and one wonders about your motivations to support getting all the browsing meta data into the US by default.

Moving my data from Germany to the US will not make me more secure in any way.

And talking about repressed countries is like "think about the children!" for the rest of us - a nice lever to sell this massive data vacuuming.

comment 8y ago · link · parent

The US has the largest spying budget and the most spies.

And FF thinks it makes it more secure for me if the transfer all my browsing meta data to the US.

I don't think so.

comment 8y ago · link · parent

So data is safest in the country with the largest spying budget and the most spies. Not convinced.

comment 8y ago · link · parent

"Cloudflare has at least promised not to be evil"

I have a bridge to sell!

comment 8y ago · link · parent

Most important point from the article

"Let's stop here for the moment and repeat: With Mozilla's change, any (US) government agency can basically trace you down." - with ease I might add.

comment 8y ago · link · parent

Cloudflare is an US company, their privacy statement is worth zero to most Firefox users.

comment 8y ago · link · parent

Just to be clear, the authors are wrong? There will not be a September patch that overrides my network DNS settings?

"With the next Mozilla patch in September any DNS change you configure in your network won't have any effect anymore, at least for browsing with Firefox, because Mozilla has partnered up with Cloudflare and will resolve the domain names from the application itself via a DNS server from Cloudflare based in the United States."

comment 8y ago · link · parent

"Goundbreaking 4D+Time Physics Engine that uses new mathematics created for this project."

New mathematics no less!

comment 8y ago · link · parent

When I was 12 it was C64.

comment 8y ago · link · parent

Author doesn't know what dark patterns means.

comment 8y ago · link · parent

"ArdaCraft seeks to recreate J.R.R. Tolkien's Middle-earth"

Could someone fill me in if it's JRR Tolkien or Jackson Middle-earth? Couln't find it on the site or from the images.

comment 8y ago · link · parent

?

" Source: Ken Whistler

Date: July 16, 2018

Background

The UTC is now working on the Unicode 12.0 release cycle. The tentative release date that I and the Editorial Committee are working towards for that release is March 5, 2018. "

1
161718
53