skysight-inc/HackerNews huggingface dataset:
Not an issue because I don't use the Unicode type. All my data comes in as UTF-8 on which I do a quick validation check. Then it's just handled as bytes all the way to and from my database.
Ask HN: So, what must Muslims do?
I am a Muslim, from a multi-religion non-western country, studying for an grad degree in western Europe. I am very sad about the recent ISIS attacks.

Given these attacks, it is natural that Muslims get a bad name. The amount of generalized hatred directed towards us on social media makes me even more sad. It was depressing to see people on an intellectual platform like HN suggesting stuff like large scale surveillance of all Muslims, extermination, nuking the middle east etc.

Radicalization is one of the popular explanations of why so many Muslim youth are attracted towards the extreme violent ideology of ISIS (which is condemnable according to Islam itself). A lot of people have suggested, or even demanded (on HN threads, comments sections of other websites etc) that Muslims must do something about this. As educated Muslims, any ideas on what we could do? How could we help stop violent and extremist propaganda, and its influence on Muslim people? Should this be the sole responsibility of Muslims?

Note that Muslims are a culturally diverse bunch. A Muslim from Turkey is very different from one from Malaysia. They also speak completely different languages. I am culturally closer to people (regardless of religion) from my country than to Muslims from another country.

Further, how should we react to wholesale blaming of all Muslims for the violence, and to rising attitudes of suspicion towards Muslims?
That's some very serious victim blaming you have going on here. You should be ashamed of yourself.
All the crypto code you’ve ever written is probably broken
I think the energy spent supporting Python 2 and the inability to really unify and focus the community on Python 3 is preventing or delaying that kind of dramatic improvement.

If people would rather move to another ecosystem rather than update their code that's fine. The Python community doesn't get paid a nickel every time the interpreter runs, (at least slightly) engaged users are what move Python forward.
I'm shocked by how little empathy people have.
Why the guns.
Not sure you know what slavery is.
Corporate Ipsum. Nice idea.
This really isn't gaming the H-1B system at all.
Twilio for sms messages, working well.
Can you explain this more clearly? The way you have phrased the question is difficult to parse.
> If they keep it up with actions such as these, there's a good chance they'll stand to be rewarded for it.

And -quickly enough- they'll go back to being the old MSFT we all knew and loathed from top to bottom, and these olive branches will vanish quicker than a pile of shaved ice on a summer day. For many of us, this isn't our first rodeo. :)
Yes, that is tough to define. "Enabling" might be a better way of phrasing it.

I wasn't a completely functioning adult at that age, in a lot of ways. I did not know college was an option, I just complained to my folks that I was bored (like any bored kid). They really helped find things to keep me occupied, and eventually found the college option for me.

In addition, the typical stuff you might expect was also important. For example, paying for college would have been very difficult for me (getting a job at 14 would have been too much on top of everything else). Getting to/from campus was also difficult, and I was too young to live on campus or drive. I also had to deal with all of the normal teenager BS (hormones, depression, etc), in addition to going to college, and they helped (as I expect most good parents do).

Sorry if that doesn't answer your question, the circumstances varied a lot depending on the individual.
66k absolutely does fly given that the median income in the area is 72k. Unless you're suggesting almost 50% of the bay area is destitute.
Thanks, I'll definitely be keeping an eye on keepass, there's a post around indicating that they're going to add Argon2 (the winner of PHC) when it's finalized. I might just do the switch now...
When I was in HS I forgot my keys, I tried climbing in thru the second floor, neighbors called the cops, cops showed up and asked for ID, showed it to them and incident over.

I didn't get mad at my neighbors. I'm rather grateful they were looking out for neighbors' property, even if they didn't take the time out to determine if it was me or a burglar. I don't expect them to call out to me to confirm I was the person who lived there. Another occasion, my friend lost keys to a chained up scooter. So we took a cutter, it was not easy to break the lock, neighbors seeing us also called the cops. We looked suspicious. Breaking into my house looked suspicious and I'm glad the cops came to investigate. They're supposed to.

