skysight-inc/HackerNews huggingface dataset:
I don't have the best knowledge of Libyan politics. But I do know that the GNA (Sarraj loyalists) and GNC (Ghawil loyalists) are both in support of the airstrikes, and those two groups combined pretty much make up whatever you might call the "Libyan government" right now, so that's why I made the simplification.

Of course, given the current state of Libya, there aren't exactly pollsters walking around asking peoples' opinions on the Sirte strikes. But given the bipartisan support, it's pretty clear that they have good support in Libya itself. The fact that the UN supports the strikes - especially given that the UN can't even say "water is wet" without someone vetoing - says something about their international support.

I agree that America has been blocking countries from doing some pretty basic stuff. I recently traveled to Iran, and the American sanctions have shaken the country to the core.

But even things that seem obviously good are in fact horrible ideas. Every tiniest change in our laws affects the outside world in a massive way. In 1993, Tom Harkin, the junior Sentator from Iowa, introduced the Child Labor Deterrence Act, which prohibited the importation of products that have been produced by child labor. Sounds simple, right? Who on earth is in favor of child labor? There were concerns about the effectiveness of the bill. Well, as it turns out, the bill was devastatingly effective. In 1993, Bangladeshi employers, in fear of losing lucrative American contracts, dismissed over 75% of child laborers in the textile industry. In 1997, UNICEF investigated what happened to these children after being laid off. They found that most children found themselves in much worse situations: crushing stones (leading to horrible particle inhalation illnesses), scavenging through trash dumps, and begging on the streets. Most of the girls ended up in prostitution.

Things aren't always as simple as they seem, especially when you're as big as America. Smaller countries, like the Netherlands, can take grand actions like banning child labor imports, or banning arms exports to Saudi Arabia, or establishing relations with countries the US is at war at (e.x. North Korea.) But the tiniest little movement by the US can completely shake the world. Think about that the next time America seems to face a clear choice between good and evil.
This video does a great job at summarizing the issues and abuses of the gig economy, and even goes much further than most blog like articles to support their claims.
Yet another library to handle dates in Python. Oh, boy... https://xkcd.com/927/
Would you know if Hy can be jitted with PyPy ?
Ask HN: Where do you get your news?
Modern Linux desktop is extremely insecure and lack of any kind of isolation so any process that have access to X can do anything no matter what security measures you applied. With Wayland it's possible to isolate desktop applications, but there still unsolved problems like audio.

And with concepts like Qubes main flaw remain the user just like with network privacy in TOR / I2P. There is very few people around who can actually follow draconian rules systems like that enforce. And once you start to use one app insecurely you lose all advantages really.

It's just hard to let's say use different browsers for different things and from time to time you'll use wrong one. Then problem is that most of applications around isn't really designed to be used in separate VMs and things like file management get messy. So at some point you'll just give up trying to keep it secure.

So I think actually secure OS is very far in future.
Thanks. No downvotes from me, I was just curious because I hear the DynamoDB-MySQL rumor here and there but never saw it confirmed.
Except (2) doesn't necessarily work when events are local and you factor in timezone variations (both DST and actual TZ changes). There are classes of events where you're much better off with zoned local dates e.g. local meetings.

Example: in early 2011, Samoa announced that on December 29th at midnight local they would switch their timezone offset from -11 to +13. Before that announcement (or at least before your timezone database has been updated), store as UTC a meeting in local Samoa time, and the user will miss their meeting by a day.

Of course storing a meeting on December 30th local would also have been fraught as there is no December 30th 2011 in Pacific/Apia but that is a common occurrence historically due to the unsynchronised julian/gregorian switches e.g. none of the dates between February 16th and February 28th 1923 (included) exist in Greece, and the US doesn't have a 9/11 in 1752.
There's still a killer feature which is only just now (autumn 2016) being slowly supported by HTML5, and this only for some browsers: Client side video recording and streaming to server. Another one is peer-to-peer. WebRTC is more complicated than RTMFP and still not implemented for all browsers.

