skysight-inc/HackerNews huggingface dataset:
What is this really?

GoPro is now a public company.

Their IPO was for around ONE BILLION

Now their market cap is TEN BILLION

Are they really worth that? Well, no not really :-) They desperately need to justify this valuation somehow. Watch this space. They'll be acquiring startups left and right most likely. And entering new markets. What is the flavor of the month? Drones of course. So, there you are.

That said, I think everyone will have very high expectations for this. But who will it be for? Drones are the new "toy for grownups", very similar to GoPro cameras. Anyone in the market for a DJI phantom, or one of the myriad Pixhawk-based "follow me drones" to hit kickstarter last year (airdog, etc.)
The first really has nothing to do with `print` being a statement - it could be parsed and passed as a function in "non-statement" positions regardless.

The rest could probably be special-cased in a backwards-compatible way as well. This is currently not valid Python 2.0 syntax:

print "cats", end='', file=sys.stderr
Create easily a guided tour of your website with step-by-step tutorials
Uhm, I don't know. If there's one area where VCs have far greater understanding than the average startup founder, it's things like resource management. That doesn't mean VCs should make decisions for you, but they should be able to help when it comes to e.g. how long you keep your legacy product going while pivoting.

The reason that "startups rarely die in mid keystroke" is that they run out of steering way before they run out of fuel.
You don't need to think of any other term - 'greedy' is correct. London rates are London rates because the work is in London, with all the baggage that involves. Take a look at the job listings for non-London work.
> they were writing an entire persistence framework from scratch (with annotations instead of xml) so they could get away from hibernate.

As opposed to using MyBatis or JDBI? What was their rationale for rolling their own, too many employees on the team?
This is nice for soaking up and making good use of peaks, but it does nothing for the lows, the aluminium can't give back the electricity, so you'd still need coal plants to complement the wind/solar farms when they're down.

That said, even if we could reduce the need for coal plants that would be a huge win of course.
Doesn't Cap-n-proto have some RPC mechanism in it? Might help for some cases.
The default value (the second argument of the `get` method) defaults to `None` anyways. Therefore,

D.get(key, None)

is just syntax noise (in the best case - in the worst case, it signifies someone who doesn't know/understand Python).

D.get(key)

should be used instead, or

D.get(key, "whatever")

if required.
tom, get back to work!
Article is bit misleading. They do not 'store' energy in the same way as battery, they never pump electricity back to grid. They just adjust their consumption to use cheap energy.

> By varying the rate at which the metal is produced, the plant will be able to adjust the power consumption of the 290-megawatt smelter up and down by about 25 percent. Trimet can soak power from the grid when energy is cheap. It can then resell the power when demand is at its peak. The company can temporarily reduce its power consumption by slowing the electrolysis, cutting the energy drain.
The question is if the 5x productivity boost in-between the changes in the system yields more value or not. Which I believe it does.
yeah, sure, so criminals world wide will be able to use it :-)

Yes, one can read a lot of stories how people abuse this "right".

(e.g. politiancs involved in bribery cases)
One may also want to take a look at Logi-Pi: http://www.element14.com/LOGI
RubyGems has a new design
This seems a misunderstanding. I do not sell anything. It's an informational website. A tool. More like Google then like Amazon.
Gobblin' Big Data with Ease
See my comment to webstartupper. I do not sell anything.
Yes , Emily Howell.

Here is it trying to imitate Mozart :
https://www.youtube.com/watch?v=vctssFH-M5c
well, as a statement it's also a reserved keyword, so you can't override or mock it (AFAIK), and I suspect changing the parser to identify context and operate accordingly might be rather painful.

Honestly, I'm reasonably happy with the split; there don't seem to be many compelling reasons to shoehorn all the extra bits back into statement-print other than

a) removing a single pair of parens

