skysight-inc/HackerNews huggingface dataset:
There are many editor plugins/configs which will allow you to evaluate code from inside your editor.

For instance, I use tmux/Vim/Vim Slime, which allows me to send code from the editor to the REPL (running in a separate tmux pane). This setup isn't as embedded or as fancy as some of the other options (e.g. Light Table). However, this setup doesn't force me to break my standard workflow and works with other languages which offer a repl or interactive console (e.g. Scheme/Racket, Ruby, Haskell, JS, etc.).
One of my commonly used Unix one-liners, using awk, is to get the sum of the file sizes for the files listed by the ls command (with the -R for recursive option if wanted):

ls -lR /path/to/dir | awk ' { s += $5 } END { print s / 1024 " K" } '

$5 is the 5th field of the output, which is the file size field in the case of ls output. The code inside the first set of braces runs once for every line of input (which comes from standard input, so from the ls command, in this case), and the code inside the second set of braces runs at the end of the input, calculating and printing the desired result of the total of all file sizes for files found by ls, in kilobytes. It can easily be changed to output the total in bytes or megabytes by dropping the '/ 1024' or adding another one after the first. Variable s is initialized to 0 by default at the start.

You can get similar info with "du -hs /path/to/dir" but the ls plus awk pipeline lends itself to more customization, such as adding conditions for the type or owner of the file, etc.
The same could be said about your comment. You spent more time telling the rest of us why it was uninteresting than you think the original link warranted.
It's a .bak file and yeah manually doesn't seem too awful as I look through all the tables. I'm thinking first need to install SQL Server Management Studio and then restore the .bak from there and then I don't know what would be the best next steps.
I kinda went over the standard on that.

The Go library I use allows to define custom algorithms, so I just set alg to ED2 and use it.

It's within the app only so it doesn't hurt much.

Also agree, it's rather frustrating that JWT is so well defined but something as simple as using Ed25519 is not part of the standard yet.
I've been using the Private Tab addon to open separate logins in the same window for years: https://addons.mozilla.org/firefox/addon/private-tab/
If someone from TrueOS reads this, you have some weird characters on your front page: http://i.imgur.com/GuOXYPJ.png
Not Marketo
I thought Uber wanted its drivers classified as consultants, not employees. Though measures would work against it.
Ok, so I propose (for the sake of argument) the following model: any message posted on an electronic message board that casts aspersions on "The Establishment" was actually written by an AI running on a computer in Siberia.

Let's suppose that many people find this model useful, because it allows them to dismiss such posts without having to critically engage them. They downvote/flag all such messages, and they feel good for having done so because they believe they are resisting an attempt to manipulate their opinions.

Do you have any problem with this?
You could do a survey about peoples' eating habits, and no matter how you go about it, the results will be fraught with error, despite it being arguably objective.

Most people have a pretty poor idea of just what and how much they are actually eating.
Seriously. It takes something like seven years, not counting undergraduate studies, to become a practicing physician. And once you achieve that, you can still only handle one physician's worth of case load. It takes far less time to learn enough math to become dangerous to a particular subfield of cryptography --- and once you achieve that, you have a decent shot at changing the state of the art for the entire world.

I'm not seeing the legitimate concern here.
I'm not sure I follow. You still need to communicate the public key securely.
I'm not sure if this is the 'right' way to do it, but here's how I do it with Cursive (should also work with other editors):

1. In project.clj, add the nrepl port for figwheel:
:figwheel {
:nrepl-port 7002
}

2. Start figwheel with `lein figwheel` and open the page in the browser

4. In IntelliJ, Create a new Clojure REPL -> Remote, pick "Connect to server" and enter "localhost" and 7002 for port.

5. Start the REPL, it should connect to the figwheel repl, then type (cljs) and you should be in the ClojureScript repl.

6. Test that it works:
(js/alert "Hello")
Terrible headline. This is scraping, backing up, and transferring data. This is not hacking
The about:config pref to control the number of content processes shared by tabs is "dom.ipc.processCount".
If it is not sensitive information, I would be curious to know the JWT you tested with, the key used, and the key that program found
Short term equity is speculation. Long term equity is more of an investment.

I think bonds are considered investment although to the price sell them before term fluctuates.
Nice work, thanks for sharing
AMPEX demonstrated magnetic tape recording in 1947, based on the German magnetophone technology used during WWII. Shipments to radio stations began in 1948.

http://www.aes.org/aeshc/docs/company.histories/ampex/leslie...
Out of interest, if you're going to go off-standard, why not just use libsodium and get decent crypto?
stat·ism
ˈstādˌizəm/
noun
noun: statism

a political system in which the state has substantial centralized control over social and economic affairs.
"the rise of authoritarian statism"
> I do believe that personality can change

