skysight-inc/HackerNews huggingface dataset:
C is the 'portable assembly' of the world. I find it easiest when learning some CPU architecture to compile very simple C programs and then see what the resulting assembly looks like.

Some questions I look at:

* When I cast a float to an int, what actually happens behind the scenes? Sometimes there are floating point instructions that get generated. Sometimes the CPU doesn't have floating points, so it emits calls to a 'float2int()' function that implements it in software.

* What is the calling convention? Just write a function with 1,2,3,4 and 20 arguments and do something like add them together. Then see how the resulting function handles those arguments.

* What do some simple array accesses or pointer arithmetic generate?

* How are large structs passed to functions at higher optimization levels?

* If I write a loop to compute a dot product, do higher optimization levels emit vectorized instructions?

You can actually go pretty far with this. Just use tools like objdump or gcc to probe or create object files, and then start writing assembly once you understand what C code you'd write and what it would compile down to.
I visit our Chinese chip design customers such as Huawei, Fiberhome quite a bit. The napping starts after their lunchtime, and it is more than 30 minutes. They start to break for lunch around 1130am. Since food is provided at a canteen, lunch is a fairly quick affair. Around 1230pm, lights are off. Some people have a foldable bed, like a camping bed, tucked under their desks, others nap on their seats. There are no dedicated rooms for napping. People simply nap in front of their desks. Others prefer to surf net, go for a walk or even continue to work. You don't have to nap "Nap time" usually range between 1 to 1.5 hours. Often, vendors like us excuse ourselves so that we don't disturb them. Even phones are off. I would say only large companies have this culture. I don't think the smaller companies do that. Again my data points limited to chip design companies.
In addition, many less than 5-year-old Android phones (pre-Gingerbread) don't support SHA-2.

TLS 1.2 (RFC 5246) added support for SHA-2 in August 2008.

Android Froyo was apparently released in May 2010 without support for TLS 1.2 or SHA-2.

Why the delay?

Edit:

Just found this:

> Android has the technical capability of handling SHA-256 certificates right from version 1.0. In practice, some users may encounter issues with validating certificates that use cross certificates (these help chain certificates to alternate roots). 1.6 improved this issue for some users, with the issue being resolved as of version 2.2.

https://support.globalsign.com/customer/portal/articles/1499...

which helps explain the situation with SHA-2, but not the delay in implementing TLS 1.2.
Just for the record, the biggest newspaper in Brazil has an incredible picture of the launch/landing on its front page today :-) http://f.i.uol.com.br/folha/homepage/images/1535742.jpeg
How Data Is Influencing the HR Workforce
Helsinki tried this with their Kutsuplus service, but it ended up proving too expensive and underused for being publicly funded. They are now looking for private companies to run a similar service.

http://www.wired.com/2013/10/on-demand-public-transit/
Ground effect keeps an Airbus a 380 in the Air. -Slow motion-
Littlstar Is the First to Bring Immersive 360 Video to Apple TV
Then a bicycle perhaps.
The mouse cursor is off from the real mouse coordinates. I have had this problem before in other JS emulators.

What is my browser (both chrome and firefox in linux) doing wrong in these emulators? :/
Saarif CRM
The U.S. are working hard to stay the most developed third world country.
Thanks. I should have mentioned that I have seen that. I tried GitLab Kanban, thinking the product created by the same organization as GitLab would be the best. I was dissatisfied at installation time (uses Docker, in contrast to the RPMs provided for GitLab CE) and stopped there.

Must be hosted locally for boring corporate reasons.
A good start. If you want to improve it, please add information about how to consume HTTPS services in a secure way.

Also potentially add an aside for self-signed/enterprise CA, as most web developers will encounter internal systems sooner or later. This makes the above (consuming services) more challenging :-)
Internet Freedom Is Actively Dissolving in America
Accidentally up voted you :)

They get to that vast 8km/s veloctiy you mention with huge rocket engines. Then they turn them off.

At that point the astronauts and their craft are in freefall.

