skysight-inc/HackerNews huggingface dataset:
> My Macbook Pro is out of the 4 year replacement window - and the Spacebar is starting to fail.

If you're out of the 4-year replacement window, then your MBP must not be a 2016 or newer model.
>Power efficiency / performance-per-Watt tests were not conducted due to the remote ARM testing. Likewise, there isn't performance-per-dollar metrics due to many variables at play when it comes to factoring in the ARM and POWER9 costs.

That seems to make the benchmarks entirely useless for gauging Power performance for the server market. Not saying it didn’t fall behind its competitors (I’d be surprised if it didn’t given how much more AMD and ARM makers have been investing in chip development), but these benchmarks don’t tell us that.
Hey, HN can we stop with all those articles on how bad the MacBook keyboard is or why do you leave Medium for X (insert X as your new platform).

There are now 100 versions of this story and we know already how bad the product it is.

I believe that if you're going to buy a new MacBook Pro, then you are going to meet the same problem again and again. Sometimes Apple users are masochists in this way: keeping buying products from the same OEM like a religion.

Change manufacturer and see if it goes better.
Saying that you are afraid that mass murder will be committed in the name of freedom, in the context of the Hong Kong protests, makes your comment read like Chinese propaganda.

Granted, you spent the first half of the comment criticizing China, so it probably isn't.

Overall, I can't discern what you are trying to say.
I would want any company that is abusing their power to face consequences. However, it wouldn't surprise me one bit to find out that some of these companies complaining about getting banned are legitimately doing something wrong and their only cards to play are hoping for a political reaction, rather than suing Google in court and being exposed for why they were actually banned.
Need stable electricity in most of the countries
Mind+control+chips+in+ear
I'll upvote every one of these stories. I have a macbook pro and use external keyboard 95% of the time. But the built in one (and touchbar) is awful. Maybe someone at Apple will read hacker news someday and realize it.

Or not and I'll just keep using this piece of crap. C'est la vie
While this experiment was interesting, I think it was doomed from the get go.

One of the problems with advertising is that it works a lot off of a novelty factor. Like, you can come up with a new technique, and for a brief moment in time this new technique of advertising may be effective. Think popup ads, or those annoying newsletter popups, etc etc etc. But then everyone does it, people start ignoring it, and it becomes immediate noise.

The trouble is, why wouldn't anyone `npm install funding`? Soon npm install would have to block the ads just so its own user experience wouldn't be absolutely demolished. This idea simply wouldn't have scaled.

I love open source and I contribute as much as I can, and have definitely been a long time user and supporter, longer than I've worked in software professionally for sure, but along with all of the "Open source is not about you" points that were brought up, there is one point that may hurt but is nonetheless equally true: You are not entitled to make a living off of open source. There is no reason this would be guaranteed to be possible. It would be nice to live in a world like that, but if it doesn't work, it doesn't work. I'm not for solutions that will just deteriorate open source as I think it is much more valuable to society than just a way to make money, to basically all parties involved. I sympathize with people who pour hours of unpaid work into it, but when you donate your time and effort into something, you don't necessarily get anything in return, much like giving gifts to someone you love.

If you need to make a living, you can always sell software, or work for someone else. There's still opportunities to contribute to open source in both of those cases. I would love to see a detailed breakdown is between open source work that's donated versus funded by companies to understand what the open source community really is; I think it would help our understanding about how open source gets funded today.

Of course, though, it is absolutely people's right to do what they wish with their own projects, and I do wish everyone luck in finding a good way to make contributing to open source more sustainable as a source of income.
GraphQL Perfection with Java?
Aussie PM Bob Hawke did this for all protestors after Tiananmen Square.
Give Notion a try. I came across it in one of these threads on HN and have been loving it.

It basically feels like if Slack made a wiki.
Switzerland's Unique Way of Saving a Prized Glacier: Wrap It in Blankets
Creative Navigation UI Patterns for Better UX
Try to use EF, Forms, WPF, UWP, designers, architecture tooling with F#.

