skysight-inc/HackerNews huggingface dataset:
Java streams are great. Having to go from collections to streams (`.stream()`) and back (`.collect(...)`) is annoying, but understandable from a compositional point of view.

For fun, you can further reduce the size of the code above (and IMO, make it clearer), but using `Arrays.stream(product)` and a method reference for the `map`:

List<ProductDisplayInfo> list = Arrays
.stream(products)
.filter(p -> p.getCategory() == 2 || p.getCategory() == 5 && isProductUnderDiscount(p))
.map(ProductDisplayInfo::new)
.collect(Collectors.toList());
> Ok, but it's not like Microsoft can't discuss with W3C any problems (in their view) in the standard.

Oh, I'm not defending Microsoft specifically, they're generally pretty horrible on this front. All the browser vendors have components in various states of compliance though, and some components seem to sit at a certain level for years.
Wow. I've just been poring over the Fastmail website, reading about all their features, and wondering what the catch is, i.e., the price seems astonishingly low for everything Fastmail offers. I'm totally signing up.
I don't know why is necessary to explain anything. Maybe the explanation is that the Germans work less hours.

It would be logic, a richer country, a better life. Is that shameful or something?
But perhaps for other governments and other parties. The customers.
Yeah, life has enough darkness without me seeking it out.
Maybe it's just me, but I can't stand having to wait to watch someone slowly type something when all I want to to is know the command or understand what some output should look like.

Similarly, I've never seen this sort of thing used professionally, just on blogs and project demos.
I seriously think about if it would be better if there were federal law, or even a constitutional amendment, which prohibited any city or state anywhere in the US from giving favorable treatment (tax or otherwise) to any business, sports team, stadium, or anything else.

All it produces a race to the bottom where businesses win and people lose. And it distorts the free market into an uneven playing field, creating situations which are a win to individual business but where the change/move is a net loss for the economy overall.

I don't understand why this isn't more of a hot-button issue. Everyone should care about this.
Just out of curiosity, how much does this all cost?
I came here expected here read: Don't use MongoDB, use your noggin you figure out which database you should actually use.
I'll need some makeup artists from Star Trek TNG to help me get ready in the mornings.
Only thing missing is a chaos monkey to randomly power down devices to make sure everything still stays available.
They also put out a lot of propaganda and false information out to get their way. It's not like they just take advantage of an opportunity. They create that opportunity with a lot of questionable practices.

And in addition voters are stupid. Spending a million on a swimming pool for kids is waste but half a billion for a sports stadium is a must.
The good news: number of working hours decreased from 2000 to 2017 for pretty much all the countries in this report. A sign of overall development in my opinion.
I live in a high rent area much like yourself and I don't necessarily agree. It's pretty affordable for couples like my wife and I- and we aren't running the risk of having to sell our house at a major loss if and when the housing market falls out due to whatever reasons.

We're saving for a house while pretty aggressively paying off our student loans... but the flexibility of renting has been great.
Words are defined by their usage. A vanishingly small number of people use the term image macro, and in my experience that has mostly been for pedantry.
Pretty sure all the In-Cab systems still have axle counters and track circuits.
Yeah sure, because the honey needs be free of liquor!
In North America, there is no longer a "Fireman" position on diesels. You have the Engineer and the Conductor in the lead engine, and a "FRED" Flashing Rear End Device on the rear to control the air brakes, report speed and acceleration back to the head end.

