skysight-inc/HackerNews huggingface dataset:
> If my friend on the other side of the country says "I woke up at 9 this morning", I have a pretty good idea of what that means.

Do you really? If your friend called, said "I woke up at 9 this morning", then hung up, you wouldn't really know what that means.

Usually your friend would embed this information in some context, like "I woke up at 9 this morning, but I had an important meeting scheduled for 9:30, and my commute takes at least 30 minutes even on the best days. Oops." You need this amount of context to understand what they are really trying to tell you, and you wouldn't keep track of your friends' schedules and commute times at this level of detail.

But if the context is provided, the actual number doesn't matter: "I woke up at 22 hours this morning, but I had an important meeting scheduled for 22:30, and my commute takes at least 30 minutes even on the best days. Oops." conveys exactly the same information.

More generally, my colleagues and me might come in to work at any time between 8 and 10 in the morning, and I guess (but don't check!) that that's the same for my friends in other companies. So if a random friend tells me "I woke up at 9 this morning", they could mean anything between "... and I realized I would be at work two hours later than usual" and "... so I would have time to feed the ducks in the park on the way to work and still be at the office before the boss".
I've been making a Django app for over a week because I wanted to learn doing web dev. I hope to finish it another 2-3 weeks. So far, it's been a intimidating and yet fantastic experience learning about django, http, html dom, js, jquery, css, bootstrap, sqlite, orm, templates and such.
I oversimplified to make a point. If I could rephrase it in more general terms it would be something like "people in web development are taking engineering advice from people who are solving completely different problems" or maybe "best practice in web development is being framed by the atypical"
The difference here is that on a traffic light the colors are important and inherent to the traffic light's functionality.

This is not true in source code. Syntax highlighting "helps" you to spot strings, numbers, keyword arguments etc. faster. But normally this is not what programming is about.
Interesting. I have an app that most likely needs updating, but I just haven't got round to it. It does provide me with some pocket money so I wouldn't like it to be removed. Did you get some warnings from Apple before they were withdrawn? If so, how much notice time did you get?
> "I woke up at 9 this morning",

Yes you do, you know he woke up possibly a little late, but didn't massively oversleep.

> "I woke up at 22 hours this morning,

Now I have no idea whether that's good/bad/early/late without a lookup table.
I was trying to help with an algorithm used in some of our Perl code recently, writing some tests I'd used \A and \Z in a regex. My Perl co-worker told me it should be \z, I asked why and he said:

> who knows :|

> It Just Is.

> remember, perl is a memory competition

There is a LOT to remember about how Perl works.
Show HN: Pioneer – A web app to control your IoT (side) projects
I'm also amazed at my ability to master gravity, relative velocity, and multiple physic parameters when I throw a paper ball in the bin.

Ballistics is so complicated and yet, our brains and and muscles do it all naturally.

On the other hand, I'm sure a properly configured and programmed robot will throw the paper ball into the bin more reliably than me.
We say "see you at 15" in Zambia.

Just thought I'd chime in here too.
Mastodon [1][2]

[1]: https://mastodon.social
[2]: https://github.com/Gargron/mastodon

Disclaimer: I'm the developer
The Impressive Growth of Fintech in Spain
It doesn't matter if you are a shill or are doing it because you believe you're right. At the end of the day you and other people that agree with such abuses for some subtle reason are all part of the problem. Hence playing for the opposite team.

You don't seem to understand that being reasonable, impartial and giving companies the benefit of doubt doesn't work when you are a mere flea opposing gigantic conglomerates.

Privacy is very simple. The person's data should be controlled by that person: they should know what data is stored on them, should be able to correct it if wrong or ask for it to be deleted.
Any kind of data transmission should be opt-in.

Anything else is bullshit and goes against the interests of the customer. If not at the beginning, when they inevitably decide to monetize that data.
Yes, you do really.

Now if only we could get Apple to understand time zones and when NOT to use them: http://goldmanosi.blogspot.com/2016/03/apples-idiotic-time-z...
You haven't looked at a non-ASCII based APL I gather? :)
I guess they abandoned it after that then. May be someone will pick it up soon.
Cyclists have a tendency to disregard traffic lights (and I feel that urge myself when cycling), because it's so darn strenuous to get back to normal speed.

As a pedestrian stopping and going again is effortless. As a car driver the same. Only cyclists dread stopping.
I think that the biggest argument against it is code changes. Think about a code change that adds an additional yield point without proper locking.

Has any language tackled this with lazy locking? i.e. lock only on yield. Maybe this could even be done in compile time
async and threads are fundamentally different mechanisms. green threads (async) are scheduled by the runtime, threads are scheduled by the OS.

In CPython threads can be (theoretically) switched at every bytecode instruction. Since calls into extensions / the interpreter are a single instructions, many data structure updates (like dict[a] = b, list.append) will appear atomic from Python.

That being said it is rather rare to have multiple threads run an event loop and process requests in Python. If threads and async are combined in the same process in Python, then it's usually only one event loop thread, and a thread pool for background activity. Usually these will be synchronized through async (eg. tornado.concurrent.run_on_executor) -- but that has nothing to do with context switches.

Edit: Reread your post. I may have slightly missed the point :)