Now, it's true, they didn't point guns at me/us in either occasion, but my friends who had similar incidents did have five cops with guns show up in a different instance, maybe because it was night.

I should also point out, I do believe the police have overmilitarized over the last decade(s) and overly aggro, but that does not mean I want them to stop from doing good policing (investigating suspicious activity)
These owners in some of the videos will regret scaring their cats near their litterboxes, if the cat becomes afraid of the area.

(I have no rules for my indoor cats because I don't want them to become neurotic. I don't try to "train" them off of countertops, etc.)
I agree that his comment shows a rather callous disregard for the victim's feelings, but it doesn't really blame her for anything.
Argh, I don't like this argument.

There's really barely anything that is python2 specific, most of the things that weren't ported is no longer being maintained.

I think the main reason you should start moving to python3 is that it will be discontinued. Python 2.6 was EOL in 2013, 2.7 they've been more generous and you have 4 more years, originally it supposed to be 2015.

There's no good reason to stick with 2.7, if you have some legacy apps there's nothing preventing you from having Py2 and Py3 installed side by side.

If you need to write libraries that share code, it's much easier to write the code in Py3 and then make it backwards compatible with use of from __future__ ... imports and six module.

I feel like people who still complaining about the difficulties did not actually tried Python 3. Py3 is much more enjoyable language to write in.
It is not legal for the employee to bear the costs of the green card. Yes, there will be some coordination work with collecting documentation, medicals, etc.

Triplebyte also seems mistaken about how the H1B transfer works:

"If you're working on a H-1B at one of these outsourcing companies, apply to Triplebyte and we'll cover all the costs of transferring your H-1B."

Or are just that many employees being ripped off?
That's a relatively reasonable critique on the face of it. On the other hand, work schedules tend to vary dramatically, particularly around social classes.
Oh, who's here Pope Francis exclaimed surprised
Actually the giant bodyshops don't prevent people from transferring. It is the tiny body shops that are operated illegally here in the US that try and do this.
I've worked at one big body shop and know for a fact that the H1B via is considered a gateway to come onsite. Many employees can and do choose to then transfer to other companies.
What triplebyte is doing is not helping the cause at all. Big companies don't care about people transferring. They'll just file for more visas. This is actually hurting than helping.
I was thinking of Micotil, my mistake.
This particular article is rather basic, but the article and paper about FREQ and its improvements over IRR are fascinating, especially if you've ever spent time banging your head against the wall of trying to come up with the best way to distill investment performance into a single number.
I LOVE it.

I've been building in MVC3/4 for the last few years so have quite a bit of experience with how MS has been evolving in this space. From "BundleTransformers" through "Web Essentials" and now suddely all the way to GULP

I started building a weekend and evenings project in EF7+MVC6 at Beta6 and have suffered through breaking changes in beta7 & 8 but each stage of the way I've enjoyed myself.

Some of the things that I have recently struggled with is getting the project working on linux VMs and docker.

While I can get boilerplate projects working, this "bigger" project struggles to compile on docker.

Part of it may be my own fault since I've split the solution into multiple projects ("WEB", "API", "MODEL") where MVC6 seems to have a paradigm of keeping everything in the same project, but it does seem to work OK on a windows 10 host (I keep wanting to test it on azure but that's another story)

There isn't any clear path as of yet from "building something that runs locally in VS" to getting it hosted in a "massively scalable cloud of containers"

I'm exploring docker and kubernetes at the moment - but progress is slow :)

Additionally - in terms of development - I'd like to see some more scaffolding, like I see with (for example) strongloop/loopback in node.js I'm finding that my API breaks down in .NET when I try and use an EF entity around since we get into circular JSON references.

Anyways, I'm starting to get off on a tangent. I really do like what I see in .NET5 though feel there are some pains in places. Specifically around containerizing & rapid application development.
I think it is worth noting that "risk of burnout" is not something solely generated by working excessive hours.

