skysight-inc/HackerNews huggingface dataset:
> To the farming families of Switzerland’s Engelberg region, cable cars aren’t built for ski holidays and scenic views

The simple farmer's cable cars are used by skiers as well though. The terrain around Engelberg is excellent for skiing and many skiers use them (paying a small fee to the farmers) to reach areas not heavily skied like the nearby resort
> The purpose is exactly to express possibly missing return values

Operative word: type-safe. std::optional is not that.

> I also don't see why you would ever use it in the way you're describing.

I'm literally just describing the semantics of std::optional.
For me, it was on the NASA KC-135 zero-gee simulator aircraft, better known as the “Vomit Comet”. Between parabolas, while experiencing 2 gees. While throwing up.
Is Internet of Energy the future of the energy sector?
What premium are you paying? I never found that System76 products were that expensive. I owned one a while ago. It lasted 6 years and was still working when I replaced it.
I think asserting that there is a vast global Jewish conspiracy points strongly to insanity.
For the record, our ability to link individual weather events to climate change is not zero. In the last 3 years or so we have become pretty good at it.

https://www.nap.edu/catalog/21852/attribution-of-extreme-wea...
The Fastest Way to Increase Your Site's Performance
Remember how you responded to someone who was talking about the biggest polluters, and you couldn't attack that statement, so you changed it to biggest polluters per capita? That's where your logic failed.
HardenedBSD would just receive it downstream from OpenBSD, wouldn't it? It's like contacting the Linux Mint group while contacting Ubuntu is sufficient.
Where is that technology now?

https://support.skype.com/en/faq/FA34542/how-do-i-set-up-and...
Eh, I’m guessing it was just a weakly formed joke they don’t appreciate. I find it hard to believe /s was needed for that level of hyperbole.
Correlation with maybe a small dose of cause.

If you don't take care of yourself, the body isn't going to let you attempt to care for two.
> Except that's exactly why you would take an `optional<int>` as a parameter.

Except for the type-safe part which is the important bit (hence the emphasis on it), and which std::optional does not provide.

> To avoid the ambiguity and possible bugs of taking an `int*`.

The only ambiguity and possible bug (singular) you're avoiding using std::optional is the question of ownership. Because as emphasised in the original comment std::optional is no more type-safe than a raw pointer.
"Impressive, but what happens if Google Assistant eventually learns how to masquerade as its owner?"

This is the stunning level of anthropomorphic granting of super human abilities the common person places on our cute statistical trick we saying is "artificial intelligence". Naming this field AI was a poor choice.

I am sick of the clown-authored-mentality of the articles being published about AI today.
>Best practices are a very wide category, don't parse HTML with regular expressions is the kind of thing you really should just say don't do that.

I call BS.

"Don't have a continuously running service parse arbitrary HTML with regular expressions" would be a bad thing.

Parsing specific, given, HTML files, with known structure to the dev, with regular expressions (e.g. as part of a one-off scrapping script) is totally, absolutely, fine.

If my HTML file is like:

<html>
<body>
<a href="xxxxx">foo</a><br>
<a href="xxxxx">foo</a><br>
<a href="xxxxx">foo</a><br>
<a href="xxxxx">foo</a><br>
<a href="xxxxx">foo</a><br>
<a href="xxxxx">foo</a><br>
<a href="xxxxx">foo</a><br>
</body>
</html>

I can parse it just fine with regex.

And even parsing is the wrong word: I can extract the information I want is a better term. I won't be parsing anything in the AST sense.
I’m not sure that you understand how options work, tbh.

Your example would be nonsensical in any language I’m aware of.
> Even over 40? I am genuinely curious.

