skysight-inc/HackerNews huggingface dataset:
Well, in that particular case, Google has brought this on themselves by naming their sort-of-a-product after a common FP idiom, and then hyping the hell out of it.
> Particularly when you plan to build a series of chips, the continuous approach taken by software is massively preferable.

For sure. I think continuous integration and cataloging of things like coverage collection is something hardware development really benefits from.

The things that hardware development can learn best from the software world are (in my opinion) mainly down to developing and maintaining verification environments, because they are (mostly) just big software projects. The constrained random variety are anyway.
Which also recommends

;(function () {
window.alert('ok')
}())

Which, just, eww.

Just use semicolons. Everywhere, always. Then you can treat JS's parsing rules as the same as every other language, and not normally like every other language except when a line begins with one of a select set of magical charaters that need to be prepended with `;` for unclear reasons.

Just end lines with `;`.
Based on what you are saying I'm concluding that we are on the right path. Again, thank a lot for all the valuable feedback and advice!
Writing good SPAs is exponentially harder than good non-SPAs. At least from my experience.
Looks like Docker 18.09.2 was released a few minutes ago to address this: https://github.com/docker/docker-ce/releases
Yep looks like it affects `scrollTo()` and `scrollIntoView()`, along with in-page navigation.

Crazy how they don't let you use a curve to define your own timing.
Most of my friends who played RS in their youth are now in their mid-20s playing OSRS.

It's just astonishing how well they've managed to reclaim their market.

I know a couple maxers who still devote 10-20 hours a week to RS. I can't fathom how they find new ways to entertain themselves, but they do. It never gets old for them. I never got into RS but by all accounts they've perfected a genre.
Many of us know the meme, the important take from it is how tone deaf Activision and Blizzard have been with regards to their fans across different franchises and platforms.

The don't you guys have phones meme is direct response to the Blizzcon announcement that the next Diablo was going to be a mobile game not even produced by Blizzard. The reaction of the product team at Blizzard really came off as aghast followed by incredulous that the fans reacted so negatively and harshly as a whole. They so missed the boat with what the fans were expecting it makes you wonder, just who were they listening too?

Activision's problem was taking the loot box and in game transaction model too far and embedding too deeply into franchises that were not accustomed to it if not openly hostile to it. that many of the purchases looked like or were portrayed as pay to win did not help.

Where is the industry going? I certainly don't know and not knowing I don't have an opinion to offer on that subject. The opinion I do offer is that perhaps it doesn't know where its fans think it should be going and some franchises are at cult levels of fandom
Please, read the linked Politifact article. There's a reason I included it.

> Under a 2017 Georgia law, a voter registration application is complete if information on that form exactly matches records kept by Georgia’s Department of Driver Services or the Social Security Administration.

Driver's license isn't required to vote, but if you have one, your voter registration form has to exactly match it. If you don't have one, you've got the same issue with the Social Security Administration with hyphenated versus non-hyphenated, misspellings, character limits (NYS DMV knows me as "C, M" for example), etc.
Cross-realm guilds would be a big one. I was in a mythic progression raiding guild during Legion and recruiting was always a mess. I didn't play on one of the "top" servers for raiding and there just weren't enough quality players to go around. You'd have a handful of solid guilds at the top and everyone else would struggle to complete a tier before the next tier came out. And then in the middle of the expansion when player counts drop it got even more difficult to recruit. If you made the mistake of creating all your characters on a "dead" server you'd be looking at several hundred dollars at least to transfer them all. Cross-realm guilds are a long time coming.
Show HN: Demoscene Inspired Cyberpunk Helmet/Faceshield
> outrageous opinions

Opinion can't be outrageous. Opinion is an idea, ideas doesn't kill people. Other people do.
the seedy underbelly of being a "tech employee"?
> I don't wear shoes because I see ads for them, I wear shoes to protect my feet from the elements and to lessen the impact from walking and running. The demand has been there as long as people have existed, because all people who ever existed have experienced foot pain and damage. It was not some novel need that people only realized because of advertisements.

