skysight-inc/HackerNews huggingface dataset:
I use a slightly more intense background color on comments to make them stand out while still being readable enough.
I remember visiting Olot, in Catalonia, and thinking the mountains must trap pollution in the valley. It certainly looked striking:

http://mjhoy.com/images/barca/10122014-P1200997.jpg
I love this, I have been (passively) wanting to find something like this for ages (i.e. bash script, with minimal deps, to generate a nice gallery in HTML). Thank you!

One idea / suggestion I have would be to use Isotope for layout: http://isotope.metafizzy.co/ Then you'd basically be able to generate a mini Pinterest...
The reason why transform & opacity (via CSS animations) are always recommended is because they can be done completely on the compositor thread without going back to the main thread.

If you need to run every frame of animation from JS then, yes, you're screwed. At least until https://groups.google.com/a/chromium.org/d/topic/blink-dev/Y... & https://github.com/flackr/compositor-worker)
Stupid question but how much medicine/drugs does New Zealand produce? Does anyone produce insulin in New Zealand? What about electronics? Components to repair electronics? Cars? Car parts? Lightbulb manufacturers? I'm guessing like most countries New Zealand is very dependant on global trade to make basic things work. If things are so bad you need the remoteness of New Zealand to survive I can't imagine global trade is going to be working all that well.
Not sure if above helps, but i just feel like a am in the same boat ( felt depressed for a while, now seems to be getting over it).

I hope anything helps for you, not sure if i was really helpfull... I'm just trying to be it :)
Its immoral for either facebook or twitter to take sides - and the idea of letting them edit the news is horrifying. Facebook and twitter each are monopolies, unlike the diverse traditional press. I find it for example unacceptable that facebook's CEO has endorsed a candidate. Social media should be held accountable to act as social lubricant and nothing more in well functioning democracies.
Perl and the birth of the dynamic web
NYC Bike Stats
To think these guys started with 10 photos.
Our Future Protein May Come from Insects
A common method in Melbourne for measuring apartment occupancy is measuring water usage.
Who Do Twitter Followers of Presidential Candidates Follow?
So why not have timezones divided into 24?
Arsenic is an element, you can eat it, but it's still there, just inside the bacteria.

However different compounds of arsenic have different toxicity - elemental arsenic is most toxic, organic arsenic less so, so perhaps that's what they do - convert it to a less toxic form.

Interestingly mercury is the opposite - elemental mercury isn't very toxic (because it's a metal and just doesn't absorb, it just stays as a clump of metal). But organic mercury is very toxic because the organic part makes it available to interfere with biological processes.
Yeah. It's not as though supporters of the other major presidential candidate haven't been spreading false stories on social media regularly. Some of them even spread to HN. Remember the non-existent dating service which claimed to be a UN member and accused Assange of pedophilia and the UN of conspiring with him? Remember the server sending out emails promoting Trump hotels that was mistaken for a secret communications channel with Russia? (That claim got tens of thousands of retweets; the debunkings got much less.)
Time for Earth Time
Orange Pi PC works perfectly well with mainstream kernel + a few patches. Ethernet, HDMI, frequency scaling. Audio is also in the works.
> I might have some growing to do, or some grieving to finish, or that some change is needed and that I should start thinking of possibilities for that. I become introspective.

This really resonated with me, going through it right now and I've always had difficulty expressing it adequately to the people around me when they ask.
I do. Granted, I was in the military-I passively hate it when people call it 'military time' (passively meaning I mentally roll my eyes when someone says it), but I've been using it since middle school when I first even learned it was a thing. Mostly because it made sense right away.

There are 24 hours in the day.

Why are we recycling numbers in our time system?

No really, why?
Code Mesh: Alan Kay and Joe Armstrong
Your boss doesn't need to ask you to trade in your ballot for that. They just need to tell you to take a photo of your filled ballot, inside the booth, before you go and stuff it into the box. Which is exactly what they do in countries where it's a problem.

At the same time, I'm not aware of literally a single complaint about this kind of thing in US states that practice mail-in voting...

