HNHacker News
TopNewBestAskShowJobs

cx1000

569 karma · joined July 5, 2016

submissionscomments
cx1000··on Hermes – A small JavaScript engine optimized for running React Native on Android
There's always skip http://www.skiplang.com/

> Skip is an experimental programming language developed at Facebook from 2015-2018.

cx1000··on Pipenv: promises a lot, delivers very little
PEP 582 is in the works to make __pypackages__ the Python equivalent of node_modules. Not sure if it will get accepted but I hope it does.

> a mechanism to automatically recognize a __pypackages__ directory and prefer importing packages installed in this location over user or global site-packages. This will avoid the steps to create, activate or deactivate "virtual environments".

https://www.python.org/dev/peps/pep-0582/

cx1000··on Pyre: Fast Type Checking for Python
C and C++ are the basis for Python (CPython) and JavaScript, respectively. Lua was written in C.
cx1000··on Pyre: Fast Type Checking for Python
Hypothesis 1: All successful dynamically-typed programs eventually grow large enough to get rewritten or retrofitted with static types.

Hypothesis 2: All successful statically-typed languages eventually grow large enough to have a dynamically typed scripting language embedded in them.

https://twitter.com/munificentbob/status/988555364252631040

cx1000··on NYT reporter: “81% ICOs were scams”
I think they mistyped "100" as "81"
cx1000··on Users Abandon Facebook After Cambridge Analytica Findings
We should also make them all switch to Ubuntu and vim too, right?
cx1000··on Microsoft has a dumb idea to make people use its web browser
Apple and Google are doing this too: On my iPhone the Gmail app opens things in Chrome, the iOS promoted news stories are opened in Safari, yet I prefer Firefox.
cx1000··on Propel – Machine learning for Javascript
If you use pipenv it takes care of the virtualenv stuff behind the scenes for you.
cx1000··on Lyft Set to Claim Third of U.S. Market in 2017
Very true. Who would have predicted Apple overtaking Microsoft?
cx1000··on Growing homeless camps contrast with West Coast tech wealth
They may spend it on cigarettes, alcohol, drugs, etc. Or even be exaggerating/faking their circumstances.
cx1000··on Sometimes all a maintainer needs is a “thank you”
The ted talk "What makes us feel good about our work?" illustrates this perfectly. https://www.ted.com/talks/dan_ariely_what_makes_us_feel_good...

> Now there's good news and bad news here. The bad news is that ignoring the performance of people is almost as bad as shredding their effort in front of their eyes. Ignoring gets you a whole way out there. The good news is that by simply looking at something that somebody has done, scanning it and saying "Uh huh," that seems to be quite sufficient to dramatically improve people's motivations. So the good news is that adding motivation doesn't seem to be so difficult. The bad news is that eliminating motivations seems to be incredibly easy, and if we don't think about it carefully, we might overdo it. So this is all in terms of negative motivation, or eliminating negative motivation.

Which brings us to the totally free, and very low friction way to say thanks: http://saythanks.io

> SayThanks.io provides a handy URL for you to share with your open source projects— it encourages users to send a simple thank you note to you, the creator of that project.

> This simple link can be added to READMEs and project documentation.

> Then, you can enjoy a nice inbox of very small but thoughtful messages from the happy users of the software that you've toiled over. :)

cx1000··on State Of the Art of War: Offensive Techniques in Binary Analysis [pdf]
A link to their binary analysis framework: https://github.com/angr/angr

> angr is a suite of python libraries that let you load a binary and do a lot of cool things to it: Disassembly and intermediate-representation lifting; Program instrumentation; Symbolic execution; Control-flow analysis; Data-dependency analysis; Value-set analysis (VSA)