We have started to develop a replacement for our Flash app and are fighting a lot with specified but not yet implemented features. Especially configuring the webcam (resolution, frame rate) is still in a very sad state of implementation.

An example is MediaTrackCapabilities: https://bugs.chromium.org/p/webrtc/issues/detail?id=4807 and on MDN you get Not Found: https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackC...

In short, if you try to implement this: here be dragons! while this is working in Flash for years.
While they seemed to have abandoned Google Finance and left it in flash limbo, they do seem to be using HTML5 for stock charting whey you query google for: "company name" quote
> because exceptions disprove the rule.

You may be aware (since you turned it around), but the phrase "the exception proves the rule" is meant to provoke thought about the rule in question, not announce it as broken. This is so because the meaning of "prove" in that phrase is "test", as noted in https://www.merriam-webster.com/dictionary/prove at 2.a.
So do it incrementally like the human body does with everything else so that fresh neurons can learn the roles of the neurons they are replacing.
Bootable EFI isos is pure hell. Any tips?
I've been trying to make a bootable EFI iso... But it just flat-out refuses to boot. Any tips for good guides LFS style?
It's been supported by Chrome and Firefox on desktop and mobile for a few years now. Since about mid-2013.
1000 times this. I've been really enthusiastic about the idea of a modern, compiled, type safe, systems language, backed by a major tech juggernaut.

But the compiler crashes and sourcekit instability are just breathtaking (even in 3.0+). I'm surprised I haven't seen this get more attention.

I'd (somewhat) expected something like this for the first few releases, but two years in I'm starting to think the team bit off more than they can chew with the type system.
Sometimes, it's enough to know that the project is progressing.
I agree. But to play Devil's Advocate for a second, the article does talk a lot about sexism. (Although it seems hesitant to discuss it outright).
Right, there's arrow and pendulum and also http://delorean.readthedocs.io/en/latest/index.html plus the Datetime options offered by pandas and the numpy.datetime64 type. It gets to be pretty confusing particularly when you need to start transforming between the different types.
I walk to the local store every morning and buy the newspaper. I live in England and I read the Guardian Mon-Sat and the Observer on Sunday.
While it was a interesting read and definitely had several good points, I don't agree this is a "new" hacker ethic.

It bears no semblance to the original, and is of a fundamentally different nature.

The original is a short and simple declarative list of principles towards a goal.

This is a looooong list of ambiguous wishy washy questions whose intent is unclear and with little relation to the original.

Trying to brand this as a "new" hacker ethos is just abusing the recognition of the original to push your own (completely different) ideas and agenda.

I'm not going to call it entirely disingenuous, but it does come off with a bad smell of politics.

Count me out.
If this is Walter Bright creator of D, I must say I'm in awe.

Nonetheless, I agree with you 100%. It doesn't matter what form it takes. Majority of my millennial peers refuse to even accept that socialism leads to the inevitable outcome that is communism and that it is an evil that would deprive all of us of our individual liberties to a point where all human decency will be lost.
WebRTC? It's not in Safari or Edge.
What's "eor"?
> the best feature is the fact that pendulum objects are actual stdlib datetime instances too

Exactly this. Makes it so much easier especially when you need to work with other components that only understand the stdlib datetime.
Personally it's a non-issue for me.

Maybe for those who it is an issue for, Tesla can one day do an OTA which sends the car into an automated parking pattern.

>>When charge finish, automatically circle parking lot until parking spot found.
The use-case for workers is usually heavy processing.

You would probably not like to do heavy processing in an online transactional service like a frontend web server, so you move that work to a worker...

node stays healthy only if you can keep the event loop unblocked. If you do really heavy processing, the event loop blocks and you can start seeing side effects like I/O starvation and such.

Usually doing heavy processing in JavaScript is not very performant compared to other languages... example: garbage collection, every number is a floating point number, everything is an object, etc... abstractions that are not zero-cost, plus, CPU/Memory profiling tools for node/JavaScript are not as good as the ones you can find for other languages.