You mention an outward 'vector'? You can only talk about forces and their effects on masses really. There's an intertia that resists the downward acceleration, but that's not a force.
Although not clear from the GitHub link, this is actually the official Docker image of Alpine: https://hub.docker.com/_/alpine/ - see the Dockerfile links.
Kibo Ventures prepares new €80M found
Interestingly, alpine doesn't use systemd.
Notöffnungen+|+Schlüsseldienst24+Stuttgart
Integer Factoring via Graph Three Colouring
Pretty sure inertia IS a force. But I think this point has been laboured enough.

Tomayto...Tomarto.
Alpine's size combined with its simple package manager is great, I use it for easy image pull, but of course it lacks some packages.
That'd be a great idea if psychiatry had any better idea of what moves people to commit crimes, and how to stop them doing it again, than anyone else does. And even then, it'd be a terrible idea. You're proposing psychiatry become, not just an arm of the state, but an arm of the criminal justice system, with all the baggage that implies. What in the history of the field gives you to imagine it's mature enough, with responsible enough practitioners, to be given that much potential for abuse both well-meaning and otherwise?
Sounds great. Will definitely give a try !
Interesting to see Alpine, which began life as an embedded linux project is now being used for server deployments. This has to be a win for open source style of projects. Also reminds me of the time when Kroah-Hartman mentioned that people working on embedded linux ended up improving power efficiency of Linux saving the data center guys tons of money.
Alpine is so cool. grsec, musl libc, openRC. If you are sad about the direction most distros are headed, Alpine represents a good stab at "the way things should be".
Because Graph Three Colouring[0][1] is NP-Complete[2][3] we can use it to solve any NP problem. Integer factoring is an NP problem[4] so we should be able to factor integers by using Graph Three Colouring.

This post shows one way of doing that, and explains the techniques used to show directly that Graph Three Colouring is NP-Complete.

[0] http://www.solipsys.co.uk/new/GraphThreeColouring.html?HN_20...

[1] https://news.ycombinator.com/item?id=10758236

[2] https://en.wikipedia.org/wiki/NP-completeness

[3] https://www.youtube.com/watch?feature=player_embedded&v=YX40...

[4] https://en.wikipedia.org/wiki/Integer_factorization#Difficul...
I meant: "You can find some bottled water that's more expensive, sure, but you can find bottled water that's cheaper too."
A few, not enough to make a dent in coal usage. And I'm not sure how many self-heated homes in the villages can be converted from coal to nuclear (electric heating is too inefficient...but maybe they can use a waste core like they did in the Martian?).
Alpine is a great example of a lightweight, container first approach.

Please stop using Ubuntu as your base images people!

There's no excuse for using a full Linux distribution (especially one that's really aimed at the desktop) for a container unless you're doing a staged migration or something along those lines.

* Edit: Formatting.
I like this. It makes a lot of sense to use something like Alpine Linux for Docker images. If you're going to build a 'process container' like Docker -- something that does not encourage the same mindset as a traditional container or VM -- it makes sense to start with a stripped-down operating system and then build it up to be exactly what you need.

Perhaps loud suggestions like these are necessary due to a bias in the group that uses Docker. 20% people that really know what they're doing and have chosen Docker for a specific reason, and the hangers-on who try to emulate them by using the same tools.

Docker is an interesting, useful, and extremely overhyped tool. I may be wrong, but I feel like its popularity has caused a bunch of people who don't really need Docker to use it. Besides popularity, they can't really explain why they are using it over something like LXC or FreeBSD jails.

I imagine (again, no data to back this up) that this same large percentage of people are also the ones that just keep using the default Ubuntu image once they finish the "Get Started" tutorial.

I'm glad to see suggestions like this gaining popularity. If you're going to make the most of Docker, I think there's value to be found in really committing to the mindset of a 'purpose-built, no-frills environment for running a single process.'

