skysight-inc/HackerNews huggingface dataset:
A dissent: Saving memory isn't strictly orthogonal to editing performance.

A paged gap buffer (as described with an array index) remains ideal when you need to make a small number of surgical changes (insertions, deletions, etc) to a very large file, especially given the fact that all modern systems have page mapping hardware, so anything you implement is effectively on top of a paged gap buffer anyway. What we're really searching for is a better program-visible structure.

To that end, the biggest difficulties in efficient text editor, is that most text editing is (ahem) textbook, and neglects the fact that fork() copies on write making most real operations asynchronous, and combining writev() and mmap() can be used to produce whatever memory layout you want (a plain old stupid byte array if that's convenient); The kernel will memcpy your page table for you, so there's no sense in also doing it in user-space. And so on.

If you consider at which point a write() and a mmap() (or on OSX a mach_vm_remap()) will be faster, just how much faster it will be -- imagine: programming something as simple as a plain byte array but with instant inserts (memmove) across multi-gigabyte buffers. Then consider the cost of a write()+mmap() syscall combination in the worst case (a couple hundred micros?) and you'll never use a complicated (linked list) data structure again.
Yes, and labeling behavior as that concept is an appeal to ridicule. You are classifying something you disagree with as something designed to mess with your perception of reality rather than actually intellectually engaging it.

>banning entire countries and their citizens is not racist

Because it's not in most cases (unless a particular race only comes from that set of banned countries). It's xenophobic. Please use the correct terms if you are going to level such strong accusations to such large numbers of people you don't seem to have any understanding of.
Completely agree. As someone who has zero knowledge in typography, it would have been nice to get some explanations as to why Arial and Helvetica are so horrible.
I like C# but loathe XAML and WPF. I develop an app with rather simple UI. WPF makes hard things easy but easy things hard. I'm moving to Qt.
In Meluku, East of Eden
A simple, responsive, website layout. #codereview #question
if nothing else, at the fundamental level there aren't any ribosomes that would parse the new base pairs. Engineering a new ribosome to produce something useful given an "alien" base pair would be the trigger that could make the new base pair potentially harmful. Until that point, it's completely inert.
The advantages of feature branches is that you can turn them on and off easily without trying merge in, or revert and dealing with the resultant conflicts this can cause.

Feature switches also have more advanced features like being able targeting specific users, if you want a gradual rollout.

We use both feature branches and feature switches, since branches short be very short lived. However large areas of development require months.
> You know what a lot of people consider worse than Donald Trump? The status quo.

Well I hope those people like surprises.
yeah.. You wish you could get to use my time for free, UH?

jk totally played the game lol
I feel the need to echo metaphor's reply. Even if tools for FPGAs do become better through the years, it doesn't mean they'll become "sw dev friendly".

If you do software you should be fluent with data structures, while on the FPGA/hardware side you "speak" metastability control and timing constraints. Just separate fields of interest.

When high level synthesis tools arise (such as Xilinx HLx, C -> straight to FPGA implementation) I still feel they are aiming the wrong audience: these tools still require a more-than-average knowledge of the FPGA fabric and implementation to work with, and that may be a good thing, but defies the HLS paradigm at its roots IMHO.

Source: humble experience through my job as an FPGA designer
If it helps at all Startpage was default for the Tor Browser and is still included as an option along with Disconnect, DDG [the current default on my install]. That seems like a useful endorsement.
This is hysteria.

"he signed an executive order that literally, not figuratively, banned Muslims from entering the US"

Of the 10 countries with the largest Muslim populations, only one - Iran - has been restricted:
http://www.pewforum.org/2015/04/02/muslims/pf_15-04-02_proje...

The list of countries was previously drawn up by the Obama administration. I'm not in favor of the restrictions, but there is no need to make things up.
Autodesk Revit 2017 Crack and Product Key Free Get [Here]
Hexoskin
In what way do you use them?
Clear your head with the Digital Detox
I think it's probably fair to say the regime in SA and ISIS have different ideas of what the region should look like in the long term.

I doubt either side understood a temporary alignment of interests to be anything more than that. Perhaps not entirely unlike what you saw in the eighties with the U.S. and the Mujahideen. There's probably even more appropriate examples from the same conflict with Russia, Turkey, U.S. et al supporting various factions.
Somebody said it very well in an article not long ago: "Computers are knowledge. Knowledge is power. And power is politics".
> Arial and Helvetica are good readable fonts which always exist on every platform […]

This used to be the case, but it is no longer so. The Microsoft Core Fonts are not necessarily present on each OS (except for Windows of course), although on GNU/Linux and Android (IOS as well I guess?) you often do get a set of comparable replacements that are automatically substituted. Helvetica is always present on Apple devices, but it is certainly not present on each common OS.

There are no fonts that are guaranteed to be present everywhere (and this is fine).

In HTML/CSS (and many other GUI APIs) you can always rely on getting a serif, sans-serif, or monospaced font when you use their corresponding reserved family names, and with @font-face you can load whatever you want (providing you use a font that can be redistributed by you that way). So if you want all users to see text on your website in Comic Sans Neue, then that is (trivially) possible.
… does it work at a level higher than code units? From what I recall, leftpad's implementation worked at the level of code units, i.e., it padded to a particular number of code units, which is bugged for just about any use case one might apply it to.

That is, if you had the strings "a" and "é" (where the latter is "e\u0301") padded "equally" to length 3, leftpad would pad them approximately thusly:

__a
_é

> leftpad('e\u0301', 3, '_');
<- "_é"
Monomorphist – a JavaScript performance companion
This is a fair point. I don't agree with your conclusion, though.

I have felt outrage against specific policies in the past. The news media has expressed outrage against specific policies in the past. But political inertia, for better and worse, was a thing that we could rely upon to temper the public whims of any particular commander-in-chief. It meant that meaningful change required constant attention and guidance. But it also meant that the actions of any individual were unlikely to crater our democracy.

The new president has now shown in both tone and action that he intends to directly manifest some of the most extreme positions promised to his supporters. This, in the face of overwhelming ethical arguments, public opinion, and systemic protections that oppose them.

This is not a threat to the local status quo, one which our political system has grown to evolve slowly but meaningfully over election cycles. It is a threat to the maximal status quo, in which we can proudly identify ourselves as Americans because we believe that we aren't perfect, but we're working towards that ideal.
Note that, due to the two-party system, complaining about bad Democrat policy on these issues was always somewhat muted at elections because the likely alternative wasn't some better Democrat but a Republican with a far worse policy. Which is pretty much exactly what's happened.

(The same applies to British politics: yes, the Labour party were wrong over the Iraq war, but does anyone think the Conservative party were in the right, or would have been less keen to support the US in that situation? Especially given the May-Trump summit.)
One thing that might be missing from this action plan is "get into local action".

If you vote Democrat, there were many uncontested republican seats that voted Clinton. The Democratic party has had its foundation fall out, and its mostly because the local-level stuff has fallen completely by the wayside.

Hell, you can even just run for office in 2018. All the DNC chair candidates agree that there are not enough people offering to run on the Dem ticket for congress (hence uncontested seats).

If you want to be third party, start trying to win local elections. There too, maybe you can present yourself. If 5 people from a third party got into congress through the house, that'd be a big deal. Best way to do that? Concentrated local efforts.

Also, state legislatures are important! Look at California

Just like gov't is more than once every 4 years, government is not just the presidency, or just federal. Every level matters.
Any guess on how much will salaries for developers will rise after this move?
This is the sole point of agreement I have with Trump. He might lose because of the other odeous things he is doing.
No, it was for developing infrastructure tooling (e.g. K8s, docker, etc), all of which was mainly hosted on github.

Sounds like it's not an uncommon problem. Frankly I think the conferences are only as successful as they are because of the volume of mainland Chinese citizens and the novelty of a trip to mainland China for people outside of the country.
Yes, the unsustainable, burned-out status quo. The last administration could create conflict, but couldn't eke out even modest support for a new ground war in Syria.

The elderly Democratic party has no bench and the same old message. The Republican party has a massive spending problem and too many hawks. Even with a system rigged for the status quo, Trump was able to win. That's what I mean by unsustainable - people chose the deeply flawed naysayer over the alternatives.
I have been reading for years how broken the current system is, so I would bet that there is a market for that.

The issue is the motivation behind the change. What if the changes are designed to please an electorate that is not directly impacted but they just really really want to see some heads rolling?

There are some serious credibility issues with the current US govt. Left or right, populists pretend to swing a magic wand and magically fixing problems. Ban immigrants, implement 90% tax for the rich and so on, until these vote generating policies break apart.
Then you could say that Houston is cheaper than Toronto. This 'cheaper' argument is meaningless unless we say "cheaper than NYC or San Fran."
I would love to have a feature like this and I've written it down as one of my side-project ideas.

Why is back/forward history helpful on a single tab? (I leave this as an exercise for the reader) That reasoning more or less applies to cross-tab history/state. Previous behaviour was that people contained most of their browsing to a single tab (because browsers didn't have tabs, or they weren't commonly used). Behaviour has changed now to be more cross-tab.
I tend to agree on this, is there a need to keep every trail in the process? probably not.
It's just ephemera, In computing there seems to be an overriding drive to stockpile it for some future date when we will have the ability to analyse it.
15 Wedding Favors That Cost Under $1 You Won’t Believe – A2zWeddingCards
A great example of the falsehood that people often repeat mindlessly about "thousands of eyeballs watching the source".
Sorry, you fell for an "alternative fact".
I don't know if it's a different experience for people traveling from outside Schengen but the comparison between JFK and Schiphol is stark. Schiphol is friendly in comparison.
Older versions of IE had something like this. When you opened a new tab from a link in a tab (as opposed to creating a blank tab and writing something in the address bar), it would have the same colour [1].

[1] http://www.guidingtech.com/assets/postimages/2010/11/tabgrou...
You were listening to wrong people.
No, they won't. B-1 visa holders are not allowed to work, E-2 holders are rare among the SV workforce and don't represent any slice of the job market, L-1 visas are limited to SV companies with foreign presence, of which there are not so many compared to the total amount of startups in SV.

If anything, any potential change to O-1 visas (don't know whether any are planned) will have larger impact than what you're describing.
I would imagine there is a lot tooling around feature branches which are useful, such as code reviews tools, branch builds etc.
Daarom zou je meer citrusvruchten moeten eten and Recepten – Leef Nu Gezonder
Outside of SV, in the rest of the country I have spoken with a number of people in IT recruiting who told me that a this has driven down wages. Especially when they opened the door for the L1 visas. Wanna know why so many SV firms are against Trump. Follow the money! The virtuous aspects (IE: humanitarian concerns) are a way to get the sheep to follow. They all have a lot of blood on their hands.
- It was a ban of people from 7 muslim-dominated countries

- It excepts non-Muslims (religious test)

- It includes dual-citizens, and permanent residents. Even when you become the citizen of another country, you're still tainted according to the EO. Even when you've been vetted for the green card, you're still tainted.

- Guiliani is on the record that Trump said "I want a Muslim ban" and this was drafted to be the "most legal" way to do this, and a compromise from "ban all people from all muslim countries"

- There is no correlation between the list of countries and terrorist attacks on US soil. None of these country's citizens have contributed to attacks in over 40 years. Imagine England banning Irish citizens for the IRA.

Trump called for a Muslim ban over the campaign, asked for it as president, Guiliani gave what he thought to be a muslim ban, no other executive office seemed to give input. Not sure what else this could be but a muslim ban.
Thanks, looking over the references myself I'd tend to agree. The Widener Law Review paper itself looks pretty biased.

I'd like to find a more recent, less biased review if anyone knows of one.
That's not proof, that's a number of different stories using the same crappy report.
All parts, I like how the simple parts were composed to built pretty complicated algorithm.
The original paster didn't say that a null pointer was incorrect, merely that using NULL in C++ was. Which, in recent versions of C++ it certainly is. The correct way to specify a null pointer in C++ is 'nullptr', NULL has been deprecated because it's definition '(void*)0' leads to typing issues for templates.
Or how much developer employment will fall?

(Two sides of the same coin.)
Four pages of mostly zero comment threads.
ye, this place is for talking about tech or problems and solutions to problems. This is just soapboxing.
HN has been full of political and sociological discussion forever.
I looked at your diagram. I don;t think you're doing trunk based development.
The principles The Grugq outlines here are explained in lots more detail in his OpSec for Hackers presentation. It includes a detailed analysis of how Lulzsec violated these principles which is why they were caught:

http://www.slideshare.net/grugq/opsec-for-hackers
Trump is not doing anything he didn't say he'd do.

I don't suppose there was ever a possibility of Jeff or all the people currently protesting, voting for Trump in the first place.

So, aren't we just seeing the same people who were anti-Trump before the election, protesting now?

The election of Trump came as a shock even during the count because the Trump voters tended to be quieter and/or ignored.

But they won the election and now what they voted for is being enacted.
The 'p' it sends is asked for by encfs when setting up a new encrypted folder (not when mounting an existing in encfs).

As the comment in the code says, it's for setting the pre-configured "Paranoia" mode (AES, PBKDF2, IV-chaining, etc) in encfs.

Bad that it's not checking any results whatsoever when sending stuff..

[1] https://linux.die.net/man/1/encfs
Everyone today keeps talking about apps and webapps. But there is still a small market for desktop applications. Probably mostly older computer persons who are used to this way of working.
Yet another example of why command-line interfaces are not safe. Can we start to use something other than arrays of null-terminated strings for input?
Do you know where this "alternative fact" was published first and how it came into existence? And does it have any root in reality or is it totally manufactured? Would like to understand the phenomenon better.
Tim Miller, now in Carlsbad. There's lots of good teachers in LA area.
For the former, yes, I believe Tor is enough to hide your physical location. The times you tweet/write would be more worrisome, but maybe that can be automated.

As for the second, I didn't know he's anonymous. I'd imagine it would be very difficult to maintain anonymity when you need to board a plane. You're definitely not anonymous to someone who cares enough to follow you, I'd bet.
nullptr, I believe, is compatible with C interfaces (as is simply passing 0) while not suffering from the issues described here.
Kakoune[1] has been posted recently here on HN to great reception. As a C++ developer, I think it has a very high quality codebase, especially considering how non-trivial it is.
As a user, it's been my main text editor for over a year.
It also has a vibrant community, jump in on IRC if you have questions or ideas.

[1] https://github.com/mawww/kakoune
You know, I haven't used Firefox in many years - I switched to Chrome because I liked the Google account integration and preferred the UI - but reading your comment made me realise how foolish I've been not to at least check it out once in a while.

You guys clearly care deeply about the web, and while I'm sure Google cares too I feel like their primary motivation is becoming more to do with maintaining their ad revenue sources than advancing the state of the art.
I just found it on a torrent site. As a British citizen and license fee payer I don't have any moral issue with torrenting it. Interesting to think about, actually.
Ah, of course. Thanks, and sorry. In my native language we don't have a separate word for xenophobia. I seem to forget that all too easily.

If you replace "racism" with "discrimination" (or where applicable, "xenophobia") my comments here may make more sense.
It's actually a great example of why that works, but simultaneously an example of why it's not sufficient
Why Scott Morrison is wrong to bandwagon with Trump
Using only Kafka - http://thedailywtf.com/articles/Who_is_Gregor_Samsa_0x3f_
>But what you described is literally "the worst case scenario is as bad as before

No its not. Before you might just have to rebuild openssl yourself. Now you need to rebuild openssl for every docker image you use and rebuild every one of those docker images.

Guess how many docker images will make or accept TLS connections. That's how many you will need to maintain the infrastructure to build yourself to respond to openssl vulnerabilities if you run any kind of business that requires good security.

Vendoring (the go and container model of shipping software) is great when you work with perfect upstream devs. Otherwise it effectively means you have to build it yourself with patched dependencies for fixes and hope it works.

Wait until you run into a compat issue between the code and a patched dependency and the upstream dev says "won't fix" because you're not deploying the container provided and the security risk isn't addressed because it "doesn't seem that bad".
Out of curiosity, why? What things has he done? I'm quite ignorant on the man.
Imagine if there had been an even mix of L- and D-organisms since the start of life, wow
I get why swearing is not (and shouldn't be) the default tone on HN but is that really the issue here? I didn't insult hsod.

Meanwhile, I was equated with somebody tacitly approving of segregation. Because I'm telling someone else that it's more productive to understand why this is happening than look for retribution.

Civility is about more than tone. hsod's tone was fine but his comment certainly wasnt; my tone was harsh but I maintain it was appropriate for the kind of accusations I was replying to.
It isn't that both parties are the same on all issues, it's that there are important issues that no viable candidate would actually address.

Do you think President Clinton would end NSA mass surveillance? Reduce copyright terms? Meaningfully reform Wall St? Meaningfully reform the tax code or social spending?

Republicans won't either. That's the problem.

You get enough people frustrated enough and they vote for whoever they think will shake things up, even at the risk of burning it all down.
Verdana has problems as well: too much spacing at anything but tiny font sizes.
While I don't agree with the travel ban, this is actually a sensible course of action. The H1B system needs a huge overhaul. The problem is that Trump is told by a so-called advisor that issue x is bad, and there isn't much thought given to the implementation of the solution to that problem.
Godot is free, open-source software.
Looks like this is not just targeting H-1B, but basically all work and business visas for the US:

> The draft of Trump’s executive order covers an alphabet soup of visa programs, including H-1B, L-1, E-2 and B1.

L-1 is intracompany transfer, E-2 is investor, and B-1 is the super common standard "I'm going to a meeting" business visa needed by everybody not in the visa waiver program.
> Don't use Dropbox.

Can you elaborate a bit? You mean "don't use any file sharing program" like SpiderOak and the like, or specifically Dropbox?
Surely you only get more unemployment when its artificially increased by law.

There would be nothing stopping a individual developer accepting a lower salary. But probably won't because companies are desperate for them.
Because Dunbar's number
Top Android App Development Companies
https://github.com/fsantanna/ceu-arduino

That's pretty cool!
CertSimple 5: DBA support, instant rekeying, flat pricing
If a company can't recruit an immigrant worker on a visa they'll try recruit one of the currently unemployed local developers on the exact same package the immigrant would have been on. That has no impact on wages.

If the job required a unique talent that would only have been possible to fill with an exceptionally talented immigrant worker then the job won't be filled, and the company will be consequently less competitive. That will likely drive the wages of their workers down if a different company (in India perhaps) is able to utilize that worker's skills.

For example, imagine the next Jony Ive can't get a visa so he stays in the UK and works for a British company instead.. How would that impact American wages?
A Deep Learning Framework for Character Motion Synthesis and Editing (2016)
Indeed. In quite a few places (Australia, for instance) the taxi industry is basically a government protected cartel. State governments charge insane amounts for taxi licencing (to get their cut of the cartel rent) and then restrict supply of taxi plates (to maximise their cut). Consequently, it was recently not uncommon (in Australia) for resold taxi plates to go for mid six figure sums on the open market. It was nuts.

I think Uber has changed this, although they're basically using predatory pricing as their market strategy. I must admit I have mixed feelings about all of this... Who knows? With two anti-competitive colliding like this, maybe we'll somehow end up with a competitive market at long last...
Show HN: Curated news and opinion articles, that you would have never read