skysight-inc/HackerNews huggingface dataset:
> If they want to keep it empty or a small 1 family house, let them, and don't let their neighbors or city government bully them into building larger

i really like this alternate universe where you have to fight govt in order to build smaller

--

here in the bay area it's the exact opposite. between zoning [1], height limits, Discretionary Review, CEQA and "environmental impact" reviews, it is unbelievably hard to build density here.

projects are delayed in unpredictable ways ranging from weeks to years, often while a developer pays rent and property tax on a vacant lot.

the resulting artificial scarcity inflates rents, which is great for incumbent property owners. boomers who have owned property for really long time are often essentially exempt from property tax due to Prop 13. [2]

[1] i made a map: https://dcpos.ch/yimby/zoning

[2] example: https://twitter.com/hanlonbt/status/769662484936429569

--

the city kinda wallows in its own bureaucracy. back in 2004, they won funding to build a rapid transit bus line on Geary St. volunteers knocked on doors, voters voted, a ballot initiative passed. just weeks ago, it passed "Environmental Impact Review".

http://sfbamo.com/news/after-13-years-geary-rapid-bus-projec...

it was stuck in EIR for 13 years.
cern is recruiting scada (hv/lv) control disposable temp technicians through astrotrufing. see other post. their pr and tv studio(!) is bigger than some experiments.

now that a grain of salt has been handed over, go ahead and downvote as usual
Smart choice. Bypassing signature verification in grub was an interesting challenge, but I'll be binning mine soon. Can't be bothered to keep something without mainline support and crap performance.
Combining both the ancestral and the ACL system was botched.

Both are good on their own. The hybrid model is complex and hard to manage, even though it can technically fulfill most requirements you can think of.

It's a real shame because it means ACL usage is not going to take off anywhere soon.
This is probably the best Math Channel on Youtube. I highly recommend watching his Topology videos. Numberphile, Mathloger and Vsauce are other great youtube Channels which I subscribe to.
> Imagine you have 100 single-winner districts that are each roughly 50/50 Dem/GOP, with the slight edge breaking 50/50, so that your legislature has 50 reps from each party.

Imagine you have 100 single-winner districts with range voting so that there aren't two parties, or any strong parties at all.

Then the platform needed to win a district is district-specific, because a candidate with a district-specific platform beats any party's general platform in that district. Even if the winning candidate is a member of a party, the candidate still has to do what the district wants over what the party wants or they'll lose the seat.

The winning candidate in single-district range voting is literally the one that gets the highest average rating within the district, so it optimizes for no surplus at all.

If there was any then an independent candidate could show up with a platform that captures it by aligning more closely with the district and thereby win the seat.

The only way to do better than that is to do the same thing but with smaller districts, at the cost of having more members of the legislature (and in the limit it becomes direct democracy).

> No. Most PR systems still have districts.

I don't mean there are no districts, I mean that in PR instead of being stuck with a district that might not represent you in some ways, you're stuck with a party that might not represent you in some ways.

And PR STV doesn't fix that. Anything that increases the number of constituents per representative inherently can't, because that is what causes the problem to begin with. Diluting each vote by 20 times but giving each constituent 20 times as many representatives doesn't cancel out.

If a state upstream from your district is dumping poison in the river, no candidate could win that district without addressing it. But with any kind of PR, it's possible for every representative to ignore it because the affected voters split between twenty representatives, none of which need 1/20th of their votes enough to address the problem.

And RRV looks like it would create a lot of strange incentives, like giving a lower score to candidates you strongly like if you think they're likely to win regardless, except that if everyone thinks that way then that candidate loses.
> should we continue to uphold "everything is a file"

POSIX doesn't do a very good job of upholding that. POSIX is full of entities (e.g. notably processes and threads) which can't be manipulated via file descriptors. Some POSIX implementations do better – e.g. FreeBSD's pdfork – but that isn't standardised. By contrast, Windows NT in which "everything is a handle" actually provides a more unified interface to OS objects than POSIX does.
>> from my conversations with Bionic's maintainers