I think it is a lot about focus, and the type of work. If you are 100% laser-focused on something in a very stressful situation, you can still burnout from spending "normal" hours on it without overtime.

For example, if I'm running a major holiday promotion (and I am), that is incredibly stressful from a cognitive load standpoint. The actual tasks may not require me to burn the midnight oil, but I sure as heck need a mental break afterwards. Whether that break is actual time off or just switching gears to something not as mentally demanding is a separate issue.

Individuals who can constantly be laser-focused on mentally straining tasks are a rare breed. I'm also not sure how healthy it is for someone to keep that pace up.
Just having a library that does something doesn't magically bring security. The issue is, engineer still needs to know a lot of stuff (or strictly conform to the instructions) to use the thing correctly. There are too many ways to screw the thing up without even knowing it.

So, if the thing's to slap some nice GUI upon an existing library that implements the security bits, then almost no knowledge's required. But if one has a library full of primitives but still has to combine them in a meaningful way - it's a damned minefield.
> Are they committed to my company and the job or not?

That's a giant red flag. Saying that sort of thing... no, I'm not committed to you if that's your attitude. Holy hell in a handcart.
The common man being oppressed by the suits...

What can I say, other than I wish they didn't see it like that... The limitations can benefit everyone. Rocky Mountain NP (nearest NPS to me) is phenomenal, beautiful, and draws tourism from around the globe. There is also still tons of BLM and USFS land for more permissive recreation. At least in the Moab area, I suspect Utah is not all that different- Canyonlands & the surrounding areas is a crown jewel that draws desert recreators from hundreds of miles away.

I'm an ardent supporter of the NPS though, so I'm biased.
France also has very strong gun controls. It is of course, more complicated than that. And, by the way, a man shot and killed 12 people in the UK in 2010 with legally held rifles: https://en.wikipedia.org/wiki/Cumbria_shootings
Fluentd v/s Logstash
I've gotta believe these organizations can find one or two developers among the billions of muslims on this planet. Why wouldn't they just write their own apps for android and call it a day?
PHP is still the king at web, php5-cli might not be as popular as Python.

Python seems more popular at Academics, and it's essentially the Basics for the generic public, or replacing Java at colleges nowadays.

That been said, I use PHP myself, PHP7 looks promising.

Python 2 vs 3, AnguarJS 1 vs 2, the self-conflicted "upgrade" is double-sided.
One reason I decided against going with PC-BSD is because apparently the package management system is a mess. I cannot remember the exact location I read that, but this thread might be a start [0]. Overall, I just got the impression that it isn't worth it.

[0] https://forums.freebsd.org/threads/does-a-gui-package-manage...
I remember that code for Ruby 1.8 required changes in source to make it run on Ruby 1.9 and that was just a minor version change.
People don't know what 10 million acres is. So my meaning was that each unit is managing a medium sized country worth of land, that's all.

As far as the park thing, yeah, I was just pointing out that it isn't a national park. It matters a little bit, a refuge might be significantly modified to make it a better habitat and will probably have less public accommodations.
Yes, they could, but that's a separate political battle against different politicians. Developing one of those parks would be an alternative solution.
Ha the scroll bar is also a very effective means of doing that, though not as cool at the bar at the top.
Tesla’s Gigafactory to be nearly 40% larger than expected
Yes, it was 1.8 to 1.9 and frustrating because the change was just increase in minor version number.
VS code seems to be catching up very rapidly though. Especially with the extensibility announced today https://code.visualstudio.com/updates

It may still be a while before is "surpasses" true VS - but - with support for sublime and textmate snippets it may be about to catch up to those two.
So you're saying H1-B workers can't leave? That's not true.
Does this claim really need to be verified? I mean, pretty much everybody who has Internet access uses crypto these days, whether they're aware of it or not. Even some phones come with full-disk encryption by default now.
Surviving a water landing from an ejector seat takes a fair bit of training. IMO, a backup parachute system would probably be about as safe and cheaper. https://en.wikipedia.org/wiki/Ballistic_Recovery_Systems

