skysight-inc/HackerNews huggingface dataset:
Ask HN: How can I hack for community service?
My work offers paid "Service Learning" time every year (40 hours). As a programmer, I'd really like to contribute in ways other than picking up trash and planting trees in a park.

What are some ways that programmers can give back to the community?

I'm not sure "open source projects" are really what count here, so unless you have a specific project or good justification...

If the best answer is "tutor high school", how do you go about getting involved with that?
I haven't found a way to figure out what features have a OpenCL implementation, that I could use with the Transparent API. For example, in the features2d folder only FAST, ORB and BFMatcher have files in the opencl folder, so can't other features be used with OpenCL? Is there a list of features that have OpenCL implementation?
Google hasn't been using the menu button for many generations.
It went away with the Galaxy Nexus, and since that you've had the Nexus 4, Nexus 5 and Nexus 6. Seeing that they release one per year, that's 4 years ago.

Blame Samsung for still keeping a button layout that doesn't apply to android since the original 4.0 came out.
Maybe heighten cooperation between federal agencies and these huge tech giants, but weakening encryption or legislating standards would only be harmful to the consumer.
At least it got the Smalltalk JIT. :)
For me 20h/wk is middle ground between fulltime and not having to work at all.
It's so damn easy to play the racist card every single time instead of facing reality, isn't it?
Mass snooping fake mobile towers 'uncovered in UK'
You need a CPU that supports Intel's virtualization instruction set. Specifically VT-x. You can check if your CPU supports it with:
sysctl machdep.cpu.features

You're looking for VMX. Here's an example from mine (highlighted the flag you're looking for):

machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ DTES64 MON DSCPL * VMX * SMX EST TM2 SSSE3 FMA CX16 TPR PDCM SSE4.1 SSE4.2 x2APIC MOVBE POPCNT AES PCID XSAVE OSXSAVE SEGLIM64 TSCTMR AVX1.0 RDRAND F16C
Spotify has helped me find new music that I don't think I would have found through my 'normal' channels. And it has resulted in the purchase of a couple of albums too.
I suppose that's true from a technical perspective, if the group was making any return. But the article says that game officials understood what the group was doing and facilitated it because it 'increased revenues and made the lottery even more successful'. So they weren't making money on those specific tickets, but still supposedly knew what was going on and allowed it to continue because they were getting what they wanted out of the situation, so my main point still stands, even with regards to the game officials.
Unfortunately the same attitude is quite common everywhere. I agree though that the UK does seem to have an especially bad case of it. I'm a Brit too but I've lived almost half my almost 60 years in Norway where the state is just as keen to introduce things like data retention.
Planning and Designing – Intentional, Accidental, Emergent
I'm looking at the paper, but this was my first thought when I saw

This motivated Columbia’s scientists to compare 1,688 diseases against the birth dates and medical histories of 1.7 million patients treated at NewYork-Presbyterian Hospital/CUMC between 1985 and 2013.

I immediately thought "hmm, tread carefully there fellas."
Not quite, the influence was mostly indirect.

Java was most heavily influenced by Objective-C, Patrick McNaughton was really into NeXTSTEP and almost left Sun for NeXT but was given a carte blanche by Scott McNealy to create something new. Championed by James Gosling and Bill Joy, Stealth/Green/Oak/Java pivoted in a bunch of different directions, but very few of the developers were C/C++ guys, in fact, the project was largely a reaction to Sun's dependence on C/C++.

Sources:

http://cs.gmu.edu/~sean/stuff/java-objc.html

http://www.blinkenlights.com/classiccmp/javaorigin.html
This looks like a terrific service. I'm going to go with some other commentators and say that the prices are 1) drastically too low 2) low enough to not be taken seriously. The founder of http://riskpulse.com told the story that in early days, one or more of his clients begged him to charge more.
I don't think anybody managed to download the whole set so far .
> things don't exist unless you look at them at the quantum level

But looking IS measuring.
It's because they keep cramming in more seats. I always used to buy the cheapest possible ticket and I very much welcomed no-frills airlines. But recently legroom has become so extremely narrow that even short flights have become torturous for my back and knees.

My last Ryanair flight was horrible in every respect. From booking the flight on their buggy website infested with ads and extras and deceptive nonsense to broken baggage promises and legroom that isn't even enough to get into the recommeded heads down safety position in case of an emergency.

I guess I brought this upon myself by making cheap fares the only priority. Well, no more! From now on I'm going to want to know how much legroom each airline/flight offers and I'm going to pay for more or simply stop flying if they charge excessively for it.
Swede here. You nailed it.
>Not really the opposite. "RESTful", when it doesn't actually refer to Fielding's REST [0], generally doesn't mean anything, its just an empty buzzword being dropped into a product description that communicates no meaningful information at all.

Well, it instantly communicates: 1) over HTTP(S), 2) using HTTP queries (and verbs) 3) taking advantage of HTTP authentication, caching etc, 4) returning, more often that not, JSON.