I don't think personality actually changes much, it just has some latent and some manifested aspects, depending on circumstance. In different circumstances it can manifest different aspects. It doesn't mean it changes, just that it can variate depending on context.

It's often possible that trying to change your personality would lead to much suffering, because it's inherently difficult. I read some time ago a psychological study that applied MBTI to cult members. They were asked how they viewed their personality before, in the present and in the future. The trend was to attempt to emulate the personality type of the cult leader. Their happiness was inversely correlated to how much off-base they were attempting to be.
Fundraising Simulation for Startups
This is why I ask when it will be enabled by default on Beta or Release. Any idea when is planned ?
> Let's say that consumers need a BLT sandwich to use mobile networks.

Haha, yes! BLTDRM? The world needs more BLT sandwich requirements :)

Thanks for taking the time to write up such a great response. Not being very familiar with this topic, your simple examples made this much more approachable and were a joy to read.
> Having a large partition also means the data in it cannot be distributed around the cluster.

Why can't a large partition be distributed around the cluster?
Did u even use Hololens? Hololens is the best AR with best Tracking and mapping.

Comparing AR device with VR device itself is not correct.
Every one in VR world knows HTC Vive has far superior experience than Rift.
Another great thing is, they offer a lot of binary releases, especially for ARM platforms, so it works out of the box on e.g. Synology NAS (the Marvell based ones).
That is definitely strange, if it is not sensitive data, would you mind sharing the JWT and the original secret? or try to find another example where it behaves like this?

Thanks
I wonder if this is because it's Titanium oxide or because it's nano particle.
If one is seeking therapy they usually do so because they are experiencing some sort of distress in their lives, thus they don't need to be convinced there is something wrong with them - they already know and presumably want to fix it.
This article is 20 years old, but it provides some good background on David Deamer and the "membrane first hypothesis":

First Cell - http://discovermagazine.com/1995/nov/firstcell584

The droplet idea examined in the article could be described as "droplet first" and Deamer is quoted, since the droplet model is clearly a competitor to "membrane first".
awk one liners:

http://www.pement.org/awk/awk1line.txt
Some users can have more than one external IPv4/IPv6 address (One for each Internet connection, if they have multiple). In order to use all internet connections for the download, they would have to initiate multiple tcp sockets.

What kind of logic should this app use to determine how many external addresses are actually available in the case of IPv4? As you say, it is more "tcp fair" to have only one TCP connection per client/server relationship in normal cases.

Just some random thoughts. Apologies if it's difficult to follow. I can reply to any questions if anything is confusing.
" I think it's somewhat interesting that 5000 or so lines of C code polished over 20 years still has memory bugs."

Typical might be the word you're looking for there. The CompSci people doing static analysis for C programs often apply them to popular FOSS. They find new errors about every time.
Inflation is a great example of a statistic that appears to be model-free, but actually has some hidden assumptions behind it.

In my country, inflation has been comfortably in the 1-3% range since the '90s. But house prices have risen by about 6-8% per annum over the same period. So as a non-homeowner, the inflation I experience is substantially higher.
Prince made a song for you.
How I got a psychosis and overcame it
GDB 7.12.1 Released
Wow this is great. I had no idea this existed. Thanks for the tip!
Since brute forcing the HMAC is pretty much the same as brute forcing the underlying hash function, you would probably want to use a GPU instead of your i7.

Using [1] as a reference for a specialised system in a price range affordable to hobbyists, assuming HMAC-SHA256, a 48bit secret would take about three hours to brute force (48bit is about 10 letters all lowercase), while a 64bit secret would already hold 25 years (assuming no upgrades etc).

With sufficient volume you can probably build such a system for about $5000-$7000. Let's assume $5000, because that number is rounder. If you spend $1,000,000 on your setup (so certainly professional level now), your 64bit secret only holds 44 days.

If the NSA would spend 10% of a single year's budget on GPUs, the resulting machine could crack a 64 bit secret in one hour, but a 84bit secret would take 100 years to crack (84 bits is about 17 lowercase letters, or 14 mixed-case, or 10.5 bytes if you use the entire range of the byte).

Of course that ignores some scaling effects (if you spend $1billion you get much more bang for the buck by designing custom ASICs), but it should give a sense of what's secure against whom. By using proper 256bit secrets you should be secure against everyone until the end-of-life of your application.

1: https://gist.github.com/epixoip/a83d38f412b4737e99bbef804a27...
Also the Blattnerphone (steel tape):

https://en.wikipedia.org/wiki/Ludwig_Blattner
How would you design a user interface for container tabs that non-technical users can understand?

