skysight-inc/HackerNews huggingface dataset:
I've yet to hear of a country structurally not honoring visa once they were issued. I've traveled pretty much where-ever I could go and once a visa was obtained it was never recalled. Now, I'm a 'well behaved white guy' (or so you might think) from a 'good' country (never mind the slavery, the rape, the pillage, the piracy, exploitation and murder) so that probably skews the odds of this not happening decidedly in my favor.

Even so, if my country started to structurally refuse entry to foreigners who had - at their expense and with considerable documentation requirements - obtained a visa in the legal way I'd be quite upset and in fact highly surprised.

See, even though a visa is not a guarantee the general rule is that they are not withdrawn capriciously and if you do that you risk making people from other countries wonder if it is worth applying for a visa in the first place.
You don't write your type twice in C# either. So, the second example would be:

var d = new Dictionary<string, string>();

`Dim` is worse than `var` because nobody uses the word "Dimension" when they're talking about variables.
I've considering moving out of my country.
How's the working environment there? And the salary?
> So you tolerate that a complete sex shall be punished for former sins

This is not a zero-sum game. Creating a new opportunity for girls does not remove an existing opportunity for a boy.

> But at least to me it seems that mostly boys (with few exceptions) seem to love doing this - in particular from young age on

Maybe you should try talking to more girls and asking them what they are interested in.
But an X220 wouldn't be open-source. That's kind of missing the entire point.
No matter what happens in the US immigration department, we already know things are moving fast in India and China. 2.5 billion people versus 60-120k H1b's per year?
Agreed. 'Curated' is currently being over-used to the point of parody. Any list of things made by a person is a curation.

One could easily describe a grocery list as a 'a thoughtfully curated selection of produce and pantry goods.'
It's like anything, there's a whole ecosystem involved - which includes having a lot of money to pay the right lawyers that know how to navigate the system properly. I've seen companies hire the wrong lawyers and, after promising the individual that everything would come through, end up having to tell the person that the application was denied.
Windows Game Mode is killing frame rate
> You seem to be worried about over-correction where there is clearly none.

I live in Germany - and there the situation is IMHO different.
My best tip is to not try one thing to grow your startup. Try everything.

This means that you have to do things very, very cheaply. Think of each growth hack as a single tactic. Execute in < 10 hours of work. Push into the wild.

You cannot know what will work, before you try it. What worked for others won't necessarily work for you.

How do you live in a world where any one thing you do is 90% likely to fail? You do a lot of 'one things', very cheaply, and when one of them hits, you exploit it.

Growth is a process, one very much dependent on speed. Think in terms of a growth system, not growth tactic or hack.

(this is what I call a strategy)
> that's how America got populated in the first place

This isn't 1910. We are the top 5 in the world in population. We don't need as much immigration as we used to.

Americans should benefit from the American system before foreigners, like, you know, how every other country works.
It's not "inside" the default, as such. I'm not a C expert but, near as I can tell, the labels for a switch statement don't need to occur all be at the same level within the control flow inside the switch body. See my other post here about Duff's Device as another neat example of exploiting this.
So include glamour shots of young attractive women on your landing pages when possible. Got it! :)

I can't remember what Madison Avenue Ad man (aka Mad Men) is responsible for the quote "in tits we trust". Ogilvy ? It's a tasteless quote, but I can think of many companies, like GoDaddy, that use this strategy shamelessly at first. The links above are by no means that extreme, but I suspect it did help your marketing success.

Thinking of my own marketing, I don't even have a photo of a human being using our product. I'll work on that.

