skysight-inc/HackerNews huggingface dataset:
> surely something like should be easier?

That would be nice, but as others hinted that wouldn't actually work:

* there are paths without a file_name (`/`) so it returns an Option to make that evident

* to_str attempts to convert the OS-dependent thing to a Rust string. Rust strings are valid unicode, but many filesystems don't have such strict requirements[0]. Again Rust returns an Option to makes that evident although there's a "to_string_lossy" method which will simply replace invalid sequences with U+FFFD if you don't really care

The Rust philosophy is generally to expose these issues upfront and force the developer to consider them (and either handle or explicitly ignore them). It is indubitably less convenient than e.g. Python 3's `PurePath(app_path).name` returning an str, but you'll have had to decide what happens in case of failure.

Paths are really a good example of something which looks simple, should be simple, and is actually anything but simple for historical and technical reasons, especially in a cross-platform context.

[0]

* Unix paths are the most troublesome: they're arbitrary bags of (non-NUL) bytes, they don't have to be in a known encoding, they don't have to be in any encoding.

* Windows paths are not guaranteed to be Unicode either: they're UTF-16 code units aka UCS2 + surrogates, and the surrogates may be unpaired, leading to invalid Unicode.

* OSX paths are guaranteed to be valid Unicode.
The new ESPN redesign
What's your email? We are looking for remote devops.

Do you know Ansible, AWS, Cassandra, Java, and Postgres?
AWS Marketplace licensing ideas
If you've previously submitted pay-as-you-go software to AWS Marketplace, what was your solution to locking the product to the Marketplace-launched instance to prevent your code from being moved to a local box or another AWS instance (non-Marketplace)?

If there were several solutions that you considered, but settled on a particular one, what were the pros and cons?

Thanks in advance!
The library works in all major browsers now. Thanks for the feedback.
It's more equivalent to painting a line on the ground than a fence. Climbing a fence takes more effort than ignoring DNT.
I believe there is a loophole in this very treaty due to the fact that it only outlines these rules for nations as opposed to private entities.
So basically, your problem is you like to pick and choose modular pieces from non monolithic frameworks and "Angular sucks" because it doesn't do what you like.

There's nothing wrong with Backbone, particularly when you like to replace parts with other parts. But Angular is not bad simply because modularity wasn't a design goal.

It's notable that your arguments aren't arguments against Angular persay but against every single non-modular framework ever made.

I don't mind people disliking Angular. I mind it when people pretend their preconceived notions about software design are "right" and software that doesn't align with their notions are "wrong".
But how is this different than if I put in aftermarket braking pads and then I wreck? What if my cousin's friend installed them wrong?

Is the litigation risk any different with software rather than hardware?
I guess we're just lucky that anyone who can get licensed (mechanics are also licensed, though not criminal-background-checked I guess) can work on any lock in the regulatory region, because door locks don't have sophisticated software yet.
> That said, it does rather illustrate just how nasty the syntax is for creating animations with CSS.

Especially in contrast with how quickly and concisely the heart was build. All the building blocks were never meant to build hearts or shapes other than boxes. The animation elements on the other hand are used for their intended purpose and still...
Fixed for firefox now. Using computed style's `backgroundColor` key.
None of those were in any way 'similar' to Lisp Machines from Xerox, TI, LMI or Symbolics. Those were high-end workstations with a Lisp OS, coming in a lot of different form factors. They were developed from 1981 to 1992.

The main similarities were that they all used electricity. Some of the computers with Java-processor were similar in that they provided an object-oriented garbage-collected language and OS.
The redirect is happening after you're already on the newmongolianbbq.com website; Google is not doing anything weird.

This script on the page is responsible: http://luover.icanfans.com/d/luover.js

The restaurant's website is an out-of-date install of WordPress and several plugins. One of them probably has a known vulnerability which someone exploited to inject that script tag into the site's theme, redirecting its Google traffic away to the knockoff LV store.