And drug legalization is "banana republic tier", really? No. It's a recognition that "this stuff isn't good for you" is not a sound basis for passing laws, for one thing - and for another, it turned out that a lot of "isn't good" was just plain out lies and misdirection.

I mean, seriously, are you saying that WA and OR are banana republics?
2 kids. They are grown up now, but when younger, they were actually cared for by family or a friend of the family who was a professional carer. We were fortunate enough to be able to dictate their care times to suit our schedule.

I daresay that if your childcare centre only offered a 11am to 7pm slot then your work schedule would shift accordingly. And why wouldn't a child care institution offer split shifts like this? It would cater for people who have long commutes or actual shift work. I know employment contracts, overtime rates and EBAs/Government legislation comes into play - but all these are things that have to be reconsidered in light of modern workforce practices.
I was in Delhi during the diwali celebrations. The air smells like half-burned logwood. I initially thought that someone in the neighbourhood has lit fallen leaves on fire. Little did I know that farmers all around the city are lighting crop stubbles. Come diwali eve and the air turned acrid, a poisonous cocktail of burnt diesel particles, smoke and smell of burnt gun-powder. It was a real Nasty experience (it's way worse than my experience in Inland Empire CA in summer). Even Google weather shows the weather condition as "smoke".
There was a blog post about it explaining this in detail: https://crew.co/backstage/dispatch/what-does-unsplash-cost/
I work 9-5, and I honestly wouldn't have it any other way. I like having a fixed time where I'm working, and then 16 hours to do whatever I want. I prefer to wake up, work for the first half of my day, and then have the second half of my waking day in the evening.

In fact, most people in my coworking space also work 9 to 5.

Same goes for set meals (except that I don't have breakfast). Usually when I'm hungry enough that I want to eat, it's conveniently lunch time. And the second time I get hungry is usually around 7 pm.
GOLD Pushes Higher on Bull Pressure
Yeah, I think the article's description of working hours is a bit extreme. In my time in Japan, I noticed two distinct rush hours on the trains and expressways in major Japanese cities: one around 8-9am, and another around 5-6pm. That seems like a pretty normal working day to me. If everyone was putting in 8 hours of overtime, the evening rush hour would start a lot later. (And it's not like the employees are going home and continuing to work for many more hours. Remote work is not common in Japan.)
Want to Quit Office Life to Work with Your Hands? Ask These Guys
>why would you want to work separately from where you live?

Because separately, $300,000 is a beautiful 3bd/2ba house with a finished basement and a backyard in a safe, pleasant neighborhood with excellent services and infrastructure.

Together, it is maybe a "junior 1-bedroom" condo in a former industrial area just starting its gentrification curve where you really shouldn't let the 12-year-old walk the dog alone at night.

>It's shallow thinking

It's economics. High density apartments offer less space at higher cost.
It's weird that you're seeing such high CPU usage with the open source drivers. AMD has been directly supporting them for a while now. For most applications radeonsi (the open source driver for GCN arhictecture cards) performs within spitting distance of the proprietary driver and for some the performance is better. I suppose it's possible they are more CPU intensive generally, but the kind of slowdown you're seeing seems pretty excessive. What applications are you seeing this problem with?

Ubuntu 16.04 does ship with a pretty old version of Mesa (full major version behind, about to be 2 major verions as Mesa 13 is in the RC stage) which probably isn't helping matters. Unfortunately, while there are some PPAs that make it fairly easy to install a bleeding edge build, there's not really a convenient way to install the latest stable release.

For some context, the reason fglrx/Catalyst has not been updated is due to an in progress driver transition for AMD cards on Linux. Generally speaking, Linux video drivers are split into a kernel part and a user space part. For quite some time, AMD has maintained two completely separate driver stacks on Linux. For the user space side, this didn't represent a huge amount of duplication of effort as most of the code is shared with the OpenGL portion of their Windows driver, but for the kernel side it was a bunch of wasted effort. A while back, they started on a new open source kernel driver, called amdgpu, that could provide the necessary facilities for both their open source and proprietary driver efforts. The new proprietary driver (AMDGPU-Pro) targets this kernel module. Unfortunately, amdgpu does not have production-ready support for GCN 1.0 GPUs like the 8570. This will get fixed eventually, but that doesn't really help you now.
This will be useful when we've colonized a few planets. Until then, hell no.
That may be true, but I'd argue there's also a difference between whether somebody should get something, and whether it's a shame that they didn't. In this case, maybe he should have gotten something, but the fact that he didn't is not surprising and should be expected when doing free work.
The ideal article for Vox to write on these lines would actually be something like "don't expect to get any meaningful understanding of issues from articles that go viral through Facebook or other social media, and wait at least a couple months or years until a current event has played out so you have enough context and expert analysis on it to come to an informed opinion."

Unfortunately, that'd sort of undermine their entire business model.
Open-source and knowledge contributions while making an app
This (https://goo.gl/FzrZAs) is an outdated list of open-source contributions I made while working on this app. The most recent contribution was to an open-source repo (https://goo.gl/dZ28ew). I am working on my app on a full-time basis so if you find my contributions useful and want to support me, you can buy my app it's on sale with 33% off, here's a link to it(https://goo.gl/Te93nf)
It varies. In Oregon, any ballot that is received by the post office by the cut-off date (8pm election day) is counted. In Washington, it's as you've described - any ballot postmarked by election day are counted, so it takes a few days to fully count everything.
First look at Tesla’s new self-driving Autopilot hardware in the wild
Why need how the freaking clock works instead of just agreeing on changing working hours?
Yes - it really teaches you to choose your battles. We have to constantly examine what we're about to say because once we say it, it's law - we have to take it all the way to the (sometimes absurd) conclusion. Sometimes it's better to say nothing at all.

Great advice about "false" choices - those are great. We always give choices like "do you want to get ready for bed now, or in five minutes ?" You can avoid lots of angst with those.
There are so many of these, even in basic English. Like "discover" = un-cover.
> They can't solve the rape problems

Just FYI, rape happens in the USA too (cf. Brock Turner). No government can "solve" the rape problem.
Writing programs all on a single line was the best decision of my career! The enlightenment writing everything on a single line imparted to me was nothing short of an epiphany...
A Bad Carver: Musings on why technology often seems to challenge the sacred
I like to go running before work. That was really annoying this spring because it finally was bright early enough to do that and then DST came and ruined it and made me wait another few weeks.
Could you clarify? You said "...licensed under Creative Commons Zero" means nothing. But then you said they could "just say CC0", which according to what you just said also means nothing. Why would you recommend that, then?

I think I'm just parsing this wrong.
I think it's a terminological ambiguity. Most times, when I hear people speak about "async" today (or speak about it myself) what they really mean is "non-blocking". And such use has been common for a very long time now - for example, in .NET 1.0 (2001), the standard pattern for non-blocking operations has been to for the function return an object implementing IAsyncResult.
1.) Fair point.

2.) Right, I do want to talk, but the number of subjects I can converse about is a tiny fraction of those on offer. If I show up and the topic is rebuilding engines or flower arranging - two topics I know nothing about - I'll have nothing to contribute.
> It's almost my definition of a failed state.

