skysight-inc/HackerNews huggingface dataset:
Not sure how security staff can solve any of those first two problems.

Sure, they might learn to recognize some faces, but if you have even 100 students in a small school, there could be at least 200 parents between bio/non-biological parents.

As far as sex offenders, how do you expect a random security officer to know a random individual's face? It just isn't possible. Either way they might need to take a photo of the person to see if they can be found on any threatening lists.
> solar may be more harmful to the environment than nuclear.

Wow. What?
wow.check out this cool forum http://mawazo.tk
>to keep kids, parents & teacher in and the rest of the public out.

Facial recognition doesn't do /any/ of that.

Teachers have always been able to tell when students are skipping school, that's what roll calls are for. They work just fine, wayward students just don't care and skip school anyway. If you want to ensure your kids stay at school, maybe we should take the money spent on facial recognition systems and spend it on training our current teachers and paying teachers enough that the best in our society start seeing teaching as a viable career.

As for keeping the public out, we've had a purpose-built tool for this for millennia, it's called a gate. CCTV at the gates is every bit as effective as facial recognition in the halls. If people are going to ignore the implied warning of a gate with optional CCTV, adding facial recognition in the halls won't help. Such people will just lie about being a tradesman or public servant or whatever. Either they'll be convincing or they won't. Most of us would recognize a stranger in our office, the same is true for teachers and other staff in schools. They already know this person is a stranger, they don't need a facial recognition system to tell them that. If you're worried about incursions from the public, the money would be better spent on training teachers for that situation or if you must, hiring good old fashioned security guards.
This quote was taken from a kubernetes retrospective at https://about.sourcegraph.com/go/valuable-lessons-in-over-en...

Scroll to the bottom:

In a nutshell, they got rid of a custom programming language they had inadvertently created via YAML and text/template. Their YAML models were effectively written in a Turing-complete language composed of YAML and text/template directives. They had been heavily abusing the FuncMap type in text/template.
Nick forked a dead project and wanted to keep developing it, but still needed to pay rent and eat (a common problem among programmers). In order to try to both continue paying for necessary life functions and work on Synergy, he began asking for money. This isn't evil. The project was abandoned when he came along. I'm not saying Nick Bolton has done everything right, he clearly had little to no business experience before taking this on and was far too optimistic, but he did something no one else was doing: work on Synergy.
Your choice is to try to avoid having anything that will get in their way or set up your life to not rely on their services.

I'm not sure Anabaptism is really as clean a solution as you propose.
I don't think there are good arguments against it, and I agree it would be great to fix it. But I think it's very important to understand the reasons why Regehr's proposal failed. I also think it's incumbent on new proposals to argue why their effort is likely to succeed where Regehr's did not.

If I were more cynical, I'd say that the C-standards community has simply ceded the ecosystem niche of a low-level language which has common-sense behavior, creating an opportunity for other languages such as Rust, D, Zig, etc. But I don't really believe that. Almost everything we do relies on C at the bottom, and it's pretty much the only viable way to publish an API that can be consumed by multiple languages.
A Git protocol parser written in Go
I like the "Ruby approach" of:

if foo
...
else
...
end

It solves some of the issues that you can have with Python, while at the same time also avoiding the whole nonsense with the braces. I find it's a good trade-off between the strengths of both approaches.
Certainly frustrating, though my 6P is working nicely still, so I have a generally better impression of Huawei, I suppose. As long as I can unlock the bootloader, I'll probably choose Xiaomi for my next phone.
I liked "Women in the Dunes" by Kōbō Abe, also you can watch the 1960s movie on youtube
What do you feel this affords you?
I'm reading "The Progress of Invention in the 19th Century"[0] right now, and it's at least partly dissuading me of the whole "We couldn't possibly have developed without fossil fuels" idea, along with the similar "If we collapse now we'll never build back up without abundant surface fossil fuels."

Worthwhile electric generators really weren't that far behind worthwhile steam engines. Without any fossil fuels, I think we would've just built lots of hydro and wind.

[0]: https://gutenberg.org/files/41538/41538-h/41538-h.htm
> having 4 equal choices

Support for Groovy Templates is legacy and not as equal as the other choices. Groovy is now Apache Groovy, and on the decline.
I've had a similar experience which is why I almost always use dork search queries now. You'll get pinged by Google's anti-bot recapcha often but you'll find things much more effectively.

