skysight-inc/HackerNews huggingface dataset:
Amazon's latest CAPTCHA idea tests your understanding of Newtonian physics
'use strict';
var mongoose = require('mongoose');
var Schema = mongoose.Schema,
ObjectId = Schema.ObjectId;

var CompanySchema = new Schema([{
name: {type: String},
displayName:{type: String},
erpCode: {type: String},
description:{type: String}

}]);

var OrganizationSchema = new Schema([{

name: {
type: String
},
displayName: {
type: String
},
erpCode: {
type: String
},
description: {
type: String
},
companies: { type: ObjectId, ref: 'CompanySchema'}
}]);

module.export = mongoose.model('Organazations',OrganizationSchema);
module.export = mongoose.model('Companies',CompanySchema);

Below is my model file
How do I list all the companies by typing
localhost://organizations/id/companies
It's also not just about monolithic Vs microkernel: Linux could decouple filesystem drivers without becoming a unikernel e.g. by specifying a fixed driver API - you could just load FSs as kernel modules. The reason for tight coupling is just that devs don't want to commit to a stable API. If you are only talking about a single kernel version, FS drivers actually _are_ decoupled this way (can be loaded as modules) and distributors do this.
How to Quickly and Correctly Generate a Git Log in HTML
So people, faced with more options, will have to do more experimenting and observing to figure out what's best for them, as you're doing. By the end of it, presumably the best set of options that they find will be at least as good as what it would have been if they had fewer options, and for some people it'll probably be considerably better.

I, for one, think that anything that helps nerds (defined as those who pursue their intellectual interests while neglecting their social lives, often not developing social skills as a result) ease their social pain while they focus on their intellectual interests is a very good thing.
Guaranteed to be hugely net energy negative in the energy required to launch the batteries. Think about payload fractions and the huge amount of energy in rocket fuel.
Mandarijnen – Welke invloed hebben ze op onze gezondheid?
I feel this statement is a bit unfair. Much of the tight coupling has been a design decission. There has been a lot of public discussion about it.
Keyboard Maestro and BetterTouchTool have been my favorite Mac utilities for many years.

One tiny example: I use hidutil + Keyboard Maestro to map my Caps Lock key to CMD+Tab. I found that constantly hitting CMD+Tab throughout the day caused me some wrist strain.

So instead, I now map my Caps Lock to Keypad 0 using hidutil. And then I use Keyboard Maestro to invoke CMD+Tab everytime Keypad 0 occurs. So now, CMD+Tab is just a single keystroke. It's a small win, but it's something that I do many many times per day.

A second example: I use 1Password, but sometimes some apps or sites DO NOT allow me to paste my password. Ugh. So I use a Keyboard Maestro macro to type out my copied password. Now that I think of it, I hope they're not stealing all my passwords! ;-)
But that's the problem with the philosophy of mind. They have all these subjective notions like consciousness, self-consciousness, analytic and synthetic I, the accompanying such-and-such feeling (e.g. I-feeling), self-awareness, awareness, attention, qualia, qualitative experience vs. content of qualitative experience vs. phenomenal experience vs. sense data vs. innr experience, cognition, embodied cognition, stream of consciousness, and so forth. Each of them comes with many fine-grained additional distinctions, but they are all subjective and cannot be measured easily and every author promotes his own vocabulary.

Then they wonder why they can't agree on a common theory, quibble endlessly about the adequacy of their various subjective definitions, and most if not all of their arguments are based on 'intuition-pumping'.
> 1. Swift doesn't have pointers.

Sure it does:

func modify(_ x:UnsafeMutablePointer<Int>) {
x.pointee = 12;
}

func main()
{
var x = 23;
print("Before \(x)\n");
modify(&x);
print("After \(x)\n");
}
Exactly. It looks like a Ponzi scheme for early miners to get rich.
Coca-Cola Paid Priests to Use Coke in 'Healing Rituals'
Yea--I knew a guy who couldn't get a date, or even a second look in high school/college.

He worked out like crazy. He did eventually get dates. Women magically thought he was interesting.

It can backfire too. I've seen guys spend their lives in gyms, and they get the name, "Dumb Bell Boys" pretty quick.

There's a happy medium of working out the brain above your shoulders, and the bottom half.

And I'm not talking about turning into Sheldon--bragging about hiding out in school, but a little insight, and true compassion goes a long way with the right person. True morality/ethics are noticed by the right people.

I have a sister who was voted Prettiest in School. She had classically attractive features. Up until around 35, stuff was just given to her. At the same time, she never worked on her greedy/narcistic personality.

She's now 51, and beyond miserable. The money stopped flowing in. The men look right past her. She screwed over every family member over the years, so her phone calls go unreturned. She was so aweful, I don't feel sorry for her.

