skysight-inc/HackerNews huggingface dataset:
I've wanted a "lower minimum brightness" option on every apple product I've owned... with the exception of an iPod shuffle which has no screen.
AMD has their own thing called TrustZone[1].

If you read past the marketing speak it is made to allow software to run without the user being able to poke at it. I assume this is for DRM, but who knows what is running there.

[1] https://www.amd.com/en-us/innovations/software-technologies/...
I have explained it here: https://news.ycombinator.com/item?id=13642268
Googles Valentine's Day Doodle
I created my yahoo account many years ago, using my real first name and lastname, and using my real birthday.

Now I know better, and never use any of my real information in my online accounts. Meaning not just birthday, but also a fake name for my first pet, for my first teacher, for my favorite food, and other challenge questions. Just in case.

The only problem is that some online services send me a Happy Birthday message on my fake birthday, which can be a surprise in my inbox.
If that's the argument, then I still say "fuck Adams". He's defending someone for whom there's multiple video evidence of him stomping on people's rights to speak freely and ask questions. Yesterday someone showed me a video of a man being removed from the room for asking a question.

And looking over Adams' backlog, he's faking news: http://blog.dilbert.com/post/156711454356/president-trump-an... > "I don't know what was in those phone calls, but Australia and Mexico were lecturing Trump, and Trump let them know who was king, booyah!". Actually, no. The Australian PM went to Trump cap-in-hand, asking him to maintain an existing bargain. He couldn't afford to get Trump offside because the call was about a very explosive issue back home, and the existing bargain was his 'out' from it. He was pilloried here at home because he didn't stand up to Trump when the content of the call was made public. But no, Adams just makes shit up and decides "fuck those guys", defending a demagogue who does the same. Free speech does not include a right to lie about others (see libel/slander).