That is, the important parts people care about.
I think Graal does more aggressive inlining than Hotspot.

Looking forward to the day it will be in the reference JDK.
"If mothers with infants require a 3rd bag for a supply of diapers, toys, etc, they have to pay."

That's not a 3rd bag, that's a bag for the infant. So you don't have to make an exception for parents, just say "2 bags per person", since the infant is a person too.
Not sure where you are located, but I know that the Washington Post lists volunteer opportunities in the job ads online. Most of the time there are developer opportunities on there for non-profits looking for help with websites or other projects. I know a few people that have used those opportunities to give back and also build/refresh their personal portfolios. If you aren't in the DC area, you may try other newspapers of similar size. I am only familiar with the Post though.
Environmentalists have been pushing very hard to block sand mining in MN and WI.
Programming is a tool. Find a community organization you care about - whether that be picking up trash or what have you. Follow their processes, understand them. And then look for ways where you can automate things to make them more efficient.
Note that apart from bhyve (available today), FreeBSD 11 will also come with Xen Dom0 support.
This has only been tested in New York yet. It'd certainly be interesting if the high/low risk months varied depending on birth location or wherever mom spends her time during pregnancy.
A few years ago I implemented the storage system for a special-purpose diagnostic camera. The specification defined (very long) filenames for the saved images using a timestamp and some other data. I used a mostly off-the-shelf microcontroller/NAND/USB mass storage reference implementation, hooked it up a side-channel to the FPGA, and had everything working pretty nicely. Until the test harness that just continuously commanded pictures to be taken reached 105 iterations. After that, the camera timed out waiting on the storage subsystem to store the image.