Or type providers in .NET Core.

Visual Studio 2017 has even been released with critical bugs in F# tooling, as they weren't considered as show stopper.

In regards to VB.NET and C#, it certainly feels like second class, and occasionally even C++/CLI gets more love.
You live in a Tier 1 city. Anhui, your example of the sticks, is mostly Tier 2. You have barely experienced most of China and have lived as an expat and think you can speak for the Chinese people?
Show HN: Managed WordPress Hosting
It's good. Incentivises people to drive safer.
Yes, absolutely. My sense of beauty goes from focusing on grace to focusing of freedom/story. Both are pretty in their own way, but by choosing to appreciate what they do best I become more aware of one type of beauty over another in all aspects near me.
Can't believe I haven't thought of this! I've been using an Apple BT keyboard with my MBP but never thought to stack it right on top of the butterfly keyboard. I can confirm that it fits the 13" MPB, just like your 15"!
Conditioner is indispensable for untangling long curly hair.
One would hope for a little continuity in the Presidential Office's security department. Why would they reset their security at the beginning of each administration, only to have to learn the same lessons the hard way again?
I provided a citation that clearly explains status symbols are the second biggest motivator for social activity. Can you provide a citation around what percentage of the population consistently opts out of status symbol behaviors?
-- it's amazing how these little details matter because they're right there affecting your quality of life every minute of every day and everyone is telling you to grin and bear it
You're right about the velocity, but the impact force really depends on the properties of the material one lands on.

First consider that our kinetic energy is

K = mv^2/2

Additionally is the material has a spring constant k, then the force that results when the material deforms by x amount is

F(x) = kx

If we let d be the max distance the material, then we can integrate over the force to get the energy absorbed, which is equal to the kinetic energy.

int_0^d F(x) dx = K

kd^2/2 = mv^2/2

Now there are two ways the impact could work. Imagine we have a really thick crash pad, then we consider it to deform without limit and have a constant k, giving

d = sqrt(mv^2/k)

F_max = F(d) = v sqrt(mk)

But what about a helmet? It can only over it's thickness, at which point your head is basically in contact with the concrete. Thus, we have a constant deformation distance d, and get

k = mv^2/d^2

F(d) = mv^2/d

As we can see, depending on how we consider it we get either a force of sqrt(10) or 10 times the original amount. I probably failed to take into account something that someone who knew more about materials could point out.

tl;dr it's complicated because impact force does not necessarily scale linearly with velocity.

update: so after some conversation with others. It seems that head on concrete is better modeled by a constant d. So a drop of 10 times the height results in 10 times the force.

See also http://hyperphysics.phy-astr.gsu.edu/hbase/impulse.html
Really bad. There are still those TV boxes or phones running Android 4 (and imagine, as of August 2019, Sony is still selling Android 5.0 in shops like MediaMarkt in Germany).
Isn't that the point of their being used?
Ah so the solution to inequality is to not lift the poor up but to pull the successful down like crabs in a bucket [0]

[0]: https://en.wikipedia.org/wiki/Crab_mentality
> it isn’t really a problem

Two hundred deaths a year and more than ten thousand injuries for bicyclists in the Netherlands... Not going to debate whether it’s a “problem”, only assert that the belief that helmets aren’t necessary is causing some unnecessary loss of life. A few of those people in the Netherlands know that even with their well designed infrastructure and slow biking speeds, as many as 80-90 Nederlanders are dying unnecessarily every year and would live if they’d only wear helmets...

https://www.dutchnews.nl/news/2019/03/top-hat-bike-helmets-w...

https://translate.google.com/translate?hl=&sl=nl&tl=en&u=htt...
https://obamawhitehouse.archives.gov/blog/2011/10/21/preside...
Yeah, but if they sell the house and want to live in the same area, they are going to have to spend just as much on a new place.
Sure. But it wouldn't surprise me one bit either if there was an active policy on the part of Google that optimized for profits at the expense of the rest of the world either.