Yes. Often one will find/design that there is no shared state, or that shared state is modified completely between yield points, so no locks between coroutines needed.
Benefits of using the dedicated team model
Not really, the 2 things are not alike and I don't think QT designer exports to PDF, web and png (one of which is what the project manager needs, not a project file that runs in an IDE).

Not bashing QT, but QT designer is not a wireframing/mockup tool.
A bug story: data alignment on x86
Using automated testing in web development
I can think about at least a couple of services that do it out of sheer altruism or for political reasons (like Autistici or Riseup) and don't mine your content.
There is a newer fork, that works an Pencil 2.

https://github.com/prikhi/pencil
> Why hasn't Perl 6 taken off yet?

i think the story it similar to Visual Basic 6 and VB .NET: the change between perl 5 and perl 6 is really big, perl 6 is a new language - not just a change of version, people who are comfortable with perl 5 have little incentive to learn it all again (or they have switched to python)
Yes this was my favourite episode!
http://pencil.evolus.vn/Next.html

> Electron as the new runtime

No.
Just no.
Social standards are the principal causes of depression: too overweight, too skinny, too tall, too short, being single, not owning a house, not having a job, not owning a car, not having enough friends, not hanging out enough, not being noticed/praised enough, not smart enough... and the list goes on and on.
Also interesting to see the breakdown of usage of the Citi bikes. Does increased usage of Citi bikes lead more casual users who don't wear helmets?
Or you could build it into a executable and send that to the exec. I'd imagine that's better than a pdf/png picture, no?
People can't be expected to understand all the subtle aspects of privacy, medicine, drugs, automobiles and many other things.

That's why there are laws which by default protect those people from the maliciousness, greed or incompetence of companies. And why the US needs strong privacy laws.

The fact that the masses don't understand something is irrelevant.
Why. Just why.

edit: No really, why? Genuinely curious. You have to at least come with one reason after writing that.
Excellent point. Getting rid of timezones would mean most people would have to switch to a different _date_ at some random point (determined by their longitude) during the day. Very impractical.
[Webinar] Implement Algo Trading Coded in Python Using Interactive Brokers API
Sounds like it's a problem in Urumqi precisely because there are people who use a different timezone (and because the question of which to use is politicized). If everyone used Beijing time, wouldn't all the problems in that article go away?

(I've only been to Urumqi once, but I found the being in the same timezone as the rest of China very convenient, particularly in contrast to earlier on the same trip when we arrived in Kiev 2 hours earlier than we'd expected and had to scramble to pack up our stuff and leave the train)
Middle of the working days part of the week, no need to go all American and make half of the weekend the beginning!
Polyglot:

