skysight-inc/HackerNews huggingface dataset:
i think a text of quote & link would be more helpful in the future rather than a url + comment :)
All string manipulation code in C deals with trailing NULL bytes, so if you try doing something different, you may get issues when you try to link to other code. It's not a great system, but good C programmers should know the shortfalls.

As an example of the alternate approach, the Rust language uses (ptr, size) to represent all arrays (called slices) and strings internally. This seems like a much better method, allowing you to reference substrings without allocating a buffer, and perform out-of-bounds checking at runtime.
What's the point of social networking software if 99.9% of the population can't use it for social networking?
How Automation and Big Data Are Helping to Feed the World
It's MLT, not MELT.

And it's a base for other video editor, which is getting stronger each year, seems more stable than the others and already looks IMHO the best among FOSS video editors:

http://www.shotcut.org/
This is kind of bike-shedding (since that's such a small part of the language), but I also think there are arguments for using 0-indexing with open upper bounds.

Guido explains his choice best:

https://plus.google.com/115212051037621986145/posts/YTUxbXYZ...
The distinction still makes sense because it allows for graduation. If I drive too fast in a company car, I get the ticket and the company walks free, but if I crash because the company forced me to drive overnight for 10 hours straight, while I might still loose my license, the company is definitely on the hook for something.
git is a content tracker.

People who don't need to edit PATH might still need to track content.
i disagree that i don't understand martin kleppmann's method and also that his method is 'eventually consistent'.

using a random token is not equivalent to using a linearizable lock, see: https://medium.com/@talentdeficit/redlock-unsafe-at-any-time...

i am not sure what your point about delays and concurrent clients is, of course a system can't infer order from events that happen outside of it's visibility. the lock system can only provide synchronization at the point the lock is acquired
Sadly this is not included in the German TOS which I get redirected to automatically.
Given all the horrors @taviso posted concerning Comodo and AVAST etc, it's really really sad to see that the remains of Opera Software are now in fact being bought by a consortium that amongst other things are running "an anti-virus maker that ships a browser". What could possibly go wrong?

And the fact that Qihoo recently got busted in a Volkswagen-like scam when their "anti virus software" was tested does not inspire confidence in their business ethics either:
http://www.computerworld.com/article/2917384/malware-vulnera...

The wikipedia page for "360 Secure Browser" says:
"High usage numbers may be due to the browser being difficult to uninstall and a warning pop-up that appears when a user attempts to install another browser, claiming that the other browser is unsafe and should not be run."
https://en.wikipedia.org/wiki/360_Secure_Browser

This article gives a bit more context:
http://www.digital-dd.com/qihoo-browser-war/
Me too, maybe this will pressure more adoption of PyPy.
Lessons for IoT from 8 Formula 1 Championship Wins
Looks like an open door for all kind of legal tricks for companies, the kind of trick corporate personhood achieved.
How much do you need to spend on a single law suit to be in an "operational loss" when you're a 3 bln dollar yearly revenue company?
What if it's mediated by a non-viral disease vector, like a bacterium?
strcatm(..., NULL);

and it's 8 x/s, not 16. Also fix , to ; in the second for loop.
Thanks for the explanation, I guess I missed the statement from Elon.
Science is a hard work, and sometimes, you need to have some fun too.
Agreed. I think the whole philosophical discussion of this question is mainly complexity introduced by humans; we invented the definition of word and now expect every animal to formally adhere to our definition of what "empathy" is, or be declared "without empathy".

Especially when there are plenty documented examples of animals disregarding their own security to help another animal in distress (including humans):
https://www.youtube.com/watch?v=7AkANQls234
https://www.youtube.com/watch?v=Dn9SC61Bd7I
https://www.youtube.com/watch?v=_daN5_pUlnE
C# wrapper for PhysicsFS
Well, obviously the car's own occupants should always hold the highest priority for that car. Otherwise it is a terrible terrible product if the code even contains the possibility that it could ever prioritize anything over the lives of its owners.

In your scenario, smashing into another vehicle will be preferable to mowing down pedestrians; that vehicle's program just might be able to save itself, or the two vehicles might even communicate to minimize the damage to each other, and in any case a vehicle will most certainly absorb more of the impact than an exposed pedestrian could.

People on foot, who have nothing to do with the traffic, should never have to deal with the vehicles and the consequences of their programs. Number 2 from your scenario should not even be an option to the program.
As a Norwegian I am not sure what to think about this. Every single dam successful tech company created in this country gets bought out: Fast, Trolltech, Tandberg and now Opera. And I've been part of several which has experienced this. Sometimes it might make the product bigger in the market but often it has not been a success. Certainly not seen from a Norwegian perspective, with respect to jobs or corporate culture.
They're basically disabling functionality in order to make a quick buck.
AMD Zen can't come soon enough.
I'm gettin tired of seeing 'mail is hard'. No, it's not.
You need to learn it, and there are a lot of knobs and buttons, indeed, but it's not hard, especially not with the plethora of tutorials around.

Sysadmining was never that easy and was never intended to be done by the general public by clicking on a few 'continue' buttons and as the web is evolving, so is mail. Deal with it.
It has to do with the way that sentences are enhanced after a conviction. Probation officers are assigned to research the "facts" of a case after a conviction and write a Presentencing Report for the judge.

Federal sentence ranges are computed using a grid system. Different "facts" adjust the row or column of the eventual range of months a judge legally has to sentence a person within. Probation officers can be extremely thorough and throw in all kinds of things, or can omit things in the sentence computation.

If a person makes a plea agreement with the Prosecutor, they are essentially saying that such and such facts are relevant and these other ones don't apply to the sentence. If there are any possible enhancements not nailed down in the agreement, the Probation Officer can come in and say these are relevant and surprise! Your 5 year plea just became a 15 year sentence.

(edit) Also, multiple convictions for crimes typically have the sentences run consecutively.
As you suggest, "a driving wheel 58 inches in diameter" is a big clue here. The safety bicycle (basically what we tend to ride nowadays) was invented in 1876, at least the version which became most popular. The so-called "penny farthing" bikes were often called just "wheels" by their owners, hence "riding a wheel" and "wheelers". Some modern clubs are still called "Something Wheelers", e.g. "Bolton Wheelers", presumably because they have a history going back to the 19th C.

There is a surprising evolution to the bicycle, leading not least to the invention of the first automobiles. See Carlton Reid's book "Roads Were Not Made for Cars" for a history of this from both a UK and US perspective.
It's really great to see that people are paying attention to the problem of low-quality ads.

But I don't want to see ads. Of any quality level, high or low. Ever. I will never turn off my ad blocker, for any site.

I just don't want my day-to-day to be influenced by random companies trying to sell me things. Certainly, I can't avoid it: I live in a city, and walk everywhere I can, and it's impossible to avoid seeing billboards and the like. If I could wear a pair of contact lenses that would blank out real-world advertising, I would. But online ads I can avoid.

I buy things when I want to. If I feel that I have a specific want or need for something, I'll seek it out, and select the brand and model based on research pulled from the most unbiased sources that I can find. Perfect? No, of course not. But advertising is an abomination.
Checking in, because I can't actually do it at work :/

Right now I feel like I can't share my feelings. That they are somehow an annoyance to my boss and some of my colleagues. I want to feel more like I'm part of a team and not just a software-writing robot.
We who browse HN like the idea of self-driving cars, but does anyone have a nuanced perspective on their usefulness? I don't know much about AI compared to many here. It has been said that things which humans learn at very young age are hard to automate (identifying things you see, walking, social things) while things we learn as adults are easy to automate (accounting, telegraphs, file cabinets).

Car driving definitely contains elements that we learn as kids (seeing things in motion, identifying what is a human and what is a rock) while some things are learned as adults (what does that sign mean, how to count KM/H, how transmission works).

Are we really close to autonomous vehicles on the streets?
Perhaps the thing we call empathy is just a strange side effect of the negative subconscious feedback a member of group-oriented species gets when their friend is, or is going to be harmed, physically or otherwise.
The choice between gaining/saving an ally or gaining a treat can certainly be a selfish one, and in my opinion most likely is.
> I strongly disagree that there's any privacy loss. Internal IT staff could look at your browser history and traffic if they really want to anyway

They could, but then they would be doing naughty things (possibly breaking the law).

Also the relationship in academia between scientists/research groups and their host organization's administrative staff is often very different than the relationship between the typical corporate drone in an enterprise and the IT department.

In this case we see that the staff is revolting because of just this issue.

Re the "AV on all endpoints" question, I referring to possibilities outside the typical enterprise IT swamp. Increasingly endpoints aren't Windows PCs. Sometimes you don't have any of those.
> the dark web, a part of the Internet often associated with drugs, weapons, and child porn.

Indeed, due to journalists perpetuating that meme on and on again. Thanks for strengthening the bad image, Atlantic.
For one thing, the truck market seems incredibly ripe for automation. That should be a fairly easy, profit driven decision. Not many feelings involved.

Except for protests from truck drivers of course.
Lets hope Mr. Keller did stellar job at AMD. Once again.
At least in Swedish they are called "Finlandssvenskar", which means Finland-swedes. That is why I count them as Swedes just like the Swedes living in Sweden, Norway, Denmark or anywhere else.
DAMP – A MAMP-like development environment powered by Docker
This was about Finnish tax authority taxing company income as personal income (another possibility) or taxing the company as it would be finnish based on location of your operation/management location, not the basic taxes based on your location. I'll check if I can find some information about this online.

edit: Here is article about it in finnish http://www.yrittajat.fi/fi-FI/uutisarkisto/a/uutisarkisto/vi...

Translation of key point (by me)

– Jos liiketoiminta tapahtuu Suomessa ja omistajat ja päätöksentekijät asuvat Suomessa, myös verotus tapahtuu Suomessa, vaikka yritys olisi perustettu Viroon. Jos yritys harkitsee toimivansa Virossa, pitää aidosti mennä lahden taakse, asua siellä, pitää kiinteää toimipaikkaa ja harjoittaa liiketoimintaa, Akselin sanoo.

"If business operations are conducted in Finland and decision makers live in Finland the taxation also happens in finland even if the company has been founded in Estonia. If company thinks of operating in Estonia, you have to actually go over the sea and live there, have actual business location and operate your business there Akselin states. (this is a guy from finnish Accounting firm)"

(my note: it doesn't have to have all of the above meaning operations and management, it could be one of the above for example just management living in Finland)

(Poor) Google translation of the article

https://translate.google.com/translate?sl=auto&tl=en&js=y&pr...
I recently read the paper `Animal Minds, Animal Morality` where the author thinks it should come down to the ability to experience 'experiences'. Its an interesting read.
HP ThinClients Hacked. EasyTools; Easy to (ab)use
Applied to democracy, this means that politicians are more dishonest once voted into office.

Maybe there is a reason why the ancient Greeks drew their leaders randomly from their population

https://en.wikipedia.org/wiki/Athenian_democracy
Meh, I think I'll skip the ah-ha moments of my coworkers who don't ask themselves "yeah, how else would you do it when you have already specified the precision?" https://til.hashrocket.com/posts/9c43748955-be-aware-postgre...
I think she's got it slightly wrong. It's not that one of the 3/4 bars gets an extra beat - it's the previous bar that loses a beat.

https://www.youtube.com/watch?v=AVo0Q8G8tS8&feature=youtu.be...

Listen to the bit after she says '4' - it sounds syncopated in her counting. (Actually - 'syncopated' might not be the correct word - what I mean is that the '1' ceases to sound like the start of the phrase)
Yup, that discussion is now raging (at least in academia, and a bit in politics) in the Netherlands, particularly in and around 2012 when there was a new law proposal for mandatory minimums. Judges all around the country were strongly opposed, despite them appreciating the issue of different judgements for different people.

The law however is a lot more sensible. For one it's for repeat crimes, but only of a certain order of the first one. i.e. if the first crime carried a 10 year sentence, then a repeat crime would carry a mandatory minimum of at least half the full sentence on that crime. You wouldn't have the issue of three strikes out for example, because none of those crimes are large enough to fit the mandatory threshold. (Further, while marijuana is illegal in the Netherlands, normal use is never prosecuted anyway, which we call the 'gedoogbeleid', loosely 'tolerance policy'. i.e. it's technically illegal, but it's country-wide policy to ignore it. Like if a police officer catches you walking through a red light on a street that has no traffic for hours because of an accident further down the road.) Still I'm not a fan. Judges are imperfect but I feel they're less imperfect than mandatory minimums. At the end of the day, our judges are independent and highly trained. Further there are various instruments to ensure independence, like appeals or even rejecting the judge and replacing him or her with a different one. (right of substitution).

It's definitely a tricky thing...
The judge would get in trouble.

Basically, if he didn't follow the guidelines and went lenient, the Prosecutor would appeal the case and get the sentence into the guideline range.

If the judge went over the maximum guideline amount, the Defendant could appeal the case.

No judge likes having his rulings overturned because he didn't follow the law.
strcatm is the convenience macro that adds a last NULL arg. And it's 16, because it doubles each time. Already fixed.
If I'm not mistaken tpope, one of the most prolific members of the Vim community works at Hashrocket. I can imagine just being around him will result in an endless stream of Vim TILs.
Creative Destruction: Highlights from Adam Grant's Originals – Part 1
Git. Look for "homegit" on this page: http://chneukirchen.org/blog/archive/2013/01/a-grab-bag-of-g...
Mosaic had a "What's New" page... for quite a while that was the main way of finding new stuff on the web!
Though it would have been fair to point out that this rant was written about his experiences the last time he used Julia, in Oct. 2014, nearly 18 months ago.
As far as I can see it's currently in master:
http://git.musl-libc.org/cgit/musl/commit/?id=3d6e2e477ced37...

But has not been released yet:
http://wiki.musl-libc.org/wiki/Roadmap#musl_1.1.13
http://git.musl-libc.org/cgit/musl/
Didn't know Opera is still in business.
I'm paying for a product, so I expect it to be stable. If it is marked as beta, then the maintainer doesn't consider it to be production quality.

If it is production quality as everyone is telling me, then why not removing that "beta" flag?
Couldn't he have built a keyboard with high quality macros or multi-letter keys, too?
GNU stow and git, per this tutorial:

http://brandon.invergo.net/news/2012-05-26-using-gnu-stow-to...
Sorry this took so long, see my other reply.
No, the justice system is just handing out the sentences that the Congress has decided people in different situations should get.
Probably due to the cost of managing the operations including dealing with compliance, fraud, chargebacks, refunds, disputes and suchlike. Also this whole silly rewards points thing that many of the cards seem to do needs to be paid for somehow. And that's just the credit card company, not the processing company taking payment on the internet who will want their cut, and may do their own fraud/refund/dispute handling too.
I have a GitHub repo with a script that sets everything up. https://github.com/charlieegan3/dotfiles

Seems to be quite a common pattern: https://github.com/search?o=desc&q=dotfiles&s=stars&type=Rep...
Not if you trigger Piwik views from the server with the session id and never include the client JS.
Elon Musk 2006: The Secret Tesla Motors Master Plan (just Between You and Me)
Cloud Services’ Greatest Hits: Auto Scaling and Automatic Backups
Among the technologically knowledgeable Chinese people I've met Qihoo 360 Antivirus is pretty much considered malware, like if McAfee Antivirus and RealPlayer had some horribly evil child together. So this doesn't look like good news for Opera.
Testing the hypothesis:how absence of gravity affects burning of materials?
Why Goldman CEO Lloyd Blankfein Called Bernie Sanders “Dangerous”
Twitter needs to be supported during turbulence
Parity – Next Generation Ethereum Client, written in Rust
Utf8rewind 1.4.0 – Adds support for case folding and matching by category
> For some reason, though, we don't allow that sort of privacy violation in our actual lives.

Actually, people do. Take for example supermarket loyalty cards: every purchase is logged. It compounds with online tracking too: when you then login to the online site to check your points or view offers, the information about your purchases can then be linked to web analytics and other profiled data.
While I agree with you, there still is a possibility of conflict in what you are saying. What if hitting a pedestrian is the only way to avoid killing occupants of the vehicle? On one hand, like you said - the vehicle should always prioritize its owners, but at the same time, it should have some overriding directive that says "never hit a pedestrian at all costs". One of those has to give - who decides which one?
What possible reason could they have for this, apart from forcing users to buy their 'unlocked' chips? Is it really worth the nightmarish PR debacle they will undoubtedly face?

Side note (from comments) -- apparently Intel paired this microcode update with a patch to fix CPUs freezing during Prime95. Not cool.
git + symlinks (https://github.com/gfarrell/dotfiles).
I use a makefile to set everything up
I see a trend of people maintaining a GitHub repo called `dotfiles` for their public configurations, myself included for zsh/tmux/vim/git. I haven't found a satisfactory way to sync secrets between machines other than via sneakernet.

https://github.com/jamescun/dotfiles
An Analysis of 11 different IoT platforms
Citeck Ecos Community – open source solution based on Alfresco
Hi. 2 days ago we released new version of Citeck EcoS Community - open source solution for managing corporate content and cases based on Alfresco ECM platform. It is available for free download. We welcome any feedback on our system.
I use:

git init --bare $HOME/.myconf
alias config='/usr/bin/git --git-dir=$HOME/.myconf/ --work-tree=$HOME'
config config status.showUntrackedFiles no

where my ~/.myconf directory is a git bare repository. Then any file within the home folder can be versioned with normal commands like:

config status
config add .vimrc
config commit -m "Add vimrc"
config add .config/redshift.conf
config commit -m "Add redshift config"
config push

And so one…

No extra tooling, no symlinks, files are tracked on a version control system, you can use different branches for different computers, you can replicate you configuration easily on new installation.
Looks like they are even publicly listed... https://finance.yahoo.com/echarts?s=OPERA.OL+Interactive#{%2...
> people were always amazed I didn't carry the latest greatest phone (only got an iPhone once they added GPS, currently using a Lumia 1020).

Same thing here, nobody understands why I'm sticking to a nokia 208.
there is a language switcher at the upper right corner.
Currently on your site there is 'Deutsch' if you click on it and click on English you can view the english tos.

Btw. here is what he meant:

57.10 Acceptable Use; Safety-Critical Systems. Your use of the Lumberyard Materials must comply with the AWS Acceptable Use Policy. The Lumberyard Materials are not intended for use with
life-critical or safety-critical systems, such as use in operation of medical equipment, automated transportation systems, autonomous vehicles, aircraft or air traffic control, nuclear
facilities, manned spacecraft, or military use in connection with live combat. However, this restriction will not apply in the event of the occurrence (certified by the United States
Centers for Disease Control or successor body) of a widespread viral infection transmitted via bites or contact with bodily fluids that causes human corpses to reanimate and seek to
consume living human flesh, blood, brain or nerve tissue and is likely to result in the fall of organized civilization.
Close as in widespread deployment, coming soon to a parking lot near you? No.

Close as in "doing proofs of concept and being adopted for experimental tasks?" Yes.
> Can I implement the required minimial functionality myself? Own it.

And now you are responsible for tracking down and fixing every single bug and security weakness in it. You and every other developer needing the functionality.

Dependencies are used for a reason. Usually.
SHARE Your DANKEST MEMES OUR SERVERS ARE SECURE AND ANONYMOUS
Explaination about making something hotter than sun from sunlight confuses
temperature and heat energy. I don't buy it.
Git! https://github.com/Fizzadar/dotfiles
Have you tried syncthing perchance?
dotfiles repo on Github + GNU Stow
I feel that there is this collective idea that since you can't block out advertising from your vision while walking around, then you shouldn't be able to block advertising online either. As if our computers are letting us cheat the "natural order" by having ad block.
This also fails to include multicellular alien parasites. They've really left themselves open here.
Thanks for the interesting link, I've been curious for a while about running my own email server.

Do you encrypt the email on disk, or are they stored in plain text?