Hacker Newsnew | past | comments | ask | show | jobs | submit | more tonyle's commentslogin

This is pretty common with a lot of companies switching to byod (bring your own devices to work)

The idea is the company saves money by loading a secure workspace to your personal device instead of paying for a corporate device.

Companies setup a mdm server such as blackberry, good, airwatch, etc that basically send a remote wipe command. You would then download an app to activate it.

It depends on the company but check if there is an opt out clause or demand the company to provide you a corporate phone as you don't have a personal device.

It's ok in most cases since the company is paying for your phone bill as compensation so you can just get a second personal device.

I'm not sure about the legal issues, especially if you can't opt out of it.


That data structure is basically a CSV file. If I were you, I would convert the JSON to a CSV file, load it into excel and use a pivot table dive into your data and convert it back if needed.

A pivot table will do exactly what you want and more. If you hate excel, You could load it into a database and do a groupby query. I suspect most JSON in that data structure were auto generated from CSV files or database anyways.

Another option is to just convert that JSON to another JSON keyed by name with Lodash then inspect it.

var anotherJSON=_.keyBy(oldJSON, 'name');


Chrome console allows you to inspect an object and expand on the properties visually.

For the most common cases, I just copy and paste the string into the chrome console if I need to inspect some random JSON file really quick.

If it is too big to copy and paste, pipe it into a html file as a global variable and view the object in the console.

You can also just open a node repl and load the JSON into memory. node lets you auto complete property names by pressing tab, this is great for inspecting some unknown object.


Pretty cool.

However, how can you call it 17 LOC and then put in a link to a "readable" version with 67 LOC on the same page.


The 17 LOC version is still relatively readable for someone fluent in Red/Rebol, despite the tight vertical packing. I could have claimed 14 LOC using the minified version [1], but in such case, I couldn't have called it "readable" at all. ;-)

[1] https://gist.github.com/dockimbel/091cc787b366a3d88972b8cb9e...


I think the manually minified version was done for fun. A lot of programmers like to play this game. For me, the tiny version is fun to see, but not to read, so I'm glad he made the regular version available as well.

You make a good point, though, in that examples benefit from being readable.

Also, maybe it made you look. ;)


At first I thought it was some employer gone crazy.

Halfway down, I realize it's just like any other big company tactics. Some upper management suggest all employees practice positive thinking, offering a course on how do deal with stress, forced laughter, etc.

Then I wondered how common this practice was for a company to offer this to their employees in the same way a company would offer free massages or therapy.

Seems to be a common, even competitive business in Korea.

Now I'm not sure how I feel about it. It could be some big new spiritual trend, but it could also be some shady business taking advantage of the depressed.


Personally, I thinks it's way, way past any acceptable measure to improve positive thinking and engagement. It's closer to a shock tactic than to any new-age/*spiritual "put life into perspective" thing.

Really, it's just too deliberately traumatic.


It's closer to a shock tactic than to any new-age/spiritual "put life into perspective" thing.*

Actually, things like "Est" often used shock tactics, and were deliberately traumatic. (Though only slightly in the vast scheme of things.)


This seems like a classic example of treating the symptom and not the cause. The articles doesn't go into too much as to why the workers are feeling stressed. I'm guessing Korea has a similar insane work culture like Japan's?

If so, given the existentiality of this issue, the fact that the company is handling this is scary.


https://en.wikipedia.org/wiki/Working_time I'm pretty sure Koreans work more than what's recorded, but still.


You know what's really funny/sad? This bullshit usually comes from the very people who are in a position to make an actual difference. They are the ones who could say, "Come in at 9 and leave at 5:30. Do not work from home. Disconnect, and spend time with family." Yet, they don't, because they really do not care about this problem.


This is funny. Suppose there was a giant fight taking place, would it take millions of years before we notice the first punch?

btw here is a size comparison of various mecha, guess which one is the biggest. https://www.youtube.com/watch?v=7XbeVosPszo


That plothole is resolved in the anime/manga. Sort of. It's a mental battle that takes place in a parallel dimension.

TTGL is trippy. Worth marathoning on Netflix since it's short for an anime.


8 billion years according to some sources


I came across this post a few years ago, reminds me of the javascript games written 15+ years ago. For a lot of use cases, This technique is simple and has good enough performance. http://buildnewgames.com/dom-sprites/

Also,take a look at http://createjs.com/. It is pretty familiar if you come from a flash background. The latest version of adobe flash/animate exports to createjs so you can keep using your old flash authoring skills for your assets.

However, If time is your major constraint, unity might not be as overkill as you might think.


I wonder if multiple native app is still cheaper than maintaining multiple different web builds.

Reminds me of this library I stumbled across.

http://www.zebkit.com/

People either respond with this is cool or your going against the web when I told them about it.


Google is too useful to not use it, But you shouldn't have to do a google search because you don't remember a command or basic functionality of a language or library. That information should be rapidly available by the documentation. Google should be used for troubleshooting or researching a new concept.

http://devdocs.io/offline is a great resource if you want to code offline.


This could be really horrible, especially if you use a password manager and copy and paste your password......


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: