HNHacker News
TopNewBestAskShowJobs

pmoleri

288 karma · joined April 7, 2016

submissionscomments
pmoleri··on Facebook, Axios and NBC Paid to Whitewash Wikipedia Pages
I don't think that blindly trusting wikipedia is nearly as bad as blindly trusting media. Wikipedia, while not perfect, has a way to moderate itself. Media needs to deliver fresh and high impact news, this ends up being an incentive to replicate news from other media without fact checking or a minimum analysis. IMO while money can influence any of them, the incentives for poor content quality in media are worse.
pmoleri··on AWS API Performance Comparison: Serverless vs. Containers
There's something I don't quite get. If you set up a website with asp.Net core or node, and you're using async io everywhere. Doesn't lambda restrict the process to one request at a time? If it's like that, doesn't lambda underutilize resources?
pmoleri··on When Too Cute Is Too Much, the Brain Can Get Aggressive
I buy the "overwhelmed by positive emotion" explanation. As a parent I've seen this in my daughters, specially in the first years. They would hugh you strongly and in ocassions even bite. I've always understood this as some emotional overflow with no harm intended. Which makes sense, since managing emotions is not easy for toddlers.
pmoleri··on OOP Is Dead, Long Live OOP
I second this. I think that a class offers a simpler contract than a closure or a curried function, with the difference that you use "this" to refer to the enclosed objects. However, the same keyword can be used to hide state and that can lead to obscure or unexpected behaviors.
pmoleri··on Ask HN: What is your best advice for a junior software developer?
I like these, I would add:

Don't decide too early. If you can postpone a decision that doesn't delay your overall work, then postpone it. You may have more data later to take the right decision.

Don't optimize too early (premature optimization). Always try first the simpler approach, you will finish earlier, get simpler code and find out that some minor optimizations or not at all are needed. You should always check this with real world data / scenarios.

pmoleri··on Pushing back on the definition of normal body temperature
I think in the same way, however I never confirmed it. It also feels good, or less miserable, while you allow your fever to help fighting.
pmoleri··on TypeScript at Google
CRA is a set of packages, among which the most important is react-scripts (contains all build and publish commands). For Typescript you use rect-scripts-ts, a fork that usually is some versions behind the main one.

It does work fine, but sometimes you don't get some of the gooddies that you get in the latest js version.

pmoleri··on Living APIs and the Case for GraphQL
I share most of your points, however I think there are two that actually play well with GraphQL.

> You want a stream of trees?

I was under the impression that is what GraphQL subscriptions are for but I haven't had the chance to try them. Isn't that so?

> You want to use GraphQL to upload attachments?

I have been using apollo-upload and it works quite well.

pmoleri··on How salad became a major source of food poisoning in the US
Interesting. I often wonder if dressing (mainly vinegar and salt), is one of those preferences that play a role in salad safety.
pmoleri··on Germany considers free public transport in fight to banish air pollution
While I agree I want to point out that I find reliability and punctuality far more important than price when it comes to get people into public transport. Germany probably excels at both, but it not the same for other countries / cities.
pmoleri··on People Don't Get the Link Between Meat Consumption and Climate Change (2016)
Yeah, it's not like waste is going to end up in landfills or oceans anyway.
pmoleri··on Bitcoin Blows Past $9,000
However it's crazy how volatile it is. When you Cash out, you would put your money in a less volatile currency or asset.
pmoleri··on Show HN: Airborn – Private Google Docs Alternative
The alternative usually is to put your trust in a piece of software that you don't actually know, unless you have the technical knowledge and time to review it yourself. It seems that most times you will be changing the cloud for a illusion of control.
pmoleri··on Windy.com
Great website, has been around for some years as windity and windytv. I guess windy will be its final name. I usually find windguru.cz more easy to read, but windy offers a cool visualization that I think gives more context. It's really cool to check it during hurricanes.
pmoleri··on Show HN: Crackle – keyboard layout for programmers
Tab, Esc, Space and F2 are all already reached easily with your left hand. Why do you like having them repeated elsewhere?
pmoleri··on WannaCry in-memory key recovery for Windows XP
So, to check if I understood.

The generated key is encrypted and the user has access to it. So, you send the encrypted key and pay the randsome to get the unecrypted private key. Is that so?

pmoleri··on Cyberattacks in 12 Nations Said to Use Leaked N.S.A. Hacking Tool
Great info. So, for the layman. How vulnerable are users behind a firewall or broadband router?
pmoleri··on Announcing TypeScript 2.2
In my team we used to be splitted between sublime/webstorm/atom, now we all are pretty happy with VS Code for typescript and javascript.
pmoleri··on No Doctor Should Work 30 Hours Straight with No Sleep
Yes, sorry for the cliffhanger, it turned out to be allergy to cow's milk protein (most probably as it's difficult to confirm). She was 5 month's old, and the treatment was the withdrawal of cow's milk for a year, then she was able to consume it normally.
pmoleri··on No Doctor Should Work 30 Hours Straight with No Sleep
I experienced this twice, when my baby daughter was in observation after two episodes a week apart.

She recovered quickly so she was released from ER to observation for 48 hours. In those 48 hours we would see new doctors and nurses every 8 hours, explain everything again, so they wouldn't miss any details from the history, and every now and then a doctor would come up with a new theory and order studies without first consluting with a specialist in that area.

One of this theories was epilepsy, after that we went to see a neuropediatric and dismissed the theory inmediatly, even before seeing the study.

All of this was in a stable condition, I can't imagine going through the same in critical condition. So, altough I think 30 hour shifts are excesive, I can understand why long shifts are important.

pmoleri··on Microsoft Replaces Command Prompt with PowerShell in Latest Windows 10 Build
And you can use Ctrl+C Ctrl+V :) If you upgraded from a previous Windows you need to disable legacy mode.
pmoleri··on Overview of JavaScript ES6 features
I resisted const for like 10 minutes. You get used to it really quickly and then when you see a 'let' in your code you just know something is happening with that variable afterwards.

When I have to go back to programming in a language without const declarations it feels bad.

pmoleri··on When Nintendo got rid of the headphone jack
Yes, it's true, they needed some help. Although memory and sound was product of maturity, I always thought that Samsung has been a big pusher in this matter.
pmoleri··on When Nintendo got rid of the headphone jack
Many mobile phone manufacturers did the same at some point. Sony used to cell phones with their own propietary sound output and their propietary memory sticks. LG did the same for sound. Then the industry matured with standarized chargers, memory and sound output. But Apple somehow got their own way, sound is just one more thing.
pmoleri··on Love for TypeScript
I totally get your point and I would think the same if all browsers supported ES6. But right now I would transpile just to use ES6, and TS adds a lot of goodies on top of that. Also, TS is pretty stable and proved its value, it isn't a flavor of the month transpiler.
pmoleri··on Braid Code Cleanup (part 1)
I always wonder how saving a few dollars in RAM pays off for the effort game developers have to make to ship games. I mean the consoles sales are tens of millions, but I guess games titles are in the thousands and they spend a lot of money to cope with these limitations.

Interesting reading: How Naughty Dog Fit Crash Bandicoot into 2MB of RAM on the PS1 https://news.ycombinator.com/item?id=9737156

pmoleri··on Braid Code Cleanup (part 1)
Just play it. The first level you will think you were right, if I remember correctly it even has some references to Mario, but if you continue it will surprise you and realize that is far from a 2d scrolling. The Last few levels are really challenging.
pmoleri··on Chrome DevTools in 2016 and Beyond
If you run your node code from electron you already have access to DevTools. It's really useful.
← PreviousPage 4 of 4