skysight-inc/HackerNews huggingface dataset:
How to save capitalism from itself
> It looks as though cryptkeeper makes assumptions about encfs' command-line interface that are no longer valid.

This looks like a developer mistaking a command line interface for an API.

Unless an (interactive) CL interface is explicitly marked as being an API, and documented in such a way, and regression tests exist to make sure the interface remains backwards-compatible - you should never program against it. Ask for a proper API to access.

(edit: formatting)
Swedish calendar
"specialist knowledge" makes sense in L1 because L1 is for intra-company transfer. You are already working for this company (outside of the US), so it's possible that you have some "specialist knowledge" about the technology this company uses, and if they transfer you to the US instead of a local new hire, it saves the company money and time to train the new hire. H1b is not for intra-company transfer so this doesn't make any sense.
One of the sad and amusing at the same time things is watching people not satisfied how things are bravely go and make them worse.
Bear in mind that Arial and other fonts will look quite different across platforms depending on how they render text. Small text on Windows is optimised for crispness and pixel-aligned (so it looks more like the old non-antialiased and pixel fonts; personally I think it looks hideous), whereas on macOS/iOS it scales smoothly at all sizes.
I don't think companies that outsource their IT to Infosys, Tata and the like, will suddenly be willing to pay more.
Well, this strongly implies it is a muslim ban under another cover:

https://www.washingtonpost.com/news/the-fix/wp/2017/01/29/tr...

https://www.youtube.com/watch?v=l9GKL6i38pI
Technically, you'll have to formalize and assert the correctness of (at least) the following components:

- All ICs having direct (unlimited) access to memory and/or computation (CPU/DMA/GPU/BIOS)

- Boot loader

- Operating system

- Encryption algorithm

- Encryption implementation

- User-program used to interface with encryption implementation

- Input/output peripherals used for encryption and display

- Probably a dozen things I'm forgetting here

But that's only the system itself. Obviously, you will need to formalize the relationship of the system with the environment. This means: side-channel attacks, such as timing, electro-magnetic radiation, sound and temperature.

Finally, you need to formalize the relationship of the user and whatever is encrypted. The user needs to have an understanding of the limitations of the encrypted channel, the used keys and the algorithms involved: what is the availability, the loss of entropy to attackers and the limitations to what can safely be encrypted?
No, the sad part is that this is getting so much more attention because it's visible here and it's the result of a new party in charge.

Obama's administration was quietly murdering people without trials in a country we aren't at war with from drones. I fail to see how a temporary immigration ban is "worse" other than the "out of sight, out of mind" effect that applies to those exterminated by drones.
FYI most HN posts don't have comments
> If the overhaul is even worse than what they have now then the rest of the world should stop moaning and treat this like an opportunity

It's not only about what non-US people think about it. Whatever happens effects Americans, through the effects on the U.S. economy. It effects potential immigrants. And it effects the rest of the world through its effects on the global economy.

I don't live in the US, I don't have any current plans to move there, but I still care about what happens to people in the US and other countries.
> present the following frame

That's not what the order states, and I SEVERELY doubt you have read it.

http://on.wsj.com/2kGbSdj so we are all on the same page here. There is literally one country mentioned in the document - that country is Syria. The other references are to other documents that group countries that I can't find.