It'll be tougher, especially if you are a white or asian male, but there are plenty of software jobs out there. You are less likely to be getting choice projects, raises, promotions, etc. And you are on the top of the list come lay off time, but you won't be on bread lines anytime soon as a software developer. But you will be marginalized as you get older and even more so if you are part of the overrepresented group in the industry.
What if some already-aware computer continually realizes it's undergoing a Turing test and decides to play dumb because it knows the person behind the test will feed it even more data trying to get it there...
Even if you work in a team, surely you take on individual tasks based on what team has decided?
I believe the resize issue is fixed on Gnome3 for awhile now, or maybe it was some issue with Ubuntu's default theme?

Global Menus is unfortunately something that I still miss, although I was able to recover some screen space with an Extension called Pixel Saver, which merges the window control bar with the panel by removing the window decorations and adding the buttons to the panel. Not ideal, but useful.
Startups like Uber decimated taxi companies. Rental cars are next
At first I thought this was an error in implementing new docs related to Meltdown/Spectre. But the original research paper:

https://everdox.net/popss.pdf

the researcher wrote:

> Somewhere around the release of the 8086, Intel decided to add a special caveat to instructions loading the SS register...where loading SS with [`pop ss` or `move ss`] would force the processor to disable external interrupts, NMIs, and pending debug exceptions.

So it's a really, really old piece of documentation, dating from around 1980.

To call it a 'misinterpretation' rather than a vulnerability is extremely generous, given that most Intel engineers spent entire careers in the presence of code vulnerable to this 'misinterpretation' without calling the OS vendors out on their error.
You probably don't because net neutrality isn't an automatic win for everyone. Some companies clearly benefit from the repeal. They do have incentive to invest in their networks when they can monetize it every which way, it's now a feature they can charge for...

Except maybe for a PR tidal wave so huge that anyone who opposes net neutrality is driven out of business, I don't see how you convince companies to go against their own interests.
What do you even use pidgin for nowadays? I haven't launched it since AIM died (and MSN before that).
Both a car and a house has a registered owner, so Stallman would most likely have no issue paying for both without insisting on cash.

The issue, as he explains, is one of tying the purchase to your identity. If it can be avoided, you should use cash. If you have to otherwise identify yourself for other reasons (like when buying an airline ticket, or when buying something which inherently identifies you, like paying for the stallman.org domain), there is no question of avoiding identification, and insisting on cash would be pointless.
Please share the Pebble stuff!
Achieving the 50% gap is almost mathematically impossible without discouraging men from pursuing STEM and encouraging these same men to go into more people-oriented careers such as early-education, social workers, and human resources.
The only graphical installed I've seen was the corporate 'build' of redhat, a 65 page mammouth document that talked about 'disabling telnet'. WTF? Why the hell is telnetd even on the machine? They also had X on there -- on a frickin server.

That's when I spent some time doing an ubuntu build, which even as of 16.04 is ncurses based installer. Boot from pxe, give an IP address/gateway/dns/hostname etc, approve the automatic partitioning selection, select which support area looks after the machine (for user generation, monitoring, etc), and that's it.

Everything gets the same base install, including things like active directory based logons (with ssh keys for those who want them), automatically adds itself to nagios. Build a dev installation (which you select form pxelinux) and auto patching gets enabled, and syslogs get fired off the the right location.

On a VM this can of course be passed as part of the creation process, so it just take 5 minutes to build from scratch. When it comes to building on real hardware it's just a matter of typing the stuff into the boxes then going and making a cup of tea.

After the base install is on, you can then either apply an ansible script to do various package installs, or do it old-skool with apt-get install $package.

It's entirely possible that debian testing may work, however from a corporate signoff (and when you've got nearly 2,000 of these machines installed you need that) saying you're basing the company on 'Ubuntu LTS' is far better than basing it on "Debian Testing".

