skysight-inc/HackerNews huggingface dataset:
> such like socket programming

That's one of my biggest pet peeves (and if you see my other comments, you'll notice I have quite a few).

To do socket programming in asyncio, you can either use:

- protocols, with a nice reusable API and an interface that clearly tells you where to do what. But you can't use "await". You are back to creating futures and attaching callback like 10 years ago.

- streams, where you can use async / await, you but get to write the entire life cycle by yourself all over again.

I get that protocols are faster, and match Twisted model, and I get that streams are pure and functional, but none of this is easy. I use Python to make my life easier. If I wanted extreme perfs I'd use C. If I wanted extreme pureness I'd use Haskell.

> wrapping non-async-compatible libraries and separating cpu-intensive blocking tasks to awaitable threads

That's the one of the things asyncio did right. Executors are incredibly simple to use, robust and well integrated.

Problem is: they are badly documented and the API is awkward.

I won't write a tutorial in HN, but as a starting point:

You can use:

loop = asyncio.get_event_loop()
future = loop.run_in_executor(executor, callback, arg1, arg2, arg2...)
await future

If you pass "None" as an executor, it will get the default one, which will run your callback in a thread pool. Very useful for stuff like database calls.

But if you want CPU intensive task, you need to create an instance of ProcessPoolExecutor, and pass it to run_in_executor().

I say it's one of the things asyncio did right because the pools not only distribute automatically the callbacks among the workers of the pool (which you can control the number), but you also get a future back which you can await transparently.
You must test Deezer
The same for me - it got to the point of infuriation that if I navigated away by clicking on a link to a Chrome tab, if I came back to engage with the post organically, it was hidden from the feed.
I'll throw my support for Filco here. I've been using the same Filco Majestouch Tenkeyless with Cherry Browns as my only home keyboard for 10 years, and it's as good as it was on the day I bought it. Absolutely fantastic build quality.
What is S/MIME? How does it work? Do I need S/MIME?
Since then Jeff Atwood launched his own keyboard.

https://codekeyboards.com

Edit. Never mind, looked up WASD and they appear to be linked to Code
You've added a /s but some mad man is already pitching this somewhere in the valley and it probably being taken seriously
Obligatory shout out to Learn with Texts - http://lwt.sourceforge.net/ - which interfaces with Anki.
It is just not convincing. Their action tells all.
Selfishness Is Learned (2016)
I've been doing spaced repetition with Anki since 2013. I wrote about my experience here: https://www.blinkingcaret.com/2016/05/04/hack-your-brain-lea...

If I could only give one advice to someone about improving their learning skills, it would be to learn about spaced repetition
Virgin Hyperloop One to build a research facility in Spain
Yeah, because competition will make it so?
Just that "the competition" is doing the exact same things...
Latest Galaxy Note9 leak reveals almost everything about the phone
Maybe. I hope so.

But... If other mediums are a guide, the messages don't get more artisanal over time. They can get more mass produced, "click-baity' and sacrine...TV=>reality TV ; Ne spaoers => tabloids.

These mediums aren't purely crap. We get Westworld and GOt too, but the thick part of the pyramid is low cost, replicable-by-hacks, low brow "content."

The online version of that is the algorithmic bias confirmation version of flame wars and cat pictures.

Specifically on online social media... History shows these have lifecycles. Digg, Reddit, stumbleupon... these were different in year one. Novelty wears off, low hanging fruit gets eaten and mature games take over.
Big Data Analytics to automatically detect events in smart cities
Even writing an IP address in a web server log is considered "keeping data". Most of these news sites also have some form of "create an account to get updates / comment / vote" system, which would absolutely count as "keeping data".

At the very least you still need a policy to give people telling them what data you keep and who you share it with. Even if that is nothing and no one, you need to be able to tell them that and you need someone who is responsible for handling those requests when they come in.

"Just don't keep anything" is not a sufficient answer.
Given the legal wrangling with Oracle, I don't think they will be eager to support Java. However, Kotlin has a native compiler (llvm based) as well. You can target Android/IOS with it as well as Wasm or simple desktop/server executables. So, the smart move would be to deemphasize Dart, move flutter on top of Kotlin native/llvm (and why not expose it to other languages as well; e.g. swift). Then they cab move the entire Android ecosystem on top of llvm and provide some level of continuity for people with Kotlin/Android codebases.