"UPDATE: Due to the shutdown of the Google Translate API, Polyglot is no longer being maintained. It's been ported to use Bing Translate but due to rate limits the service is relatively unreliable and cannot be guaranteed to work consistently."
It's worth keeping in mind that urban activity accounts for only ~20℅ of the particulate matter in Delhi. Take a look at the following graph. Other major Indian cities like Mumbai are run very similarly to Delhi, and yet, their levels are 80℅ lower.

http://qz.com/829182/this-one-chart-shows-delhis-apocalyptic...

There was a more detailed article I read a few months ago (nytimes?) that went into the geographical details of how regional airflow and weather patterns play a major role in explaining the huge variation you see in the above chart.
Culture, you should have a thick skin when discussing those issues on gonuts.
10 Quotes to Help You Better Understand Customers
Except when you over-localize. It really annoys me when I am away for the weekend and my calender thinks all my appointments are an hour later/earlier than they actually are.
Well, I think time zones just move the problem around.

With time zones, you have to calculate mentally WHEN someone in another time zone is awake or something like that.

Without time zones, you have to calculate mentally WHAT it means if someone says 14:30.

I don't know which would be easier in the long run.
> Delhi NCR, with the inclusion of Gurgaon, Faridabad, Noida and Ghaziabad becomes the No.1 Urban Agglomeration with a population of 21,753,486 [...]

http://pibmumbai.gov.in/scripts/detail.asp?releaseId=E2011IS...
> for standalone use on Windows

There's the difference. In your case, you were bundling for a system that didn't already have Python+NumPy+SciPy. In my case, I already have Chromium/Chrome and ffmpeg on my system.
Please calculate the kinetic energy of a car of 1500kg at 30km/h vs a bike of 100kg at the same speed and reconsider your argument.
> I started looking at the various offerings, and being a nerd of a frugal nature, decided to only look at the best HW bang for the buck, completely ignoring the SW aspects.

I think this is a very important point that people tend to overlook. One that I've definitely stated to appreciate in recent years.

For a similar example, sometimes people talk about the cost of ownership of a PC. Whenever you bring that up, someone will mention how it's really cheap to build your own PC. And although they're technically correct, since it's really cheap to build your own PC, it usually means you're left on your own for maintaining it as well.

I can't shake the feeling that this case is similar. Although I certainly enjoy tinkering with stuff, I think there's a strong argument to be made for things that "just work", or things that can be easily hacked. I have a hard time imagining that the real cost of ownership of this device for the owner ended up being higher than if they had purchased a more open device.

With all of that being said, I found this to be a very interesting read, and I'm thankful that the author took the time to write up their experience.
The company that make it is Vietnamese I think. They do some paid software too, and it looks like pencil is what the developer does when he has time. So I think the project is active, but not very active.
You're right, industrial rates in Anchorage are around 11ct/kWh.

Also, it's possible to use LEDs tuned to the absorbtion spectra of chlorophyll, as you say.

If my back of the envelope calculations above are wrong by more than an order of magnitude, it might in fact be a commercially viable option for farming.

Is this [1] the Singaporean project you were refering to? They probably don't need heating, but nonetheless their quoted energy needs of 3$/month/structure are astonishingly low.

[1] http://permaculturenews.org/2014/07/25/vertical-farming-sing...
Nice work so far.

I'm not convinced by this approach since I prefer to learn Spanish words in the context of Spanish sentences, but I haven't given it a fair shot. Of people who have tried this or similar extensions, did you a) find that you learned much? and b) keep using it for a prolonged period?
I once read an article explaining that storing oil is definitely not easy. IIRC, it was super toxic, abrasive, could easily be set on fire, and of course, super valuable => you need almost a bunker to store it...
What I love and hate about conferences
Uh..?

1. PCRE copies the Perl regex syntax almost completely (except some much newer cases than \A and \Z). See e.g. http://www.rexegg.com/regex-quickstart.html for \A, \Z, \z

2. If you check http://perldoc.perl.org/perlre.html then:

\a alarm (bell)
\A Match only at beginning of string, as PCRE.
\z \Z Same as PCRE. (But \z is not in Regexps for Python/JS.)

