skysight-inc/HackerNews huggingface dataset:
> The "replacing multiplication by additions", the replacing multiplication with a shift and the hoisting I mentioned above are all redundant optimisations for a programmer

There's also the fact that the code could get marginally more annoying to maintain, which is honestly more important nowadays even if you were actually saving a few cycles and the compiler wasn't doing the work for you.
You want to grow your startup? It's much easier when you Make Something People Want.
of boys that have been encouraged to do computer sciencey things from an earlier age.

YMMW but IIRC my experience has been a bit different :-/

Edit: added IIRC
Big companies will grow their offices in Canada and Europe. H1B prospects will go there instead, and these growing offices will attract many Americans as well. The tax revenue from these people, not to mention more abstract benefits like "brain capital", will go to other nations.

People, especially those with fond memories of manufacturing booms, need to start realizing that you can't have capitalism and avoid globalization (not unless you shut all the doors, which is not a reasonable suggestion). The sooner people realize it the smoother things will go.
Just as an aside, you can hire a remote DBA to help out, until you get a full time person. We have a contracted 3rd party that does secondary monitoring around the clock, and a very, very good pro that we work with on projects. In our case, we have a 'retainer' for 15 hours a month. (and a fixed cost per hour after)
The current system is in dire need of reform. I was fortunate enough to get a visa to live/work there for a year, but now I remote work from London, and I strongly prefer it to living in the Bay Area. The immigration process was consistently unreliable and unpleasant. Would rather not have a lottery dictate my future plans, and as the article says, remote working is on the up - a lot of people I know who were in my position agree and are doing the same. American bureaucratic faff aside, the tech sector always finds a way!
I just created two image files. One is a handwritten list of provinces in Canada and the other is a screenshot of some text in an editor. I uploaded the files to OneNote and Evernote. Both programs indexed the screenshot perfectly but only Evernote can find text in the handwritten note.

You said you chose something lighter weight. What did you end up going with? I've used Evernote for years but am unhappy with the direction the program has gone. The new CEO seems to be refocusing on the core purpose (capturing and remembering) and so I'm contemplating sticking around for a bit.
Maybe a bit off-topic, I encountered a pretty rude experience with StartSSL's free certificate validation process and from then on I would rather pay some money to other vendors than getting a free cert from StartSSL.

But I have been using Let's Encrypt which is pretty automated, and did I say it is totally free? Awesome is a word I will describe this kick-ass product.
Super Ninjario Run
Electronic cigarettes are not harmless, study shows
Should've specified, we're moving away from Deis V1 (CoreOS-based).
Might I suggest paper notes again? The mental state we go into when jotting things down on paper physically combined with the flexibility seems a shame to have lost.

I agree on search which is why I keep a digital index I update every few days. So even a year and a couple of notebooks later I search for something like "notes sql" on evernote and will get back results like "book 4 page 13 sql notes on sharding". I just need to dig book 4 out of my little plastic box I keep my notebooks in and refer :)
Does Debian use AppArmor? Never run into it and I use Debian regularly. I read elsewhere Ubuntu uses it but I suspect Debian doesn't.
G Suite Enterprise
The Snapchat IPO Hype
GP is not completely wrong. Many state constitutions do indeed create the office of Sheriff. The federal one does not, of course, because there is no federal sheriff.
>Essentially this is breach of contract.

Trump has altered the deal. Pray he doesn't alter it any further.
oh they do miss out on a lot of tax that's why HMRC is so hot on disguised employment - though strangely "self employed" lawyers are not caught by this even if they are working on the same case for years
I can't help but notice that this is close to Rotherham. The second hit when you google for Rotherham is the Wikipedia article on the "Rotherham child sexual exploitation scandal".

The report estimated that 1,400 children had been sexually abused in the town between 1997 and 2013, predominantly by gangs of British-Pakistani men.[7] Abuses described included abduction, rape, torture and sex trafficking of children.

Perhaps freeways aren't the only factor here.
My small town post office is actually great but I tried to go to one in Pittsburgh and wanted to off myself. So inefficient and slow. The employees clearly hate their jobs but know they can do the bare minimum and not be fired.

Same is true of my local DMV vs the regional one.
Weird, i've never seen that. Wonder if it is due to your proximity to a Amazon center or something.