There are some 80 million WordPress sites, and a good chunk of them are running outdated versions of the CMS or plugins, which makes it an easy target for automated scanning and exploitation. This kind of hijacking happens to thousands of websites every day.
That is why I was told that the Postmaster general was a plum job in third world countries it gave you direct access to the telecoms interconnect fees and why for the longest time it was so expensive to call those countries.
Autonomous cars – rational thinking problem
> Can't even think that I have read any stories (so far) about malware having an impact on auto operation. Hard to believe that opening up the software won't result in something bad happening either.

First of all it would be EXTREMELY hard to nail down a car crash to malware currently because we have no tools/insight to do so. For all we know (put's on tinfoil hat) car hacking has been employed multiple times by state actors to kill off people who they disagree with. It's way too easy to write it off a the driver made a mistake and never have an investigation into the root cause.

However we HAVE seen that it's possible to hack into a car, there are multiple news articles showing people taking over control of cars remotely and killing the breaks, shutting off the engine, pushing down the accelerator, etc.

Also I don't buy the "Safety" argument it's way to easy to scream "Think of the children" to kill off an argument. Hobbyist hackers who want to hack their own cars have to still abide by the laws set out by the government just like a mechanic can't put a car on the road without breaks. I don't see the difference, yes maybe it will make it easier for bad hackers to disable your breaks but they could just cut the break line which would probably be easier (or should be if the automakers take security seriously at all which I would bet they don't).
Latest Chrome, FF and Safari are now supported.
I think of the Atari ST as being much more like the ZX Spectrum. "Minimalism" is a polite way of describing it: you have a CPU and you have an area of memory (with a slightly bizarre layout) that represents what will appear on screen. Like the Spectrum, the CPU is nice enough to code for, but takes its time when doing anything remotely useful.

(Maybe similar to Apple II as well. Very uncommon in the UK - never used it.)

Of course, the ST has a few things going for it compared to the Spectrum: configurable display RAM address, minimally contended RAM, timer interrupts, quite apart from the increase in colours and pixels and the properly bitmapped display. But overall, it's the same sort of thing, to be used in the same sort of way. You'd approach coding for the C64 or Amiga very differently.
Heh, I always feel a bit bad when people mention this since we're not using it ourselves anymore. Though it's a nice and easy way to get going quickly if you're already running redis (and especially if you've got a rails app).

We're using elasticsearch now which is definitely a bit more of an operational headache.
Opportunity Finishes First Marathon on Another Planet and Roves On
You do understand the difference between oversimplification and being wrong, yes?

But the funny part:

"Reusing a basic structure to short circuit some engineering tasks"

So, you mean abstracting away some difficult task?
I still find it odd that Google Docs cannot handle a large number of people looking at a file.

"Wow, this file is really popular! Some tools might be unavailable until the crowd clears."

Even with the tools turned off there should be a way to simply view.
Unfortunately, at least two of the major browsers are also run by major advertising and tracking firms. There is an inherit conflict of interest here.
Personally I think that any of us that used one of those systems can only look at those that insist in doing PDP style programming as living in the pre-history.

Environments like modern IDEs and languages like Wolfram might be the way forward to regain what was lost with the demise of Lisp Machines.
Lazy HN for the win! Thanks for the suggestion.
A tailings pond 1 mile across instead of dumping the sludge into a river? I'm genuinely uncertain about what is supposed to outrage me, and the article's tone implies I should be outraged. It's problematic that it sounds like it produces lots of air pollution and the workers are probably exposed to nasty fumes, but I don't see how that is a new thing in China.
Maybe that's the reason why it didn't take off the ground :) But their main idea is event-driven design, so I still think it's common idea for React and for Flight.
> I guess it counts as FUD but I associate that term with marketing. There must be a journalism-specific term for it.

Lazy journalism?
Greece would not necessarily have to exit the EU when it exits the Euro, and I don't know what would happen. If Greece exits the Euro unilaterally but wants to stay in the EU I don't know whether expulsion would be likely. There is actually a paper on this topic which argues that it would be possible for a country to leave the eurozone without leaving the EU: http://www.tilj.org/content/journal/48/num2/Dammann125.pdf