> jmgao

jesus, you guys come out of the wood work, huh? :D
Does this mean that some day I might be able to buy a cell phone that has a radio chip that is not full of buffer overflows and other types of flaws?
Angular + Redux is also possible. ;)
The original goal of the POSIX standard was application source code portability. However, modern applications are no longer being written to standardized POSIX interfaces.

Speak for yourself.
Nothing better to do than rant about POSIX :-)
You talk like someone who has never used hallucinogens.
When I look at large amount of Enterprise software: Yes that happened.... I see Java everywhere. Also think of Android (alone the amount of software). Of course it's seldom exclusively Java in a corporation.
> No one writes full stack applications in C++ any longer, other than maintaining the existing ones.

That is not my experience. Somehow both me and my wife ended up developing new C++ applications for a living.
Isn't that what SELinux is for when they say it's Mandatory Access Control? Or are those two different things?
Is there some new info about EMIB they've just released? It was announced some time ago.
How often should you have sex with your partner?
You might want to check https://github.com/tomchentw/react-google-maps.

We build on top of it to add the querying functionality and additional components (everything that is not a map).
Ask HN: What math should I know well to be able to learn ML
I want to learn ML and deep learning and since it involves a lot of math, could anybody pinpoint exactly what domains should I renew for this task, hopefully with references to some good books or educational material.

I studied math and computer science 20++ years ago on university of mathematics where I had 20 different math subjects but in my last 15 years of work I forgot most of it since I don't use any more advanced math on my current job as software architect where I deal with automation, development, system design, operating systems, integrations etc.

I am very experienced in many different IT domains but I would like to attack this problem in more deep way then just starting immediately with online courses or tutorials (but not so deep that it consumes all my free time, nor would I want it, I have many different hobbies and interest). My end goal is to know to apply ML methods and understand enough of it to improve/troubleshot anything that doesn't fit immediately the typical use case.
> Traditional languages don't let you do [...] Because the parse would expect something to come after that last comma.

Which languages are you referring to? Almost every language I'm aware of allows trailing commas.

C, C++, Java, Python, C#, Javascript (somewhat), Ruby, Objective-C, Perl, PHP, Elixir, Rust, and Go all allow trailing commas.
Thanks a lot for posting this! It made me very happy. I hold the same opinion as him and for many years I've searched the literature looking for people with similar views!
Ditto! We are approaching temperatures that could actually support the hardiest of palms. We can start replacing the spruces with palms soon.

The downsides being ticks becoming common, warmer temperatures enabling more diseases spreading in both human and animal populations, a few native animals dying (they can't breed without certain things such as ice, and their natural defense mechanisms do not work), and Gulf stream probably slowing and causing a new ice age. Ah yes, there's always that. But then again, not going to happen on my lifetime so who cares... :)
They have long hit the limits of that building, they rent space in a DC across the lake, but salaries being too expensive, they built one in Eastern Europe. They probably regret that by now, moreover the PM of the host country is openly hostile to international orgs. Btw cern is recruiting disposable temp technicians through AstroTurfing. Even looking for a full stack dev! See other post. Their pr and tv studio(!) is bigger than some experiments.

Now that a grain of salt has been handed over, go ahead and downvote as usual.
I can understand the disbelief over the "maximalist" approach that suggests that regulations, government intervention, taxes, etc. will be circumvented by decentralized companies running on blockchains. Yet I believe that this efforts should be encouraged as they are exploring the kind of wild, uncharted territory in which the most exciting innovations can unexpectedly arise.

I also believe that some of the tools these guys are building can be very useful for conventional companies too. There's a whole lot of bureaucracy and inefficiency in running a company.