About a year ago, I heard she was marrying a foreigner without a prenup. I took one look at the younger man, and knew what he was up to. It's all kinda sad, but she really screwed me over, along with her mother, and other brother. Plus--her younger self-image is so imbedded, she actually believes this Gigalo loves her.

What I still find confusing is a middle aged goofy looking Rich man can find true love.

A Rich women does not have the same options. The money, nice cars, houses seem to hinder finding a true mate. The average guy is still ogling the maid.

Actually, it's not a weird equation.

A young woman wants a gentically good looking man. (Can't forget get millions of years of evolution.)

A middle aged women wants the nicest cave.

All men just want a sweet, caring person, but must look good too.

I find it all tedious. If I had a child, I would tell him to get a vasectomy, and learn how the stock market works pretty earily. If love comes--great! Hell, if I had a complete do over--I just might take testosterone antagonist drugs in my 20 to 40's. (I don't even know if they have these drugs, or if they are safe. I just know I spent too many years confusing desire, with love, and wasted so much time.)
Listening to Marvin Minsky on Closer To Truth on Youtube was a revelation for me. As in many philosophical debates, before you even start to begin to think about and communicate about a subject you have to get your terminology clear and accurate.

Conciseness is a suitcase term that contains within it a mass of different mental processes. It's just not useful to talk about it much in general, except that it's so general a term which frankly we just don't understand yet. If we did, we'd at least have a general idea of how to design one and we don't. Rather than try and make any more pronouncements about this, I'll just refer to what he has to say on the subject as he does a much better job than I ever could.

This is a good primer on this:
https://www.youtube.com/watch?v=6r70jzcmMxU&list=PLFJr3pJl27...

Here's a great explanation of this in the form of an apparently simple example scenario and the very many different faculties of the brain that in entails:
https://www.youtube.com/watch?v=wPeVMDYodN8&list=PLFJr3pJl27...
I think his wife is, though. Which makes it slightly less odd to give the child a Chinese name, but really not less so to ask a total stranger to decide it.
Many people on HN are so negative in bitcoin that it seems that they are focused on the tree instead of the forest. This technology can solve the main problem human society faces and this is corruption. Human greed is what keeps bitcoin alive but this is not a bug, it is a feature.
Lua is not compiled to machine code. It compiles to an intermediate bytecode, which is then interpreted. So you could say it is a VM. Also bear in mind, LuaJIT is not Lua. It's a different implementation.

I guess you misinterpreted my comment. I didn't imply there are no reasons to compare C and Ruby. I said the reason is important and the way you portray that, and the way you portray your results, changes things.
وظائف الامارات اليوم 20/9/2017
Show HN: Chat-game that care about private data (Second Edition)
Because this supposed "law and accountability" led to things like the 2008 financial crisis. Didn't seem like there was much accountability then, so why should I trust that money supply? I know exactly what is going to happen to the bitcoin money supply, it's written in the code. Furthermore, hard forks prove that if you don't like the network, then you can leave and retain value. You can't leave the dollar without geographically moving to another location
And what happens after you graduate?

No matter if you got a 4.0, you're still never going to be graded the same as a Stanford grad*. It's set for life (unless you go to Stanford for a MS/PhD..)
It's not "inconvenient". It's violence. Is violence just inconvenient for you?
NC State (my school) - 74.3%.

sigh
It's almost as if writing about Bitcoin crashing sold newspapers/pageviews...

Weird.
ever heard of a telephone? :D
>> Instead, we should switch to the low level dual of this problem - game theory and reinforcement learning

This sounds a bit naive.
> What's happening now is that bitcoin is being locked into people's mind as a currency with real value.

I'm not certain that's true. Most of the trading in bitcoin is based on speculation that it'll rise in value, and secondly, that'll become more commonplace. Currently, it's not a useful (or usable) form of currency for the vast majority of the planet. So there's no value backing it (yet).

The true test is in X many years, whether BitCoin will be used as actual currency, in which case the value will keep climbing, or whether it'll remain a speculative investment, in which case it'll crash.

I learned about bitcoin when it was less than a dollar, and I'd love to invest, but it's just gambling.
Mobile app entwicklung
Yes re: FPGAs -- they are definitely the modern placeholder of microcode (and better because you can organize how the computation and state are hooked together). The old culprit -- Intel -- is now offering hybrid chips with both an ARM and a good size patch of FPGA -- combine this with a decent memory architecture (in many ways the hidden barrier these days) and this is a pretty good basis for comprehensive new designs.
"Actually, there’s been class warfare going on for the last 20 years, and my class has won."

- Warren Buffet