The climate of erosion of free speech is not most threatened by Twitter, it's the current US administration and their fact-blind supporters like Adams that's the real risk.
I'd love to, but my knees are banjaxed. Making do with leg press, bench and other compound exercises with heavy weights. If you can't squat, deadlift etc. for whatever reason just lifting heavy weights (free weights if at all possible) is the next best thing.
IIRC (it's been a while), PgQ doesn't keep transactions open while events are processed: events are fetched and marked as in process; they're then marked succeeded or failed to finish the event. The bulk copy of initial data which bootstraps replication is a long duration process: I don't believe transactions are held open this entire time.

If I understand you correctly, this handles your work queue case.
There's so much going on that it's almost making me hesistant about taking on the new strategies like .NET Core or where to go with user interfaces. For the long term, is it better to lock myself into UWP and Windows Store, or reap the benefits with Xamarin?

Much would be easier if UWP was open and DirectX accelerated on Windows and OpenGL accelerated on Linux or macOS, and uploading these apps on Windows _could_ be to Windows Store but wouldn't be so architecturally tied to it. I know there are ways to dodge their store even with UWP apps, but it feels like you're hacking their intented model and on thin ice for whatever will come or change in the future.

I never really liked platforms where application development is tied to distribution methods, especially not when .NET has it in its history to not be that (other than maybe a very slight nudge towards ClickOnce). I felt like a part of the .NET philosophy died with UWP.

I applaud Microsoft for where they have come and their latest developments are intriguing but I see many quite major annoyances remaining. I work almost full time with .NET though, simply because that's where my money is for now. But I'm not touching UWP either at work or at home. It's still also receiving a mixed response at best by developers, from what I've heard. It's like... "OK, so here's this limited UWP app compared to WPF on desktop, because we have to build it on an API with Windows Phone in mind which no one uses and then upload it to this single store out of our control, with the excellent company of scam apps tarnishing our trademark". I feel like this is Microsoft's unfortunate reality of where things stand which they should move from. "How do we best fix these concerns?"
Note that AVX512 actually addresses many of the issues that made SIMT code so inefficient on CPUs. It's not just widening the vectors, but also adding predication/masking etc.

I do fully agree that SIMT is a much easier programming model than SIMD.
Maybe not exactly what you're looking for, but here's a linux specific ebook similar to this[1]

[1]:https://0xax.gitbooks.io/linux-insides/content/
With 20–40 minutes of effort, someone could easily track down a large pile of peer-reviewed scholarly literature examining the contributions of Arab, Persian, Seljuk, etc. mathematicians and scientists of 800–1600 CE, and putting it in historical / scientific context.

But I doubt you really care much, or you would do the same searching for yourself. So it’s not worth the time.
To add to that, lifting heavy weights causes the central nervous system to fire off huge amount of electrical signals to muscle groups. While this does cause fatigue which can leave you feeling "hazy", I would not be surprised if it improved cognitive endurance for other tasks. And I have to comment on the irony of sleep being the most important factor in muscle recovery, along with a good diet.
Show HN: Some of the most interesting pdf's on Hacker News
http://micro.blog/
Hi everyone,

I’ve made a small compilation with some of the most interesting pdf’s I’ve found on Hacker News and around the web.

I would love to receive some suggestions and more pdf’s to add to the collection.

Thanks.
Just wanted to say that I too would love to mess about with the VB6 (and previous) code base. I can't see any commercial reasons that could prevent this. Only thing I can think of is that it might give VB6 another lease of life where they want to properly retire it.

Said it before and I'll say it again, I don't think there is anything out there now that was a productive as VB6 development. Rapid Application Development was the buzzword of the day, and it really stood up to the name.
Go through npm CouchDB database, list each change-set larger than a previous set
Me too, never failed me for the things I use it for. Unlike other data stores, it has predictable, consistent performance, production ready releases, and reasonable opensource contributors who really deliver the awesomeness. Its architecture is unique, at least in the FOSS word.
If that were true, wouldn't it be the job of the computer's battery management system to make sure it didn't happen?

Forcing user to learn all kinds of magic rules for how to "treat their battery" seems very old-fashioned and strange.
> the bureaucratic mindset holds that the rules are always, by definition, correct

It has long been known that you can get better optimization if you disregard correctness ;)

C compiler writers know that the assumption "pointer is not null because it was dereferenced" doesn't hold in general. C compiler writers know that they're performing incorrect optimizations.

The bureaucracy now doesn't tell them that the transformation is correct. It tells them it is fine to be incorrect because UB.

The bureaucracy gives them a "license to kill" for the greater good.