edit: added Mad Men reference.
It may be collective hypocrisy, but the poor today did not get rich after their ancestors got here, so in principle they owe nothing to the system.
Ask HN: Good ERP System for Growing Hardware Startup?
Outgrowing our Excel based workflow for managing tasks such as stock management, manufacturing monitoring and order fulfilment. Any recommendations for a lightweight ERP system aimed at small hardware startups that manufacture in house?
I do like that article but have ignored it several times for good reasons.
There are certainly a couple of examples of international diversity, and refugee acceptance, among two of the largest tech companies ever. Steve Jobs is the son of a Syrian refugee. Likewise, Sergey Brin's family came to this country as a Russian refugee.
Tech support tough to fill without H1B? Give me a break! What a crock. Unless they mean "tough to fill at $8/hr."
But there is no "inside": case and default are like (slightly restricted) goto labels. They mark a place in the code, nothing more, and, as with goto labels, they can be inside nested scopes. That's why you need the "break" to explicitly leave the switch - because when execution reaches a label, it just continues. The label is a marker, nothing more.

(In terms of restrictions: case/default have to be inside the switch statement somewhere, and not inside some additional switch statement nested within it. But aside from that, as demonstrated by the article, you have a good deal of freedom about where they go.)
I use duff's all the time in micro-embedded; best way to have 'coroutines' without all the necessary stack switching interface. It has it's limitations of course, but it's a terrific tool in certain circumstances.
Ah, Binary Translation at the silicon level. That would be very interesting. Apparently NVIDIA's Project Denver was supposed to do this for x86 but they were unable to get the proper licenses, so they shifted it to do it for ARM. https://en.wikipedia.org/wiki/Project_Denver
Were you using .Net Core, or .Net 4.X? The latter is all the C# I have to work with (mostly ASP.NET stuff), and that was pretty poorly supported last time I tried it; requiring me to roll a lot of files manually and so on (e.g. no "create new X page" style contextual options, no way to build project from editor and so on).
No need to abuse the C switch statement.

#define while if // make code faster

#define struct union // use less memory
We've used a mixture of cold emailing and social media to generate growth in the past. The trick with social media is figuring out how to make your content both engaging and relevant to your product.

We're experimenting with Instagram stories on our latest project: JQBX (https://www.instagram.com/jqbx.fm https://www.jqbx.fm). Having good content lets you get more eyeballs on your stories which, so far for us at least, haven't driven people to unfollow since the feed content is of a high quality.
> I've worked with many people on H1Bs and student visas. Every single one of them was a valuable person to work with, and they should be citizens.

In what industry do you work? As a software engineer, I've worked with a lot of people on H-1Bs. They are normal, nice people like anyone else I'd have no problem with them becoming citizens given the proper process, but I wouldn't say they brought more value than any American programmer.
Traffic is definitely a big, unsolved problem in todays cities -- but in this context, it doesn't really fit into the causal chain: People report roaming about freely as kids in the 70s and 80s (that would include myself), several decades into the golden age of cars everywhere. Obviously individual areas can change, but the world at large today isn't significantly more dangerous for traffic reasons than it was 40 years ago.
Keep hammering the fact that these people are job producers, not consumers. If you can prove that one skilled H1B results in additional two jobs being created in the region, then it becomes an easier pill to swallow.

I work in a rural region with a high number of H1Bs because one of the biggest companies in the area is a tech giant. Most people I've talked to (outside of tech) realize that these people bring in a lot value to the area and without them, 10s of millions of dollars would disappear from the local economy.

I straight up tell people, when asked about H1Bs, that I wouldn't have a job if not for them. I've worked at too many companies where the star of the team was on an H1B.
Mainframe Insecuritites or Hack the Gibson. No, Really (2015)
What is a reasonable higher than average salary completely depends on the market. But you really, really need to step out of the tech bubble before thinking about wages... tech people are reeeally out of touch when it comes to what money the rest of the country has to live off of.
V-Play 2.10: New App Showcase, Multiplayer and Multi-Language Improvements, Qt 5.8
Quote from the article:

>The children's age and state of nourishment were also factors.

Caption also mentions malnourishment.
In 1933 few people expected that 12 years later, no one would admit to being in the 43% that voted for the Nazi party. But in their defense they had no idea what the future would hold, the economy was a disaster, the country downtrodden, and the Party kept the worst of their ideas rather quiet in the big cities. The problem here is different, but we still don't know where this will go, while we can see what was done so far we don't know if this is mild compared to the future or the worst is done.

