skysight-inc/HackerNews huggingface dataset:
This so much. Using grep, cat, cut and sed to parse log files (in my case output from quantum chemical calculations) is really nice.
This is a great exploration of something many folks wonder about. Kudos to the author, especially in realizing that target prices aren't a great variable to use when optimizing investments.
Java is perhaps cumbersome to use at times (and especially in older versions), but it's not a complicated language, in fact it is a lot simpler than most.
Ah, that makes sense. Thanks pault.
Rust doesn't have two string types. They have one string literal type (str&) and a poorly named string buffer (String).
But without inheritance what actually is OOP? Haskell has typeclasses. Rust has traits. Is there anything they lack before one could call programming in Haskell or Rust OOP?
Shanghai vs. NYC subways
Embrace empathy
True - but can you ELI5 for everyone - even though we can infer based on being in tech and can see this - but spell it out for others...
I kind of envision bots communicating via some form of "side channel" like bees dancing (coded messages in micro-moves/emotes withe their avatars)...
> it's procedural (like C and Fortran)

Wait... do you actually believe that? Tons of C software is OO through and through, has been since C existed.
The new Twitch Desktop App is here
If you want a powerful debugger with a crappy interface that is widespread (and programming java) try jdb. It comes with the freaking jdk tool chain so it is basically everywhere, however, gdb can't hold a candle to the horrible experience it is to use jdb without a graphical frontend. The documentation is about a page and a half, that is all, classes must be fully qualified with packages (which can have dozens of levels) in all commands, and it does not use readline for input!!! No left or right arrow to move the cursor! /rant
"The Sports Gene" [1] is an excellent book on this topic backed up by not only research but entertaining stories as well. It has a section about Dan but also has stories about a world champion high jumper who dedicated his life to high jumping only to be surpassed by someone who wasn't really interested in it and had been practicing for less than a year.

I think the lesson to take away from Dan's experience and what the author of this book argues as well is that yes, practice can make you a lot better. But to be among the best in the world, you'll need to have some sort of genetic advantage.

[1] https://www.amazon.ca/Sports-Gene-Extraordinary-Athletic-Per...
The reverse debugging portion of this video was mind blowing. I had no idea you could do that.
This explains why the first 4 or so comments on the wsj article all focused on pointing out it had new information. Perhaps hacker news needs a separate "meta" discussion page, so we can have that debate aside from the normal discussion.
Congrats on enjoying the fruits of your labors sir!
Personally, I think Google is just as terrifying, possibly more.

As an example, just take a fairly normal life situation like going out for dinner with some friends, and think about how much of it goes "through" Google:

---

One of your friends sends an email to 6 others, to ask if everyone's free for dinner on Friday. 5 of the 7 people involved use gmail or a google apps address.

You've never heard of the restaurant they're suggesting, so you search for it on Google to see what kind of food it is.

You click to the restaurant's site. It uses Google Analytics, so even though you're no longer on Google, it still knows the exact path you take through the site while you're "outside".

You decide the restaurant looks good, and enter the dinner into Google Calendar.

On Friday, you use Google Maps to get to the restaurant, so Google knows exactly where you were before, what time you left, and the route you took. While you're driving, maybe you send a couple of text messages using the Google voice assistant.

At the restaurant, it turns out your friend Doug is there, even though he wasn't part of the emails. During dinner, you're all trying to remember the name of that movie where Shaq plays a genie, so both you and Doug grab your phones and google for phrases like "shaq movie genie" at about the same time. Even though Doug wasn't included in any of the planning, Google now knows that you're almost certainly together, and what you're talking about.

You finish your meal and pay via the restaurant's Square system, which emails the receipt to your gmail address. Google now knows exactly what you ate, and how much you paid for it.

You use Google Maps again when leaving, telling Google exactly how long you stayed at the restaurant and where you're going next.

---

I didn't even push that very far. There are multiple other things I could have easily added, and you can do this with almost any situation. It's quite insane how much Google knows about what people are doing all the time, and the level of detail they can get by combining these things.
I have no doubt.

I spent some time recently diving into Azure ML Studio. It's a rough product still, with a lot of opportunity for optimizations/better UX.

I reckon the administration is much nicer, and probably closer to the designers/architects' UX understanding.
very roughly 25% less compile time, according to their graph.

interesting that they're also planning to replace proguard. so we'll have d8 and r8.
[PSA] Fixing CVE-2017-12836 in GNU Cvs
Brave New World not 1984.
Ways to Increase traffic on Blog for free- Best followed strategies
Benchmarking nftables
Of course.

Consider though:

a, b, c = (l[0], l[1:-1], l[-1]) is also feasible, but I think it adds a bit of overhead
> functional methodology says exposed algebraic types are OK

