skysight-inc/HackerNews huggingface dataset:
How to Attract and Retain Millennial Employees
How to underclock LCD panels
I would deeply appreciate if anyone could help me figure out how to underclock a computer monitor or LCD panel so that instead of 60HZ the real rate of pixel refreshing is cut in half or one-fourth or some Minimum Viable Refresh rate. Is it possible to reprogram LCD panels?
US tech companies make a decent living out of servicing the US Govt's requests. IF you dont want to be spied on dont use US Tech, it could not be more simple than that.
I think the question is about the initial infection.
Consider this:

def load_data():
with open('some_file.json', 'r') as f_in:
data = parse_json_stream(f_in)
data['timestamp'] = some_date_fn() # Do something with the *definitely-valid* data on the next line.
return data

def parse_json_stream(io_stream):
# Some complex parser...
# at some point...
if next_char != ']':
raise JsonException('Expected "]" at line {}, column {}'. format(line, col))
# More parser code...

A benefit of exceptions here is that you don't have to check the result of "data = parse_json_stream(f_in)" to immediately work with the resulting data. The stack unwinds until it is in a function that can handle the exception.

*edit: Code formatting.
Deploying Production Flask Applications
Q. Big Mac meal $9.99. Can we snap a picture of you smiling for our Instagram? (Yes: -$3)

(Burger King costs $9.99 with no offer.)

And now you buy the Big Mac without making a scene.
I think this is a good way to teach git.

I approach the whole thing similarly during my trainings and wrote a few dirty scripts to generate an image of what the repository looks like using graphviz https://gist.github.com/nibrahim/6119925
Makes sense. If we view the internet as somewhat tribal, small communities have a better chance to evolve a unique style.
I wouldn't call anything he's done as sketchy. I think he's a great visionary Engineer. I've been waiting for a person like him for a long time--a long wait.

That said, I just don't want to see his companies go bankrupt.
This is a serious issue for me as well I've asked co workers I'm fairly close with and they say they don't notice me etc. I can't tell if they're just trying to be nice though, I think I'm a loud breather but I don't know how to prove it.
It's true. I can see the risk here, since I could easily pressure my wife into voting a certain way or even fill out her ballot and forge her signature (if I ignored the warnings that it's a felony to do so). I think we have to weigh that risk against the benefits of greater participation/accessibility that vote by mail provides.
It's painful to read. Only one person in that thread appears to know what SELinux actually does, and nobody has mentioned the fact that SELinux was explicitly designed to make a root privesc contained.

The ironic part is that since DirtyCOW is a kernel bug they could probably modify the exploit to disable SELinux from inside the kernel (or load a module that disables SELinux). But they're just trying to use the PoC as the only thing you can get from the exploit.
> Deliberate communication is, I have experienced, usually a whole lot higher quality than ad-hoc, informal "collaboration".

Definitely.
I would recommend TOML, but I am a bit biased as the author of the toml python package.
Or simply incorrect design. Like putting electrical panels so close to the wall that the cables can't physically bend to reach the inlet.

Or incorrect construction, like driving a pile in the wrong place and just adding the extra to the design.

I definitely agree. Things don't always work out as planned in any discipline of engineering. My personal experience was mechanical and electrical manufacturing, and it held true there too.
AFAIU, the dangling pointer problem wasn't a defect in the kernel; it was a problem introduced by some module authors who misunderstood the ownership semantics of the API. It might not even have been a pointer, per se, but I guess that's beside the point.

The larger problem was an inherent TOCTTOU bug in the interface semantics between the BSD subsystem and Mach. AFAIU that wasn't a dangling-anything problem; the reference was still valid. It was a logic and design problem that could happen in any language, even in Rust, and even without resorting to unsafe code.
Sifting Through the Nonsense Using Math to Find Great Neighborhoods Anywhere
Adelson is also a major Trump donor. He bought a newspaper in Las Vegas and used it to give Trump his first major paper endorsement. He's said a lot of things that, to me, sound shockingly bigoted.

--