I think if you read the executive order, you'll have much better framing for what it actually says, and why.
a.k.a. keeping one's head in the sand.
I think you can treat 60 - 70% of the FPGA design flow as open source. For example, I am developing a system using PCIe, 10G Base T and some logic to send and receive network packets and to design the HDL and test it, I am using two open source tools predominately (icarus verilog and cocotb). I just use the FPGA P&R tools for building the design once I am satisfied it works. You can also run these tools on the command line quite easily and automate most of the process (They all use tcl for scripting up the flow). Sure theres a few FPGa specific interfaces you have to deal with (transceivers, DDR4, pcie hard ip) but you can pretty much traet these as black boxes and write your tests to target the interfaces in and out of the logic. Also, for things like transceivers, the interface is really not that different between Xilinx and Altera (I treat them as a black box that generates 32-bits every 322MHz cycle for 10G-Base T).
The flow to my mind is not that disimilar to a traditional software development flow. I have simulation tests and test cases, I use continous integration to run tests everytime something is commited, everytime I build the FPGA with the P&R tools, I kick off hardware tests automatically, etc
In C++, `NULL` is defined as a simple 0 without the `void*` cast.
Plotinus and the quest for searchable menus
Surely if companies are desperate for developers, there would be very few unemployed developers.
"brain drain"

Americans are going to start taking jobs overseas, you're not going to have immigrants coming here. It's going to wreck the US economy.
I think I wasn't clear on my meaning of "civil liberties".

My meaning was this you can argue the following: That home schooling is a kind of basic human right. That there are some rights that a parent has to determine how their child is brought up.

I'm not making that argument. But I would be interested in hearing it. And hearing a justification for it.

Sounds like the Ursula K. Le Guin story is exploring individual versus group wellbeing. Thanks for posting it, I'll try and read it sometime.

On a personal note: I do know that school can be a horrible place. It can also be a huge time wasting exercise. I intensely disliked it. I'm sorry that you had a bad experience there, schooling can be particularly distressing because it's an experience forced upon you at a young age. I hope you are able to work through your problems.

A few weeks ago, at a local school (in Japan), a teacher beat a child in an after school class with a Kendo stick. The child was in hospital for a month. Very bad things happen at schools...

But... these are all single data points. And I honestly want to understand the wider picture.
Well put. I wonder if this ban would have been as strongly challenged by the media if it was someone else proposing it.
To give context "Dunbar's number is a suggested cognitive limit to the number of people with whom one can maintain stable social relationships — relationships in which an individual knows who each person is and how each person relates to every other person" [1].

[1] https://en.wikipedia.org/wiki/Dunbar%27s_number
Which would you prefer if you really need to get somewhere fast: an expensive ride, or no ride? Because without surge pricing, all you get is no ride.
Obama got somewhat of a free pass for simply not being quite as bad as Bush. With Trump we're seeing indications of things getting substantially worse than Bush. That is why.

People outside the US are used to the US being far to our right, and it being relatively futile to do more than complain about these things. But Trump is seriously scaring people.
I think I have the title for my next bestseller: “from a visioner to a quisling: how to destroy one's reputation in three to five tweets”.
What are the semantic/grammatical/"magical" differences between 0 and NULL?

I understand their similarity in terms of NULL's equivalence to memory address 0 and boolean false, but I'm increasingly aware that there's some hidden behavior.

Does NULL strictly resolve to '(void * )0', or can it be influenced by anything else?

Also, does it behave differently in C vs. C++? I suspect it might.

EDIT: Someone else just replied close to this thread chain just said it's defined in C++ as 0 without '(void * )'. If anyone can expand on this that would be awesome.
This is related to my current favourite algorithm: Because the BWT is closely related to the suffix tree of the original string, there's an algorithm to search for a substring of length 'm' in a BWT-ed string of length 'n' in O(m log n) time!

The one downside is that you have to pre-process the string, which takes O(n) time and between 5n and 9n space depending on exactly how you do it. But after that, you can do as many searches as you want practically "for free".

There's a paper outlining the various algorithms available here: (PDF) http://www.cosc.canterbury.ac.nz/research/reports/HonsReps/2...
What alternative do you propose?
Because companies do what companies do best; keep down costs, and exploit every angle they can get away with.

It's gone on too long. We all see the abuses, but are afraid to say anything.

Since there's such a "tiny pool of people" move the organization to---say India? Or China? They must have eager qualified candidates?
>As there is no US embassy in Iran (for good reasons, by the way),

