skysight-inc/HackerNews huggingface dataset:
ACLs are a terribly complex mechanism that would require a lot of new code added to the kernel

ACLs also make me as an administrator have to think much harder about, well, everything. Same problem with capabilities: each new layer increases the complexity of the reasoning required combinatorially ("so, the daemon isn't running as root, but it's in the daemon group, and the file has these capabilities, and those ACLs...")
Tricks for Note-Taking:

For students: Read chapters BEFORE your class and write them down. While in the class, all you have to do is listening and recheck your notes you done before. Pre-reading is way more important than note-taking. This suggestion is straight from my grade A friend to me when I notice he didn't do any note-taking in the class, but his notes is my life-saver.

For non-students: Just use Cogi https://cogi.com/

Get what's the most important things on-site and focus, not your note-taking. I remember some big companies against note-taking when meeting. I once hear my boss said "...Some people can't remember things, so they have to do the notes. The funny thing is, their notes just a page long..."
> Doer-in-Chief. You must be deeply involved in both building the product (observing/interacting with users, writing code, designing product specs)

I slightly disagree here, I would rather start with the Second Job or Phase 2, 'Hiring a Leadership Team and Making Sure They Work Well Together'. The more you focus on finding and setting up the best team early on the better. You can do yourself a prototype, write code or do market research to see if you are on the right track. However, I recommend to setup the founding or leadership team before anything else. Once you have the team in place the project gets momentum and pace will be 100x compared to before. And finding the team plus setting up all legal matters will be a full-time job your first weeks if not months.
I'd say there are many other ways to make politics less dogmatic, rather than increasing corruption and pork.

How about a more representative democracy, celebrating pluralism, and as a result, requiring parties to engage in coalitions as nobody ever has the majority.
It's not just the screen. The actual physical phone has to come out of my pocket upside down if the headphone jack is on the top. The volume keys are on the wrong side; if you have a home button or fingerprint reader, it's flipped upside down.

I wasn't trying to make a massive deal about it, for what it's worth. Every phone I've had for probably 8 years has had the jack on the top instead of the bottom where I'd want it. It's fine. I was just chiming in to say there are legitimate reasons why it's not necessarily obvious that there's a correct answer.
That's amusing. Everything has to be "cloud" oriented. This is a simple temperature and humidity sensor which requires a web server to which it can report. It can't talk to a local machine, unless it has a local DNS name and routing. How did we manage to screw up networking so bad that you can't talk to a local machine easily?
No, it was not. It uses Chrome's JavaScript Engine, V8.

From nodejs.org:

> Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
Awk is a easier for me to remember than sed or perl, just because "sub" (for substitution) is in there:

awk '{gsub(/this/,"that")}; 1'