Fwiw, i (not OP) still feel 2 day is plenty fast and i get my moneys worth. Ordering 2 day on non-Prime items reminds me how expensive that crap is normally.
If you have not already looked at it, it's probably worth looking at Patio11's (Patrick McKenzie's) website and reading his blog and listening to his podcasts. http://www.kalzumeus.com/
https://gitlab.com/gitlab-org/gitlab-ce/issues/14924
It is not a breach of contract. A visa is not a guarantee of entry even though many people assume it is.

[Edit: Please don't interpret my comment as suggesting I think this is a good idea. If you check my posting history, you'll discover I'm an outspoken proponent of open borders.]
I've never used surf, but I really do like tabbed. It plays super nicely with most tiling window managers I've used, and lets me get the single best feature (ymmv) of i3 on xmonad.
Looking Ahead at South Africa's FinTech Landscape in 2017
Good old fashioned sales and word of mouth.
The code does unsafe things in signal handlers (vfprintf, for example), and hides some things in macros that I wouldn't expect to see hidden (like the assignment of the global "argv0" variable, defined in st.c, is assigned in a macro from arg.h).
Great insight, thanks for posting.
I collected those for a while. What was your handle or group affiliation?
Still pretty small, but growing. :)
SEEKING FREELANCER - Anywhere, REMOTE

Seeking a Go (golang) developer who has experience in cross-platform desktop app development to build a super simple tray icon app for Mac and Windows. Experience in Cocoa, Objective-C, Win32 API, and cgo of course are a plus, but not required, as long as you're motivated to figure things out :)

Email amir at pilvy dot com with your coolest Go project and anything relevant. It's a small project, but could lead to more work in the future.
Do you not find that websites such as the above put out too much content, to the extent that new points and insights that you hadn't considered before get too diluted amongst the amount of time you spend reading said articles?
> they left out, for now, attempting the hard ugly stuff like x-platform GUI

What is the status of this? Will MS be bringing WPF (XAML) to all platforms?
I liked onenote, and haven't tried the desktop app.

But the web app had an annoying habit of continually hiding the edit ribbon, making it a chore to use for formatting notes.
Focusing on providing value.
Last I checked, Airbnb isn't for home buyers. That title is crap.
'Get off your phone' Day care's message to parents
I think it depends on some combination the jurisdiction, university & location. It's absolutely enforced where alcohol & alcohol related crime is a problem.
If you don't know about something then how can it possibly be exactly what you want? You wouldn't want it if you didn't know it existed.

You may want something with accomplishes some goal without knowing exactly what. If a person thinks "I have to go out but I'm waiting for a call", they may not imagine the cellphone as an object, but they still want something that solves their problem.

That said, 73.6% of all statistics are made up. Many ads in fact are designed with both goals in mind.
This definitely gratified my intellectual curiosity, having only tried lychee for the first time a few weeks ago.
In addition type O visas have no cap and are what people incorrectly attribute the H1b is for - geniuses instead of pushing out local talent.
This startup MobileApp launches a contest that promises users to win an iPhone 7
‘Abusing’ the C switch statement – beauty is in the eye of the beholder
> I've been using SELinux in my Fedora the last 3 years, always on enforcing mode. No major problems

I think the only problem I've encountered has been when Virtual Box (or was it VMWare?) tried to compile and install its custom kernel-modules, while using UEFI with secure-boot. They wouldn't load, because they weren't signed. Took me some debugging to figure out what was going on, but it was easily bypassed.

The solution was to disable secure-boot and just boot UEFI in "regular" mode. Felt a bit like fixing things by running as root/admin, but apart from that one story, I've had absolutely zero other issues with SELinux. Fedora has implemented it really well.
UpViral Case Study: 1,057 leads in 7 days with £5 ad spend
Is Pandora still expanding in St Louis? Would love to chat with anyone here.
Let's assume that after years of drastically reduced immigration, America's tech dominance remains unchallenged. Would that make you happy or sad?
The kids ride bikes too.
> Why is this?

Many of my hardest problems involve people in decision-making positions that don't have any idea about how computers or programs work. Getting the rest of the world to be more conversant in programming will allow for more meaningful work. For example, we know what an EKG and an APB are, but people don't know what a compiler is.
Ask HN: Is there a good modal/pop-up blocker?
Like an ad blocker, but something that prevents modals/pop-ups from popping up on screen and annoying everyone. It could also block ads as those are often modals telling you to turn off ad blocker.
This is a good read: https://www.groovehq.com/blog/focus. Remember though, every company is different. What works for one may not work for another.
previous discussion: https://news.ycombinator.com/item?id=8661282
But I can actually read Forbes without payment, meaning WSJ might as well not exist as I do not intend to pay for news.
and it actually seems legit, T&C are pretty serious
My personal favorite still is: Operating Systems Design and Implementation, by Andrew S Tanenbaum.
If your product doesn't suck and it won't sell you suck at marketing. "Growth hacking" is just a SV koolaid rebranding of marketing.

It wasn't a start-up but a consulting company I worked at that had stagnated for about 7 years.

6 months later we had redone our whole marketing setup. New site, new branding, new software, lots of advertisement $ shifted.

A year later revenue was almost 3x. We raised our rates so profitability was even more than that.

The problem is finding a great marketing expert is just as hard as finding good coders. The company blew through countless consultants and 3 "marketing majors" with no returns until they found me and we turned it all around.

I would say marketing and coding are equally important for a start-up, easily the two most important things. If you have two founders one should be a marketing guru. If you don't your first employee should be.

Another thing is don't hire any marketing expert that can't code. The actual marketing setup is more than 50% coding. You need to find a coder that loves marketing
PG wrote about how he considers many religions to have a culturally-evolutionarily useful bit ('don't eat tainted pork' over time will increase your economic growth) and a viral one, which perpetuates and reinforces the belief.
Here are the shipping benefits:

* FREE Two-Day Shipping on eligible items to addresses in the contiguous U.S. and other shipping benefits. For more information, go to Amazon Prime Shipping Benefits.
* FREE Same-Day Delivery in eligible zip codes. For more information, go to Order with Prime FREE Same-Day Delivery.

I'm guessing you live in an eligible zip code?

https://www.amazon.com/gp/help/customer/display.html?nodeId=...
in my experience

> Its borerline impossible to find someone who will sponsor your visa in April for a job that begins in October

> you can be rejected by h1b visa lottery

> if you win the lottery, your visa application can be denied

> you can be rejected by immigration official at visa interview

> You can be turned around at port of entry

> you visa might not renew after 3 yrs, forcing you to go back.

so on... . These things happen all the time even to the most well qualified/well prepared .

Immigration uncertainty is not new
In other words, it would not be good for a type 2 diabetic drug.
parserless configuration is easily achieved with stuff like envdir: https://cr.yp.to/daemontools/envdir.html
I mean, it's frustrating at any age. It's not a popular opinion, but just because you know "some" things are easier for you than say, "girls", doesn't make it any less frustrating.

Sure, they're frustrated too i'm sure - i'm not denying that or putting anyone down, to be clear. It has always just seemed like the wrong approach to a problem, or possibly projection of a problem where a problem doesn't exist.
I think everyone who's already responded has done a great job of answering this already, but what I've noticed is that it just makes anything and everything that involves any form of physical activity either easier.

This can be as prosaic as doing DIY work around the house, working in the garden, going shopping, helping my parents move house, pushing my motorcycle around, etc. It also makes holidays involving sports or physical activities (skiing for example) much more enjoyable - you can do more, and push yourself harder, and you have more confidence in doing it.

The routine I'm doing does not make you look like a bodybuilder - as others have pointed out, it makes you strong. This does involve some increase in muscle mass, but I don't think I look particularly big even though I'm much stronger than I used to be.

The last reason is very personal: it's frank curiosity. I grew up as the weakest kid in the class, one of the weakest in the school. I didn't think I could be strong, so when I realised I was wrong, I wondered how strong I could become. It's obviously a harder journey because I'm older, but still I don't feel like I'm near the limits yet.
>Is 60 lines already considered bloat, in a verbose language like C?

It's more about features. tmux and screen are widely used, so a lot of people won't need that functionality to be duplicated. Keeping extra features separate lets the users pick and choose what they want.

It's also worth noting that suckless's software is not meant for someone who wants a turnkey solution. It's meant to be customized by most every user.
Weekly BigData and ML Example and Toolset Roundup – Feb. 2, 2017
I ran a centos server for a while (ran= not my responsibility any longer) with SE Linux and a tomcat portal app, as well as other, custom web apps (ruby on rails with a mail queue and mysql backend, etc). I always left it in permissive, because I couldn't figure out how to properly configure it.

I tried understanding the principles behind it and configuring the different exceptions for several classes, but often, this didn't work (e.g. I had used wrong class, or enabled exceptions that were still blocked). The users of the rails app kept calling, asking me why this or that feature wouldn't work. It was impossible for me to configure all exceptions - to me this was not surprising, given the complexity of the software that we had installed. I simply deemed the apps too complex and too "feature rich" to configure all SELinux exceptions manually.

I then understood that there is a different way: To set it to permissive, keep it running for a while and then generate an installable permissions profile, allowing all occured violations as some kind of permissable exceptions.

This made sense to me, however it required downloading some dubious python script, that would create some dubious binary file. I got this to work, but then again, this or that feature was blocked. I finally kept it running on permissive. This is my individual story. The article makes it look as if it was really simple to configure it (When I started with SE I tried similar moves but never got it to work).

So, is it just me, or might it be that SELinux just has a major usability issue?
I live on a mountain half a mile up an unpaved road (there are a half dozen or so houses on the road, not just us).

UPS will drive to our door. Fedex will drive halfway up and leave packages by the side of the road (there is a gate and a turnaround there.)

USPS won't even bother putting packages on the delivery truck; instead I need to drive 15 minutes to the post office to pick them up. The most infuriating thing is that when they put a slip in our mailbox, it generates a "Sorry we missed you, delivery attempted" email which is utter and clear BS.

This might be a relatively extreme situation, but they have also sucked in the prior suburban and urban places I've lived.
I'm curious what the value proposition is for the meeting (and if it's for meeting with the people).
Not to mention all the cleanliness laws in a world without the modern germ theory of medicine.
It's highly dependent on where you live and the individual driver assigned to your route.

I used to absolutely wonder in confusion why people complained about the USPS - where I grew up it was always cheaper and generally more reliable than UPS or Fedex. Plus if you ever had to go into the Post Office the people were downright pleasant and competent.

Then I moved to Chicago, and I instantly realized the reputation was deserved. It was essentially two entirely different postal systems, you would simply not recognize them as the same "company".

UPS and Fedex I've both had utterly fail for me living in different locations, just lazy worthless drivers happened to be assigned to me.

I will say all the complaining about "leaving packages to get stolen" needs to stop - if you're concerned get a box to put them in. Otherwise it's not reasonable to have these guys wait on you to come to to door. Sure it's only 30 seconds, but that's 30 seconds multiplied by 200 each day. Sure there will be some shrink just like a retail store, but it's still overall much more efficient.
TempleOS is banned from anything less than Core i7. It slows down the herd.

TempleOS is for Xeon supercomputer desktops.
Borland used to make some fantastic IDEs. For a long time I would always lean towards Borland over Microsoft.

You've inspired me to pick up Turbo Pascal again and write some DOS software just for fun.
Programming is a very general skill that can be applied to almost anything and it has a low barrier to entry.

In the view of those promoting programming education it is a skill that everyone should have the opportunity to learn -- more akin to reading or writing than specialized skills like making glue or regulated subjects like law.

There is also a lot of room for creativity in programming, which means it probably has a higher chance of being adopted just for fun.
You can't discriminate based on "race, sex, marital status or sexual orientation" that's the law.

I have noticed that every time you say this, you conveniently leave out "religion". It's against the law to discriminate against someone because of their religion too.

Commerce is regulated per our Constitution.

Interstate commerce is regulated per our Constitution. Intrastate commerce falls under other laws.
Shame Quiver ain't available for iOS. Do you know a similar tool which is?
in the past it was assumed that the USA would honor visa once they were issued

What do you mean by "honor"? A visa don't guarantee entry. It simply gives you a path to enter the country which includes inspection by immigration control. They make that very clear on the USCIS website and all the visa forms.

A U.S. visa in his/her passport gives a foreign citizen permission to apply to enter the United States. A visa by itself doesn’t authorize entry to the U.S. A visa simply indicates that your application has been reviewed by a consular officer at a U.S. Embassy or Consulate, and that the officer determined you’re eligible to travel to a U.S. port-of-entry for a specific purpose.....

At the port-of-entry, a U.S. immigration officer of the Department of Homeland Security (DHS) decides whether to allow you to enter and how long you can stay for any particular visit, as part of the Admission process. Only the U.S. immigration officer has the authority to permit you to enter the United States."

[1]https://travel.state.gov/content/visas/en/general/visa-expir...
Selinux MAC is painful coming from DAC and it has bitten me numerous times but depending on your environment and
exposure it can be a must have.

I wouldn't run an 'exposed' system that had SELinux support (and decent rules) without SELinux. Not discounting chroot, but given root a lot is possible in a jail.
> I see it as more of a temporary compensation for earlier gender based biases.

So you tolerate that a complete sex shall be punished for former sins. Clearly not my sense of justice.

> In a world where boys and girls are given the same opportunities at (even) younger ages, you wouldn't need something like this.

Everybody can use the internet to learn coding. But at least to me it seems that mostly boys (with few exceptions) seem to love doing this - in particular from young age on.
does the ubiquity of guns among the public inspire you to conduct yourself to a high standard during your job?
Thank you!! Email sent.
> The U.S. owns the cloud with AWS, GCP, and Azure, but if other countries can't use their services due to US government overreach, then I'm sure strong competitors will pop up elsewhere.

This is a very good point. Add on to this, tech industry among some of the businesses that benefits most from an open global economy, and would hurt most from Trump's protectionism.

For example, Google has over 90% market share in certain european countries, and EU is viewing the new administration more and more as a threat, isn't that dangerous to have someone you don't trust control your entire internet industry? I believe both European governments/society will now be more motivated to push the agenda to grow local competitors that works better for them.