skysight-inc/HackerNews huggingface dataset:
My C++ is rusty but you'd do it exactly like you do in ML. Something like:

template<typename T> class List<T> {
protected:
List();
template<typename U> class Visitor<U> {
public:
U visitNil();
U visitCons(T current, U accumulator);
}
public:
virtual <U> U visit(Vistor<U> visitor);
}
template<typename T> class Nil<T> extends List<T> {
U visit(Visitor<U> visitor) = visitor.visitNil();
}
template<typename T> class Cons<T> extends List<T> {
private:
T head;
List<T> &tail;
public:
Cons(T head, List<T> &tail) {
this.head = head;
this.tail = tail;
}
U visit(Visitor<U> visitor) = visitor.visitCons(head, tail.visit(visitor));
}
Looks quite nice!
>>> In the dual monitor config it only moves the left monitor across desktops

There is a fix for this in display settings.

I have personally gotten used to the vertical alignment and new key patterns. Still using 17.10 but performance seems improved from unity and looking to maybe get back into a bit of gtk development ;)
Is there nothing similar to an EPC[1] in America?

[1] https://www.gov.uk/buy-sell-your-home/energy-performance-cer...
Top quality. Mate should have been the default. Not just general Gnome.
“I thought I was a strong person,”But when you end up alone you feel very lonely.”

BOOM right there... Loneliness and isolation causes people to do weird and desperate things. If you're lonely and isolating it might be time to join a group or get a pet. There are thousands upon thousands of groups everywhere and online (though meeting in person is preferred to combat the isolation part).

Personally I see these types of "industries" as predatory... they are no different from the snake-oil salesman selling a dying man a cure for cancer.
Not entirely. But to a scarely high degree.

Ex. https://www.ecowatch.com/europes-dirty-little-secret-morocca...
>"Where I live, the focus on buses is driven by a political agenda - basically the environmentalists and the left have defined buses as "good" and cars as "bad""

That's a bit of a strawman argument, but nevertheless there are strong and indisputable benefits to public transport over cars.

One is the pollution. Per passenger, even diesel buses pollute a lot less than cars, and electric buses are being phased in. There are also some buses that run on cleaner-burning natural gas, but those are more of a stopgap measure.

Secondly, congestion is markedly reduced by getting more people on public transport and bikes. People simply take up less space when they're not driving around a mostly empty car.

Regarding the dust, it's not really produced by the buses, but it does get whirled up more by large vehicles. The dust is produced by everything; cars, buses, trucks, bikes, even pedestrians to some extent. Reducing one of those sources, by for instance getting thousands of people to take the bus instead of driving their cars alone, will significantly reduce particle pollution.

>"Unfortunatly, I suspect that research on topics like those is probably heretical and a thought crime in most Universities' departments for environmental studies."

That's nonsense. My girlfriend studies at our national technical university and there is plenty research being done on all environmental factors.
Fix NET::ERR_CERT_INVALID Error on Chrome
[Spoilers] It's Switzerland.
How to Strengthen Your Social Media Strategy in 3 Steps
Until I read this entry's title, I'd never thought about whether Google is singular or plural—is "Google show..." an acceptable variant of "Google shows...?"
Is there a PoC exploit source?
Exactly my approach. Periodically I ask what are the advantages of an environment like Gnome that would make it worth it for me to put up with the resource usage. I haven't heard anything compelling yet.
> I don't get that at all. From what I've seen over the years, there is a clear divide on HN between the people who lean towards the "you don't need any theory at all" people and the "you need to know all the theory to do anything" people, with there being a slight bias towards the latter in general.

Haha I think I know what camp you're in, since no one claims you need to know _all_ the theory to do _anything_. ;-)

While we disagree on which group is larger on HN, I'd be open to consider that maybe our difference in perception is entirely explained by selective memory (in the sense that you're more likely to remember when people rubbed you the wrong way than when they agreed with you).
That is true. However to have a healthy diet as vegan you very likely pick a lot of imported food (at least here in Europe, even more in winters).