Yes, but someone had to invent them and then tell people about them. If you invent a new product that makes the world better in some substantial way...are you going to rely on word of mouth to get it to the public?

> I do have a smartphone. I found out which model to buy through reading the spec sheets and independent reviews, and by asking friends about their phones and trying them out. As a result, I ended getting a phone that wasn't bogged down by shovelware and actually had the specs I needed, most notably a long battery life.

Sure, I do the exact same thing. But how did you know you needed a smartphone? You presumably weren't born into the world with a specific thirst for a small rectangle with internet access. Maybe you were personal friends of Steve Jobs, but I certainly wasn't. I found out about it via ad campaigns. And then I researched it and chose the one I wanted.

Let's say tomorrow you invent a cure for cancer. Ok great, you've made it possible to substantially improve the world. But in order to actually realize those improvements, people need to know about your cure. Doctors need to be educated. Patients need to be informed. How are you going to accomplish that?
Software-Defined FPGA Accelerator Design for Mobile Deep Learning Applications
It's super fascinating watching this unfold. This object is shaped in a way that really might change the way we understand how solar systems form!
Gaming is such a wild west of an industry.

I hold out hope that the indie scene remains healthy and such, but the rise and fall of large static developers putting out quality products over time does seem questionable.

The king is dead, long live the king.
This is something I personally made over the last week.
Ask HN: How to get aggregated user behaviour without tracking an individual user
For simpleanalytics.io I don’t want to track individual users and I would love to give businesses insights in the combined user behaviour.

A business could ask: "How many visitors converted from DDG to sign up and what is the average duration?" To be able to calculate the conversion between landing and signup you need to know the history of events.

Let's say we have a few events including:

- Page view event with referrer DDG

- Signup event

The data could look like this:

[
['/','mysite','ddg.com'],
['signup',30]
]

Explained:

[
[event, your website, referrer],
[event, duration since first event]
]

When an event happens I add it to a function session cookie (exp 30 min) and send the complete cookie to the API. The time of the first request will be stored in another cookie and never send the API.

The two requests from the above example looks like this:

[['/','mysite.com','ddg.com']]

[['/','mysite.com','ddg.com'],['signup',30]]

When the first request happens it gets added to the database (see row 95):

id | time | event | site | referrer | link
94 | 20:30:20 | / | mysite.com | ddg.com | NULL
95 | NOW() | / | mysite.com | ddg.com | NULL <---

The second request contains the information of the first request. When a request comes in with more than 1 array item it will look for the previous events in the database. It will look for a row where event=/, referrer=ddg.com, site=mysite.com, and time is >30 min ago: row 94. The table after adding the row will look like:

id | time | event | site | referrer | link
94 | 20:30:20 | / | mysite.com | ddg.com | a
95 | 20:38:28 | / | mysite.com | ddg.com | NULL
96 | 20:30:50 | signup | mysite.com | | a <---

The conneted row can be 30 min off, but I think that's okay.

Do you think this is acceptable from a privacy perspective?
I stand with Trump on this one. Shaking hands is a curse - similarly the European cheek kiss. I look forward to the day when we can get some societal momentum going and move towards a slight bow like the Japanese.
Actually, that was most likely due to the fact that they weren't using the proper type of orange. Many places outside of Florida and even all over the world use the wrong oranges.

California oranges are for eating and have a clear, less sweet juice. And they don't produce much juice at all per orange. Florida oranges are completely different and are very fibrous and essentially inedible as a whole. But if you put them through a squeezer, they will make delicious, orange colored, sweet orange juice in huge quantities. Very much like the "fresh squeezed Florida orange juice" you get at the grocery store. Although, of course, much better. They aren't adding or concentrating that juice at all. It really comes out rich and sweet like that.