60 years ago, John Galbraith, the economist and Ambassador to India, called India a "functional anarchy". He meant that the country survived despite the government, and not because of it.

It has survived 60 years since Galbraith's keen observation. It will continue to do so.
That explains why I've never seen Wang and Gates in the same place at the same time.
Churchill said, "Democracy is the worst form of government, except for all the others". A similar concept would apply to the press and the dissemination of reported events.

News networks were much worse, they could arbitrarily censor anything that did not result in a higher TV rating, more advertising revenue, or that didn't represent the interests of the investors/donors/advertisers... oh, wait. Same on Facebook to some extent :-)

That's why it's important to decentralize the Internet.
>... Bed sharing for sleep when the parents do not smoke or take alcohol or drugs increases the risk of SIDS. Risks associated with bed sharing are greatly increased when combined with parental smoking, maternal alcohol consumption and/or drug use. A substantial reduction of SIDS rates could be achieved if parents avoided bed sharing.

http://bmjopen.bmj.com/content/3/5/e002299.full.pdf+html?sid...

The risk is low, but it is an avoidable risk...
Great article: highlights a problem, shows a solution. Autoruns is a very useful program.
The ransomware dilemma
I agree. It's also odd that this clarification of the project status has been posted here now and there has been no reply to that thread in (what I think is) the official mailing list, which has been going on for around a week, where people have been trying to get in touch with him.
Hmm, well you can read for yourself, my prof is nice enough to have posted all of the lecture notes online;
These are the lectures from the second class where the result is covered on the third page:

https://www.math.ualberta.ca/~xinweiyu/117-118.14-15/2014090...

And then the homework (Q3):
https://www.math.ualberta.ca/~xinweiyu/117-118.14-15/2014090...

Where the corollary follows.
That is perfectly fine too. Routine and habits are important. If 9 to 5 works for you, then great - go for it. My argument is that what if it doesn't work for you do to things like child care, commuting, or other important commitments?

Personally, my wife and I like to be home when the kids come back from school at around 2:30pm, so we tend to break our work days to spend the afternoons with them to help with homework and chat to them etc., then resume working once they are in bed.

That works for use because we work from home too. Obviously wouldn't work for many others. But why not make things work for us, especially now we have the capability to do so via tech and modern corporate culture?
> You're going to be polluting your code with .encode .decode all over the shop.

Well, do those encode/decode calls serve a purpose? Does encoding matter?

If so, they're not cruft - they do something that needs to be done. You may dislike the fact that it's extra complexity, but any speaker of a language for which ASCII (or Latin-1) is not sufficient will rejoice knowing that you can't write code that breaks when we try to use it anymore. I remember how much of a hassle this kind of stuff was back in DOS/Win9x days, and even in early 00s; and I also remember how a hard push for Unicode as the string encoding in mainstream languages like Java and C# did a lot to rectify that.