Having said that, the time to deal with a despot of some kind is before it's too late, the problem is knowing when that is and not waiting until you can't do anything any more. Our system here was an amazing design for the 1780s but they couldn't know all the problems that would only appear 240 years later. At the start they weren't even sure it would last to the 2nd president.
It's hard to know where to begin. It appears that the Economist believes that as long as the right person is president (and, I presume, the right people control Congress), then the Constitution works fine. That isn't a compliment. As James Madison said:

"[W]hat is government itself, but the greatest of all reflections on human nature? If men were angels, no government would be necessary. If angels were to govern men, neither external nor internal controls on government would be necessary. In framing a government which is to be administered by men over men, the great difficulty lies in this: you must first enable the government to control the governed; and in the next place oblige it to control itself" (Federalist 51, https://www.ourdocuments.gov/doc.php?flash=false&doc=10&page... ).

The Constitution was designed with the assumption that the people in any branch of the government wouldn't necessarily be "the right people," and the other branches would need to serve as watchdogs (even though the other branches wouldn't necessarily be run by the right people either; in the worst case, ruthless politicians in Congress are expected to keep tabs on a ruthless president, and a ruthless president is expected to keep tabs on a ruthless Congress).

There are mistakes in the original Constitution (e.g., the elections of 1796 and 1800), but if today's Constitution relies on the people electing angelic politicians, then we've done something seriously wrong.

Having Congress and the president keep each other in check appears to work in practice as long as they are controlled by different parties. Of course, they are currently controlled by the same party, so there is good reason to worry. The only real solution in that case is to not give power to the president if it bothers you that the person in the Oval Office might not always be someone you like. If you don't like the fact that President Trump can order the assassination of an American citizen, the time to speak up is when President Obama first claims that authority ( http://www.salon.com/2010/02/04/assassinations/ ).
Cisco shipped product that will fail in 18 months
I LOVE this idea. Don't want your precious car scratched, then give 3 feet. My street has no sidewalks and cars constantly exceeding the 25mph limit. I'm pretty sure I could damage some vehicles doing nothing more than holding my house keys sideways in my hands as I walk/run. Drivers truly don't care about anything outside their windshield.
Good point. I'm not sure why all snippets have

*to = *from++;

while it should be

*to++ = *from++;
Do you know another program that can emulate microcontrollers and preferably also other chips together with actual electrical components in a circuit and make them programmable and simulatable without actual real components ?
If you're familiar with the use and types of firearms, this budget doesn't seem so odd. The alarmist nature of the paper gives the authors away. If they divided the cost per officer or the assets or notional value they presumably are protecting, it'd look like a fair budget!
How is this different from just serving a website that is pure js?
Any links? Last I checked those were pretty thoroughly debunked.

http://gizmodo.com/4chan-idiots-claim-they-invented-the-trum...
8.If you are lucky enough to get H1 and grow important enough in your role so that your employer files for your green card, tough luck if you are born in India or China. Be ready to wait for 10+ years.
well, for supermarket this is common all around europe for fruit&veggies, east, west, everywhere. probably cheaper than hiring extra person to mark everything correctly.

all super/hypermarkets in france are same, shopping there every weekend.
Code Review: Beyond Code into Company Culture
I prefer the points system that many countries, including Canada, implement.

Its a lot more deterministic and clear whether a person will be admitted or not instead of a lottery or salary based system.
I used to do this all the time as well, and then I started noticing that it only increased the rage that I felt and also the rage in the other drivers. It finally came to a head when a car tried to run me down between multiple lights.

My new form of riding in the city is to be 100% defensive all the time, but not in a give up my rights as a cyclist way. I assume cars will do dumb things (because they always do) so I avoid their blind spots, never pass on the right, alsways take the entire lane so that a car can not pass you if it's not safe (only do this in the city), when traffic is slow assume cars will jump quickly around in lanes etc.