We've run this way for over a decade over 6 continents, it just works.
I agree.. if you ask any kind of question on code optimisation on stackoverflow you’ll be bombarded with “profile and see” responses, or “don’t bother, your compiler can do a better job” or “use an existing library”, but... profiling will only tell me what’s best on my current hardware, not in the general case. It doesn’t help me understand typical performance characteristics of common operating systems or hardware. It also doesn’t help me with coming up with new better approaches that I don’t know about (which is why I’m asking the question in the first place, to learn what I don’t know). The compiler can do a decent job, but it’s not magic and it often pretty easy to beat the compiler or at least helping it (eg by following Mike Actons advice - compiler can’t make cache inefficient code cache efficient often). Finally, regarding using libraries, sure, in production code I probably will, but I want to learn! If nobody learns, who will write tomorrow’s libraries?
Ok. That makes more sense. :)
If you want to see what pharmaceuticals would look like without the FDA, look at the "dietary supplements" industry, which is a drug industry that the FDA is explicitly prohibited from regulating, except in the most narrow truth-in-advertising and product-safety areas. The companies can't be bothered to actually put their claimed active ingredients in their products.
That's what I would do: quit Europe. FB is part of life of millions of people. They would cancel this GDPR thing in a day to save their FB experience. Or at least add an exception to GDPR for FB.
What Is the Difference Between Sylius and Magento?
Any good implementations if common lisp on Windows?
I think a common misconception of planning is that you wish to avoid logging and the "hassle" it means. For me, logging what I have done is the only way to keep track of the project status and let my team members know what have been done.
I was really sad to see Debian omitted from that list, they patched it too but were described as "other Linux distros" :(
Ask HN: Where do you backup your local databases?
HN,

I have some at home projects that do not need to live on Google cloud or aws, and would only introduce costs in excess of running things locally.

I now have around 10gb of data (not a lot in this world) that I want to backup just in case something happens to my local box.

For code this problem is easy (git, bitbcuket etc). But for databases I am unclear.

What do people use? I could go the Google drive route, but I feel like there must be tons of options for a problem like this.

Thank you for any guidance.
mGSD is based on TiddlyWiki Classic, here is GSD5, a new project, built on the current version, TiddlyWiki 5:

http://gsd5.tiddlyspot.com/
Nah, it is a passive-aggressive turn of phrase to try to make System76 look bad by being the "lesser" party.

It is the kind of crap one would expect from a project spawned of the Gnome camp...
> building an mp3 database would be one line of code or two in python

You mean because of the availability of libraries, so that the code would be something like

import some_database_library
print("Look, I have a database:", some_database_library.connect())

?

Otherwise, how do you build a database (or anything involving MP3 files) in a few lines of Python, and how is it so much worse in Lisp?
API Performance, get fast app to get happy customers
That's the only way I've ever seen it implemented. If you're proposing some idea for having null in the type system as a normal type (that doesn't boil down to just being equivalent to Option/Maybe), can you be more concrete?
If you're into this, I recommend the classic book Shelter (https://www.shelterpub.com/building/shelter). It documents the design, construction and use of many styles of shelters around the world (including yurts).
Are you kidding me? It's not a cute statistical trick, it's a well-thought out mechanism to re-create in 1's and 0's how the human brain works and thinks, we're merely infants in what this will become, as we mind map the brain more - I'm sure the technology will pivot quite a bit, neural networks may be obsolete and something more powerful come along viz a viz quantum computing, but to say talking robots that can totally be confused for a real person, and self-driving cars that make life/death decisions on their own is not impressive and not AI or 'machine learning' is outride ridiculous.

Intelligence is something with short and long term memory, that can learn new things in an organic fashion, right now we can 'train' ai's to do some amazing things -- but this is only the beginning.
1.3M vCPU grid in AWS
That sounds pretty terrible. Why did they need a bunch of wrappers?

I’m a big fan of vanilla tooling. Complex build, version control, etc gets no love and ends up ten years later as a big mess that no one understands or wants to support.
So are you saying that you don't allow them to say no to the first-stage, and have it pop up immediately after, or that you pop it up every time they open the app?

I don't think it's innately condescending to ask someone for permission and outline exactly what you need the permission for, but I don't know the copy you are using.