If not, then why would you need to encode something just to decode it later, or vice versa? Why not just pass bytes/bytearray around? Again, if the library requires doing so (because they demand the data to be passed as a str specifically, even though it's never actually treated as a string), then that's a bug in said library, and you should complain to/about its authors instead.
Webforms version of asp.net always sypported this idea through soething called UpdatePanel

https://msdn.microsoft.com/en-us/library/bb399001.aspx

Commercial control providers in .Net world support these scenario with something called "CallbackPanel".

https://demos.devexpress.com/MVCxMultiUseExtensionsDemos/Cal...

Real conufsion starts when you have nested HTML controls that automagcally making ajax calls. Nice idea as long as you can get away with minimal work.

The moment you want to use any moden SPA framework, you are up for a big rewrite.
Is this related to the well known Raspberry Pi?
Rather than Apple partner with another OEM, I could see them spinning off a new brand for developers and business. A new NeXT.
>hundreds or thousands of others

Apartments are quite a bit bigger than parking spaces. Fewer people can live in a given amount of space than can park in it, unless we're talking dorm-room sized apartments.
Yeah agree completely. And keeping zones is important to understand workdays. I wouldn't mind dropping named time zones completely in favor of UTC+Offset, I always end up looking that up, annoyingly.

Or just name the zones based on the offset. So NY would be -5. We could for humans write time with the ecoding, similar to ISO-8601, but it would just be 15:30-5 for 3:30pm EST.

While we're at it. Can we make all the months standard lengths too? 30 day months, with 1 New Year's Day (for a fun party) and every four years a bonus New Year's Day! For an especially big party :)

Edit: as stated below I screwed up my (basic) math. 13 months 28 days is better. What should we call the 13th month?
That's a great response Andy.

I'd also say that JSON APIs either tend to get tuned for specific UX needs or become more and more expressive. The first option calls into question the general, reusable nature of the API, and the second introduces security issues in an untrusted computing environment[1].

I typically split out the JSON API for my system from the web application proper so that my web application needs don't screw up the public API of the system. They end up being two separate concerns with different shapes, authentication methods, etc.

[1] - http://intercoolerjs.org/2016/02/17/api-churn-vs-security.ht...
> Given 100% control over typography, how would you format [code] to maximize readability

There was a book on this, whose title I'm blanking on. Anyone remember? Color wasn't an element, since it was an older book focusing on printing on paper.
Lack of foresight. Instead of making private vehicle ownership difficult like in Singapore, vehicle sale is encouraged.

The entire city is ripped up for massive construction projects. There's massive amount of construction related debris in the air.

There is a very wide spectrum of economic disparity. There is a significant section of population which probably use wood fire or coal for cooking or heating during winter months.

Tonnes of wet garbage/refuse is burnt in and around the city.

It doesn't rain or get very windy during the winter months thus the air remains stagnant.

A very high population density. Most people don't understand the difference between fog and smog. No initiative from the government to educate the population or raise awareness.

The government structure in India just lays out too many bureaucratic hurdles when an immediate action is needed in such situations. When the PM2.5 levels are 5x to 8x the safety threshold, there should be enough power and balls in the hands of some leadership to enforce a complete and indefinite curfew for greater good but sadly that will never happen.

Having a month of odd-even plate curfew of private vehicles will not help clear up the air where PM2.5 levels are beyond toxic. A three days shut down of schools is not going to help as well.

In my view, there should be the strictest curfew until PM2.5 levels are sustained to 100 or below for a month before anybody is even allowed to leave home unless somebody can think of a better way to save people from an upcoming epidemic of smoke/particulate related degenerative diseases which will affect an entire generation which is currently growing up in Delhi.
So I shouldn't shuffle them?

Ha, I don't play with the Alpha stuff as much anymore, most of the cards I play with ate Unlimited and the expansions around that time.

I have a Shivan Dragon signed by Richard Garfield that he told me not to take out of my deck so I still play with that. He told me the value of these cards were in how much I enjoy them...

I do have a deck made entirely out of black border Nether Shadows that someone gave me as a joke during a tour of the WotC office years and years ago... most of them are Alphas.
at a guess, its kinda the key size for hours

12/2=6, 12/3=4 work well, (with /4 and /6 being repeats of those)

24 hours doesn't add much on top of those divisions (you get /4 with a repeating /6 I guess)
I think Palomides meant that it means nothing is different, not that it means nothing. "Literally nothing" was the answer to "How does the Unsplash license [1] differ from the Creative Commons Zero license?"
I think this works on the basic wave mixing principle. You mix two frequencies together and the products include the sum and the difference. My theory is this gadget was able to reflect the RF wave sent to it mixed with the sound waves from the room.
I have huge issues with DST and how we measure time in general (24hours, 60 minutes, 60 seconds?! Who the f* came up with these crazy ass numbers?!). But what bugs me much more is the insane calendar. 12 Months with arbitrary numbers of days. That's just crazy. In the very least we could make it so that January to May have 31 days and the remaining months get 30. ideally we would switch to the positivist calendar. That would make everything date related trivial, easy to remember and calculate.
It should be noted that the S-Bahn is operated by Deutsche Bahn (the national railway), while the U-Bahn is owned by the munipical transit service BVG. So funding for S-Bahn vs. U-Bahn will, at least up to a certain degree, come from different pockets.
I'm a bit confused why you decided to respond to HN, but not to the offical mailing list. Even if just with a copy of this text...
>...That's interesting because it demonstrates that you absolutely can successfully introduce any arbitrary behavior in your child ... provided that you enforce 100% compliance. 99% compliance ? Expect WW3. Expect pain. But 100% compliance - you can make that work.

I think that is right, but a car seat is not a great example. Babies tend to feel more secure when wrapped tightly, so it isn't hard to get them to adapt to a car seat. No one I know has ever had a problem getting a baby into a car seat.
Germany’s Bild Am Sonntag: Audi A6, A8, Q5 SUV – Gasoline Emssisions Defeat