skysight-inc/HackerNews huggingface dataset:
Ask HN: How to get timestamp from HN comments?
I am doing a small project that implies parsing the HN comments, and I would love to be able to read the time of the comments displayed. However the webpage only gives this information:

<span class="age">
<a href="item?id=____">X days|hours|minutes ago</a>
</span>

Is it possible to retrieve the exact date somehow? I see that Firebase is doing it somehow [1], but it might be:

1. They have a special partnership which allows them to plug into their data in a different way

2. They are parsing threads every N (10?) minutes and rounding the seconds

I think it'd be ridiculous to have to load a full API request for each comment in my project to Firebase only to get their timestamp, so I'd love some advice on how to get that. If any HN developer sees this, could we get something like this (or any other standard way)?

<span class="age" data-timestamp="Mon Oct 31 16:05:12 2016">
<a href="item?id=____">X days|hours|minutes ago</a>
</span>

[1] https://github.com/HackerNews/API
It is always in how the numbers are used, cherry picking by both sides. However the real take away here is that they figured out they were wrong yet again. Of course they lean towards the more extreme each time but even some publications indicate that Antarctic changes are due to natural variability.

Then lets play with sea rise, the fear is always that some islands will wash away and port towns will be at further risk. Yet studies of the Marshall islands show the reverse, the islands continue to grow in the majority. What about changes leading to flooding, changes in rain fall patterns, and the like. Well the common trend is to over exaggerate unique events as if they were common place, ie Katrina leading to years of violent hurricanes wrecking the US (oops). Sixty years of studying rain falls in some central US states show no changes, the recent floods in Louisiana weren't even unusual. Even China has had an area in drought for centuries.

In other words, the climate does change but we don't know all the variables and people's whose very jobs depend on income from both studying it and "fixing it" (read : GE) will always push the numbers that support their side. Just like big oil will try to claim that oil isn't the leading cause; its cows btw.

