skysight-inc/HackerNews huggingface dataset:
> "right, if I learn about fluid flows I can move from domestic plumbing [say] to designing optimised mains water fixtures" or "if I learn biology I can help ensure water resources don't negatively impact river ecosystems",

Hah, I was thinking a bit more 'I have ordered a 5x10x7cm electric motor for my model car project, the materials are 2cm wide, so what dimensions do I need to make the casing so that everything will fit'. Or, 'I want to make this computer animation bounce, how do I use maths to tell the computer what I want'.

> notify parliament and let's make it happen!!

We shall inform our MPs, and anticipate legislation being brought forward in the Spring.
for (int i = 0; i < 100; i++) {
int j = 100;
std::cout << (j - i) << std::endl;
}
The biggest problem would be the reliability. I have a few friends who use RPis and BBBs as part of their home infrastructure - they have to replace them randomly as they stop working.

One guy's working theory is that they overheat, so last I heard he was attaching heatsinks to the major chips, but I haven't heard if that helped the reliability much.
You made a similarly unsupported claim about genes being the dominant factor. Care to provide a source for that?
Everything about Ruby on Rails Web Apps
> In 5 years 3g really will be too slow for many applications

You answered your own question. It's progress, and the sooner people around the world adopt 4G, the sooner it becomes the standard, just like 3G before it.
CPU performance in 2015 on par with a CPU from 2011 is a terrible, even when considering the lower power consumption.
Thank you so much for the thoughtful response, prawn. Great suggestions and we'll make changes.
Probably because the evidence is factually correct. What they are concealing is how they got it.
Understanding the Idea of Israeli Land Under Talmudic Law
You expect the government to use secret surveillance and disinformation campaigns against a wartime enemy. You probably don't expect the government to use secret surveillance and disinformation campaigns in court against its own citizens.

Why wouldn't you expect that?

Just a cursory reading of the history of civilization shows that, along with warfare, those in power lying to and spying on others has always occurred.

Please don't get me wrong, I am not agreeing with it, but at some point I think people need to just wake up and realize this is what they do.

I really do not understand why people continue to act shocked or surprised about this.
Coverage is a problem in some areas. In many parts of australia the 3g coverage has been left pretty damn miserable. while they have invested in 4g.

additionally contention levels are just horrible on the 3g services. what's that 20 Kb/s and 40% packet loss just because you were silly enough to use it near a train station.
Ask HN: What's with the AWS spot price rise?
Does anyone have any idea why all the r3 spot instances have jumped so much in price over the last week? I understand that it's a market place and the price is just driven by demand / availability, but it's gone "rather wonky".

For example, the r3.8xlarge instances are normally around the $0.28 mark, with the on-demand instances being $2.80, so why are people paying up to $20 per hour?

http://imgur.com/BDfhA4o
The Detect Nudity API
Would you mind to explain what you are talking about ? I thought telegram are more secure than whats app and etc . I would gladly hear what do you think about these app in general.
Guess they've made a few bob from making all our stuff for us which is fair enough I guess.
Swift have one of the biggest moats in the world. They are in all banks already, other businesses are not, they are already trusted and they sell both the service and the hw to access their service. So they can charge a lot for their services. What the banks want is a 100% reliable and traceable communications system that everyone trust. Good luck breaking into that market. :)

I imagine they dont mind paying a lot because they dont actually need to send that much information.

http://www.swift.com/solutions/pricing/fs_pricing_easier_200...

That looks to be a bit old version of their prices.

I've met some of the nice Belgian guys that run their support - not a job I'd really like. If there's a business where you need to be conservative, and defects are really not ok in any way, it's theirs.
Sorry the question was 'any reason ... ?' and searching on google will quickly verify that there is not only some reason but more than that.
Can we install regular Ubuntu packages on this phone? If we can then I guess you could install terminator, gnome-terminal or something.
That it's compatible is nice, but Telegram cannot be recommended as a secure messenger. Knowledgeable people have reviewed its cryptography and found it wanting, even "bizarre and nonsensical". You may want to look into other alternatives?
From the animation on the site, I notice that pulling from the top to reach the notification hides the top bar. What do you think?

