skysight-inc/HackerNews huggingface dataset:
Ask HN: E-commerce programming experience/resources
After some thinking, I decided to focus on the e-commerce industry in order to start working as a technical (no marketing/sales experience) freelancer/consultant in the near future.

Some time ago I thought that it'd be great to show a personalized view for each user visiting a site according to their profile. But then I quickly found that this was an already implemented idea.

That the idea is already implemented is not the problem in this case, the issue here is that I didn't knew it beforehand, proving that I'm not into the trends of the industry.

I'm trying to slowly immerse in this industry, meeting with people and looking for clients already in the game. I have been looking for resources online but I didn't find a place to really learn where the industry is and where's moving.

I'd like to know about your experience if you're already working in this industry and some resources you recommend to help me get into it.
A couple months ago I setup an old Android phone to be a 3G hotspot for some ESP8266 devices. It also created a SSH reverse tunnel so that I could access the devices from the internet.
After rooting the phone, compiling autossh & nginx and getting the whole system setup, the phone broke. At this point it was cheaper and way easier to just get a RasberryPi with a 3G dongle. So unless you have lots of the same old phone lying around this can be a lot more work than the alternatives.
Using something like http://janos.io/ may have made things a bit easier but device support was an issue.
From my newspaper days, no amount of disclaiming will get round the fact that they put a picture of the guy next to the article. The test in the UK is if whatever you publish will make a reasonable person think worse of an individual and there are only a handful of very specific defences available, the best of which is that whatever you say is true.
Can anyone comment on Fable vs Elm?

I really like the idea of Elm; but I also really like the idea of using the same language for both the frontend and the backend, so I can share code, and I currently can't do that in Elm.

But I could do in with Fable, using F# on Mono on the server. The idea of using something as big as Mono doesn't really fill me with joy, but F# is supposed to be a thoroughly decent functional language (I've never used it myself). Except... Elm comes with all this value-added functionality that's ideal for web development. Unless Fable has something equivalent, I lose out on half the benefit.

Anyone?
I don't find it hard to believe. In most of the cases where someone said something inappropriate, it was at a mostly young startup that had some success and then hired some older, white, male executives.

At one company, a married black director, my boss, had hired a black woman as an assistant. A newly hired older white executive was asking around if she was hired because she was his side girlfriend.

At another company an executive went to a bar with one of the younger guys, and advised him to always hit on the "ethnic" women.

There's nothing new to what you're saying, plenty of white people in the U.S. south said there was no civil rights problem back in the 1950s and believed it. Most of those people thought some Jewish rabbi from 2000 years ago came back from the dead. People believe what they want to believe.
Another way to be productive while working
http://www.aguapoints.org

Agua Points is an app that rewards users with giftcards for not using their phones in support of the cause to build water wells. Users are rewarded with gift cards to some of their favorite places. Check out the website at www.aguapoints.org So far the app is only on iPhones.

Can you help out by downloading and giving us feedback? It'll be greatly appreciated.
SELinux is not not worth saving because security has been moving steadily into namespace separation (E.g., containers, virtual machines).

Giving an application/user and entire trimmed down OS namespace reduces damage done from getting pwned significantly. Why use a system that protects processes from running alongside each other when I can just give them their own, fenced-in home?
FizzBuzz with Matlab and CVX. TensorFlow Version Had Bad Feature Engineering
Grown men kicking children off of a soccer field, whether they "reserved" it or not, is the most pathetic, lame thing I've heard of in a long time, and they should all be ashamed of themselves. What a bunch of losers.
https://youtu.be/2e_YBgh9O48
You own the hardware, they own the software.
Xbox 'Scorpio' Console to Launch in 2017
Leaving selinux on would be more easy if the access denials were put in the primary system log and/or in dmesg and did not just go in the audit log. It takes too long to figure out what the problem is with selinux. That being said we leave it on in production, since with ansible we find the problem once and then incorporate the changes into our playbooks.