Edit: You might want to note that the regexps are redone quite extensively in Perl 6 and to a large part replaced with grammar for those use cases.
> If my friend on the other side of the country says "I woke up at 9 this morning", I have a pretty good idea of what that means. If we used this new system, i'd have to mentally translate.

9 could mean something very different relative to dawn, or relative to their usual working hours, than it does to you.

> If say, I want to schedule a conference call at 3, yes, 3 is the same time for everyone, but i'd still have to do some mental sanity checks to ensure that that time is reasonable for everyone who might be participating.

If you propose a time that's in the middle of the night for them, they can always tell you so. The big breakthrough is that you don't ever end up thinking you've agreed on different times. (E.g. just last weak I had someone from the US try to join a conference call an hour early, because the DST shift over there apparently happens a week later than it does over here).
How will financial markets fare with a Clinton or Trump win?
Not good only for a small subset of people on global scale, good for the rest of humankind and future generations.
Very interesting. Do you have a source for this?
Project managers want to put things in Word documents, they don't want executables, they don't want a demo.

The point of wireframing is that the client doesn't look at it and go "this detail is wrong!" Wireframes and mockups should only communicate pre-prototype ideas, work-in-progress ideas and workflows. I think you might not understand what a tool like this is for if you think QT creator is better than every sketching tool on the market. Not a personal attack, but we seem to be talking in circles already.
My opinion is because it's the vital feature, after sending and receiving images itself, that irc needs.

It's like asking why would http protocol allow users to send data. Receiving is enough.
No, if they are single core with 1GB of ram they should be able to write 15k/sec easily
Pencil Version 3
The roads are busier in the evening than they are in the morning. So being able to come home in daylight is more important than being able to go to work/school in daylight.
> The keyboard is both english and Japanese

So, Japanese, then? Or does it have English labels on the modifier keys?
So BBC are supporting HEVC? All these is getting silly.
I wish they support AV1.
In order to create a prototype with a port in a different location, they would need, at the very least, to produce a one-off motherboard PCB, and a one-off injection molded case. That they could justify doing so to produce near production quality results for a small order either indicates impressive manufacturing flexibility, or an inefficient manufacturing process.
Researchers demonstrated how to hack the official vote count with a $30 card
People do, but also people might not. I can see offering the same setting but with two different labels, or like in a dropdown.
Testing React Native and Redux
https://en.wikipedia.org/wiki/Toyota_Production_System
https://en.wikipedia.org/wiki/The_Toyota_Way

Quote:

Principle 3

Use "pull" systems to avoid overproduction.

A method where a process signals its predecessor that more material is needed. The pull system produces only the required material after the subsequent operation signals a need for it. This process is necessary to reduce overproduction.
The airline industry functions as a whole. One bad actor can seriously hurt the whole industry. With such a poor safety record (2 - 3 times worse than any of the others), they are not credible. There is a danger that if this is not taken care of, others may follow suit and this will become the new normal.

It is very strange that the FAA is so serious about on time statistics and enabling comparisons between airlines on that basis, but not on this basis.
> No, you aren't contrarian. Remove timezones, and it still doesn't help me sort out if it's morning in Italy yet, or if business hours have started. In fact, it's more difficult, since I'd then have to figure out what Italian business hours are.

It's the same amount of effort either way - either you look up the timezone for Italy or you look up the business hours for Italy.

The difference is there are fewer opportunities for mistakes. In particular if you get the lookup wrong (e.g. you looked up India instead of Italy by mistake), the other party notices your mistake and can correct you.
Airport Uses Bigdata to Accurately Scale Capacity with Demand
Top Pocket Drone with Camera
Because people keep asking why it hasn't taken off rather than using it and posting here about how it was awesome.
Swift 3 migration
To be fair it wasn't _just_ that particular thing, that's just the part I remember. There were other things that every time I have to go back to the docs for.

It _is_ a memory competition though. In the various languages I've learned, Perl feels like it has the most to remember about how things work or interact (ymmv of course, I'm speaking of my experience here).
Java slow after MacOS Sierra upgrade?
One of the things currently regarded as a serious problem for Twitter is abuse. Federation doesn't make dealing with this easier, it makes it harder - look at what happened to USENET.
What go possibly wrong :)