No, it absolutely doesn't. Functional methodology is absolutely orthogonal to data abstraction.
Great, thanks for looking it up and sending the link.
This reminds me of the Google guidelines[1] for when to use Bash.

Between Python's extensive standard library and the ability to call shell commands[2] if necessary, I rarely reach for Bash.

[1]: https://google.github.io/styleguide/shell.xml?showone=When_t...

[2]: https://stackoverflow.com/questions/89228/calling-an-externa...
While what you say is true, to quote the second-level comment: "They're talking about coastal migration over centuries"

That requires neither a big boat nor one which can cross large stretches of water. That's why I didn't understand where your comment fit into the topic.
I just might drop him a line, thank you!
I think the author forgets to mention that the primary reason bash is used is because of its cross distribution support.

I known if i write my script in bash it will work on any small linux distro.

I think python is a close second, but it still use bash to bootstrap my environment for my real work.
A bit of context from the original community mail list post, "it supports post mortem debugging by saving a zipped execution context onto S3. This is particularly satisfying as at a recent serverless conference (JeffConf) there was a panel where poor development tools on serverless platforms was highlighted as a real problem.

Debugging something short lived like a Lambda execution is quite startling, as the current answer is 'add more logging', and we all know that sucks. To this end, I’ve created a little screencast showing this in action - and it was pretty cool because it was a real example I encountered when I got everything working and was trying my test application out."

@2:17 "PharoLambda has serialized the execution context of its application and saved it into [my S3 bucket] ... [then on my local machine] rematerializes a debugger [on that context]."
I like the idea, but that Python code doesn't look like "without much real work." The bash script is so much shorter.
If society is being torn apart, then the era of peak togetherness was vanishingly small. I mean, we had our first non-white male president less than a decade ago. That's a really hyperbolic sentiment when a lot of sizable minorities have never or only very recently felt resonably included in society.
I wrote this a few years ago about trying to predict earnings movements from stocks from about 10 years ago.

https://news.ycombinator.com/item?id=9353569#9356652

It turns out the best I could do at the time was to rank the analysts and weight their preditions by their ranking.

It actually worked well for a few years, which is a lifetime for a trading strategy.

Sadly earnings movements have gotten a lot harder to trade on.
Facebook's new China app is reliant on WeChat
I discovered #4 through him and I agree both with his summary and the paper itself --- canonical Huffman is astoundingly simple if you look at it in the right way, yet almost everyone doesn't.

ryg is also a member of the Farbrausch demogroup, which has released some amazing demos. This one is probably the most memorable: https://www.youtube.com/watch?v=Y3n3c_8Nn2Y
"There is golf, and then there is tournament golf." - Bobby Jones. Dan picked one of the most ridiculously hard endeavors to 'master' and never even had a cup of coffee at a mini-tour event, let alone advancing in any of his state qualifiers or local invitationals. Even the pros who have their tour card but are not in the field for the next tournament sometimes play in a 1-round Monday qualifier, and they have to shoot in the mid to low 60s to top a field of 125-185 players to grab an open slot. Even then they likely will miss the cut at the event, as most tour players do week in week out - except the true superstars. A 2-handicap shows you can manage your way around a course, but it's miles away from tour-level. Tour players are in the +5 to +8 range at their home clubs, and those are all championship tracks they play from the tips - just for practice.
Patreon, no, but we've tried to ask for donations before. It worked well I guess but nothing recurring. I'll look into whether Patreon might work for us.

Thanks for the other tips as well!
Summer Fridays tend to have an earlier rush hour than other days of the week and other times of the year. People try to get a jump start on their weekend.
As the claim is regarding circumventing access control, I doubt the specific technical means by which it is blocked is relevant - Admiral's interpretation of the DMCA considers the outcome (the domain is blocked), not that the list includes a domain which they own.
Several flaws immediately jump out, all potentially fatal to the conclusion and title:

1. "We will do so by removing outliers in the 10th and 90th percentiles." you can't remove outliers when investing unless you have a time machine

2. Their "starting price" includes an average of 10 days, 5 of which are before the analyst releases the recommendation. Again, to buy before the release requires a time machine (or inside information). Suppose a stock is at $50 for 5 days, an analyst releases a $75 target, stock jumps to $60, then hits $70 over the next 12 months. The gain based on the average of $55 would be $70/$55= 27%. But the average based on what price you could actually buy it at is $70/$60= 16%.

