skysight-inc/HackerNews huggingface dataset:
Mocking out the time functions means you don't get any race conditions. If you try to just twiddle with how long the time functions run, you still never quite know how long to set them. Bear in mind that even rather generous timeouts like a full millisecond to set a map entry in another goroutine can still fail if your system's CPU is loaded or the system is in swap, and spurious test failures are spurious test failures regardless of their cause. Often with this sort of code you're testing in one goroutine and the test code is in one or more other goroutines. If your test code can emit something down a synchronous channel, then your test code can also be sure it is staying in sync. I mean, even to test with "extra special small test timeouts" still means you're writing in extra test structure, you might as well just use one of these time mocking things. (In fact, you should generally always use time mocking libraries. In all languages, direct access to the system clock that can not be easily redirected for testing is at least a code smell and could possibly even rise to the level of "antipattern".)

I have a lot of places in my Go test code where my test code is deliberately pushing things down channels. It's one of the top reasons my test code often still ends up being in the same package, so it gets private access to those channels for safe, properly-sync'ed testing. (Not that I'm really all that concerned about trying to test only the public interface; I don't have a lot of troubles with that anyhow. YMMV.) I also have some places in my code where I have channels in the private interface of some goroutine server whose sole purpose in life is to sync with the tests. This generally appears when I have some server that I am sending a message that I expect to change the state of the server, but for which there is no reply. In order to verify that the proper changes have occurred in the data structures of the server, I need to sync with the change before I do the check. Having a simple struct{} channel whose sole purpose in life is to synchronize works well enough for that.
Fixing Common Organizations Mistakes .NET Developers Make with Microservices
Read the article:

As of this writing, the main repo for Juju, http://github.com/juju/juju, is 3542 files, with 540,000 lines of Go code (not included in that number is 65,000 lines of comments). Counting all dependencies except the standard library, Juju is 9523 files, holding 1,963,000 lines of Go code (not including comments, which clock in at 331,000 lines).
When the answer is obvious, it will always be brought back up. It's a severely bloated public company that is going through it's early death pangs.
Previous related discussion (about the new MacBooks having their speakers blown out when running Bootcamp) : https://news.ycombinator.com/item?id=13063325
That's only for full screen takeover popups - and only for search engine traffic
Windows has HiDPI support pretty well nailed down AFAIK. Laptops like the Dell XPS have been shipping with HiDPI screens for a while.

Linux support is spottier, especially when using multiple displays of varying DPIs, but even Gnome works pretty well on a HiDPI laptop these days.
Physical media is definitely a solid option if you don't mind the space and effort considerations. I opt for a middle ground by using Emby as my current solution. It allows me to physically store all my media on local drives, back it up to some free unlimited Google Drive accounts via edu addresses (fully encrypted), then can do local playback within my network or stream it out to any remote devices.

It's largely open source, but there's always that worry I suppose that the devs ruin it at some point and I'll need to move to a new solution. Unfortunately there's a lot of work needed if I was to completely code my own solution, so hopefully I'll never need to.
Apple shop is down for a update at 8:01 PDT
Your comment neglects to mention that Typescript debugging is generally easy because one of the design goals of typescript is to produce javascript that matches what a developer would write.

Debugging javascript produced by Babel is generally hell in comparison. The transforms done by Babel are not designed to be human readable and they generally aren't.
Solar construction is dominated by energy and finance companies, with large projects in places that don't have subsidies. Popular enthusiasm is barely relevant.
The 'p' stands for progressive scan, not the dimension being measured (neither does 'k').
And you can listen offline on your mobile.
Same. Something is broken. Also using FireFox...
That growth tactic - what a drag..

I agree though it's an abrupt moment to hit that popup. I think this kind of thing would work for certain things, however for a productivity tool for professionals - not so much.
Wonder how long does it take to build juju?
FTA: "It’s worth noting that Raja Koduri, SVP of AMD’s Radeon Technology Group, has stated that VR needs 16K per-eye at 144 Hz to emulate the human experience, so we're still a way off in the display technology reaching consumer price points at least."