Having said that, while the tutorial is fine... it really depends what you want to do with such workers. If it's CPU or memory intensive... I don't recommend node. If you absolutely have to, make sure CPU intensive tasks are distributed across ticks (break down intensive logic using process.nextTick) so the event loop doesn't block, and do some CPU/memory profiling.

Then, if not node, then what? My choice of tech for a problem like this would be Akka. http://akka.io . Why Akka? because if you want to break down a computation into subparts, without the disadvantages of dealing with threads and message passing at a low level, the actor system takes care of that for you.
EURUSD: Retains Its Broader Downside Bias but with Caution
I'm not sure I agree.

My girlfriend has decided to learn programming. She started with Swift because she wanted to write iOS apps. The course she's using targets Swift 2 but her install is Swift 3, or something like that (I haven't looked into it much).

XCode constantly flags stuff like x++ being replaced with x += 1. Really? Surely that's the kind of decision you make before version one of a language, not years after release. Why this pointless churn?

If these sorts of totally-indecisive deprecations were rare then you could overlook them, as otherwise Swift is a rather nice language. But they're everywhere. Even in trivial examples intended for beginners line after line of code gets the yellow deprecation warnings. "What does deprecated mean" was literally one of the first questions my girl asked me as she started out learning programming, which is ludicrous. You shouldn't be encountering deprecation warnings over and over when targeting a brand new platform using a teaching course barely a year old.
It is the same story with Java Swing apps. Sure they are hideous and can be slow if poorly coded but man once they worked they worked reliable well and porting becomes this sunken cost that you never finish and just abandon.

The real story for Java and Flash is not having to worry about browser compatibility something I think many think has gone away with webkit but the reality is it is still here and worse than ever (mobile, firefox, ms edge).
In terms of installed user base that isn't going anywhere, Computer Based Training (CBT) embraced Flash deployment and as a result has tons of conversion resistant legacy content.
> I have not seen anyone getting out of hyperinflation without temporarily ditching the currency altogether.

Brazil managed to do it, converting directly from the inflating Cruzeiro Real to the more stable Real.
Naïve is what usually gets everyone into trouble since you have no frame of reference and you need to do all kinds of magic to try and deduce timezones and adapt to it. It also makes it utterly impossible to properly deal with DST changes etc. unless you know that everyone using your system is coming from the same TZ.

I don't like the default of UTC either though. Explicit is better than implicit, so make people always specify a timezone instead which avoids all form of ambiguity.
> Pretty sure pytz will hand you the appropriate timezone for a given date.

Correct, or more precisely for a given timezone it will use the correct offset depending on the date being converted:

>>> format_datetime(datetime.datetime(2011, 12, 15, 10, 5, 18, tzinfo=berlin).astimezone(samoa), 'full')
Wednesday, 14 December 2011 at 23:12:18 Apia Daylight Time
>>> format_datetime(datetime.datetime(2012, 1, 15, 10, 5, 18, tzinfo=berlin).astimezone(samoa), 'full')
Sunday, 15 January 2012 at 23:12:18 Apia Daylight Time
They're not a good example because Amazon is full of MBAs at the middle management and even individual contributor level.

But I agree with the general point that 'conventional' business wisdom might not lead you to Amazon's strategy.
If there's an economic incentive, fine, but you're just shifting your stress to other drivers. Delivering packages still happens, do you think the other companies don't follow industry standards?
If the majority decide that you should pay a tax, and you then become obligated to to pay that tax, that's democracy, not dictatorship. That doesn't mean it's good, it's just democratic.
MediaRecorder has only been implemented autumn 2016, and it's still incomplete.
The news reported it nearly two weeks after it happened, when reports were already saturating social media and word of mouth.
Which is why democratic mob rule is a terrible, terrible idea. Removing the checks and balances on raw, unbridled democracy doesn't have a great track record, historically.
'dictatorship of the majority' sounds like democracy to me.
Explain Yourself: Documentation for Better Code
> It's puzzling why this doesn't wrap np.datetime64 instead. Or wrap boost.datetime.