[0]: https://www.washingtonpost.com/blogs/plum-line/post/theres-b...
To be honest, Bitcoin in no way does solve corruption. Actually, Bitcoin in current state can only increase corruption in society by giving a sense of anonymity. Political corruption on other hand, might be solved through it, but thats the case we are left to see.
I mean could doing away with the clock improve signal propagation time while reducing consumption while hashing in theory? Maybe even reduce chip size?
Probably too far back. We had the Kinsey scale in 1948, so that's a 0-7 for gender/sexual identity, and one bit for sex. Fits perfectly in a nibble.
Tangential, but if Pro Fit International make a 'vehicle specific mount' for your model I highly recommend them. They require partial disassembly of your dash trim, which a car stereo installer can do for you. They bolt very solidly to the frame behind your dash and provide a mounting plate angled facing you, which you attach your phone/GPS/whatever to.

I found the best way to attach a phone to the mount was to buy a phone 'holster' - the belt clip type. Break the clip part off and grid down the back so it's flat, then use a 3M adhesive pad to attach the phone holder to the mount. Then you can easily snap the phone into place and see the screen while driving. It's more work than a cheap vent-clip type, but absolutely worth it.

No affiliation with the company, I just think they have the best product and I found them very helpful.
The sun has risen at least 166 times already, but it is not proof that the sun will rise tomorrow.

My point is not to confirm or deny the bear or the bull, but to point out this is simply noise.

When are market news reliable indicators of supply and demand?
from https://www.theatlantic.com/magazine/archive/2014/04/hey-par...

> Even rubber surfacing doesn’t seem to have made much of a difference in the real world. David Ball, a professor of risk management at Middlesex University, analyzed U.K. injury statistics and found that as in the U.S., there was no clear trend over time. “The advent of all these special surfaces for playgrounds has contributed very little, if anything at all, to the safety of children,” he told me. Ball has found some evidence that long-bone injuries, which are far more common than head injuries, are actually increasing.
If the authors happen to read this...

Please, please darken your font color. The contrast is so bad that it makes my eyes hurt. I actually had to pop dev tools and tweak your css to make this site readable.
I bet a lot of people lose their private key, but I bet that if there's anything in your wallet you'll be careful.

So, there are probably a lot of private keys that get lost, but not a lot of bitcoins.
It genuinely blows my mind that some of the top comments are pro-socialized firefighting.

It genuinely blows my mind that some of the top comments are pro-socialized policing.

It genuinely blows my mind that some of the top comments are pro-socialized sanitation.
How and why do they pick Adelaide? There are some (small) cities around Perth.
A shortcut for "this"? Don't you spend too much time triggering shortcuts and looking up the letter from the palettes than actually touch typing some of the words?
> I suspect that there isn't anything to the experience of being like a worm

Even a worm has goals to attain - food and reproduction. In order to attain those goals, it needs to have perceptions and to rank those by the estimated return value. That is what it's like to be a worm.
Sloty Casino Online – Play Best Casino and Slots Games Online
> The more the value continues to increase, the better it seems as an investment, and the more people lean towards holding instead of spending.

This is called currency "deflation" (the opposite of inflation), and it's one of the key things that central banks try to control. If a currency is gaining value rapidly, then it makes more sense for people to hold onto it, no one buys anything, and the economy drives to a halt. In these cases, central banks may print money to lower the value of the currency.

The effects of how it would play out with Bitcoin are probably different, as it isn't close to being universal, it travels across political borders, no single economy relies on it, and it's under no control. Sounds like an Econ PhD thesis.
Both Google and IBM are building general purpose computers not D-Wave-like quantum computers. They will likely both reach quantum supremacy before Microsoft, which itself has said could take another decade to make something useful out of its topological quantum computing architecture.
No, breaking old code compatibility is not ok. We have good examples with python 2 vs python 3
Related!

https://99bitcoins.com/bitcoinobituaries
If you stopped using native loops / forEach how do you handle iteration for the sake of creating side effects?

+1 for including take/drop alongside map/reduse/filter
Do you have a link for this? I have been interested in this as well, probably isn't cheap though?
I’m guessing the article was edited, because now it says “Daniel J. Bernstein”.
I was an early miner, got a few, started when it was less than a dollar, and cashed in when it was low hundreds. I don't think anyone knew it was gonna explode 5000X or more. Every early miner or bitcoin developer regrets they didn't buy more, mine more, or hold on to it for longer.

But the truth is that at this point, it's still mostly gambling. The use-cases for BitCoin are numerous, but I don't see many in place just yet. Right now, the value is based solely on speculation.
But the _big_ problem starts when I cannot buy a computer without it, anymore.

So make one. There'll be a lot of things it won't be able to do, but nobody's going to put a gun to your head and order you to stop producing a DRM-free machine for yourself.