Lots of Europeans do travel to Turkey. Funnily enough I am currently on a trip from the EU to Turkey. Here's a few facts to consider:

- I have to exchange Euros to Turkish Liras, and for tourists the exchange rates are not good.
- A flight to Turkey cost me about €200 while a flight to Greece is far cheaper even thought he distance is similar.
- It's very expensive to call my family from Turkey. Calling from Greece is cheap due to the EU.
- My bank card is not accepted everywhere, whereas in Greece I believe it would be.
- I have to get a visum for Turkey.
- Travel insurance for Turkey is more expensive.
- An european car trouble emergency service membership works in Greece but not in Turkey.
- The prices in Turkey are far cheaper than in Greece. Greece could adjust their prices to Turkish levels (and likely would have to) after leaving the euro and EU, but then they earn far less of course.

Subjectively I do feel safer in Greece because they are in the EU. Also perhaps some Europeans would not travel to Greece because of perceived anger from Greeks to the rest of the EU, or they wouldn't travel to Greece out of spite if they default on European debt.
Peer review is a huge part of our culture here at Climate. It's often unreasonable to expect a single reviewer to review a complex paper, so we sometimes address this by assigning each reviewer a domain.

Something like:

Reviewer 1: Review scientific theory (domain expert)

Reviewer 2: Review scientific methods and conclusions (senior scientist)

Reviewer 3: Review code for scientific accuracy (senior programmer)
I'm not assuming redundancy, i'm assuming what every academic does - that the author(s) should be able to concisely and accurately present their work. There's plenty of examples where complex ideas and derivations can make the journal page limit (which does vary, but i think 16 pages is good), no reason this one can't as well.
You can block cookies or even block ad networks.
Well, social communication. And deception and manipulation are surely a part of human social communication, not least child rearing.
I agree, but how is it any different than when your cousin's friend does your brake job for you, and then the brakes fail?

To answer my own question: because there are fewer court cases about home mods of automotive software, then there are about home mods of automotive mechanical systems. I think it's the lack of precedent that scares corporate lawyers when it comes to this stuff.
An open engineering birthday for Visual F#
Good point. But painted lines on the ground still have social power, for example in parking lots, where most people obey them. Hopefully the same is true for DNT as well.
What legal implications?
Which you can do already without electronics.

The whole justice system is broken if we have to take the stupidity of ridiculous cases in account to tame down technological progress.
Sailor rescued after 66 days at sea, eating raw fish, drinking rainwater
Already discussed https://news.ycombinator.com/item?id=9315277
If you haven't seen Voxatron you might like it. It's a virtual fantasy voxel console you can make "cartridges" for. Here's some of the user made carts

http://www.lexaloffle.com/bbs/?cat=6&mode=cposts&orderby=ts&...
Maybe someone know better alternatives? I would like to hide/lock some images (bank passwords card images).
New Hacker News Guideline: Avoid Gratuitous Negativity
I don't understand your opinion regarding any kind of straw man fallacy. Can you elaborate on where the fallacy emerges?

The idea that advertising needs "enhancement" sounds suspicious. Couching the premise of the question in 77 words of pseudo-legalese-style terms and conditions would muddy the waters, and sow confusion, and probably innure users to do anything to make the checkbox go away, so they can simply get to the internet.

Politics aside, that kind of twisting and turning smells like a dark pattern, in my opinion.
In what ways would this improve:

1. Behavior?
2. Comments?
3. Stories?
That's what it is saying? You can't use the tools, only view right now.
The primary purpose of language is to facilitate social communication in primates.
I did not want to imply any bias in the formulation of the question. I personally don't want to see any ads at all, I don't want to live in a search bubble and I don't care about recommendations. I can not see any way in which tracking and creating a profile about me could provide me enough additional value that I would be willing to compromise on privacy.