I don't find it that puzzling. It's meant to help deal with timezones, efficiency isn't necessarily part of that equation.

And if I were to write a simple CLI or web app I would avoid anything that would pull in a dependency like numpy or require a C-library plus its bindings.

If you need to manipulate a huge amount of date times and this is something your app is constantly doing then sure, optimise for that.
It's actually quite the opposite: the eastern states are the most supportive while the Western states(i.e. UK, Holland and few others) are more pessimistic. It's usually because the richer states subsidize the poorer ones. There is also a doze of populism and lack of EU cohesion.
Work will set you free
Rule #1 of watching: never focus at the center.

Good catch.
"C is a portable assembler for the PDP-11."
The History of 3D Studio
Cool I did think about getting a small form factor PC to run OPNsense, but a verry nice man of the Gargoyle forums posted me the WRT1900 AC v2 which has a 1.6 ghz duel core CPU and i don't host any thing. For what i use it for it does just fine. One of the things that keeps me with Gargoyle is it works grate with a screen reader which i have to use as i am blind. I can use ddwrt and openwrtI just like the lay out of Gargoyle better.
You probably still want to be a couple of kilometres inland.

> The cliff face continues to weather at an average rate of 1 centimetre (0.4 in) per year, although occasionally large pieces will fall. This occurred in 2001, when a large chunk of the edge, as large as a football pitch, fell into the Channel.
"Levy clear­ly views this anec­dote as an exam­ple of the hack­er ethic at work. If that’s the case, the hack­er ethic in this instance has made it impos­si­ble for a bril­liant wom­an to do her work, right. For Levy, the sto­ry is passed off as a joke but when I first read it I got angry."

Get over yourself. Hacker culture is full of these kinds of pranks, unauthorized hacks and act of disobedience to authority. Margaret Hamilton is worshiped in the hacker world for her brilliance and competence. Nobody cares that she was at the wrong end of a hack 60 years ago when she was a beginner. In fact, it probably enhances her reputation.

"So. If the hack­er ethic is good, how could it have pro­duced this clear­ly unfair and hor­ri­ble and angry-making sit­u­a­tion?"

Hacker culture has produced practically every piece of software and infrastructure you used to create and post this drivel. You want to re-evaluate it because muh feelingz!! Go back to Tumblr.
Because Flash does more than the browsers of today implement.
[2] compilers, debuggers, IDE, unit tests, configuration management, PaaS, IaaS...

We could argue, is it half a fold? is it two folds? depends on the day.
The parent comment is a valid criticism of the quality of reporting, especially in the context of the overall standard right now.

Claiming a causal relationship is an incorrect summary if the study did not show this. This is a very serious problem. If the particular study did in fact show good evidence of causality, that's worth specific highlighting because it's not that common.

The parent is not saying they've thought of some obvious confounder that the study authors didn't. They've emphasized the importance of unknown unknowns and correlation vs causation.

Raising the standard of science journalism is a noble goal, if you ask me. In this case, the authors are not making as strong a claim as the summary does.
It's not ubi if it is not universal.
Graffiti from Pompeii
There are many ways to evade such a system already. For example, one of our ex-PMs didn't get any money from a certain company; they just paid €25M to another guy, who was such a friend that he paid for the ex-PM's home, hired his wife and driver, bought thousands of copies of his book, etc.
How I keep my health in check in this fast and busy life
Ah, I hadn't heard about that API. But audio/video encoding and streaming was a basic use case from launch. I guess the new API lets you handle the encoded data yourself, and not necessarily send it out over WebRTC.
Rainbow Dash is in flash ;) (or to put it another way: the wildly popular gen 4 of My Little Pony, with a substantial adult audience, began as a TV series authored in Flash for its animation, and AFAIK still authors most shots in it)