The main challenge here is the API gap between the old java 6 APIs that underly the current Android API that won't be there on native Kotlin. Flutter solves that problem.
It is funny coming from them though. Well, bad news for them, united states is a leader in tech for a reason. I dont believe china can replicate that success, they will only clone. It is fine to trash talk, we know who wins in such situation.
Any recommendations for a quiet mechanical keyword (or switch)?
> A tool should make me more efficient, hence, for the same task, make me use it less!

It makes sense when you consider Android phones as a set of tools used by advertisers to reach consumers. The more eyeballs the more efficient the tool becomes.
I am not sure why you think the general public doesn't know about these protests. They had popular acclaim on news channels while they were happening.

Sure, perhaps people have forgotten about a particular march especially if they do not consider it relevant to their lives, or a wider movement but at the time people heard about what was going on.
I have a solution for this. I don't visit such websites. They want to harvest my data, I won't give them my data. Either comply with GDPR or lose a visitor. Simples.
Jgh
Is, not was. Spotify (along with Apple, Facebook, & YouTube) removed Alex Jones content a couple days ago. My speculative guess is that Warner, expecting backlash from Jones' rather rabid fanbase, who would see Spotify's removal of his content as a declaration of political loyalties, decided it might be best to sell their Spotify shares before the backlash manifested itself.
Investors Should Be Wary of Proposed Tesla Deal
Foodstuffs Careers North Island
LibreOffice 6.1 released
It looks like wikipedia was already updated with this information [1]. I personally find their summary to be more informative.

“Ammonia can be manufactured from solar energy, air and water. This is an efficient way to package hydrogen into a chemical that is much cheaper to store and transport than pure hydrogen be it as gas or as liquid. In fact, per volume ammonia holds more hydrogen than does liquid hydrogen. Ammonia may be the key to overcome not only the daily but also the seasonal fluctuations of renewable energy sources.

This approach will solve many of the problems foreseen for the proposed Hydrogen economy, that instead could be replaced by an Ammonia economy, essentially still a hydrogen economy.

In early August 2018, scientists from Australia’s Commonwealth Scientific and Industrial Research Organisation (CSIRO) announced the success of developing a process to release hydrogen from ammonia and harvest that at ultra-high purity as a fuel for cars. This uses a special membrane. Two demonstration fuel cell vehicles have the technology, a Hyundai Nexo and Toyota Mirai”

[1] https://en.m.wikipedia.org/wiki/Ammonia#Energy_carrier
Product Management Jobs in Copenhagen, Denmark
Fair enough. I'm guessing. An educated guess I think, with certain predictions made which, if the prove true, would increase the probability of my being right.
Các thí sinh bắt đầu làm thủ tục xác nhận nhập học Đại học
You're getting downvoted despite being factually and legally correct.

You do not have to comply with GDPR if you are fully outside of the EU's jurisdiction and do no business in the EU.

Every site that gets created does not have to try to comply with every privacy law from every place on earth. At this point it's just belligerent propaganda to try to claim otherwise. It serves no good purpose to lie and pretend that every site on earth with EU visitors must comply with GDPR. That's a non-functioning future: all sites will not be able to comply with all privacy laws from all jurisdictions around the world. It's also legally unenforceable hogwash.

It goes even further however. As an EU citizen not only does GDPR not grant you any new protections in the US jurisdiction, you have very few privacy protections (none?) in the US. Sites with no business in the EU, those that aren't covered by the EU in any manner jurisdiction wise, can do nearly anything they want to with EU citizen data. Lawsuits can be filed against such sites, and they'll be promptly dismissed because the US isn't governed by EU law.
That's technically true but practically untrue.

The DPO is a major imposition and simply being required to comply with the DPO parts alone is sufficient to make the EU not worthwhile for many businesses.

1. Whilst a DPO can theoretically be part time, a DPO is not allowed to have other roles in the firm that could create a "conflict of interest". This is so vague that in a company that works with data, almost any other role could be argued to create such a conflict of interest.