(What is the greater good, you ask? Can't answer that; ask a bureaucrat.)
By analogy, I see strategy as a class used to solve a problem and its methods as tactics. Strategy is big, tactics are small.
I don't think there's any question that Intel will win in single-thread performance. AMD has never stated the opposite. They will, though, manage to deliver much more cores despite only being a tiny bit behind in single-core, which is a very big difference from e.g. Bulldozer.
Google Translate has been improved immensely just in the past six months or so, through neural networking and machine learning [0]. It's become MUCH better at translating full sentences and coherent text - in some cases it's hard to differentiate from a competent human translation. They have made great improvements to both speech recognition [1] and text-to-speech[2] as well. It feels so damn sci-fi to just pull up a phone, talk into it and have it repeat what you said in japanese or spanish.

Siri is still mostly useful as a kitchen timer though.

[0] https://blog.google/products/translate/found-translation-mor...

[1] https://research.google.com/pubs/SpeechProcessing.html

[2] http://www.theverge.com/2016/9/9/12860866/google-deepmind-wa...
BTW one example of a long-running task would be a genome assembly task. You take in raw reads in a tar of fastq files, turn it into a BAM file, and from there find overlapping read sections so you can detect continuous read zones, and then determine the consensus nucleotide sequence in each contiguous read zone.

What happens if someone trips over a power cord after a week of this job running? How do you detect and recover? What if, due to the size of data passed in, the job takes a week longer than expected?

This is why you cannot always reduce a work queue to a message queue.
Finally, I presume this lets us resize EBS volumes without having to do things like this: https://matt.berther.io/2015/02/03/how-to-resize-aws-ec2-ebs...
I think this myth emerges from the high-school jock vs nerd archetypes. The HSJ spends his time training, chasing chicks and neglecting his studies, while the more studious get on with their school work. Of course in reality you have smart people that are all-star footballers and stupid people who study, but I guess the less nuanced picture still dominates people conscience. I guess particularly because the school years are most formative.
Optimistic UIs in under 1000 words
Template parsing doesnt need to be super duper fast. Most of the time you can cache the whole result.

I think its more important, to choose a good template language thats easy, and doesnt mix code with template content.
Ask HN: In the age of domain squatters, how do I correctly retire my site?
A very talented engineer I knew used to have a popular blog with some interesting projects. When he eventually got bored and shut the blog down, a cybersquatter bought it and created a spam-blog that looks exactly like the original site. His changes are subtle and it took me a few minutes to figure out that the latest post was not an honest review by the original author but an article paid by a company.

I am currently in the same situation, I have a mildly popular blog that also hosts some my FOSS projects. I plan to move everything to gitlab and shut down the blog. How can I make sure the old domain will not be an interesting target for cybersquatters? For example, can I get Google to reset my page rank?
Not quite.

In my experience you have several critical issues:

1. What happens when a job silently fails?

2. What happens when a job takes a lot longer than expected to succeed?

If you solve the first with a timeout, the second leads to a job rerun. The best (only?) solution I have found is to have some awareness in the job queue of the fact that the job is currently being processed. In my previous work we used advisory locks for that.
Golem: P2P distributed computing network [pdf]
Yeah, I think people are also confusing grip endurance with grip strength. Pulling a 500+ lb bar off the ground requires more grip strength than climbing on the walls supporting your body weight.
Glancing at that first patent quoted in the article makes you think the patent office follows a "first at the goalpost" strategy of awarding patent protection, and ignoring ingenuity. To think that this patent gets the same kind of IP protection as the light bulb or the combustion engine ... Edison, Otto, Tesla all would feel offended.
Peakery launches world hiking web app
Yes, this is a crucial distinction and matches my understanding from what I've read of these public documents: PRISM is a program in which the NSA intercepted Internet and other communications, and then reconstructed the meaning of those communications at a higher level -- that is, interpreting HTTP requests to Google as searches, email views, and whatever else.

I did not see any evidence in the leaked documentation nor the reporting on those primary sources that the companies involved were complicit. If this evidence exists I would be very interested to know, but from Google's actions subsequent to the leaks it did not seem they agreed with the program or were complying with it, and instead took actions to oppose the program by encrypting their communications links internally, and indirectly by advocating encryption in public Internet protocols such as HTTP and SMTP.
Nope, "undefined" leaves the compiler perfectly free to just Do The Right Thing.
It's a shame google had to resort to stealing their innovative and detailed way of identifying and dealing with malware. All those countless years of research that must have went into such a complex method should really be rewarded. $20m is way too little for all the effort the poor researchers had to go through

/s

Honestly.. How can this even be a patent? That's like the most generic and simplest thing ever, right?
Instead of running it on the real thing, just put it onto a safe processor/sandbox (or scan it before saving it to disk)
No, I was just doing a wild guess. I'm working on backend, so the store does not apply for our products. On the other hand I have bought some software from there, but the offers are usually not convincing.

From a buyers side I find the ranking/search of the store sub-par, so you might need other advertising to increase your visibility. You might also need other channels as depending on your apps technical details you might be limited to windows 8+ or 10.

edit: one important thing for me when buying software from any appstore is: please provide a link to a privacy policy, where not only legal stuff, but a technical explaination is provided about the app capabilities. Example: The app requests access to contacts, no data is collected, it is used to be able to send email to your contacts on your request. The app needs access to your photos. It is needed to be able to save new pictures. No pictures are read, or used in any other way from your pictures.

These can give confidence about your app, and make a difference for me when choosing alternatives. (Overall I trust sandboxed app-store apps more than desktop apps.)
>Something called the "Pro", and something that costs a pretty penny, shouldn't just cater to the ones out and about and only needing Excel.

Do you know of that instant update feature in Excel? It automatically updates cells when you alter one, up to a certain performance point. My MacBook (non anything) stops doing so much faster than when I use a desktop. When I do process a line of heavier formulae I do have to also wait a fair amount longer than when I use a larger machine.

And the pretty penny argument does not really hold up when you are talking about it as a company expense, due to the very favorable tax perspective.
#1 is not even true. I've bought ABBY FineReader and Patterns from the AppStore and both apps have been removed and replaced with newer versions.

I didn't have a backup of ABBY and the Patterns backup doesn't work because when run it complains that it doesn't work with the latest macOS and that I should update for 15+ EUR.
> Go dig

Without a doubt, one of the most satisfying all-body compound exercises you can do. Spend a day digging and you'll have pains in places you didn't even know you had muscles.
Ideally, a template should be compiled into native code.
I wonder if Linux can mimic the technique Microsoft uses to grow volumes and filesystems on the fly. It's something I've missed on the occasion. It's pretty slick.
You could subclass the json.JSONEncoder class (and implement the default method) to decode bytes objects, along the lines of the example in the documentation:

https://docs.python.org/3.5/library/json.html
Humble bundle moved away from "pay what you want" ages ago, into a "here's the minimum you have to pay for the non trash parts of the bundle". I don't really mind then setting a minimum bar - I just fundamentally object to them continuing to claim it's the former.

To each their own.
That's not correct. Make sure you have backups because developers remove apps and then upload new versions under different application IDs, making you purchase them again.

So basically you're renting software from the AppStore. I think I paid 100 EUR for Abby FineReader and now I can't access it any more.
It wasn't clear to me how closely you've looked at PgQ. Have you looked into the design (other than the README), or used it and found these failings? I'm certainly not going to be able to answer your questions off the top of my head given the time passed since I last used it.

Given your critiques of everything else out there (from what I gather from the rest of your comments in this thread), it seems like your identified a possible business opportunity.
> But why should a web application willingly be tied to a particular web application host?

Performance. ASP.NET wasn't originally tied to IIS - the grand version (back in 2001) was to allow any application to host a website too, that's all in the `System.Web.Hosting` code - along with Cassini for lighter workloads and "IIS Hostable Core" as an analog to today's IIS Express, but that fizzled out in the late-00s only to come back as part of the post-Node trend lately.

This all dates back to 10 years ago: IIS7 introduced a fully CLR-managed request lifecycle which was was aligned with ASP.NET's own lifecycle, so the reasoning goes you might as well let the two become one-and-the-same - there's no point running two separate request pipelines (the webserver's and your runtime framework's) when one will do.

...of course this was back in the day of the "fat" threaded webservers, like Apache and Netscape Server - and remember IIS took it further by adding a kernel-mode component: `HTTP.sys` to get an edge over usermode-only servers. So far I haven't seen any work on reinventing IIS for today's fast and light servers like nginx where all people want to do is serve Node.js applications.
True. But that doesnt mean we can improve the bandwidth. Currently the way we interact with a computer is very constraint. We should at least increase our input 4x fold.
... and squats to sort out the problems caused by sitting all day at office jobs.
I think your group of people would be highly disappointed whenever each person moves to a new device and finds that they have essentially "lost" all old messages and have to re-join groups afresh.

> The details don't matter to ordinary people, but our approval matters much more than you think. I have very high hopes for Matrix.org.

I agree on this part completely, and I try to introduce better tools to others too. But not having messages restored on a new device (even when a user backs up and restores all data) and not providing a way for that when changing devices is unacceptable for me. At this point I'm back to Telegram, which is a compromise, but provides a much better experience as far as usability and meeting the expectations of non-tech users go.
No, I'm using dog, lambs, pigs, veal, cows interchangeably.

I'm saying they are not interchangeable for Muslims but it's a moot point.

The greater apes / humans are not interchangeable. There's also a argument pigs also might not be.

As an aside to how you read my question I've yet to meet a person who won't eat dog who eats meat, I'm sure they exist but I'd guess they generally are not very educated.
İçerik Paylaşım Platformu
The reason why USB-C (with Power Delivery) is connected to fast charging with phones is that it allows more power to be transferred via cable than previous USB charging standards.
For Notebooks this is not necessarily true, as there was no limitation for power delivered to the notebook before.

What you have to consider with fast charging is that it degrades the batteries faster and produces more heat.
SEAL operators aren't selected for pure speed - they want the guy who is capable of swimming 20 miles after being awake for 48 hours, if that were to be necessary. There's a (high) baseline level of fitness, but more than that it's about insane willpower, esprit de corps, and ability to handle stressful situations.
It's been a little while but I actually read through the source code of it and Londiste. It's possible I missed something, but I didn't see anything that would automatically reset messages if a connection goes away between receiving the message and marking it as completed.
if companies was only after cheap labor, why not move software production overseas? it's not like officespace is cheaper in the valley than in ex. India.....don't think this article makes a whole lot of sense tbh
Quick Charge USB-C power outlets rocket your home into the future
Show HN: The spectacles of a web server log file
I am not sure why those people can't be served by normal visas which don't tie you to your employer at risk of deportation for not agreeing to their every demand.
> I've yet to meet a person who won't eat dog who eats meat

So, you've never traveled outside of.. Vietnam, northern Thailand or mainland China?
This is an amazing new feature... other than the lack of "shrinking a volume" support... I'm definitely going to be using this from now on and this feature is going to make a big difference in my day to day work.

That said... I'd still rather have access to Elastic File System in more regions, and in a perfect world, be able to talk to EFS from Lambda.
Reducing controversy by connecting opposing views
>AMD said its upcoming Zen x86 core fits into a 10 percent smaller die area than Intel’s currently shipping second-generation 14nm processor.

Sounds totally irrelevant.
Yubico Authenticator for Desktop:

https://www.yubico.com/support/knowledge-base/categories/art...

If you're on Ubuntu you can use the package yubioath-desktop from this PPA:

https://launchpad.net/~yubico/+archive/ubuntu/stable
I noticed that this is from AWS. Is this the first SaaS application coming from AWS?
Why not just squatt on the domain yourself? They are hardly expensive to keep nowadays,
raw ... ?
That's still terrible performance, your average MacBook Pro these days will provide between 100,000 and 300,000 IOP/s on 4k random reads and the average VM we deploy from our storage servers (commodity SSD based linux clusters that are cheap and ultra reliable) provide between 70,000-200,000 random 4k read (and write) IOPs per VM without a sweat and their TCO is significantly lower than amazons SSD storage that's 3 ½ - 10x slower per volume.

Even if you go and provision storage on Vultr, Ramnode or Sitehost all of which are a lot cheaper options and just as if not more reliable provide considerably faster storage with a minimum of 20/30,000 IOPs up to 150,000 IOPs per volume and you don't have the vendor lock-in or the hidden costs such as inter-zone data transfer etc...

Amazon really needs to pull finger on their storage performance, but it's not in their best interest. What they want you to do is scale horizontally which means not only do you need to invest in your system / product design to do this but you also have to put more money into Amazons pockets for additional compute / storage nodes and again the associated hidden costs.

I'm not digging on Amazon / outsourced hosting providers but they truly are pulling the wool over people's eyes while still trying to make everyone think that they're not only the best option they're the only option.