Vectors are scalable, you see… if you're good with an art style using puppeted animation in vector graphics (which can be much quicker and still look good and move well!) then Flash is right there, able to be used, flexible to any screen size you like. Lines made with Bezier curves are appealing to the eye, and the rendering is super clean (when it's not glitching out, see the MLP cyclops horse glitch)

I've spent hours poking around on the web seeing if there were ways to render Flash clips to, say, SVG: simply because I know Natron exists, is a WAY more powerful compositor but much like Shake (and presumably Nuke, out of my pay grade) can composite numbered image frames, including SVG. That means you can zoom and scale SVG-based clips infinitely without losing clarity.

(I'm aware of Fusion and just learned of 'free Nuke' doing a lastminute google check on this stuff, but I favor Natron because it's not restricted to noncommercial/hobbyist purposes and as it's a opensource option, it should be possible to keep a working version of it indefinitely so long as there's been at least one working version on your system. The big commercial software projects, I always worry they will forced upgrade you out of what you use)
Sure, if you limit yourself to timestamps. But dates/times have much more notions than an instant. Like, that I have a recurring event every weekday at 9am local time. Or that the weekend is two days (hello, DST).

And even if you only need timestamps, "Whenever dealing with users, use local tz" isn't exactly a magic wand either.

Also, "unix timestamp" isn't exactly one data type. Sometimes you need greater precision than one second.
Ask HN: How to format self-published eBooks?
I'm looking for people who have already published a (technical) eBook to multiple platforms. These platforms need different file formats such as .epub and .mobi.

1) Which tools can you recommend to convert to .epub and .mobi?

2) How do these tools deal with code syntax highlighting? (highlight changed lines of code, format to nice code blocks etc.)

3) What input file format do these tools use?

4) How flexible can you adjust the output in these tools? E.g. you have a longer block of code and don't want to split it up between two pages.
UCSF Lays Off Tech Workers, Stepping into Jobs Outsourcing Controversy
This is an incredibly unnecessary nitpicking here.
There is at least one MMORPG done in flash, that's just to say how much can be done in flash.
I was 'exiled' to VMS for a couple of years, though a very nice system there was lots more typing on VMS's command line. Anyway I think it was scaling and software that allowed UNIX take over. I had a useful UNIX on a 8086 and software could be found. On VMS just about any useful programs cost $, never mind support costs for using VMS.
…and the point is, you can create animations in Flash. It's a pretty damn mature technology, familiar to many, has a whole infrastructure around efficient use of it, and to replicate that in something like Natron from scratch ain't gonna happen.

Even people talking about reimplementing Flash in open form seem to be talking mostly about playback or web, not authoring.

Flash already exists and mostly works. It even exists in non-subscription form and runs on older machines.
Have you read the study, which is published in a peer-reviewed journal, before making this statement? If not, your comment doesn't add anything useful to the discussion.
MediaRecorder is essential for video encoding. A friend of me had to implement video encoding in JavaScript when he tried out uploading videos to the server. He did something like this: write a video frame to a canvas element, then encode it in JPG and upload that JPG to the server and then make a video out of the JPG frames. Absolutely ludicrous.
Meanwhile you can't play super Mario run (at all) without working internet. Go figure.
Worrying about split effort makes most sense when the problem is large and the amount of effort dedicated to the problem is limited, or when there are network effects that come from having more people involved in the project. I don't think that applies here.

This library is not going to divert much (any?) effort that could have improved other date-time libraries.
She's got a great youtube channel by the way. One of my favorite.

https://www.youtube.com/user/FoundMyFitness/
how do you think cars will be connected to the internet without using the cloud? I think using the cloud is inevitable
I know this doesn't answer your question directly but is there a reason you can't use a USB stick? If you can I can give pointers on how to create a live USB image. Also is there a particular OS or Linux distro you're trying to boot?
- Hacker News

- Reddit

- Twitter

- Pocket Recommendations

- RSS Reader for individual websites

- Newsletters