Edit: I just learned that "s" in the sed command is for substitute... (http://www.grymoire.com/Unix/Sed.html)
Well, maybe I'll be able to remember that.
I run everything through TorGuard. It's low cost and is somewhat reliable. They have lots of servers in many locations.

Honestly, the most annoying part is that I see more CAPTCHAs. This is because it mixes everyone's traffic together, and some of those users are bound to be bad actors.
I'm not sure why ice would matter given that it should weigh the same as in the liquid form, but...

How do you measure a known quantity of water to within a few tens of parts per billion? Do you specify the proportion of light to heavy water? (For 'normal' water about 1 in 41 million.) What about contaminants in the water? There are so many uncertainties that it's impossible for all practical purposes.

The whole point of using 'rare' silicon is that we already have commercial processes for producing ultrapure, defectless, monocrystals of the stuff (for use in computer chips), so it's easy to reuse that technology for defining a kilogram.
8 Reasons Why You Need to Use Our $4.98/Dot Com Special
Hey guys - Dawson here (founder) let me know if you have any questions about Logojoy / the story.
pledge and, say, SELinux solve two different problems:

Pledge stops trusted software from being exploited. I trust Apache (I run it as root) but the authors can't guarantee that it can't get exploited, so it's protected by pledge. If I didn't trust Apache, I wouldn't trust that it pledged anything.

SELinux secures un-trusted code. So if I download a program off the internet and run it as nobody, it shouldn't exploit something to get root. This is useful when downloading random closed-source programs (such as on Android).

Unfortunately, Linux relies on SELinux to solve problem #1 (how do I know which files does Apache really need, and which won't help security exploits), which is why it gets such a terrible reputation.
I can't point to metrics but the current rash of Washington Post stories seem to be skewing much more left then in the past. It could just be the times we are in a lot of the news I follow seems to be that way.
If only there were a command like "pkg_add sudo".
Thanks, yeah, I will try this - I followed a design for a c64-pc cable without considering that the Pi probably had serial port pins.
The media? After all the push against the Trump?
Help the Open Source Initiative Raise 20k
> If the courts start failing in that role, that will be cause for very serious concern

Courts are mostly able to act after-the-fact of alleged violations; by the time they fail to do their job, it will be way too late to start being concerned.
It might make you need to use the bathroom outdoors in Siberia.
Google+ Featured photos screensaver for Mac OS X
XFCE uses GTK, so it is one less thing for you to be concerned.

> Once again, because there's only the Cocoa environment to target.
You are equating the tools provided by one vendor to the whole ecosystem. It is entirely possible to write MacOS tools using free toolkits on MacOS.

> better aesthetics and usability.

First, this is entirely subjective. Just as examples, I'd rather use Banshee as my music media manager over iTunes or any of the music players I found for OSX. Firefox and Chromium/Chrome exist for both, and I am yet to see someone that claims Safari "has better aesthetics and usability". Developer tools that are not exclusive to Mac are mostly ported from Linux and require workarounds on Mac (brew as one such example), so I'd argue that the usability on Linux is better.

Second, the "better aesthetics" is not due to some virtue of being closed. It is just a matter of economics and resources that are poured into the projects. If you don't think that is the case, ask yourself why many people prefer Android designs over iOS?

> What do I use? QT? GTK? Some other thing?
You use whatever you want, and whatever toolkit better fits your requirements. It is entirely possible to have desktop application that use one toolkit while the main Desktop Environment uses another.

You seem to be stuck in this same mindset from Microsoft developers, where everything is only accepted if blessed by their vendor. This is as anti-freedom as it gets.

If you are okay with living in a golden cage, fine. But at least own up to it. All of your excuses so far have been baseless.
Slightly offtopic. Is there a way to watch youtube videos across different devices while preserving video location?

Use case: start watching conference videos or lectures on my phone, then move to the laptop then continue on the tablet, then back to the computer. Similarly to the way iBooks transparently preserves and syncs reading position across devices.
Is it that there are important features still missing, or that there are bugs that aren't fixed?

Reason I'm asking is that I was under the impression that ExpressJS was mostly considered feature-complete (with everything else middleware through NPM), and I'd probably still reach for it the next time I need a Node webserver. I'd rather not make a mistake on that front!
Tips for Getting Started with Elixir and IEx
NoSQL Injection in Elixir/Phoenix Applications
What realistic framework do we have if we have to convert a asp.net project to go-lang based solution.
Salary + bonus + equity
but but nobel prize! seriously though, Krugman is a moron, completely out of touch with reality
I think I'm having a case of "JavaScript fatigue fatigue".
How do you pay all those people?
Also, depending on the strength of crypto in the VPN configuration, the VPN traffic could be decrypted:

https://www.spiegel.de/media/media-35526.pdf
So it was actually a contractor, but Amazon was involved in the case.

http://www.nytimes.com/2014/12/10/business/supreme-court-rul...
>If money in media were having an immediate and crippling effect on democracy then it would have already.

https://en.m.wikipedia.org/wiki/William_Randolph_Hearst
Why is HN now wider than the screen?
Some time in the last 48 hours, something changed on YC which makes the pages about 5% wider than the screen when long text lines are present. Resize the window, and YC resizes, still about 5% too big. Looks like broken "responsive design".
I've seen the explained series. It's fantastic.

Pleased to meet you, Peter.
Specifying Raspberry Pi 3 with Raspbian shouldn't be so difficult, and those things are much cheaper to deploy than an iPad.
I know lots of people here in the US who use WhatsApp, but yeah, many of them are from other countries. Even people born in the US, with families/friends outside the US, use it heavily.
I like pandamail too, but SealMail has double meanings :) For a couple of years ago, me and some others had a cloud service for transactional emails. It was called AlphaMail. Your name is better, atleast for "sealed" emails ;)
For now, I have my own mail SMTP server at Amazon AWS, and it works great, but I will try SealMail for another domain.
A little bit more information on the webpage would be good. Technologies used, encryption, signing, DNS, is it virtual etc. :)
This guys makes some good points, but the OpenBSD guys have been able to improve the security of OBSD with code quality.