b) being backwards compatible (but then the old code wouldn't be using those new features anyway, and would still have to support that nasty bitshift hack.
I'm calling bullshit on this company. It doesn't publish an address, I can't find it in the official Austrian company database (Firmenbuch) and any websearch just points to their press releases. Same when searching for the name of their CEO.
Not only do they want to launch a smartphone, a tablet and a desktop PC, but the specs are just high enough to impress people.
It would be a nice study on how gullible the tech press is.

P.S. their headquarters in Vienna would make them Austrian, not German
Maybe. RPC is a first-class citizen in thrift, and it's more mature and established than Cap'n Proto (and had better cross-language support last time I checked). But whatever works for your use case.
Le Wagon Is an Impressive French Coding Bootcamp for Entrepreneurs
> Maven is a nightmare to use, it's so complicated I would generally not use it.

The maven ecosystem is really nice compared to that of many other languages (e.g. python, javascript.) It's deep in terms of functionality, but for getting started (dependencies) it's not that complex. And a good IDE will take care of all of the boilerplate for you.

> Nothing works by default, you always have to include stuff here and there, write one or two xml files before anything would work,

I do share your dislike of enterprise Java development on the other hand. I worked a JBoss/Spring/Hibernate/Tomcat contract a while back; that thing was an unholy mess which took 4 minutes(!) to start up. However, there are much lighterweight frameworks out there; I'm currently building an app on angular -> dropwizard/guice/jdbi, which overall is quite elegant. No XML in sight (aside from the maven configs).
Ask HN: Would you want a 10 Gbps AES encryption on EC2 g2 instances?
10 Gigabits/second of AES256 throughput plus the CPU remains free to do it's stuff since the encryption's done on g2.2xlarge's NVIDIA GPU (in contrast, AES-NI on g2 instance gives about 2Gbps). Would this come in handy for securing large media files? What other scenarios would you find it useful?

A bit of quick background -- A team of 4 GPU engineers developed and then super optimized AES (all key & block sizes) on CUDA and OpenCL. On dedicated GPUs, we can go as much as 80Gbps on highend GPUs. On the ec2 g2 instances, we achieve 10Gbps. This throughput is much higher than what you would get from AES-NI (Intel's hardware accelerated AES instructions) and also save your CPU cycles for all your other stuff. It runs on CPU too if no GPU is available.

We built it into a cross platform (Windows/Linux) commercial SDK solution. You can plug it into your application with just a couple of lines of code change!

It's about 50k LOC with all GPU kernels hand optimized to squeeze every possible flop out of the GPUs. We're just limited by the PCIe data transfer limits.

Now I am exploring my options and thinking about selling the technology and need feedback from people who have sold source code before and pros & cons.
The article isn't clear at all, but they say "It can then resell the power when demand is at its peak." I wonder if they didn't understand the thing, or if they missed some very important information about getting energy back from the aluminium.

EDIT: They also talk about a conversion rate of 90%, so this makes me think there needs to be a mechanism to generate current.
I write clojure and a little bit of C and I find the clojure part extremely more readable...
The thing is that zero rating can be promoted by platforms such as Wikipedia and Facebook, who want to promote net neutrality; unlimited low speed connection is an ISP-only thing, and I haven't seen many big ISPs (really) promote net neutrality.
It's still nicer than the

func = getattr(self, 'do_%s' % thing)
func(args)

I've seen in some codebases :)
Inside a Proof-of-Stake Cryptocurrency Part 2: Forging Algorithm
Awesome work!

Have you thought about looking into creating a GPU-based HSM product?
Full HD Power-up for Your Game Boy Classic
here is an idea: how about Sage sponsoring a kaggle challenge along these lines? Could certainly gather some interesting ideas and maybe you can entice some good performers to take it commercial later?
T-Mobile Adds Google Play Music, Xbox Music, SoundCloud, Others to Music Freedom
Apple Watch site refreshed highlights
I'm not sure about pycharm, but i know for certain IntelliJ warns you about constant conditions like that. That said, he could have picked that example just to illustrate a point, rather than something it literally suggests.
I came across this when I was first learning Python and it has always impressed me:

from random import shuffle
deck = ['%s of %s' % (number, suit) for number in '2 3 4 5 6 7 8 9 10 Jack Queen King Ace'.split(' ') for suit in 'Hearts Clubs Diamonds Spades'.split(' ')]
shuffle(deck)
‘Reverse engineering’ must be a joy all to itself.

And it’s hugely important because it lets old software live on. Think of 90ies games for example, so often made for the DOS/Windows platform. Projects like ScummVM, Dosbox and Wine make that accessible right now. React takes that a step further still I imagine.
What do you mean with Windows sort of does ? Windows has good IPC.
Before the conditional expression was introduced to Python I sometimes wrote things like

foo = [baz, bar][qux is None]
Embrace: The medical-grade wearable you've been waiting for
Sure the reviewer could run `wdiff`, but it's an extra manual step due to a completely cosmetic and useless formatting style. If you're perusing hundreds of diffs, deciding when to applying whitespace significant vs insignificant diffs is a distraction, and it can't be done automatically.

You can fantasize about better diffs. Why isn't a diff applied directly to the abstract syntax trees of a language, for example? However, I think part of the robustness of version control systems comes from keeping things simple, namely line-based diffs, and with that comes a preference for keeping line-based diffs short.
Looks more Win2k than XP, and that is a good thing in my book.
This seems like an easy intro to list comprehensions:

http://www.pythonforbeginners.com/basics/list-comprehensions...
This is pretty similar to kidnapping someone and using their ATM every day at midnight with a hoodie on, and when you're done, you let him go and THEN he'll block his card.

And interestingly this virtually never happens that I know of outside of some countries in South America (where there's actually a term for it, express kidnapping)

In any case, it's no different to someone being abducted for his ATM card, it applies exactly the same.

We can have a broader discussion about physical security, I'm not saying we're all perfectly secure, but acting like it's a unique problem to bitcoin money is disingenuous.
It's strange that you would prefer `for item in items` but not `for i, item in enumerate(items)`. So in that case you'd manually do the `for i in range(len(items))...`?

I sometimes see this in code and think to myself, whoever wrote this needs to learn themselves some idiomatic python :) I don't think there's much point trying to force stuff that makes sense in one language into another language. Play to a languages strengths and all that.

I think you're right about if-elif generally being more powerful than the jump table. Though the jump table is useful in that you can define it in one place and use it in another.
I'd urge anyone to read the wikipedia page [1] before seriously engaging with the "electric universe", the proposals of which, such as cosmic electrical currents being more important than gravity in galaxy structure (~35 mins into that video, just from scanning through), are not consistent with modern observations and are less effective than mainstream theories in explaining them.

The statement "Well there is actually a very electrical and magnetic basis for many of the features and configurations we see in space and in star systems" is highly controversial and pretty unsupported, beyond things like jets and planetary magnetic fields.

[1] https://en.wikipedia.org/wiki/Plasma_cosmology
I wonder what the sable referred to in the job description is referring to? Could it be SableVM.SableVM is a clean room implementation of the JVM but is no longer being maintained.

http://www.sablevm.org/
Helped a relative set up a new computer this year. Found that a program they enjoyed using dated back to 3.11 or something. Only noticed this because it refused to run on 64-bit Windows 8...
Zano Is a Sky Selfie Micro-Drone That Flies Itself
The LinuxBIOS guys can tell you all sorts of stories.

Webserver in the NorthBridge springs to mind.
They can help by improving the financial viability of intermittent power sources like wind by acting as soak for excess production. This allows you to invest greater amounts in wind farms and hence reduce overall coal use.

It is possible that doing this might have the opposite effect if the wind farms are making most of their profit from the price spikes. In this case putting power back into the system by lowering usage in peak times might make wind less financially viable.
If you'd like to read more, I highly recommend "Perfect Rigour: A Genius and the Mathematical Breakthrough of the Century" by Masha Gessen. I mainly refered to this book while writing this article.
I don't think I've seen the phrase "ramen profitable" mentioned for years now. I remember a few years back it used to be the mantra here, is it taught at YC anymore?
Indeed, because adjusting version control system to parse ever language under the sun is not a good idea, and that would be required to properly identify strictly formatting-related changes.
The standards required for patentability are quite different from scientific novelty or interest.

Paying reviewers is not a bad idea, as journals that pay will both be more likely to attract quality reviewers, and it also creates a contract between the reviewer and the journal. Such a contract could include requirements for the standard of reviewing. If a paper is later found to have been poorly reviewed the journal can seek redress from the reviewers, further encouraging them to do their job properly.
I'm not sure PC-BSD qualifies as an OS unto itself.

Last time I checked, they were mostly a FreeBSD distribution with a bunch of user friendly sugar coating on top (an easier package manager, default installation includes a fully configured desktop environment, ...)

I don't mean that as a bad thing - I used PC-BSD for a while and it was great. Not everyone needs to reinvent the wheel and reimplement drivers etc. But I see it more as a distribution of an OS than an OS.
The article is really misleading: If I understand correctly, what Trimet will do is to REDUCE its power consumption on demand in order to reduce the stress on the power grid at times when there's not enough energy available for everyone. Since Trimet alone consumes about 0.7 % of Germany's energy production, adapting its energy consumption can help a lot to stabilize the power grid. Here's an article that makes this a bit more clear:

http://www.renewablesinternational.net/german-aluminum-firm-...

The general term for this is "demand response": https://en.wikipedia.org/wiki/Demand_response

The author of the Bloomberg article seems to think that they will use the Aluminium as a battery, releasing energy back to the grid, which to my understanding is not at all what they are planning to do (or even possible, for that matter).

BTW, a Businessweek article seems to get this wrong as well: http://www.businessweek.com/articles/2014-11-26/germanys-tri...
Yeah, the way the article is worded further down strongly suggests that they are using the aluminium as an energy source:

"Using the production process as a virtual battery is “an interesting option” for the industry, said Marian Klobasa, who heads the demand response and smart grids unit at Germany’s Fraunhofer Institute for System and Innovation Research ISI, an applied science researcher. If the volatility of the power market increases, Klobasa said by phone from Karlsruhe, “then it may make commercial sense and be economically worthwhile.”

Trimet’s Hauck estimates the full costs 70 euros to 150 euros to store one megawatt-hour based on 1,000 hours of use per year. That would make supply competitive at some periods of peak demand during the winter."

Aluminium plants in the UK already do demand shedding at time of peak load on the UK power grid - I'm sure German plants do much the same thing.
Also read other people's code :) You'll see this being used countless times in libraries / on GitHub.
Thanks for your input Marcus. Had never heard of "Starbucks testing". Sounds good though! :-)
It is thanksgiving, lay off Tom.
Thats what the US military use on mission critical systems, right? Seem to recall reading that it is a pain to work with.
That's just bad usage of a language feature don't you think. I'm still trying to figure out whether to blame the language because of the way programmers use it.

Personally, I like the object + static typing + first class functions as it eliminates 90% of errors at compile time. If any error occurs at run time, am pretty sure it's logical. This is a huge plus. The only drawback - the ridiculous amount of type specific code you have to write for mundane changes/updates.
Simple but Effective Ways to Get Web Traffic to a New Blog or Website
More fixes are coming :-)
I love clojure for providing

