skysight-inc/HackerNews huggingface dataset:
At least I understand the metaphor as "being able to inject logic, depending on some context, between each operation in a sequence of operations". Alternatively, it could be thought as programmable function composition. So, for instance with the Either monad, instead of some code like

var x = foo();
var y = bar(x);
var z = baz(y);

you'd have

var x = foo(); // returns an Either
var y = x.flatMap(bar);
var z = y.flatMap(baz);

where some extra computation happens in the flatMap calls that actually determines whether and/or how the function is called and what the actual return value is. In Either's case, if any of the chained operations returns an error, the subsequent operations are not executed and the error is propagated to the end of the sequence instead.
Kan Testinde Gebelik Nasıl Anlaşılır?
That does not help if you're using Chrome as your main browser, there's no cross-synchronization. Which I do because it's just way faster, and especially rogue tabs can't shoot down the entire browser including its UI.

e10s might be the thing that could save FF, but I fear that it's way too late.
Nullable types provide Optional already. I find the use of a custom wrapper type to be a massive wart, and Optional is a common enough thing that it's worth adding a bit of syntax for it.

Which is why I like Kotlin's approach. Same guarantees, one letter instead of ten. If you're writing Java, though, I can see why Optional has some use.
I'd expect that showering twice as long would not mean twice the energy required to make that water potable again.
The Double Edged Sword of Faster Feedback
CyberGhost 6 Crack and Activation Key Free Download Here
They weren't arguing from a legal, but from an ethics point of view.
Although it isn't an electron app it's just a bunch of CEF (Chrome-ium- Embedded Framework) 'panels' mixed in a single window so it's pretty close to an electron app
I like Factor, but staying small and innovative, I really like what Charles Childers has done with Retroforth. He has implemented a newer version running on a smaller VM Nga (the older was Ngaro) called Retro 12 [1]. Very cool stuff.

[1] http://forthworks.com/retro/
WordPress 4.7.2 release addresses XSS, SQL Injection vulnerabilities
Have fun trying to crashing the economy
Can any Californians explain how feasible this is? As a Scotsman I've seen first hand how quickly an independence movement can grow, especially with an unpopular government.
Since I got fucked over by PayPal professionally & subsequently ignored, I pulled PayPal from all sites I run and won't be using them privately either.

The way they conduct business is about as good and mature as their terrible APIs. No thanks. Never again.

Also I wouldn't recommend trusting a company that can't get a simple payments API right after multiple attempts (even after startups like stripe did it better) with your credit card info.
Is Evince capable of displaying the complex PDF's you are talking about?
It's not like the image is somehow accidental or out of the author's control. I don't know how you wouldn't read this as advertising a way to violate copyrights, it's an explicit advertisement of the sort of content you can find.

If the image weren't a suitable representation, then the author wouldn't have chosen it. You're trying to downplay that these sorts of decisions are intentional.
Incidentally, Scala discourages using pattern matching in cases like this (pun not intended), preferring the use of combinators (map/flatMap/etc).
I'm not from Cali, but I've read about the whole issue and here's what I feel.

1. They (the Calexit people) will let the U.S keep existing government infrastructure (military bases, etc.), but want them to pay for it. I don't know how they plan to enforce this.

2. As far as I'm aware congress decides in the end, and I don't think that it will pass even if the democrats take control in a couple years. California is a huge part of the U.S. economy and I'm not sure what leaving would / could do.

It could be my bias against it, but after reading the Yes California Bluebook, they seem to be a bunch of hipsters on the train of blaming the worlds issues on the U.S.
What do you mean 'I find' ? How do you find ? By observation ?

Stress has unique biochemical pattern that can be measured.
Decent quality paper and an assortment of Pilot Frixion Clicker (erasable) ball point pens in different colors are what I use for hashing stuff out, but even then a whiteboard is better for some tasks simply because of it's ephemeral nature.
What I'd like to see is a stealthy monitor with case (or just a universal case for monitor or laptop). The case, fully open, could latch open and the back flat side would be a whiteboard or even clalk board. Kinda like an artist's portfolio case, but for devs.