Yeah, the Iranian government tends to get a little "clingy" with US citizens that have good leverage power for bargaining.
Would that be including the E-3 for Australians as well?
am i wrong if i think in most of his screenshots looks helvetica or arial as superior don't compared to his recommendation? his recommended fonts either waste lot of screen estate or look childish or both
The tech workers affected by the travel ban
> There's a lot not to like about Donald Trump, but for one thing he is an outsider to the established system

Or from another perspective a billionaire managed to get elected through spending enormous amounts of cash on a huge publicity machine that imprinted a simplistic and repetitive message of being an outsider on large numbers of people as if that in itself is a positive quality. /Serial killers/ are outsiders.
The media was waiting for anything to crucify Trump. He has done nothing but stoke them. He already has been demonized as a white supremisist. The narrative "Trump will ban all Muslims and turn the US into a fascist state" was already on the press, they just needed an excuse to print it.

And there are many who not only disagree with Trump, but are appalled at his persona. There was that big march and that whole "Not my president" thing. They are already primed to believe that Trump will attempt to turn the US into a fascist state. In that light they say this as Step 1 of the "US turns fascist" and they are reacting as though he is suggesting Step 10 Imprisoning political opponents. Because they "see" the path and are doing everything they can to stop it.
Sure, glad you asked. Salaries will rise by exactly 13.6% within the first year.
First things first, I fully suggest heading to the doctor. Feeling faint after eating/drinking coffee can be your blood sugar or your blood pressure bottoming out. It can be a myriad of other things too [1], some quite serious. I'd mention your low energy levels to the doctor as well, as it sounds like it is worse than normal. I think taking care of this will make a big difference in your energy levels.

As far as other things you can do, it is really all diet, exercise, and consistently getting good sleep. I eat most of my food in the evening because I'm not hungry in the morning. I drink a cup of coffee sporadically through the day (rarely do I have two cups in a row). I walk as my main form of transportation. This stuff is more likely to give you consistent energy levels from day to day, but it won't even out some of the ups and downs throughout the day.

You mentioned dehydration: I had a spell where I was getting a bit queasy and dizzy through the day. I called the doctor, and the nurse held off on making an appointment because it sounded like dehydration. It is something you can get over fairly easily. Her instructions? Take it easy for a day. Eat healthy foods. A banana is especially helpful (potassium). Drink lots of fluid. It should get much better that same day - and it did. Otherwise, off to the doctor with me, but luckily that didn't happen.

Good luck, and I hope you get feeling better.

[1] http://www.md-health.com/Dizziness-After-Eating.html
> It excepts non-Muslims

Can I get a source on that? I just want to read about it, not doubting you.
While I agree with most everything Jeff says and it's really well written, I'm always a bit irked when I see the the president of the US being called "Leader of the Free World".

Especially when it's stated in those terms:
"We lead the free world. And we do it by taking the higher moral ground, doing what is right before doing what is expedient."

I'm not sure the US can still qualify as leading the free world under those terms. Ask people who were tortured by Pinochet, look at the coup in Haiti in 1991, look at what happened in Iraq and the lie around the Weapon of Mass Destructions, look at Gitmo. Are those the actions of "leaders of the free world"?

I do wish that the US could become worthy of being called leaders of the free world but they're not there yet and with Trump, they're not going in the right direction.
>It excepts non-Muslims (religious test)