Meanwhile, the "you don't control your machine" argument suffers from the same fundamental tension as many of the RMS/GNU/FSF positions: in the name of freeing you from restrictions, they impose restrictions. The GPL, in the name of protecting what you can do with the software, specifies some things you must never be allowed to do with the software. The hardcore anti-DRM position, in the name of protecting what you can do with the hardware, specifies some things you must never be allowed to do with the hardware.

Now, that's not necessarily bad; there are arguments to be made that trading off a small amount of freedom to do a handful of things protects a large amount of freedom to do many things. But unfortunately that's not a type of argument RMS/GNU/FSF can admit to, because they frame things in absolutist moral terms. The absolutist cannot speak in terms of tradeoffs. To do so is to compromise the entire position and, worse, to open the door to others who might propose a different set of tradeoffs and argue that they're as reasonable as the absolutist's proposal; at that point, as the famous line goes, you're just haggling over your price.

So if you want a computer with no DRM, by all means go and build one. Refuse to put anything in it that you don't absolutely control. You'll be giving up quite a few things, like being able to play back popular media, but if that's the tradeoff you want you certainly are free to go and have it.

What you can't do is force others to abide by that; most people simply do not care that there are things in their computers not fully under their control, or if they reflect on it are willing to accept the tradeoff of, say, having hardware/software that will refuse to play certain media unless certain third-party-imposed conditions are met. You could argue that the overwhelming majority of them have never thought about this and probably wouldn't come to a rigorous and well-informed decision about it, but morally you have no inherent right to substitute your judgment of what's good for them in place of their judgment of what's good for them. The most you can do is build your own computer which does things the way you want, install only software that you personally trust to abide by your principles, and advocate for others to do the same.
Replica Handbags and Small Leather Goods Store
When one hash is a billion times too fast to securely store passwords, and another hash is ten billion times too fast to securely store passwords, the speed difference doesn't matter.

All the hashes you'd care to look at are within an order of magnitude of speed. They all need to be repeated a very large number of times to fight brute forcing. Using more repetitions for a faster hash is so utterly trivial it's not even worth mentioning in the context of security. There is zero difference in security margin from the speed of a hash.

And yes, memory-intensive algorithms are good for passwords, so you shouldn't be caring about normal hashes at all.
For me this is just too much giving the benefit of the doubt. I find it much more likely, and I'm pretty sure that most historians agree, that they were dropped to deter the USSR. Japan had lost the war, to assume that there was only a choice between dropping the bombs or invasion is yet again to be too kind.
Teens are living in an isolated socitety from us that can seem like a strange stasi-germany enforced through guilt. Expectations are set for them to perform in measures that are unrelated to personal growth and developement, and from a young age. Different parties observe them and intervene on almost any deviation from expectation. The path is narrowing.

Underperform on a standardized school test, intervention. Spend too much time alone, intervention. Spend too much time online, intervention, admonishment. Test social boundaries and get in a fight, intervention, involve police. Can't spend all day in a poorly ventilated room, learning topics you never chose at a pace you can't control, without acting out; now you have to take pills. Skip class to try cigarettes, intervention and maybe CPS. Have you applied for college yet? You know you can't get a job without a degree. Apply yourself. Why are you falling behind? Apply yourself harder. Feel bad. You don't want to be flipping burgers do you? 4 more years without responsibilities, you'll remember them fondly.

Unless you excel academically or possibly athletically you are given nothing to be proud of. Anything else is a concession given in pity and children are made to know it. We make them feel bad for everything they don't master, but we make them keep doing it and we push them along so they're always behind. The only way to get off the merry-go-round is to drop out and flip burgers, but lately that has become a failure. A failure of talent, ambition, skill and - worst of all - character. It's no wonder that tey are risk-averse.
Journalists discussing BitCoin is in some ways a form of mining BitCoins.
Whos the publisher? Seems like an interesting read.
> I don't recall Clinton ever saying she wanted to jail her political opponent.

This part isn't really fair. If I want to jail my political opponent because she's my political opponent, this is a big problem, but if I want to jail her because she's committed crimes, that's perfectly fine.
My main takeaway is that if you care about performance so much, just ETL the data to be avro, thrift, protobuf, hdf5, netcdf, parquet, arrow, anything but plain text.
With Timestamp to the relevant part:

https://developer.apple.com/videos/play/wwdc2017/402/?time=2...
For better or worse, javascript (enabled) is now an expected feature in all browsers, just like HTML and CSS; if you browse with it disabled, you can expect many things to break and don't really have cause for complaint.
You shouldn't be caring about normal hashes at all - http://www.handbagsbing.com
Then the proper comparison is between Sweden and a state, not Sweden and the US as a whole.

But I think the federal government exerts more control over US states than anyone exerts over Sweden. (Maybe the EU? I'm certainly no expert.)