Not saying this is true for anyone, but for basically all vegans I know it is.

My general Point is that the 'historical' local diet may still is the most favorable due to its locality.
That approach doesn't really work, because C++ conflates where a value is stored with whether the value can semantically be null. Sometimes you want a nullable value that's on the stack. Sometimes you want a non-null value in the heap. Both these things are hard to do in C++.
One of the first things I did at a contract in 2013 was port their RCS wrapper scripts to SVN. I wept hard for those weeks.
Why can't there be automated test suites that catch unauthorized access issues before ship (if not before merge commit)?

Usually the search space is too large.
It's up to developer/maintainer to provide rollback.
My experience with Gnome 3 isn't deep because I've switched to KDE after 2 months of tinkering and feel happy ever since.
Does it work on humans too? Just asking for a friend
There's one difference between nullable/non-nullable types and Optional type, which is nesting, right?

I'd assume that while Kotlin's String? is equivalent to Optional<String>, Kotlin has no equivalent to Optional<Optional<String>>.

Which, personally, I think I'd prefer Kotlin's approach, because that means you can do `maybeString = "exists"`, which is more readable than `maybeString = Optional::Exists("exists")`
CNR on Chrome 66 or Chrome 68 (Ubuntu Linux)
Does it work on humans too, just asking for a friend?
Maybe the docs were written badly? If everyone makes the same mistake, then there might be something wrong in the source.
> And I think it could convert those in the anti camp. Some are against Net Neutrality because they see it as government control of the internet (it is not). They need to recognize that FOSTA is directly what they perceive Net Neutrality to be (at least in terms of results).

As someone who's fairly active around both issues, trust me when I say that all this will do is solidify their opposition to net neutrality, and in the worst case, strengthen their support of FOSTA/SESTA.

No, it's not consistent. But it's also not a line of reasoning that will work with opponents of net neutrality. Politics isn't always cut and dry the way we might wish.
It's the same mistake as checked exceptions all over again. If you make null a special case in the type system then anything that interacts with the type system has to know about null or will handle it wrong. Far better to have the type system work with plain (non-nullable) values, and implement a plain old library type like Maybe/Option for use in places that need absence semantics; that way your concerns are properly separated and you can spend your type system complexity budget in more generally applicable ways.
There is a large Jewish^W Israel-Fan-Club demographic in the US that puts the treatment as Israel as the highest importance when deciding who to vote for. Due to the way that, in the U.S. political system, power shuffles from one extreme to another at the movement of a few thousand votes, both sides have to keep that demographic on board, and that means supporting Israel's right to exist (Israel being a tiny country in the middle east, which has been invaded by it's neighbours on more than one occasion)

There's a strong argument that the US diplomatic stance (especially the vetos on security council resolutions) is pro Israel because if it wasn't, the sitting party would lose a lot of votes.

However I'm not aware of any military action taken by the US, let alone NATO, at the behest of Israel.

If the U.S. democratic system was actually representative, and didn't favour a 'winner takes all' one party system, perhaps the treatment of Israel would be less of a crucial matter.
you're a piece of shit go fuck yourself

haha
Ubuntu Gnome was pretty good, I never had a problem with it for the three years or so I used it
The AUR is also really cool, no more of "add this dodgy PPA", instead you download a file that allows to install dependencies and compile the original sources.

It's more transparent, and if you don't care, you can install pacaur that hides all of this behind a pacman interface
Decades – we don't have decades to fix this.

Also, it decays into CO2, so to claim that its effects are temporary is misleading. On top of that, as long as the carbon is in a CH4 bond, it traps at least 20× as much radiation. Please don't dismiss the significance of methane emissions.
Hacker Kevin Mitnick shows how to bypass 2FA
> Net neutrality is literally constraint on how data passing through networks can be routed and shaped.

That's arguing that opposition to putting a dam in a river to alter its natural course is a constraint, because it constrains the placement of dams.

> Net neutrality only really helps established players.

Good for them. For once they're on the right side of an argument.

> Unestablished unpopular players are not the ones getting throttled.

