skysight-inc/HackerNews huggingface dataset:
Ok, perhaps we have different views of what refactoring is.

From Wikipedia [1]:
"Code refactoring is the process of restructuring existing computer code—changing the factoring—without changing its external behaviour. Refactoring improves nonfunctional attributes of the software. Advantages include improved code readability and reduced complexity; these can improve source-code maintainability and create a more expressive internal architecture or object model to improve extensibility. Typically, refactoring applies a series of standardised basic micro-refactorings, each of which is (usually) a tiny change in a computer program's source code that either preserves the behaviour of the software, or at least does not modify its conformance to functional requirements."

"Many software editors and IDEs have automated refactoring support."
Listed is Jetbrains IntelliJ IDEA.

The IDE can do the micro-refactorings but I agree that (at least today) there needs to be a programmer to decide which micro-refactorings should be done to improve the code.

[1] https://en.wikipedia.org/wiki/Code_refactoring
It still relies on 3rd party proprietary STT- which is a huge problem for most of these speech interface projects.

The best results in the open-source STT field are accomplished using a library called Kaldi. However, it's a pain to set up an entire acoustic+phoneme+language model and harder still to run a continuous decoding server.

Luckily, a library [0] exists to accomplish this, which might provide an excellent replacement for Mycroft, provided some tweaks to the API.

[0] https://github.com/alumae/kaldi-gstreamer-server
I wouldn't necessarily say that. I live in a third- / fourth-tier startup ecosystem and started here from scratch about 3 years ago. Taking a job for a company still working in the space provided by the accelerator (which happens to host lots of meetups) was one of the best things to happen to me though, even if that company ultimately failed.

(I got that first job blindly off AngelList with no connections.)
Oh dear. Last month I updated awesome on my Gentoo machine, and it broke a lot. Now I'll have to deal with this again!
You're still thinking like a gas car owner, thinking about needing charging stations like the ones Tesla has set up. Those will be a part of it, sure. But by the time EVs reach anything like ubiquity there will be charging available in the parking lots of restaurants and rest stops. Tons of them. Because they are cheap to install and attract customers at very little cost.

Note that you don't have to be standing by your EV when it charges. My LEAF can be plugged in and when it's done it will automatically stop charging and unlock the handle so someone else can take it and charge with it in an adjacent spot.

Note also that while with gas cars you have to fuel up at a station, with EVs everyone leaves home with a full charge. That means if you are driving less than the capacity of your vehicle in a day you have no need for any charging stations outside your home (which is the case for us all but a handful of days a year.)
It doesn't really make sense to run copper or coax anymore. Fiber is where it's at.

It's not very hard if you do it on private property, but the difficulty level does go up if you have to use public right of way due to red tape.
Very nice additions!

Although I was secretly hoping that Awesome would add support for Guile or some other Lisp (IMHO Lua is Awesome's only drawback).
That's a classic misuse of cat.

Just use '<'.
The key with autocorrelated models is to benchmark them against a naive alternative. I really appreciate Jakob's point that the LSTM might simply be modeling one step ahead using the current data point and Gaussian noise. Such a candid assessment is important in applied work.

I suspect that, similar to other time series applications, you'll find some interesting signals from exogenous effects. I wonder how LSTMs can incorporate this exogenous information for time series analysis.
I'll be filing this next to Wired Magazine's "Five Most Dangerous People on the Internet".
B.F. Skinner, the father of behavioral psychology

“Give me a child and I'll shape him into anything.”
Are you sure kinetic missiles is the best use of a starship's mass? If I have a few kg of enriched uranium, I don't turn it into bullets to shoot at the bad guy. Starships seem to have some kind of reactor as well.
Projection clock for the ceiling is the best.
Google's working on Fuchsia. This might be exactly their plan.
I didn't see anyone say it yet; so The Old Republic is the name of the story-line that exists 3,000-4,000 years before the time of the Star Wars movies.

https://en.wikipedia.org/wiki/Star_Wars:_The_Old_Republic

The appearance of the Death Star plans in the prequel trilogy is not proof that development of the Death Star was started during 'the old republic'
My aunt's also a civil engineer, and she has a much more mundane explanation for why nails are OK and screws are not: if you use nails, someone's already calculated how many you need to ensure the structure isn't going to fall down. The strength of the nails has been calculated, their material properties are known, etc. The engineering work has been done.

If you use screws, you could have an engineer sign off on that structure (and then the inspector would let it pass), but the engineer would need to:

1) Find a data sheet on the screws you're using,