Granted, scaling up from a https://en.wikipedia.org/wiki/Diamond_D-Jet to a 787 would be extremely difficult.
We've been using Nancy with the OWIN self-hosted HTTPListener for a couple years. Couldn't be a whole lot easier. IIS can die in a fire.
Why (Not) to Work at Amazon
> Also companies have to advertise your salary publicly (at least around the office) for H1B.

What, really? Sorry I don't really know anything about H1B but when you say advertise does this mean it needs to be on like a bulletin board or something? Or does this mean it simply needs to be available for anyone who asks? Also, why does it need to be public?
Oh how I relish living in a country where someone witnessing me viewing this page at work this wouldn't be grounds for immediate dismissal or reason for some stupid lawsuits.

(Sweden. I hate living here for a bunch of other reasons though. In fact I am about to emigrate, again.)
when murder is illegal, only the criminals will murder
Or people could stop expecting to live in ranch homes and move into apartments.

There's plenty of land in the bay area, but bay area communities don't want residents. They want businesses because residents don't produce any taxable income for the municipality.
It's kind of a tricky legal situation. If they're European citizens, can you really stop them from coming back from Syria? What if they claim they didn't do anything illegal there?

People don't lose their rights just because they travel to the Middle East...
Dear Facebook Notify: The internet wasn't built for just a handful of companies
Yeah, but it's beyond just being a middleman.

Udemy doesn't even give you anonymous data in a way that's reasonable. A simple table list of sales with dates, amounts and coupon codes used would be good enough but you don't even get that.

You'd have to resort to manually copying information from the e-mails as they come in, and then paste them into an excel sheet or rig up some trigger based script to do this automatically.
The Design Evolution of Magic:The Gathering's Set Symbols
> But not a mountain bike, to say nothing of something like an offroad motorcycle.

Yeah, that's exactly what I was thinking.

I visited my farmer family, and of course they have a bunch of 4 wheelers. We went on some expeditions to see petroglyphs and things miles into BLM land. Once the park is closed, that's no longer allowed.

The locals often know the cool, secret things far off the beaten path. What annoyed my family in particular is that now they can't go enjoy those things in certain areas because someone a thousand miles away decides it should be so.
Canadians have no such need

Really? I know a lot of Canadians with US citizenship.
No one's mentioned it because those aren't national parks, and the large national parks are quite far from densely populated areas like the bay area:

https://en.wikipedia.org/wiki/List_of_national_parks_of_the_...
I did my bachelor's from ages 14-18; there's some things that you can't really do (frat parties) but most of the social opportunities are open to you. It helps to make friends if you are in a group-centric major - I was a chemist, so lots of long hours in the lab with cool people. There's been some questions about whether the parents push too hard in these sorts of cases; for me, I was definitely motivated more by my own desire to get out in the world and start getting real things done. This isn't always a productive desire - I wish I'd taken the time to learn more about the stuff that grew to interest me later (math/CS), instead of blitzing through all my chem requirements. I guess for other people doing the same thing the only advice I'd have is that while the cliche is that life is short, it's really longer than you think it is at that age and you shouldn't feel like you need to rush in order to maintain a position in some sort of race. It's not bad to progress fast, just make sure it isn't at the expense of finding what you really love to do.
Stack Overflow and the Zeitgeist of Computer Programming
sure but what do you want to discuss ?
Honda Using Experimental New Asimo for Disaster Response Research
I think what mangeletti meant was that you can't force anyone not to use strong encryption if it exists.
Wasn't one of Skein's selling points how optimized it was for Intel's newer architectures? asm.js isn't going to be able to leverage that.
> Are they committed to my company and the job or not?