To an extent, all of us vote with our dollars. Avoid the Venetian and the Palazzo in Las Vegas and all Las Vegas Sands properties, unless you're the MIT blackjack team or otherwise an advantage player :)
7 Habits of Great Program Managers
Advantages of monolithic version control
More like building tv sets into lawnmower.
> Whether or not you like Docker, or think it works well in production, is immaterial to this.

Actually I don't agree with that at all. Saying something is or will be ready for production with nothing to back that statement up is marketing, not reality.

A similar example is Virtualbox. It's intended as a production VM, but I don't know anybody who does that. They use it for development and deploy to a different environment. Intentions are irrelevant when it just doesn't work reliably in reality.
This is how I teach git when I do training sessions for companies. I really dig this approach; the plumbing on top of Git is not really sufficiently abstracted to avoid knowing this stuff, but at the same time it tries to hide just enough of it to end up biting you when (not if) something goes sideways.
Why not charge more and pass it along to the artist? Maybe let the artists set the prices?
Came here to see this comment.
That's why CS50 is the best introduction to computer science subject ever. The course outlines change every semester according to needs. Which is way better than my university which never update their course structure.
Even worse is that horrible Magic Mouse - it's an ergonomic nightmare. Of course there a good alternatives from other brands but none seems to feature a good touch surface. I hate scrolling in steps like it's common with non-Apple mice.
So, it's either good ergonomics or touch scrolling in any direction.
Same story here. At my previous job when they rolled out the open office a bunch of us complained and the boss explained how he'd be giving up his office to work out on the floor with us. Not even joking, less than an hour after he moved his stuff out he moved it back into his office saying "it's too distracting, I can't get anything done out here".

Now working from home I make more progress per day then I did on a weekly basis there.
The back button in Firefox works fine on sites that don't fuck with the back button. So...no, I don't think we can reasonably blame Firefox.

Firefox has a reasonable implementation of the History API, so it isn't that Firefox doesn't support some feature that a single page app would need in order to make stuff like URLs work right. And, it's not like Firefox is some obscure browser with 1% of market share.
Sooo that's why Linus stopped publishing exclusive content on there two days ago... Huh... Well, goodbye Vessel, I loved to hate you.
It seems fairly reasonable to me that he could walk away for a year with no noteworthy effect. Google tweaking their algorithm obviously would not count.
As a side note, I've actually never understood why the industry converged on 16:9. It's pretty much only good for watching movies. I really miss 4:3.
I'll grant that you can't do it quite as efficiently as in C but you can do the same trick as I showed for VB.Net (in another post in this thread) and create a new entry that points at the head then use that as your indirect pointer. The problem is caused not by being unable to point at locals or members but by Pascal's pointers being strongly typed so that you can't simply dereference some random word length memory cell to get a new reference.

So not identical but still simpler than the tasteless version.

I thought that this was such a fundamental idea that it should be on Rosetta Code but the page for it at http://rosettacode.org/wiki/Singly-linked_list/Element_remov... is empty.

Perhaps we should all rush over there and fill it in. :-)

Edit: See entry on RC at http://rosettacode.org/wiki/Singly-linked_list/Element_remov...
Ask HN: What if there were a service to find companies to partner-with or hire?
Kind of like a freelance market place (Less the ugly side: Undercutting, Poor Service, etc.). But you hire or partner-with other companies with proven legitimacy (Assume the service takes care of the confirmation.).

The service would keep breathing by charging a small amount per each (project / partnership opportunity) posted.

The reason to hire or partner with a company instead of a single freelancer would be the high amount of confidence and legal responsibility. The service would, if there is demand, would provide with services such as NDA and Contract signing. The service itself though, would not be responsible for actions of each partnering party, and would only act as a match-maker.

If you are a company (Start-up, or otherwise.) owner or a C-leveler, would you consider using such a service?

I have an idea to build a small platform. But if there's anyone else who likes the idea, and can build it, please go ahead as I am lazy.
What a great idea....I woulda kept that one a secret.
> Wacom Cintiq 27QHD 27": $2300 [1]

This is non touch version. Pen + Touch is $2800 which is a better comparison. That Cintiq is 2560x1440 compared to 4500x3000 in Surface Studio.

and here is what someone who actually used both thinks about it:

"Tycho asked me to compare it to my Cintiq, and I told him that drawing on the Cintiq now felt like drawing on a piece of dirty plexiglass hovering over a CRT monitor from 1997"

https://www.penny-arcade.com/news/post/2016/10/26/the-surfac...
Makes sense. Google's technology is about ready for initial commercialization.
yeah for the banks that underwrote the IPO and dumped the shares on your mom's pension plan.

the liquidity of the secondary stock market is a purely American phenomenon.
That is really true. Any solution you propose? I mean, it is all open source, but if the author of the PoC repository were to put malicious code into the file, how would we know before reading the source?

Do you think I should host the file somewhere I trust, and make it check the hash of the downloaded file from a different to ensure it isn't compromised? My worry then is, what if the hash was compromised too?

I appreciate your response. Thanks!
>> Monsanto's vice president of strategy, Scott Partridge, told Reuters he considered IARC's actions "ridiculous".

>> "The public deserves a process that is guided by sound science, not IARC's secret agendas," he said.

It's great to see a big player like Monsanto advocating for open science.

/deadpan
And Buzz, which was a social network with no people.
Looking for a Developers
It's probably good that it's possible to opt-out of being archived but what annoys me is a useful domain changing hands and the new owners deciding to wipe its history.
If your day to day tasks refer to things not necessarily related to programming, see my question from yesterday (loads of links in the replies): https://news.ycombinator.com/item?id=12794292