Dual 16k @ 144Hz

Granted, phones are ahead of desktop displays in pixel density, and that seems more applicable to VR displays.
It's a tech tips channel, do you realise how many videos they get out of reviewing their own kit?
If someone dumps the trash front of your otherwise clean neighbourhood just because he don't want to pay for waste services, would you pay for him to do it less often?
given that both frameworks are open source I highly doubt any astroturfing on either side. I think what you're seeing is a bunch of developers riled up :)
https://github.com/devCrossNet/universal-cli/issues/101#issu...
looks like the fork is going to be deprecated soon. I find the lack of documentation on universal a little bit frustrating, the only documentation I found is a blog post https://www.softwarearchitekt.at/post/2017/03/07/server-side... but the whole process is built on ng eject which removes some cli automations.
Which Hadoop File Format Should I Use?
I'm using Ubuntu 16.04 on a Dell XPS 13 (3200x1800) and it works well as long as I use 2.0 as the magnification value.
Other values such as 1.83 are broken.
holy shit...look at the size of the taskbar
The Real Truth about NYC’s Elite High Schools
You forget that scribes are voice activated!
As part of your marketing budget you should offer a free sample on your homepage. One tube of sudden and one packet of Via.

Maybe it won't convert well enough to justify cost but I bet it would. You get someone to input all their shipping data etc and an email (which pre-validates them as someone likely to buy), then you can email market them the day the package gets to them via tracking code. They try it, then can immediately order via the email if they like it.

A week after they have received it send them another email with a X% discount on first Y months subscription if you haven't heard back from them.
That's a valid concern and I believe all developers who are working on the platform will address this. If memory/power consumption on laptops was so draining just because something was in HTML/CSS/JS, I believe people would have stopped using browsers or probably just stuck to 1-tab per browser.
The author seems to think that ludology vs narratology is the same as procedural vs static content, which I don't think is true at all. You can easily make an open-world game with static content, you just need a lot more static content.
And it is also a great palindrome!
Using ClojureScript to launch iOS/Android apps to 1M users – [video]
Launch HN: Topmostly – curated search engine
Hello everybody,
I'm Gintaras - the founder of Topmostly (https://topmostly.com) - user curated search engine (I know, it sounds so hackneyed). I started working on this almost 2 years ago. The initial trigger for starting it, was my attempts to find out which TV to buy for my home. Of course the first thing I did was researching Google. After several hours reading lots of reviews, checking “TOP 10 TVs for your home ” and etc. I realized that I’m even more confused than before. So many reviews from different experts with different proposals. A lot of "TOP X LISTS" with affiliate links and etc., you never know if these recommendations are trustworthy or just created because of making some money for the author. Or its maybe just some SEO optimized text with a lot of advertisement banners around. So I missed transparent/trusted online place (like Wikipedia) with some suggestion for me.
The basic idea: users search for particular things like in any other search engine. The more users search for particular search, the more search is visible. Other users (curators) submit search results: link + short description (no affiliate links!!!). The search becomes kind of "interactive list" which is updating constantly. You can “save” the search you’re interested in and get notifications about updates in your feed page. Search results sorted by votes by default – you see “the best” at the very top. "Meta data" of search (like Talk page in Wikipedia) you can see history/activity and discuss these changes with curators. The meta data ensures transparency.

I know "egg/chicken" problem. The "value" is (quality) content. Not so many content for now, and I'm writing here not because I want to tell you guys "hey look how great is website is". I only want some feedback. It would be nice to get your opinion about idea in general. I'm open for critic and suggestions. Thank you.

If you want to ask/say for me personally, you can contact me gintaras[eta]topmostly.com
>the main reason for asking is that if large percentages of Amazon's growth can be attributed to a rise in consumer debt, then wouldn't Amazon be disproportionally damaged by another recession and/or some sort of debt bubble burst?