But this is of course only me, I hear rumors that there are actually people valuing ads. But I am still not convinced, the right question is neither »Do you want to be tracked?« nor »Do you want better search results?« but »Do you want better search results at the price of being tracked?«. My personal answer is a definitive no but I can't really tell in case of the general population.
From my reading of the first twenty or so pages, it appears to be a theory of how neural networks model images (the running example). The authors claim that popular neural network architectures can be reduced to particular cases of their model.

If this model can provide an explanation for the small noises impacting NN performance on images (from karpathy.github.io, posted to HN earlier today) then that would be rocking.

Nonetheless, it does not appear to be an experimental paper, rather providing a mathematical theory of some particular classification problems.
...And spend your life managing hosts? If this is only for your browser install uBlock and add whatever filters you're interested in. You can also go one step further and disable JavaScript, only re-enabling it for sites you care about as you go. If this is for other software you might want to reconsider what you install on your computer.
It's a work in progress but it shouldn't rebuild other than after world generation.
http://www.consumer.ftc.gov/articles/0262-stopping-unsolicit... may help with unsubscribing.
Can the blockchain exist without Bitcoin?
Most of the cars I see anymore have some sort of web connectivity, what if you just send a packet every time you start it? If the mileage suddenly goes from 9000 to 3000 you know you have a problem.
Yeah I agree. A Levenshtein distance shouldn't perhaps be too hard.
Tell HN: Show HN has become an awful way to introduce your project
Look at the numbers of points the stories get - it's usually 1-5 points, and I bet most of it are upvotes from owners/friends.

The exposure is very low: a "Show HN" that doesn't reach the front page receives as low as 10-20 visits.

Some time ago a separate "show" section was introduced on HN, a sign that HN admins appreciate "Show HN" posts. But it doesn't work.

I think a step should be taken in either of two directions:

1. Even more attention should be directed towards "Show HN"s. Maybe they should stay longer on the first page of "new"?

2. "Show HN" shouldn't be a place to introduce startups and other "real world" projects. Let's face it, a typical HN user is a programmer wanting to read something technical (with occasional politics/science stuff interesting for "geeks"). He will not take time to understand/appreciate your non-technical startup. What you can get at most is a snarky comment, but almost all will just ignore it.