The problem turned out to be the code that found the 8.3 filename: it did the longfi~1.bin, checked to see if that file existed and if so, incremented to longfi~2.bin, then checked that... but never did the checksum trick described here, just kept iterating. (bear in mind this was a tiny 8-bit microcontroller that didn't have the RAM to just read all the directory entries at once and keep them around for comparison) Finding the proper 8.3 filename this way took longer than the timeout period after 104 collisions.

Of course, we only cared about the long filename and never saw the 8.3 filename, so my fix was simply to use an appropriate hash of the long filename to ensure a good probability of uniqueness.
> I don't think google gets design.

I agree. That said, I think they're very early in infusing design with their culture. I would even argue pre-'design' @ Google, they were still very user centered, but in different ways.
Would be interesting to see this study done for disease in just children since their birth month should correlate much stronger with weather and environmental factors
I wish the airlines would dictate the size of carry-ons based on the type of plane, because the size of overhead storage bins varies tremendously by aircraft type and vintage. It's nuts that they have the same carry-on rules for a regional jet as an A380.
It depends on which JIT you mean, there are plenty to choose from.

In any case, at least JITWatch, Solaris Studio and Intel Intel Amplifier do allow to look at the generated assembly.
Well I hadn't realized that. This. Changes. Everything.
Technologies change, math doesn't ;).
Wow! Unbiased reporting not so much.
So much FastCo Google coverage feels like astroturfing.
I am a scientist and I don't believe in Astrology, and I was always suggesting this interpretation to my friends who believe in it. Generally, the answer was "yeah, okay, maybe, I don't really care where it comes from, as long as it's correlated with the stars". However, they always reject the further conclusion that in modern times all these effects must have virtually disappeared. Also, they always confuse statistical correlation with individual people. If someone is 55% likely to have some trait, while other people are 50% likely to have that trait, it doesn't really mean you can make a definitive conclusion about a single person you see. It will only apply if you see 1000 people and do the average. Just my thoughts. Thanks for yours!
Oh man, I can't believe I'm biting on this.

You're both right of course, and then some of them turn around and say "it isn't about money" or "don't make it about money". Sigh, it isn't unique to tech at all by the way.
that's not a good benchmark, it doesn't take JIT warmup into account.

Should have used JMH instead.

http://openjdk.java.net/projects/code-tools/jmh/
I think the article is on point with regard to the likes of Schmidt and Gates and other folks in the Silicon Valley culture, but for the rest of the tech world there's always been a stronger sense of skepticism towards the transformative properties of technology.

Institutions and norms still matter regardless of how cheap the next iPhone can be made. And if you still have institutions and norms that promote something like racism or homo/transphobia then you're going to still have those around no matter what technology is employed. If you can't change minds, then you can't change how technology will be used.
I know backward compatibility with Java 5 is
important for the clojure world...

Why is that? (I googled but didn't find anything relevant.)
Some of these are harrowing, like the guy who hit a kid with his car.
You got burnt out, no need to turn it into a sob story or a bitter industry rant. You couldn't manage your time effectively.

By all means if you're unhappy change your lifestyle -- and pronto -- if you can eek out an existence in a more fulfilling way then get to it, but don't try telling everyone they work in a "stupid, backwards, fledgling industry" because you didn't like your job.

Just another "woe betide me"-disaffected-techie rant.
The Mashable post was much better actually. It was a bit sarcastic, but more interesting in that he tries to point out some of the day to day problems instead of just throwing his hands in the air.
Thanks for the link.
On-the-fly key pairs is a really nice thing (HAProxy does require a short period of downtime while restarting)--I'll have to check this out. Thanks.
I read somewhere that the inspiration for Java interfaces came from Objective-C protocols.
Most Macs have had VT-x enabled since.... 2007?

The critical hardware feature they didn't all have is EPT[1], which may be required here in addition to VT-x.

[1] https://en.wikipedia.org/wiki/Second_Level_Address_Translati...
Those who deal with climate data are used to huge data sizes and are usually equipped with fast internet connections. You can also work with the data within AWS. The files come split in logical 750MB parts. There are different aspects of the data which come separately.
I don't think designers get design.

In the same way that engineers over-engineer, designers over-design. The difference is when you over-design a user interface the end-user actually notices.

In the same way that developers jump on the next new language and framework, the designer jumps on the next trend. But when you change the interaction pattern the end-user has to re-learn.

Those clever lines of code you love so much in your last project? That's the 50ms animation that really ties together the page - but creates that noticeable (and endlessly anoying) lag where after you click you have to wait to start entering data but you always start to soon and it misses the first letter or the keystroke does something else because the page focus is wrong.

Sometimes design isn't about pretty, it's about not annoying the office worker who uses your product several hours per day.
I think OP really was burning out. I have a daily job but manage to get solid side projects shipped. 8-5(Till 5 is the important part! no overtime). I get home. rest or gym till about 7pm then get cracking. Usually sleep around 1am. Im a heavy sleeper so i dont do it every day. but its enough to get things done.
Isn't Bulgaria due to join the Schengen area pretty soon? Inside the next couple of years, at least?

It should have been included together with Romania a couple years ago.

The problem is that both countries are still considered too corrupt for inclusion into the Schengen treaty. Romania seems to have cleaned up their act better then Bulgaria, but there are still grave doubts that the countries behave according to the treaty and don't, for example, sell visas to people, who are not eligible for them.

To the best of my knowledge, both countries are still on an waiting list, but given the current anti immigrant sentiments in most of central Europe this could take a few more years minimum.

Note that I'm not singling out the countries as crooked I'm just stating facts. Organized crime, for example, is still a huge problem in Bulgaria and corruption is still a huge problem in both countries. [1]

[1] http://www.transparency.org/cpi2014/results
Nuh-uh. This is your fault, Internet. Bag fees came along when booking websites cut fares to the bone, but neglected to factor in bag fees.

Edit: This is also plausible - https://news.ycombinator.com/item?id=9691867
Or perhaps Google "got" design before, but didn't realize it.

Speed, functional value (as you said), simplicity, and such really ought to be considered part of design just as much as a visually appealing set of colors on an interface is.
Advice always seems vapid when you ask someone to create a quip or an aphorism and attach their name to it so it can be displayed in a public place.
NASA has it already. Do they not want to be in the business of interpreting climate data? Or is it too soon even for them?
> with ever more insane checked bag fees (e.g. $25 on a $100 ticket!)

You probably know this, but to be fair, this is because they need to make a certain amount to have a viable busines, and an easy way to do that is to reduce ticket prices while increasing fees for other services. In the absence of checked bag fees (and assuming all else is equal) that hypothetical $100 ticket probably would have been closer to $125. But there is clearly a psychological difference.

> if you try to take a bag that is clearly too big onboard, they waive the fee at the gate which "punishes" the people responsible enough to check.

Yea that is a bit unfair. But it likely stems from the fact that airlines often end up gate-checking bags, once the overhead bins are full. If they enforced the bag check fees at the gate and had to measure every bag to decide if it should be free or charged, flights would be delayed and passengers would be (even more) unhappy.
That's worth trying. Inducing a bug in kernel code could be interesting.
But that still adds up to 20 minutes to your full travel time.

I often have flights that are only 1 hour. Waiting even 10-15 minutes (normal here) is annoying for me, especially when I'm trying to get to work on time.
"People who aggressively and violently oppose the liberal values of our nations are not immigrants, they are invaders"

You guys should've done more to keep the Sweden Democrats out of the country then, I guess. ;)

Also, wanting life to be better doesn't make you fascist. But deciding that the only thing between you and a mythical past of glory is a tiny fraction of the population that needs to "defeated" is certainly goose-stepping in that direction. See Robert Paxton's 2004 book for more.
Illusion of mind (2008)
Yes that makes sense because you're using customer's logic instead of airline's logic.

Airline's logic: "passenger" would mean "ticketed passenger" which would mean a seat that was paid for. Since most people do not buy separate tickets for infants (because infants are held in the arms), the infant doesn't get a "free bag".

For example with American Airlines policy[1], the unticketed infant gets zero bags as an allowance. However, the diaper bag is allowed as an exception. There is no "2 carryon bags per human" type of rule.

But my comment about mothers was tongue-in-cheek (note the smiley face) so we don't have to overanalyze it.

[1]https://www.aa.com/i18n/travelInformation/specialAssistance/...
Doesn't seem that way to me, because I'd be terrified in his situation. And my current passive cash flow covers monthly expenses. Different perception of risk, I guess. I'm amazed by the courage of people who can risk so much. Guess I will never be billionaire rich.
If you're a foreigner in Singapore and you are not:

a) a tourist,
b) a spouse of a Singaporean,
c) a student enrolled in a Singapore school,
d) gainfully employed by a Singapore-registered business