From what I can tell right now, a huge number of people are using Docker "sort of like a VM but you need more of them, and Git is integrated and you have to tell it to do something or it stops running".
Why is this downvoted? It is interesting (and worth pointing out), since not using systemd is different from every "enterprise" Linux distro out there.
Alpine linux is great, however lack of JDK (needed for Java/Scala/Clojure/JRuby/Groovy projects) keeps me from using it. Hopefully this can be fixed soon :)
I tried it and must say it is impressive.

Just an OT question:
I can't get past the configuration screen for Deluxe Galaga 2.4 - any ideas?
Anybody using Alpine for a minimal Desktop OS?
How does it compare to something like Arch?
"this is the standard (only?) way of "owning" a flat in the UK"

Maybe in England - its never worked like that for any flat I've owned here in Scotland, we have completely separate legislation covering such things:

http://www.gov.scot/Topics/Justice/law/17975/11023
Sorry that was me, when I read it I thought it was a snarky 'systemd vs bla' comment, upon re-reading I see that you could well be correct so I appologise for that, I will be less hasty next time.
WonderFox HD Video Converter Pro 9.2 and Crack
'New' Python modules of 2015
I wonder if some brave sites could get together to end of life browsers earlier by refusing to serve pages to those user-agents.
Don't start with the x86 or -64 architecture; there's a lot of cruft in there due to backwards compatibility. Start with a simpler architecture like MIPS (see e.g., Sweetman's "See MIPS Run" for an introduction), or the old 6800 chips (few extant examples in the wild not attached to old Macs -- unless you are willing to pay exorbitant prices because you're maintaining an old weapons system -- but there are some wonderful out-of-print textbooks that are great reads).
Sorry about all of this, I will push fixed code examples!
No SSL/TLS, I'm disappointed.
Ah yes, good point - I was implicitly assuming the liftoff weight was maxed out, by thinking that any upper stage weight increase would have to come from the 1st stage fuel load.
We know from biology that nanoscale factories are feasible, we know from human intelligence that AI is feasible, we know from Newtonian mechanics that space elevators are feasible, we know from stars that fusion is feasible.
I'm lucky that I have an office to myself. I nap almost every day after my mid-day snack (I eat three times at work, small amounts). I usually drink a cup of green or black tea right before. I nap sitting up in a chair and I run a timer. I don't alarm the timer, I just want to know how long I have napped. Usually it is 8 mins to 23 mins and typically about 12 seems to be the median.

My ability to nap goes a long way back. Between undergraduate and graduate school I worked rotating shifts in a textile mill and had a job where I fed cloth into a large continuous washing machine. I needed to tend to the machine every 5 to 10 mins. I used to nap standing up for 1 to 2 minutes. Maybe it was more like meditation. But whatever it was it helped me through the night. This was in the mid 1970s.

In the early 80’s I used to fly 48 to 50 weeks a year. With delayed flights and customers that wanted to extract a full week of consulting for me I flew oten early morning and late evening. I trained myself to sleep while the jet was taking off. Even with the noise of the engine I was able to nap. Now, when we travel for fun I have a hard time not sleeping for the first 15 minutes of the flight. This really surprises my family.

Around 2010 I had a meditation coach that gave me a post hypnotic suggestion (self hypnosis and meditation are really close to the same thing, at least for me) to go into a trance when I put my hands in a certain position. So now when I nap I do that with my hands and 9 times out of 10 my brain quiets down and within a minute I am out. Sometimes I don’t nap and I just quiet the brain (mindfulness meditation) but either way I feel better and am more productive.

My afternoon productivity is so much better. I can awaken. turn around, turn the lights on and start coding (Java, Python) within a few minutes. My productivity is so much better after a nap.

I’m 62 and want to work another 5 years or so. I see the ability to nap critical to me staying competitive in my workplace. I’m lucky I can nap sitting up and have my own office. Barring unforeseen issues I will work at the same place for the next 5 years.

I do manage my sleep cycle tightly because my wife and I are at the gym at 5:20 AM everyday of the week. So I am usually in bed at 9 to 9:30. Of course this makes partying harder on the weekend but I’m not much on that anymore. The exercise is so important and I was so late to that game. My prediabetes is gone (diet also helps) and I am more mobile and just feel better.