More often these days, trains have extra engines on the end (and middle) that are controlled from the front in Distributed Power Units (DPU's). By spreading power out, you have more control, less stress on the couplers, can run a longer train, and the air brakes respond faster (closer to each engine for pressure changes and recharges).
Having teams that are run for-profit makes teams more financially valuable and thus the NFL more financially valuable as a result.
If I had to pose for a camera while wearing ridiculous-looking clothes and/or makeup, I'd have some pretty deep contempt for everyone involved (including the viewer) as well.
Thanks for everything that you do, Dave. Your bufferbloat and WiFi work is excellent, and I'm excited for the airtime fairness work with Toke to make it into more 802.11 drivers than ath9k. Cheers.
>All it produces a race to the bottom where businesses win and people lose.

If only businesses win, then why do cities want the business to come to them in the first place?
What caused the glut was Samsung's massive expansion in the early 2010's. Samsung was trying to increase market share in DRAM and they pumped in billions in CAPEX to increase their manufacturing capacity. That not surprisingly drove down the prices of DRAM between late 2014 and 2016, which benefited consumers, but also huge loss for all DRAM makers. This also meant that they couldn't invest much into their future capacity which is why we have the kind of price surge that we now have. This is no brainer if you look at it as business cycle. It looks like all DRAM makers are increasing their output now, but probably not enough to bring down the price fast enough, as it takes years to ramp up production.
I think in the 50 years, we've found it's more cost effective with a better return on value (and ultimately safer for all humans involved) to just shoot a robot into space equipped with a camera.

The whole Red Scare/Space Domination rhetoric was a Big Thing. The United States was sure that: sending something into space meant you could hit a target anywhere else in the world (with quite a bit of validation). If you do remember, it was because we essentially stole tech/scientists (willingly, or at least intelligently from a political and "i'm going to not be locked up in the gulag" point of view) from the Nazis at the end of the WWII that we were even able to get into space.

It was a craaaaaazy time.
You have a cab at both ends. In between are just slave units. No cabs, even if they have motors.
Reminds me of what my brother in law says: I don't want to be stuck doing tech support for my family.

With my luck, it would catastrophically fail while out of town, leaving the wife and kids without internet.

My dad set up a lot of complicated stuff like this. As people are prone to do, eventually he died, and it just made it difficult to troubleshoot technical problems for mom. So now the equipment sits in some corner, unused, because we replaced it all with something your average AT&T technician could troubleshoot.
I think market value of NFL teams in aggregate is about $60 billion. Anything which come close to that number looks big, bad, serious business to me, quite opposite of romantic.
Type safe remote function calling between client/server in TypeScript projects
Here's mine:

1. Bank charges ~5 USD

2. It happens same day

3. The receiving bank charges nothing

I'm typically transferring between US, CH and GB accounts. Occasionally DE. This has been the case for all of them.

When I want to avoid FX fees/spread I just use Revolut as an intermediary, which adds about a day and no fees.

SWIFT isn't bad, bad banks are bad. Make sure to use decent banks and you'll be fine.
The problem is actually the industry. Many companies have tried, but keep failing. There is a really insightful report why innovation is stopped by huge barriers in the industry: https://www.sciencedirect.com/science/article/pii/S221042241...

The development of more sustainable cements is a challenging but urgent venture. Demand-oriented knowledge formation and the reliance on existing prescriptive standards impede progress towards more sustainable alternatives to conventional cements. None-the-less the last years saw the emergence of a number of technology based start-ups with ambitions to introduce new low-carbon cements as alternatives to traditional Ordinary Portland Cement (OPC). An overall analysis of the Technological Innovation System for cement technology is conducted. This is extended with an investigation of how three start-ups, Celitement, Novacem and Calera perform within this environment. The implementation of new materials requires new types of collaboration between R&D and market actors, a combination of synthetic with the existing analytic knowledge base and redefinition of standards and norms. Moreover, a close cooperation of incumbent actors along the construction value chain is precondition for success of disruptive innovations.
Gmail messages 'read by human third parties'
def had myself set up to have wifi-only during power outages when i was a student in my first apartment in SF, but the no-SPoF here is above and beyond. i'm really curious about the switch configs, nothing like UniFi existed the last time I tried to do network-HA.
Maybe a lot of agriculture and small business?
A fine mesh we're in: A guide to WiFi mesh networks
When that happened to me, I got up, walked to their office, and closed their door. At the time, it felt a little like Rorschach saying, "no, you're locked in here with me". I was closing just one of the doors to my office.
If you are older or disabled, you can potentially move and keep your base year value and move.

Alameda, Los Angeles, Orange, San Diego, San Mateo, Santa Clara, and Ventura counties all allow this.

Persons over age 55 or who are severely and permanently disabled may transfer the base-year value of a residence to a replacement dwelling in the same county, or in another county if the board of supervisors of that county adopts an ordinance granting base-year-value relief to replacement dwellings when the original dwelling was located in another county
> Also don't forget a standard 40 work week over a year is 2080 hours, significantly higher than the average.

Standard in the US, not standard everywhere.
I disagree, I think large groups of highly paid lawyers spent a great deal of time looking at the long term consequences and got the legislature to do exactly what their CEOs wanted.
If you are a model then you choose the wrong career path...
Good move on having not just two WANs, but two technologies. I've seen setups before where people have had two wans, from two different ISPs, but both cables ran down the same duct in the road. Single digger took them both out. It would be a pretty severe problem if fibre and wireless goes at the same time!

I assume you're not running a full BGP handoff to each ISP, so any existing sessions will die should your WAN die (as your lan get natted behind a different IP address). Presumably your nat state will move over in the case of router failure as it's a floating VM of some sort, so what's the failover time for each component? How does it compare to using say VRRP?

How are you detecting ISP failures -- are you pinging beyond the next hop, or are you assuming if you can ping/arp the upstream router, it's working? I've had failure scenarios with ISPs where the next hop works, but nothing past that.

What benefits are there of tcpproxy over something like nginx (for http/s) or dst-nat (for other connections)?

It looks like all your traffic defaults to WAN1, and only uses WAN2 in certain cases. Do you have the ability to send traffic for a given client to WAN2 by default?

What type of queuing are you using -- can 1 client hog all the bandwidth?

And finally, what keyboard layout is 6 above N?
If you have a VLAN capable switch and appropriate network card with the right drivers, then you can have all the logical ports you could possibly want.

I have done this at my parents place with a cheap Intel Celeron based computer with a single network port, but 2 logical networks with vlanning. One is for their personal network and the other is for their guest suite they offer through Airbnb.

It’s only 20MB/s fibre, so not much cpu power needed. The no name computer cost less than $250, came with a 60gb SSD and I put pfsense on it.
If I had a chocolate bar melt in my front pocket, I would have assumed it was my body heat.
The claims in the article seem like hyperbole. The specifics of this sort of thing are very difficult to know, though it does seem like there may have been some state-enabled theft of intellectual property.

The key takeaway from this article for me is not the specifics of the case involving Micron, but the attitude of the Chinese government toward non-Chinese companies trying to compete in their country and their willingness to use underhanded tactics to prevent fair competition if it means furthering the agenda of a Chinese national actor.

We will have to wait to see how effective US tariffs are at preventing growth of the Chinese economy, but I imagine that they will be viewed as too little too late in the grand scheme of history.
Spend any amount of time with an ESOL person and you’ll understand why. This is only an issue in primary english speaking countries. English is a complicated language to learn because of all these “rules” primary speakers make up that aren’t actually defined in the language. Also at what point is there a line? should we remove all words that a group of people find offensive? should the people finding the words offensive adjust their viewpoint? i’ve known people finding words like “petty” (as in petty officer) and even “sir”/“ma’am” offensive so should we also stop using those?
Environmental technology will be harder than we thought at first, then we'll get the hang of it. Some people will die along the way. Then it will improve exponentially, as economic impetus comes into play.

Unless you know a lot that no one serious claims to know, then this is a statement of what you hope for and maybe personally believe, but for which no evidence exists. The sheer bulk of unknown unknowns in environmental tech, not to mention other assumptions you’ve been making about industry in space and more, are too numerous and prevalent to allow for confident statements either way. You may be right that humanity’s destiny is in the far reaches of the solar system, but it could go many other ways. Maybe we’ll die in the dirt, or maybe we’ll thrive in completely different ways. For all that you know, rather than personally wish to believe, our future may more closely resemble something like a Dyson Swarm constructed by drones rather than hurling ourselves into the dim and cold reaches of space. Maybe we’ll figure out a mutually amicable way to control population rates and make the Earth a Paradise, and leave space for robots. Who knows? Not me, not you.

All of which is to say, please stop passing off something that is less than a hunch as an argument. The core of science is skepticism and a demand for evidence, while the core of pop science is an inverse relationship between knowledge and enthusiasm. Claiming to know what will happen in 50 years is a joke, in 100 years delusion, and in 1000 years religion. There are so many branches and twists and turns, both positive and negative and just plain unforeseen that futurism is crap.
So damn true, it's so difficult to get statistically significant A/B test results, and the popular tools actively lead you astray. It's rare enough for a startup to have the traffic to meaningfully get results on their homepage before the heat death of the universe, let alone random landing or in-app pages.
I'd recommend anyone reading this who does or wants to do A/B tests read: https://www.evanmiller.org/how-not-to-run-an-ab-test.html It was one of the trickiest lessons I had to learn.
Once you realize you need to set your sample size in advance, you actually have to do the math to figure out the traffic you'll need. That's when reality hits you.
Show HN: Trigger MySQL events reactively and dynamically
> With my luck, it would catastrophically fail while out of town, leaving the wife and kids without internet.

Two ISPs, two networks. One called "main", one called "backup".

If "Main" fails, move over to "Backup", either with a cable, or on a different SSID.
> You're proving my point, in that you don't see the situation holistically. You're assuming all "business" is tech. How about all the maintenance based services? Even inside tech, do you think all issue management in a giant data center is going to be handled by those 50 employees and not a slew of outside contractors?

I think that 50 full time employees are sufficient to manage the hardware maintenance issues that typically arise in a large data center, yeah. That's more-or-less the only reason to even have that many people on staff in a data center.

Building and A/C maintenance -- it's only one large building, and Des Moines has existing contractors fully capable of performing that kind of routine, infrequent servicing. This might stimulate one or two new hires at one or two firms, but I sincerely doubt it will require any more than that.

Literally nothing about this data center screams "slew of outside contractors" let alone "whole companies moving to Des Moines" to me.
The simpler explanation, with a grounding in marketing and cognitive science: we basically train ourselves to ignore ads. If successful our active brain doesn't register, while our passive brain might. Have we recently activated subject X in conversation, we notice ads around X a bit more. Hence the creepy feeling.

Another explanation might be: I just discussed a holiday and promptly got an ad for the exact island. The person visiting me probably uses Facebook, so FB knows we were together and knows where he went via location. Logical conclusion: people discuss intercontinental trips and hence: show ads.
Even more if you have distributed power. A train can separate, and both halves can keep moving.
Seriously, Hanlon's Razor seems a bit naive, especially when politics are concerned. Heinlein's reminds us to maintain a critical view.
ASAPP - solving complex and frustrating real-world problems with AI(ML/NLP)-backed software products. Check out our team at http://www.asapp.com/team

Product Traction: Our products are deployed with multiple Fortune 100 companies that spend billions on the problems we're solving

Funding: One of the highest-funded startups in NYC (led by John Doerr)

Stack: React/Go/Node

Office Location: NY (1 World Trade Center, 80th floor) <> San Francisco (SoMa area)

Open Roles:
<> Research Scientists (PhD with focus in ML/NLP)
<> Frontend / Backend / Fullstack Engineers (all levels, from 0+ years xp)
<> Solutions Engineer (for someone who wants to move away from hands-on coding and instead would like to be client-facing to to help them client-side engineers through our SaaS integration complexities)
<> Devops Engineers
<> Security Engineers
<> Technical Project Managers
<> iOS Engineers
<> Android Engineers
<> Data Scientists
<> ML Engineers
<> Product Designers

Interview Process: Phone Call >> Onsite Meeting Day >> Work at ASAPP!

Research: For the past ten years, members of our research team have earned top awards and distinctions at the most prestigious conferences in computational linguistics, and remain important contributors to the global research community. Recently, Regina Barzilay, one of our closest academic collaborators, was awarded a MacArthur Fellowship for her contributions to the field of NLP.

Perks: Generous Base Salary <> Equity <> 401K <> Excellent Health Benefits <> Daily Catered Lunch from NYC's Best Restaurants <> Wellness Perks <> Amazing office and View

Contact us: please email me at mike@asapp.com to setup a time for a chat!
iPhone Confuses ‘Syria’ for ‘Siri’ During UK Defense Secretary’s Speech
> What are they trying to suggest?

That smiling pleasantly is hard
> a scientific endeavor to figure out the color of a button would be over-the-top, because it’s not that important.

Not saying A/B testing shades of blue like Google reportedly does is anything useful, but picking a different button color altogether reportedly can make a difference.

Even if it's 1% more sign-ups each month, that can translate to a few more potential clients per month - and more word of mouth. If you think that is too trivial a difference to matter, think about what 1% more interest would mean over your career as you compound interest for your retirement.
No one plays fair in international trade. I mean, we've literally installed dictators in countries to get better trade consideration. And recently thanks to Snowden, we know that the NSA hacked AirBus to give Boeing an edge, and appears to believe that the "economic security" of the US is a component of their SIGINT domain.

I'm not really sure why we expect others to "play fair".
Besides like 10 papers a year almost everything else is incremental tweaks that are largely immaterial
I would disagree in the strongest terms. The book is essentially the opposite of what you described. It’s strong points are the general discussions of what deep work is and the differences with shallow work.

As a self-help book, it’s beyond pitiful. The advice given is often totally impractical for most people and is extremely hard to read because of the meandering inclusion of useless anecdotes about what this or that CEO does or the throw-away sound byte statistics cherry picked from old research studies and quoted out of context.

The closest thing to a self-help guideline that the book gives is to just state, unqualified, that you should make a ritual out of dedicating certain hours to deep work that cannot be interrupted by shallow work (unless you’re a journalist, in which case he advises some totally fictitious concept of just grabbing deep work time in an ad hoc way, whenever you can).

Really, I was interested in reading it primarily as a self-help guide for how to effectively enforce deep work time in my schedule despite meeting-oriented company culture and open plan offices.

In terms of self-help, not only does the book fail to deliver anything useful, but it could even be considered harmful to the extent that people buy into the anecdotes and sound bytes in the book.
They tried to cram in 30% more at my employer by turning U shaped desks into L shaped, and adding more rows. They were stopped by fire code and OSHA bathroom/employee requirements.
There are some small economic kickbacks for local economies, but realistically I would guess that it's probably small-scale bribery.

That or local governments are just really bad at math. Do they really think a business starting in their community is going to give back more than the billions in breaks they're giving?
There is a child present.
If you want to feel more inferior about your home lab, https://www.reddit.com/r/homelab is a good source of safe-for-work porn and information on over-engineered setups.
Proposition 13 passed by referendum. However I do agree with the general sentiment: it was probably easy for interest groups to rally behind senior citizens to their own benefits
The unimproved value of land is still a function of its proximity to other desirable things. Barring remodeling, it's not generally the value of the building on a piece of land that goes up over time.
> I've seen this repeatedly with ArsTechnica

Can you expand? I am an Ars reader, and I too find it frustrating compared to what it used to be. I wish there were more in-depth technical articles; I find it too light on details, written for a non-tech audience. I really, really wish it had solid technical content, since it's what got me reading it.

But I don't characterise it as click-bait (it seems clear) nor as especially political, except in so far as politics intersects technology and climate. In both those it seems balanced or erring towards freedom.
I am saying the part where the Republican government of Wisconsin gave away a waiver for environmental regulations to a large company is partisan.