Chances are pretty good you are an illegal immigrant. So to answer your question, foreigners who are out of work are deported to their country of origin at the earliest opportunity.

But that's not the problem. The growing problem is that the immigrants do not assimilate well, form their own enclaves and are hiring their own countrymen at the expense of locals. Recently there was a report where the IT and HR departments of a Singapore firm, being run by predominantly foreigners, colluded to bring in their own countrymen and discriminated against Singaporean job applicants. They received kickbacks but got caught because the Singaporean owner, being IT savvy, had been monitoring the situation and thought something was amiss in the low number of Singaporean applicants.
That would help but the cost of storage for 11 TB and the up time to download would be extremely expensive. I haven't seen an option that works for less than around $200 to rent and setup.
Not sure the messenger is to blame. Customers wants the cheapest possible base fare and booking websites gave them what they wanted.
The paper is linked and free, you could read it yourself.

But you're right, they didn't do full cross validation. They performed a smaller scale validation where they trained on 80% and tested on 20%. Their writing is a bit muddled here, but it looks like 12 of the 16 novel associations (those not previously reported in literature) were validated (as in passed the above test). They did not perform validation on previously reported associations that they confirmed - presumably because they drew from an independent dataset from the original publication, and so this test constitutes an independent validation of the original study.
That made me wonder whether the demoscene had ever done something with Powerpoint... and indeed it has:

http://www.pouet.net/prod.php?which=54670

http://www.pouet.net/prod.php?which=30319

Excel too:

http://www.pouet.net/prod.php?which=53021

Completely impractical and very silly, but that's what the demoscene is for...
> it's likely the author brought it on themselves by pushing too hard.

Don't fall into the trap of thinking this. It is the case some of the time, but not all of the time.

When I first started working in tech in the mid-90s, it was only a year or two before I was considering going back to school in music or to get an MBA. Since about 2004, I've known that I would like to abandon the tech industry. It is now 2015. I have dreams of opening a restaurant, retail store, starting any kind of business, becoming a professional writer, etc. But, this is where I am.

All that said, I read the tech and science news everyday. My relationship with tech is love/hate. I can't get enough of it and will obsess about it or coding something at home, but I know it makes me unhappy.

I feel I'd be better off just being a caretaker of some sort, or in some sort of service industry. I've talked to several developers over the years that dream of being a groundskeeper. This is reality for some of us out there.

I'm personally dealing with it by losing weight and working towards the goal of being independent from an employer.

Here are some ideas for those that feel burned out or hate their job:

* Get a hobby OR focus on your family/self and stop trying to be so much.

* Pretend you are going to quit and seriously look into how you could make your dream happen, even if it seems financially irresponsible.

* Keep a watch on cheap plane, train, etc. tickets to figure out how to escape your life, or think about where you would go to get away from it all.

* Find a place where you can go to just chill-out and think.

* If you have sleep apnea or feel tired a lot and don't dream at night, consider going to a doc to get CPAP or an oral device and dedicate yourself to losing weight.

* Talk to a psychiatrist and get some meds.

* Find a friend/person you can talk to about it.

* Do your best to stop thinking negatively for some period of each day, or all day, even if it is so normal to be negative that it seems fake not to be that way.

* Don't be afraid to cut back hours at work. If they fire you, so what. And if you think they would kill you if you stopped, run away. You will be ok.
True. I already travel with a smaller suitcase that matches the proposed dimensions because I found my "standard" one was too big for most planes, especially commuter flights.