I've used both apparmor and selinux and while it was pretty easy to figure out how to write a custom profile for apparmor, it's not easy to do the same for selinux. If a custom profile for selinux could be made as easy to write, that would help a lot.
Would you mind writing up how you did so? I've got a box of old cellphones laying around, and at least two of them are old iphones.
You have a 600 HVAC watt fan, and only 10 bulbs in your house?

I have approximately 40 bulbs and I don't think I have a large house.

And I have not been able to convince people not to turn on the light during the day, so my usage is closer to 12-18 hours per day.
> What's the point of ECC RAM in consumer PCs?

Some people do very professional stuff with consumer PCs.
Xiaomi and Huawei aren't Android competitors. They run Android on their phones!
Previously @ https://news.ycombinator.com/item?id=11766621
It works great on really mature platforms where the engineer has time to fine-tune and troubleshoot SELinux issues every time a change is made...

But who the heck has the time for that now-a-days?
Is your argument that Microsoft is evil because not all people who use computers are actually interested in how they work?

It's not apparent to me why business people or lawyers should be also computer science aficionados. Should I be a telecoms engineer to use a phone or a combustion specialist to drive a car?
India has jobs for everyone at every level if you consider "temple beggar" to be a job and wizened old women in their sixties to be appropriate people to be doing road maintenance. $200 dollars per month sounds like an unusually generous salary for unskilled labour there too - engineering degree or no engineering degree. Of course, it also has plenty of opportunities for a growing middle class that didn't exist for their parents.

The reality is it's a developing country facing significant challenges, and no amount of trade liberalisation (or increased protectionism towards domestic manufacturing) is going to change that overnight. It's pretty hard to pin most of those challenges on the British destroying cottage weaving industries by dumping machine-made Manchester cotton on them in the early nineteenth century, or to argue that banning Apple Stores is a rational response likely to solve that problem.
There are no lawsuits in your country? Im sure even though you are not an American you can appreciate his need to setup a defense immediately when it concerns his livelihood? People are fired and ostracized for much less in this country, especially when it comes to social media outrage.
I know, I was not referring to instant start either. (I said instant on, so I can see how that might be confusing.)

The CFL's in my house are full brightness immediately. I suppose a lab could measure a change in brightness, but it's nothing that is visible to the eye.
Does Realm support NSFetchedResultsController-like functionality ?

I'm currently starting work on an iOS application which will display large lists of data which will be constantly updated on a background thread...

I wonder how Realm implements lazy-loading / faulting of off-screen items .. ?
> ensure stability and continual propagation of the species

I'm not sure roman legislators had a good concept of human species to begin with. Reproduction commonly happened both inside and outside wedlock. Marriage was first and foremost about property.
> Imagine the amount of damage something like NAFTA has done to the american working class - multiply that with 200 years.

Citation needed. This is still a controversial issue in policy, and anyone certain of any one side has no idea what they're talking about. There is evidence it net hurt jobs. There is evidence it net gained jobs for the US.
A few weeks ago LinkedIn posted a 4 year work anniversary for a colleague of mine who passed away 3 years ago. I complained on Twitter. They responded immediately and a few hours later they said they were taking his profile offline.

I'm not saying I have the solution to this particular problem, but it's still kind of jarring to see these kinds of updates.
Is it really true you don't need JS for AMP? Checkout Washingtonpost.com/pwa
Seems like yet another LinkedIn dark pattern.
So, if I understand dkbrk correctly, this is a glass that transmits light but reflects infrared. This seems to have a huge number of other applications (assuming it is practical). Make windows out of it, so that your house stays cooler in the summer and warmer in the winter. Keep your car cooler in the summer. Better face shields for fire fighters. Put a window in your refrigerator. Let people get closer to metal foundries/casting metal.
Being malicious makes defamation worse, but it doesn't have to be malicious to defame.
I'm guessing it would impact airlines minimally. I'm in California and my family is in Illinois. Even the best route, speeding the whole way, it takes me twenty hours. Hell, just to go to San Diego from San Francisco is 7 hours minimum (took me 12 last Friday).