See, if a company can do something for years then the least thing you can do is explain why they've been banned, 'policy violation' is such a great fig-leaf for a lot of trickery that it should be a requirement to spell out exactly what the violation was unless the account was only a few days old and did not have a history of good behavior right up to that point.

If Google wants to hide behind the mantra that they do not wish to tell the world what rules they have to avoid giving spammers an edge then they should improve their enforcement; not to send away the bulk of the complainants without a way to improve or some kind of dialogue.
Its never this simple.

I switched from 2016 macbook pro to dell xps 13 running linux. I spent 2 weeks tinkering. Trackpad never worked half as good as MBP. The simple act of closing the display lid did not even put the computer to sleep reliably.

I went back and paid the Apple tax.

Edit: BTW, Windows was running OK on that machine. Linux was fucked. I guess Microsoft is doing great work on WSL2. It might be the solution for me eventually.
Stupid question but is there a market for lots of smaller wind turbines? What’s the efficiency like vs. one big turbine? Is there something like a solar farm with modular panels, but for wind?
For one, that would be illegal in California. Outside of that, as long as it was opt-in, I think it would be appropriate. Progressive at least has been doing this for almost a decade.
Lots of life lessons in The Wire :)

https://youtube.com/watch?v=KbbZc2pab9k
> To draw an analogy: a man's suffering is similar to the behavior of a gas. If a certain quantity of gas is pumped into an empty chamber, it will fill the chamber completely and evenly, no matter how big the chamber. Thus suffering completely fills the human soul and conscious mind, no matter whether the suffering is great or little. Therefore the "size" of human suffering is absolutely relative.

- Viktor Frankl, Man's Search for Meaning
People just don't know about China. This is how it is there. There is no openness and freedom and everyone is monitored. People say it's not too bad.
Personally, I don't know how I'd feel about it. It would change things and you'd only be able to go on state-approved websites, but life would go on...
Preach.
I bought an e-bike a few years ago, and I ride 20mph _everywhere_ now. I might upgrade to a 26mph speed pedelec, at which point a full-face may be prudent.

I'd recommend a white helmet, with stick-on reflective tape, to maximize visibility. And CINCH IT DOWN TIGHT.

Fun times we live in -- I expect in 5 years we (in the US) will be able to buy a 45mph, 50kg e-bike (e-motorcycle?) for $3,000-$6,000. We'll need better helmets, gloves, shoes, and pads for that, but hopefully stil shy of full motorcycle regalia (known as "ATGATT", all the gear, all the time).