It's not quite the same thing. The majority of the blow in 2008 was from subprime mortgage lending. High levels of consumer debt are not necessarily a bad thing in general. Particularly for Amazon, you're talking about short term revolving credit. They are not financing big ticket long term payment plans like a mortgage. Thus their exposure is minimal.
Bootstrap and manage Kubernetes cluster with Kubernetes
With all due respect, your laundry list sounds a bit naive.

A typed language will save you debugging time - if you are serious about your debugging.

You don't need to design interfaces if you don't want to use them.

If you don't like heavy IDEs use VS code or one of the other lightweight editors for your TypeScript work. I think you'll find it a good deal easier to work with if you do so.

I would bag TypeScript if your team consists of just you. But if you are working with others, I think using TypeScript will pay off.
Let companies claim an SKU via a verification process, maybe? Let me pick whether I buy from the "owner" of that SKU - never commingled stock - or if I want to take a chance on the commingled unverified vendors.
Totally. I used to wake up at 6.30 5X a week to go to the gym before work. Then I had few weeks of vacation and found it terribly hard to get back into the routine afterwards.
Since true native (UI/UX) is core to our focus to do an window/linux we would need to do that same, currently most of our code is still in obj-c (new code is in swift) but it would be a massive task to produce a native window and a native linux app.

however we do have extensive support for exporters to many formats through our open source lib (API-Flow) https://github.com/luckymarmot/API-Flow this converts between (paw, swagger, api-blueprint, postman etc) we realy dont want you to feel locked in with your data.
Travelling over the medieval Silk Road though was much easier and safer than oceanic travel.
I've said before on hackernews, but people never seem to grasp the scope of Amazon. They aren't an e-commerce website anymore; that's just the tip of the iceberg. Bias: I spent a good five years there.

In logistics alone: hundreds of warehouses in a dozen countries; hundreds of delivery stations, a fleet of drivers (independent contractors all) in the tens or hundreds of thousands; a fleet of airplanes (and an airport I hear?); and I read an article a while back saying they were buying a big ol' container ship because why not? Oh and the drones of course, whenever they get off the ground (eh? see what I did there?)

Then you add on AWS, Kindle, the prototyped no-cash-register stores, and whatever else they've got cooking that no one knows about. This company is my best bet for "Weyland-Yutani" from the "Alien" series.
Because some believe this country won't last the next 10 years
Is this where I can complain about Apple Music completely screwing up all the album art on my own music?

Yes, this particular track I synced to the device also happens to be in some random music compliation CD from twenty years ago that's available on Apple Music. It doesn't mean I want to see that album art swapped into mine, dammit.
Naming things is tricky. Postman exists in the following places:

1. In-browser Chrome extension with a UI (Postman legacy app)

2. In-browser Chrome extension without a UI (Postman Interceptor)

3. Stand-alone/desktop Chrome app (can be run withput Chrome)

4. Command line tool (newman - runs the same runtime as Postman)

5. Stand-alone/native apps that can be installed (where most of the debate on this thread is)

6. Server-side runtime

We chose to use "native" because it avoids the confusion with the existing Chrome desktop app and informs people about the advantages of this version v/s the previous version in one word.
> Pesticides are bad.

"Thou shalt not -cide" is quite an ancient commandment :)

Seriously, of course they are "bad", it's written on the package.

I am all for more research but there is no controversy as to "are pesticides bad?" and our next collective move isn't scientific, it's political.
this, people are too worried about the size of their list as opposed to actual engagement. If they don't open your emails they're just costing you money with your ESP.

If you have good content people will search hard for a way to get on your email list if necessary, i've done it before.
Every year at CES, e3, etc. there are vendors with pretty good eye tracking headsets. APIs for foveated rendering are in place already. I'd imagine it'll be in the next generation of headsets.
I can only speak from personal experience, but I've worked on 2 SPA angular apps that were both a nightmare.

The react apps I've worked on have been much more successful; we haven't had to throw the whole thing away (unlike one of those angular ones...)

I'm sure other people have had other experiences, but after two terrible experiences, the questions I would ask are:

- Why would I bother looking at angular again?

- What has significantly changed in the last year to reduce the complexity, increase the component ecosystem or increase the quality and quantity of the documentation?

If you can't answer either of those with meaningful answers, I don't see any reason, given the other alternatives to angular that are around, to try using it again.
Grabcocque is not advocating for less in the marketplace of ideas. He's advocating for quality criticism.

But what are you trying to say? That grabcocque doesn't think there's more than one way to do things? That he's a snob? That he should get over himself? Why do you hide your derogatory speech behind implications and snideness?
Definitely something up with your environment. We compile hundreds of .ts files at my job each build and it only takes a few seconds
For two years now I've used iCloud Music Library (iTunes Match) to handle exactly the sort of situation the article author describes. Bucking the trend here; I love it.

I've written a number of scripts (the main one is on npm) that run on a home Mac Mini server, converting FLAC to ALAC, and copying music which gets added to the library via the iTunes Add to Library folder.

Within minutes of hitting a synced drop folder music is converted, stored and uploaded. I then have access to that music on my phone and computer. I can access 100% of my personal 40k track library anywhere, and can listen lossless at home. I still have music in my library I ripped in the early 2000s.

I've definitely hated on iTunes plenty — the search is unforgivably slow and CPU intensive, and the app seems forever going backwards on usability.

Still, I have what seems like a miracle of the cloud. A reliable, personal streaming service, with none of the restrictions of Spotify or Apple Music. I'll deal with the inconvenience.

For the record: I've explored a similar system with Google Play, but Apple manages the best end-to-end ecosystem across devices in my opinion.
> Extensive use of volunteer or cheap manual labour -- look up WWOOF... true-believer volunteer "WWOOFers" make up a significant labour force at organic farms.

In addition WWOOFers often violate labor and immigration laws, sometimes just by figuring "this doesn't apply to me." After all, labor laws are for brown people who want to make money and plan on moving to the country -- not for middle class young white people who are doing a fun "work-cation" activity for a noble cause, right!?

I have a few friends (from the US) who traveled to various parts of Europe to work on organic farms, in one case an Italian vineyard, and didn't bother applying for any sort of work visa, just did everything as a "tourist." Of course, they were all compensated in the form of room and board, but didn't bother reporting it or considering it as "income" like they're supposed to. I'm sure there are many Europeans coming over and doing the same thing.
UK just started to build a new mega nuclear block: https://en.wikipedia.org/wiki/Hinkley_Point_C_nuclear_power_... .
As per the article their PE ratio is above 172 and it already reflects their "would-be" profits after 2020. Isn't this too much risk to invest in AMZN?
Feel free to email me at help@getpostman.com and we can go through each of these concerns :)

There is a big discussion on tab behavior on our Github tracker. There are different ways and workflows that you can adopt and settings that you can tweak.

On environments: we have autocomplete and inline editing for variables on the way. That should help.
Why are HTML templates a good thing? It's hands down my least favorite part of Vue.
Tips how to build an App with Geolocation
Some thoughts:

* you're likely to get killed on postage costs. Big bulk mailers get better rates by pre-sorting and barcoding mail (and by having lots of volume), which is going to be harder here.

* marketers care a lot about reach, and this approach means that the reach you can provide to them is strictly bounded by the reach your company has. Unless you've got the best SEO team ever, that's not going to be compelling.

* the sample promo on your site reads like it's intended to be geotargeted - so people in Peoria get codes to businesses in Peoria. This is a good idea on paper, but means you've got a massive chicken-and-egg problem; unless your initial site marketing is also very geotargeted you're going to have a massive challenge matching your initial advertisers to consumers in the same area.

* building on that: if Peoria Barbers wants to get coupons to people in their area there are a LOT of other approaches that will get more impressions much more readily. As you've noted, these are not opt-in - but they can be targeted with all the existing marketing tools versus relying on your company's marketing to get prospects.