How is that an argument in favour of anyone getting throttled at the whim of the ISPs?

> The one who would be getting throttled is primarily Netflix, who literally uses over half of the bandwidth of the Internet.

Once again: good for them. On the provider side: if bandwidth is a scarcity, data plan prices should reflect that. No need to give them the power to ghettoise the Internet.
Just because null is a type in the type system doesn't mean it has to be a special type.
Superimpose it on a random area of the screen, making it look like it's something painted on the field, if the image goes to the satellite with the message already there, 10 seconds wont be enough to block it without disrupting the transmission.
Now I know I've been reading too much Reddit. I was really impressed by the well articulated, grammatically correct, and properly spelled postings in that bug thread. My standards have been lowered too far.
(loop for item in '("Hello" "world!") collect (string-downcase item))
London removals and storage
How is this possible though? What’s happening on the molecular level? And how can we drastically change their digestion without harming them?
Subway Digital Solutions
specialist in cyber security problem solving, we are fix your issued related to Norton / McAfee / Microsoft Office/ Desktop, if you have any problem in your personal computer contact +1-888-782-3929 Our support experts are available 24/7, at all times to cater to the needs and problems of customers.
Is there any official (other than any ANSI standard site) or quasi-official or unofficial main site for Lisp or Common Lisp?

I had seen a couple of other sites which seemed like they might be that earlier, like https://common-lisp.net/ and the site of the Association of Lisp Users, which I vaguely remember as being at http://alu.org , but now a Google search shows some other sites instead (from the first few hits I looked at). And now there is this one mentioned in the OP. I looked at its About page, http://lisp-lang.org/about/ , but it does not seem to show any such info.

Update: I saw this on the common-lisp.net site:

"This site is one among many gateways to Common Lisp."

which seems to indicate that there was/is no single "(un)official" one.
At that point can it really be attributed to "mis-reading" the docs? If every single independent implementor understood it the same way, the docs were wrong.
All the football live streams on Facebook alone and no one is doing anything (at least it feels like it) to remove them. And they're all with arab text scrolling on the bottom.
When a game is on, our visitor numbers drop by a large % (almost completely). When a game is on I can be sure our ad revenue is down by at least 70%, because those games are so widely accessible via Facebook.
These all sound like more reasons to put buses and cars into separate paths.
Yeah, choice of distro mainly matters in terms of how software is installed/updated, how recent the software is that you get in the distro's repositories, how well this software has been integration-tested how do the defaults look like (preinstalled software as well as settings) and most importantly of course, what color do they theme their stuff in?

If anything else irks you, you're probably looking for a different desktop environment or just to replace one application.
In general, style-guides say "companies are singular"
Lisp ran on the first UNIX workstations too, Franz Lisp ran fine on even the earliest Sun machines.

Lucid pivoted from Lisp on UNIX to C++ on UNIX, they didn't have anything to do with Lisp Machines.
System76 has a littered history with firmware updates and drivers, especially for a company that brands itself as a specialist in Linux systems. If you're paying that premium in hopes you'll get a fully working system without quirks, be prepared for disappointment. I have had better luck with simply buying the most popular laptop since it's more likely to be working correctly without hours of configurations.
If it was in the third person, it would be a perfect William Gibson paragraph. In fact, I scrolled to the top to check that it wasn't Gibson.

(You may or may not take Gibson seriously as an author. I generally do.)
The idea of using ski lifts in cities has been around for a while. https://www.wired.com/2012/11/austin-gondola/
Interesting that some of the BSDs (Dragonfly, FreeBSD) are listed as Affected and others (NetBSD and OpenBSD) are listed as Not Affected.
Really depends on ridership. There's also pollution other than just energy inefficiency; old diesel buses with low ridership put a lot of particulates and other pollution into the air, compared to the same number of passengers in the newest petrol (or cleaner diesel, or obviously electric) cars.
As someone who is using Linux as my main OS for over a decade, I totally appreciate initiatives like LVFS that makes using Linux more seamless.

Running Linux on MacBook Pro has also exposed me to the struggle of firmware updates and all that jazz.

So the hard work of Richard Hughes on LVFS is not lost me but I think he could have definitely handle the whole S76 issue more professionally. The whole blog post has a very personal vendetta overtone.

> The way forward from my point of view would be for System76 to spend a few hours making UpdateCapsule work correctly, another few days to build an EFI binary with the EC update, and a few more hours to write the metadata for the LVFS. I don’t require an apology, and would happily create them a OEM account on the LVFS.

That is not how large organizations work.
And if you're trying to build something to get large vendors on board, this demand for apology nonsense is not going to help you.

PS. Don't own a S76 system, don't work for them.
It sounds like the "breakdown in communication" amounts to the LVFS maintainer not being informed, as everyone is naturally obliged to do so(!), that System76 were adopting a different strategy, and according to this reply due to a simple matter of commercial priority. Maintainer continues by indicating they do not require an apology, after all, everyone is obliged to inform them of all matters firmware!

I didn't like the attitude in the original post, and I can understand why there is a little spice in System76's reply. Recommending a competing laptop brand over an issue as trivial as an alternative BIOS update mechanism that doesn't match Microsoft's compliance requirements seems like seriously sour grapes.

It seems they expect System76 to invent an in-house firmware update system that does not use the official mechanism supplied by their chipset's support package, and somehow this is automatically a better outcome than what existed already.

Maintainer should be reminded that toiling for free (presumably) on an important subsystem grants no special rights or entitlements, and lashing out at a vendor because they didn't toe an ideal line looks very immature

edit: sadly maintainer isn't even working for free, they're a Red Hat employee
> I don’t require an apology, and would happily create them a OEM account on the LVFS

He is specifically not demanding an apology, and is explicitly saying he is happy to continue to work with them.
> Fake news is what got Hitler into power.

No. It was called an election. Hitler and the nazis were banned in germany for a while. So banning "fake news" didn't keep hitler from power.

> The fake news Hitler banned was the “fake” according to the same standard as Trump: news he didn’t like.

That's the point. Do you want trump to be allowed to ban news he doesn't like? I don't. And what turn hitler from an elected official to a dictator was the german governments ability to ban "fake news". If hitler never had the ability to ban "fake news", then he would never have been able to cause the destruction he did because people would have been allowed to challenge, criticize and intellectually attack him.

> This issue is not as cut and dry as you think.

It is cut and dry. It's the foundational principle of all free society. It's why we never had a hitler, stalin or mao in the US and it's why we never will as long as free speech is guarded. Free speech is the only antidote to totalitarianism.

> a tolerant society can not be tolertant towards the intolerant.

That's an absurd contradictory logic fallacy. Think about it logically. If you are intolerant of the intolerant then you are the intolerant. Also, the US has 250 years track record debunking that logical fallacy. Besides, that's exactly what hitler said. That's exactly what stalin said. That's mao said. It's what all totalitarians say to justify stifling speech.
The latest Philosophy papers
The pro-Israel policy isn't driven by Jews, it's driven by evangelical Christians.
Ask HN: What's the strangest place you wrote code?
This is a dicy ground to enter.

As Voltaire said about God, same goes for absolute morals.

They ought to exist because without absolutes society is liable to collapse.

That does not mean that absolute morals exist just that we sort of pretend they do.

Take any human behaviour and you will find pros and cons in the good/evil category.

Liqueur/weed laws, sexuality laws, voting laws, slavery laws, etc etc etc.

Extreme example. Bio-hackers release a virus which manages to kill the whole of humanity on Earth including themselves. Evil/bad absolutely?

Certainly bad for humanity if there are humans left on other planets. But otherwise the question is meaningless to humans.

All morals are localized to time/space.
Your idea is akin to searching the space of unknown unknowns, By definition someone can not even begin to quantify the space of what you don't know you don't know.
In American English it's "Group does X" but in British English it's "Group do X."
I think a disclaimer is needed: ellyot works for ellyot.com "Find beautiful workspaces anywhere for a few hours or a day".
Tired of 'remote' jobs that are restricted to US? We filtered them out for you
you know what grinds my gears? when I go looking for help on a problem and the answers I get are "don't do that it's not best practices". like not okay here's how you do it but you shouldn't but just flat out I'm not going to tell you. that's the most arrogant/presumptuous and consistent thing I've ever dealt with and it's absolutely unique to software development. It completely discounts the individuals personal experience (and abilities to make the right decision for themselves) and their circumstances (the project itself) and it's always around something dogmatic/a reflection of fanboyism. most recently on #reactjs I wanted to know if there were a way to have locally scoped styles in react like in Vue - I got only condescension about how react is for "bigboys" and hence eschews the practice. Finally someone said hey maybe try styled-components, which was basically close enough and has 16,000 stars on GitHub (so I doubt it's "worst practices"). software devs are some of the most zealous people I've ever met - everything is an opportunity to bike shed and every question or difference of opinion is an opportunity to quarterback someone else's code base.
Another serious issue with Gnome IMHO, also shared with Unity, is way too small window edges so that attempting to drag-to-resize a window becomes an exercise in patience.