Many people get angry and defensive when you yell at or reprimand them. The goal is to try and inform them of their poor driving without increasing anger on both sides. Now I do this with a look, and no anger, and people tend to respond to that apologetically.
Advice on developing at a startup weekend
It's trustworthy, it's just misleading. GRsecurity is a whole suite of security related patches/modules that SELinux/Apparmor don't do and have never claimed to do because they're 'just' about MAC.
Wow Tripod still exists and they still have your website contents? Impressive.

Also, love that "Sign my guestbook"/"View my guestbook", brings back old-internet memories.
Trump is a proud American, as am I. I don't disagree with him on everything, and I imagine everyone could find some overlap if they looked hard enough.

Unity is not the image he's projecting. He seeks revenge on anyone who crosses him [1]. In politics, every day someone will challenge your views or perhaps vote against you and "screw you".

> In speeches and public talks, Trump has repeatedly expressed his fondness for retribution. In 2011, he addressed the National Achievers Congress in Sydney, Australia, to explain how he had achieved his success. He noted there were a couple of lessons not taught in business school that successful people must know. At the top of the list was this piece of advice: "Get even with people. If they screw you, screw them back 10 times as hard. I really believe it."

[1] http://motherjones.com/politics/2016/10/donald-trump-obsesse...
Unqualified Experts: 5 Rules for When to Ignore Authority
Give me your hungry, your tired, your poor I'll piss on 'em /

That's what the Statue of Bigotry says /

Your poor huddled masses, let's club 'em to death /

and get it over with and just dump 'em on the boulevard
Yeah, or what about those of us in the NGO and non-profit sector who need people with specific regional skills/knowledge/experience and/or folks (including tech people) who prefer to take a slightly lower salary because they want to work with us on important stuff? We've had to sort visas on a number of occasions for people. $100,000 would be like one of the highest ever non-profit salaries!
At that point I abandoned powershell and just compiled a .NET exe
There is an SELinux boolean which is pretty much "I use Mediawiki".
We are seeing attacks in the wild for it already. Mostly defacement attempts at the moment.

Marc, the researcher that found it, wrote the technical details here:

https://blog.sucuri.net/2017/02/content-injection-vulnerabil...

thanks,
hey just wanted to say it looks very cool so far.
If an interpreter is so rare that one can't be found in the US and they need to be hired internationally, then maybe it's worth it to pay $100,000?
I use synthetic facebook, twitter and other accounts and assign them to bots that mimic humans. The bots then communicate with users and recommend things and conversation they agree to while also redirecting to my site. I've acquired millions of MAUs this way. I used to do this with MySpace and Friendster. Before that IRC.
Ackerman's quotes throughout the article are pretty spot on:

>from an 18th-century notable to a 19th-century party magnate to a 20th-century tribune to a 21st-century demagogue

I also largely agree, we have given power to the President over the years because they at least had some reasonableness to them, at least in their context. I am squarely of the opinion that it isn't quite "both sides do it" equally, but it is true both have contributed to Trumps soon to be zero checks on power.
Kinda surprised no one has mentioned TiddlyWiki yet ... truly the hackers notebook :)

http://tiddlywiki.com/
I've applied through the portal about 5 days back, when can I expect to hear back from you guys? :)
America never needed immigration, not since the first European landed there. Historically immigration has initially always been to the advantage of the immigrant, only later does the balance shift the other way and do subsequent generations contribute substantially to the bottom line.

> Americans should benefit from the American system before foreigners, like, you know, how every other country works.

First of all, that's not how every other country works, then besides that America is mostly empty space and Americans will benefit from the system before foreigners because they have been there longer, have more starting capital (which is the biggest lever you can have) and tend to know the rules better so they can be worked to their advantage.
Wherever possible, outsource. wordpress.com if you can deal with their limited selection of themes and plugins, any number of third-party outsourcers whose bread and butter is WordPress if you need your own theming.