There is a lot of relevant information inside that bar.
>The implication that the one system is free and time-consuming and the other moderately in price but not time-consuming is entirely false.

Haven't found that to be the case. And I'm an old UNIX hat, using SUN OS, HP UX et al in the early nineties and Linux from around 1998. My two observations:

1) Linux, even the most modern distro like Ubuntu, is a huge time sync for anyone that's not just content to browse the web and check mail in a system setup for them.

2) More users that we think are in that category (besides the proverbial "grandparents" perhaps).

You got a video from your wedding you need to edit? Might or might not work. You got a hobby that requires you to use a specific peripheral (like a soundcard) or software? Do you feel lucky? You got a new phone you need to sync? Prepare for an adventure...
rhaco31, you are right. Callr, in its current form, solves the first big pain point which is remembering when your calls are and dialing them in. If it's a conference call with long PIN, it becomes really handy as well.

For the scenario you mentioned, the hope is the other party will start using Callr as well so that s/he will be on time. We built a 'Share the Love' feature so that our users can show them the light :-)

Does this adequately answers your question?
That's a really cool service. I wonder though how it works. Does it login to these services as a proxy and then pass the session cookie to the employee?
I want to be able to hook a keyboard and monitor to my phone, and then have a full ubuntu desktop experience.
Fortunately SWIFT pricing is freely available on the Internet: http://www.swift.com/solutions/pricing/fs_pricing_easier_200...

All the per-transaction prices are below 15 euro cents. Banks charge you many £/€ for a SWIFT transfer because they can, not because of what it costs; usually to subsidise the existence of branches.

Edit: I see another commenter has hit the same link :)
And who said that our use in Python doesn't need this extended concept?
MediaTek have not been historically known for engaging with the open-source community, documenting their chipsets, and complying with the GPL, to put it mildly.

Unless anyone knows that's changed in recent years?
Why is this a link to a tweet?

I don't see any mention of this on their site, so that's probably why... Looks they did get acquired by dropbox: https://hackpad.com/Hackpad-is-teaming-up-with-Dropbox-m1Fne...

So yay! More open source code, but it will probably be unmaintained.
All bureaucratic and personnel issues aside, it wouldn't do enough to address the simple fact that a lot of government services are under-funded right now. As a trivial example, a local fire department just enacted "rolling brown-outs", periods of the week during which they will not have any fire personnel available, and any calls to the fire department will have to be handled by a nearby agency instead.

Local citizens are still refusing to accept any tax increases or new fees of any kind to keep the fire department 100% open.

It's really that bad.

Centralizing services can get you some gains in efficiency -- sometimes! -- but I doubt there'd still be enough to go around.
Agreed—and frankly, even in the pro-modernism article the best-looking pictures had the modernist pieces arranged in what I would call a post-modernist style.

Modernism was brutalism; it was van der Rohe and La Corbusier; it was decades of architecture which, as HRH the Prince of Wales has noted, did more damage to London than did the Luftwaffe.