2) Do the calculations to show that you're using enough of them, and in the right places, to ensure the structure will stay standing,

3) Be willing to then sign off on the structure.

Depending on the screw, that data sheet may or may not exist.

I'm surprised your family friend didn't know this, or left that detail out of the story. Maybe he worked in another branch of civil engineering (sidewalks, sewer, etc) from structural engineering?

tl;dr: If you can pay an engineer to do the calcs (and sign off on it) to show that your screw-based structure will stay standing, the inspector won't be any problem.
Just a note, GPL 3 is not a permissive license, it's a viral license. BSD and MIT are permissive licenses.
http://blog.darknedgy.net/technology/2016/01/01/0/
OK seriously, who the hell puts up a 5MB PNG banner image???
SSDs are what breathe new life into old PCs. And they are quite cheap. My wife's laptop turned from extremely annoying to decent, almost pleasant to use.
> The millions of syntax extensions in ghci, some of which are incompatible with each other. This means ProjectA and ProjectB can be written in completely different, possible incompatible, 'dialects' of Haskell.

To my knowledge, there are no GHC extensions that are incompatible on a project level (that is, you could have one enabled in one file, another enabled in another, and it would break things). I'm much less confident that there are no extensions that are incompatible if you try to use them within the same file, but I am not able to think of any off the top of my head.
Yes the Drug War is a very bad government created thing, but this article is a good illustration of the conflicts in many libertarian positions: The government has strong influence over the shape and outcomes of markets, legal and illegal. That effect has a long tail into the future. So unless you are willing to wait decades, at least, if not generations, after abolishing government "interference," for the influence of government to wash out of the system, the argument that government should have minimal influence in our lives is unrealistic and unenlightening.

In the case of the Drug War, there would have to be a government program of addiction treatment, or we'll have addicts dying in the streets. There is no straight line from the Drug War to a libertarian paradise of self regulation regarding addiction.

The article also ignores the malign intent in the design of the Drug War. It was designed to injure minorities and enable authoritarian control. The political influences that caused that to happen are not going to just fade away with less government. They must be directly opposed and opposing structures will likely have to be created and institutionalized in law and in government to prevent the Drug War from staging a political comeback.
Gitpay creates an account for you without your knowledge
Gitpay scrapes github accounts and creates an account for you without your knowledge. You also have no way in managing your account details or delete your account.

I've discovered this when an alert came that my name has come up in a Google search.

I noticed that I had an "inactive" account on gitpay. There was a "sign in with Github" link, which I figured if I activated my account, I would have the ability to delete my account so I can purge this record.

The problem is, there is no way to do this since after you OATH with github, the site says "account management is coming soon"

This is not cool in my opinion for 2 reasons:

1) No service should create a profile (active or non-active) without your knowledge or consent

2) There should be a way for you to delete your own account. The fact that this service is live and doesn't have account management features... that's just absurd. How can one feel that it's appropriate to ship a service that has no such features?

It also turns out that all of my colleagues and github followers also have "inactive" accounts with gitpay and they never knew they had those.

I've attempted to contact who I believe is behind gitpay to no avail... so I decided to post a pull request for the feature to delete accounts. It's not the most elegant code, but it's a start that will at least allow me to delete my own account.

https://github.com/gitpay/website/pull/4
Animal.C a = NEW() # a can only be an instance of Animal, not Fish.

LSP says, "wat?" ;)