It's also not completely accurate to say that OpenBSD hasn't contributed anything to security. They have. Maybe it was more true in 2010, but it's certainly not the case now.

I have found lots of Unix people (devs and admins) don't really seem to care much for MAC. I don't really understand it, but its true.
Of course you can buy like two Nissan frontiers or like 5 pixos (retail) for the price of of one of those, and spare parts and knowledge base for those is pre existing.
Isn't this a dup from about 3 days ago?
Because the MBP matters so much to techies.

Technically, the 12" MacBook was worse than the MBP refresh in every way: Only one USB-C port, extremely underpowered, flimsy keyboard. Commenters everywhere ridiculed it, but it was obviously an "optional" product. So what, Apple often releases things that are too far ahead of the curve for most people. (Voice-controlled iPod shuffle, anyone?)

But by calling it the new MacBook Pro, they've pretty much guaranteed that none of its laptops will ever be thicker again, or come with "older" ports, or with a traditional keyboard. They've put upper limits on all its laptops now. It's not that I am disinterested in the 2016 release. I also can't imagine how the 2017-2019 releases could possibly appeal to me, unless they surprise us with a MacBook Pro SE.

This is not like the disappointing 2014 Mac mini, which Apple can fix overnight just by updating the parts. knocks on wood...
I 100% know you are working in good faith and I thank you for what you do--the profusion of straight-up white supremacy (notable over the usual stew of MRA nonsense and generally reprehensible race politics) over the last few months has started to make me wonder if this phenomenon on HN is important enough to y'all for you to be paying it the attention it deserves in order to effectively combat it. I started using my favorite-comments list as a hall of shame, and mostly gave up after, like, two days because there were way, way too many of them to actually pick up on 'cause it really is all over the place.

I appreciate what you're saying in this subthread, but from below, the infection has to this point seemed to largely pass by the proprietorship. And it's some bad shit, so that's pretty worrying! Of course, I am a very biased observer, and I'm certainly not suggesting you take what I'm saying as Gospel but merely anecdotal experience...but I know I'm not the only one in this subtree who's getting this vibe, 'cause we've talked about it off-HN.
At least two is the best answer I can give without specifying a specific libc and architecture. Something to think about is that the binary size of libc is only half the story. Even if the executable portion of libc fits in a single page. A libc implementation has a lot of per thread and per process statics it holds onto.

A good libc developer could actually put these into separate pages based on how often they change. In other words, if a static only is ever set once then coalesce it into a page with other statics that are only set once and are not process dependent.

Why that's important: because of fork, when fork creates a new process it sets the parent processes pages read only and then preforms copy on write when they are modified. In theory you can share both the binary and some of the statics between all the processes.
Show HN: Hero Map – Covering the world in a fog of war to encourage exploration
Thanks for the link, a long, but extremely eye opening read. I has made me rethink how I donate to charity from now on: I really did use only one metric- overhead percentage.