See eShares and his elegant and simple solution for cap management. I believe there are many other areas in which similar improvements can be made, and software needed to run a blockchain company could also be used to improve procedures at conventional companies.
With the same skepticism you could also ask yourself to which extent the hallucinations were actually due to subconscious recall of all kinds of memes surrounding hallucinogens like "out-of-body experience", "consciousness", "parallel worlds", "breakthrough", "feeling like dying", as well as imagery from all kinds of drug films and literature etc.
Make the UBI micro-adjusted (month-to-month) for inflation based on a consumer index - and so indirectly tax passive capital (which is only earning meager interest)?
True, I am updating the multi line comment as doc strings and will include your comments, thank you!

Also 'or' is not missing from my "anti-textbook", or is present, I am not sure why you think so. I am yet to reciew thr tutorial once so hopefully mistakes like the in operator would be rectified soon!

Thanks :-)
The Largest Internet Company in 2030 will be an EdTech company
Use of Technology Discussion Highlights
Check out `react-mapbox-gl`. It's not perfect, but we're using it on my current project and have been quite happy with it- not least because the maintainers seem pretty cool about reviewing, merging, and publishing pull requests.

I've actually been wanting to fork it and expand it a bit to make it more feature-complete with Mapbox GL JS, but that's still in the works at the moment.
Starting Up in Afrika Discussion Highlights
> has released over 500,000 lines of open-source code

Interesting metric. I wonder why no "social" VCSs report that metric?
Simple. Shut down Breitbart.
That was a fantastic story, thanks for posting it
What's stopping this from happening again? Why can't a non-partisan Movement 2.0 (or 3.0) be started now that can spur greater grassroot involvement in the political process?

Sure, we're seeing elements of it in the Women's March and other recent protests being organised on Facebook, but it would be better if the people could debate about issues and organise themselves locally to effect change that they want to see.

Top-down politics has got us to where we are now. As Obama said, politics needs to move in the direction of being more bottom-up.
Hw is regularly replaced, old kit being thrown at poor nations (obviously they’ll foot the energy bills). Its a regular intel shop, mostly with dell stickers. Truly run-of-the-mill current cots, what you would expect anywhere else.
Are you developing those C++ applications for the enterprise?

Can you disclose which type of full stack applications are those?
I wonder how this will play out in other tech arenas.
These explainations are fantastic! Does anyone know of a literature class that examines different technical explainations and analyses why they are successful and where they fail?
Apple vs. Qualcomm multi billion suit, $40/iPhone?
Inability to understand emotions is not the same thing as being smart. It is possible to be smart and not to understand them, but plenty of smart people do get why people cry at funeral.

Also, majority of people who attend funerals don't cry and even more don't cry publicly. It is highly inappropriate to laugh or look happy, but if he was trying to simulate cry, then his idea of funerals was not based on reality nor observation.
Not exactly, kids are different. Speaking from experience.
Try to write a modern iOS, OS X, Windows, Android, ChromeOS UWP with standardized POSIX interfaces.
> There's nothing antiquated about a hierarchical filesystem with a single root.

Unfortunately the hierarchical structure is lost in the name. It's one flat string and '/' and NUL have special meaning.

In a way, containers show that there is a legitimate need for multiple roots.
MAC and ACL are two different things.

On Linux, ACL is the "facl" family of functions functions (and the set/getfacl programs). These supplement the traditional owner/group and mode bits. Essentially, it allows you to set a separate set of read/write/execute bits on a file for an arbitrary number of specific users or groups, rather than being limited to simply "owner", "group", "everyone-else". If anything is set beyond the normal owner/group/world, GNU `ls -l` indicates this with a "+" next to the normal mode bits. I'm unsure how much this changes for other kernels.
You can run Marathon 2 on the latest macOS, Sierra https://alephone.lhowon.org/
In Adelaode we tapped 38c, then had 3 days of record breaking rain which plonked it down to below 20c, which we followed up with four days at about 40c.

It's hard to dress correctly.
"There are literally dozens of us!"