cx1000··on Drones Are Speeding Hurricane Harvey Response
Real time drone control from your browser could have a similar effect, and even help find people who are stranded: http://cape.com
cx1000··on Flip to flop: the pocket camcorder flash in the pan
I have a feeling that someday many of our old pictures and videos archived to google photos or hard drives will be consumed on large widescreen devices. When that time comes I think we will all regret the vertical videos of today and wonder what the heck we were thinking. I imagine Apple could add a setting to the iPhone easily enough to never take portrait mode video.
cx1000··on Javascript Arrays and Functional Programming
And yet here it is, upvoted, clicked, and commented on by enough people to make it to the front page of a highly competitive news aggregator. It's easy to forget what it's like to not know something I guess, but clearly there are enough beginners still out there who find this type of post useful.
cx1000··on Jeff Bezos Surpasses Bill Gates as World's Richest Person
> I've been told that Arab sheiks in Saudi Arabia and the UAE laugh at the claims of Gates or Bezos or Slim being the richest person in the world.

Can you post a source? The link you posted only talks about IKEA.

cx1000··on Ubuntu Reveal Results of Gnome Desktop Survey
Consider eclipse. It allows the user to configure every. Single. Thing. And in doing so makes configuration difficult because there are so many options. Sane defaults and a consistent environment are better, imho.
cx1000··on Tim Cook Says Apple Is Focusing on an Autonomous Car System
The article says it may be delayed but it also says this.

> Some critics are skeptical that millennials will ever catch up. Prolonging car-buying, they say, means fewer cars purchased during one’s lifetime, a problem for the auto industry.

and

> millennials are looking for cars from manufacturers that integrate seamlessly with their smartphones and sync with other technology

Which actually is in line with what Apple is doing. Either way, I agree it's not a stupid move.

cx1000··on Tim Cook Says Apple Is Focusing on an Autonomous Car System
After reading all the speculation about Apple's car project for so long, I'm actually a little underwhelmed hearing their plans. I'm not surprised at what they're doing, but there has been so much secrecy over nothing. I wonder why they kept it so close to their chest.
cx1000··on Tim Cook Says Apple Is Focusing on an Autonomous Car System
The market for self driving cars will be enormous, regardless of whether individuals own them or use them as a service. It's a field they would like to disrupt, and it's massive. What clashes with Apple, exactly?
cx1000··on The future of MDN: a focus on web docs
This is one of the only reasons I sometimes end up back at w3schools after reading the mdn docs: when I'm looking for a quick, working, live example. A short example is worth a thousand words.
cx1000··on Soylent recalls powder after dairy accidentally slips into 1.8 powder
Ensure ingredients [0]: Water, Corn Maltodextrin, Sugar, Milk Protein Concentrate, Blend of Vegetable Oils (Canola, Corn), Soy Protein Isolate, Nonfat Milk. Less than 0.5% of: Magnesium Phosphate, Potassium Citrate, Natural & Artificial Flavor, Cellulose Gel, Salt, Calcium Carbonate, Calcium Phosphate, Choline Chloride, Ascorbic Acid, Sodium Citrate, Cellulose Gum, Potassium Chloride, Monoglycerides, Soy Lecithin, Carrageenan, Potassium Hydroxide, Liquid Sucralose, Ferrous Sulfate, Zinc Sulfate, Acesulfame Potassium, dl-Alpha-Tocopheryl Acetate, Niacinamide, Manganese Sulfate, Calcium Pantothenate, Copper Sulfate, Thiamine Chloride Hydrochloride, Pyridoxine Hydrochloride, Vitamin A Palmitate, Riboflavin, Chromium Chloride, Folic Acid, Biotin, Sodium Molybdate, Potassium Iodide, Sodium Selenate, Phylloquinone, Vitamin D3, and Vitamin B12.

Nutritional Facts [0]: Amount Per Serving % Daily Value Calories: 220 Calories from Fat: 50 Total Fat, g: 6 9% Saturated Fat, g: 1 5% Trans Fat, g: 0 Polyunsaturated Fat, g: 2 Monounsaturated Fat, g: 3 Cholesterol, mg: <5 <2% Sodium, mg: 200 8% Potassium, mg: 370 11% Total Carbohydrate, g: 32 11% Dietary Fiber, g: <1 <4% Sugars, g: 15 Protein, g: 9 18%

