Ask HN: Is it viable to set up a clients website by using free frameworks? - <AUTHOR> I have been building websites for years now and I almost always wrote them myself from ground up, in order to have maximum performance and control (and for customization). Now it exhausts me though. I work months for simple shops and if it wasn't for the pure enjoyment of writing everything myself, I would have already stopped.
I recently started to think about doing the complete opposite. Using some free (property licensed) framework, free themes and just making minimal changes in order to fit the clients design preferences. For stuff like an event management engine with app and calender integration, I used to work for weeks and now it feels like it's just a click away. Especially toolkits like WordPress/WooCommerce seem like drag and drop programming.
I feel like this is cheating though because it doesn't have anything to do with web development and I would feel like ripping off clients.
How do people normally approach setting up customer projects? Especially if you are trying to make it profitable. I always wonder how those people who live off of "building websites" do it. <comment><USER2> Let's say you're writing an application in PHP. That application needs to connect to MySQL. Did you create PHP? Did you create MySQL? Did you create the library that enables PHP to talk to MySQL? Do you create the system libraries each of those needs to operate? Did you create the operating system those run on?

Use what's available. Be efficient. If you can use WordPress and it suites your clients needs, use WordPress. That said, WordPress is pretty unwieldy if you need to do heavy customization, and using something like a framework might be a better option.

I no longer make websites for money as there's not enough money in it for me personally, but I've built sites on WordPress and from scratch previously, clients don't really care as long as it works.

</comment><comment><USER3> Depends on the requirements of your client.

If your client needs very fast application or very customizable website then building from ground up is a good idea and is worth the effort.

But if you are building generic static-site/blog/shopping website going with any CMS is fine.

You should mainly focus on end-result of your application and the value for client. There is no point in building same things multiple times unless your clients has specific requirement.</comment>


Ask HN: Chromebooks for web development - <AUTHOR>

So chromebooks are finally hitting the market. Obviously they're great for anything you can do with just a web browser. However, are they of any use for actually creating web apps?<p>Would getting one of these be of any use to a django developer? I know there are web based editors, but has any thought been put into how this would work, or should i just stick with a macbook? <comment><USER2> I'm a django developer and I received one of these as part of the pilot program. I tried to use it as my main machine for a while, it does have a very limited terminal, so I was able to SSH into my servers and do stuff that way, but overall I just found myself too restricted to really get things done like I could on my normal workstation. ChromeOS itself is pretty slick, although the CR48 pilot chromebooks were a bit slow for some things, general browsing was fine. I won't be using one for my development machine any time soon, although if they get the HTML5 Netflix player working we may end up with a few more of these in our household.

</comment><comment><USER3> With all due respect to some awesome people who built online IDEs, editors, etc, they are still not there yet.

With a chromebook you can't have an editor of your choice. What about a source control? How do you run locally your app? There are other problems still not solved with a developer stack in the cloud. Personally, I still can't imagine my dev environment without a great editor and a shell. And no online solution comes near that.

With that said, just a couple of years back, I couldn't imagine having my email in the cloud, so I believe in the future someone more imaginative than me could revolutionize development. I just hope they port Vim to the cloud :)

</comment><comment><USER4> Why everyone seems to be wanting to use INFERIOR tools in the tech world baffles me. Why in the world would you ever want to do development on the web? You have no control over your development environment. Its almost as bad as the iPad needing a special case so that it can have the same ergonomics as a laptop.</comment>


Packery, a JavaScript layout library - <AUTHOR> http://packery.metafizzy.co

<comment><AUTHOR> This looks interesting, but I'm not sure the creator understands how the MIT License works.

<comment><USER2> Exactly what I thought. I suppose the correct way would be to open source it under GPL and relieve the developer of the GPL's duties when a commercial license is purchased.</comment></comment>


Happy Re/new Year - <AUTHOR> http://recode.net/2014/01/01/happy-renew-year/

<comment><USER2> I find the focus on the word "code" (Re/code, The Code Conference) weird considering the fairly distinct meaning of the word "code" in the software industry. Their blog and conference is not about code or coding, but about tech in general. It would have been just as valid to use the word "robots" and then also blog about software, genetics and so forth. Weird.

<comment><USER3> I agree, I was hoping there would some high level insight into implementation, rather than the generic "tech news". Something like highscalability etc...

<comment><USER4> And they also have a $6500 "Code conference" which doesn't seem to be much about coding either: [http://recode.net/events/the-code- conference/](http://recode.net/events/the-code-conference/)

</comment></comment></comment><comment><USER5> Considering how high The Verge set the bar for blog launches, this is underwhelming for a blog launch in 2014. Both the design and functionality are minor improvements from a basic Wordpress theme. (of course, content is king, so that might not be relevant in the long run)

Their LiveFyre SSO implementation has significant issues. (Remember your password, because you are _not_ reseting it. Also, profile pictures flat-out don't show.)

Worst of all, there's a significant bug with their custom font on Chrome (both PC and Mac): the fonts load after the page loads, causing a brief adjustment _every time you open a page_ that's very annoying.

<comment><USER6> Is there something that I could read about how The Verge launched and why it was so successful?

<comment><AUTHOR> This is a pretty good rundown on how The Verge came to be: [http://www.businessinsider.com/vox-2012-1](http://www.businessinsider.com/vox-2012-1)

4m uniques and 20m visitors in the first month is a heck of a splash.

<comment><USER7> Thanks for sharing this historical chronicle

</comment></comment></comment></comment><comment><USER8> I know this is very subjective, but DAMN this is one ugly website.

I got excited at first because I thought it's about code (which it isn't) ...

</comment><comment><USER9> Seeing how they deleted all their previous content (allthingsd) off the internet without a warning, I will make sure to never link to this website.

<comment><USER10> All of the content is still there (ex: [http://allthingsd.com/20131231/you- say-goodbye-and-we-say-he...](http://allthingsd.com/20131231/you-say-goodbye- and-we-say-hello/)). WSJ controls the domain and the brand. They chose to redirect the homepage to WSJ.D

</comment></comment><comment><USER11> U G L Y</comment>


Ralph Nader: Greedy Boeing's Avoidable Design and Software Time Bombs - <AUTHOR> https://nader.org/2019/03/21/greedy-boeings-avoidable-design-and-software-time-bombs/ <comment><USER2> From applied control theory I intuitively knew that a cascade of issues resulting in a system instability had overwhelmed the pilots. I now see this arrogance of data science based software engineering being inserted into business, industry and social systems. As an abstract example Facebook's attempt to stabilize the politics on its platform through algorithms. More concretely in the hydro dam control systems in the Pacific Northwest. Specifically in this damned Boeing 737 Max control system. Control systems need rigorous testing through simulation not accidents.

</comment><comment><USER3> Boeing's design process was a shady mess for sure, but safety goes all the way down and up the stack. Every failure mode should have some level of redundancy and double checking.

So, yeah, a manufacturer tried to game the certification process to save a few bucks (and months) on a new aircraft design. That's a failure. But it's _not_ an unforseen one!

The safety value for manufacturer shenannigans is supposed to have been the certification process itself. And I gotta say the worst failings here are with the FAA. At any point someone could have looked at the process and seen:

1\. They changed the engine

2\. They had to move it because it was too close to the ground, but they couldn't stretch the landing gear and keep the type certification.

3\. So they moved the engines forward and up

4\. But now the aircraft was less stable, and they couldn't change the tail design and keep the type certification.

5\. So they did software-managed stability augmentation instead

6\. But (that's right) they couldn't change the autopilot and keep the type certification.

7\. So they did it with the trim, which had never operated under autonomous control before.

I'm sure I have a few of those details wrong, but the point is that any bureaucrat familiar with the aircraft could have seen that this was a ridiculous house of cards they were playing with the type certificate. I mean, one change with one workaround, sure. But a cascade like this is just _obviously_ a perversion of the process.

Yet no one said something. Or if they did they were overruled.

The way the built-in incentives work, it's not feasible to rely on 100% forthright and honorable manufacturers. So we have a regulatory body to catch those failures for us, and it failed.

<comment><USER4> > And I gotta say the worst failings here are with the FAA.

The FAA is underfunded to do their job properly. The major consequence of this is that to properly certify the changes from Boeing would have taken a long time. A long time would mean that Airbus would win more contracts compared to Boeing. With a pro-business administration in place, there was significant pressure put on the FAA to complete the certification quickly. They were actively encouraged to outsource safety work back to Boeing's engineers to keep pace on the timeline.

<comment><USER5> >The FAA is underfunded to do their job properly.

That's not an excuse to rubber stamp a design.

<comment><USER4> Totally agree, and that's not what happened. Some of the data that Boeing presented to the FAA was wrong/old.

</comment></comment></comment></comment><comment><USER6> Boeing's culture needs to change. They have a history of shady behavior.

The espionage against Lockheed Space that lead to the ULA formation

The rudder denials with 737 before this current crisis.

The 767 lease debacle.

I'm sure I've forgotten more.

They keep getting away with it and it needs to stop.

<comment><USER7> The Boeing 737 bear straps fiasco is pretty sobering reading too:

[https://www.brandeis.edu/investigate/political-social- justic...](https://www.brandeis.edu/investigate/political-social- justice/boeing-parts-scandal.html)

[https://www.aljazeera.com/programmes/peopleandpower/2010/12/...](https://www.aljazeera.com/programmes/peopleandpower/2010/12/20101214104637901849.html)

</comment></comment><comment><USER8> The NTSB does and has done a fantastic job keeping flight safe, they are the sorts of people we should be looking to for what went wrong and how to fix it. Not politicians, Ralph Nader, or armchair engineers on forums.

Flying is complex and exposing the correct instrumentation, controls, and training to pilots is a hard problem. There will be mistakes and the important thing is to learn from them. The industry and regulators are very good at this.

</comment><comment><USER9> Nader may be right about some of this, but just claiming that evil "reckless" Boeing executives caused this is pretty silly. Boeing execs are probably the least reckless execs in any field, because even tiny failure rates can have massive consequences.

What's scariest about this is that it highlights the fact that many pilots are just regular schmoes. Average intelligence, adequate training. That's fine 99.9% of the time, when equipment failure isn't catastrophic. But it's crazy how many, when they're actually faced with catastrophic failure, forget how to fly the damn plane.

The runaway trim problem has been happening for 50 years. This isn't new, or unique to the MAX (same thing can happen on the small jets I fly). Anytime something like this (or any other autopilot failure) happens, every pilot is trained to disengage the system and fly the goddamn plane. Apparently the pilots on these flights didn't know how to do that. It's tragic.

For some more reading on the other end of the spectrum, see: [https://www.aopa.org/news-and-media/all- news/2019/march/20/c...](https://www.aopa.org/news-and-media/all- news/2019/march/20/congressman-concerned-about-foreign-pilot-training) (this is probably equally as bombastic as Nader's article, but offers some good perspective from that side)

edit: Apparently Nader's niece died in one the crashes, which would certainly explain his outrage: [https://www.cnbc.com/video/2019/03/22/ralph-naders- niece-die...](https://www.cnbc.com/video/2019/03/22/ralph-naders-niece-died- in-one-of-the-boeing-crashes-now-hes-calling-for-the-737-max-8-to-be- grounded.html)

<comment><USER4> > But it's crazy how many, when they're actually faced with catastrophic > failure, forget how to fly the damn plane.

Your comment makes me sad. Especially since there will be many other people who come to a similar conclusion without adequate information.

The runaway trim problem and the new MCAS problem are superficially similar, but the symptoms are distinctly different. The runaway trim manifests itself with a continuous deflection of the trim. Pilots are trained to recognize this symptom and compensate. The new MCAS also affects the trim, but it is engaged in repeated nose-down commands. It has fundamentally _different_ symptoms compared to the older and more widely known runaway condition.

There is no absolute reference on the position of the stabilizer. It is a wheel that turns, so a pilot must watch that wheel continuously to know if it keeps turning or if it turns periodically.

The controls column has force feedback. The pilot was pulling back with ~50 lbs of force to fight the angle of the trim. Imagine holding a 50 lb dog while simultaneously trying to review emergency procedures to find the source of the problem. The pilot was flying the damn plane, and the symptoms of this problem were different.

<comment><USER10> > There is no absolute reference on the position of the stabilizer.

There's an indicator right next to the wheel:

[https://qph.fs.quoracdn.net/main- qimg-1dc99dbe662c71d7c470cf...](https://qph.fs.quoracdn.net/main- qimg-1dc99dbe662c71d7c470cf1bb873a8ff-c)

And the pilots must have recognized it was a trim issue because they countered it multiple times. Why they didn't flip the stab trim cut off switch is a mystery.

An earlier crew was able to fly the plane. I agree the pilots should have been made aware of MCAS (though either the Ethiopian pilot was shockingly not aware of it or being aware didn't help him). But at the end of the day the pilots are there to fly the plane, not manage automation:

[https://vimeo.com/159496346](https://vimeo.com/159496346)

<comment><USER4> The earlier crew faced an identical issue the day before, and it was only the deadhead pilot onboard who recognized the issue and suggested flipping the stab trim cut off. Out of 5 pilots (7 if we count the other crash), only one suggested the correct fix.

> Why they didn't flip the stab trim cut off switch is a mystery.

Not really. In the previous incarnations of the 737, a hard pull on the yolk by a pilot disengaged the automatic trim system. In the 737 MAX, the yolk pull method to disengaged the trim was disabled. What the pilots did would have worked on the previous version of the plane, but not on the MAX.

Boeing really tried to claim that the MAX was just like the previous version, and that pilots didn't need new training to fly it. I think the data shows that more pilot training is appropriate for this plane.

<comment><USER11> > The earlier crew faced an identical issue the day before, and it was only > the deadhead pilot onboard who recognized the issue and suggested flipping > the stab trim cut off. Out of 5 pilots (7 if we count the other crash), only > one suggested the correct fix.

And there are two ways to look at that. One is to say "obviously this means that this failure mode is too hard to diagnose". Another is to say "holy shit Lion Air pilots are _fucking incompetent_ , I'm never going to fly any sort of third world budget airline if any of them are like this".

The truth is probably somewhere in the middle, of course.

> What the pilots did would have worked on the previous version of the plane, > but not on the MAX.

And yet the checklist continues past that point, because guess what? The "control inputs disengage trim" component can also fail, and Boeing planned for that.

<comment><USER4> I believe you're right that the truth is in the middle. It really points to the pilots being inadequately trained on this aircraft. Boeing strongly pushed to avoid requiring new pilot training for the MAX airplane. They claimed that MAX was similar enough to the previous version of the 737 that if a pilot were checked out on the previous plane they were good to go. What we're seeing now is that assessment was wrong. More training should have been required.

Boeing fucked up big time on this one. FAA also fucked up. Pilots were inadequately trained, and some delivered info was false (Boeing said MCAS could only bring the nose down 0.6 degrees, in fact, it was unbounded)

The MCAS system was designated "hazardous" by Boeing in their own safety assessment. A system that is labeled hazardous can not be reliant on a single system failure. MCAS _is_ reliant on a single sensor. That's already a major error in the safety analyses. As we can clearly see from two accidents, MCAS system should have been designated "catastrophic", one step more dangerous in that scale, with even more stringent redundancy requirements.

</comment></comment></comment></comment></comment></comment><comment><USER12> Does the FAA require civilian commercial airliners to have some sort of catch- all (e.g. positive stability if you kill all power and lower a ram-air turbine and assuming your flaps aren't jammed)? I don't know if that would have saved lives on those flights, because it was high enough to crash and low enough to not turn around to the airport or get to safety, but I would think a gliding plane and some base assumptions about the inherent flight characteristics of their plane would give the pilots a few precious seconds to think (like the miracle on the Hudson). Physics-based problems should have physics-based solutions.

If the engine placement and weight distribution caused an inherent problem with the stability of the aircraft, a rule like that might have given Boeing pause, no?

<comment><USER13> Yes, in particular the 737 is a cables and levers and pullys design. It can fly totally manually. If the pilots had realized they had a trim problem, and switched off the electric trim, and trimmed manually (literally turning a crank in the cockpit) they would not have crashed.

</comment></comment><comment><USER14> Should the airlines share some of the blame for not paying for the $80K disagree light for the two sensors on their $100M plane?

If I don't pay for the $3K automated emergency braking upgrade for my car, is it Honda's fault if I rear-end someone and die? It doesn't cost them $3K for what's mostly software and a couple hundred dollars of sensors, should they have bundled that obvious safety feature into the price of the car and not made it an optional upgrade?

<comment><USER15> I personally don't think safety equipment should be optional when they are relatively inexpensive for the manufacturer to implement. Boeing were clearly viewing this as an opportunity to get a bit more money out of a customer as pure profit margin.

<comment><USER14> But who defines "inexpensive"? Is a $1000 feature inexpensive on a $30,000 car? Is an $80K feature inexpensive on an $100M airplane?

That's $4M across a fleet of 50 jets (Ethiopean's 737 order size) - so it's not exactly insignificant.

Japanese authorities required the feature, while the FAA and others did not. Should all of the onus be on the manufacturer? There's definitely an argument to be made that Boeing didn't reveal the full nature of MCAS to the FAA, but if that weren't true, is it Boeing's fault that they didn't bundle the feature, or is it the FAA's fault? And why did the Japanese require it, did they have information that the FAA did not have?

<comment><USER15> I guess I meant from the manufacturer's perspective. I doubt it costs Boeing 80k to implement, though that was apparently the list price for the feature. This comment also really belongs within the context of the safety expectations of your industry. For planes, there is a high safety expectation. For a hardware feature that costs Boeing maybe $1k (wild ass guess here) to implement, I would expect them NOT to view that as an opportunity to squeeze someone for more profit. They would obviously have to increase the selling price somewhat.

From a purely business case I can see why Boeing did what they did but I'm just philosophically opposed to profit being the only goal. Even if it was the only goal, this case pretty clearly shows that it wasn't 'worth it' for Boeing to skimp on safety features with what, 20B wiped off their valuation.

</comment></comment></comment></comment><comment><USER16> 'm a bleeding-heart socialist, actually an anarchist, far to the left of Ralph Nader and I /still/ find his rhetorical style obnoxious and not useful.

We can have a discussion about how de-regulations and profit motives may have contributed to this disaster, we have even throw in ideas about regulations and corporate responsibility, but we have to recognize that software at this scale and or these purposes is hard, and there's no reason why the govt may be better at it than Boeing, and the discussion about what the risk/reward ratio should be for society as a whole is super complicated and we don't nec have a way to have it.

TLDR: I'm an anarcho-socialist programmer. Boeing may or may not be evil and de-regulation and the profit motive probably eff things up in the current socio-economic sphere, but Ralph Nader doesn't lend much to the conversation here.

</comment><comment><USER17> > Most notoriously, the airlines, after the hijacks to Cuba in the late > Sixties and early Seventies, made sure that Congress and the FAA did not > require hardened cockpit doors and stronger latches on all aircraft, costing > a modest $3000 per plane. Then the 9/11 massacre happened, a grisly > consequence of non-regulation, pushed by right wing corporatist advocacy > centers.

This is a curious and very sad bit of history I was unaware of.

<comment><USER18> I'm going to put a big fat Citation Needed on that one. I don't see how it would have helped in the 1970s. The hijackers take over the rest of the plane and say they're going to execute one passenger every hour unless the pilots take them to Cuba. Are we expecting the pilots to say, nope, we're safe, execute whoever you want?

9/11 was a game changer becasue it was a completely new kind of hijacking where the hijackers have no demands and everybody dies quickly if the hijacking goes according to plan. Reinforced doors are useful there, becasue threats to the passengers don't hold weight when you know they'll all die anyway if you open the door. That was very much not the case in the 70s.

<comment><USER19> Wouldn't it make sense in that case to just pretend it was a "regular" hijacking? Why should you go "hey pilots, open the doors or not, everyone is gonna die anyways." Vs. Open the door now or we'll kill a passenger every 10 minutes."

<comment><USER20> That won't work, because the protocol has changed. No pilot today will open the door, even as someone dies every 20 minutes. The pilots will divert to the closest airport and land.

<comment><USER19> I wouldn't bet on that. It might be protocol, but they're humans, not robots.

<comment><USER21> No. The pilots know that they'll be dead if they open the door. I take it you're too young to remember 9/11?

<comment><USER19> There's plenty of blackbox recordings and transcripts out there of pilots losing control and freaking out instead of trying to stay calm and try to fix the situation. Most recent example is lion air. How the fuck can you seriously think every pilot on this planet would stay calm, act absolutely rationally and not panic if they can hear people being shot behind a closed door, especially if they'd been told they can make it stop by opening the door? That's like a hundred times more psychological stress. Seems like you should get out some time, have interactions with real people.

</comment></comment></comment></comment></comment></comment></comment><comment><USER22> As for a flyer's bill of rights it would be nice to have more widebody flights or at least something small but comfortable like the Embraer 195.

What's been lost in this discussion is that the 737 is based on the 1958-era 707 in it's major configuration -- with its circular fuselage it is not built with compatibility with the human body in mind so of course you are going to feel like flying is hell after a transcontinental trip on what was originally intended as a regional jet.

Even if you survive the flight on a 737 you are going feel like you're dead. Since the 737 and A330 represent the vast bulk of planes built, anyone concerned about the environmental impacts of air travel (e.g. climate change, noise) would want to see the 737 get a clean sheet design like the 787.

<comment><USER18> I've never noticed a difference in comfort between different airplanes. What matters is the seat, and they're pretty much all the same (and, when different, this does not depend on the type of plane they're in). Why would I care about fuselage cross section?

<comment><USER23> The narrow body gives you less room to work with. Delta Economy seats are 17.2" in the 737, 17.9" in the 767, and 18.5" in the 777.

<comment><USER14> United has a few configurations for 777 economy seating - a 3-3-3 configuration with 18.3" of width and a 3-4-3 with 17.1" of width.

I've flown the 3-4-3 one and will never fly it again, it is super cramped, and even the few inches of extra leg room in economy plus can't make up for the narrow seats.

So being a wide/narrow body jet doesn't really relate to seat width, it's all based on how many seats the carrier can cram in.

[https://www.seatguru.com/airlines/United_Airlines/United_Air...](https://www.seatguru.com/airlines/United_Airlines/United_Airlines_Boeing_777-200_6.php) [https://www.seatguru.com/airlines/United_Airlines/United_Air...](https://www.seatguru.com/airlines/United_Airlines/United_Airlines_Boeing_777-200_9.php)</comment></comment></comment></comment>


Windows 10 Is a Tool to Spy on Everything You Do - <AUTHOR> https://www.youtube.com/watch?v=DY_FWpr8BX8

<comment><USER2> I know this jackass, just ignore him. He's a nutter conspiracy theorist who hates the police because he got arrested when he started mouthing a cop once.

There are certainly concerns surrounding windows 10, but you'll need to look elsewhere to get a balanced and fair opinion.

</comment><comment><USER3> I would never watch a 7m youtube video about this topic. I simply don't care.</comment>


Junky TV is making people dumber, more likely to support populist politicians - <AUTHOR> https://www.niemanlab.org/2019/07/junky-tv-is-actually-making-people-dumber-and-more-likely-to-support-populist-politicians/ <comment><USER2> Yeah ... right. As if you would only support a "bumbling" populist politician if you were "dumber".

But, I guess you could use this to blame it all on Hollywood.</comment>


TypeScript Progressive Web App Quickstart - <AUTHOR> https://github.com/insprintorob/typescript-progressive-quickstart/ <comment><USER2> The code seems generate to generate a very simple service worker that enables offline more for the web app: it puts the static assets in a cache that serves them if the network is down.

While it is a great start, and nothing wrong with that, I encourage people to check the more advanced features of routing and caching, where you have much better control of what is happening in the service worker. I have found the best JS library for that is sw-toolbox: [https://github.com/GoogleChrome/sw- toolbox](https://github.com/GoogleChrome/sw-toolbox)

Shameless plug: I have also developed a Dart library for progressive web apps: [https://github.com/isoos/pwa](https://github.com/isoos/pwa)

One significant advantage of the library over the original solution is that you can have offline mode without sweating as much as 100-ish characters: [https://medium.com/dartlang/making-a-dart-web-app-offline- ca...](https://medium.com/dartlang/making-a-dart-web-app-offline- capable-3-lines-of-code-e980010a7815)

(Scroll ~to the middle, super-simple to setup).

Another advantage is that cache invalidation is really hard. Neither the linked quickstart, nor the sw-toolbox addresses this, but there should be a way to control your cache updates, invalidations, and making sure you don't leave it in a broken state. Also, these should make sure that you don't pollute the user's browser too much.

My pwa package does cover a lot of these edge-cases, and I'm happy to answer questions wrt/ pwa caching if there are any.

(Next up: messaging solution between service workers, web workers, isolates...)

<comment><AUTHOR> From my testing, the service worker served cached assets without requesting to the network, unless you cleared the cache or had automatic reloads enabled in chrome devtools.

You can control invalidations a from chrome devtools. Assets get served from the cache unless it's invalidated.

A chokidar powered script also watches for cached asset changes and regenerates the service worker (using sw-precache) with a new cache key.

<comment><USER2> Couple of things are mixed up here.

1) You may instruct a developer that they should clear their caches in Chrome DevTools. Good luck telling that to my father, who will have no clue what you are talking about. Cache invalidation is not only a technical issue, it affects the user experience, and should be an active part of your design. If your low-level tool does not support it, you need to be aware of that, and should write the code that does support it.

2) Automatically regenerating the serviceworker is the minimum you shall do, but there are other error scenarios that may happen:

\- You accidentally cache hundreds of 10MBs assets, taking up a huge space of your users. You roll out the new version, these assets are no longer cached, but unless you evict them actively, they will still take up space on the user's computers.

\- A cache request fails (for whatever reason), and one of the 29 assets goes missing in the cache. The app may be able to run offline, except that it will not show an icon, or will not run an asynchronously loaded script.

\- A cache update may fail during re-populating the cache (e.g. computer powered off), and the next time the offline app is loaded, the cache stores a mixture of old and new assets.

3) There are several layers of caches between the pixels and the server assets (to name a few: CDNs, web proxies, browser's disk cache, service worker's cache). Being aware that any of them may produce a different version of the same resource will usually help you to design a better tolerance for the edge cases.

</comment></comment></comment><comment><USER3> As someone who has lost more hours then I care to admit toggling flags with Webpack until I found the magic incantation: I love that this doesn't use webpack. I also love that it focuses on setting up a full testing environment. Thank you!

</comment><comment><USER4> This is really an Angular progressive web app, it doesn't do AOT minified compilation so the deployment size will be huge.

Depends what you're building but for most PWAs I'd recommend a much smaller library such as Preact probably in conjunction with [https://github.com/NekR/offline-plugin](https://github.com/NekR/offline- plugin)

<comment><USER5> The word 'huge' looks suspicious to me.

Also, if it is progressive why couldn't you still AOT the client side?

You could be completely right, but your comment smells dodgy.

Note that as it's typescript it will be transformed to JavaScript anyway, all the comments stripped, etc. so very much doubt it will be huge. And minification is becoming ever more irrelevant in the modern age because of http2.

<comment><USER4> Huge in the context is a few hundred kb, not great for a simple webpage. [https://blog.nrwl.io/angular-is-aot-worth- it-8fa02eaf64d4](https://blog.nrwl.io/angular-is-aot-worth-it-8fa02eaf64d4)

You could and should AOT the client side, my point was this quickstart project doesn't.

Typescript isn't the problem here Angular is, without AOT it includes an in browser compiler. Minification doesn't change with http2, you are probably thinking of concatenation/bundling.

<comment><AUTHOR> One thing to remember is that it is a quick start rather than a full production setup, so minification/uglification etc could be added as desired by whoever clones the repo as a base for their own up.

</comment></comment></comment></comment><comment><USER6> I'm not sure I understand the recent uptick in posts about progressive web apps. Are people running into enough problems with connectivity to architect their entire app around them?

<comment><USER7> Outside of the developed world (and somehow Australia because our net infrastructure is just that bad), being robust to network connectivity issues is super important. It's also why SMS based "apps" work so well in those situations, as intermittent issues is the norm, and SMS doesn't take much, but your 2MB web app does!

<comment><USER6> Ah. Was admittedly not thinking much outside my little bubble with that comment. Thanks!</comment></comment></comment>


These hustlers make a living off WeChat's thriving underground ecommerce - <AUTHOR> https://www.techinasia.com/weishang-wechat-micro-shop <comment><USER2> It's a different world - will the lack of control backfire one day?</comment>


For sale: one filing cabinet - <AUTHOR> http://niniane.blogspot.com/2008/09/for-sale-one-filing-cabinet.html <comment><USER2> A better solution is to file everything by month. It makes for quicker lookups without slowing down writes.

</comment><comment><USER3> ...but when you do need that obscure piece of paper you need it _right now_.

Think of a filing cabinet(1) as an exception or error handler. In a perfect world, you could just burn your receipts and statements after you've finished with them. In our imperfect world, it saves you a world of hurt when you can snatch that stuff at a moment's notice.

(1)(Do sell the filing cabinet though: Bankers boxes are much easier to move about or squirrel away in the closet).

</comment><comment><USER4> This reminded me of <http://diveintomark.org/archives/2007/12/28/receipts>

</comment><comment><USER5> This reminds me of an old joke:

      There are exactly two ways to do the dishes -
      either after the meal or just before it.

</comment><comment><USER6> "It takes so long to file the papers into my filing cabinet... I file them into individual folders for bills, insurance, mortgage, etc."

I can't quite see how this could be such a time-consuming task.

</comment><comment><USER7> Although the writes are expensive and very infrequent reads, the cost of having a failed read can be so expensive (like, your house, rapport with the IRS, etc).

</comment><comment><USER8> Heh, funny.

One small problem with shoeboxes: They get lost.

Proper lever arch folders have more survivability.

<comment><USER9> Shoeboxes are horrible. They're not fire-safe, not waterproof, difficult to secure, difficult to distinguish, easy to spill and easy to crush. Get a safe and dump things in there.

<comment><USER10> yet for holding shoes, they seem almost scarily well designed... [when you've spent ages building a hammer...]

<comment><USER9> In the context of the discussion, I meant for insurance documents and such...</comment></comment></comment></comment>


Ask HN: Which games are you playing in free time? - <AUTHOR> <comment><USER3> Factorio + Rimworld. Both great simulation games, both continually improved upon and under active development.

<comment><USER4> +1 Factorio. Used to be an avid gamer. Now just an avid Factorio player.

</comment></comment><comment><USER5> Text adventures. It's not out yet, but I've been following the development of taustation which will be an in-browser space adventure using text as a medium to tell the story. It is multiplayer of course. There are a few games like this within a fantasy setting, but none Scifi that I've seen. The team does bi-monthly blog post updates going over everything from in game lore to artwork to code testing and architecture. The games creator and lead is an expert in the Perl community and wrote one of the best programming books in my rather large collection. So not doing a huge amount of playing at the moment, but eagerly anticipating. Check it out:

[https://taustation.space/](https://taustation.space/)

<comment><USER6> Any other text-based games you'd care to recommend? I'm a fan of Counterfeit Monkey, Spider and Web, and a few particularly good Choice of Games games, like Lost Heir and Choice of the Deathless.

<comment><USER5> Sounds like you're in the know! Andrew Plotkin(spider and web guy) did one for Linux/iOS/Android recently called Hadean Lands that got good reviews. I'm a big fan of most of Emily Short's work (Bronze was good if you like Beauty and the Beast with a bizarre plot line). I also really really liked City of Secrets as the storyline was riveting although I did get stuck at one point and can't find a good walkthrough. Alabaster to me was a beautiful & short work of art. Good stuff.

<comment><USER6> Going to check out Alabaster and City of Secrets. Already got through most of Emily Short and Andrew Plotkin's respective oeuvres. Thanks!

</comment></comment></comment></comment><comment><USER7> I used to play Rimworld, then I realized I dislike sandbox games for the same reason I hate MMOs, MUDs and the 'roguelike' T.O.M.E. Huge time wasters. Rimworld is barely even a survival game. I mean it doesn't even display how many days your food will last!

I generally like my games short and tight:

Online FPS games come in 20 minute chunks.

Catacomb Kids is a splendid Early Access roguelike platformer, similar to Spelunky but much harder and terrain is generally indestructible. The amount of item and dungeon feature interactions is crazy, and the game is notable for having smart humanoids as its most dangerous enemies. They chase, keep distance if you have a longer weapon, run away and bring reinforcements when badly wounded, or escape to the next level. It may look like a brutally hard arcade game at first, but your success chance dramatically improves with planning ahead.

I also play many board games. Board games are funny because good games are played for decades, unlike Wolfenstein: Enemy Territory, Heroes of Might and Magic II, or Sid Meier's Alpha Centauri. They are also extremely modding friendly, and it's trivial to write a patch (it's called "house rules" and it's widely used). Board games have the sense of community like in old FPS games that had multiplayer based on dedicated servers. You don't get people randomly disconnecting. Also, one copy of a game is enough for several people. Board games also have the advantage that they are more about mechanics. I mean Quake and Unreal Tournament is basically the same game. Heroes of Might and Magic III would be called an expansion pack to HOMM2 if it was a board game. People play the games that are most fun, not ones that look best or have best action figures.

</comment><comment><USER8> Flatmate bought a switch and we've been playing quite a bit of Mario Kart 8. It's just nice to play a game that you don't need to get 'in the zone' to enjoy. The switch controller setup is really good too.

</comment><comment><USER9> One recent launch that might resonate with some is Thimbleweed Park

</comment><comment><USER10> Factorio. And I used to play Minecraft, but these days I'm too busy writing mods and server tooling to actually play it. :V

</comment><comment><USER11> The game I play most is Starcraft 2.

It's really hard to get "good" (I've played on and off for 2-3 years and still don't feel competent!) but the matchmaking is good enough that you win about 50% of games.

I like that it's 1v1, so when you win or lose, it's usually completely your own doing.

I also like that you pay once and are on a level playing field with everyone else. All of the in-game purchases are purely cosmetic. I played Hearthstone for quite a while but eventually totaled up the amount I spent on it and promptly quit!

<comment><USER12> Starcraft 2 player here as well :) #Eyenstyn2661 been playing since 2010, still newb currently silver leageue mostly playing coops, campaign and 1v1

Also Hearthstone casual player here as well :)

I also bought a Nintendo Switch recently and its a great 4 player party game device, I play Zelda but its much better to play on a big screen....

I was just happy to see someone playing similar games :)

</comment></comment><comment> Fire-Dragon-DoL I played Factorio for a while, but at some point becomes as complex as coding, when I reach that point I say "well, I can just work, get paid for it, and get same amount of fun", so I always drop around that.

Kerbal Space Program is by far the one I spent more time in, probably around 1000 hours.

Dark souls was one of my favourite (1st and 3rd), spent a lot of hours there too. I'm also playing a lot of board games lately, not sure if they count!

I'm always looking for cool new games, I'm really picky.

Oh I almost forgot! XCOM and Invisible Inc, both great!

</comment><comment><USER13> The Witness is pretty fun. Some of the puzzles take me a while to grok, so I play it every now and again.

</comment><comment><USER14> Guild Wars 2: Free to play, no subscription if you play for the game, and plenty of "things to do." The game revolves around story lines and open world events. What I like is that I can pop on and just do something and then pop off without feeling like I have to get my money's worth every month. Sometimes, it's nice to fell like I've managed to complete something (when it doesn't feel like it at work).

</comment><comment><USER15> The Legend of Zelda Breath of the Wild. Admittedly, part of that's because I'm messing around with different quest/dungeon orders and NPC interactions, but damn, that game can keep you playing for hundreds of hours if you let it.

Maybe I'll stop when that rumoured Mario & Luigi remake comes out. If not, probably when Super Mario Odyssey is released.

<comment><USER12> im also playing it, although i would have enjoyed it more without friends spoiling it for me by telling me where they are or what they found :(

</comment></comment><comment><USER16> League of Legends is my jam, I love the split second mechanical strategy that has me constantly trying to outsmart my opponents. Example: I cant cast my ultimate ability in a team fight until two specific opposing champions use their interrupt abilities. Opponents building Magic Penetration items? Magic Resist items won't help me, time to build straight health items.

The other game I play is Battlefield 1942. I've been playing that game since 2002 and there are a number of communities keeping the online scene alive even though Gamespy shut down their master server browser.

</comment><comment><USER17> Overwatch

</comment><comment><USER18> Faeria - beautiful card/board strategy game for PC. It's free to play.

[https://www.faeria.com/](https://www.faeria.com/)

</comment><comment><USER19> A whole handful because they all bring something different to the table:

\- Dishonored 2 \- The Witness \- The Talos Principal \- Batman - <USER2> Knight \- Shadows of Mordor \- Transistor

</comment><comment><USER20> Shadow of Mordor, Tomb Raider, Watch_Dogs, Zelda 2 (SNES on RetroPi).

Want to try Red Orchestra with old MOH/BF series friends but trying to avoid time suck online FPS games.

</comment><comment><USER21> I was playing Rocket League while trying to get into other games (Cities: Skylines, Rome: Total War) but I would always fall back to Rocket League. I was also playing Diablo 3 for awhile but just get bored. I start just about every season but quit shortly after I start. Currently I'm not playing anything because my desktop died in my move :(

</comment><comment><USER22> Overwatch for quick 20 minutes- 1 hour session

Factorio - when I need to relax

I tried Rimworld, but automation aspect in Factorio is soo much nicer :)

</comment><comment><USER23> I am currently working on my own game Photon Rush - which makes me play it alot.

It is in test phase but you can try it: [http://www.gametroleum.com/news/invitation-to-photon-rush- te...](http://www.gametroleum.com/news/invitation-to-photon-rush-test/)

</comment><comment><USER24> Just completed Witcher 3 at almost 270 hours. It was an amazing experience and comes highly recommended. Started The Last of Us (ps4) now, and so far it's been very good as well. Skipped FF15 after playing half an hour (used to be a huge FF fan, but they ended on 9 for me).

</comment><comment><USER25> For some reason I'm in a nostalgic phase

I'm playing Lufia II for the snes

I'm amazed I missed that one at the time.

</comment><comment><USER26> For online multiplayer I like playing mindless games like Halo or DOOM4. For single player... I struggle to think of the last good campaign I played, probably Hitman Absolution because it felt like a movie whilst also having entertaining gameplay.

</comment><comment><USER27> I had the original Witcher 3 on my XBox360, with no DLC. I just started playing Witcher 3 Complete Edition on my PS4. Currently level 5 and really enjoying it. I get maybe 6 hours a week to play, so it will take a while, which is fine with me.

</comment><comment><USER28> When I bought my new game laptop I was playing Witcher 3: Wild Hunt, and on Linux I use to play rouge-like game ToME, I've also play Adom but I was cheating by copy the whole game directory to restore the game when I was killed.

</comment><comment><USER29> Star Wars Galaxy of Heroes on mobile. It's fun and able to passively play and progress in the game. Biggest plus is the game mechanics in the game, they constantly improve things. I've been playing for about 18 months.

</comment><comment><USER30> Battlefield anyone? I play Battlefield 3/4 (and 1) all the time. Mostly BF 3.

</comment><comment><USER31> Overwatch!!!

After an exhausting day of swimming in the current of JIRA issues, bugs, pull requests, server logs, and such, Overwatch gives me a dose of pure fun and excitement!

It's a Game Of The Year for a reason!

You know, the world could always use more heroes ;)

</comment><comment><USER32> Shameless plug, my online version of the social deduction board game Secret Hitler. [https://secrethitler.io](https://secrethitler.io)

</comment><comment><USER33> I keep coming back to Titanfall 2. I play a considerable amount of Amped Hardpoint, along with CTF, Coliseum, and whatever is 2XP.

Risk of Rain would be my indie game addiction.

</comment><comment><USER34> Zelda, Dota 2, Factorio, Team Fortress 2, and Quake Live.

</comment><comment><USER35> Factorio, Overwatch

</comment><comment><USER36> LoL, Minecraft, PlayerUnknown's Battlegrounds

</comment><comment><USER37> Breath of the wild consuming way to much of my time and Darkest Dungeon, the despair and melancholy in that game brings me happiness

</comment><comment><USER38> Civilization, Stellaris, Europa Universalis...

</comment><comment><USER39> League of Legends

</comment><comment><USER40> I'm currently playing PUBG (PlayerUnknown's Battlegrounds). It's an incredible game to play with friends.

</comment><comment><USER41> Pro Evolution Soccer ($insertCurrentYearHere)

</comment><comment><USER42> Lately, my main timesink has been State of Decay. GTA in a zombie apocalypse, with basebuilding and resource management.

</comment><comment><USER43> Team Fortress 2 with a mate.

Dwarf Fortress 2 when I need to immerse myself in something completely different than theoretical chemistry.

<comment><USER10> > Dwarf Fortress 2

You from the future, mate?

<comment><USER44> Technically the full name of Dwarf Fortress is Slaves to Armok: God of Blood Chapter II: Dwarf Fortress so their not too far off.

</comment></comment></comment><comment><USER45> Sensible Soccer

</comment><comment><USER46> -Red orchestra 2, Rising storm 2: Vietnam beta. \- Kerbal Space Program \- Lunar flight

Just to get my mind somewhere else.

</comment><comment><USER47> Not a lot right now, but I've put a huge amount of hours in Minecraft the past couple of years :)

</comment><comment><USER48> Deadly Rooms of Death (and the followups)- recommended to anyone who likes hard puzzles.

</comment><comment><USER49> Mostly Hearthstone followed by Breath of the Wild, but also occasionally WoW and D3.

</comment><comment><USER50> [http://slither.io](http://slither.io)

</comment><comment><USER51> Factorio, Stellaris, XCOM, and Tiny Rails on mobile to relax and look at trains =)

</comment><comment><USER52> The Legend of Zelda: Ocarina of Time and Mario Kart 7. Both on Nintendo 2DS

</comment><comment><USER53> Don't Starve Together.

</comment><comment><USER54> Path of Exile, Heroes of the Storm, and sometimes a bit of Starcraft 2

</comment><comment><USER55> Human resource machine, Knizia games specially Poison and Modern Art

</comment><comment><USER56> Minecraft

Fallout3, Fallout New Vegas,

Tower of Hero (until their most recent update broke the game)

</comment><comment><USER57> LoL, Civ, Factorio. Just finished Torment: Tides of Numenera.

</comment><comment><USER58> Factorio, PlayerUnknown's Battlegrounds, Rocket League

</comment><comment><USER59> Dark Souls 2 & Dark Souls 3 (PS4) this first semester.

</comment><comment><USER60> Team fortress 2, witness.

Surprised how many Factorio fans there are here.

</comment><comment><USER61> FFX and Overwatch

</comment><comment><USER62> Civ V and VI, Horizon: Zero Dawn and Destiny

</comment><comment><USER63> I play "Kingdom Rush" on my phone.

</comment><comment><USER64> Codegolf.stackexchange.com tag:king-of-the-hill

My own prototype board game

Severed

Desert Golfing

</comment><comment><USER65> I mostly play Call of Duty : Black Ops 3.

</comment><comment><USER66> Counter Strike

</comment><comment><USER67> Chess

<comment><USER68> +1 for it.

</comment></comment><comment><USER69> Mostly Go, and some chess.

</comment><comment><USER70> Arma 3, still the best sim

</comment><comment><USER71> Factorio and Dawn of War 3

</comment><comment><USER72> Kerbal Space Program

</comment><comment><USER73> Total war: Warhammer

</comment><comment><USER74> PC: The Witness, Portal 1+2

Mobile: Super Hexagon, Glitchskier, Alto, hocus, Snakebird

</comment><comment><USER75> Distant Worlds

</comment><comment><USER76> Clash Royale

</comment><comment><USER77> Minecraft :)

</comment><comment><USER78> Dawn of Crafting

Clash Royale

</comment><comment><USER79> Hearthstone

</comment><comment><USER80> tic-tac-toe

</comment><comment><USER81> Starcraft 2

</comment><comment><USER82> PUBG

Dark Souls 3

TIS-100

Rocket League

</comment><comment><USER83> RecRoom

</comment><comment><USER84> Zelda.

</comment><comment><USER85> Dead Cells

</comment><comment><USER86> diep.io

</comment><comment><USER87> gurk 3

</comment><comment><USER88> Counter strike but without voice. Helps relax

<comment><USER89> It really is amazing how much more relaxing casual is when you turn down VoIP.

</comment></comment><comment><USER90> LoL, Overwatch</comment>


Calming Anxiety in Autism with Rhythmic Entrainment Intervention (REI) Drumming - <AUTHOR> https://www.stronginstitute.com/resources/calming-anxiety-based-behaviors-in-autism-with-rei.html <comment><AUTHOR> from ted talk drummer about trick to sleep [https://www.youtube.com/watch?v=A5dE25ANU0k](https://www.youtube.com/watch?v=A5dE25ANU0k)</comment>


A Brief History of Intel CPU Microarchitectures (2013) [pdf] - <AUTHOR> https://people.apache.org/~xli/presentations/history_Intel_CPU.pdf

<comment><USER2> I went to visit my dad one day and he brought out a laptop to show me. Said he found it at the local car wash sitting next to the vacuum pillars. This was in 1996 or so. It was a Sceptre brand with an integrated trackball instead of a trackpad. I asked him if I could borrow it. I never gave it back.

I went back to see him again and he had bought a Compaq desktop system. Intel 266Mhz ... it was crazy fast ... compared to the laptop. It was so fast it could play Delphine Moto Racer. I remember feeling totally overwhelmed as each month (it seemed) that Intel was upping speeds in 33Mhz increments.

I started buying "Computer World" magazines to keep up with the speed of innovation. Soon I was a computer expert and Dad made sure to tell his friends that.

He let me use his desktop whenever I came over to visit. It was too big to carry out to the car, which I think he was glad about. I used Laplink and a null-printer cable to try and siphon off his files so I could get Windows 98 to run on my laptop. Eventually, I started a software company and today Dad is using a custom PC I put together for him.

:-)

<comment><USER3> Exciting times indeed, every new generation run rings around the previous! I feel bad that I'm still running an i7 2600k (@ 4.6ghz) from late 2010, but there hasn't been much need to upgrade. Maybe Skylake-E in about a years time..

I guess CPU's have reached the same point as the car industry, while they're been able to make cars that can do 200mph+ for decades. The mass market wants fual efficient cars.

<comment><USER4> That's actually a good point. CPUs have been getting more and more low power too.

I guess that's how we do things, make 'em fast, then make 'em efficient.

</comment></comment></comment><comment><USER5> I find it interesting the number of times they attempted a new ground-breaking architecture, only to continually fall back on good ol' trusty x86.

(Also, I wonder what the morale is like within the Itanium team.)

<comment><USER6> What Itanium team? They haven't released a new chip since Poulson, which came out in 2012. Kittson was supposed to be released this year (and last year, and the year before), on the same process as Poulson, in a package that's supposedly more compatible with the Xeon line.

<comment><USER5> The one that's supposed to be (as in, contractually obliged to be) making processors :-)

</comment></comment></comment><comment><USER7> The slideshow fails to mention X86_64 (or, let's be honest, AMD64), which is at least as important as Itanium.

<comment><USER8> Well it's not exactly an Intel micro architecture.

<comment><USER7> EM64T then.

<comment><USER9> Ugh, the clumsy/non-standard naming of the 64-bit variant irritates me. AMD64, x86_64, x64, EM64, "Intel 64" (not Intel Architecture 64, although x86 is Intel Architecture 32), etc. And ARM have now done something similar for "AArch64".</comment></comment></comment></comment>


Zenefits Series C at $4.5b Evaluation - <AUTHOR> http://www.wired.com/2015/05/zenefits-funding/

<comment><USER2> Anyone else blown away by Zenefits' valuation? It is 45x the company's _projected_ 2015 revenue. Even more surprising, the company is no where near profitable, has a number of regulatory challenges ahead, and is only 2 years old.

This reeks of a bubble. I guess funding consumer-focused apps is old news, and it's all about funding enterprise startups (i.e. Slack).</comment>


Show HN: Lackid.com – A new perspective for your project - <AUTHOR> https://lackid.com <comment><AUTHOR> Hello,

My name is Cam, and I'm the maker of Lackid ([https://lackid.com](https://lackid.com)).

I built this application because I need a simple project management app like Trello (it's great) with the ability to get the overview of the whole project like Mindmeister (a mindmap tool).

With Lackid, the project is no longer just a long list of items, but it could have a few layers of decomposition which help people to easily get the overview of the project. Like a mindmap app, Lackid allows anyone to brainstorm from idea to tasks (I think this is suitable for startups), and start working on it right away.

Lackid also provides the ability to have multiple kanban boards on the same project (Status board is created by default). Which allow you to organize/prioritize items based on many aspects (such as release plan, customer segments, etc...)

In addition, you can have the status of the item at any view at any time through its status colour.

I hope that Lackid could be a good choice for startup projects. I appreciate your sharing your thoughts on it.

Thanks, Cam

<comment><USER2> Why does the back button keep me on the landing page? Or is that just me?

<comment><AUTHOR> I think everyone would get that. Because I developed it with react-router which silently redirects you from / to /home if you are not logged in. So when at /home, you go back to /, it redirects you again to /home.

<comment><USER2> I forgot to say congrats on the launch, and best of luck with the project!

Dunno, that back button behavior seems wrong in terms of user expectations. Are you sure you are using react-router correctly? If so, I would find something else. Sites that trap users like that seem like scams. My 2, anyway.

<comment><AUTHOR> Hello, thanks for your message. I really appreciate that. I think I didn't use the lib correctly. I've fixed that. Thanks again.

<comment><USER2> Cool, glad to help out. Here I go again: by "a high-level conversion about the state" did you mean "conversation"?

<comment><AUTHOR> you are the best!!!

</comment></comment></comment></comment></comment></comment></comment><comment><USER3> Congrats on launching!

One thing on your landing page, maybe add some detail as to what Lackid does. I had no idea.

<comment><AUTHOR> thanks for your message. I just want to keep it simple as possible. There is a learn more link under start now button which leads to the features page.

<comment><USER4> I've heard that there are three important questions to answer:

      What is it?
      How does it work?
      Why should I care?

The first one is both the most important and often the hardest one for a developer to get right. It's hard for the developer to get it right because at launch the developer has been living with the project for a long time and they know (in detail) what it is. When someone like me lands on the page, all I have is "Lackid" which means nothing to me.

For a project aimed at technical people, being dull and factual can be best. At a glance, tell them what problem it solves. Putting information on another page to generate clicks and up engagement metrics won't drive sales.

Good luck.

<comment><AUTHOR> You're absolutely right. Yeah, I've been working on this for 6 months and everything is in my head and it's super hard for a developer like me to express the idea in a simple way.

I've made changes according to your suggestion. Hope it is better than before. Thank you very much</comment></comment></comment></comment>


Google Working on Password Generator for Chrome - <AUTHOR> http://www.pcworld.com/article/250120/google_working_on_password_generator_for_chrome.html

<comment><USER2> This is a good idea in general but in practice ... my 1password has a whole stack of non-website-login information - server credentials, software licenses, database accounts etc.

If Google's doing this under the premise that everything-that-matters-lives- in-Chrome then it's going to fail, anyone who's open to using password managers at all is hopefully going to have applied it to more than just their facebook and gmail logins and across multiple devices that exclude Chrome.</comment>


ACM Classic Books Series (some free PDFs) - <AUTHOR> http://portal.acm.org/toc.cfm?id=SERIES11430

<comment><USER2> Errr, which are free to those who don't have a ACM Digital Library subscription?</comment>


Second Landing of Falcon 9 First Stage at Landing Zone 1 - <AUTHOR> https://www.youtube.com/watch?v=cKCU6WfLtjk <comment><AUTHOR> My favourite part of this landing was the on-board camera view of the landing burn.

Hopefully they will release the entire on-board footage, would be really interesting to watch the launch from the rocket's perspective.

<comment><USER2> Have you seen this[0] from Thaicom 8's landing on the ASDS? Shows everything from grid fin deploy onward during daylight hours.

0 - [https://youtube.com/watch?v=4jEz03Z8azc](https://youtube.com/watch?v=4jEz03Z8azc)

<comment><AUTHOR> I have, it's a pretty fantastic view!

What I'd love to see is that view for the entire launch and landing, in real time instead of sped up.

I didn't think about it, but you're right in that the view wouldn't be great for this one as it was at night time.

</comment></comment></comment><comment><USER3> The video coverage is much better this time, with a distant camera on the landing and a camera on the booster. Then, after the landing, they bring up spotlights on the booster. The barge doesn't have all that, but it probably will in time.

<comment><USER4> That's because they're landing on a fixed landing pad on land, where you get nice hard-wired cameras right to the video processing facility. On the ship, they're doing it by trying to punch a limited-bandwidth satellite data link through the thermal bloom of the landing rocket. It makes a big different.

<comment><USER5> This was also a NASA launch, so they probably provided additional cameras and/or stuff like that, like they did with CRS8's chase plane (the first successful landing on the ship, the plane circling the boat was provided by NASA since that too was a ISS mission)

<comment><USER4> I am guessing that NASA (or more likely the USAF who owns the range) has a lot of the cameras on the launch complex, but not at the landing complex. You can see this on NASA TV which runs a different camera angle during launch, and immediately follows the launch broadcast with a series of replays from a bunch of different camera (running each camera's footage straight). However, during the landing, NASA TV just re-ran SpaceX's content (complete with overlays) and the landing replay was just a single camera shot from the same ground camera.

(However, I totally believe that the tracking camera during the re-entry burn was a NASA/USAF asset).

Given that the launch complex had/has a lot of existing infrastructure predating SpaceX and the landing complex was bulldozed to basically a giant concrete pad and a fire suppression system, that's not out of the question.

</comment></comment></comment></comment><comment><USER6> Incredible, its almost becoming routine now!

<comment><USER7> Landing large vehicles will never be routine. Every ship that moors, every plane that lands, is a life-threatening event that can go wrong in ways the public will never anticipate but the professionals have entire subsystems designed to manage.</comment></comment>


Check if your LinkedIn password was hacked or not - <AUTHOR> http://billsnitzer.com/linkedin/

<comment><USER2> This is misleading. Not being in the list posted in that forum does not mean your password wasn't hacked.

Absence of evidence is not evidence of absence.</comment>


Young women are more likely to find a job than young men - <AUTHOR> https://www.axios.com/graduate-unemployment-gender-gap-2391395811.html <comment><USER2> Would be nice if the article untangled why that is the case.

<comment><USER3> That's probably because the education system is failing with regard to teaching boys and keep them interested.</comment></comment>


Apple Launches Updated MacBook Airs with Faster Haswell Processors - <AUTHOR> http://www.macrumors.com/2014/04/29/updated-macbook-airs-faster-haswell/

<comment><AUTHOR> It continues to amaze me how kludgy the Apple Store can be, particularly given all the resources that are presumably being directed towards it.

Here is what is currently showing on the Apple Store for purchasing MacBook Airs:

\--- SNIP ----

      Error
      An error has occurred during your session. Please return
      to   the Store Menu to continue shopping.

      Return to Store menu

\--- SNIP ----</comment>


Programming Clojure (book by Stuart Halloway) is out of beta (here's a review) - <AUTHOR>

I just downloaded the updated e-book last night and from a quick glance, it looks roughly the same as the beta one (with fixed typos and code bugs, I assume). I mentioned in a comment a while ago I'd do a review, so here it is.
For those who have never looked at any lisps, I'd recommend reading http://www.moxleystratton.com/article/clojure/for-non-lisp-programmers before jumping into the book, because the intro chapter has a lot of small examples that you can type in the repl as you go along to get a taste of the language. (this also helps get into the mood to drink the koolaid that the chapter throws at you)
The book then shifts into a more in-depth explanations of different aspects of the languages. The major chapters are: syntax and basic concepts, java interop, the sequences library, functional programming, concurrency, macros, multimethods, and a last chapter about how to go about some common tasks in clojure.
The book provides a pretty nice hands-on experience. As the book progresses, by completing the end-of-chapter exercises, you can gradually write an ant-like build tool. One of the chapters also shows how to write a simple snake game.
So far, I only have a couple of critiques:
1 - imho, getting comfortable with a lisp editor is a big deterrent for Java people, and the book doesn't explain much in terms of what sorts of weirdness to expect in the transition (granted, the book isn't about emacs or vim).
2 - I feel the section about destructuring could be longer and use more real-world code samples, as it seems to be a fairly important concept and, at the same time, fairly novel for the non-lisper.
Overall, though, I find it a nice introduction to the language. The e-book has links any time it references any concept (including the table of contents and the index), making it a pretty decent reference book too.
Has anyone else bought it? What do you think of it? <comment><USER2> I think your review is rather short :-)

<comment><AUTHOR> What else would you like me to talk about?

</comment></comment><comment><USER3> As far as setting up emacs to work with clojure, Bill Clementson's blog has some good information:

<http://bc.tech.coop/blog/081205.html>

<comment><AUTHOR> Yeah I tried that, but it wasn't working for me for some reason. I was using Notepad++ until a while back... not exactly a Lisp editor :P

Right now, I'm trying out ClojureBox (<http://clojure.bighugh.com/>). The only issue I had installing it was that I had to delete the .emacs file on the root folder to get it to work (probably leftover from my previous failed attempts to get clojure support working).

<comment><USER4> On windows, I use NetBeans + the clojure plugin. You have javadoc, autocompletion, included REPL. Even if it's not finished, it's already quite good as it is.

If you're serious about clojure it also offer you a good Java Developpment environnment, wich is a neat thing.

On Linux i use Vim + VimClojure. Really nice, but REPL integration is not as nice as in SLIME for sure.</comment></comment></comment>


How Iceland Got Teens to Say No to Drugs - <AUTHOR> https://www.theatlantic.com/health/archive/2017/01/teens-drugs-iceland/513668?single_page=true <comment><USER2> So; push kids towards healthy activities (sports/dance) and add a curfew age 13-16?

<comment><USER3> _A couple of minutes ago, we passed two halls dedicated to badminton and ping pong. Here in the park, there's also an athletics track, a geothermally heated swimming pool and—at last—some visible kids, excitedly playing football on an artificial pitch._

You can't push kids towards healthy activities until you have invested in providing facilities activities in the first place. Youth clubs in draughty church halls aren't enough any more, even if they ever were..</comment></comment>


"Jaywalking" Shouldn't Even Be a Thing - <AUTHOR> https://www.strongtowns.org/journal/2020/1/14/jaywalking-shouldnt-even-be-a-thing <comment><USER2> What irks me about exposes like this is fallacious reasoning like this:

\- the only explanation for the proportion of jaywalking tickets to minorities being larger than for other groups is racism or other unfairness

\- the only explanation for the proportion of jaywalking tickets to 18-25 year olds is a bias against innocent young people.

Um. Perhaps in New York, population 8 MILLION, the 316 tickets for jaywalking (representing 0.004%) were just handed to people who _really_ deserved it. I mean if you, and I, and everyone else walks in the street from time to time, you'd expect about 7,500,000 jaywalking tickets, not 316.

Suppose however, whites (non hispanic) make up a 1/3 of New York and rarely get tickets. So you'd still suspect like 5 million tickets given out. Sounds like jaywalking is either very rare (contrary to the author's opinion), or tickets for jaywalking are very rare.

Here's my alternate theory: 18-25 year old certain non-white young men have a much higher propensity to obstruct traffic and walk in the street to a level that they annoy the fuzz, and then refuse to back down to a point of getting a ticket, than do other demographics. It appears tickets are exceedingly rare and must be earned by some extraordinary jackassery, which would certainly explain the 18-25 demographic. Let me go out on a limb and guess that out of 316 tickets about 314 where given to intoxicated males too.

You simply CANNOT assume that committing crimes (or in this case trifles) is evenly distributed across demographics. So if "tickets" are not evenly distributed, it does NOT imply bias in enforcement, it could also very simply mean a bias in committing. Certain demographics may like to jaywalk a lot more, the data proves it more than it proves bias.

And should this be a crime? Probably, but it isn't. It's an infraction. Don't brazenly walk in the street and obstruct traffic and refuse to budge when the po-po tell you to move if you don't like it. Pretty sure doesn't matter what color you are, assholes should continue to get ticketed for this.

<comment><USER3> > Sounds like jaywalking is either very rare (contrary to the author's > opinion), or tickets for jaywalking are very rare.

The latter. I believe the photos are meant as evidence that jaywalking is common.

> Let me go out on a limb and guess that out of 316 tickets about 314 where > given to intoxicated males too.

Okay, you're on the limb. The actual data, at [https://nyc.streetsblog.org/2020/01/08/nypd-targets- blacks-a...](https://nyc.streetsblog.org/2020/01/08/nypd-targets-blacks-and- latinos-for-jaywalking-tickets/) , says that 15 of the people were female a 2 were "unknown".

Looks like the limb broke. And that's not even explaining why 27 of those ticketed were <18 - is underage drinking really that common in NYC?

Also, your interpretation doesn't explain the disparity across areas. Manhattan has the most pedestrians but fewest jaywalking tickets.

Quoting the streetsblog link "Some precincts which formerly issued a large amount of such summonses have abandoned the practice. For example, the 94th Precinct in Brooklyn issued 30 summonses in 2015, but zero in 2019."

That more in line with jaywalking being a common practice which the police ticket only when they want to ticket someone but don't have another reason.

<comment><USER2> I was exaggerating to make a point. I'm flabbergasted how accurate I was. Out of 316 tickets, 299 where males. Pretty much my point, vast majority male

And yes, I'll accept that other than drunk asshole (underage or not) males, younger adolescent male assholes may also likely contribute a bit. Vast majority (by your numbers) still 18+ males.

Yes, I agree that jaywalking is totally a common practice and almost nobody (99.996% per-capita) gets ticketed. So people that jaywalk harmlessly in bustling business districts like Manhattan are more likely to get hit by a falling cartoon piano than get a jaywalking ticket.

Yes, I totally completely agree that the only people that get ticketed are those that the police want to ticket for some _reason_ (when they don't have a better one). Do you not understand that is always the way the police operates? On purpose. We pay them to do this.

My central point is: I think that _reason_ is that they are being obnoxious dicks in some way to a fairly extreme level apparently several standard deviations outside the norm and therefore deserve what they get. I think the reason for the geographical difference is that there are simply more people acting like these assholes in certain districts.

Or, maybe, the po-po just thinks these young males are looking and acting like drug dealers or pimps and would like to "have a word" and need a legal pretense to do this. This would also be consistent with your evidence. Guess what? I'd applaud the initiative. If it turns out they were actually just on the way to Sunday school, then they are probably not part of that elite 316.

So then, in either case, what's the problem? Sounds perfectly fine to me.</comment></comment></comment>


U.S. Supreme Court wrestles with Microsoft data privacy fight - <AUTHOR> https://www.reuters.com/article/us-usa-court-microsoft/u-s-supreme-court-wrestles-with-microsoft-data-privacy-fight-idUSKCN1GB0GY <comment><USER2> Rosenkranz conceded that a human being does not have to be in Ireland, but rather someone in Redmond would command a "robot" to do the job. He went on to hypothesize, "If you sent a robot into a foreign land to seize evidence, it would certainly implicate foreign interests."

How the hell did they come up with the Robot analogy? Crazy.</comment>


Ask HN: What's a good, clean, public dataset with many entity relationships? - <AUTHOR> I need some data to populate a database with for stress testing.
For example: A movie/TV dataset with movies, TV shows, releases, episodes, actors, directories, companies, genres, etc., and relationships between them. I'd like at least few million entities in total, and an ordinary of magnitude more relationships between them.
I'd like JSON, or, at the very least, CSV/TSV. The dataset should also be modern, fully denormalized and cleaned up, with fields that are easy to understand. I'm not looking for a triplet dataset, as they can be difficult to untangle, but it might do.
Focusing on movies, I've found some datasets that are too minimal and/or focused on the wrong things (e.g. MovieLens), or too messy to easily consume (IMDb, Wikipedia), or hidden behind granular APIs (TheMovieDB, OMDb).
Does such a thing exist? <comment><USER2> Microsoft provides an example database, AdventureWorks, for SQL Server. I've used it a lot at my company; we make a product that generates Enterprise back- office applications off of existing databases, and we've created a bunch of demos using AdventureWorks.

[https://github.com/Microsoft/sql-server- samples/releases/tag...](https://github.com/Microsoft/sql-server- samples/releases/tag/adventureworks)

<comment><AUTHOR> Thanks, but it looks like that data requires SQL Server.

<comment><USER2> If you browse around the github repository, you can find csv files for all of the tables, which you might be able to work with. Also, search Google Images for "AdventureWorks Schema" to get an idea of how complex the database is. It seems to be the kind of dataset you're looking for, just maybe not in exactly the format you'd like.

<comment><AUTHOR> Thanks, I couldn't find anything but SQL Server dumps.

However, I've looked at the schema, and it's an OLTP database. I'm looking for something that's more about real-world entities and public facts, and less about nitty-gritty business-transactional details. Movies, music, people, organization structures, literature, public infrastructure, etc.

</comment></comment></comment></comment><comment><USER3> Look at TPC workload generators, those have a knob you can turn to control the size of the database.

<comment><AUTHOR> Looking for real data, though.</comment></comment>


Mark Zuckerburg adds a new feature to Facebook. Users are furious. - <AUTHOR> http://evrotone.blogspot.com/

<comment><USER2> I can't find the article the title is referring to. I can only find one post related to Facebook on the blog, and it's unrelated to the title. Care to clarify?</comment>


Internet Security and Heartbleed – HOB's full page ad in WSJ - <AUTHOR> http://www.hobsoft.com/news/news220414.jsp

<comment><AUTHOR> These guys paid for a full time ad in the WSJ so their CEO could off on open source software. Based on this content they need a better PR department.</comment>