Really, are foreign diplomats really that stupid using an NSA-observed insecure group messaging app? Some of those messages are very interesting to the NSA and USA politicians.
Or do they don't care anymore?

I wonder how many US companies already have access to the NSA trove. Hillary might like the idea to sell this info.

With Signal you can send messages to groups also. Not syndicated, which is the killer feature for secure communication.
badly coded _fancy/shiny_ shit with a web interface ;)

Apart from the sarcasm, I'm serious on the web part, which is terrible: all around the world people are "porting" protocols to JSON+HTTP ( example: JMAP[1] ). IRC is awesome[2], but it's not GET & POST and the new kids on the block run away if it's a real protocol instead of a HTTP hack.

[1]: http://jmap.io/

[2]: https://aaronparecki.com/2015/08/29/8/why-i-live-in-irc
I remember when I thought the same thing. Then I spent a couple hours thinking about it, and realized what a terrible idea it was.

In my day to day life, I often need to talk to fellow tech people (engineers, support, etc.) in my own time zone, but also in places such as Sydney (2 hours behind me) or California (20 hours behind me). As a society, we've agreed that tech people like that are generally working 9-5, give or take, and we have a universally agreed mapping of locations to adjustments to local time (aka, time zones).

This means that I can look at a clock and realize "oh, it's only 10am, I shouldn't expect a reply to my email to that guy in Sydney yet". Even if I'm dealing with a place I'm not really familiar with, I can look up the timezone, or just google "time in Berlin", and I now can translate appropriately.

But what if we abolished that mapping (aka, timezones)? Presumably every location would just continue on about their life as before. Sydneysiders with desk jobs would stop working 9-5 AEST, and would start working 19-3 UTC; New Yorkers in similar roles would be working 4-12 UTC. Sounds odd, but it would quickly start to seem normal.

Problem: We just abolished the mapping tables that let me adjust for local time. It was trivial to work out that my Sydney colleague was probably out to lunch at 12:45 AEST, but how am I meant to know if he'll be out to lunch at at 22:45 UTC?

The only way to make this work is to have or create some form of mapping that tells me the adjustments to make to bring Sydney schedules in line with my own schedule. Eg, "I go to lunch at 00:30 UTC, and Sydney is about 2 hours behind me, so they'll be at lunch now". Because without that table, I simply have no clue what (or rather when) people in Sydney are doing.

But that table is just another word for time zones, the thing we abolished. Even better: While there are work arounds, most of them are very difficult to computerize. For example, I could check the corporate website of the guy I'm trying to call, and see if they have office hours (in UTC), and then try an work out when they'll be at lunch, but my calendar app wouldn't be able to do that. It needs a formal, agreed upon table of adjustments. Which would be time zones, whatever we want to call them.

TL;DR: This is an idea that makes a lot of sense to people who only have to deal with people who are geographically close to them. If you're actually dealing with people around the world, time zones are not an inconvenience, they're critical.
Show HN: A server monitoring progressive web app based on Node.js
Don't forget that async is "viral": if you call an async function and need to do something with its result, the calling function must in turn be async for await to work inside it. So the moment you start doing some async I/O at the bottom of some call stack, the entire stack becomes "infected" by async, and needs have awaits inserted in every frame.

And it so happens that I work on the kind of products where a lot of useful work revolves around I/O: IDEs.
If we implemented a carbon tax which makes oil producers pay for the environmental cost of oil, oil demand would probably peak even sooner.
This isn't about just technical issue monitoring. Their privacy policies and such include sharing your personally identifying information (email, full name, etc) with 3rd parties & advertisers, and associating your random web browsing with your video card's account.

Remember that it's not just games, but your web browser, media players and anything that might use hardware acceleration runs through these drivers, which then reports back to nVidia. Plus, all telemetry data is unencrypted during transmission.

On the plus side, it looks like this is only transmitted back to the mothership if you're running GeForce Experience, which I don't think is even available on Linux.