Now I will have to reevaluate this.
We detached this subthread from https://news.ycombinator.com/item?id=13064089 and marked it off-topic.
Certainly in the short run those are more cost effective and less intensive options, but homes built 50 years ago do have a very short lifespan remaining and will consume gobs of energy every day until they are plowed under. Zero Energy refits are cost prohibitive, so at best, you'll have a band aid. Ultimately, It's a sunk cost fallacy.

We're not the solution to the entire problem, but I entirely confident that we are a fantastic value for our customers and the most efficient home available at this price/performance.
Insofar as there was a late push against Trump by some of the mainstream media, it was after they spent many months fawning over him and giving him a multi-billion dollar free media advantage that was never erased.

Given that people rarely change their view once it is well-established (rejecting new I formation which conflicts with it), even if there was quantitative balance, the fawning early coverage would be more significant in effect.
>For 2, syspatch is a coming item

Oh yes, another hand-rolled "coming item," in the world's most secure operating system. Someday, someday OpenBSD will support critical security updates that don't involve recompiling by hand. After all, we finally got "signify" for the base system. That wasn't important at all.

> or you can use mtier.

Right. That's called "on your own." I was going to preemptively predict someone would mention that, but the fact that paid consultants provide a critical feature for security updates as a service that every single serious Linux distro built-in for free is not a point in OpenBSD's favor.

> What the heck? I just use cvs. Its really easy http://www.openbsd.org/stable.html

Ahahaha. NO ONE outside the OpenBSD bubble would say that other than as a joke.

And are you not forgetting that many of the critical security patches do in fact involve a series of additional steps that must be performed separately, manually? If you don't actually READ each patch, you can miss a necessary step.

And of course little things like restarting patched services automatically or knowing when a reboot is required, well, that's an exercise to the reader.

> The upgrading is not really that hard. I'm really at a loss given I find FreeBSD a pain in the butt to upgrade since it always breaks something but have had no problem with OpenBSD other than not reading their man hard link instructions which didn't kill anything but was annoying.

I'm not using FreeBSD as a point of comparison here. I love OpenBSD. I also am not going to wave off how crippled it is operationally out of the box and basically unusable for production in many nontrivial real-world settings.

There's also the little issue of getting your head bitten off and shit on for no good reason even when you're only being helpful in the meekest and most good-faith possible manner, but that's only a little worse than par for the open source world.
You would need to replace the rs232 code with code to talk to the Wifi modem. You would need to deal with websocket handling and JSON parsing.

Doable, for sure, but would be significant work (depending on the richness of the API provided by wifi modem)
What's frustrating is if you submit an issue it will eventually be closed or linked to someone else's issue that's unrelated. Usually, the solution is to uninstall and re-install the beta. You shouldn't have to uninstall or reboot every time the daemon crashes.
> What is the advantage of [perl -pi -e 's///'] over sed?

PCRE and /e flag.
They're functionally interchangeable for simple usage (minus some perl-specific stuff like PCRE).

As I note below, escape behavior is a little different because sed wants you to escape +'s to have the normal regex semantics ("one or more matches"). And I actually think Perl is correct here and you should only need to escape those characters if you want literal matches, but I have a weird environment (Cygwin) and it's possible the sed build there is a little messed up.

The major difference for me is that Perl can match across multiple lines using the -0777 flag. I've been doing a lot of regex-based mass manipulation of source code lately and most people write functions across multiple lines. You can't do that with sed without multi-line appending and it gets really ugly really fast. Sed is pretty much just single line matches only.

For example, I had 100-odd classes with getters for certain values but not setters. So I did:

grep -rle "getAddTime" | while read line; do if ! grep -q "setAddTime" $line ; then echo $line; perl -i -0777 -pe 's/public\s+Date\s+getAddTime\s*\(\s*\)\s*\{[\s\w=;]+\}/$&\n\n public void setAddTime(Date addTime) { this.addTime = addTime; }/' $line; fi done