And I like my current Troy Lee Designs helmet simply because it fits so well.
Court costs and lawyer fees are expensive, Google the monopoly can afford the best lawyers... So this is crying for a class action lawsuit with the best lawyers. When all is said and done it will be a slap on the wrist compared to Google's revenue. So unless the courts hand out huge punitive judgment it would not do much. And even if they do the parties effected will see a small fraction of their loss. Corporate psychopathy at its best or worst.
Which would also be fitting, wouldn't it? Google missed it and dropped the ball.
Comparing a pointer to null isn't UB. De-referencing invalid pointers is ub.
> I can understand if you need some media creation applications sticking with Mac (although I'd switch to Win10), but as a fellow developer it has been awesome

I believe you also need it for ios/iphone development not sure about osx dev though.
> If currency loses it value entirely, I think the government will mandate private household gold be sold to the government at fixed rate set by government which will be used to pay for gas/petroleum import once the currency tanks.

Which section of the Constitution permits the Government to do that?
Why do companies always strongly recommend against these kinds of relationships, instead of outright banning them and having repercussions if the rules are violated? It seems like it would save so much hassle and effort to have a zero tolerance policy.

I understand people drink and things happen. I don't really care. Adults should be expected to exhibit self control.
Any speculation why they would only leave in the malicious code for about a month? Changed their mind? Done without full knowledge? Achieved some high value heist and rolled it back?
New science blooms after star researchers die
Twisting this into an absurd discussion does not give you the moral high ground, but fine, I'll bite.

If a browser is standards compliant it should be supported. Note that standards are there for a reason, they create a level playing field. So all you really need to do is to ensure that your implementation is conform the standard, you then still have to test to ensure that your assumptions hold in light of practical applications of that standard on the rendering side. But there really is absolutely no excuse why barring non-standard extensions your website would not work with all browsers with more than 1% market share.

https://en.wikipedia.org/wiki/Usage_share_of_web_browsers

Would be a good place to start for your compatibility testing.
Interesting. I haven’t used it as a repl. Just for running ts scripts directly so I don’t have to do a 2 step compile/execute.
I also have persistent joint pain in my fingers when I use my 2017 MBP keyboard even a moderate amount. I switched to an Apple BT keyboard and about a month later the pain subsided.
HAVE YOU EVER BEEN RIPPED OFF BY AN IMPOSTER CLAIMING TO BE A GOOD HACKER? LOST BITCOINS OR MONEY TO THEM? I HAVE A GOOD NEWS FOR YOU! THERE'S A LEGITIMATE HACKER WHO ASSISTED ME IN GETTING MY BITCOINS BACK FROM THE HACKER WHO RIPPED ME OFF, HIS NAME IS PAUL MIKE. PLUS HE HELPED ME WORKED ON MY CREDIT SCORE THAT WAS POOR AT 406 TO AN EXCELLENT SCORE OF 845. CONTACT HIM NOW ON HACKERPAULMIKE@GMAIL.COM & 720-663-0651. I'M SURE YOU WILL NEVER REGRET.
It doesn't say she was forced to. What makes you assume she didn't choose to?
Another +1 for sentry. I used it (basically accidentally) for a year because it's part of the cookiecutter-django framework[1]. I don't think there was a single issue with it the whole time we used it.

[1] https://github.com/pydanny/cookiecutter-django
"Everyone thought tech was above that kind of thing."

That is news to me. Based on experience with the software industry in the 1990's, there was no reason for me to think that companies like Google would be any different.
Only windows? Seriously?
I sometimes wonder if bringing Scott Forestall back in would fix things, even temporarily. He wasn’t necessarily pleasant but then again, neither was Steve.
A friend once told me where Tim Cook goes for coffee in the AM. I'm tempted to set up shop inside with a big honking keyboard balanced on top of my MBP.
I crashed at Whistler last year, into several large rocks, going fast, wearing a full face and a neck brace and full body armor. I remember hitting the rock with the back of my head and wondering while it was happening how serious it was going to be. I’m certain that without the protection, I’d have been in the hospital at the very least. Walked away with no head injury, no broken bones, only some torn shoulder soft tissue and a really ugly hematoma on my hip where it was exposed in between two body armor pads.

Ditto: helmets are awesome.
I've worked in a number of languages and fwiw I've never written such error-free code as I have in Scala when embracing the type system (to a reasonable degree) and embracing immutability/fp patterns. We write only the tests that truly matter, something I've never felt is possible in a dynamic language as I personally feel you need lots of tests which are more or less provided for free by the type checker.
https://github.com/microsoft/TypeScript/issues/16#issuecomme...
No. All optimizations have tradeoffs, if you don't know what it's doing then you cannot know the tradeoffs made. Empirical black-box testing works to a degree, past which it only gives false assurance, as it would in this case.
In all probability, people's names were their own brands, like they still are in small towns today.

I can imagine two Romans walking down the street, and one saying to the other "Oh our family has been buying meat from Spartacus' family for generations now, they're the best when it comes to that sort of stuff."
Also...

> “The future has never looked brighter for the Power architecture,” says Hugh Blemings, Executive Director of the OpenPower Foundation, apparently with a straight face. You don’t drop your price to zero when business is good. Still, the move probably is a good one for Power as an architecture. And a good one for designers the world over, now that they have a major new choice to consider.

> Your very own IBM computer. Who would’ve thought it?

I'm stunned. Who would write something as smugly as this is written... and why?

You don't reduce the price to zero when business is good, no. IBM isn't. They're reducing the price to zero for the parts of their product to which business is now irrelevant and for which free and open collaboration is now more valuable than secrecy and proprietary ownership - and good on them for it. They still charge lots of dollars for their support, their processors and their implementations based on them - and stand to benefit massively from opening the ISA and surrounding infrastructure and patents.

Do yourself a favour and don't write like the article's author does - if you do, it'll just make you sound like an ass.
Not really surprising. Old MBA 2013 has an awesome keyboard for coding (and is overall a great terminal device), and the Apple Wireless is identical to some MBA/MBP keyboards. The effective distance between the keys and the overall general width of the keyboard are pretty much en par with "proper" desktop keyboards, with excellent responsiveness and key travel. The MBP 2018 is another deal altogether, obviously. Sad, sad story.
One thing nobody likes to mention much is that the value of a type system also scales pretty heavily with the quality (or lack thereof) of developers using it.

For a small team full of talented engineers (e.g. a startup) it's not unreasonable at all to just... not make typing errors. I've put 5+ large apps into production in the last decade and could probably count on one hand the number of times I've really struggled with something type related.

There's certain anti-patterns that make up the majority of type-related problems in JS. Things like inconsistently mix 'n matching falsey types, adding or removing properties from objects in unpredictable ways, or leaking stringified numbers and bools everywhere.

Other classes of type problems can be solved in dynamic languages by structuring code in more self-documenting ways and properly augmenting any remaining ambiguity with comments.

If your team is naturally coding in a way that respects the dynamic typing of the language then your benefits from TS are going to be much more marginal, and that needs to be taken into account when comparing the costs and benefits of it.

My guess is that we'll see a harder split in the JS community in the next few years. Most people are going to drift towards only taking on TS or JS roles in much the same way most JS programmers wouldn't take a lisp or C# job at the moment.
Such features could be added in a lightweight way with very minimal javascript, to the html version.
I'm frustrated that there isn't work being done on what I'm convinced is the only option: sales people dialing companies for dollars to support open source. I wrote up how it would work imo: https://medium.com/@paulbiggar/how-to-fund-open-source-8790e...
“ELK stack is free only in bits but not in engineering time.” — best thing I’ve read all week. Thank you.
How much of that is due to a critical evaluation of his behavior and how much is due to the "modern" tendency toward foul hatred of anyone who accomplishes anything?
Those problems are nothing new. India doesn't have an entirely literate population which contributes to lack of skilled workforce and slow pace of Infrastructure building. Add to it the democratic nature(unlike China) of politics which stalls mega projects for years.

As for the rule of law, India is severely underpoliced[1].

While the current Government is indeed authoritarian, it's a major improvement over the previous ones when we include national security in the picture. Also, the region where Internet was shut is Kashmir, which is heavily infested with Pakistan-backed terrorism.

1. https://www.quora.com/Why-is-India-underpoliced-even-after-b...
I'm in the early stages of building some tools to automatically lock new issues in my own Open Source repos, and to give Patreon supporters automatic access to comment on locked issues. Anyone will be able to read existing Github/Gitlab issues, but only supporters will be able to join the conversation or file new issues. It's loosely based on some ideas that William Gross[0] and a few other sources have proposed.

You're on Patreon, but most of the experiments you've run so far are around traditional sponsorship, ads, and donations. Is there an ethical/logistical reason you've mostly stuck to that path, or is that just the stuff you've happened to try so far?

This is still in the experimental stages for me, but if I built this in a way that other people could use, I'm curious about whether anyone else would be interested in trying it out -- or if the potential to suppress community involvement is part of the reason why developers have steered away from strategies like this.

[0]: http://wgross.net/essays/give-away-your-code-but-never-your-...