Something like container windows, isolating different browser windows instead of tabs, might be a clear way to visibly show the separation to the user. In one window, they can log into their work Gmail. In another window they can log into their personal Gmail without any Google cookie confusion.
You must have a very particular idea of what "functional" means to include JS. What definition of functional programming does JS meet that you can't apply to nearly every language? It can't be that it just has first class functions, lambdas, or higher-order functions: many, many languages have that.

Functional languages emphasize immutability. Javascript does not do this. Clojure[script] does.
Lazy I guess.

The JWT Lib does most of the work and I just stuff in the Ed keys on both ends, don't need to do anything beyond that.
Oh yes, the JVM is a pain.. 30 seconds just to start the app is a tough sell for a naturally-speed-obsessed C++ coder like myself.

I've used 'the JVM argument' to justify putting the language aside for a year or so, but now I'm back and it doesn't seem to bother me as much.
That would have been my "IAN-KNOT.COM" executable animation, which was first built in Jul-1993 and then optimised in Feb-1994, and which was uploaded to various BBSs (as we did in the years before The Internet.) I should put that program on my website for old times' sake!
Show HN: MakePDF. Free API to create thumbnails from PDF, perform OCR, and more
It is so sad to see Evan B saying Marketing phrases trying to protect his investments.
Cassandra uses consistent hashing. A partition is a segment of data identified by the partition key to determine which node in the consistent hash ring owns that data.

You cant break down partitions any further because it's just a name for the smallest cohesive set of data owned by a hash key, so instead it's advisable to use more partitions with data modeling rather than making them huge.
It's possible that the geoIP records for a large IP block or set of IP blocks has been corrected (or broken) to reflect UAE.
Connecting and Archiving ALL of the Women's Marches
Why Raising Money Isn't Cool
As someone who has done a lot of programming in Haskell, I'm glad to see that the limitations of composability across program boundaries is being recognized as a problem. (And it may be a problem that Haskell can't fix without some help from the operating system.) When you have to convert data to type "String" in order to send it over a pipe, and then convert it back in the receiving program, that sort of defeats the purpose of having a strong type system in the first place. Similarly, if you have a bunch of processes, each with their own IO Monad interacting with each other, it starts to have an uncomfortable resemblance to the shared mutable state that Haskell tries so hard to avoid.

As for the question of why Haskell isn't more popular, there are a lot of possible reasons. GC overhead and less control over memory layout makes it less performant than C/C++ and not really suitable for real time tasks. Some algorithms are hard to express without mutation. (The ST Monad is usually appropriate for those cases, but it's kind of cumbersome to use.) Laziness makes memory and CPU utilization hard to reason about. The learning curve is very steep. There aren't many books on "advanced" Haskell programming, or writing system software in Haskell.

One of the things I really like about Haskell is that you never stop learning new things, and new abstractions and libraries are being invented all the time. After 25 years or so, we're still figuring out new ways to program in Haskell. This has a couple of unfortunate side effects, though. One is that programmers can become distracted from the task at hand and direct all their effort at figuring out a better abstraction to solve their problem. A lot of great things come out of such work and sometimes it pays off it terms of productivity, but I think the common criticism that there isn't enough practical, "boring" software being written in Haskell is justified. Another problem is that it's hard for Haskell programmers to communicate with each other or understand each other's code when they haven't learned or are comfortable with exactly the same set of abstractions.

I do think Haskell is on to something good. I don't expect Haskell to take over the world, but I think in a hundred years people will look back and say that ideas from Haskell were a major influence on later languages that were more popular. Learning Haskell is probably a good way to prepare for languages of the future that haven't been invented yet, in the same way that learning Smalltalk would have been a good way to prepare for the object-oriented languages that came after.
Interesting, it works fine for me. What browser are you using?
I hope you find your ideal Haskell job soon.
Applying deep adversarial autoencoders for new molecule development in oncology
I've actually just bought the brand new XPS 13 developer, and planning to install eOS as soon as I get it! I believe I'll need to upgrade the kernel to get full use of the processor arch, but others have done it, and have mostly been successful.

It looks really good though, and the community behind it seems to be growing, so I'm hoping to become active contributor.
I like where this is heading but their pre-selected categories don't make sense. Container isolation should be based on security requirements rather than site content. E.g. shopping and banking have similar security requirements that are different than following a click-bait link on facebook.

I'd like a container per Google account since trying to switch users in their apps is a disaster that forces me to run multiple browsers.

I'd also like to tie sites to specific containers. So supposing Banking stays its own category, that should mean that any sites that open in the Banking container will never open in another container. Similarly it should be possible to whitelist a set of sites for a container so e.g. only specific banking sites will launch in the Banking container.

Each container should have its own set of security permissions.

I'd like to have disposable containers. I want a safe space where I can open a sketchy link and not have to worry about that page doing anything to the rest of my environment.
It is a really counter productive meme. My theory is that engineers are so comfortable using logic to solve problems, and viewing solutions as right or wrong that they fail to adapt when there are shades of grey.

