News for hackers. Stuff that matters.

cx1000

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

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

Re:Pipenv: promises a lot, delivers very little on Wednesday December 05, 2018 @05:59PM (#18613612)
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/

Re:Pyre: Fast Type Checking for Python on Friday May 11, 2018 @03:29PM (#17050193)
C and C++ are the basis for Python (CPython) and JavaScript, respectively. Lua was written in C.
Re:Pyre: Fast Type Checking for Python on Friday May 11, 2018 @03:24PM (#17050150)
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

Re:NYT reporter: “81% ICOs were scams” on Tuesday March 27, 2018 @08:03PM (#16693955)
I think they mistyped "100" as "81"
Re:Users Abandon Facebook After Cambridge Analytica Findings on Thursday March 22, 2018 @08:56AM (#16648202)
We should also make them all switch to Ubuntu and vim too, right?
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.
Re:Propel – Machine learning for Javascript on Tuesday February 27, 2018 @02:08AM (#16471614)
If you use pipenv it takes care of the virtualenv stuff behind the scenes for you.
Re:Lyft Set to Claim Third of U.S. Market in 2017 on Sunday November 12, 2017 @12:16PM (#15681535)
Very true. Who would have predicted Apple overtaking Microsoft?
Re:Growing homeless camps contrast with West Coast tech wealth on Tuesday November 07, 2017 @07:44AM (#15642878)
They may spend it on cigarettes, alcohol, drugs, etc. Or even be exaggerating/faking their circumstances.
Re:Sometimes all a maintainer needs is a “thank you” on Saturday November 04, 2017 @11:33AM (#15625474)
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. :)

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)

Re:Drones Are Speeding Hurricane Harvey Response on Saturday September 02, 2017 @02:23AM (#15154619)
Real time drone control from your browser could have a similar effect, and even help find people who are stranded: http://cape.com
Re:Flip to flop: the pocket camcorder flash in the pan on Monday August 21, 2017 @11:14AM (#15065149)
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.
Re:Javascript Arrays and Functional Programming on Thursday August 03, 2017 @10:53AM (#14920067)
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.
> 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.

Re:Ubuntu Reveal Results of Gnome Desktop Survey on Tuesday June 13, 2017 @10:21AM (#14544862)
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.
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.

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.
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?
Re:The future of MDN: a focus on web docs on Wednesday June 07, 2017 @10:33AM (#14506731)
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.
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...

Re:Why Twitter Is Failing to Grow on Tuesday April 18, 2017 @09:17AM (#14138542)
> 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.

Older »