I'd love to see a neo-Edwardian movement: organic shapes, colour, ornament, pattern, design, delight. Or bring back the single most beautiful artistic movement in history: Jugendstil/Art Nouveau.
With the combination of nginx and various load balancers supporting ssl termination, I've yet to find this a major problem. The trick is to be willing to refactor how the infrastructure routes.
Sure. I'm into naïf art and into expressionists from the french school, and I'm way outside art circles (haven't been to an exhibition in 15 years)
New Amazon WorkSpaces Application Manager (WAM)
Ask HN: How do I audit my employer for invading my privacy?
For real: here is a little story, I work for a Fortune 500 botnet, I brought my work laptop to a friends house, VPN'd in from their house and now their network is absolutely fried (strange behavior, weird connections, etc)...even after replacing the router. Additionally, I am almost certain my iPhone is bugged, and these strange little saucers appeared on my telephone poles a few months ago. I am almost certain I have been "surveiled", join the club right? But seriously, how can I go about proving they are invading my privacy? How do I expose their malware?
There are two things wrong with the "nobody should use a distributed file system" meme. (Disclaimer: I'm a distributed file system developer.)

(1) Not all development is green-field and thus subject to using this week's fashionable data store. A lot of applications already use file systems and rely on their semantics. Ripping up the entire storage layer of a large and complex application would be irresponsible, as it's likely to create more problems than it solves. Look down your nose at "legacy code" all you want, but those users exist and have money to give people who will help them solve their business problems. Often the solutions are as cutting-edge as anything you'd find in more fashionable quarters, even if the facade is old fashioned.

(2) Even for green-field development, file systems are often a better fit than object stores. Nested directories are more than just an organizational scheme, but also support security in a way that object stores don't. What's the equivalent of SELinux for data stored in S3 or Swift? There is none. File system consistency/durability guarantees can be important, as can single-byte writes to the middle of a file, while parsing HTTP headers on every request drops a lot of functionality and performance on the floor. Distributed databases are much more compelling, but the fact remains that the file system model is often the best one even for new applications.

Go ahead and use something else if it suits you. Other people wouldn't have much use for your favorite storage model, and this one suits them perfectly.
Don't downvote without a comment? Sorry I changed my mind when someone presented a good argument?

I changed my mind in seeing that young adult males percentage of population could be the answer to the mid 1960s to early 1990s crime bump?
The technical specs look very, very similar to the Zopo ZP910 I own and which I bought about two years ago, for about 200€. The CPU unfortunately isn't the same (MTK 6589 versus MTK 6582), otherwise it would be easy to port Ubuntu to it based on bq's builds. I don't really have much dependency on Android apps (just give me a browser, a media player and a way to make phone calls/texting), so Ubuntu Phone fits my bill. I would not buy a new phone just to run it, but I'd happily "upgrade" my current phone to it, because the new versions of Google's apps are quite heavy (material design and all that) and the hardware is starting not to cut it.
Would you tell your clients to make their own website to save money, or use you?

My personal feeling is that a specialist can always do the job better and faster than you can. Same as you can write code faster than they can. Always outsource unless you know what you are doing. Whilst you are learning on the job renovating your bathroom, you could be earning money.
Yeah the demo/description was pretty inspiring. Phone->dock+monitor+storage->computer (for everyday stuff). The linked tablet video seems close enough but I'd love a phone version to theoretically have one device for everything.
This is still my "tech wish for the year" :D
TDD with Django – Pycon 2015 3-hour tutorial by Harry Percival
China Is Said to Use Powerful New Weapon to Censor Internet
I hope that this drives home the need to be using HTTPS everywhere we can be. It would make this kind of wide scale man-in-the-middle attack much harder to pull off and easier for users to detect. If only getting a certificate was an easier (less costly) process.
I've been working on the same problem. I've found two broad solutions, which solve subtly different definitions of the problem:

1) Generate numbers that are uniformly distributed in the sense of, if you generated a bazillion of them and divided the range into buckets of even size, each bucket would have similar numbers of numbers in them.

2) Generate numbers that meet the above definition AND so that any particular floating number is no more likely to be picked than any other.

(The discrepancy being down to there being more representable floating point numbers in some ranges than others)

For my application, I don't need to worry about #2, so I just generate an integer number uniformly across a given range (which is simple enough to do without bias), cast to float, and divide. It meets the definition of #1 unless the buckets chosen are very small.

I have seen a few people write solutions for #2 online, but haven't seen any that have been sufficiently analysed and proven correct.
> Is there anything really wrong with that approach though?

No I absolutely get it, it's a good approach.

As a consumer, I'd love if they'd just updated the Air. It's already light and thin with awesome battery and great performance, they could have iterated on that (e.g. butterfly keys, layered batteries & no-click touchpad), give it a 170 PPI screen (1920 x 1200), thinning out the bezels, or add USB-C etc.