Although that only seems to be mentioned in the "Highlights" section and not in the language specification, so it's unclear if it's implemented...
oh dear me sounds like a modern day vision of that 3 rate hanger on of the soho demi monde in the 50's who dissed Tolkien in the sunday times back in the 50's
That tweet doesn't prove that the change was implemented in 6 days. It could easily have been started way earlier.
I wonder if you are in the book.
>meritocracy rooted in the notion of genetic supermen

Always funny to see phrases like that here, however if someone was force sensitive and had a zero midichlorian count they'd want them anyway, the order was never bred for their abilities, and with their vows of celibacy actively removed themselves from the gene pool. In regards to their use as a paramilitary, if a child was found to be able to read minds the CIA would be looking to kidnap them.
Very nice, I was originally thinking "Gee with NMEA signals they won't be able to do better than 1/2 second accuracy." and then realized its a wristwatch, you don't generally care about milliseconds and the watch can lose or gain a half second in a day anyway! So in fact it is engineered quite well for the requirement.

I also liked the antenna solution. Very nice piece of work.
Have you tried https://pkgs.alpinelinux.org/package/edge/testing/x86_64/rus... ?
Really. I thought about that when I saw Ruby 10 years ago and didn't like to type end to close blocks. However

1. Space { } are three characters like e n d and using the idiomatic do when needed is only one more character (and the editor types end for me)

2. It looks better than an orphaned }

Other solutions:

1) Erlang has , instead of ; and . instead of } A long list of .s is not idiomatic (doesn't happen) but it would be pointless (pun intended) in a language where it does.

2) swallow the pill and use both braces.

Going the Python way (I suggest not using the : ) would be a radical change.

I also don't like the shouted COBOLish keywords. Were they necessary?

Thumbs up for the new regexp switch statement.
Open borders (2012) – restricting immigration leads to efficiency losses
Note that @loic is verified, which is probably why Elon saw his tweet at all.
I always get the feeling that most man pages are written for people who already know how to use the commands, rather than people new to them. For example, if I already understand how tar works and have a general idea of how to use it, man tar is great to drill down and find specific options and switches that I need or don't remember, but if I have no idea what tar files are or why would I want them, the man page really doesn't help much in explaining things.

I guess you could argue this is supposed to be so and man pages are doing their job, since they are documentation and not tutorials, but still.
Because they're still using Mach, and most capable contributors moved on to microkernel-based projects that actually aren't hopeless.
Probably in the works for a while?
I've so much respect for the team behind handbrake. What a quality piece of software. Kudos to them to making it to 1.0 -- I hope to be using it for many years to come. It's cool to see H265 support too. That's something I look forward to trying out.
Unique, 3D-Printed Siberian Satellite to Orbit Earth
You can just use bash to make a 1:1 copy:

sudo cat /dev/sr0 > ~/example.iso
Doing this is not the same as plugging in an extension lead to your existing supply - its not going to be as cheap as you think I fear.
Please don't respond to a bad comment by making the thread even worse.
Yes I hadnt realised this was out until a few weeks back and it works really well.
it's a great short story, well worth the time
I didn't make any value judgments. Note the absence of the words “good” and “bad” in my previous comment.

Back on the original topic. What I said is that JavaScript is complex, not that it's bad. It may well be the case that JavaScript's complexity is essential for solving the problems it tries to solve. But you can't deny that the complexity exists. And you can't just wish existing language features out of existence, because the meaning of your code is given by what others can do with it.

In short: JavaScript probably has some simple subset. But, then, so does C++, famously.
I use it daily for parallel build process and I love it. Easy to set up, easy to deal with. Documentation was tough though.
Oh, yeah. Everything that does anything has a risk in the right context and dose for the right person. And marijuana can obviously have some pretty potent effects.
> Most superhero teams seem to operate on similar principles.

Agreed. This is why deconstructions of the superhero genre, such as Watchmen (or even lesser ones, such as Superman: Red Son), are so appealing.
If only the telcos here weren't so corrupt we could have more municipal fiber projects. Yes I'm looking at you Comcast.
Well, after all we've always used CAR and CDR! If it was good enough then, why shouldn't it be good enough now?