In addition the case, if laptop size, would be semi drop proof. The point being, I'd travel more by bike if I didn't hear a fall would total my hardware.

Finally, big ask here, make it insulated. Leaving my machine in a cold car while snowboarding means I generally like to wait a bit til the machine comes back to room temp.

Yes. I've seen hardened cases (a la for DJs & musicians) but they're often overkill, AND I want the outside to serve a purpose (I.e., whiteboard).

Keep it in the $100 range and you have a winner.
He, like many others, can't find anything technically wrong with systemd. But he has mentioned that he is less than happy about the people involved.
Optional types shine the best when you can chain them:

BufferedImage avatar = users.getUser(userName)
.flatMap(User::getAvatarUri)
.flatMap(ImgIO::read)
.orElse(anonymousAvatar);

I made this up, but I hope you see the point. Optional is just a fancy null pointer if you don't use it in a functional way. :-)
personally i find it interesting that..if i'm on my own, then i might as well be really on my own..own my own racks, servers, networking, mail, ldap, etc.. and tech like virtualisation and config management are making it easier than ever..
My Next Mac Mini
How to add clickable phone numbers in WordPress
TeknoSeyir – Haftalık Gündem Değerlendirmesi 2017/04
I came to Forth-like languages via PostScript, which has the advantage of a huge built-in graphics library. It very naturally introduces concepts like higher order operations, code as data and data as code.
That sounds like something that would often be built on top of a SAP stack. Or if not directly built on top of at it would probably need to have integration points for it.
Of course, the 90 days is there to give them time to come up with a more permanent policy, which will as likely as not be worse. If any terror attacks happen in that period, they will turn the screws even harder.
That seems to be an ongoing flaw of his, and others around him. No real interest in the history of UNIX. Where it came from and why it is the way it is.

All he sees is a nice pile of drivers to bootstrap whatever computing project he wants to get done, and thats it.
No it hasn't, absolutely nothing on those pages is an argument against anything I wrote. Not only can the rich easily avoid this system, they don't even need to do anything because today, the rich already hold almost all of their assets in non-cash form. So your idea doesn't work even if the rich literally to do nothing about, they are already safe before you even start.

Yes, the government can redistribute money of poor and middle class people that was collected this way back to them.
Ideally, this could be done on the screen itself. Using a 2-in-1-laptop like Lenovo Yogas you can position the screen directly in front of you, and it has a touchscreen (obviously).

I guess the problem is that even with digital pens, haptic feedback and maybe precision are not up to par with the real thing. But those things might improve a lot in the next 10-20 years, there seems to be a decent amount of research going on for the former.
Without the huge complexity of Scala and faster compile times. Java 8 is actually a surprisingly pleasant language to write.
getting a thinkpad X230T or a thinkpad helix (with wacom pen) from Ebay is much cheaper ;)
I suspect existing visa/GC holders will be allowed back in quickly once Tillerson is confirmed(better than 90 days). Not that that would mitigate how phenomenally short sighted and stupid the EO was.
This EO was issued yesterday US time and other countries are still studying their moves in relation to this EO but I wouldn't be surprised if some decide to court some of those talents esp Iranians, Iraqis and Syrians.
2. Will Americans stop screaming 'Murica', 'We are number 1' from now?

The people screaming that before this will mostly be proud of this action.

The number of refugees the US had taken from Syria was already pathetic. Stopping taking any is straight up evil.
Well, we fought a devastating war over the same issue in the 1860s, and "remain" won. So, if it went that far, "how many divisions does California have?"
I used to do this, but then I found the browser bookmark bar, and late Pocket
Netflix Director of Machine Learning Tony Jebara Joins TechIgnite 2017 Lineup
I only understood bureaucracy after living in France.
> There is a very similar dynamic going on with Brexit in the UK