Heres a cheat sheet I keep bookmarked, https://www.alienvault.com/blog-content/GoogleHackingCheatSh....
Great explanation (even though you're not OP), makes sense now!
Never attribute to malice that which is adequately explained by stupidity. In Nick's case, lack of experience.
> Well, is that really what schools are supposed to be?

Guess that's the reality in a country with roughly one school shooting a week. As usual for US politics, the fix doesn't even go anywhere near the sources (a lack of gun control).

> I think I prefer that they be much more open and intermingled with their communities.

Hmm. Honestly I'm not sure how this could be done in a productive way, and that with threats like shooters and pedophiles not even being in scope. Having random quacks peddle kids and their parents with crap like "alternative medicine", anti-vaxx ideology, creationist theory or religious fundamentalism of any kind (no matter if Scientology, hardcore evangelicals or salafist/other radical Islamists) is already a huge problem, no need to further enlarge it. And unlike with guns it's more difficult here to fight the actual problem given the fundamental human right to free speech.
Biruino – An Arduino-Powered Beer Tap with PubNub and RFIDs
Yea, you are a bit naive in this regard then. Please go and read those work visa(H1-B) horror stories. First find a company who will be willing to sponsor the work visa which is more than half of the battle.
I love YAML and I don't care what anyone else thinks. For simple config files, I use INI (could use TOML, I suppose). For anything beyond that, I use YAML. It's easy to read, parse, write, and maintain. I just use the subset that's relatively straightforward (no & ! --- sigil vomit).
> The timing went from 8.7 seconds to 6.7 seconds. So all that effort bought a total of a 25% improvement in memory usage and CPU time.

AFAIK .NET has a concurrent garbage collector. For all we know there was a 2nd core running 100% to collect strings that is now almost entirely idle. It's possible the effort more than doubled overall throughput if you consider the ability to run multiple jobs.

That said, ad hoc parsing is a fundamentally messy approach in every language, not just languages like C with poor string handling.[1] Parser generators exist for a good reason--easier to read and great performance without even trying. Find a good one for your language of choice. The learning curve is steep but you'll never look back.

[1] Actually, I find C one of the best languages for parsing as you're much less likely to conflate string manipulation with parsing. Though that realization comes more quickly for some than for others.
If there was a database that described the recylability of a product, then that could be cross-referenced with what a municipality or waste management company is able to recycle. Pair that with simple app and that would make disposing of certain kinds of waste very clear.
I wonder which technology provider was able to convince a school to use a system at 4mm in the first place and how did the negotiation go
The rules are too complex. If you move home to a few miles away the rules change.

Various parts of the recycling chain are highly fragile and far too easy to pollute (as the article discusses), or too susceptible to not being profitable. We've known that for years. Seems like a giant exercise in missing the point.

Should profit be the prime motive? Should we be recycling when re-use used to work so well for many products? Do we want to actually preserve the planet or merely go through the motions with recycling theatre until waste grows another order of magnitude? The waste from a weekly supermarket shop is horrifying compared to the equivalent waste in the nineties.

I think the time has come to take a cue from earlier times and simply require the manufacturers and retailers to cover the cost - you made it, you pay for its disposal, recycling or reuse. Suspect things would start to resolve quite quickly.

Before you say that can't possibly work, for many categories it used to, and it worked very well. For other categories, it should be ample encouragement to return to less packaging, or for fruit and veg, no packaging. We'd start to see some properly biodegradable solutions.

No, I don't suppose this will be too popular, especially with me wanting regulation to "encourage" it.
I'm genuinely curious as to which side of the equation you'd like to implement this solution - the consumer who throws the item away or the central sorting center that receives the items? Sure, a metro area sorting center might be interested, but many are government owned and require approval or even a referendum to increase the budget for this type of system. Rural sorting centers have no budget and the most high tech piece of equipment are the metal detectors positioned along conveyors (just before a couple scores of humans who do the actual sorting). You can give people an app to scan an item before they toss it, but that implies they'll actually use it. I want futuristic automated flying trash-sorting robots too, but I also don't think we've exhausted the easier options before jumping right into the high-cost tech solution.
Casios are great. Which model do you have? Btw, I can't believe that in this age, people need the recharge their watch once a day. It's like we went backwards. How often did you replace your battery?
Cookbook – Bayesian Modeling with PyMC3
This website is a little too dope for me.
YAML's like democracy: it's the worst option aside from all the others.

That said, I'm partial to s-expressions and TOML nowadays.
AdSense has been a success. There is a saying - if you start don't copy what company is doing now, but what they were doing when they started.
You could simplify the rules to “recycle aluminum, trash everything else”.

It takes about 2x as much energy to manufacture new steel than to melt down old steel.

For aluminum, that number is 20x, which means that recycling aluminum prevents a lot of greenhouse gas. Even after you account for the overhead of driving a bunch of collection trucks around and running recycling facilities, you’re still probably coming out ahead.

With steel, paper, glass and plastic, is recycling really beneficial to the planet? It’s difficult to say.
It has some similarities to zpaq, especially with the -mixing=2 parameter.
With -mixing=2, DivANS runs 2 models to estimate the upcoming nibble or byte and dynamically chooses the best model based on past performance. One of the two models is good for more diffuse patterns and the other is good for more pronounced patterns.
I believe the paq technology runs dozens of models and uses similar but slightly more advanced models to mix between them. This results in excellent compression but means you have to evaluate those models to decompress the data when you need it later.

Without -mixing=2 (eg for the results present in the blog post), DivANS actually relies on a static determination about which models to use in which situations, serialized into the file in the mixing map. It only ever evaluates a single model per nibble.

The idea of mashing up the intermediate representation with a bunch of different compressors isn't present in zpaq as far as I know, but the spirit of the idea is similar, but on a per-bit level, rather than on the IR level.
> Irregardless of your perceptive on this, it is good to be self-conscience

Well played! Perfectly acceptable internet usage. Especially in a world with auto-correct. :)