There are proper names for the different California and Florida variants, but they are generally colloquially distinguished that way.

It's strange, but I have never seen juicing oranges for sale outside of Florida. They are not as pretty and will appear splotchy and less bright, glossy orange. They don't look appealing on their own.
-a testament to open data sciences. I think the same will be true with neuroscience data of today...more informed scientists of the future will download our data off the open repositories and make novel predictions based off their better understanding.
> The way the patent system in the US is set up, there's a huge financial difference (orders of magnitude, IIRC) between "accidental infringement" and "wilful infringement".

It's up to 3x ("treble damages") and the US Supreme Court lowered the standard for granting increased damages not too long ago.

https://www.jonesday.com/Supreme-Court-Upends-Law-of-Treble-...
If you watch the video, one of the creators explains this point, which makes datashader different from, say, Bokeh. (Pipeline explained around 7:20 in the video)

https://www.youtube.com/watch?v=6m3CFbKmK_c

D3 and Bokeh and other web-based visualization tools, in general, plot HTML or CSS primitives to the browser. This approach works great for smaller datasets, but doesn't scale to millions/billions.

Datashader aggregates (accumulates) graphical representations of data into images, then provides a way to get those to the browser and work well with the other libraries. That high level description leaves out 95% of the critical practical details of visualization, which the creators of datashader handle.
The other day I was arguing this exactly in a thread here about Ruby. People argue that Rails is outdated and is irrelevant for "modern web development", even though the web is not as modern as most people might think. Even what Facebook does, the only really hard part is the sheer scale they operate at. Facebook (the website) is not a single page app and other than the scale could be done in Rails with some AJAX sprinkled in or even Wordpress with some plugins.

People use SPA frameworks and make SPAs with them and those SPAs end up functioning exactly the same as any Rails/Django/Laravel site except the URL bar doesn't change. MVC is still the way the web is built, except for the people who got bored and wanted to make web development even harder than it already is.

YAGNI.
None of them is a web app. All of them want to provide certain views on their content that are uniquely identified by their URLs. This is especially true for Twitter and Reddit, which both aim to have their views on tweets and threads to be indexed by search engines.

Facebook is probably the least clear one, since they put great effort into eliminating discoverability and accessibility from "outside", i.e. without a Facebook account. They're basically the AOL of today, which was a classic application back then that tried to contain a proprietary "web" of stuff in itself, only accessible if you ran their "browser" application, had an account with them and were logged in, and that "AOL Internet" of course had its own search mechanisms, just like Facebook has its own sophisticated search. However, they're not fully closed-up, they just try really hard to nag you into having an account, which is why I'm inclined to still put them in the "website" camp.

However, all of these web sites surely contain certain parts that are in itself "web apps" and that are pretty much isolated from the basic parts of the site (albeit possibly interacting with it at well-defined points through APIs). I guess that this is a logical result of the large engineering teams that are working constantly on what is basically the same big website - at some point, in order to scale out further, it just becomes economic and practical to effectively isolate certain features into mostly separated "apps".
No. I happen to have been ten once, however, with good parents.
I don't think many projects need to be SPAs. But if you're using node for your backend anyway, I think it's basically equal work to make something an SPA vs a non-SPA. The SPA effectively handles the routing for you, and I think react-router is pretty easy to use.

The speed benefits are noticeable on sites where you're doing a lot of internal navigation. But you can just as easily make a slow SPA (see JIRA).

So I guess in the end, do whatever takes less development time. Which usually isn't an SPA, just because there isn't really a good framework that reduces effort required. Rails and turbolinks are pretty legit.
Because they already know React, and they don't know Rails, Pug, Django, Laravel, et al. And using the skills they already have is easier than learning new ones. When all you have is a hammer, everything looks like a nail.

