skysight-inc/HackerNews huggingface dataset:
This is a somewhat dangerous pattern for picking temporary files (from #8):

$ NEWFILE=/tmp/newfile_${RANDOM}
$ touch $NEWFILE

The problem is that any user on the box can create files under /tmp. An attacker can set up a bunch of symlinks like /tmp/newfile_1, ..., /tmp/newfile_99999 pointing to a file owned by your user. When your script then writes into this temporary file, you'll write through the symlink and clobber one of your own files. Especially dangerous if root :)

This has been a historic source of software vulnerabilities (often with the PID used instead as the guessable component instead of random, though). One recommended alternative is to use the `mktemp` command instead.
Anarcho-capitalists aren't anarchists. It is self contradictory to have a society that is controlled by capital owners (capitalism) and one that is controlled by no one (anarchism).
Article 4 defines that usage of coat of arms of Sarajevo in the stamp may be granted to private businesses, public companies, public institutions and other legal entities.
Article 5 defines that usage of coat of arms of Sarajevo on public transportation vehicles, fleet vehicles, billboards, brochures and other advertising materials may be granted to the said group of legal entities.
Article 6 defines that the usage of coat of arms on logos and decorations may be granted to the said group of legal entities.
The annual fees for legal entities using the name and/or coat of arms of Sarajevo depend on the entity size and are defined in Article 17 (50-2400 Euros).

This Decision fails to define any terms of usage of coat of arms and name for natural persons. Natural persons are only mentioned in Articles 21 in 22, stating the penalties for the usage of name and/or coat of arms without a proper approval from the city government.

Again, not a lawyer, but in my view anything except the usage of name Sarajevo and its coat of arms in the names of legal entities and their products, stamps and logos is outside of scope this Decision.
Purely speculating, but perhaps somebody from the city government decided it is time to optimise a revenue stream, which is now 12 years old (the Decision was published in 2006). If they continue harassing people on the Internet, there is going to be more of a coordinated backlash and sooner or later they will have to amend the Decision.
The innovation part is how this Go store has the power to bring healthy snacks into general convenience stores and gas stations and getting the disease causing ones to be pushed out.
Fair enough. Now imagine that your product or service is gaining popularity on the market where Google or Facebook consider you a competition.
That isn't an attribute of using C as an IR, it's an attribute of optimising compilers.

The solution is to disable optimisation for debug builds, not to avoid C.

From the gnome.org page:

> The -g command line option tells the Vala compiler to include Vala source code line information in the compiled binary
Given Amazon's knowledge in warehouse operations and supply chain, I wouldn't guess they plan to use this technology widespread in grocery stores. At that point, they could take a simpler approach than all the cameras and computer vision, by instead treating a grocery store like a warehouse or vending machine (no human shoppers like other grocers today who offer delivery). People enter their orders online, and stop by in person to collect their cart at the front desk. All the food would be behind closed doors. Only downside to that is customers who want to leisure shop and browse for new items.
> Oh come on, if order books were generally accessible I could just see where stuff is traded right now and sell there by myself.

You'd have to write a feed handler for every exchange, and a real-time composite orderbook so you could see where the best order was at every point in time. For every stock. You'd need to rent the fastest network as well.

This is no different from "I could tile my own roof, what do roofers do that is so useful to society?"

> Those companies provide no real value to society

A lot of businesses provide no real value to society. The only way to do that is to interact with a large portion of society. So restaurants for instance only serve the local market, no real value. I mean who benefits, other than the people who eat there? I could go on with a whole load of other businesses.
Thanks for the feedback. Are you saying we should have a description on the landing page (beelinereader.com)? Or did we not clearly demonstrate/explain what we do even on the separate vertical pages (/individual, /education, and /partners)? Feel free to email contact@ instead of going back and forth here. We definitely want to understand how our (newly-relaunched) website works/doesn't work for visitors!
And yet your bank doesn't need a special law regulating the use of its name. We already have laws against fraud, which cover such misleading cases. This is much more broad.
This is the truth.The war on drugs is a war on people. Did you know that in 2000, opium production had almost completely stopped in Afghanistan, thanks to the Taliban? That’s like 80% of the worlds supply of heroin. The global market value of heroine is like half a trillion. Where do people think intelligence agencies get all of their black money from? That’s the real reason that we went to Afghanistan.
Or at least decriminalizing its use. Maybe leaving the process of dealing in large quantities as illegal but trying to see users of it as patients rather than as miscreants.

According to this article [0] from the NYT, nothing really compares to maintaining prior abusers on buprenorphine/methadone while working through therapy as far as efficacy for the masses. Granted, I think everyone responds differently to all sorts of things and have met some phenomenal individuals two credit 12-step programs for both their sobriety and living more fulfilling lives than they had even before their addictions, so mileages will vary.

Between the two, methadone's effects on QT interval and cardiac mortality makes me think that it's morally reprehensible to get patients stuck on it, while buprenorphine also has the prophylactic effect of muting any recreational opioids that patients taking it might encounter, reducing the positive feedback loop.

Regardless, it's definitely time for us as a society to focus more on helping people rather than marginalizing them.

[0]: https://www.nytimes.com/2018/01/17/opinion/treating-opioid-a...
For the first time in history we have a grocery store without cashiers, and you’re nitpicking that there’s no shopping carts?
>>> As for how I'd feel eating lab meat, we only eat meat because most of us haven't seen how animals are kept, what they're fed, and how they're slaughtered ...

Children in the developed world might not know but you only have to go as far as their grands parents to find out. They typically had a farm and had to kill the animals themselves.
The "Our AI/ML technology is in Bangladesh" rollout
Turn your Bitcoin wallet address (or anything else) into a barcode. Barcodely
Did the admin literally watch Hackers and use that password as a goof
Heh I bet you’re right.

>“We’ve just put associates on different kinds of tasks where we think it adds to the customer experience,” Ms. Puerini said.
Why are you patting Amazon so hard on the back over this hypothesis? The article didn't mention anything about it; Walmart, Target, 7-11 all have the exact same power, but don't exercise it. Why do you think Amazon Go will push healthy snacks over deep-fried candybars?
Anyone in NYC who regularly shops at Trader Joes or Whole Foods knows how badly this is needed. There are literally two employees at Trader Joes whose job it is to hold a sign that says "End of Line" because the line is always almost out the door on weekends and weekday evenings.
I've been running my life on VimWiki[0] and calendar.vim[1] for over a year now, and while I'm sure hardcore org-mode users will scoff at its shortcomings, it's been perfect for me. I don't know why it isn't more widely used.

[0] https://vimwiki.github.io/
[1] https://github.com/mattn/calendar-vim
Why should something new be immune from constructive criticism?
So does this mean opioids are an actual gateway drug?
I agree completely that the opioid epidemic was inevitable either. I'm from Dublin (Ireland) where heroin just 'appeared' in the 1980s. But it didn't just appear, a few criminal families introduced it, got richer selling it in deprived parts of Dublin, then with the increased wealth, spread the drug around the larger cities in the country.

I live in Stockholm and there is pretty much no heroin here. Don't let people say "there is", there's not. Compared to any large european city, you never see strung out junkies anywhere.

I would love to know how much of the crime difference between a city like Dublin and Stockholm can be explained by heroin (just heroin - we don't have much crack or breaking-bad stuff). I expect it's the majority of crime and definitely the majority of homelessness. Heroin is like a viral infection. If it appears in a city, you have to quarantine off that area, clear the infection or it will spread and then it's just chronic management after that.
So why is there no clause in the law that states this specifically. Legally, clear as day, it's written. If the city wishes to allow it, they should amend the law to say so. If they don't, that's as good as affirmation of their perogative, especially now with this publicity.

Furthermore, the motivation to do that might be helped by the authors exposure of their tactics, justifying any sensationalism. No lies are written in this article.

Even if only for pedantic reasons, a law should clearly state it's interpretation. Leaving it up to arbitrary discretion is a slippery slope, and a good way to find yourself in a censorship situation.

It's all unreasonable and paranoia until you get a cease-and-decist.
Yes, it's a work in progress, see the `remove` branch.
Amazon's checkout-free store opens to the public January 22nd
> My faves are soy sauce and yeast extract and I'm also not above using MSG

If you're putting yeast extract in, you are absolutely not above using MSG, as that's pretty much what makes yeast extract so tasty (and used in many processed foods so they don't have to say that they added MSG to their product).

As an aside - I bought a big ole bag of MSG a while back, and it's great to toss into sautéed vegetables.
That will probably be an option, but I'd wager that a lot of purchases are snap decisions. You want hungry people in your store, looking at all your attractively packaged food.
Production servers don't generally have zsh available, while most have bash. That means that ssh sessions will use a different shell, and scripts I write will use a different shell. And so, the upside for using some funky shell locally is greatly reduced.

Whereas if I stick with bash, I can run my scripts almost everywhere and almost every server I ssh into has a familiar environment. Thus my knowledge of edge cases and scripting idioms from bash pay dividends.

For situations where I need better arrays, associative arrays, floating point arithmetic, I'm probably better off writing it in an actual scripting language.
I think E is the convention.
What does one thing have to do with the other? Shopping carts are useful even without cashiers.
Nothing so far as legalizing heroin is being considered in the US, but Philadelphia is considering becoming the first US city to offer supervised injection sites [1] as a method of harm reduction, but there's a lot of understandable resistance to the idea.

Portugal has taken steps towards decriminalizing drug use and treating it as a health matter, and has had success so far [2]

[1] https://www.npr.org/sections/health-shots/2018/01/10/5767570...

[2] https://www.drugpolicy.org/sites/default/files/DPA_Fact_Shee...
I imagine it's similar to the below video.

https://www.youtube.com/watch?v=yeS8TJwBAFs
Whole foods. Amazon is going upmarket, not down.
> For anyone who thinks infinitely nested lists sounds like a good way to organize things [...] I recommend

And for anyone who thinks hierarchies are an "OMG, you're joking, right?!?" inadequate way to organize thinking... :)

... any recommendations for an Org-ish app with good support for non-hierarchical full graphs, with flexible link and node types?

Writing one is on my todo list, for project management of long-term opportunistic projects, in VR, but in the meantime...
Factory farming today is a pretty far cry from grandpa's small family farm.
Unfortunately, to date, Matrix[1] suffers from a shortage of quality client apps. Riot.im[2][3], while the most advanced among others[4], is far from being convenient. Electron-based desktop client is subpar in terms of UX and performance, whereas the Android client is a disaster for the battery. However, I do hope Matrix will overcome these issues and take it's place as an underlying protocol for the Jabber/XMPP(/IRC) use-cases.

[1] https://matrix.org/

[2] https://riot.im/

[3] https://github.com/vector-im

[4] https://matrix.org/docs/projects/try-matrix-now.html
Except this is not trademark law, so there's no "fair use" unless it specifies so.
Huh? Amazon Go is a separate store from these places. There is nothing mentioned about how they're licensing their technology out to other vendors. And it's not innovating by offering healthier options for grab 'n go food and snacks. I don't see your point here.
Reminiscing on the Release of Windows 7
Nice, I'm a big user of various data stores for scientific work. How does this compare to LMDB (http://www.lmdb.tech/doc/), which uses B-trees (and has a Python interface)?
Once you've established that people are willing to pay a $2-5/lb premium to ensure that their meat is organic, I think another similar premium for non-meat meat is reasonable to call "comparable", especially when the alternative is thousands of dollars per pound.
What's wrong with LMDB?
Fiy, heredocs also have a variant that strips all leading tab characters. Quoting from `man 1 bash`:

If the redirection operator is <<-, then all leading
tab characters are stripped from input lines and
the line containing delimiter. This allows here-
documents within shell scripts to be indented in a
natural fashion.
Common man you dont want others ideas, just practice writing 10 ideas a day that can solve some problems. Dont filter while writing.

Also word to the wise, if you are asking other people for ideas to implement in a space (ethereum) so that you can learn the technology, implies that you dont know much about the field or have clear basic concepts. For now I would just read/listen/watch to learn the basics in order to unleash my creativity...

your sincerely,
nobody...
The yelling affects everyone. When you post like that you're degrading the discussion for everyone and damaging the site. A few will always like it because they happen to share what you're annoyed at, or they're annoyed at something else and want a hit of rant energy. But the rest of us just cringe.

HN threads are supposed to be for thoughtful conversation, not getting anger out. That doesn't mean people can't comment on something that angers them, but it takes work to do it in a way that's informative to others. Mere venting falls below the quality line.
That is a very dangerous name for a branch.
I don't use tabs with the mouse. There are many shortcuts for tab management: previous tab/next tab, open tab/close tab, switch to tab 1-9, move tabs around, etc.

Also, with Vim you can mix and match tabs and splits to have many files open at the same time. You also have buffers, which I believe are the exact equivalent to Emacs buffers, you can have a gazillion buffers open at the same time and only a few visible.
Oh awesome thanks, looks like a truckload of amicus briefs dropped in the last month.
"If you want to increase your compensation over time, continue to put yourself in a position where you can deliver the most value."

This assumes an efficient market. In the real world, however, value of a software engineer's output is really difficult to measure. Indirect value (like helping a team member) is even more difficult to measure than direct value (like implementing features or solving bugs and so on).
Ask HN: Should we avoid expressing political views online?
It seems to be the case that there are people out there willing to abuse their power in order to keep people out of work on political grounds.

What is the right thing to do as an individual in response to this? Should we stay silent in the hope that discussion will eventually become less polarised and more civilised. Or by shrinking from controversy do we risk the basis of civilised society itself?
There were a little over 3.5 million cashiers in the United States in 2016 — and some of their jobs may be in jeopardy if the technology behind Amazon Go eventually spreads.

Why is this the knee-jerk response to technological progress?

True progress isn't forcing millions of people into low-wage routine work. True progress would emancipate people from this drudgery entirely.

Isaac Asimov questioned why the goal of both the left and the right is always "full employment":

"The goal of the future should be full unemployment, so we can play. That’s why we have to destroy the present politico-economic system."
Google CEO compares impact of AI to electricity
Simple rule of thumb for enterprise, make your bosses look good.
> If he didn't follow these artificial principles he would be much more widely known

Aren't all principles artificial?

He could (maybe) be more valuable to society by making compromises but OTOH I doubt an idealistic person is driven by such motivations. Artists aren't motivated by being of value either and I doubt anybody would think that Picasso should have lived in any other way.
That makes total sense. Here, they absolutely care about who worked (unpaid) overtime when deciding who to fire. The people I've seen who are out the door at 5:01 don't survive those transitions.

I'll admit to more than a little envy!
There are much more, and entirely official ones to boot:

The first try was 3m high, was followed by a 12m one in plaster kept at musée des Arts et Métiers, and later used for a 12 unit run of bronze casts, one of which stands outside the same museum.

Then there's one currently standing in musée d'Orsay since 2012, moved from jardin du Luxembourg. This was the first bronze cast made from the plaster one, unrelated to the 12 run.

Finally there's one which was gifted by a US association to France in honor of the 100th anniversary of the French Revolution, erected at Ile des Cygnes. It was due to stand facing the NY one but was made facing east so that it would not turn its back to president Carnot on it's inauguration in 1889.

Another 12m one has been erected in 2004 in Colmar, the town where Bartholdi was born to honor then hundredth anniversary of his death, but it's not made of bronze.

http://www.colmar.fr/statue-liberte-colmar#main-content
lol, truth
Mind elaborating? As of late, Vue's TypeScript support seems pretty nice.[1]

[1] https://vuejs.org/v2/guide/typescript.html
What is Going on at Blockstream?
I'd be happy to.

http://www.hangawirestaurant.com/

http://candle79.com/

http://www.motherofpearlnyc.com/

http://www.matthewkenneycuisine.com/double-zero

http://www.thepennsy.nyc/the-cinnamon-snail/

http://beyondsushinyc.com/

http://www.blossomnyc.com/

http://www.buddha-bodai.com/menu.html

https://www.erinmckennasbakery.com/

http://www.franchia.com/
Nymeria: The best email finder, period
> HN is impossible to read when a discussion gets large.

True, but HN has put zero effort in having a better reading experience.
I've read that before the Taliban banned production they stockpiled a lot of it, then when prices skyrocketed they sold their reserves at a much larger profit.

http://www.historycommons.org/context.jsp?item=a0700poppyban
But won't someone please think of the poor, unemployed "end of line" sign holders? Whatever will they do!
center of mass != geometric center
Anyone surprised should read up on Mitnick career and specially his book: The Art of Deception
I don’t see this being viable. Most people shop with at least a small amount of whimsy. This is why end-caps and samples and grocery store psychology exist. And I think this is a feature, not a bug: there is something satisfying about picking out the right bananas, realizing Brussels sprouts would go well with dinner, substituting ingredients on the fly, etc.

the online shopping experience has none of this, which is why I think grocery delivery has not yet taken over. Food is visual and visceral, and doesn’t lend itself to drop-down menus.
My intention was to show you that there is in fact similarities between cash and bitcoin and that your claim that there isnt at all is wrong.

They are both used for crime and cash is used way more for crime than bitcoin is.

So your claim is simply wrong.
It is because we have no scalable mechanism in society to provide for the basic needs of the "emancipated." Sure, in theory the automation yields a surplus, but in practice how do we actually allocate the surplus? Not to the economically useless, that's for sure.
It depends on the developer. Myself I like to get in touch with where my code is deployed. So I like to do that stuff myself but most of the time there
Is somebody dedicated to that.
I saw mark fishers riff demo at SpringOne and really liked it, just set up riff on my Mac with kubernetes on docker, I'm working on a fun demo right now, using kafka as a buffer is quite neat! Excited to see what this project will evolve into
You can shoot pictures and videos. You just can't use them for commercial purposes.

EDIT: forgot the reference: https://web.archive.org/web/20100510105723/http://www.hollyw...
Not enough ink has been spilled on this topic. Great share!
Could you link me to some of those serious issues? I've been using soylent to save myself the effort of scrounging for breakfast and lunch lately.
I took Jake Paul's educational series
can you express in what way they fall short of the real thing?
Well I would buy the developer productivity argument but most applications have a mix of reporting requirements that are generally extremely hard to implement on anything "distributed". Also in a distributed system you are either running some consensus algorithm (paxos, RAFT etc) that will def. not be "insane performance" or you it will have issues with consistency.
Donald Knuth turns 80, seeks problem-solvers for The Art of Computer Programming
Well, something being new is always relative isn't it?
Zoom popped up really quickly and has a lot of adoption already. I honestly don't understand how this space is so competitive given the underlying tech and UX haven't changed much.
Discussed at the time: https://news.ycombinator.com/item?id=10979418
Very important detail regarding iOS: With the BYOD mode of MDM (not "Supervised Mode" used for company-owned devices), as I understand it, there will be a dialog box which appears on the device and asks you to approve the installation of such configuration profiles.
>Why is this the knee-jerk response of many journalists in response to technological progress?

Maybe because our society isn’t ready for such changes. The American system especially lacks safety nets and social security systems to support those without a job. The way things are now is that one needs to have a job to be able to “play”.

One solution would be to tax the robots that replace the working class. Otherwise the only ones to gain are the ones who own the robots.
Come on. Where the heck is Mithril.
> Male hires are probably still from the best universities. This creates an imbalance in competence.

Is there any objective evidence that people who graduate from the "best universities" become the most competent engineers?