* I'd recommend looking into how many photos people print at a time - my zero-data guess is that the distribution is bimodal, with a bunch who print none and a bunch who print a lot. If that's backed up by data it's a problem for your startup; eight photos is more than the first group has interest in printing but far less than what the second group wants.

* I'll second the other poster who recommended a LOT of content-filtering and/or address verification: randos have used the FedEx "free mailing supplies online" tool pretty extensively to annoy people, and that didn't even allow uploading shock images.
How would you go about detecting when a user is about to leave your site? Other than responding to a click on an external link? The two ways I typically leave a site are a) typing a URL into the address bar and b) closing a tab.
Reply here: https://news.ycombinator.com/edit?id=13949208
Yup. I've never really had a problem with debt, but i feel likewise to debt, Americans (myself included) spend without forethought.

A few months back i decided to sign up for Simple.com Bank _(a Bank, not CU unfortunately)_, as they let me preallocate all my purchases.

Every single bill, and every single purchase i pre-plan by several weeks. Want a new game? Mark it on the goals, and save $1/d for it. I don't limit myself on what i can buy, just when. This little mental change means that 3 weeks from now i likely won't care about what i was so excited for 3 weeks prior. It's worked wonders for me, especially with large purchases.

I wanted an Amp, to which i was aiming for around $600 for. Now, weirdly enough i can easily afford this and am willing to draw from my buffer to spend this $600. However i preallocated the money a while ago, and now i'm sitting at this special $600 which i could spend, but something is urging me not to spend it. Part of me feels like i could _gain_ $600 if i just simply don't spend it.

It's quite the bizarre assertions i feel like. The number of pre-saved goals i've later removed because i wanted the money more than the item.. it's weird.

Anyway, i'm deviated like hell. Apologies.
Logic magazine challenges mainstream tech reporting
http://harvardmagazine.com/2017/03/logic-little-magazine-about-tech-industry

Thoughts on whether this will stick?
Does iTunes even play FLAC files?

Apple developers have one serious problem: the "not invented here" syndrome. As everybody was using mp3, Apple wanted AAC. FLAC? Apple didn't invent it. So they just support their own rubbish instead [1].

[1] https://discussions.apple.com/thread/3002052?tstart=0)
Google Analytics views you should add to your setup
Benchmarking recent pydata local storage options
On that note, where is safe to put your money i wonder? Is there more and less stable mediums to hold your money?
Thanks for Node Weekly - that email plus a daily listserv archive of a local tech group are the only two emails I always read when they show up in my inbox.
If so, that's uh, yeah, remarkably stupid.
I would guess they meant "don't object to the plan in general".

They certainly can't obtain legal consent to relicense this way, and anyone who told them the could pretty much has no idea what they are talking about, at least in the US.

There is a lot of citation to "lawyers in the past told them X" with no actual data or description of what those lawyers said, caselaw they relied upon, jurisdiction they are talking about, etc.
A new gem inside the CMS detector
a) When co-mingling inventory, keep track of the original source, and penalize them (not the seller) for product issues, bad product reviews, etc. Or stop co-mingling if you can't have accountability.

b) Separate somehow bad reviews and complaints about SELLERS from bad reviews, complaints about PRODUCTS. Again, more direct accountabilithy.

Today, when you leave a bad review or complain about crap counterfeits or bad service, shipping, etc, it just doesn't affect the actual bad actor in the way it should.
dave cheney has been tracking juju build times since the regression in the compiler when it was rewritten from C to go:

older article here: https://dave.cheney.net/2016/04/02/go-1-7-toolchain-improvem...

spreadsheet:
https://docs.google.com/spreadsheets/d/1mczKWp3DUuQvIAwZiORD...
Can someone that needs to run workloads like this explain to me why this is needed? It sounds like over engineering for the sake of it. There are only so many apps at Facebook scale in the world.
I was just recently in the position of having to figure out a "modern" javascript workflow. After getting over my stupefaction that modular js requires compilation, I ended up with a Makefile, ./src, ./lib, and ./bin.