I know that in context it makes sense, but people read things and don't think about them in larger context all the time. They think about them individually - do I want to give this thing permission to use my camera? No. Do I want to give it permission to use my camera so that it can do this thing I want it to do? Yes.

That's why outlining the purpose as in the second case makes it more likely for people to say yes.

Have you tried putting the reasoning on the second dialogue or is this a native one that is uneditable? You might be right if they are spending less than a second, but I've found with websites that a surprising number of people read everything. It'd be an interesting test if it's possible.
I was just in La Paz and was going to make sure it got recognition as well. What a beautiful city.
Tyler Winklevoss Responds to Bill Gates’ Anti-Bitcoin Comments – Viral Docks
If there is a modern C++ compiler available for a platform, it is almost irresponsible to use straight C. That doesn't mean that everything needs to be pure idiomatic C++17, but destructors, templates, iteration, operator overloading and move semantics are still indispensable in non trivial programs.

Avoiding bloat and performance hits are trivial in comparison to structural and architectural benefits in the modern language.
To be fair, Intel docs are so consistently gibberish that it might as well be classified a separate language (similar to english, but only a quarter the information density).

In this case it seems they just didn't properly specify a piece of insane behaviour though. Hell, I'd consider it an outright CPU bug if I'm reading this right. Seemingly there's a "feature" where loading SS causes interrupts to be delayed until after the next instruction, even if the next instruction disables interrupts - so you can cause an interrupt to fire on the first instruction of the handler (where it should be impossible).
> The Fastest Way to Increase Your Site's Performance

Throw out React?

Just kidding, we're not here for real solutions!
What would be the point, they need only wait to be connected to the internet for an unlimited source of data.
You forgot to include the sarcasm flag. I suppose "tag" these days, right?
1 - Don't be afraid to follow your passion

2 - Never too early or late to start a fitness regime

3 - Don't Over-plan
"Both Peterson and the CERT/CC team blamed the "unclear and perhaps even incomplete documentation"

Yet the article's title makes it seems like it was the OS implementors faults instead of Intel's.

I wonder for what reasons the website tries to shift/soften Intel's fault on this?

Seems like there's a trend in news articles to have incoherent titles in relation to content lately, it's really annoying...
You don't - you can only change the rules of the game so their interests are set in line with public opinion, or environmental standards, or safety practices, or whatever else.
The closest to an answer to your question is to install Devuan, which is a Debian fork that was motivated exactly by people wanting freedom to choose their init system.
There isn't one BSD kernel like there is one Linux kernel, there are several different ones which might borrow from each other, but are developed independently. A comparison can be found on Wikipedia: https://en.wikipedia.org/wiki/Comparison_of_operating_system...
Yes, fear of turning on its owner is way overblown. What about the more immediate issue that it is designed to be turned against service workers, so that when it screws up it wastes their time instead of yours? Or the more immediate wake-up call that this tech will be used in malicious phishing attacks against your grandparents (not by Google, obv) in another year (or month)?
Introduction to Recommender Systems in 2018
Oh man this brings back memories. I learned golang for/during a performance coding competition. It was extremely frustrating asking questions about unsafe, pointer casting, and other nuts and bolts in golang-nuts and the irc channel.

People were flat out refusing to answer very straight forward questions because "what are you trying to do", "that's not safe", "you shouldn't have to do that".

Other fun times; trying to clear the dirty bit on an ntfs file system, and probing into details only "library writers" should have to worry about.
Classify SSC as philosophical musings, with a vague basis in science. If philosophical musings aren't your thing, and they are not most people's thing, it isn't going to appeal to you. SSC posts are generally "the sausage being made", not a nicely-digested final product such as you might get in a school course.