People fly to save time, and if youre going to a hub city (I.e. Chicago, Los Angeles, New York, Atlanta, etc.) It will likely be cheaper to fly as well, I just booked a flight from San Francisco to Chicago for $148 (driving would easily be $250).
I thought that Docker containers were primarily intended for environment isolation, not for security?

As I understood it, Docker relies on the kernel enforcing syscall namespaces for security... and that there's a (admittedly small) possibility of container breakouts via this route, because of the large surface area involved.

Even the Docker devs have a whitepaper that recommends running Docker inside a VM when multi-tenancy is involved, as part of a defence-in-depth strategy:

https://d3oypxn00j2a10.cloudfront.net/assets/img/Docker%20Se...
Toyota is investing in Uber
Sentence Tree: Visualize sentences as you type
Manna: Two Views of Humanity's Future
> having no ability to share realms/objects across threads is really unusual, and it would be better if the docs made that requirement clearer at the beginning.

Good point that we should be more explicit about threading model of Realm and its benefits.

Realms and their objects can be shared across threads (and processes), you just have to be explicit about it (by having each thread get its own instances of the given objects/realms). The huge benefit you get from this, is that you never have to worry about locking or any other concurrency issues. All threads will always have a consistent view of the data, it will only update to reflect changes done by other threads at safe points in your code (like between events, where you are not in the process of using the data).

> Based on my understanding of realm, I was going to have 3 copies of each object, one on each thread.

You don't need 3 copies, only three instances. That way each thread will have its own instance (and as such not be affected by changes on other threads), but they will all point to the same underlying data.

> I would expect one in-memory copy, with the threads using synchronized methods to modify the data. Then, when thread B completes, it just updates its work item and then notifies the UI thread to re-render.

With realm you don't even have to do that. You can let thread B modify the object, and then the UI thread can just watch its own instance of that same object and be notified when it changes, it can then update the UI. All perfectly safe without any need for manual synchronization between the threads.
There's a new commandline tool in the works that will improve all those interfaces; I'm not sure how far along it is, though. Here's the discussion: https://github.com/NixOS/nix/issues/779
You might like "The Birth of Plenty", the first chapter is online: http://www.efficientfrontier.com/ef/404/CH1.HTM

It's not the pragmatic business POV, but it has some highly interesting considerations.
Steve Jobs was reportedly only "right" about the choice to use glass screens for the first iPhone after the entire production chain had already been set up to build them with plastic.
Discussed at https://news.ycombinator.com/item?id=11549697
If you add "general awesomeness" as a skill on LinkedIn then by that very act you don't really need anyone to endorse your general awesomeness because you just are. Any endorsement is jumping on the bandwagon and superfluous at this point.
The tesla gets the easy parts down. Highway driving is largely uneventful straight travel. It's the rest of it that's hard, detecting stop signs and lights, pedestrians and all the other corner cases that make it significantly harder for the tail end of the problem. Google's press releases about their cars make it seem like it's a few years off but I'd actually expect it to be about a decade instead, more because of testing and regulatory changes that need to happen before we see them sold. A Tesla has the capability to do the worst of that long haul trip, but it has the charger problem right now that they're trying to get more of them out there for it.
I am running windows and have it fully encrypted with Bitlocker (AES 256).
"Android 4.0, obsolete and out of any form of support since late 2012.

I hope you don't plan to connect this to the internet."

I'll ignore the snarkiness of this comment. There aren't any other 13.3 inch e ink readers out there that run on the latest version of Android. Furthermore, Onyx have announced upgrades are coming for the Boox Max. Also, Android support contrasts this device to say the Kindle DX which you can't use with your favourite reading apps etc.
I'd estimate 8-12 years
> I understand why this is offensive, but really?