So take it all with a grain of salt. Articles on Vice lean one direction and one direction only and tend to exaggerate . however those inclined to always believe this type of alarmism won't think otherwise.
And how is this not a mutex?
I was going to contest that, saying that you can't find a more powerful laptop with that kind of weight, but holy fuck, Razer Blade actually packs a full quad-core CPU and GTX1060 into a 14" laptop that weights just 1.89kg.
Make the Linux kernel more efficient, save a bazillion CPU cycles in datacenters all over the world.
I commented above. Ascetics wise macOS has better font rendering. (A lot of nice community made themes for iTerm too). But clipboard works flawlessly out of the box with tmux/zsh/vim/emacs, TrueColor support is awesome too, splits and tabs are amazing and work nice (I know that tmux has something similar to offer, but I really like tabs in iTerm, and I use it in combination with tmux). Amount of customization is staggering really, and app overall always performs well, no latency or lag whatsoever, and is really stable too. While on Ubuntu things were crashing, a lot!
Isn't it was business and politics have always been about ?
List of most starred React projects in GitHub
Recently bought an Entroware Apollo (https://www.entroware.com/store/laptops). Amazing device, if you don't mind Linux and are in the UK.
I spent three days trying to type on a MacBook before my hands hurt too much to continue. I returned the computer.

"Typing on an iPad" is an accurate description of how that keyboard felt to me.

Clearly some people like this keyboard design, while others do not. It's not helpful to dismiss opinions about it out of hand.
The Mac is hugely visible, but accounts for a small portion of Apple's bottom line - just $6 billion out of $49 billion in revenue for Q416.

Financially speaking, Apple is now the iPhone company. They could release a Mac Quantum with holographic storage and still disappoint investors.
It's not just DRM. The games have Steam Achievements too.

It's all a bit more complicated than you make it sound.

It's not extra money if it costs them more in development time than they'll make in profit.
No, no no!!

The toner-head argument is basically that decisions are being made by sales and financial teams who don't understand what they are selling.

I'm making multiple arguments here, but none are the toner-head argument:

Argument 1: iOS is a better platform to move into gaming on.

Argument 2: The compromises needed to make Macs good gaming machines are completely different to the direction Apple thinks is good for the Mac.

Argument 3: Apple has never cared about gaming.
The old number had a margin of error too. It's not strange, just a sign of thorough math.

What they say is approximately "1.5-1.9 with values near 1.7 being most likely", so in layspeak and round numbers, the chance that actual number is higher is 90% and that it's lower is 10%.
CDMA phone are worse. It is a way for manufacture of mobile phone to keep you tied to one cellular company.

I always go for GSM supported phones.
great lamp! amazing project, everyone should have daylight on grey winter days
> here should be a minimalist / developer centric version of Windows that has no ridiculous services on or even installed on the OS, has sane update installation (once a month or so is fine, unless critical).

The LTSB edition.
A light weight workable java workflow engine library
Yep, I've used the Yubikey PAM, and it works just fine. My first thought on seeing the title was: WHYYYYYY?

There are some slight usability issues with using custom PAM config. E.g. if you want to unlock the lock screen without password using the Yubikey, you still need to press enter.
Andreessen Horowitz Video on Machine Learning in Medicine and More
> Some people seem to think that the MacBook is only for developers and Apple is obliged to listen to only their feedback. News flash: world doesn't revolve around hacker news.

The problem is not that Apple makes hardware for non-developers (for which it may actually be a great fit and value).

The problem is that Apple stopped making hardware for developers. A group of users which were quite happy with the previous offerings of Apple. There even was a time when the MacBooks were the best value a developer could get for reasonable money. Quite a few key users will make the switch to Windows&Linux based Laptops because Apple does not deliver anymore (not even at a high price point).
Genes of This Tribe Carry a DNA of a Third Unknown
This seems a weird question. The Macbook being slower than your air doesn't mean that it won't be just as performant in 4 years, but no it won't be faster than a device that it isn't faster than now.

If the Macbook is fast enough for someone now, and their workload doesn't change, then yes, I'd expect it to be just fine for them in 4 years; just as the same can be said for the Air, or the others.
Definitely too much, mostly by a vocal minority of the userbase. I guess design is not enough, you need good charismatic leaders to be able to sell it to the community, and you need to be strong enough to not care about the criticism.

That said, not all design is made equal, sometimes a little dose of reality check from the community can be helpful.
They've probably implemented TouchID support using PAM. If so, using with sudo/su is just a matter of configuration.
Finally some sanity! The temper tantrum because it's not ticked everyones boxes was less surprising on Reddit, but I expected a little less drama here.
It's still lacking a fair bit of low-level stuff, but hopefully that's on the way.
I was referring to the poster I replied to, who had (it seemed, though reading again I might be wrong) not actually used one but was parroting hyperbole they had heard elsewhere.

We have a general problem right now of an echochamber of loud and uninformed opinions on something almost nobody has actually even seen or touched.
No, the non-pro has very basic performance, because it is meant to be an entry level computer. Get one for your mum today, and she'll happily use it for 5+ years. Get a macbook pro for yourself, and the same thing should be the case.
Few problems:

CPU is slowing down lately, even switching tabs in Chrome sometimes takes a 1sec to actually render the page.

Disk is getting too small. I use a lot of VMs for work and I never have enough space to run them all.

Laptop is dead, if I replace it I will be without a laptop for weeks according to Apple.

I let it drop once making the fan very noisy, not really a problem just annoying.
Office 365 does not support opening CSV files and we're supposed to call them innovative?
Deep clone of JavaScript object
- HTTPS Everywhere
- UMatrix
- NoScript (for XSS/ABE etc.)
- Self-Destructing Cookies
- Better Privacy (for flash cookies)
- Calomel SSL Validation
- Disable WebRTC (can do this without the extension though)
- Canvas Blocker (prevents canvas fingerprinting)
I am exactly that professional user (not that video use case, but I deal with multi-TB datasets frequently).

Professional use is all about sharing stuff. Cloud video editing is a better model than local.

Yes, latency and bandwidth both suck, but downsampling video for scrubbing works, and caching small amounts of high-res locally works too.

It's not here for everyone yet, but it's clearly coming. Non-pro tools already work that way, and thing like the Avid Cloud Composer show pro tools are moving that way too.
You might want to try Solus. It has a beautiful UI, works great out of the box and is rolling release. Also the devs are really fucking fast if any issues should arise.
He talked pretty specifically about the marketing and sales departments taking over the company?

Is there any shred of proof that this has happened at Apple? How has their marketing budget developed over the last few years? Was replacing all the ports with USB-C a typical sales/marketing decision?

Maybe Apple has changed, but not in the way Steve talks about here if you ask me. The only thing that is relevant in that video is that Apple has indeed come to the point where they've gotten a very big monopoly-like position. And they're struggling with finding a new innovation/product which is as big a success as iPhone was. But I don't think they've changed how they've organized the company. It could just be that they haven't found the right opportunity yet. You can't force innovation.
An excellent podcast series.

Another great one: https://www.partiallyexaminedlife.com/
Depends on your standard of evidence; it's not like we have a peer-reviewed study or something. Then again, that's a pretty high bar, almost no language does.

Like most languages, we take users' experiences into account. We find that we're more productive, and so do many of our users. And where people don't, we're working on improving it.
Some scammers can be honest. You might say "Transfer X amount of money to me. If you don't, you can never get your data back". Saying and acting on that doesn't make you dishonest, it makes you an asshole.
Yeah. I've been a fan of the Borderlands franchise since the first game and I couldn't believe the guy had the courage of pointing to the pre-sequel as a success. It felt over-extended, and it should have been cut to a third, at most, and sold as a DLC for Borderlands 2.

While the Borderlands 2 and most its DLCs have been really fun and great value for the money, the pre-sequel has left me wary of the 2k shenanigans around the franchise. Won't make the mistake of pre-ordering again.
wow! it reminds me a Microsoft game - Midtown Madness :)
I bought the first 13" Macbook Pro with the Thunderbolt port, expecting the whole world to switch to Thunderbolt in a couple of years. It was predicted that there would be Macbooks in the future with only Thunderbolt ports, as it could connect to everything.

Guess what, that didn't happen. It became a high-end niche market. Not saying that that's where USB-C will be going but I have a bad feeling about this.
The headphone jack is not a legacy port. It is the single most impressive industrial design for a port in history. That's the reason it lasted so long and also the reason it will outlive any wireless nonsense apple brings out to increase their landfill impact.
Volume is not necessarily conserved when mixing liquids. Check the Science Guy:

https://www.youtube.com/watch?v=84k206qaVRU
To your site, they probably don't. But they'll take the email and password and use it elsewhere. You'll have still exposed your customers.
I'm not disputing that, I just stated that writers/novelists don't use a MBP, I'm not defending Apple on this, just stating a fact.

And it's a sad state of affairs in HN when I get downvoted for that, felt like I'm on Reddit now.
Musicians need ports, and already have gear to lug around; they don't need more dongles. A single standard usb 3 port would have gone a long way.

It is also a massive pain when someone wants to give you something on a usb stick. Same goes for people in publishing and other content creation industries. People who want to plug an external monitor in to give a ppt without needing a special dongle.
Time to vote-swap (Scott Aaronson)
Just making sure you meant to say what you did; did you say the xps13 was a bit heavy? I thought it was rather light.
HN has gone to shit, and one of the reasons is that huge numbers of .NET developers somehow funneled in and started directing the content, so absolutely terrible submissions like this one float to the top. As does every future-claim of Microsoft's, every bit of oversold shovelware, etc. It's rather incredible.

And yes, I realize this will be dead, and I am completely okay with that. I achieve my purpose posting in hidden silence.
Apple's ace is osx or macos as it's now called. Without this they would be struggling in the professional computing market. They are already starting to drop the ball on the hardware front. Luckily for them it will take far longer to destroy osx.
(Overleaf co-founder here.) Re markdown, we don't officially support it, but it is possible to write markdown in LaTeX: https://www.overleaf.com/latex/examples/using-markdown-in-la...