Conclusion: Drinking 9 of these a day to reach 1980 calories does not make the % daily values add up to 100, so it's not balanced/complete. By the way, one bottle is only 220 calories, which won't come close to filing you up.

[0] https://ensure.com/nutrition-products/ensure-original#vanill...

cx1000··on Why Twitter Is Failing to Grow
> Is is completely unclear who writes messages and who responds to whom

Agreed. I always thought I was just dumb or something, since how could such a massive company with hundreds of millions of users have a completely nonsensical ui? It must be intentional on their part, but to me the user experience seems capricious.

cx1000··on Ask HN: The most cyberpunk city in the world?
For those not familiar with the term cyberpunk (like me), this is what Wikipedia has to say

> Cyberpunk is a subgenre of science fiction in a future setting that tends to focus on society as "high tech low life" featuring advanced technological and scientific achievements, such as information technology and cybernetics, juxtaposed with a degree of breakdown or radical change in the social order.

cx1000··on Moving from Node.js to ASP.NET Core
I completely agree. The fact that there are so many abstractions that compile/transpile into javascript is also a big red flag. What other languages do you see that in? And then of course there is the horrible standard library, where the most obvious functions don't exist and require a package and maintainer.

https://mobile.twitter.com/mitsuhiko/status/7126249140717281...

https://www.reddit.com/r/programming/comments/4bjss2/an_11_l...

cx1000··on Modern JavaScript for Ancient Web Developers
> es6 and TypeScript have made nodejs pretty bearable for me

I'm glad you found a solution, but I think the fact that you need typescript to make javascript bearable is an issue. Typescript isn't javascript, so the implication is that what we get out of the box is not bearable, and we then have competing languages, tooling, workflows, etc. and no "right way" to do things. Just more fragmentation, and an unbearable default.

cx1000··on Tech’s ruling class casts a big shadow
You can add !g to your ddg query to redirect you to a google search.
cx1000··on JavaScript-Stack-from-Scratch tutorial V2 released
From the readme

> You don't need to use this entire stack if you build a simple web page with a few JS interactions of course (a combination of Browserify/Webpack + Babel + jQuery is enough to be able to write ES6 code in different files)...

Actually you can build a simple webpage with HTML and javascript. You don't need all those other tools adding complexity just because everyone else is doing it. This is especially true with how expressive es6 is.

cx1000··on How Uber could end up as Silicon Valley's most spectacular crash
Which may also work against them...

> If Uber stalls, it isn’t going to be saved by a loyal consumer fan base. There is no stickiness to Uber. It has no frequent-rider program. It has no social component. It prevents users from forming bonds with drivers. No one gets a heightened sense of self by identifying as an Uber rider versus some competitor. We’ll stick with Uber as long as it continues to get us where we want to go at a price we like. Someone else comes along with a better service or lower price, we’ll use it.

cx1000··on Python moved to GitHub
I commented on this in another thread, but I'll repeat it here.

The guy in charge of making the decision weighed the fact that it's closed source, and it still won.

> But to me, the development process is more important than worrying whether a cloud-based service publishes its source code... This is especially not a worry as GitHub is not a walled garden; its extensive SDK allows for downloading any and all data that goes into the platform.

In summary, his reasons were: github has become a social network of open source devs; gitlab has no killer features github doesn't; and Guido prefers github

https://snarky.ca/the-history-behind-the-decision-to-move-py...

My personal feeing on the matter is that proprietary software can harness a lot of talent and usually delivers a better end user experience. For example, the creator of Twitter Bootstrap works for github full time. How else will you get talented people thinking about how to make a product better all day?

Page 1 of 3Next →