Well, because (but for the arguable effect of the disclaimer about the algorithm) its clearly libelous, and lots of corporations are very loathe to respond to non-paying user, but more prone to respond if there is a possibility of legal action and associated negative publicity.
Sounds to me like a good test of character. It would be interesting if this self described 'black software engineer' would tell us who the founder/CEO was and the name of the company. Why do all the Black kids sit at the same table at school? Why do all the Asian kids sit at the front of the class? Why is it ok for rap singers to say nigger but not anyone else? I really want to know.

See another African American dude being racially profiled:
https://www.youtube.com/watch?v=1uTP1fdFu0c
He can't say it outright. He's saying they were regularly manipulating the markets in which they operated in an anticompetitive manner. That's one of the main mechanisms by which free markets fail.
What about robots replacing jobs?
http://www.bbc.co.uk/news/technology-36376966
Python-Like Context Managers in Swift
I've been able to replace _most_ of what I wanted from homebrew with Nix. I still keep brew around for a few things that haven't been packaged (or packaged properly) for Darwin in nix, like bazel and aptly. Works out pretty well overall.
Yes! Look here: https://git.hso.rocks/hso/def

Is a Telegram bot that queries the RAE dictionary (Spanish). It doesn't have any documentation yet, though :S

You can look for the project deps code here: https://git.hso.rocks/hso
Could Alzheimer’s Stem from Infections?
I agree with the sentiment, but expecting the company to bend over backwards is pretty naive. It's more likely that'll make products more expensive or just harder to find, not help the country advance.
Sorry, not being hostile. Just curious why someone would use React Native if they don't have a Mac to build/test on iOS. Why not just go straight to Android?
Irrelevant to my point?
I should correct myself:

It is extremely unlikely that they are the biggest fund based on their fundraising history.
Just curious - at one point, he is going 85 mph in a 75 zone, but the car is on autopilot. He mentioned he had the cruise set at 80. Who is liable for accidents in this situation?
I'm thinking if he wanted to it could be a good oooortunity to come out with a project promoting compassion and do his own humorous meta campaign negating the extremism of his namesake.
> Not groundbreaking but they do make steady, consistent progress.

Not where it matters, which is the price/performance ratio.

It doesn't matter if Intel is able to put in the market their Formula 1 chips at a Formula 1 price, when most of the world deals with a Honda Civic budget.

When we factor in the fact that the Formula 1 chip isn't even the bottleneck in the system in most cases, the comparison only gets worse.
You seem to be talking about religious weddings.

Religious weddings are exactly that: words, and intentions. What matters is the judge that declares you married and the contract you sign.

If you started to make religious vows enforceable in courts, which they are not, you'd probably see a lot less people interested into it.
You. I like you. I love absolutely anything that Graham Linehan has ever touched, and that definitely goes for Black Books and IT Crowd!
Tech Billionaire Peter Thiel Reportedly Bankrolling Hulk Hogan’s Gawker Lawsuit
"The car had already seen a 60mph (100km/h) speed limit sign, so it set that as its target speed. "

So...what about those signs where kids spray paint 35 to be 85. Will it zoom to 85?
How I built my first iOS app in 8 hours
The driver, just as if they had set the cruise to 80 themselves.
Of all the social networks, LinkedIn in seems to frequently do things that make it look like not only the shadiest social network but also the most incompetent.
What’s with Yahoo’s cryptic response to Variety’s Mayer crucifixion cover?
"When the recruiter called as congratulated me on getting an offer, I immediately declined, citing “severe cultural differences.”"

It would have been great to see the recruiter's reaction if they had straight up said, "It's because your boss asked me why he can't say nigger." Although I can understand exactly why he didn't say that.
I wonder if thoughts swim in schools...
I'll also note that old phones with OLED screens make nice capable digital clocks with streaming, etc. LCD screens aren't nearly as nice because you can always see the backlight.
Is this really a problem? The author doesn't say that anyone from his linkedin network contacted him and asked "Are you a white supremacist?" Most people would see the headline and immediately realize that it was an algorithm error, a common part of daily life. Anyone who was invested in the author's reputation would probably check the details of the story and see that it was talking about a completely different person. I have a hard time imagining that anyone was fooled by this.