Yet somehow lose/loose grates a little when a they're/their or it's/its doesn't. Possibly as the mental pronunciation has already led me down a blind alley. Or possibly I have no idea why. I almost never make comment.
Using quantitative and qualitative measurements to improve GitHub’s Editor Tools
Please add the s-expr version?
Phenomenal read. Really terrifying that people in authority within DuPont are comfortable poisoning so many people in the name of profits. At some point you'd expect guilt/decency to kick in, but apparently not.
And your comment presupposes that's not a valid argument. If you have a counter argument you should make it.
SG Widget – Website Subscription Widget
I can't find the article you mention, "A machine fired me". Do you have a link?
They do worse - instead of just blocking the internet, they'll first inspect what is being uploaded to it.
Schemas and validation for YAML (and JSON):

http://github.com/common-workflow-language/schema_salad
https://en.wikipedia.org/wiki/Jaron_Lanier

positioned himself as VR expert in the 80s...
>Is there a simple foolproof utility for blocking ports on BSD with a single command?

Yes. It is called pf.

block in on fxp0 proto tcp to any port { 25 80 }

... blocks incoming email and http connections on the fxp0 interface. That is all you need to put in pf.conf to do that.
In case yours was a serious question: human interaction (actually talking with a human on the phone), not giving my CC details to yet another company, like I said, not being tracked by the same company (which was caught doing some pretty not-cool stuff).
> Today, nuclear power provides 40% of France's electricity needs.

40% of France's total energy needs (including transport) but 76% of its electricity production.
While I don’t think the referenced technology is a solution to the problem, think a bit about the first question that you’re asking.
Did I read correctly that YAML is a superset of JSON?

> This means that, in theory at least, a YAML parser can understand JSON

Does anyone have experience with this? It seems counter-intuitive at first, but Google agrees, and I don't know enough about parsers to say it's wrong. Can you really feed pretty much any JSON file into a YAML parser and get back a valid and correct, properly formed data structure?
Continuing off-topic... What of the inhumanity of parents dragging their toddlers across national borders without a plan to safely reach a destination?
I tend to agree with this although I haven't done all of the math.

It seems however that their might be a net social good to create a recycling industry which consists of living accomodations, facilities for sorting, facilities for cleaning, and facilities for reconstituting bulk goods out of recyclable material, and then a set of factories that would use that to create 50 - 100% post consumer products for sale in the general market.

The purpose of these economic units would be three fold, one it would provide housing and an income to anyone who was willing to work and it would not require a lot of pre-requisites for the work. Second it would reduce the landfall load and burdened cost of recycling by minimizing transportation costs while effectively recycling. And lastly it would provide a stream of goods and bulk materials for industry that would provide a means to offset some if not all of the cost of the operation.

As a government sponsored activity I feel it could simultaneously provide living accommodations and meaningful work for a large chunk of the homeless population and an even larger fraction of the post-felony population.
I really enjoy butter popcorn, but it's a complete waste of time to bother clarifying the butter and cooking the popcorn for the only flavor of popcorn that taste mediocre when it's not piping hot and that taste terrible the day. If I I'm making popcorn I'm making any other flavor because I'll have also have a snack for the rest of the week.

I exclusively save butter popcorn for the movies.
> you should not

But (what if) there's a correlation...
I have been working a Software Developer / Independent Contractor in Toronto for the last five years doing mobile-related projects. I had gigs with a bank, a telecom company, a VC-funded startup and a couple of development studios. Here are a few insights.

* You earn more than full-timers, the performance expectations from you are also higher. If working with other devs in your area, you are expected to be stronger and more efficient than full-timers to justify your salary and status of a contractor. If working on the project alone, you are obviously expected to be the technical authority and go-to person regarding any issues related to the technology stack you are working with.

* Once you are on a project, you have less freedom of choice than the full timers what kind of work to do. Usually, you will get what the full timers don't want to or don't have the expertise to do. For example, at a bank, the full timers usually implement new features, while the contractors clean up the bugs. Also, banks and big telecoms have separate dedicated budgets for contractors.