2. The DPO position has a list of mandatory responsibilities and even qualifications that will be accepted. For example the EU has advised DPOs need "expertise in EU data protection law". Where will foreign websites find such a person?

3. The DPO works for the firm but cannot be told how to do their job. They also cannot be fired or penalised for anything related to their job responsibilities.

In practice these rules mean it's very likely everyone will outsource the DPO role to third parties.
It was on r/mechanicalkeyboards yesterday.
https://www.reddit.com/r/MechanicalKeyboards/comments/9571bb...
I stand corrected! Not sure why you're being down-voted for it.

Another point is that the organisation would need some kind of legal presence in the EU, otherwise it would be impossible to prosecute them even if they did violate EU law.
So, does anyone have a link which describes the actual technology? The article seems to switch back and forth from talking about hydrogen to talking about ammonia as a carrier for hydrogen. Note that there's already a huge market for ammonia itself (often as a carrier for nitrogen, for agriculture)

http://www.siemens.co.uk/en/insights/potential-of-green-ammo...

Edit: this seems to be more detailed http://www.sciencemag.org/news/2018/07/ammonia-renewable-fue...
“We can now, with real knives and real guns, PK them again, win again,”

I read that as poesklap!
Hi @roskilli, I'm wondering how you guys achieve low latency, anything particularly different from existing systems?
Wikipedia puts the dates of the holocaust at:
1941–1945; according to a broader definition, 1933–1945

You don't need a time machine. It's a documented fact that people around the world knew by 1942, and some well before then. It's hard to slaughter millions of people without other people finding out about it.

> The problem we are trying to solve, however, is not "how
> to use a time machine"; it is preventing future
> dictatorship without full hindsight of who will turn out
> to be the dictator.

Nope, I'm just saying that Maduro's gotta go. If you can't figure out that he's a dictator that's on you.
There are in fact enormous, complicated and unlikely requirements for compliance and huge risks to making any mistake.

The risk to making mistakes: fines of up to 4% of your turnover, in the worst case. As many companies have margins below this, it means losing all your profit for a year or more.

As for the rest, the vastness and vagueness of the GDPR has been extensively documented elsewhere. Bear in mind the EU Commission itself was immediately found in repeated violation of the GDPR just via their own website once the law activated. Their answer was that they themselves didn't have to comply with it.
Don't forget Topre. I use a Kinesis but I know many amazing programmers who swear by Topre.
I'd agree if those tasks were part of what they were planning to be a part of the app experience - but seeing as they're explicitly not, then from a pure design perspective, the UI is perfect in that regard.
are we talking about Google or Baidu here?
What if positive discrimination triggers retaliatory bias? Have you really done more good than harm?

Positive discrimination is like bombing a village known to harbor terrorists. Sure, you may kill some terrorists and drive the rest underground. You'll also radicalize a bunch of villagers. Suddenly ideas that used to be relegated to the lunatic fringe are going mainstream.

Sound anything like the US political situation in 2018?
I don't disagree with your point that nothing is ever going to come of it. In the case of an independently-owned local newspaper the EU can "huff and puff" as much as they want and there's not going to realistically be any impact to them. A lot of these "local" papers are owned by large parent companies though, and that becomes a different story all together.

Even if you are independent and there's nothing the EU can realistically do to you, it's just one more thing you have to deal with. Figuring out WTF is going on, getting a lawyer to verify that there's nothing they can do to you, etc. etc. There are still some hard costs associated and it's going to distract you from what your company actually does for a while.
AI: A Force for Good or Bad?
I agree with this. This is the main reason I don't hold cryptocurrencies. I can't concentrate on work when I have to watch the price the whole time.
Got the exact same keyboard, only 8 years old but 0 problems with it. Had to clean it out a few times but been very easy. It even came with a key removal tool!
Germany has 5 times as much solar capacity as wind power, and the highest PV watts-per-capita in the world.

https://en.wikipedia.org/wiki/Solar_power_by_country

https://en.wikipedia.org/wiki/Wind_power_by_country
My Filco Majestouch lasted barely a year before the USB cable failed at the keyboard end.