FWIW, I think C++ is killing it on mobile and many other platforms and disagree with the post you responded to. Just pointing out that 2 samples isn't statistically significant.
It is different, in any case SELinux as the name implies is Linux specific.
KasperskyOS
https://en.wikipedia.org/wiki/David_Hahn#Death
Light+via+voice+commands:+Amazon+Alexa+and+Philips+Hue+are+a+dream+team
They're related, but not the same. ACLs are Access Control Lists; basically a more sophisticated version of UNIX permissions. Mandatory Access Control is about restricting what users can put into their ACLs; e.g., "Alice is not allowed to make any of her files readable by Bob".
Ah, dave_sullivan welcome back.

How about this, below is the link to the data (S&P 500 daily returns), whoever is right will donate money to an education-related charity at 70% of the dollar amount donated by whoever is wrong. So for example if you are correct, I will donate $100 and you donate $70, and vice versa.

Trader? Risk taker? For charity?

Here's the link: https://fred.stlouisfed.org/series/SP500/downloaddata

Happy to chat about it more if you want. But just intuitively and quickly everyone should be able to see why one can't say an equal 70% up/down capture ratio will just beat the market...

1. let's agree the market can do whatever the hell it wants. Up, down, whatever.

2. Imagine a market is down -5% and then up 10%. According to your story and capture ratios, when this happens your portfolio is down only -3.5% and then up 7%. Right? 70% of the down and 70% of the up?

I think you will find in just this example the market beats your portfolio by more than 1% here. This is just a simple example and I am being generous. When you look at real data you will not only find a similar pattern, but your portfolio gets absolutely crushed by the market.

Maybe an even quicker intuitive answer: If a 70% up/down capture ratio portfolio will beat the market, why isn't this a huge thing and everyone sells/changes their regular full market S&P 500 ETFs to do that?
I wouldn't say there's "absolutely nothing wrong with it". Someone may have a valid use case to leave a database server exposed to the public internet, but they probably don't.

The only things that should be public facing are things that clients need to access directly. In most cases, that's just an HTTP server. In GitLab's case, it's an HTTP server and a git server.

One of the most important principles of infrastructure security is to minimize the attack surface. No matter how locked down you have it, there are always zero days and other exploits out there. This is a concern even if you block the database port at the firewall but leave some other services (like SSH) open; if any of those services get compromised, it has the potential to allow for the compromise of the rest of the box.

If there's no need for the public to connect to the server, there's no need to take the risk of leaving any of its services open. And if there's no need to have its services open, there's no need for the box to even be addressable from the public internet (i.e., no reason to have a public IP address).

Put the server on the internal network and connect over a secure mechanism like VPN and not only do you not have to worry about strangers connecting to your servers, you don't have to worry about whitelisting or blacklisting individual IPs in your firewall (instead, you whitelist the applicable internal subnets, which should also be restricted based on resource access level), you don't have to worry about your firewall's rules getting wiped for whatever reason and accidentally letting the whole planet in (common if you use iptables, most distros manually require the admin to configure iptables-restore to run on boot), don't have to worry about someone zero-daying your SSH or FTP daemon, don't have to worry about the box being affected by network-level attacks like DDoS, which can sometimes target whole subnets, and so forth. Just much tidier and safer all around.
A Nuclear Jockstrap
Very poor contrast between the text & header.

GitHub, go with any of these(give us an option at least)!

Black+Cyan

Blue+Orange

Cyan+Yellow

Grey Paper+ White
How come this isn't culturally perceived in the same way as not paying for software or movies or music? I've read various reasons why people don't want to pay. That's fine. But then simply don't read it.
C is like a "portable assembly", its goal is to "abstract computers" and that is all. The languages that have attempted to replace it are trying to "abstract problems", which comes at a cost that people are not willing to pay.

If you want to replace C you either need to come with a better "portable assembly" or have a significant change in the hardware architecture that requires the change.

BTW this constant shoving of Rust down the embedded world's throat doesn't seem to be working.
> Is there a proper term for that cognitive routine?