Source please?
In Switzerland you can buy train tickets with bitcoin (http://www.sbb.ch/en/station-services/services/further-servi...) and pay for government services with bitcoin (http://www.swissinfo.ch/eng/business/crypto-valley_zug-first...).

Also, many fintech startups a hiring engineers like crazy.

(I live in Zurich and I am a well-connected programmer. If you are thinking to get a coding job here, feel free to contact me. You find my email address in my HN profile or here: https://medium.com/@iwaninzurich/eight-reasons-why-i-moved-t...)
Interesting. Singapore introduced the exact same policy (hire Singaporeans first) a few years ago. I thought it was well-intentioned even though it would hurt myself as a foreigner.

Edit to add source:

http://www.straitstimes.com/singapore/firms-must-show-they-t...
Why assume a specialized job "won't be filled", but a job were "the exact same package the immigrant would have been on" is offered will?

I believe H1B visas are currently used to get workers who accept lower-than-average wages; Hence the same jobs offered to non H1B workers at that level won't be attractive.
So a drag and drop UI designer, followed by a simple binding to a model code behind with literally the words 'Text={Binding Name}' is apparently making 'easy things hard'?
Some technical details to start the discussion, please.
I don't have an easy one. If you can do things in-process, a shared library means type safety. But I don't know what the best practice for IPC (which this is essentially a form of) is.
Here are hypotheses why we have only one of them: https://en.wikipedia.org/wiki/Homochirality

Personally, my answer is that the mix of both is statistically unstable (repelling): the more one type of life, the more material the next generation of this type of life has - leading to total domination of initially randomly chosen one of them (spontaneous symmetry breaking).

However, we are currently closing to being technologically able to artificially synthesize the second (mirror) type of life - this is a huge topic we should well understand before somebody eventually will just do it ...
A balloon does a bloody good job of trapping gas, and so does the paper thin aluminium of an aircraft at altitude, or the tin cans of space stations, or an even better example, a bigelow space station. why do you find it so hard to believe a denser material like rock would be able to?

I'm sure you're concerned about fissures and other gas leaks, but 5 metres of most rock is going to do a pretty bloody good job, and I don't think anyone is saying we are going to be living in raw rock hewn caves - putty up the cracks or line with some other material and you're done
(Interview) Home Assistant – Automate Your Life
The article didn't really explain why they are bad, and why is Arial worse than Helvetica, and why is Helvetica Neue is better. It just went on with ramblings and snobbishness about some hinting problems and unexplained screenshots with big, intrusive labels. As a person with minimal knowledge about typography, I understand what hinting is, but I don't see the problem unless it is clearly pointed out to me. So my general thought is maybe they are not the best, they are just as bad as MP3 sound clips and JPG screenshots ;-) are -- i.e. It gets the point across for most people.

A bigger problem is, to many international users (and news publishers that have articles with names in international characters), it matters if it works. In that regard, Arial and Times New Roman are the winners hands-down. They will display whatever you can possibly imagine. Part of the reasons why many people chose those fonts over the "fucking amazing" fonts that the author suggested (Georgia included) is that most of them have abysmal international support. "日本語," "中文," "ไทย," or "Tiếng Việt," for example, reads just as well as rectangular boxes in Georgia [1] (fallbacks will cure the rectangular boxes but Georgia with fallbacks looks like crap in the case of "Tiếng Việt").

Verdana and Tahoma are not compact enough for many of the applications I was planning to do. The capitalized "I" character in Tahoma is annoying at best and plain ugly to look at at worst.

On a personal level, the Ubuntu-esque font in TFA somehow rustles my jimmies.

1: https://www.myfonts.com/fonts/microsoft/georgia/
Awesome! Tell us about your successes in the SaaS world, please!
Google and Apple join Silicon Valley voices condemning Trump's travel ban
Just because you're part of one club (business leaders) doesn't make you part of another club (political elite).

America is a very odd place, there's cheerful talk about being the most democratic place in the world, but you have all these really bizarre ruling families who keep winning powerful positions.

It's not normal to have two Bushes, let alone 3 in power in the space of a couple of decades. Or Clintons. Or Kennedys. How can you not look at your own politics and wonder, with 300 odd million, how do the same families keep winning? That the whole thing's not a stacked deck?

It's really weird. To outsiders, there's obviously something deeply corrupt in America where a tiny ruling dynasty keep getting themselves elected. There's a 'queue' and Hilary was at the top because of her connections. SNL even joked before the election that if she wasn't elected, she'd be back next time as it was still her 'turn' to be president.

Trump is not part of that club, that's what he's talking about.

By supporting that corrupt status quo the democrats helped a monster like Trump be elected.
In addition to the substance of the executive order, the implementation was chaotic and poorly planned. The spokesperson for the DHS said on Saturday the order "will bar green card holders" [1], then one day later the secretary of the DHS releases a statement effectively reversing that position with a very odd press release [2].

It is one thing to give the benefit of the doubt to an administration with a history of well thought out and well implemented policies. It is another to give the benefit of the doubt to an administration that didn't even have the foresight to consider how the ban would affect legal permanent residents and then took 2 days to make up their minds about it.

1: http://uk.reuters.com/article/uk-usa-trump-immigration-green...

2: https://www.dhs.gov/news/2017/01/29/statement-secretary-john...
sizeof(NULL) in 4 in C++ in a 64 bit system.

sizeof(NULL) is 8 in C in a 64 bit system.

The difference is because NULL in C is a variable of a void pointer type with a value zero. In C++,NULL is a variable with a value zero that gets deduced to an int type.
See, that user actually watched the source and readily detected the bug.

I just wonder if thousands, or hundreds, or at least a dozen eyeballs actually watched this source. I suspect 1-2 pairs of eyeballs would detect the problem if a proper code review was done.

Even better, if an automated test existed for this pretty critical piece of code (passing the password around), thousands of eyeballs won't even be needed that badly.

I suspect that just too few people actually use this piece of software. If a large org used it, they probably would have tested this, or even audited the code.

Anyway, it's great that everyone has access to the code, so the bug was detected by a user. For closed-source software, a ticket like this might linger longer for a developer's attention.
How would that happen? do you mean world-wide?
Nice post, though there are some caveats. As a Pole (as some of you know, we do have some issues here too, though many would disagree) I feel at least a bit competent to give you a bit of advice, so you can get out of it better than we did.

1. Donald Trump is not your enemy, nor a problem. He is a manifestation of the problem, which is current state of your society and problems you have. Do not believe that you can just impeach a guy and call it a day.

2. Don't even try to just get back to status quo. That's basically what happened in Poland in 2007 and problems came back after 8 years, worse than ever. The status quo you had created the Donald Trump and would continue to promote similar politicians.

3. Do not hate Trump supporters, do not be mean to them, do not laugh them off. They are people who live in different US than you do. As far as I can tell, most people on HN could retire in their 40s if they wanted to. This is not the reality of average American, as are your salaries and life opportunities. You live in a bubble and you need to accept it and reach out to learn what the world looks like for an average Joe.

4. You have a lot of power now, do not lend it to random politicians, as they will try to capitalize on your emotions. Hillary Clinton was not some heavenly figure, she had her bunch of issues too. Those issues were just of lesser importance to you. It is quite likely, that if Democrats nominated Sanders, he would win with Trump. They did not nominate him for the reason - he also wanted to change quite a lot, just in different direction than Trump. No matter what your political views are, his popularity showed that what your people expect is change and they will fight for it, because they have much less to loose than you. Acknowledge that and find a way to deal with it.

5. Do not expect the situation to just calm down. It won't. It is not some kind of mistake that can be solved by moving to popular vote. Life ain't that simple. You have people working full-time who cannot afford the living. You have one of the most expensive and unreachable for many healthcare systems. You do have degressive taxing systems. You have much smaller middle class that you are used too. Those problems need attention, you cannot just swipe it under the rag and pretend it's just some kind of national outrage. It isn't.

What you're seeing is your society stopping to work as it used too. It won't bounce back until you decide to do something with it and it might not be pleasant to you. It may mean higher taxes for example. Or some other change you will not be happy about. Trust me, the alternative is much worse.

Good luck!
You're trying to generalize 350 Million individuals, it doesn't work that way. Outrage is rarely about the events, but about how much coverage those events get.