(<= 1 2 2 5 6 6 9)

and for making = actually useful (works on nested structures properly).

"Is this sorted", and "are these equal" are intuitive and useful concepts in programming and you shouldn't need to reimplement them each time you need them.
Arithmetic != Mathematics

just as

Typing != Programming

Sure, typing is a useful skill, it's part of programming, but is it programming? - no of course not. In fact it's insulting to programmers to make the confusion.

It's the same with those of us who have taken the time to get good at mathematics - it's not arithmetic. Being good at arithmetic does not mean you are good at math, being good at math does not make you good at arithmetic.

This confusion is especially detrimental to children, many of whom will be put of mathematics because they equate it with the wrote learning and peculiar mental gymnastics of arithmetic, rather than what it is: An exploration of the beautiful and fundamental symmetries that emerge from structure and process.
On the subject of "call me lazy", I really like the % syntax for string interpolation. I'd like perl-style interpolation even more. "".format() is going in completely the wrong direction for me. (I don't think % is being removed, but I think it's discouraged.)

> lambda (x, y): x + y

This syntax is removed in python 3: http://legacy.python.org/dev/peps/pep-3113/
I still don't see how it really helps. For organizational concerns it may be easier to say that a team is responsible for a (micro)service than for a library, but it doesn't have to be easier. If they change their API all users will suffer anyway. It doesn't have to help much with scaling either. If the service/library is the thing that uses most of the cpu it will still help to add more servers with everything on them. Microservices actually may cause bigger lag since the network connections may take time (app calls service 1 which calls service 2 etc). If they all were libraries on the same server the calls would be much faster.