the situation in the UK is very different, the political class are still entrenched and not going anywhere, whereas the US seems to be having a clean sweep

Theresa May's position that the UK is still open to globalism and wants to sign as many free trade agreements, and reduce barriers to trade as far as possible as the UK leaves the EU.
I seem to be in the minority here. Here it is: I really like this solution. Homebrew is not perfect and I had lots of headaches and problems with it. To install a program, I have to download lots of dependencies with it. Sometimes, these dependencies (especially Python) messes up with their counterparts; and then I have hell.

Lots of pythons versions, installed everywhere, and something broke somewhere. Then it comes the day I need a package, and homebrew give me that finger. There is, certainly, no way I can debug this problem since the debug log is a 5,000 line of incomprehensible gibberish.

This solution, looks like it consumes lots of resources. Well, resources are cheap these days. And I expect the next Macbook to have a more powerful CPU and at least 32GB of Ram. So consuming resources is the least of my worries.

My workflow today already consists of 8 docker machines. Every product is a machine and each machines has several containers. The dev deployment is a bash file that create and run these containers. I don't even need a full backup anymore! Everything is backed in Github and reproducible given enough internet bandwidth.

The next logical step is to have whalebrew; and thus all my unix/linux utilities are now contained in Docker too. My MacOs fresh install will have: Chrome, MacVim and Docker.

Now if Safari is as good as Chrome and a superior Vim (to Macvim) could be installed through a Docker container, my fresh MacOs install will only has Docker!
The definition of what constitutes a democracy reaches far beyond 'majority rule' and having a voting process. I'm not going to go into detail here as there are multiple easily found primary sources on the subject.
Show HN: Dynamic load balancing with Docker containers – without swarm mode
Whoops! Yeah, all this is sorta making me put off getting into the Microsoft Stack.
I think i spotted it quipped in various places around the time of a certain gif being released, but quieted down once people heard about consoled...
The more likely culprit is this:

> But Forth is also like a high-wire act; if C gives you enough rope to hang yourself, Forth is a flamethrower crawling with cobras. There is no type checking, no scope, and no separation of data and code. You can do horrible things like redefine 2 as a function that will return seven, and forever after your math won’t work. (But why would you?) You can easily jump off into bad sections of memory and crash the system. You will develop a good mental model of what data is on the stack at any given time, or you will suffer. If you want a compiler to worry about code safety for you, go see Rust, Ada, or Java. You will not find it here. Forth is about simplicity and flexibility.

When it comes to working on a large project in a team, I suspect Forth doesn't scale.

Think of why Go works so well for Google: it's designed for code bases that are maintained by many people. And almost every design decision that was made for that goes against the spirit of Forth.

It's too flexible; you can change anything about the system so any Forth code ends up deeply personal, and specific to the current task. It's a language for individual artisans, which is another reason why it works well in the embedded space. But it's not hard to see how it all goes up in flames when you're in a large team.
Is this still a sideproject for you? Or is it profitable enough to work on this full time?
I used to rotate on-call in a different industry, and I absolutely hated it. I'd go to a party at a friend's house, and would have to immediately get on their wifi network + secure a quiet room where I could go if the phone rang. Couldn't take weekend trips to go hiking or kayaking. My wife felt like she was on-call too, because it impacted what we as a family could do with our free time.

The calls themselves were no big deal.
NodeJS is a dependency in the usage instructions for Debian 7 and CentOS.
Impending acquisition tips (software engineer)?
I'm involved in my 3rd spinoff/acquisition and hoping for some tips

I work for a public company that is spinning off part of it's unit for > $100 million. They've told us that staff should not expect anything and money is going to the "parent" company. Previous deals all had retention/bonuses enticing us to sign, but nothing here.

Does my employment stay with the parent company, or am I part of the new company? If I choose not to go, the parent company has to choose to lay me off, or am i automatically out of a job?
I haven't used Scala for years, but fold[0] is one of the functional programming building blocks. It's applicable across languages and data types.