I think it falls under the general term "Theory of Mind". Quoth Wikipedia:

> Having a theory of mind allows one to attribute thoughts, desires, and intentions to others, to predict or explain their actions, and to posit their intentions. As originally defined, it enables one to understand that mental states can be the cause of -- and thus be used to explain and predict -- the behavior of others.

... Unless I misinterpreted your post, and you're talking about the cognition behind spit-takes.
Note that it is good practice to use "docstrings" in python:

def demo():
"""I'm a demo. Maybe a few lines of
doctests below.
"""
return 42

You can now, for example in ipython do: help(demo) and get the demo.__doc__ back. See also doctests.

So no, they are not comments - they are part of the code -- but they are often used to comment on, and document the code.

docstrings pep:
https://www.python.org/dev/peps/pep-0257/

docstring definition from the python docs:
https://docs.python.org/3.5/glossary.html#term-docstring

doctest:
https://docs.python.org/3.5/library/doctest.html?highlight=d...
Where are the C++ killer applications on iOS and Android, besides game engines, written 100% in C++?

Where is C++ on the iOS and Android documentation versus Objective-C, Swift and Java?
Sometimes it is your fault, other times it is circumstance and yet other times there was risk/luck involved (e.g. success depended on factors out of your control that could go either way). Both assuming that it was "me" and that it was "circumstance" is wrong.
You (and the authors of the article) seem to be assuming that "modern applications" are by definition applications with graphical user interfaces.
> I don't think that any new instances can be created with ephemeral storage anymore. Pure EBS now.

Still around, can be launched with an instance-store backed AMI:

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceS...
> Actual reporters need to be paid :) The idea of free access to news is relatively recent, since wide-spread web access. Prior to that, people paid for subscriptions, or bought papers at new stands or from boxes.

True for physical media, aka paper news, but not so much for radio and tv. The internet didn't invent anything new here in giving free access to news, it just provides a written form in addition to video and audio forms.

> I think it's becoming increasingly clear that purely ad-based publishing is encouraging an increase in yellow journalism.

That is true but that form of mediocre journalism can coexist with alternatives. In France we still have paper news that does not depend on ads at all, and that have healthy revenue, like Le Canard Enchaine. Just because mediocre journalism can be accessed for free on the internet does not mean paper news has to die. Le Canard is one of the most profitable newspaper in France, despite requiring a subscription and having zero ads (None, at all, ever. A great tradition they've always maintained). They also have heavy restrictions on their employees for the sake of objective journalism : they cannot play with the stock market nor can they accept gifts or official honors.
Just the fact that they don't have any ads at all in their newspaper sets quite a different standard from things like the NYT or WSJ.
Those two keep begging for subscribers, but even if you buy their actual paper news, you still have to suffer their ads and wonder how much ad revenue can influence them. Maybe it would be more acceptable and they would gain more subscribers if they became subscriber only in exchange for removing all ads and not depending on ad revenue anymore? As a French Le Canard has proven to me and the rest of us that a newspaper can live without ads at all so I feel a lot less willing to pay for forms of news that compromise with advertisers and pollute our minds.

There is also in France, and accessible through the internet, the availability of state owned media, which is free for the poor segment of the population, and lives through a mandatory tax on the rest. It isn't quite as good as Le Canard, but still a lot higher quality than the average privately owned news. They have written form of news on websites like francetvinfo, radio, tv channels and so on. I'm particularly fond of the tv magazine Envoye Special and its in depth coverage of specific, selected topics during its airings.
Quite often great accomplishments are the result of a lot of hard work.

But lots of hard work alone does not explain why one person who put in a lot of hard work will greatly outshine many others who also put in a lot of hard work.

Nor does it explain phenomena like prodigies, who excel at a really young age, with far fewer years of effort than many others.

Finally, creativity and inspiration often play great roles in mathematical and other endeavors. They can't entirely be explained by hard work or dedication, which are often prerequisites for intense creative efforts but aren't all there is to it.