But instead they did something a bit too radical. Thin beyond necessity, a 480p camera while a 2012 ipod Touch had 720p/1080p, just a single port, and most importantly releasing a device that's slower than an already existing, last year, 'air' model.

But I do get it. You need to do some big sweeping changes every 5 years or so. They iterated on the Air for 7 years, turned it into a low-performance $1800 device with 5h of battery, into a sub $1000 machine with 12h of battery, great performance, improved screen and ports.

And now it's time for something new. If for example instead of releasing the 'air', they iterated on the Macbook endlessly, we'd probably never have gotten the air.

> The most generous complaints are that "it came out one year too early."

Pretty much. I can make that complaint about the Apple Watch (in 2 years an expensive Apple Watch will look dumb when a thinner device with smoother animations and longer battery life and better sensors come out), iMac 5k (thermal throttling?) etc. And that's indeed fine, a complement in a way.

The new Macbook differs a little bit for me because it's not a completely new technology like the Apple Watch, or a new Smartphone or Tablet. It wasn't a question of 'do this or do nothing'. It was a question of 'handicap the Air and don't make a big investment in the line and do a new less capable Macbook at $300-400 more', or 'make engineering investments to improve the air'. I think that's a genuine consumer complaint one may have.

As a consumer I'm bummed they didn't go with the latter. Would have really liked an Air with at least full hd, layered batteries, thinner bezels etc. Now my options are a premium netbook, or a MBP. I went with the rMBP.

As an 'analyst' though, the rMB makes a ton of sense and if I were at the board of Apple I wouldn't have rejected, rather, applauded the current path.
I saw a video in Spanish of Obijuan installing stuff with apt-get after some configuration, so you can install Ubuntu packages. He showed python.
The battery being a LiPo (lithium polymer) could be a concern (they are quite unstable and explode on contact with water) and IIRC are not allowed to be brought on planes. They can also be permanently damaged if you allow the voltage per cell to get too low and do not have a huge amount of recharge cycles.
I think that what most people identify as wanting to blame someone for something can also be looked at as people wanting them to be responsible for something - not responsible in the 'you did this, go to jail' sense, but rather the 'take hold of this, be in control of it and improve the scene' sense.

Its one thing to blame someone for something - this is just a base, banal version of wishing they'd be more responsible for that thing. Alas, the tone of the discourse often degrades to the lower levels of human interaction, when really there is an undercurrent to the discussion that is just as valid.

So finding fault in others, assigning blame - these are all just frustrated attempts to recognize that people do need to take responsibility for their lives, their actions. Its hard for teachers to be blamed for the state of poor education when they're not allowed to be responsible for it - when they have standards pushed upon them by fabian government kafka-lovin' "employees" who have never taught anyone a thing in their lives.

Alas, however, there is another factor here, and that is the poor need to be responsible for their lives. They need to take control - however they can - and lift themselves up. If it requires help, then so be it - but you can't help someone who isn't willing to help themselves, and thats the first step. Calling for the poor to 'accept the blame' is one thing; asking the poor to be more responsible for their lives, another thing entirely. The same result is desired - its the degree of help, versus hostility, that makes the difference whether someone is willing to accept the claim, however.
By reading the article, looks like the guy is going to die pretty soon ?

But they didn't specify where would they find the body (it should be fresh, right?) ?
Makes sense, like semis vs trains.
Yes. Just install the Terminal app. If you have a screen lock configured you're asked again to get to a shell prompt. You get a regular prompt as the "phablet" user but have unrestricted sudo access. It's easier to use ssh though: http://askubuntu.com/q/348714/7808

What's nice is that it's just a regular Ubuntu shell prompt, not a hacked up one like you get on Android. All the usual stuff you expect to have is there. The Terminal app integrates nicely too - for example if you use less, then swiping up and down scrolls up and down.