It looks like syntactic sugar here, but it's really not. It's just a function that is more commonly used on collections with more than one item.

[0] also reduce, inject, aggregate, and other synonyms, because naming is hard
My guess is the Omnibox is decreasing the value of websites like this.

Before the browser (or ISP) would suggest things like shoes etc if you typed it into the address bar.

Now you simply get Google (or bing) results.

RIP expensive domain names with no specialized business model behind them.
For any Americans reading this, how does it feel right now to have Trump as your leader give what he's enacted in the last week?
https://outsidethe.net
The Doomsday Clock is now 2.5 minutes to midnight
Horrible. I'm American, but I don't live there.

This stuff makes me worry about family back 'home' - and whether I'll be able to get back out again. Do I risk not seeing my spouse or do I hold out on visiting family? My spouse, who is not American, refuses to go back with me if I do.

Edit: Some things I thought of after I hit send:

I realize this may be unfounded, but things are so... unsure ... right now that I don't trust the government at all. In addition, I'm relying on news and it looks pretty dire. This looks like the sort of policies that American's used to laugh at.
How to Find GUARANTEED Cheap Flight Ticket in Only 7 Steps
The people who actually supported Trump are likely pleased with how things are going. He's doing exactly the sorts of things he said he would do. In the US, the President does have a pretty crazy amount of power, and recent Presidents have all expanded that power, with Congress's and the Supreme Court's assent most of the time. So now we get a President with no respect for the office or anything, which is exactly how he campaigned, and he's going to abuse that power as much as he can. It's truly frightening.

As for democracy, this election actually wasn't an example of it. Millions more voters voted against Trump. The US Presidential election system is obviously broken. It was obviously a ridiculous system before the elections of 2000 and 2016 proved that it was.

Believe me, most Americans agree with you that our elections have become a joke. Congressional districts have been redesigned in the past 10 years to give Republicans a huge unnatural advantage in the House of Representatives. And the US Constitution itself gave us the undemocratic Senate and Electoral College. These things are by design. They were built to be safeguards against democracy run amok. But now the GOP has figured out how to make those safeguards work against the country. It's going to get ugly. It could happen really fast. I'm genuinely scared about the future of the US and the world.
'After the Flood' Showcases Newly Arrived WebGL 2 API
I kinda guessed that forth was an amplifier for one mind rather than a team building exercise.

But I'm still curious about which company is using Forth, who are the devs, etc etc
Ignore the indentations and look at the horizontal line. It's a cow's back. The cow is looking right and its horns are visible.
Cannibal Hamsters
Paul Graham: Let the other 95% of great programmers in (2014)
Let me be the one:

I'm a fairly decent programmer and I never worked with map or flatmaps outside of examples.

I have however significantly simplified two significant code bases, made and maintained for years a webapp that users loved etc.

Very often I feel it is just people wanting to sell something and it wouldn't surprise me if many of the people who sell functional are the same who sold object oriented back in the day.

This article was actually a bit refreshing IMO.
Obama also signed many executive orders in his first week. He set the precedent.

>> - without studying the history of why things are the way they are

In this case. Studying history about immigration from certain countries?

>> - without appropriate counsel of stakeholders

Who decides what is appropriate?

>> - without any repercussions for such actions (no checks and balances provided by democratic systems)

Chosen for by the US democratic system and exactly done as promised.
This suspension could be renewed very easily and even extended to other countries. There's a report on NYT [0] which fielded questions to Iranian officials and politicians looking for their reaction to this EO and they made it very clear that they won't share any sensitive info about their citizens with the US admin rendering them to be the most likely candidate to be permanently banned from entering the US esp. when taking into account that they top the list of those seven countries in terms of visa holders in 2015.