(I maintain three WP myself by hand, but that's me being a control addict.)

WP's core security is vastly better these days. So instead you'll fall prey to a cruddy plugin or theme ... especially the latter, being PHP written by designers. (Nothing against good designers, but design thinking is not security thinking.)

A really useful shortcut: put /wp-admin/ behind Apache basic auth. This stops most doorknob-rattling automated 'sploits in their tracks. (Main barrier to doing this in practice is that nontechnical editorial people tend to get confused by two layers of password.)
More accurately, sizeof(char) is always 1. This is simply because sizeof returns the size of the object measured in terms of the equivalent number of chars (rather than 'bytes').
Hi, anything I missed in this article? it is aimed at people trying to validate an idea rather that writing enterprise code
> The reason to use the speeds and not the distances in the papers is that we actually measure the speeds (redshifts, to be precise)

Comoving coordinates are a more important consideration. The coordinate distance (which is the comoving distance) between galaxies is fixed in the standard cosmological model.

Standard candles like supernova light curves do indeed rely on redshift, and it is straightforward to convert cosmological redshift into a recession velocity.

However, standard rulers include angle-diameter-surface brightness relations which do not measure redshift; one calculates the redshift for these objects through e.g. the Mattig or Sigma-D relation.

Extragalactic distance ladders combine these and other classes of observables.

Using redshift and a scale factor for cosmological distances rather than Gly or Gpc also defocuses one from distracting differences between cosmological proper distance and relativistic proper length, for example, while bringing into focus peculiar velocity. It's also handy when dealing with different systems of units, such as geometrized ones in which G=c=1, as is common practice in cosmology.

Just by way of example, starting with your H_0 value, and being slightly sloppy (especially wrt sigfigs), for ~1 Gly, I plug in H_0 = 70, z = 0.076 , \Omega_{m} = 0.31, and the standard values for the other densities, and get four useful distances: comoving = 750 h^-1 / Mly, proper distance at z=0 = 1043 Mly, proper distance at z=0.078(a=0.928) = 969.4 Mly, time interval = 1.004 Gy.

Is it really useful (rather than simply nifty) to think of a galaxy at a slightly greater redshift moving away at ~ 2x Earth's diameter every second?
Great that you're interested in finding out.
http://www.npr.org/tags/221437017/women-in-tech
http://overit.com/blog/sexism-in-tech
https://en.wikipedia.org/wiki/Sexism_in_the_technology_indus...
http://www.businessinsider.com/why-im-finished-defending-sex...
http://www.cbsnews.com/news/women-are-getting-fed-up-with-se...
http://www.dailydot.com/via/subtle-sexism-tech-silicon-valle...
Or just search "sexism in tech".

Whilst we're on the topic, lets also add that non-white men and women and transgendered people have it even worse.
In my experience with their tone and harassment they generally push the boundaries of acceptable speech (for example at my university a group placed posters based off of literal Nazi propoganda) and if they were not a political group and had this amount of visibility they would've been banned already
I thought a main point of Cassandra was to be distributed so the working dataset could stay in memory across the cluster. And the smaller memory footprint you typically get when you're not in the JVM means more of your working dataset can be cached in memory. So I would expect superlinear speedups compared to Java for exactly the reason you describe (depending on the request distribution).

But yeah, I'm always up for pouring over more benchmarks. :)

Here are more details on benchmarks here:

https://qconsf.com/system/files/presentation-slides/avikivit...

The YCSB benchmark suite they use is the same one as used in this paper from the Cassandra homepage:

http://vldb.org/pvldb/vol5/p1724_tilmannrabl_vldb2012.pdf
Actually, the examples are correct. The context for this particular snippet is memory-mapped IO, so the `to` pointer is actually the memory address where some external device is mapped to and accepting input. Repeatedly writing to that location causes the values to be sent to the device.