3. They narrow down analysts apparently a second time to pick out only the top 10, which seems to be distinct from the first outlier removal (not entirely clear what's being removed in either case.)

I see no statistical tests relating to removing outliers, significance, etc. This is all besides the considerable degrees of freedom (cutoff price, cutoff marketcap, 100 rating minimum for analysts which seems to have been implemented after collecting data, etc).
Same reaction here - this is based on the premise that the data was transferred directly from the DNC server to somebody's home connection, and doesn't allow for the possibility that it was first transferred to some server in a data center.

https://blog.serverdensity.com/network-performance-aws-googl...

Just some random article from 2014, look at the data points for transfers between data centers where anybody can rent servers:

Amazon "us-east" <-> "us-west" 210 mbit/s
Google "us-central" <-> "europe-west" 189 mbit/s
Rackspace "Dallas" <-> "North Virginia" 534 mbit/s
Softlayer "Dallas" <-> "Amsterdam" 61 mbit/s
Would you not consider shadow profiles a form of imprisonment? Perhaps not quite as strong as voluntarily giving heaps of information, but still a rich source of data on people who do not use Facebook.
Didn't Zuck assist Pakistan in enforcing blasphemy laws resulting in a mans death sentence?

Here's a prediction. Zuck will be the face of the Democratic party in the next 12 years.
www.fast.ai
There are now several hundred XCMDs on the Internet Archive you can browse through!
https://archive.org/details/hypercardstacks?and[]=subject%3A...
Scanning the article, it appears that the author is using two years of data in order to reach conclusions and this is because only two years of data was available to the author. If these same criteria were measured with two years worth of data ending on December 31, 2008, the results would look quite a bit different.
Of course we're not opposed to spending the effort to target the advertising. It's a recurring theme in many suggestions here and we're definitely going to look for ways to improve our targeting. Thanks for your comment!
I'm surprised that developers use Windows as their daily driver to be honest. My gaming machine which runs Windows shuts off daily. My work laptop with Linux just sleeps.

If you choose to use Windows, you will have to reboot frequently.
YouTube AI deletes war crimes evidence as 'extremist material'
> The core concept of most OO designs is that data is coupled with the methods that operate on that data.

I've read this a lot, in this discussion and elsewhere, for years. But what does it mean? Does it mean data is syntactically coupled with state? Otherwise I don't get why pretty much any C program is an OO design by this definition.
"During a radio interview in 1956, Bradbury said:

"I wrote this book at a time when I was worried about the way things were going in this country four years ago. Too many people were afraid of their shadows; there was a threat of book burning. Many of the books were being taken off the shelves at that time. And of course, things have changed a lot in four years. Things are going back in a very healthy direction. But at the time I wanted to do some sort of story where I could comment on what would happen to a country if we let ourselves go too far in this direction, where then all thinking stops, and the dragon swallows his tail, and we sort of vanish into a limbo and we destroy ourselves by this sort of action."

https://en.wikipedia.org/wiki/Fahrenheit_451
I use the Facebook app, but it is in a separate phone used for nothing else, and lives permanently on a desk at home.
Additional idea: do some volunteering outside of the tech industry.
> They also mentioned that in the beginning the bot figured out that the best way to win was to not play the game (aka hiding in it's own base).

"A strange game. The only winning move is not to play."

- AI "Joshua" in "Wargames", 1983
The point of my shell project Oil (http://www.oilshell.org/blog/) is to get rid of the shell vs. Python debate.

My claim is that, in general, X isn’t a good bash replacement, where X is Python/Ruby/Perl/JavaScript. I think that’s obvious to some people but not to others (typically X programmers who don’t know shell, which was me in the not-too-distant past).

This article is good because it has a port of a realistic port from shell to Python. But to me it only succeeds in proving the opposite point -- that porting to Python is a lot of effort, and the result has a lot of detail that doesn't match the problem domain. Error handling is possible, which is good, but awkward. And now you need external librariesl like psutil, then a package manager and special deployment tools for Python. (And you probably need some shell scripts to build/deploy your Python...)

One thing I don't see is the complete result, which from the looks of it is pretty clunky compared to the 20 or so lines of bash.

-----

About Oil: I realized that not everyone was getting the point of it, so I resolved to write an “elevator pitch” [2].

I haven’t published that post yet, but the pitch is: Oil is the language you can convert bash scripts to automatically, once they become a maintenance problem

That might happen at 50 lines for some people or 1000 lines for other people.

Oil will have a more uniform syntax [6], not 4 different sublanguages [3]. It will get rid of word splitting, and have proper arrays [4] and hash tables. It should be easy to write a test framework in it, as opposed to bash test frameworks like bats [5] which actually modify/extend the language because it's not powerful enough.

There are some cases where porting from bash to Python is a good idea. But I also had the revelation of porting Python to shell, and being relieved (e.g. more than one deployment script). I was a Python person and I came at it from the opposite side. Shell is really expressive, but it’s hampered horrible syntax and a bad/old implementation.

In summary, the conundrum of porting things back and forth between bash <=> Python/Ruby/Perl/JavaScript is why Oil exists. It seems like this debate will never end, and I hope that the “automatic conversion” property [6] is a unique argument in favor of Oil vs. X.

If anyone is skeptical of my elevator pitch I’m interested in the feedback :) You can also try the first release [7].

[1] http://www.oilshell.org/

[2] http://www.oilshell.org/blog/2017/07/31.html

[3] http://www.oilshell.org/blog/2016/10/26.html

[4] http://www.oilshell.org/blog/2016/11/06.html

[5] https://github.com/sstephenson/bats

[6] http://www.oilshell.org/blog/2017/02/05.html

[7] http://www.oilshell.org/blog/2017/07/23.html
You think you can turn off FB? Guess you haven't heard of shadow profiles.

Wasn't the CIA an early investor in FB? Yeah, give it some time ;)
If you ever get the stack of that disk, please do upload it. I'd love to see it!
I love both bash and python. I almost always write the first version of a script in bash, especially if it involves piping between commands, managing processes, or moving files around the file system. Only when there is significant parsing involved do I reach for python -- and even then, it's often easier to just use python for the bit of parsing that's necessary, within a heredoc using python -c.

The example script in this article hardly made use of pipes. I think if you tried to convert a shell script that used a lot of piping, the python might not come out so elegantly.

As others have mentioned, bash, or at the very least shell, also has more cross platform support (certainly more than python3). Even on resource constrained or embedded systems, you're likely to have access to a shell, whereas python is not guaranteed to be installed.

Both are good tools, and both excel in different ways; but I'm not prepared to throw out the baby with the bathwater and say bash is useless, always use python.
Cloudenablers offers orchestration solution
The code is constantly 1 second behind.
if you need a backend api and all you have is javascript developers, or you're proof of concepting something quick.. probably only reasons i can think of
We're already doing some of those things on our website, or we have experimented with them in the past. At the moment we are trying to focus on the newsletter a bit and find ways to better monetize it. Thanks for your comment!
How Interfaces Are Refactoring Our Code
And the file could be published on IPFS so hosting it is not relevant. Hash would ensure that you're getting the right file - from any IPFS node. There is even an HTTP bridge for IPFS content.
How can you know that without comparing the same programs with a FP version? What if those codebases would become messy even with FP simply because the problem they are trying to solve is difficult? Also in what way does OOP prevent you from writing the code in a FP-style? It doesn't because the concepts FP and OOP are orthogonal.
Top 5 Tips for Teeth Whitening at Home
bugzilla still uses it to show the "Please wait while your bugs are retrieved." page while executing a search to then replace the page with the results.
to understand advanced mathematics, is to start reading books on philosophy
Well in Python 2.* lambda was quite broken. There are also the runtime performance impacts, error detection, ease of writing a performance JIT.
In Visual Studio 2017 you can open an executable directly and begin debugging it without having either of those things.
Also see this Twitter thread: https://twitter.com/EliotHiggins/status/896358097320636416

> Ironically, by deleting years old opposition channels YouTube is doing more damage to Syrian history than ISIS could ever hope to achieve

> Also gone are the dozens of playlists of videos from Syria I created, including dozens of chemical attacks in playlists by date

> Keep in mind in many cases these are the only copies of the videos, and in some the channel owner will have died, so nothing can stop it
SendGrid at the moment, but thanks for mentioning Sendy. Looks promising! Reducing email cost is definitely one way of making the NL more profitable. :)

One potential problem with switching is trust in the new IPs. Any tips for a successful migration?
There are two main reasons for this:

1. Ever increasing regulatory burden (basically increasing government)

2. Ever increasing self-imposed diversity burden within corporations (few productive people dragging up a bunch of SJW redistributors)
It is incredibly low for bonds in the "junk" trough. For companies with Tesla's credit rating, you're typically looking at 6.5-7.8%. If you're GE, you're of course going to pay a lot less, but GE has a much more robust credit history.
The article is about how C & Fortran ("traditional languages" by 1997 standards) compare to C++. This is not about functional- but procedural languages vs. OO. (!)
Replace this with "coal bubble" in WV, "oil bubble" in SD, "Hollywood bubble" in LA, etc. etc. etc. or just title these "20-something learns there's a world outside their immediate environment and boy howdy is it different."
Video games could soon replace pills in treating some cognitive diseases
I'm not a golfer, I played a bit as a youth so I'm familiar with the basics but that is all.

I'm curious how they'd toughen the course just for the tour event? Was it things like changing the size/position of hazards or were there more subtle differences?
What is wrong with being skeptical of a publisher or source? Surely you don't claim that every source is equally valid.

In fact, my original post, which expressed dismay that we celebrate Rolling Stone for reporting about LIBOR, has been downvoted 4 times.
Actually, the article makes some far-fetched assertions which may not even correspond to reality and may not even be worth discussing at all.

OO (in this case the author means C++) is less related to a programmer's understanding of reality compared to C because... programmers of the 90s make more errors that are harder to fix in C++.

Yeah. Right.