It's currently lying in the corner whilst I try to stomach paying £25 for a third-party cable made with their custom internal connector.

I'd prefer if they just had a USB female socket on the keyboard and then I could use any cable.

Why do keyboards have hard-wired cables anyhow? They have plenty of space for a socket and it would eliminate another point of failure.
There’s nothing high quality about Cherry switches. They’re just popular because literally no one else makes cheap linear “gaming” switches.

For actual typing there are vastly superior choices. In descending order: Buckling springs (used or new[1]), used Alps (for 5$ in your nearest thrift shop or for 50$-150$ on ebay) or even brand new Matias switches[2].

[1] https://www.youtube.com/watch?v=-A-vRZth7SI

[2] https://www.youtube.com/watch?v=_Nv9_LoLn5c
Is it really a problem with the specific implementation (GDPR) or rather with the general idea that a person should be in control about their data?
Easier solution:
The net frequency is already used for load control. Require consumer devices to react to it by law. No internet or setup needed
Can you back that up? This site claims otherwise:

https://www.itgovernance.co.uk/data-protection-officer-dpo-u...

There is no exemption for small and medium-sized enterprises (SMEs), which has been reaffirmed by the Information Commissioner’s Office (ICO): "I've heard plenty of people talking about there being a DPO exemption for SMEs - this is absolutely not the case." Peter Brown, Senior Technology Officer, Information Commissioner's Office (ICO)
>You knew that this was coming.

Backlash is a great reason not to do something for a business, but a terrible reason for a forum comment.

As brian-armstrong pointed out, large stakes take a significant amount time to sell, so my guess is unlikely to be true.

>It contains falsehoods

?
Ammonia, a renewable fuel, could power the globe without carbon
That could easily be survivorship bias, though. How many of those 40-year-old contemporaries died decades ago?
Germany's birth rate is 1.5. Japan's is 1.46. Saudi Arabia's is 2.71. Vietnam's is 1.96. Canada is 1.6.

Making employment easier for women is clearly not related to birth rate. It seems to be inversely correlated with first world living status and education more than anything.
I’ve had a microsoft curve 2000 for ten years, a mechanical keyboard should last way more.
Can you point to some case law that says EU data subjects consuming US based services will not protected by GDPR? Because one of the main points of the legislation is that the EU will use it to protect their data subjects in every jurisdiction. You’re probably right, but you won’t be able to direct me to a lawyer who would be willing to evaluate a business and determine its GDPR exposure for $0.
The EU has asserted it does have such jurisdiction.

The risk to local newspapers is low for now, but comes from the possibility of future agreements by the USA to cooperate with the EU on GDPR enforcement (e.g. as part of some trade deal), or their executives going to the EU for a business trip or holiday and coming under jurisdiction that way, or selling or wanting to be sold to a firm with EU presence, etc etc. Lots of ways the EU can end up with leverage over an apparently small and local firm.
I think by ""made in the US" is up there with "made in China" as an indicator of quality", he meant really low quality.
Corn Variety Grabs Fertilizer from the Air
Bruce Hauman – Developing ClojureScript with Figwheel
Refugee: Austrians should take refugees in their homes and give them their money
I'm honestly not sure about the specifics on who legally has to have a DPO, just that it's a thing and a lot of people do. There's also the weird requirement that there be some EU-resident "responsible person" if your organization is not based in the EU that I'm fuzzy on the details of.

Even if you can avoid both of those you still need a point person who answers GDPR-related requests. Whether you end up calling that person the DPO (with the legal responsibilities and consequences that comes with) or just the "GDPR Guy" (also known as Ted from Accounting...) it's still something new you have to deal with, train for, etc.
Hey, it is yes - by default all metrics are unaggregated, it’s only until you set aggregation and mapping rules that downsampling occurs.

It’s mainly just disk space that is the primary bottleneck.
I hate this with Ubuntu, too. And then you see that you systems since <crazy name> are supported and you have to google to find out the actual Ubuntu release number and compare it to that of the target system. Annoying!
> The world is copying from China