If you have trouble napping maybe you can find someone to coach you through meditation. Local universities that have non-credit courses sometimes have meditation classes. that is how I got my meditation coach.

Like normal your mileage may vary.
How to Overcome Content Security Concerns in the Cloud
>Honestly, I can't think of any important scientific discovery that was accompanied by "This is great! Think what it could do for civilization!"

Radioactivity.
This sounds like an interesting observation, but could you please elaborate a bit more?
Assuming they are allowed to use the evidence with how it apparently was gathered. And then there are much bigger problems in the society - however the US got away with torture camps/prisons and other scariness, so "surely" they'll get away with this unless the New Zealanders do something about it.
Government code? Most likely contractors wrote it. The last time I was a contractor working on government code it was a two week process to change the title of a window.

Yeah, no test suite at all.
Isn't there already a service called "Magic"? https://getmagicnow.com/
Will have a look!
A force is the product of mass and acceleration. Its SI units are kg.m/s^2

Inertia is an inherent property of mass. If it were the same as a force its units would be the same.

So it's really not tomayto...tomato I'm afraid. It's right and wrong.

You are right the point has been laboured, but it upsets me to think you would go on under this misconception.
They might yet do this, but local government tends to be terrible with IT. It's more likely that compromises will be reached to allow Uber to operate, such as requirements for insurance or real employment contracts.
Personally I don't miss it. IMHO the alpine image is perfect to run single services that don't have too much dependencies. On your host system you can use systemd to spin up these services as docker instances (if you don't need scheduling).
This is the funniest thing about NZ - the country basically shuts down between christmas and mid-January.
It would be nice if most of the package manager and basic shell commands could be kept out of the docker image too. I think this would require a utilities image that could be mounted during the build of the docker image. Some images would still require a shell for startup scripts or other tasks, but they can include them when needed.
I gave it a try, but it's a bit less well documented and has less packages than Arch.

If heading this route, perhaps Guix or Nix are a nice option too. As you can get something declarative and with traceable builds.

I'm hoping a minimal distro that has a nix-like package manager gets mainstream soon.
Native advertising?
Grouping Columns and Rows in Excel and Open Office Calc
This just sounds like another excuse for Americans to have 12-hour workdays. What they need is a regulated 7.5h workday like the rest of the civilised world.
But to what end? The entire brouhaha leaves the impression that ridding the world of "obsolete" software is comparably important to ending world poverty and hunger.

Why is dragging everything and everyone onto the "2 months and you are out" treadmill of such great importance?
Top fantasy sports player uses software, analytics to reap millions
Why can't you build an image with the JDK based on Alpine and use that as your base image for everything else?
In what context would the 100MB-ish saved help a lot? It feels like such a tiny amount compared to modern storage capacity (the cheapest SSDs are like 100GB). And I wouldn't think of tiny devices (raspberry pi, etc) as good candidates for hosting lots of docker containers.
I think this actually wasn't an arbitrary choice, but a result of the algorithm.. e.g. factors are displayed as clusters ordered in a circle (factors of 2 is a circle with groups of 2, factors of 3 is a circle of groups of 3).

So for primes, you have a circle of groups of 1.
Panama Timelapse Video [Gopro Full HD]
Repurposing metformin: an old drug with new tricks in its binding pockets
Google tries again to kill the password, tests new auth idea via your phone
City planners are enamored with building stuff. That's why they want to build subways and light rail systems instead of bus rapid transport.

Building stuff is more permanent and facilitates other building--like apartment building or office building near stations.

With IT dispatch systems they aren't building anything physical and aren't affecting the built environment and all their training is about affecting the built environment.
Self driving cars – who controls the code
I haven't yet used Alpine, but from its wiki it seems you can easily create the packages yourself?
Watching State of the Art by Spaceballs running at temperamental below-100%-sometimes-half-that speeds is quite surreal.
in this case, it has little to do with storage cost and more to do with network transfer. when you're deploying an Ubuntu container to several nodes, your startup time is probably < 1sec for the app, and a lot more pulling down the image (most of which is totally wasted time)

the thing is, what do you gain out of using Ubuntu over alpine? chances are that its very little. the gains of using alpine are a more efficient, faster deployment system
Most countries have had films shot in them. Globally, the film industry does seem to have unusually strong sway with politicians though, considering the relatively small amount of money and people involved.

With regards to dotcom's extradition, I do think the initial raid on his house was an absolute disgrace, but it seems pretty unlikely that he would have had the grace of the court this long in any other OECD country, although that's partly because of the idiotically bungled warrants. The extradition process would have been much faster from the UK for example. [1]

As a rule, our judges are typically not very cooperative with our government [2], let alone foreign ones.

[1] https://en.wikipedia.org/wiki/UK%E2%80%93US_extradition_trea...

[2] http://www.stuff.co.nz/nelson-mail/69299045/judge-critical-o...
Boston Dynamics' Robo-Dogs Pulling a Sleigh Is a Glimpse of Christmas Future
build time and upload time (huge savings sometimes)
>Returning them to prison can only do more harm than letting it go, and seems more spite than justice.

Well, from "three strikes law" and solitary confinement allowed to run for years, to the death penalty, "more spite than justice" covers the US legal/prison system perfectly.
Bank of America gets Twitter to delete journalist joke
I hope this turns into a more permanent decision. Indians need to keep sending emails to TRAI. Indian government should be worried about handing over private details of Indians to the NSA on a silver platter. But even without that risk, Free Basics can evolve into something disastrous for Indian startup scene and jobs/innovation.

Lets look at two extreme scenarios.

->India without net neutrality: Everyone has free Facebook. "Free basics" didn't help in advancing electrification of the country but it did provide free facebook/wikipedia to everyone. So 30% of the country is still in dark. But 50% of the rest of India doesn't pay for internet and it thinks there is no need to because that is ALL the internet has to offer. A young founder launches a new education app to teach reading/writing to poor villagers. But she first needs to get a 'license' from facebook. Facebook doesn't think it is a good idea for its users to 'waste' time on other services instead of watching ads on FB, so it declines. Startups don't receive as much funding because of the 'licensing' issues and there aren't as many Indian tech companies as there could've been. News is censored by Facebook and Facebook can now influence Indian politics. 100,000 fewer jobs were created because the Indian tech scene didn't take off.

->India with net neutrality: 50% of the country cannot pay for internet. They still don't have access to internet. They use other forms of communication to get their daily, unfiltered news. The startup scene in India is growing at its natural pace and the culture has become more innovative. In another 10-15 years everyone will have internet. 100's of thousands of poor were lifted out of poverty due to tech jobs in India.

One is a short term 'fix' which ruins the future. Another is a little bit harder but provides for a better future.
Ummmnh... because we don't have public state-sponsored obedience score scheme, and if we would, it would sound really creepy?

Or do you have some parallel western system in mind? We have a credit worthiness system, but you only get a marking when fail to pay your bills, not when you give thumbs up to the wrong kind of posts in facebook.

Or maybe you are thinking about all the profiles marketers gather about us? As far as I know they are not public (or at least they should not be). And I don't remember seeing anyone boasting about their awesome adWords profile (it would be nice to be able to see some kind of representation of it tho).
Driving Instructors in the Netherlands Can Now Be Paid in Sex
100Mev+ X-Ray / Gamma radiation is not fun. There is some play in the numbers based on type of fusion, but ~1w is on the order of 10^12th reactions per second and flat out lethal. Sure, if a device is weak out 1 millionth of that then it's not a big deal, but nobody cares about 0.000001 watts / second.
A Logstash Tutorial: How to Get Started
It's a good practice nonetheless

It's not about only size (though getting something that's 10x-20x smaller is helpful)

It's about getting only what you need, reducing security issues, disk usage, memory usage, etc
But in a datacenter, the connection is most likely 1Gbit. Isn't the download time of the image insignificant compared to the boot time of linux?
When I re-wrote the GPS parsing library to use pointers, I missed a pipe