If someone could possibly confuse me for a white supremacist Donald Trump delegate then either 1) that person isn't trying very hard and I probably don't want to work with them or 2) I need to take a serious look at my life choices
How Hibernate’s Lazy Loading Nearly Killed Our Email
I had an acquaintance named Mike Smith, he was black. Black men get pulled over a lot. When your name is Mike Smith every stop is a felony stop. When he married he appended his wife's last name to his own.
Freedom requires transparency.

That’s what free means. Not “companies free to do whatever they please”.
Agreed. Friends use an up vote for this parent.
"Sometimes"... The older I get, the more I realize that everything comes down to a popularity contest. The only thing that doesn't abide by that law is physics and warfare. And warfare is a lot of physics.
Why use nix when pkg-src has been available on Darwin for over 15 years, boasts more packages, and has decades of support (plus Jonathan Perkin and the guys over at Joyent)? Why people assume the gross project known as homebrew (and the better macports, where homebrew gets all of their real package patches) are the only two package managers on OS X/Darwin is perplexing to me... Not to say nix is not interesting, but still. The OS X open source/package community would be insanely better if it was solely centralized around pkg-src.

https://pkgsrc.joyent.com/install-on-osx/

http://github.com/cmacrae/saveosx
Ask HN: How many of you are suffering from RSI or similar?
I have been battling RSI for the last 7 months and have tried all kinds of things. I'm currently looking into other ways to program like with voice or alternative ways to input, but not without problems.

I'm interested to hear about other who in the same situation. I have searched a lot here on hacker news, but most of them are very old.

I think my issues could have been prevented if I had the knowledge before. My story is that I have had for long time a bad posture, but that was not the problem why I got RSI. I began slowly lifting weights because I knew strength training could help my hands, but I didn't know that tendons took more than 200 days to activate and combining with that I started a startup, my hands recovery simply could not keep up.

I am thinking about creating a community around those of us suffering from RSI, maybe mostly as a support group as I feel RSI can be a lonely injury.

What do you think and are you suffering from RSI?
Terrapattern is a neural net powered reverse image search for maps
If you can measure or evaluate something, you can make a competition out of it.
Yeah, totally. I've been cooking up ways to do this specifically to the DAO, and I'm a pretty nice guy. There's no way this thing won't have brilliant minds and tons of resources working to break it.
For computer goods, what does 30% sourced refer to -- just the physical hardware? What about the software that goes into it? And what weight is given to software -- the development time / cost, or are there other metrics?
At this point, I’d received a bunch of messages from confused connections

i.e. some of his connections had contacted him.
In practice, one can check the Dockerfile lineage of a given Docker image and assess the quality of the commands. Good practices are to use package managers with explicit versions, for example "apt-get install subversion-tools=1.3.2-5~bpo1". Or, if you so desire, just pipe NixOS outputs into Docker, as somebody else in this thread mentioned.
What'd you do...object to Obama's policies?
I think Android is more of a special-case scenario as Google controls everything and it can just tell developers to conform with the more restricted environment in the new version of Android. For Android it also doesn't matter whether SELinux takes a lot of time to set-up right.
> I don't think I have claimed that

True, but you are claiming that people are pretending to like TFA, and presumably you don't think people are pretending to like the prequels. It's rare to hear anything good about the prequels.

What's the "it" that's more apparent?
Yogurt + granola for breakfast

Salads for lunch
Try pkgsrc. It's much more like apt than nix, macports, or homebrew.
Check out http://www.breakoutlabs.org/
<even more tangential>

The new apt, if you have it, now combines apt-get with apt-cache plus a bunch of UI improvements.

apt search ...
apt install ...

If you've got it, it's well worth a look.