It's the same reason why Electron is so popular for desktop apps. On just about every measure, there's a better alternative available for that sort of thing -- native apps if you want speed and great integration with the host environment, Qt if you're willing to sacrifice on those fronts to get a single cross-platform solution. But Electron has one thing those alternatives don't, namely that if you're a Web developer you don't have to learn any new languages, toolkits, etc. to be productive with it. And it turns out that, for an awful lot of developers, "I don't have to learn anything new" beats just about every other consideration.
Indeed. Fortnite and Overwatch are very different types of games, though certainly some skills transfer between them.

I do wonder about the software engineering practices at Blizzard. One release fixes a bug, the next release adds it back. Hearthstone very clearly has zero unit tests, because so much easily testable stuff is just broken. I think it's always been that way, though; the "Blizzard polish" is about art and sound, the code is very average in quality. (That may be the norm for the game industry, though.)

Having said that, I doubt Blizzard is quite ready to give up on Overwatch. They are probably going to make quite a bit of money off of Overwatch League. But the balance changes they implement for the pro players is off-putting to casuals, so I doubt many new players will be buying the game. (Mercy and D.va were always appealing to players new to FPSes because they can contribute immediately to their team with strategy rather than raw mechanics... but both heroes have suffered nerf after nerf after nerf because OWL viewers really want to see raw aim, not someone holding up a defense matrix to save their team from that aim. I see the game in 3 years being 6 Widowmakers vs. 6 Widowmakers, because that's what pro players really want.)

Hearthstone is in a pretty good place. I feel like they've stepped up their balancing a lot, and their competitor Artifact seems to have fallen flat on its face. I am guessing that their team won't see many cuts. They should hire some software engineers in test, though.
Like the state of the logged-in user.

I think these debates about global variables or state could be much more specific, though.

For example, we tend to realize that letting any component access a `require('./store').currentUser` singleton may make testing harder, but this global dependency still exists when, say, it's distributed to all components through the React context. I reckon most people are thinking of the singleton example when they lambast Redux but it certainly doesn't have to be that way.
The answer to the headline is astoundingly obvious yet the article doesn't mention it once. The reason is regulation: you can't use a medical device that you've hacked together unless it has been cleared by the relevant authorities as being safe. Sometimes it's a matter of simply getting a cheaper alternative through regulatory approval, but other times its just not worth the cost to prove a cheaper alternative is as safe as the more expensive one. Very annoying article about an interesting subject.
Automating offline activations
Might be British English as it sounds normal to me.
They may also feel that it's not actually lower-cost for them. For example: say your doctor uses a somewhat lower-tech, kitbashed uterine balloon on your wife during postpartum bleeding. And say she dies anyway (as someone surely will).

There is going to be a real temptation to sue the pants off the hospital and say, "Look, they used some jury-rigged contraption instead of the gold-plated device that would have cost 10x." And, I mean, that's a bad look for the hospital in front of a jury, "Yes, well, this might be a little worse, but it might not, and it cost less money!" Everyone wants healthcare to cost less until it starts to look like hospitals or doctors are prioritizing "profits" versus people's lives.
For those of us out there doing consulting work and charging hourly - I encourage you to check out the Jonathan Stark podcast "Ditching Hourly"[0] and also the "2 bobs"[1] podcast with Blair Ens and David C Baker.

Both talk extensively about pricing work on either "value" (best option) or a fall back to pricing "outputs" (what gets delivered) ..and they try to get you out of charging by the hour - worst case charge by "blocks of time" (ex 2 week block of time minimum).

To be clear - getting clients out of the mindset of charging by the hour is extremely difficult ..all the back of the envelope math client will do in their head results in an hourly value.

[0] https://www.ditchinghourly.com/

[1] https://2bobs.com/
Most of Japan's debt is actually owned by its citizens iirc.
Most media companies effectively have this as a single point of failure: Google Search. And, it's not from lack of trying to diversify. Countless businesses must depend on it, espcially media and content based businesses. I of some very large media companies in existance for over 10 years, and they still get over 50% of their traffic directly from Google. If google decided to ban them, their multi-million dollar business would dissappear almost overnight.
I've used datashader for plotting NGS (Next Generation Sequencing) enrichments. At the time I had to hack together the ability to use the polygon select tool on the data, but it worked and blew my mind.

Very elegant solution to a difficult problem (overplotting).
An Incomplete Survey of Bitcoin's Privacy Technologies
Let's please comment thoughtfully and informatively and not like this.

https://news.ycombinator.com/newsguidelines.html
Does anyone have recommendations for what I can read to get started freelancing? I had a very successful religious mission, so I know I have "sales" skills, and I'm a pretty good software engineer, but I feel like I spin my wheels when I look for freelance clients.
I've never been dissatisfied by Overwatch loot boxes. If I play an average amount I usually get every item. If I don't play I don't get any items. Seems fair.
How Facebook’s Ads Will Play an Important Role in Coming Elections?
Scott Adams has written a fair amount on Systems instead of Goals:

https://blog.dilbert.com/2013/11/18/goals-vs-systems/
Okay, I think we're talking about different things. I don't think of stdin/stdout/stderr or static configuration as state because they don't change. Typically when I talk about state, I'm talking about mutable data that may change over the lifetime of a program.
What's the longest keyword sequence in JavaScript?
the games industry is shifting to the casino whale poaching mindset, and taking advantage of borderline gambling addiction through loot boxes/crates to get kids to (steal their parent's money sometimes) and buy shit in the places they hang out with other kids/socialize/spend a lot of time watching professional gamers play

makes me very sad as someone who grew up with amazing RTS and the first generations of online/LAN games where $50 would buy you hundreds of hours of entertainment sans microtransactions

there are still some amazing games coming out graphics and storywise, it just sucks to see names i once respected trading in their reputation for cash - blizzard, bioware (EA), and obsidian chief among them
Google Docs gets an API for task automation
Question for game developers, has innovation been stifled by the the bar being raised for making a AAA game? I assume making a game like Spyro or Diablo took a lot of time and effort, but I'm wondering if the increasing demand for high end graphics and extremely rich environments has raised the bar too high?
I totally agree with your observation. I've been there in last Dec and this Jan. Probably the hostile sentiment is even stronger towards Canada (Which traditionally most Chinese see as a friendly country partially because of a couple of famous Canadian who are almost unknown to Canadian themselves.) than US. Since I'm Chinese Canadian, the topic was always brought up during dinner/lunch with friends.

However I'm not sure if the boycott really has a big impact on sales. The consumers quite pragmatic when they spend their own hard-earned money even the sentiment is really strong as you observed. In China there are cut-throat competitions across all markets. Mobile phone market is one of them. There are quite a few smartphone manufacturers fighting for market share. Some used-to-be-good companies could not survive but the news only limited in China. Without boycott Apple sales still could go down because of competition.
I feel like this article is simply intended to demonstrate what the Jacquard loom produced. Leaving out the contributions of Lovelace is no different from leaving out the contributions of Turing. Both were monumentally worthy contributions to programming, but the intent of this article was to focus on one small but important facet of the overall history.

I myself have read many times over the years about the Jacquard loom but never actually saw a product of it. That is fascinating for me and doesn't take away any of my respect for what Ada Lovelace gave us.
sure, although modern browser apis mean the url bar can change in a reasonable way
I think it is rosy retrospection.

Remember the unending supply of totally trash PC games that you could by at Incredible Universe in the giant boxes? Or the grab bag of games that were 15 on a CD for $15? I mean pretty much everything Head Games [1] put out was a rebaked version of the same terrible 3D polygon mess with trash controls, but for whatever was hot at the time.

It's always been ROI driven, with the major hits keeping the studios alive and tiny game studios just trying to get anything out that they could.

[1] https://www.mobygames.com/company/head-games-publishing-inc