For 2. to happen it requires mostly a change in what people think about "Show HN" (I feel many have much too big expectations - it's highly unlikely that you will acquire valuable customers through a Show HN!), and maybe disabling the "show" section would also help.

I'm proposing this because I see some people losing their minds over inability to get exposure using "Show HN".
The original WSJ article (just search for "Google Makes Most of Close Ties to White House") is even more ridiculous with this.

It lists a bunch of meetings that coincided with significant events in the FTC investigation, underlining a supposed connection between the two, then proceeds to mention the fact that the logs for each of these meetings (and sources that were in the meetings) say they had nothing to do with the FTC investigation (and involved people that couldn't influence the FTC investigation) and did have a lot to do with other things going on at the time, changes in STEM, patent reform, healthcare.gov, etc.
That is a fair point which I had not considered.
If you like this, there is a website devoted to interactive demos similar to this:

http://thecodeplayer.com
Neural Modularity Helps Organisms Learn New Skills Without Forgetting Old Skills
The Yammer switch happened quite a while ago. The language now is more stable and performant. Other than these two isolated incidents, there isn't really anything to "notice".
This is why I have no incentive to edit stuff in cloud
You miss the point. The Cool Kids comments was about how it's become fashionable to talk down about every new framework, UI library or whatever that becomes "big" because something 12 people use is OBVIOUSLY so much better.

To me much of this "this is better because this" is a lack of understanding your tool and/or personal bias leaking into the design decision for a piece of software.

I like Angular for what it is and using it on a year long project with a large team on a large project suggests that your decision makers did virtually NO research on what Angular excels at.

The problem (judging based on your small comment history on this thread) suggests that Angular isn't a problem, it's that EVERYTHING is over-engineered if it's not modular. And while I appreciate the modular approach having many benefits over non-modular frameworks, pretending that it's "The Only Way" is just as silly as pretending Angular is the answer for everything.
Really anything involving graphics and interactivity. It's why I still remember moving the Logo turtle around.
eh, this sounds more like an "embrace and ignore" situation (like IE6). The "extend" was about adding new features that were incompatible with the existing standard (which would in turn lead to the existing standard being "extinguished" because MS was so dominant that whatever they pushed would become the new defacto standard over whatever they "embraced" in the first place).
Also, I think it would be nice to be able to upload a list of synonyms. E.g "go==golang" so if someone types "golan" it could return "Go is a language" for example.
It was very difficult until recently and remains so. But you're wrong to assume that life for the average person is any better in those countries than it is in Cuba. The UN's Human Development Index has Cuba as the 2nd most developed country in Latin America (behind Chile).

http://en.wikipedia.org/wiki/Human_Development_Index
There's also my favorite: live-editing a VR environment. https://www.youtube.com/watch?v=db-7J5OaSag
I think the worse problem would be users adding a ton of spam links to their own profiles.

That said, I think it should be allowed. You should be able to add whatever basic markdown you want (text, formatting, images, links.) Perhaps, similar to what sarciszewski mentions below, you could have part of your profile be visible only to logged users, which should theoretically make crawling not an issue.
In response I simply defer to Ben Franklin: "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
One of the Most Powerful Data Visualization Tools
and there goes my weekend, this is so freaking sweet
How do you figure? Nowadays, a very large majority of web devleopment primarily consists of taking some collection of open-source tools and other services in order to create a service. The entire justification for the existence of such a service is the idea that most people aren't inclined to do all this themselves.

This isn't a matter of scarcities at all (other than the time of the end user), let alone engineered/artificial ones. It's a matter of "I'm too lazy to setup my own web server to share my cat GIFs, so I'm gonna just use Imgur instead, since they've already done the hard part".
Interesting. Can you cite the exact version of Python 2.7 you're using?

Mine is 2.7.6

I'm asking because bugs get fixed in lib2to3 occasionally, and we see differences between minor Python versions in this regard.
It's slightly annoying to have to copy and paste a URL out of a document written in HyperText Markup Language.

That shouldn't really need to be justified any more than being able to use italics should - it's an essential part of the medium, arguably critical to the way communication on the web is intended to take place. And URLs are linked in comments already, so it wouldn't even be that great a change.
> Clearly, they have gone the way of the console.

With one minor difference.

You actually OWNED the disk/cartridge the game was on, and it came with a warranty.

...two, TWO minor differences.

On other words, there was legally enforceable accountability on the part of the manufacturer. These days not so much, because you don't own anything to hold as leverage, and software has always been full of warranty and liability disclaimers (even though I suspect many of them would not hold in a court of law).
> None of those were in any way 'similar' to Lisp Machines

It seems you misinterpreted my sentences. Read the linked Wikipedia. Basically not ASM/Assembler code (0, 1 form) is executed on the CPU but a specific higher level language like Lisp/Ada/Pascal/Java/etc. directly.
I'm on the other side of the spectrum I'm afraid The technologies I work with most frequently are AWS (especially EC2, Cloudformation, code deploy, EBS, container services, OpsWorks, DataPipeline, RDS, and Elasticache), Chef, Ruby, Mysql, Ruby, Couchbase, Redis, Memcache, Logentries, Logstash, Fluentd, ELK). I also have a great amount of experience in sales, sales engineering, running NOC, ops teams, datacenters, and small consulting companies.

I prefer to have an anonymous public presence, but if you put your email here I'll drop you a line.
There's an interesting conversation between several Lisp machine folks (including the late Dan Weinreb) and Azul's Cliff Click. This was at a time when Azul shipped custom hardware. Very interesting, re: hardware support for garbage collection.
If they plan on selling the platinum they harvested they'd better plan on cutting dividend checks to every last person on earth.