Sure. Ask any customs officer. Like it or not, the free markets in the United States created the greatest technological advances of mankind. China has nothing on that. Some lousy chip makers and cheap labour won't be able to compete with anything done in the US.

Also if Baidu was so great, try competing in the US or on neutral ground like Europe.
https://en.wikipedia.org/wiki/Coo-Trois-Ponts_Hydroelectric_...

It has 1164MW capacity, with ~1000GWh/year supplied.
Oh reminds me of the Optimus keyboard. It seemed like an ambitious idea a decade ago, each key was supposed to be an individual display. Afaik, it never made it into production.

https://www.artlebedev.com/optimus/ - the website doesn't work properly, so I'm guessing you still can't buy one?
Making the Julia test-debug cycle more efficient
Knowing what a country it is, this might not be an innuendo :)
Cambridge (UK) Cancer Genomics – hiring for tech roles Software/ML/and more
Is the claim here that with a speed limit, the business of the car companies would suffer? How so?

The reality, I think, is that there is sufficient support for the speedlimit-free Autobahn from Germans.
You mean like every search result for “X recipe”?
Google has the backing of the US Government?
BBC – India’s impressive concept about nothing
That could be more of a problem for ICE car manufactures than a solution. Regulations are the only thing that will force these people to innovate out of their current existence. With that gone, its basically EV departments have to navigate through powerful political cartels within the company running the existing product cash cows. In short it won't happen.

There is a reason why Microsoft cannot product a good mobile OS to date. It requires sidelining their biggest cash cow, their desktop OS.
What Is the Purpose of Business Intelligence in a Business?
A website that serves people who connect from the EU can easily be argued to be "offering services to data subjects within the Union".

That paragraph really doesn't say what you think it says. But like all such EU legislation it's really so vague that people who support the EU's political aims will read something anodyne into it, and people who are more suspicious will read something more dangerous, and they can both be right depending on the whims of the commission and ECJ.

However I will note that the EU does have an established track record of making surprising and totally unintuitive judgements about laws that appear to be much clearer and more definitive than what you just cited. The wording of the law is really not as reliable as you might hope with the ECJ.
I suppose so, but the statement was just the sort of snarky one-liner that invites conversation by implying a lot of subtext.
I hate upwork.
> For any kind of app targeting westen world (meaning - it's not localised into Hindi, African and Chinese languages), the market share of Lollipop will be below 20%.

Where exactly are you getting this data from? Please do not put random numbers without citing sources.
I don't understand that. You buy a keyboard for the hardware, no? It's the switches and individual diodes and good materials that make it expensive.

What makes it more profitable selling a keyboard with proprietary drivers, than one that their users can hack at will?

Especially given the target audience of this one.

edit: I don't even know why a keyboard would need drivers :p but if it's for fancy colored LEDs or so, yes please make that open and hackable!

edit2: oh. cloud connected keyboard. ok.
Just to vouch for Das Keyboard here. I have one for many years and it's still working perfectly despite heavy (daily) use.
As I've said in another thread, anyone who's used Baidu for any length of time should laugh out loud at the suggestion that it's anywhere close to Google in quality.
That article shows a rate of change increase, off of a weak base.

Plus more recent news is this:
https://www.marketwatch.com/story/capex-is-starting-to-ramp-...

This shows that capex investments are only starting to ramp up, are unevenly distributed.

In general it supports the position that stock buy backs are the preferred route of money use given the current monetary scenario. Especially since stock buy backs are at record highs.

This helped me find another point of interest - that 10% of households hold 86% of stocks. Meaning that the gains to shareholders will only re-concentrate wealth.
Whoever wrote this article doesn't understand how map projections work, which is ok—can't expect everyone to be a domain expert—but does mean the title is incorrect and very misleading.

Google Maps still uses Mercator (EPSG:3857), that hasn't changed. They've just added a feature whereby when you zoom all the way out, it switches from a flat Mercator to a 3d-rendered globe.
so...bitcoinminers now have 2 sources of income?
Spring Boot – Best Practices
> Even a simple commerce site needs to keep tracking of users

Functional cookies like this are exempt from GDPR's opt-in requirement