Better HN
topnewbestaskshowjobs
Log inSign up

cx1000

569 karma · joined Jul 5, 2016 (10y ago) · 100 submissions

Submissions

comment 7y ago · link · parent

There's always skip http://www.skiplang.com/

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

comment 7y ago · link · parent

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/

comment 8y ago · link · parent

C and C++ are the basis for Python (CPython) and JavaScript, respectively. Lua was written in C.

comment 8y ago · link · parent

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

comment 8y ago · link · parent

I think they mistyped "100" as "81"

comment 8y ago · link · parent

We should also make them all switch to Ubuntu and vim too, right?

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

If you use pipenv it takes care of the virtualenv stuff behind the scenes for you.

9.

Pipenv has been moved to PyPA(github.com ↗)

2 points · by cx1000 · 8y ago · discuss

comment 9y ago · link · parent

Very true. Who would have predicted Apple overtaking Microsoft?

comment 9y ago · link · parent

They may spend it on cigarettes, alcohol, drugs, etc. Or even be exaggerating/faking their circumstances.

comment 9y ago · link · parent

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. :)

13.

Uber knew its self-driving guru had taken Google's trade secrets(wired.com ↗)

2 points · by cx1000 · 9y ago · discuss

comment 9y ago · link · parent

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)

15.

Silicon Valley's crazy housing situation: Real estate exec deconstructs market(mercurynews.com ↗)

1 points · by cx1000 · 9y ago · discuss

16.

$782k over asking for a house in Sunnyvale(mercurynews.com ↗)

84 points · by cx1000 · 9y ago · 199 comments

17.

Phones are changing the way people shoot and watch video(wired.com ↗)

2 points · by cx1000 · 9y ago · discuss

18.

Professional drone pilots helping Houston recover(wired.com ↗)

2 points · by cx1000 · 9y ago · discuss

19.

PEP 553 – Built-in breakpoint()(python.org ↗)

2 points · by cx1000 · 9y ago · discuss

comment 9y ago · link · parent

Real time drone control from your browser could have a similar effect, and even help find people who are stranded: http://cape.com

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

> 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.

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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?
1234