translation: look for files that contain getAddTime, if they do not contain setAddTime then find the string "public Date getAddTime() {...} and append the setter after that". There are a few edge cases you could hit there but it was close enough to work on my codebase.

I wish Perl would do an inplace edit of a file without creating a backup, though. I am under source control so there's no harm in just operating right on the files. It's not the end of the world to follow up with a rm -r *.bak I guess, but it's annoying. At least they're in my git-ignore which helps a little.
How would you suggest getting that information (say, a fixed IP address and gateway) into a part that has no user interface and no removable storage? How about after deployment?
> It lacks little "features" like credential caching

This is wrong, see the 'persist' keyword. It was also implemented as a kernel assisted feature, rather than filesystem tickets.

http://www.tedunangst.com/flak/post/doas-mastery

http://marc.info/?l=openbsd-cvs&m=147283992915418&w=2
Being in a highly privileged position on the global Internet sounds cute, but it's not actually cute at all. It is opportunistic in nature and tantamount to living in an autocratic regime like China.

Apparently this bill respects human rights, but I disagree. Slurping up all the plaintext you can is outright opportunism and sly.
> Trump has no interest in reducing the influence of money in politics

If you wanted to fix it, do you vote for the person who said he wants to change it or the person who profited from that system for decades? Both parties need to end if you want change on this.
Progress requires both stability and innovation, Symfony is nailing it
Did you ever measure the temperature of the liquid as it froze? Hot ice is the real magic.
A Roadmap to Succeed in Your First Month as a Growth Marketing Hire
I don't think comparing an over abundance of JavaScript libraries with a big chain restaurant.

It would be more like going to a huge open air market with hundreds of stalls each serving a few dishes. The dishes range from amazing to simply mediocre. You have simple three ingredient dishes to dishes that require weeks of preparation. Some are served modestly while other are delivered on a spinning plate by a server on roller skates singing the latest pop songs.
Oh yeah, this paper was super fun :)

Refreshing departure from the total reliance upon the spin-glass model.
Hillary's campaign failed because it was so fucking forced. Come on guys, you have to vote for Hillary because she's a woman and its her turn and shame on you for thinking this was a democratic process.

I think a lot of Democrats were put off and disillusioned. Hillary wasn't a candidate to be excited about, she was the candidate waiting in line whom you were told you had to vote for.

And so people stayed home.
It is a joke article. It is a serious economic analysis on a funny topic.
You can transpile this demo to C++ with IL2CPP. It's built into Unity for iOS/Android platforms, never tried to do it on desktop, but I think it must be possible.
Has anyone had luck with a battery powered ESP8266? I built one of these temperature loggers and gave it 3xAA but it never lasts more than 2 weeks, while "real" things (SmartThings sensors) last months on a single smaller battery. I'm a beginner in EE but I'd like to know what's possible to stretch the juice.

So far I have it sleep between every 15m measurement which brought it up from three days of battery life.
Any discussion of interstellar trade deserves a mention of the fantastic Charles Stross book "Neptune's Brood". I went into it expecting more or less a sequel to "Saturn's Children" but what I got was a treatise on monetary policy for economies that span multiple star systems. The concept of slow and fast money and its implications is utterly fascinating and the book is worth reading just for its explorations of the topic (the plot isn't too bad either).

A quick Google search brought me to this post by Krugman[0]:

I’m reading an advance copy of Charlie Stross’s Neptune’s Brood. (Hey, I have connections!)
And it is the best thing by far written on the subject to date, partly because it is, as far
as I know, the only thing written on the subject to date.

0: http://krugman.blogs.nytimes.com/2013/05/20/the-theory-of-in...
Can I assume the response from the government isn't an alternative to the Parliamentary debate? It's not like "petitions that receive enough signatures will receive a response from the government or a debate in Parliament"?
> I recently built an app prototype in a couple days using nothing but vanilla JS and the DOM. I was literally two days in before I installed a single non-dev dependency. Guess what? It was fine.

IMHO a good strategy to reduce the cognitive load (and limit dependencies).