Also, the proposed new keywords were on average 50% longer. Just too much typing! With FST and RST they would have stood a chance. HD and TL would have been clear winners!
Yes, I think pcwalton saying that Go doesn't have subtyping is very confusing. What I think he was trying to say was that Go's subtyping is strange because everything is invariant, and that the use of coercions makes the questions you initially raised perhaps not so interesting.

For example, if you start with some base assumptions about which type constructors in Go are invariant, e.g., pointers, slices, arrays, etc., then you could feasibly come up with a rule like this: If T <: U, then Foo<T> <: Foo<U> if Foo's type parameter doesn't appear within an invariant type constructor in the definition of Foo. If a rule like that is all you need (and those types of rules have precedence in Go, like whether a type permits equality comparisons or not), then I think that more or less backs up pcwalton's point that subtyping isn't necessarily the thing you have to worry about when adding parametric polymorphism to Go. It's the other stuff, like the mentioned zero values and presence of `nil`.
< A lot of industrial Haskell sadly still uses string interpolation for SQL synthesis, or fall back on libraries that use TemplateHaskell to unsafely lock a specific build to a snapshot of a database at compile-time.

This sounds kinda off-putting, but I'm not totally sure what it means. Are the SQL libraries for haskell comparable to e.g knex, or psycopg, or sqlalchemy? The bit about string interpolation makes me think that prepared statements aren't used?
The Perils of Empathy
car and cdr may not be the best names, but they allowed for composition, like:

(caar x) == (car (car x))
(cddar x) == (cdr (cdr (car (x)))

Something which you can't do with first and rest. This has (AFAIK) always been one of the arguments for car and cdr.
Show HN: A JavaScript implementation of the Python's range() function
Most of the build fixes are offered upstream, not every upstream is interested in supporting non glibc Linux platforms alas. But gradually things are getting upstreamed.
Like I said, what's new is our unique ability to both target and blind it in such a way that it's difficult to respond to. It will require a whole set of technological counters to be developer to prevent untraceable entities from launching the "super predator" ads again.
This was the top complaint on the owner forums for months, both on official boards (forums.tesla.com) and independent communities (teslamotorsclub.com)
Electric charge stations are cheaper to build and have no logistic problems — just connect equipment to the high-power grid.
Not sure of this is a sarcastic response, but OP asked about the Master of Business Administration degree, not the Macbook Air.
Info pages are better for that.
Scani is a DIY ISP in France, member of the French Data Network Federation [0] initiative.

They run a wifi (ubiquiti based) mesh network[1] in a rural part of France, which spans roughly 100km north to south and 60km west to east.

They are about to roll out their own fiber network in this rural area.

If some of you are interested in these subjects, there will be a decentralised internet devroom at FOSDEM in Brussels in early February[2]

[0]https://www.ffdn.org/en

[1]https://cooperateurs.scani.fr/openinfos.html#11/47.9508/3.76...

[2]https://fosdem.org/2017/schedule/track/decentralised_interne...
I installed PIXEL on my Raspberry Pi a few days ago. It looked really good, and I was impressed how clearly everything comes out over the composite video output.
> but it doesn't make the system non-deterministic

Actually, it does. It's possible to calculate WCET involving ram accesses, as the behaviour is deterministic; there's a set latency.

It's not possible whenever SWAP is involved, which is why most of the realtime world simply avoids swap. This is mentioned in the Genode handbook, if you're willing to dig into it more.
It seems more likely that this is an example of Elon Musk doing a good job of PR - interacting with a popular social media influencer (Loic has 129k followers) to drive forward his plan. I would be surprised if this was not something that was already in the works.
Universal Windows Platform introduction
Damn that was pretty boss, moneyyyyy flowing in (or not to free up those spots)
The language does make a strong case for "code is read more than it is written", so it does make it easier/cleaner to quickly see the keywords, etc.

However, 2 improvements that could be made are:

1) being able to write the code as normal (if instead of IF, else instead of ELSE) and then using something like:

zu.fmt

To format the code (best of both worlds?)

2) Dropping the ending-brace. It will just lead to many errors that could otherwise be avoided

---

Also, if you are interested in a similar language, maybe Nim might be worth a look:

http://nim-lang.org/
Baidu and KFC’s smart restaurant suggests what to order based on your face
I think the concept of reasoning through analogy could kind of be like "call a friend" on game shows. If an AI had a directory of task specific agents, it could call on those agents to provide "advice".
It's funny you should say that because the one time Handbrake failed for me Bill Brasky showed me how to hand solder my CPU, and I'd be your aunt if it didn't fix Handbrake. Bill Brasky, RIP.
Hopefully they implement those ground-induction chargers in highways. Not a simple thing to do but I was happy to see I think Britain do it somewhere.
I installed a charger in my house, it's really quite affordable (usually less than $1k depending on the electrical work needed.) Level 3 chargers are pricier because of the 440v line that's needed, but those aren't needed everywhere. Level 2 (220v) will suffice and give you a good boost in range while you eat a meal, shop, etc.
Holy crap. This.

To paraphrase: "English, mofo. Do you speak it?!?" :-)

I have been programming for over 30 years (which I suppose means nothing if it's just doing the same year over 30 times, but bear with me). Every other language (at the risk of being largely self selected, I know) I have ever worked on seems to incrementally add things or shift ideas around a little bit.

Some communities might try to helpfully explain things to newcomers. But the perception of the Haskell community is that they revel in being as cryptic as possible in their purity.

I'm not even sure if the above comment was serious (it was probably deadly serious), or absolute troll fodder nonsense.

I know (more or less???) what a functor is, and I know what IFF means. Unfortunately, most of what I remember from mathematics comes down to a function has a domain of inputs and a range of outputs, and being a function implies you can predict the output from the input; a "type" is a rule for describing a set, possibly infinite (not much use for computing), of values; values can be "scalar", or multidimensional such as a vector/matrix/tensor. I know that "category" means something very specific to you guys, but not what. You lost me.
The Rise and Fall of an Accountable Health Care Experiment
Like "chrome" in the browser space.
There is a "fastboot" [1] tool from Google that interacts with phone bootloaders that support it and can be used to flash the ROM.

> There's no technical difference between that and just copying files to a usually write-protected partition.

"Flashing" usually means "uploading" a filesystem image onto a partition, not copying single files.

[1] https://source.android.com/source/running.html#booting-into-...
Personal anecdotes are good for very specific use cases, like this: I've tweeted at Elon before and he replied. I'm not verified.

https://twitter.com/elonmusk/status/752196881871040512
He probably just had an alarm set for the next incoming tweet with the right keywords, so that he could "respond within minutes". Then have some journalist write about it. Good PR!
I've always noted that it is the publications targeted at people in the finance industry that are the most accurate in their reporting.

eg. Bloomberg, The Economist, The Wallstreet Journal, The Financial Times

Probably because it's the last industry where people are willing to fork over money for reliable news
> hullabaloo over NSEERS

Bush or Obama, I don't think a single tech company publically refused to build this registry. What is the hullabaloo you are referring to. Why is it different this time? Also puzzled why I am being downvoted, is this a stupid question to ask?
> Until hardware H.265 decoding is introduced to the popular media center hardware, H.264 will remain the codec of choice for most people.

Might never happen, thanks to netvc.
Gnu man pages almost universally suck. You're expected to use the info docs or their HTMLified versions.
It's against the rules. Continuing will get your account banned, so please stop.
It first detects its wake word using pocketsphinx on around the last two seconds of audio. Audio older than two seconds is discarded. After detecting its wakeword it begins recording until when it thinks the user has finished speaking.

I believe the Poketsphinx part is offline so only commands would be delivered to Google.