* So far, I have been lazy looking for gigs, finding them mostly through recruiters. My biggest gig and the one I mostly enjoy has been lasting intermittently for almost three years. I got that far with the client by delivering over and over again results above and beyond the client's expectations.

* The mindset of a contractor is different than the mindset of an employee. You will no longer care about meetings, "promotions", titles, asking/getting vacation days, Monday Syndrome/TGIF, performance reviews etc. In fact, your "performance review" will be whether or not your contract gets extended. You will care about getting your own (best) hardware equipment and software/dev tools licenses, assuming responsibility over professional development and delivering the best results you can. Also, as a new adopted mindset, you need not care what kind of work you get given by your client, your goal is to deliver excellent results for any kinds of projects.

* Starting rate on a gig is usually determined by the market with ~10% negotiation room. For example, the recruiter will call you and have a second or third question "so what is your hourly rate?". If you name a figure 10% higher than what they have in mind, they will usually say that is above their range. From what I know, the reason for that is companies have fixed budget for contractors and when starting the search, during the conference call with recruiters, they set their rate expectations.

* So far, contracting proved to be so much more fun and intellectually and financially rewarding than full-time employment. Once you start, there is no going back :))

Best of luck.
Sounds like the accused Martin Tripp is about to have a bad trip
Consciousness is not a collective attribute of humans. I find it strange that people have discussions in which some sort of collective consciousness is implicitly assumed. You're arguing, so you're obviously individuals! If we had a collective mind, we wouldn't be disagreeing.

It's as though we were a bunch of single cells arguing about whether we should become a multicellular life form to avoid us all dying. It might in theory be necessary, but it would involve all members giving up autonomy and being willing to act and die on command. That raises two questions - is it really worth it, and is it possible?

I'm not firmly pro or con organizing humanity into a "super organism" to avoid ecological disaster - I'm just saying this is what people are ultimately debating wrt global warming, and it's pretty "out there". I'm not convinced it's feasible, at least not in the near future (next century).
The system in the Bay Area is especially broken because it is built to nudge everyone to put as much as possible in recycling/compost. We've got very limited trash space, expensive upgrades to larger trash bins, and huge recycling/compost bins.
https://news.ycombinator.com/item?id=17350645
OS X is def not a must, I don't think I could get everything I would ideally like but those are just the things on my mind right now.
Why? Do Teslas only get charged by Elontrons, produced by a vertically integrated SolarCity panel, stored in a PowerWall, as opposed to regular electrons? What next - is Elon Musk going to start buying iron and nickel mines, so that Tesla can mine iron, to smelt it into steel, to build robots that build Teslas? Maybe a chip fab, while it's at it? And a ranch, for the leather seats?

Why hasn't GM bought an oil company, and a couple thousand gas stations? Apparently, this vertical integration would have made them 10 times more valuable.

Maybe it's because I can get the exact same gas from the Shell across the street.

Also, half of this vertical integration only 'works' (If you squint a lot) due to subsidies/loopholes in how people are billed/credited for home solar installations. When those installations become widespread, these subsidies will go away, and we'll be back to buying power wholesale, from utilities. There is no universe in which putting solar panels on your roof will be cheaper, or more efficient, then buying power from a solar utility.
FWIW, my personal response is "C does not carry enough information with variables to make productive high-performance programming possible; how about switching to a language that does?"

The trouble is that "carry information with variables" means one of two things, runtime checks (which often - but not always! - rule out "high performance") or types.

Rust is my personal preference here, but it's hardly the only option - Go and idiomatic C++14 are also good direct competitors, Java and PyPy can be faster than AOT-compiled code if you don't mind startup time, many applications actually aren't in need of a language that aggressively optimizes (e.g., it's relatively short logic on top of a database that someone else is writing in C), etc.
Why isn't using an app a human interaction? Just like a phone call, it's a communication mediated by technology, not a direct contact.
Nobody give corporateslaver the infinity stones.
It all depends on what you feel comfortable asking for. At first, no, I didn't do great, the more experience I got, the more comfortable I got asking for more because I was getting more done, and thus not as many hours to get projects done.
This was fixed in YAML 1.2 though? So, e.g., in Python you'd just use ruamel.yaml instead of pyyaml.

That doesn't help you, of course, when using a multitude of existing systems whose yaml parsers are based on 1.1...
If you are writing a new YAML implementation, then yeah, you want a simpler spec to follow.

If on the other hand you are using a YAML library... I've had pretty good success using YAML compatibly across Python, Ruby, C# and Go projects. Do you have a particular issue in mind that the existing Ruby implementation doesn't address?
I’m sure their competitors are falling over each other to learn how to fail to build cars.
How Tidal got so fucked
yes, you can, the command is called 'vi' :)

block all
pass proto tcp to port www