Note though that by default the root filesystem is read-only. You can make it read-write, but then the image-based OTA updates aren't expected to work and of course if you break things you get to keep all the pieces. For this reason I've avoided doing this for now, but it's nice to know that I can do it. I expect I'll probably end up rolling my own customized images instead in order to keep my phone more reliable.
CentOS 7.x come bundled with systemd, while 6.x still uses init.
Success all comes down to the app store.

Just ask Microsoft.
That seems like a good heuristic. However, the Yoga Pro 3 has both a metal base and a fan, and it's the worst performer. That's because it has a really low target temperature.

They have to do this because there are so many different ways to hold a Yoga Pro 3 that they cannot allow any part of the laptop to get uncomfortably hot in the hand.
New Meeting Platform Helps Introverts Get Their Ideas Heard
The script is available on his website - http://www.obeythetestinggoat.com/static/tdd-workshop.zip

The great book on the same topic can be read online as well - http://chimera.labs.oreilly.com/books/1234000000754/index.ht...
Is there a way to be 100% sure that my PC won't belong to a botnet? I once read about a spyware that keeps persistant even after a format/install. Is it possible to be safe with Windows 8.1? Or should I use Linux?
Ten wildcard certificates would run you in the $1-5000 range a year. A few CDN specific certificates another grand or so a year.

Maintenance costs shouldn't change, unless you're contract only (and SSL only adds one additional bottleneck per year or two over running the base web servers).

I'd be curious to hear how yoru costs would change, as well as where the $10k per month figure comes from.

The benefits of encrypting (or at least offering encryption) to your customers would be very fairly significant.
Leslie Lamport's 4/8 Talk at Stanford (YouTube)
I think the original article is a better source: http://blog.jgc.org/2012/04/make-your-own-prime-factorizatio...
Symbian did it first, but no one cared.

http://en.wikipedia.org/wiki/Mobile_Web_Server
State level injection is not new. Prior to the Tunisian revolution this was happening on HTTP Facebook pages: http://blog.jgc.org/2011/01/code-injected-to-steal-passwords...

HTTPS everything.
Yeah but have you seen all the SSL caveats lately?

If you passed ssllabs last year, give it a go this year and you may be shocked to see all the new known problems.

https://www.ssllabs.com/ssltest/

HTTPS-ONLY is useless if it is not done right.

and MITM is still too easy
Ask HN: What are you doing to improve your health?
I guess this is aimed more at older devs and admins who have been sitting at their computers for the last 20 years like me.

I'm starting to feel my age. I get tired quicker. My health isn't what it used to be. I get the feeling that staring at a computer screen and sitting down all day in an office is not particularly healthy.

Has anyone got any tips how to improve mental and physical well-being?
Thanks! Interesting to know. I'd love a 10" version of this device, but this is worth a look.
Well the issue that is unsaid right now is this: "We are shutting down development and are dumping this onto Github if anyone wants to use the code or the community needs to maintain it."

This could just mean it's a dead project.
It's more blurry than you'd think. 15 year old kids who are blowing off school so that they can make some money to ensure that their 5 year old sibling has enough to eat? That's definitely a thing. I have no idea how prevalent, but not unheard of.
To be fair, in some cases[1] the code in Go has error handling and the code in Nim doesn't. In other cases the Go code does more things[2].

Nim is no doubt more expressive and concise than Go, but this comparison is seriously unfair in some situations. In addition, although Go is concise on the absolute scale I don't think it ever set out to be the most concise - it solves the problems that it set out to solve.

[1]: http://rosetta.alhur.es/compare/nimrod/go/#Read_entire_file
[2]: http://rosetta.alhur.es/compare/nimrod/go/#Zero_to_the_zero_...
As any language designed in the last decade.
Yeah, this is frustrating. They are known GPL violators. :(
I know the common wisdom in our industry is still 'syntax is a personal thing', but there's also St Exupery: 'perfection is achieved when there's nothing left to remove'.

Fitting more on screen, and having a higher signal/noise ratio is /objectively better/ than otherwise.

Our industry loves to measure almost everything except human parsing efficiency. I'm fairly sure we could actually test this like we test anything else (and if the test says that's wrong then fair enough).