You do get an opportunity to monitor each service easier if they live on separate machines (or just separate processes). If you want that with libraries you need to add monitoring code to all libraries and then collect data from them to see where the bottlenecks are. You might also need to develop new tools to configure things like pool-sizes and cache-sizes for each library. For example saying that you should have 5 threads (or handlers) handling mail-messaging and 20 threads/handlers handling calculations. You might also want to be able to change theese configurations in a live system. I think a lot of applications misses this monitoring and configuration part and then gets into problem because of that.
And of course microservices helps with using different languages for different parts, even though most organizations I've seen seem to mandate a specific language anyway.
Would you mind making this effort open-source for a possibility to build completely open-source computer? The Novena laptop had all things except GPU because there is no open source GPU which would have all the schematics available. Some guy from Germany, I think, is also working on open-source design GPU on FPGA.
Google should be broken up, say European MPs
Rust looks sexy. And i think Mozilla is using it to implement an alternative render/JS engine or something.
Do we still need server side programming?
Note that it's no different from ATMs with a $500 per day limit.

We can have a broader discussion about physical security, but it's clear this isn't a problem that's unique to bitcoin at all. In fact, bitcoin allows anyone to configure their security according to their own risk profile, and retain full financial privacy in their ordinary lives.

I'm not saying it's a perfect world with bitcoin and that you're fully secure against overwhelming physical intimidation and force, but as I mentioned in another comment, acting like this is a unique problem to bitcoin just isn't true.

For digital extortion it is true, bitcoin is unique, for physical extortion it isn't. The reason being that it's very hard to send money without a trace digitally without using cryptocurrency, so bitcoin is unique here. If you run an extortion over Paypal, you're in jail by the end of the week usually. But physical extortion is possible because cash (or say jewelry) from ATMs is difficult to trace, bitcoin doesn't make this any easier. On the contrary, I'd rather steal from my ATM card than from my bitcoin wallet, as I only have $150 or so in a non-multi signature wallet, but my ATM has a $1250 a day limit, because I can configure my risk profile with bitcoin myself.
Does column width 80 make sense in 2014?
I think the comparison is more readable as (here with the >>> of the python shell):

>>> 0 < x < 1

as opposed to

>>> 1 > x > 0

Following the number line and placing x there is nicer IMHO.
Other than that, very nice trick.
The Mindful Way to a Brilliant Presentation