[0]: https://www.nytimes.com/2017/01/27/world/middleeast/trump-vi...
On the contrary, I think the situation in the UK is very similar - nationalism and patriotism are being exploited to sell people a story of immigrants taking their jobs, lowering wages and causing crime. It's an old story but entirely false. Almost all the tech leaders in the US today are immigrants - e.g. Musk, Ellison, Brin, Yang, Bell, Omidyar. Even Jobs was the son of a Syrian immigrant.

As to Trump being a clean sweep, there's nothing clean about his cabinet or advisors - he has one of the most traditional, male, rich, white cabinets in recent history and even includes family in his inner circle and in meetings. I don't think it's clean in any sense, neither new nor free of corruption.
> If this API is not understood then the code feels convoluted.

I think there is more going on here. For the sake of eliminating an if, you are lifting everything else into what is effectively a separate language with the original code embedded in that language. Overall, that doesn't look like a win to me.

After all, what is the actual domain logic? Is it flatMap().map().flatMap().map()? Or is it validate().businessLogic().generate() ?

That doesn't mean that what is going in isn't useful, but it seems to me we need to have a way to specify the lifting without writing it down everywhere, so that the actual code can be expressed at the base level again.
Just as many consider him a traitor.
Great. It's about time that our immigration policy served our own self interests again. Taking people from the Middle East is a security nightmare and a cultural disaster. I don't want my country to be like France or the UK with burkas and honor killings everywhere. Or massive populations that are sympathetic with terrorists.

Immigration is about serving Anerica's interests, not the interests of those who would come here.
You can wear your heart on your sleeve, but you won't win a hand of poker doing it. Refusing to participate when there are plenty of people who can replace you accomplishes nothing. Appearing to go along while sabotaging the process is far more effective. You've helped no one by proudly showing your hand. If anything, you've shown you aren't willing to do much of anything beyond sign petitions online.
The closest equivalent would be something like:

Optional<Integer> num = getSomeRiskyNumber();
return num.map(x -> ...).orElseGet(return error or whatever);

Which is just as type-safe. There are a number of variants, including flatMap for when the map operation itself returns an Optional (the monadic bind operator) and a number of options for how to deal with the empty case.
I have a very similar experience. Another thing we do is to align our style guide (and automated linting) with code review, mostly with the intention of reducing diff noise and therefore mental overhead when reviewing. The ability to align in this way depends on the language, but we've had a fair bit of success doing this in Python.
The title of this thread is rather ambiguous; MEGA has published the source code to their client APIs for quite some time now[0]. Even their iOS, Android, and Windows Phone apps are open source on GitHub.

[0]: https://mega.nz/blog_31
Ask HN: What is your opinion of KnockoutJS
I was using it recently, but some react hipsters laughed at me and called it a legacy framework.
Aren't they doing this for years now?

London, Berlin, Barcelona are names I always hear when they talk about tech start-ups in Germany.

With the Brexit an this EO, maybe the dream of Berlin to become THE start-up hub of Europe will finally become true.
Well, you'll reap what you sow. The whole reason Trump is doing all these things by EO is because he urgently needs a crisis during which he can be the strongman. Given that the USA is in fine shape (despite fearmongering to the contrary) his first order of battle is to provide said crisis.

Putin could not have picked a better guy to lead his 'divide and conquer' strategy, give it a few weeks, months or years and then come back to read your comment here and try not to feel very foolish.

I wish you best of luck with the aftermath of all this, one thing is for sure: America will not be any 'greater' than it was before Trump became president and mostly likely will be a lot less great. America's enemies will be that much stronger by having diminished their main foe.

If I'd be living in Ukraine, Lithuania or Latvia I'd be quite worried about what happens next.
Compare and contrast the security nightmare created by the Second Amendment with the security nightmare created by taking refugees and other immigrants.

Hundreds of people are killed by guns each week. There's been a couple of refugees who did anything violent in a decade.

But sure, let's be afraid of something as vague as people from the Middle East.
Are there any noises about coming capital controls on foreign remittances? Seems like a logical next step to enforce the lock-out of foreigners and lock-in of assets.
Do you want internet points? Because that's not how you get internet points.