Get a bunch engineers in a room and they'll argue forever about a solution because they don't understand their own biases or how emotion is clouding people's judgement. Bringing a bit of empathy can resolve these impasses so much more quickly.

The most effective technical people I've met have combined intelligence with an ability to get people on board with their vision.
Just as an aside most DBRMS come with query profiling tools to help you optimize and troubleshoot queries in relation to the schema. EXPLAIN in MySQL has saved me many times, or at least enabled me to ask intelligent questions: http://dev.mysql.com/doc/refman/5.7/en/explain.html
I've had good experiences with Postmark, though I haven't tried them at large scale.
The problem with this perspective is you can't know your true limit until you actually reach it by trying to improve. So you might as well keep aiming a little higher.
It is used by NASA and they are stupid as per your post.

Where did you see the "rigged demos"? It works as shown in the demos if you even understand what it can do and do not. Your 20 minutes on hand demo never shows/teaches you any thing.
I used to be a very overconfident, arrogant, extroverted asshole but after a while in depression I started to look inwards and recovered a totally different person. I am now more empathetic, more emotional, introverted and hopefully not an asshole anymore. I do really believe that strong stimuli like depression can trigger lasting changes in your personality.
I've been learning this at work as part of a get-good-at-Linux regime :) One of the most surprising things for me is that as horrible to a beginner that some of the one liners in the command line can look, it's actually quite a forgiving scripting language. I don't think I've seen another language where you can increment a variable without declaring/initialising it, nor where you can set indices on an array without it being declared (except in a constructor fashion I guess).
*(3) see Assad.
Im bookmarking that. Reason is David Wheeler and I's discussion of countering compiler subversion. Need to bootstrap the C compiler with something trustworthy & local. I looked into Perl since it's industrial strength and widely deployed. He mentioned bash since most (all?) UNIX's had it. My next thought was converting a small, non-optimizing compiler's source to bash or awk. So crazy it might work.

Now, you've posted a compiler/interpreter in awk for a C-like language that could allow easier porting of a C compiler's source. Hmmm. The license would have to be BSD so the BSD's could use it, too. Or pieces of it in my own solution.

I have a feeling whatever comes out of this won't make it into next edition of Beautiful Code. ;)
Aren't most of the illustrations in their patents just unattributed tracings of other people's work?

http://gizmodo.com/magic-leap-ripped-off-those-awesome-ui-co...
Cassandra uses consistent hashing. A segment of data that is addressed by a key is called partition, found by the partition key. Partitions can contain just 1 "row" if you only use a single column as the key, or you can create a compound key with a part dedicated to finding the partition and the rest to finding several rows within that partition.

If you use a compound keys (multiple rows), these rows are all stored in the same partition (which all lives on the single node which owns or replicates that partition in the consistent hash ring), so scanning those rows is very fast and efficient.
I don't know what this means. People in the U.S. use Tor, has it lost as a regime? What does "lost" mean in this context? Some moral authority? All moral authority? I think we can say that as governments do in fact continue to exist while their citizens use Tor, that the statement is sufficiently vague that it's meaningless.
Bear in mind that this was twenty years ago, so it's not exactly fresh in my mind; but basically: it was intended to do one job, once, which was to compile the real compiler (written in a simplified version of the language) into bytecode. Once that worked, I would never need to touch it again.

Which meant that it was perfectly allowable for it to be hacky and non-future proof, which it was.

Here's part of the code which read local variables definitions (in C-like syntax):

function do_local( \
nt, st, n, t){
nt = readtype()
st = tokens
ensuretoken(readtoken(), token_word)
n = tokens
outofscope(n, 1)
ldb[n] = "var"
ldb[n, "type"] = st
ldb[n, "sp"] = sp - spmark
emit("# local " n " of type " st " at " (sp-spmark) "\n")

tokens is the value of the current token, ldb is the symbol table; you can see how I'm faking a structure using an associative array indexed by keyword.

There's nothing actually very wrong with this code, but there's no type safety, barely any checking for undefined variables, no checking for mistyped structure field names, no proper data types at all, in fact... awk wouldn't scale for making the compiler much more complicated than it currently is. But it did hit the ideal sweet spot for getting something working relatively quickly for a one-shot job. It's still really good at that.
Um.. On the front page - "Simply run the binary [1] for your platform"

[1] https://docs.gitea.io/en-us/install-from-binary/
The only dishonesty in this is its insinuation that America is any better.

I'd say the amount of "fake everything" that pervades US society is about the same, but the population is in greater denial.
Theranos which had huge investments turned out be mmm a sad story. Big money from big companies does not mean it is true. They also fell for the hype.

Rony Abovitz must be a great salesman.