skysight-inc/HackerNews huggingface dataset:
Damn, yours beats mine. :(
How do I flag this comment?
Google search on the desktop also has unclickable links if I change my UA to Chrome while running Firefox
Got it - I missed that on first read.

Crazy what people will do to just save a few bucks.
mods, please delete this spam
A lot of the time, people resign because they aren't happy with their job, and believe there's not much that they can do about it. Maybe they don't like their manager, or some of their colleagues, or think that the work is boring, or the job is not conductive to their future career success, or that there is something systematically unfair going on in term of work load or salary, or so on.

People on a team understand they cannot fire team members, even if they are dickheads. They cannot change what they work on, or double their salary. That means there will be radio silence for the last few weeks or months when they are looking for a new job.

Employees also tend to think the employer already knows what the problems are. If the problems are not being addressed, they will think the employer does not think they can or should be fixed. Why bring up something the employer obviously must be aware of, but has done nothing about?

In my experience, the resignation announcement will, indeed, usually come out of the blue. For an observant manager, it may not become as a total surprise; there are some signs. But almost never will employees discuss with you about these things in earnest. There will be signs, but not forthright discussion.
Samsung’s Bizarre Emojis
Your link is broken.
Offline-first, local database, calls to native API, using device hardware, impossible to "swipe back" (like in Twitter's PWA)
And it really feels good to pay the hotel that offers the services, instead of some tech company in the US."

Most of the times I booked through booking.com it was "cash on arrival", so these sites are nothing more than ads. I think the problem is travel agencies, that book bulk of rooms to rent them later (just a guess, can't read the article itself due to paywall).
There is another problem. Computer Science just doesn't sound that interesting.

Say you could learn to build aircraft engines, understand how the economy works (which has a huge influence on people's lives) or learn how to make a computer print "hello world" on a terminal screen and how to efficiently store data. Most people wouldn't choose the latter. It's actually quite hard to describe what computer science is and why it is a science.
This kind of attitude really bothers me. It's like some kind of macho-programmer attitude, like "people who use scripting languages are weak!".

There are legitimate complaints about JavaScript and Node, but to dismiss it like this is just silly. It's a genuinely impressive piece of technology, one that support rapid development of prototypes as well as scaling those prototypes to production ready services. It's a technology that's well proven and fairly easy to work with, and unless you're working on massive scales, the performance is just fine.

I'm not saying it's necessarily better than the alternatives, but dismissing it out of hand like this bespeaks a close-mindedness that is a bad feature in a productive developer.
"Troves of code online, on sites like GitHub, may have answers to the very assignment the student is wrestling with, posted by someone who previously took the course."

If the assignments are not changed from year to year, the institution is partially to blame.

A good student, researcher or scientist is expected to do research. When you stumble upon the solution (either by accident or intentional) to your problem, it will become very hard to come up with a different solution. Your solution is very likely to be viewed as plagiarism. Of course, the student should cite the source of their inspiration, but since the instructor may reduce the grade when he learns that the student looked at someone else's solution, this is a devil's dilemma.
Interesting for my own tracking I was thinking the next logical step might be to use websockets but I'm not sure.
I think 52 pickup is the best method for randomising a deck
Count numbers of characters using c program
Parentheses have been used for evaluating functions and establishing operator precedence for literally hundreds of years. It's taught in every school in every country and most books will contain this notation.

But since everything is relative, it doesn't matter anymore. Let's delimit function evaluations and operator precedence with the words "cat" and "dog" from now on. Since everything is a preference, and is relative, it doesn't matter.

However, what you fail to see is that in reality a choice like this involves effort, it has an economic cost, it's not only preference.
Perhaps AirBnB should open up to Hotels and that way all Hotels and BnBs can live in one place for a far better customer experience.
CS requires a decent amount of smarts, requires constant learning, and is boring to most people. This is enough that it will never be an attractive job to most of the population.

Why isn't it drawing more engineers though? I think CS is seen as the risky choice for an engineering job. There's been multiple tech job boom and bust cycles over the years. Why pick CS when most branches of engineering pay almost as much and don't have nearly the risk?

Another thing I've seen happening firsthand is other professions getting dragged into the CS sphere. I know multiple electrical engineers that spend their days writing code now. Circuit design is becoming largely automated, they just need coders that understand the circuits. Same with marketing, I know a couple guys that majored in marketing who spend their days tinkering with WordPress. Finance too, basically all trading has some level of automation. Probably half the people writing code now never intended to. I like to think this, at least in part, is why so much code appears to have been written by satan.
It's non sense the same way as "lets use js for everything yay".

Use the right tool for the right job. Do not overthink it. Do not over-engineer. Be humble. Try. Learn from others and their mistakes. Do not jump on the hype wagon.
Intel Core I9 Announced: 18-core Skylake-X, Kaby Lake-X and X299
Ten Misconceptions About Software Testing – That Non-Testers Share
Well, it depends.

People like this are why companies ask programming questions that are slightly harder than fizzbuzz.

You might be able to get a middling, junior dev position, using her method, but good luck doing anything else with your life.

I certainly slacked off a bunch during school, as I only minored in CS. I was able to get a job, but I've had to work really hard after that to improve my skills, and go beyond the junior dev role (along with having to job hop a bit more than I am comfortable with).

And I also don't have any specialized knowledge, so I don't feel like I can do anything more than web dev.

The thing is, there is much more to a career in tech, than just being a mid level engineer. And it is difficult to go beyond that unless you can really bring useful skills and value to the table.
شرکت مهندسی شهران سازه آفاق – پیشرفته ترین پروژه های معماری جهان +عکس
> As far as I am concerned I am thinking of suing, but if you simply paid out my leave I would be satisfied.

You know to many that type of language would be interpreted as a threat. You might also take into consideration the CEO may legitimately believe the company has done no wrong in this case. Not all people/companies respond to threats by getting scared, many fight back.

The allegation which is being made, is that the company accepted a fake/fraudulent letter. It will be highly unlikely that a company would openly admit to be such a victim, unless it was in their best interest.

> If the CEO is as honest as the question makes him out to be, this should be enough, and it's much simpler.

This is business, a CEO's job is to protect the business not kowtowing to someone who is threatening to sue.
Sorry, it's Public Key Infrastructure
#FreeRADIUS allows hackers to log in without credentials
This is exactly what I thought when reading his description of the story.

- Someone acting maliciously would have to account for the possibility of the CEO simply picking up the phone and dialing the OP to check in.

- OP specifically mentions the CEO "told/showed me a resignation email". The OP specifically mentioning it was told as well as shown felt like a message from his subconscious mind that the CEO is guilty and had rehearsed how to prove his innocence.

- The CEO gave a definitive statement that another person was already in his position, rather than treat it as a serious issue of fraud and a hostile work environment.

- The OP professing "I don’t care that much about the job" makes me imagine a scenario where the CEO gets to let an unmotivated employee go (or at least one who could be replaced within ~2 months) and keep 6 months of paid leave.
How is writing an entirely new view layer for every platform more maintainable than a few if-else trees? React Native doesn't come with good support for both platforms out of the box. Many components are unstyled. You still need to match the platforms' native behavior. TabBar is shit on iOS, you better go with TabBarIOS, and suddenly, you have exactly the same mess like in Cordova-based apps.

The benefit of Ionic 2 is that there's hardly anything you have to do yourself to target the OS / device. It's all handled by Ionic.
No, everybody hated it. I didn't learn git. There was a weekly assignment, and I ended up mailing the TA every other week at the day of the deadline because I broke the repository again (thankfully, he was very understanding and helpful). Maybe this is a consequence of how the assignments were structured. I don't remember exactly, but there was no introduction and the workflow was not the typical add, commit, push one.
does anyone know why resignation letters are
so popular in the first place?

My employment contract literally says "Your employment may be terminated either by you or by us by providing X weeks written notice" and while I could work to get that language changed, I don't imagine such a change would deliver measurable business benefits.

I suspect many employment contracts are the same, lawyers having seen that clause in some 25-year-old textbook.
Knowing something about how you managed that might be interesting.
This actually looks pretty handy. Not sure why you'd think it's so terrible - how else would you capture a request in a variable to play with it in the REPL?

I think a lot of the constraints can be relaxed during the development phase.
Hah, my first thought was actually a boat hull a diamond building platform sail!
> The grief factor of learning to code is on a different scale to every other major.

'Cept physics. Misalign a mirror or shake the table and all your experimental data is bogus, and you don't find that out until you've analyzed your data and realize it's nonsensical.

I suspect other hard sciences (chemistry, biology) have similar issues, but am not familiar enough to judge. I started out as a physics major and switched to CS in my last semester...CS is hard, but not nearly as hard as the hard pure sciences.
That's stringly typed, right? That sounds like a huge downside to me compared to the not-so-huge downside of JSX.

That said, I quite like hyperscript, especially in this form: https://github.com/ohanhi/hyperscript-helpers
It is the only explanation because if it was an honest mistake/impersonation, someone would have called him. HR. Even security to know where to send some box or about some device he failed to return.
What if you have a web game (canvas) you just want to wrap as an app? Obviously I can't use React Native for that.
I don't think the web pixel will, that just runs on page load, unless you have some fancy JS to do other things (but then you could just call the event directly).
And a $60k lump sum would not be refused, either.
(Posting the same reply to you as the sibling post.)

What if you have a web game (canvas) you just want to wrap as an app? Obviously I can't use React Native for that.
I think that's a problem with publishers. They simply haven't found a business model that works well for short books - which results in authors padding their ideas with babble.
88% of People Will Abandon an App Because of Bugs
I'm using netlify, which is a global CDN, and doesn't provide logs :/
It's incredulous how people can find git daunting; especially the simple usage most make of it. Yet, I constantly see people refer to such simple and easy to use CLI tools as an obstactle in CS courses, not a helpful tool. Welcome to the fulfilled prophecy of the movie Idiocracy. This is why MIT had to stop teaching SICP and why many courses uses Java instead of C... Good luck learning pointers and assembly then. Good luck ever knowing how to create and manipulate data structures, how to create a filesystem, database, OS, scheduler, etc; or how to develop/improve and implement algorithms used in ML and AI (to be fair, this is math... and which is why programmers need to stop avoiding math, it's another issue, but related. stop avoiding complexity, because it's a fucking big and scary monster lurking beneath everything you're working with, just waiting in the dark...)

What we need is people who understand the complexity we constantly throw more shit on top of; it's only going to get worse the more data points and networking we have to deal with. Pretty soon we're going to have a massive network of autonomous vehicles on physical, country-spanning networks of roads. For this we need systems people. Not front-end developers. The sad thing is that most programmers are absolutely useless when shit hits the fan.
Reading, like meditation, is a treat, not a chore.
There are macro-economic models (https://en.wikipedia.org/wiki/Macroeconomic_model) that include such things as taxation structure, effect of child benefits on how long parents work, effect of taxation on consumption, effect of export/import restrictions, etc.

AFAIK, some of those models are fairly accurate, but not at the level that physics models are. They also do not include all quantities citizens are interested in, such as pollution levels or effects on commute times, and even if they do, they likely don't do it at small scales (a model may predict that commute times will go down on average if policy P is enacted, but that may not be uniformly across the country)
Me too. I think it's made up. Resignation over email? SQL back door email that everyone knows about? Sure.
16 year Chinese learner here (not that it's relevant). I would try to hack a solution via the following approach.

1. Determine the area (if any) near the bottom with black-or-whiteness zones of a constant height (these are likely to be subtitles) by randomly selecting 10 frames from the middle of the movie. Extra points if you have it detect the sub color.

2. For each frame with unique subs, isolate the zones vertically (handles multi-line subs).

3. Determine black-or-whiteness of each vertical column in the text area. Moving inward from the left or right edge, crop everything until the black-or-whiteness within the constant height drops below a certain threshold. In the example shown, this would deal with ′…′二′′′'′ and would look like 0,0,0.01,0,0,0.01,3

4. Crop viciously within the assumed vertical height. This should remove issues like 逯 which should be 这.

5. There is probably a clustering-based approach you can use to remove background noise, either spatially or temporally, eg. temporally via imagemagick[0]: compare frame1.jpg frame2.jpg -compose src -fuzz 10% -highlight-color white -lowlight-color black output.jpg ... alternatively, if there is a surrounding color such as in the example, you could remove any pixel-groups that don't have it.

6. In terms of detecting frames in which you have a new set of subs, just compare the last black-white-extraction of the central maybe-has-subs area (ie. most commonly used portion thereof) with a delta of the last one, remembering no subs is also an option. In many cases this may align with keyframes.

If you like to solve image processing problems we're hiring - http://8-food.com/ - email in profile.

[0] http://www.imagemagick.org/Usage/compare/#difference
I teared up in the end. Completely unexpected
Somewhat unrelated, but I've been listening to older episodes of the Internet History Podcast for the last few weeks. It's quite good! My favorite episode so far is the one about Bill von Meister, who started the company that formed the basis for AOL: http://www.internethistorypodcast.com/2014/04/chapter-3-supp.... Von Meister was a very clever entrepreneur, and the podcast talked about some of his pre-AOL ideas, like offering free long distance calls at restaurants (in modern parlance, the free calls were basically the acquisition cost of getting a restaurant diner). Both that specific episode and the entire podcast series in general are a fun listen -- especially if you're in your 30s like I am.
If you just want a webview-as-an-app, then why not do it natively?
I disagree with that one too, but maybe we have different taste. akzidenz-grotesk[1] was first released in 1898 and it will probably look modern to you (it was the basis for helvetica). there were also a lot of titling gothic fonts that came over from germany and britain and are still used today in tons of movies and more cinematic advertisements.

I'm not trying to create an argument or anything, but if you look at type history most of it was sorted out around that very period, probably because the price and expertise required for printing was going down. so you'll find typefaces you like (and don't like) in almost every era. the modern typefaces we know and love today are mostly remixes from a few highly productive periods. we've been making tiny variations on existing fonts for centuries -- lettering by bodoni is from the renaissance but it's so contemporary and magazine-y.

1. https://en.wikipedia.org/wiki/Akzidenz-Grotesk
I (and the people I know) write resignation letters because it makes the intention clear (I really am resigning, not just sounding off because I'm annoyed or discussing possibilities). It also gets the facts down in writing in case of later possible confusion or dispute: in particular it ought to say "my notice period is X and I have Y days of leave outstanding, so my final day of work will be Z".

Basically leaving work is a formal change in status that deserves to be memorialized in writing, just as the initial contract should be in writing and any subsequent changes would. That doesn't mean I wouldn't also talk to my manager, but the letter is important too I think.
As another developer with 10 years of C++ experience, this attitude bothers me too. There are clearly domains where scripting languages are inappropriate (e.g. HFT), but that's no reason to blame the entire language. I made the switch to JavaScript about two years ago and I find the language quite pleasant and versatile (as long as its not abused or cargo-culted).
What's the difference between the two in how they affect load times? As far as I know, there's no clear delineation.
Ask HN: How to find unresponsive websites
I am trying to find real estate websites that are unresponsive (do not display well on mobile devices).
Anyone have any tips on how to do this?
HP motherboard with unlisted, etchings-removed integrated wifi
Thanks for the feedback @Neurocynic. We'll correct that !
Laplace's Demon and the Scientific Method
Good call, they do look weird on my high DPI screen. I'll replace them with better-looking alternatives, thank you.
> Absolutely not. The response to censorship should not be to make things easier for the censor.

It's not about making things easier for the censor. It's already easy. It's about making life easier for people who have to live with censorship (pretty much the entire world, I guess?).

> Anyway, the idea is unworkable as the user's client could simply lie about what URI it's going to send after the encrypted connection is setup.

Good server should response with error, I guess.
Are you talking about ES5 or ES6 ? Because working with ES5 is anything but pleasant.
Apologies in advance for title liberties, but this is an otherwise untitled G+ posting.

A newly-purchased, over-the-counter HP PCI motherboard is found to have a WiFi chipset, with etchings removed, that fails to appear under Windows Device Manager, and is not listed in any of the hardware manuals or manifests.
Right, seems many companies like that "SF/SV/whatever"-company label. That's sad. Goes so far that we have really small, local startups doing pretty impressive stuff... With a more or less empty "office" in SF and then in the hypish articles it's already an SF-based company.

Just because it sounds more impressive than "based in Rübenwald, Austria" ;).
Patriotism isn't very strong either in German-speaking countries since WWII.
I think it's supposed to be this: https://www.youtube.com/watch?v=6v4E6oksar0
The Exponential Five
PHP, Python, Ruby, etc. successfully power some of the largest sites in the world. Some ridiculously large fraction of the top 500 sites are using WordPress alone.

"Ruby on Rails performs so bad that your Intel Xeon becomes as useful as a 99 cent Walmart calculator using it, so comparison doesn't say anything" is completely silly. Rails, PHP, etc. can scale to some of the biggest sites on the Web. Sure, they're inefficient, but sometimes you want to trade performance for ergonomics.
A language like PHP greatly increases the chance of security problems. There is ample evidence of such issues in practice. This is one consequence of the quite low-level way to reason about the available data, and a class of problems that does not arise so easily in Prolog.

This is just one of many instances where barely working solutions are used, partly stemming from a lack of alternatives at that time. Robust web frameworks are only now becoming gradually available in Prolog!
Using Accelerometers to Protect Power Pole Networks
This post's audience is the 3000 people that showed up reading it in my Google Analytics dashboard.
I stumbled across an interesting IoT enabled solution for monitoring the state of power poles (which in much of Australia are basically dead trees). By sensing movement via accelerometers (and possibly other sensors) you can detect movement in the poles that might be due to weakening of the timber fibre structure, forces of nature like storms or floods or even vehicle collisions. Half-jokedly there is even a suggestion that a lost adventurer could tap Morse code on the pole and be heard ;-) . A slide presentation with more detail is available here :-https://www.slideshare.net/IanMeares/generic-safe-power-netw...
At a previous employer I worked at, this was pretty common.
If you left your computer unlocked for any amount of time, you were pretty much guaranteed to be screwed with.
Because it was so common, it wasn't a big deal. If you got an odd email from a co-worker, you assumed they must have forgotten to lock their computer.

It was a security related company, and the general excuse was that the practice was intended as negative reinforcement to push everyone to have better security practices.
I don't know if it was a good or bad culture to have. I can tell you that, to this day, I never leave my computer unlocked.
It's workplace.stackexchange.com, so they aren't necessarily computer literate. It's entirely possible there is a script somewhere the sets the from field, possibly user configurable. A lot of ticket management tools will do something like this, making a change to a task in the software will send out an email from you.
I actually solved this problem back in 2013 with a slightly more advanced technique (taking into account other signals such as motion), see http://up.csail.mit.edu/other-pubs/chi2014-smartsubs.pdf and http://up.csail.mit.edu/other-pubs/gkovacs-meng-thesis.pdf for the algorithm and https://github.com/gkovacs/extract-subtitle for the implementation (in python)
Good question about a good question
I mean, the "first post" thing is hardly a red flag--it could be a throwaway, or just the first time this person had felt the need to ask an SE question.