For work related things (I'm an embedded developer, with some side projects, work-work is on Windows with some Linux servers, personal stuff I use a combination of Ubuntu and OSX):

- GitLab CE (self hosted)
- Jira (self hosted)
- DokuWiki
- PyCharm
- Eclipse
- MobaXterm (Windows terminal program)
- SourceTree (Windows/OSX Git GUI)
- tmux
- vim
- jupyter notebook (self hosted)
- any.do (migrating away from this)
- Realterm (terminal emulator for serial comms)
- HipChat
It was a privilege I had and exercised. I later found out that the company was notorious for pursing violators of their NC, and sort of well-known about it in my industry- which has companies from 1-person shops to multinationals, all operating within the same price point (food and beverage). So the NC was absolutely insane.
See also http://eagain.net/articles/git-for-computer-scientists/
From their FAQ:

"The Engine will demand less equity in startups than is typical, allowing founders to maintain more control over their companies."

http://www.engine.xyz/about#faq
You might want to consider replacing ABP with µBlock Origin. It does the blocking more cleverly so it performs a lot better.
I'd assumed that they were going to license the technology to partners and that their current efforts were to create the reference implementation.
4:3 only useful for single-task, one app per screen. Most of my tasks opening 2 apps side-by-side. Wider would be better. 16:10 is the best.
> You're bring incredibly hostile over something very trivial.

Are you sure you replied to the correct post?

twblalock seems to me to be the calm but persistent voice in this detached subtread.
Of what use is market ownership when no one is going to buy you. Facebook is already working on its own style transfer algos.
But before Palm Pilots, there was the Newton so loved by techies, just like Glass. So snap may end up the palm pilot or one of the dozen PDA knockoffs that were around (I seem to remember some Microsoft ones too). It seems like concepts float around in several iterations, or as many as it takes, until someone hits the sweet spot.

I'm not really knowledgeable about the "wearable" market, but to me it doesn't seem as ubiquitous as the smart phone.
But differing times of year. So fans use the discounts as a leading indicator of releases on the month to 2 month scale.
Đoàn phim Thế thái nhân tình chọn khách sạn Đà Lạt I – Hotel là nơi dừng chân
Đoàn phim Thế thái nhân tình chọn khách sạn Đà Lạt I – Hotel là nơi dừng chân vào những ngày giữa tháng 10 - 2016, sau khi kết thúc các cảnh quay sông nước tại miền Tây, đoàn làm phim Thế Thái Nhân Tình đã đến thành phố ngàn hoa - Đà Lạt để tiếp tục quay hình trong những cảnh cuối cùng của bộ phim. Đoàn làm phim đã chọn khách sạn Đà Lạt I-Hotel là nơi lưu trú trong thời gian dừng chân tại Đà Lạt.

Khách sạn Đà Lạt I – Hotel đã có làm một cuộc phỏng vấn nho nhỏ đến nữ diễn viên Quỳnh Lam, chị nói “ Tôi cảm thấy rất hài lòng với những dịch vụ mà khách sạn đã phục vụ, các cô lễ tân rất nhiệt tình và vui vẻ với khách, phòng khách sạn thoải mái và dễ chịu, có view ngắm cảnh thật thích”
“Phòng khách sạn ấm cúng, trang nhã, nhân viên phục vụ tận tình, tôi cảm thấy thân thiết và gần gũi, họ sẵn sàng chỉ những món đặc sản như chuối la ba, hồng, dâu....cho chúng tôi để chúng tôi mua chúng mang về làm quà, thật tuyệt vời khi đến đây” chú Lê Bình nói.
Khách sạn Đà Lạt I-Hotel rất cảm ơn sự tin tưởng và ủng hộ khi được chọn là nơi dừng chân của các nghệ sỹ, các đoàn phim, đoàn nghệ thuật,... khi đến với thành phố Đà Lạt.
Hình ảnh Đoàn làm phim Thế thái nhân tình chọn khách sạn Đà Lạt I –Hotel là nơi dừng chân tại khachsandalat.info.vn
Yeah, to achieve that the software will have to understand the semantics of the image (at least crudely) which is already possible, and how the depiction is a distorted representation of real objects (harder, but it is already clear that this is possible).

Capturing the semantic meaning of the distortion would another increase in complexity, but perhaps not necessary, as the software doesn't have to understand why we selected "The Scream" as the style we want (although it would certainly be cool to be able to specify "Use the style of "The Scream", but expressing melancholy instead of horror.").
Microservices in Go
> To me, the perfect solution is neither individual offices nor open plans, but rather 5-9 person team spaces with floor-to-ceiling walls and a door, plus breakout rooms.

This can be a pretty good solution for a well-gelled 5-9 person team. But I don't buy into the mindset that this is always the natural unit of software development. Some problems need larger groups -- that probably don't fit the "gelled team" model as well -- while others are perfectly amenable to one or two people coding away behind closed doors. Why is there so much focus on "teams" at the moment?
All you need to do is watch Dorsey's girlfriend's instagram to know what he prioritizes- fashion shows, parties, scenesters, film festivals, music festivals, art basel, jet setting, oversharing... with all the shooting stars, gallery openings, rooftop parties etc he's making appearances at it's doubtful there's much CEOing of one let alone two companies going on.
CloudFanta Malware Steals Banking Information via Cloud Storage Apps
> There's no guarantee either of them have a utility function anywhere near your own.

Yep.

> Which leads me to conclude that the net information content of a stock trade is, fundamentally, zero.

It might not be if you have a bunch of trades, averaging over lots of people with different utility functions. Maybe. Depending on how average your utility function is.

In practice people end up with heuristics like "100 - age" and diversification out of stocks or hedging of their stocks to deal with the imperfect matchup between their utility function and the averaged one.

It's hard not to think of the whole thing as a house of cards sometimes.

> And yet prediction markets work

Sometimes they do. As long as everyone involved has broadly the same utility function: that of maximizing their money above all else. If enough people, or more properly enough monetary units, come in with a weird utility function (e.g. valuing a particular prediction more than their money), you get prediction market failures.
I read the "No, never" and motor oil lines as sarcasm, especially considering the latter part of that post.
Absolutely barbaric
There can be middle ground. I have a very similar situation to the OPs.

If I stopped working for over a year, eventually there would be complaints, competitors, etc

But within a one year timeframe, there's very little I have to do. And I could get away with working a couple months of the year only + maybe three hours a week maintenance, and the business would grow, slowly.

But, I work consistently, adding new things, because I want it to grow faster. I also know that the environment changes and eventually the current model may stop working or need adaptation.

What do you call that? It's not 100% passive. But, it's not particularly active either.

Actually, having written all this, I remembered someone did come up with a better term: residual revenue.

Meaning that I did a bunch of work in the past that continues to pay off. It will eventually decay, but not very fast. So I can devote most of my energy to new growth, or leisure, over the short to medium run anyway.

Do you think residual revenue (or income) is a better term for this case?
However everything the company does is seen in terms of investment... you invest in machinery and employees so that you can get more back than what you put in.

When you loan from VCs, you can't tell them "you only get back what I loaned". They want a cut of the result.

If you borrow something from the company for your own use, you are in a very real way making use of their investment. Since assumption is you didn't ask, why do you assume they want to give a bank-kind loan, not a VC-kind loan? (In fact, what we are discussing here are employee contracts where it is stipulated that such loans are of the VC variety... If you want to borrow under other terms, make a contract for it...)
From looking at the script and the makefile : you don't need to be root
I've never seen anyone confess to lying on their resume. I've seen several instances of people being caught. If someone came clean, that's one thing, but I've never seen it happen.
In Python a lot of flow control uses exceptions as it's cheaper to ask for forgiveness rather than permission and then still have to deal with errors.
I agree with all of this. I worked in open offices and Agile "team rooms" for many years, and I've been working from home for the last few. There's definitely a huge increase in the amount of quality code I'm able to crank out working from home.

However, I do think some intangibles are lost. They're hard, maybe impossible, to quantify. Instead, I'll just link to a post from PG that's a transcription of a speech by Richard Hamming. http://www.paulgraham.com/hamming.html And to save you a click, this is the paragraph that stuck with me:

"Another trait, it took me a while to notice. I noticed the following facts about people who work with the door open or the door closed. I notice that if you have the door to your office closed, you get more work done today and tomorrow, and you are more productive than most. But 10 years later somehow you don't know quite know what problems are worth working on; all the hard work you do is sort of tangential in importance. He who works with the door open gets all kinds of interruptions, but he also occasionally gets clues as to what the world is and what might be important."

Obviously there are ways to mitigate that, e.g., involvement in the developer community or establishing habits to replace "water cooler" chatter, but they take deliberate effort.
Absolutely a meaningful way of living a life. Forget about hundred of thousands, even few thousand radical thinker can change the world in a significant way thus reducing poverty, diseases and social inequalities.

1. As a ex-biologist and ex-scientist I wonder how the deep learning can be used to leverage that can put direct dent into certain fields such as drug discovery for genetic diseases and cancer thus saving many lives.

2. How it can be used to collect social data in a larger scale from different social networking sites and analyzed to predict criminal behaviors and prevent future criminal actions.

3. On natural disasters and climate related warning etc.

4. Searching for extraterrestrial lives.

5. And the most thrilling impact on mankind will be using AI and deep learning, can we preserve the entire neuronal network mappings of a human brain and able to simulate its thought process and mental action after he/she is gone?
What's really behind Australia's declining international education results
Here's a different sort-of-functional python fizzbuzz.

While it doesn't use the spiffy lazy lists of
itertools, and does have the typical
"if x % n == 0" test, it does generalize easily
to the "and print Baz every 37th number" case.

def joinmap(func, elements, separator):
return separator.join(map(func, elements))

def fb_value(x, fb={3:'Fizz', 5:'Buzz'}):
words = joinmap(lambda n: fb[n] if x % n == 0 else '', fb.keys(), '')
return words if words else str(x)

def fb_range(low=1, high=100):
return joinmap(fb_value, range(low, 1 + high), '\n')

print fb_range()
A docker control panel,Crane v1.0.5 release
Crane, maintained by dataman-cloud, is a docker control panel based on latest docker.Recently Crane v1.0.5 has released. Fork me on Github!https://github.com/Dataman-Cloud/crane

Features

Swarm features: Portal every feature of swarm almost. Crane has highlighted the common swarm functions and improved the user experiences through the friendly frontend.

Stack Templates Management: User can save a running stack as a template, by which others can deploy repeatly.

Image Management: The private image owned by user can be publiced to others.
Fuzzy Search: A in-memory index maintained by the backend serves the function.

Node Operation: Crane details about a node such as kernel version, docker info, docker images and also containers running on the node.

Network Management: The overlay network CRUD.
Registries Authentication Management: You can save your private registry username/password pair to Crane, with which a to-be-deployed stack with restricted image access can attach.

WebSSH: Command 'docker exec' is the magic behind it.