I mean this as neither defense of SSC nor an attack on SSC. It is simply an explanation of what it is, and an observation that you may simply not be in the target audience.
There are good, honest use-cases for this technology though: for example a food ordering platform that needs to gather holiday openings hours for hundreds of thousands og restaurants globally. These restaurants are not tech-savvy: so the only alternative is using people to call them.
IIRC, I think I read that one of the voice changing/manipulation AI's can actually fool voice recognition systems to like 95% accuracy or something... Meaning it just became obsolete as a biometric marker for security.
If you set the window’s collectionBehavior to:

NSWindowCollectionBehaviorStationary | NSWindowCollectionBehaviorCanJoinAllSpaces

…that should give it roughly the same behavior as the system desktop window. If you want to have things like different windows for each space, that might require the brittle hacks you’re talking about :-).

By the way, I meant to say that your approach is super cool too, and the blur and shadow effects look great.
You try out stumpwm. It's a tiling window manager that allows you to take full advantage of your big screen. Simply entering "Control-t s" would vertically split your screen and make that unpleasantly wide page readable.

Still too wide? No problem! Hit "C-t s" again and you get another vertical split.

"c-t r" will undo the last split and "c-t q" will undo them all.
It's just pseudocode. Whether one explicitly expands out the "x" as "x.GetValueOrNone()" or the type system implicitly converts/coalesces any "null" value of "x" to propagate the null to "y" or one has to explicitly write pattern-matching code is not relevant because none of those syntax details affect the author's thesis.
I'm a beginner in this area, but maybe someone can help me out. Would this be a replacement for something like Passport or Auth0?
AFAIK those who had more than €100k in deposits just plainly lost a portion of their money:

https://www.reuters.com/article/cyprus-bankofcyprus/cyprus-c...
I'm sure -- the only times I haven't are when I haven't even had the opportunity to. I was just joking around.
I use portacle with SBCL on Windows: https://portacle.github.io/
Generally SBCL appears a good implementation.
I can see the Robot being like Eff that, they work for Microsoft, go make your own damn appointment.
Paper with proper evaluation section or it didn't happen.
Maybe it mentions it, but if you only read comments that thickness from the cut has a name - kerf. Don't forget the kerf.

Dimensional lumber is anything but that. I once needed to rip down a stack of 2"x6" lumber to the same width. Some pieces would run through the saw without cutting anything off, others would leave a 1/4" strip of scrap. Take into account the kerf and there was almost a 1/2" difference between some pieces.
Foot-candles: the different paths to tech
Can't believe this comment is the only mention of iodine in both the thread and the article. I supplement iodine daily and it's honestly changed my life.
Deep Learning for Recommendation with Keras and TensorRec
And furthermore, the current stack address is determined by the combination of two registers: ss for the segment and rsp/esp/sp for the stack pointer within the segment. I guess the strange behavior around modifying ss comes from the fact that you need to also modify sp immediately afterwards, because otherwise you are running with a wild stack address pointing to random memory. You also can't modify sp before modifying ss because then you are also running with a wild stack, and an interrupt could come in at any time and push things onto random memory.
He’s a smart guy, he knows that the whole Mars thing is just PR for people who want to believe. Musk is a marketing genius, but when you strip away the money he’s in it for money and power.
Typed Racket is more ambitious than other attempts at adding types to an underlying untyped language. Namely, Typed Racket guarantees that typed code is never to blame for certain contract violations, and, if any such contract violation happens, it will be properly traced back to an offending piece of untyped code. This is what makes gradual types gradual (as opposed to merely optional), alas, it is also what has been found to have unacceptable overhead.

Relevant paper and talk:

http://www.ccis.northeastern.edu/home/types/publications/gra...

https://www.youtube.com/watch?v=1u1JGwmW0IQ
The Aragon Manifesto (A pledge to fight for freedom)
Why would it be immoral of me to not want to be harassed and threatened on a regular basis during my commute? Because that was basically my experience of depending on busses for ~6 months.
Robinhood rockets to a $5.6B valuation with a massive new funding round