I'm on a laptop most of the time and, like you, have absolutely no desire to go back to wasteful non-global menus. Have you eyed a replacement DE for Unity/Ubuntu going forward?

Edit: OTOH, Ubuntu have clearly spent a good amount of effort to customize Gnome so here's hoping they can morph it to work like Unity even more (OHD, global menu)
Survey Reveals 50% of UK Organisations Have Fallen Prey to Ransomware Attacks
It was Alinsky who instructed people on how to personalize politics. It is thus a tactic of the left. If conservatives are finally fighting back, that is to their credit.
I can tell you that NYC cabs do not seem to, as they're often lined up 5+ cabs deep at the pumps at the remaining stations in Manhattan.

The buses certainly do.
The Case for Having a Hobby
No, the Islamic party split with the coalition a few years ago over an attempt to bring the bill on implementing hudud laws to parliament
Ubuntu is mostly about issues with canonicals practices, (I mean come on, I can't be the only one who remembers the litany of times canonical has betrayed users?) but there are some major practical differences. For example, arch is rolling release, has the aur as opposed to random ppa lists, and arch tries to keep it simple (not minimalist according to an arch dev that's a common misconception).

Other than those sorta of things... you could say there's "not much difference" between almost any two distros. Especially since the Trojan horse systemd.

I personally don't trust canonical at all. I bet more would think like this if they read up on them a bit more.
>Likewise if all new houses must have solar, it's just going to become the norm and everyone will benefit. Bravo!