Pretty neat!
Your loan is not paid, how do you enforce the payment? This is the difficult issue that companies such as BTCJam have.
Features which your REST API must have from day 1
It's not as if every 3 letter acronym has one canonical definition. Googling a 3 letter acronym is almost impossible without adding at least one of the full words. The "ATM machine" pattern seems to me to be the most concise way of removing that ambiguity. It's interesting how language evolves.
You are quite right, event sourcing on its own is not great for read, and the "re-compute everything" (aka foldl) is problematic. CQRS solves this by producing a read-side that aggregates events into your domain. Classic event sourcing also attempts to solve the re-computation problem by snapshotting.

It is great that you mention that 90% of the time you want "the last version". That was one of my discoveries with event sourcing as well.

So what I came to is that re-computation (foldl) is a nice generalization, but isn't very practical. Instead, index the events and build the state on demand by querying the indices. This way, [plurality enabling] domain modelling moves to the code (as opposed to the database) and allows for quick changes in how you see the information.

You can read more about it at https://blog.eventsourcing.com/why-use-eventsourcing-databas... and https://blog.eventsourcing.com/lazy-event-sourcing-ed7e59007... as well as other articles on that blog.
Docker image change notifications
Does your rMBP come with a discrete GPU?
(Overleaf co-founder here.) As far as I know, we've never lost any user data. We take that very seriously. If you believe you have lost data on Overleaf, please contact our support team via www.overleaf.com/contact and we'll investigate.
Earth has been warmer before without all the catastrophic effects you describe

https://en.wikipedia.org/wiki/File:EPICA_temperature_plot.sv...
Technically yes, economically difficult for most nations, if it's approached at this level.

Germany has had an interesting approach to solar, where they subsidized solar panels for homeowners. I think it is the smarter approach because you incentives individuals to go green, rather than trying to implement a top down solution.

And even so, we will need to keep power plants on call for redundancy and high load purposes.

There is a video about peak power usage in England which I found fascinating (though this is a rather unique case) https://m.youtube.com/watch?v=slDAvewWfrA
Perhaps!
Zuckerberg’s $1.6B weekly earning, FB to present Q3 Earnings report
Microsoft has almost always been a more innovative company.

Microsoft Research alone is enough for this to be true.

Surface is a very very very old brand/moniker that goes back almost a decade at this point - originally a tech demo of a table that you could interact with in various ways.
They explored touch, VR and all sorts of alternative interfaces before anyone else.
They took a stab at PDAs around the same time as Palm (which was also an insanely innovative company).
Their developer tooling is really innovative, the CLR itself, their IDE integration.

Hell the NT kernel was/is a really innovative piece of technology - it's driver model still completely stomps what is available in Linux/Mach.

Apple was never more innovative than Microsoft, they just executed way better.
Jobs might not have been a technical or even design genius (though plenty of both worked for him), but he definitely was a business genius that really understood the value of crisp execution and marketing.

I say all of this as an Apple user, that also happens to be a fan of the technical and innovative achievements of Microsoft and as someone that contributes to and relies on the OSS/Linux/GNU stack.
I have a horse in every race but at the end of the day you can't dispute that Microsoft is the clear innovation powerhouse remaining with IBM/HP/Bell Labs mostly winding down in comparison.
Roll Your Own Email and Password Authentication with Guardian, Comeonin and Phoenix
I use Ubuntu in production and having the same tools on the dev machine natively is great. When I was using macOS it was a bit clumsy to get tools set up. I find apt superior to brew also compiling from source etc is less of a headache.
Windows really nailed that department.
I ended up buying a 2015 one, which was described as one of the best laptops ever in reviews [1]. Plus, I got a slightly used one for a good price (waiting for it to ship).

I'm pretty sure I'll get many years of happy usage out of it (it replaces a 7 year old Mac mini, althought I did upgrade memory/ SSD on that one).