Unless they are heavily (to the point it provides the overwhelming majority of their material support) invested -- in equity terms -- in your company, why should they be committed to it? Certainly, someone holding -- much less seeking -- at-will employment has little rational reason to be particularly committed to the company, as the company has made relatively little commitment to them (essentially, none beyond paying them for work already done, and not dismissing them for any legally-prohibited reason.)
H1b's are killing IT salaries in the states.
I'm aiming to have a demo of ASPNET5 on Kubernetes within two weeks. :) I'm having to figure out a lot along the way. I wish the aspnet team would take direct ownership of their docker image. There's no reason that the aspnet team can't be putting out new docker images every night with the latest DNX and MVC bits pre-loaded ready to go.
Talk to an accountant. You might be able to donate it to a charity to get it out of your life.
This is to control the population, and it will get asked for every time there is a nice excuse.
Images (even small, low-quality ones) are far more costly than text, no?
That's odd. Dead simple package management is one of PC-BSD's biggest wins. That thread seems to be about running PC-BSD's package managers on vanilla FreeBSD, which… yeah, I don't know if that's going to work very well. It doesn't quite apply to running PC-BSD itself.

Did you find Cooltrainer's page about FreeBSD desktops? [1] It may have come in handy during your exploration.

1: https://cooltrainer.org/a-freebsd-desktop-howto/
Well, the UK government are trying to cancel people's citizenship if they go to Syria to fight for IS. But you're right, it's questionable, and it might be a legal hassle to do anything about this.
The vast majority of people you could hire that have visas are those two categories. L visas are even worse because I think you cannot transfer employers with them. The few H1-B spouses, O-* holders and others are few and far between.
I once accidentally mistook my white neighbor as a burglar, as he tried to break into his front door with a plastic snow shovel at 3 in the morning. At least a dozen cops showed up - six police cars, including a K-9 unit. Needless to say I was embarrassed and felt bad, but my neighbor was too drunk to remember. This is in Michigan, so it really does seem to be common practice to send half the force to a burglary in progress. The cops handled it well.

On the flip side of that, cops in Ohio illegally entered my brothers apartment with guns drawn while he was at work, terrifying his wife who called him saying people were breaking in, causing him to race home at very unsafe speeds while trying to contact the local police. When entering they didn't identify themselves, laughed at my sister-in-law, and didn't apologize for having the wrong address. Despite checking with a few lawyers, they were told there's nothing to be done other than file a complaint with the police.
No idea. Also no idea why the GP isn't being downvoted.

Just because some politician claimed that it's tech's people responsibility to fix their flaws, it does not make it true.

It's repetitive, but the police did have all the information they needed to go after such people even before the murdering. What does the GP want? A machine that queries the news from the day after tomorrow? (Because tomorrow won't do - the police had warning that it would happen at the previous day.)
Yeah, it is. We use the optimized 64bit version through JNI in our backend.
I was working on H1-B for 6 years in the USA. The long wait time, and utter unpredictability of the Green Card system was insane. Being Indian didn't help either, as we are subjected to 12+ years of wait (EB3 quota). The stupid H4 laws made my highly qualified wife unable to work. Finally I kicked the plush job and American dreams and moved to Europe. My employer called me ungrateful and selfish for leaving after he spent $7k on my visa. I loved the USA but honestly life has never been better.

I'm sure there are few people on HN who want to keep immigrants out of the USA, but that's bad policy in the long run. I hope this debate around H1B will facilitate a better visa regime.
Just a curiosity: One of the authors also proposed Pegasos SVM [1] which is a nice online approximation to SVM and that can be written in 15 lines of code or so.

http://ttic.uchicago.edu/~nati/Publications/PegasosMPB.pdf
Once everybody only uses backdoored encryption, it becomes possible to detect those who use illegal encryption. And that's very valuable.

Of course there's the issue of steganography ,but i think it's technically and theoretically much harder than encryption - so maybe the balance of power there benefits intelligence agencies more than encryption.
I refuse to be ashamed of thinking that profiling based on visual appearance works, since it obviously does.

What can be called into question though is the mentality of US police: "Shoot first, ask questions later." They should learn from European police in this regard.