I live in a house built in 1920s. Ever seen someone driving a Model T?
Macs seems to be right behind Thinkpads in terms of Linux support, thanks to having fairly static hardware between models.

End result seems to be that quite a few either single or dual boot Linux on Mac.
If a website asks me to show notifications, to get my location or access my microphone before I even start to read what it is about, it fully deserves a permanent NO to any kind of permission.

Offer me notifications after you notice that I came back a couple of times to your website, ask me to autoplay the video the moment I play the video by hand. Remind me to grant permission to use the microphone the moment I try to start a video call.

Websites (and web developers) should learn to be _polite_.
> Data-point of one here, but I was instantly turned off by the conflation of the empty-list, nil, and boolean-false.

Oddly enough, that’s almost always something I consider a feature, even when I'm interfacing with the outside world. If I’m expecting a list, then NIL is just an empty list; if I'm expecting a value, then distinguishing NIL & false hasn’t caused me trouble. Worst-case, it’s been something I take care of at the mapping level, and don’t worry about anywhere else.

In return, actually using Lisp is really pleasant. Using Scheme tends to be a lot more verbose, because it makes a distinction where it doesn’t really have to.
Probably because it is much safer, faster to develop and easier to maintain.
Both are fine. American English tends to treat collective nouns as singular, while British English treats them as plural. (http://www.dictionary.com/e/collective-nouns/)