The only thing I may end up missing is the touch bar, which does not get much love here, but could turn out useful. Do you develop stuff that needs to support touch bar? Then obviously get a new one...

Btw, do add "Ask HN " to the title.

[1] http://www.macworld.co.uk/review/mac-laptops/apple-13in-reti...
Forged rail tickets sold on 'dark web', BBC investigation reveals
The Amazing Story of Zimbabwe's Tech Village
Previous discussion: https://news.ycombinator.com/item?id=12817332
What I got from the e-mail was that this is after the Obamacare website rework was already done, and they wanted the same guy to work on a "secret" Eric Schmidt project, since he proved to be a good leader.

Since the guy questioned "how legit it is", the insinuation I get from Wikileaks that this project was some kind of shady government spying project.

Edit: to be clear, based on the e-mail it could literally be anything. But I guess the main point is to show how tightly SV is integrated into the inner workings of government.
I'm not a video editor, but I do work a lot with big files. The suckiness depends on your internet connection. If you've got a steady 50Mbps upload speed, it's just about OK. If you've got < 2Mbps, it's totally unworkable.

And sometimes your internet connection is not under your control - if you travel a lot, you're contracting in an office without good internet, etc. Even frequent uploads of small files make for a painful experience when internet is bad.
> that seemingly never wanes in performance while provide enduring support that make them last so much longer than their competitors

Dunno, I bought a top-of-the-line rMBP in late 2013, and the anti-glare coating has come off from the screen -- Apple didn't honor the warranty (this is Europe). I sold it because it was crap to use, then some months later Apple confirmed that it is a widespread problem and they will replace the screens for free. (Except in e.g. Hungary where the official dealers didn't give a crap, because the 1 year warranty was over.) Also it had problems with overheating and wifi.

On the other hand, I had a bulky, unsexy HP Zbook G2 that had a GPU problem after 2 years. HP guy came to my house with a new GPU, disassembled the laptop on my desk, put the new GPU in, run some diags and left. In 24 hrs. I sold this one and it is in service at one of my friends, rendering in 3DSMAX 12 hours a day.

Anecdata, I know.
>In other words, the climate does change but we don't know all the variables and people's whose very jobs depend on income from both studying it and "fixing it" (read : GE) will always push the numbers that support their side. Just like big oil will try to claim that oil isn't the leading cause; its cows btw.

Potentially, not anymore!

http://modernfarmer.com/2016/10/seaweed-livestock-methane-em...
Within AAA "cinematic expriiince" fetishism would prevent it, perhaps some indie-semi indie or GTA modders can do it. Also I'd love to see it cause main stream media to throw a fit over such a "terrorist training sim".
>(A backpack would probably feel better than a messenger bag, but my local train line is often too crowded to carry a backpack)

I've commuted on the Central line in London with a backpack and it's fine. The only place where it might get more rammed is Tokyo - where you get shoved onto the train. Just put it on the ground between your legs.

> checks /u/ramchips' user profile

>see's ramchip is in Tokyo

Well, uh. Carry on then.
I am indeed describing CQRS, or at least the way I see it. The way I am doing is this by making my read side a combination of lightweight "code-only" domain models and heavy db-side indexing of events themselves (as opposed to domain model tables of some sort)

You can read more about it at https://blog.eventsourcing.com/lazy-event-sourcing-ed7e59007... and https://blog.eventsourcing.com/why-use-eventsourcing-databas...

If you have any thoughts or questions, feel free to reach out to me (my nickname is the same almost anywhere, twitter, gmail, etc.) or Eventsourcing gitter room http://gitter.im/eventsourcing/eventsourcing and I'll be happy to talk about these things.
> Microsoft Research alone is enough for this to be true.

MS Research is a brilliant department but it is (was) completely disconnected from the main business.

And yes, NT driver model is super robust.
I agree. I don't think they should have put the esc key there at all. I would have made the key to the left of the "1" key the Esc key, and moved the original functions of that key somewhere else.

However this is coming from a UK user on which the key in question has the symbols "§" and "±". Which I never type. I understand the US layout has some more useful symbols there.