skysight-inc/HackerNews huggingface dataset:
I've implemented something like this in a non-LISP syntax language. See:

https://github.com/jhallen/joes-sandbox/tree/master/lang/ivy

The idea is that in a function call, the arguments are normally evaluated before the call as usual. But if a formal argument in the function's declaration is prefixed with ampersand then during a function call, that argument is not evaluated, but is instead packaged up as a zero-argument lambda function. The argument can be called later using the normal function call syntax, but also there is semantic sugar: the * operator calls a zero-argument function.

Further, when a variable is evaluated, you get both its value and a reference to it. This allows variables to be evaluated before being assigned to in assignments. This sounds weird, but it works with the above. You can make a "set" function which does the same thing as assignment:

# Define set function
fn set(&left, right) {
*left = right
}

# Set x to 10
set x 10

Here is how you could define switch using primitives (if the last argument is prefixed with ampersand, then any extra arguments are treated the same, but can only be accessed via argv):

fn switch(&val) {
var rtn, x, v = *val
x = 1
while x < len(argv) - 1 {
if *argv(x) == v {
return *argv(x + 1)
}
x += 2
}
if x < len(argv) {
return *argv(x)
}
return void
}

Example use (8 arguments passed to switch- each set of braces is an argument):

switch 2 1 {
print "one"
} 2 {
print "two"
} 3 {
print "three"
} {
print "default"
}

"two" is printed in this case.

Right now the delayed arguments are evaluated in the closure of the function call (so they are lexically scoped). The wrap/unwrap concept from this paper gives me ideas on how to make this more versatile...
I preliminarily did the same thing as in this article a while back (with crypto data, since it's easily accessible), just as a way to learn keras.

Somehow my network always learned to output a delay of the input no matter how hard I tried to shape it. I've searched through literature briefly and some examples. Some blog posts even claimed they had good time series prediction when I clearly saw they were having the same problem.

What I mean to say is, be critical of what you find online, and be critical of your results. This is definitely not an easy problem, and some argue that it's unsolvable all together :)
To be clear, only one person has survived after receiving the Milwaukee protocol - the first person it was tried on. No one else has survived. It was tried on 25 other people, and it failed every time. It's very possible the initial patient was a fluke and the protocol isn't effective at all.

https://pandorareport.org/2014/05/01/no-rabies-treatment-aft...
I'm skeptical of any system that proves it can predict stock prices vaguely.

I would be less skeptical if it was more humble, and specific in its constraints. For example, could it predict the % probability a stock would up X% if it had N consecutive negative days? Or, how many minutes/hours after earnings are announced is the after-hours price usually indicative of what the price will be the next day?

You can't predict everything, but you might be able to have a probabilistic prediction of specific scenarios. though even then I'll still be skeptical.. daily stock movements are totally random.
No. Toyota has a death grip on fossil fuels. While they did pioneer a lot of hybrid technology, they are going kicking and screaming into full electrics.

But agree with you that this is a rare instance where California legislation has had a meaningful and measurable positive impact on the environment and technology innovation.
I should say (since i've got your attention) that i'm almost 100% sure that all of your customers would be more than willing to sacrifice a startup time for a well-coordinated callback when everything is warmed up, as a toggleable option of course.

To explain this a bit better, i'd definitely be happy even waiting 10+ minutes for all of my controllers/hub methods to be instant response. I could then subscribe to an event when it is ready and let haproxy/nginx or whatever else know that the server is "good to go". This way, the server goes into the pool, and everyone is happy. I remember seeing that the Bing guys did something like this, but again it was majorly hacky.

Thanks for all the great work you're doing on C#/.NET Core in general by the way.
But that's exactly the point, isn't it?

[a bit oversimplified] You want to use this GPL library? Great! Just release your own software as GPL!

It's not complicated, per se, it's just that some people/business are not ok with that condition (which is their prerogative).
I would certainly like assassination to have checks on it, all else equal. But do you really think that's practical?
Doctored or not, this is, at best, mildly inappropriate behavior. Trump could tap immigrants and drink their blood on prime time while grabbing an intern's pussy and Republicans would cheer. This is a distraction.
Ad-versarial: Defeating Perceptual Ad-Blocking
Hm... this seems like an incredibly poorly thought out example on your part. We've had C++ template specialization for decades. It is trivial to implement a map that uses hashes for non-integer types and an array for integer ones. This is 2018 after all.
Snowden Archive-in-a-Box on RaspberryPi
I'm not saying "aspect ratios don't work, therefore the whole thing's a bust", just that we should expect that one or other of the devices will be quite a bit different from what we normally see.
The risk of suffering collateral damage increases each time you are vaccinated again, and there are several strains.
Even better, MS offers free VMs for testing their browsers:

https://developer.microsoft.com/en-us/microsoft-edge/tools/v...
> Lobotomies and electro-shock "therapy" didn't cure patients

ECT is very useful for some things:

ECT is used for refractory major depression (aka treatment resistant depression (TRD)), which is major depression which doesn't respond to drug therapy (that is what 'refractory' means).

It is very effective in that role: http://ajp.psychiatryonline.org/doi/abs/10.1176/appi.ajp.201...:

> ECT is often effective for severely depressed patients who have not responded to multiple medication trials or who are at imminent risk of suicide. This issue's Treatment in Psychiatry highlights the safety and efficacy of ECT while stressing the importance of the pre-ECT medical evaluation and consent process.

> Electroconvulsive therapy (ECT), which has been in use for 75 years, is an important treatment for severe and treatment-resistant depression. Although it is acknowledged as the most effective acute treatment for severe mood and psychotic disorders, it remains controversial because of misperceptions about its use and lack of familiarity among health care professionals about modern ECT technique. The authors present an illustrative case of a patient for whom ECT is indicated. They review the basic and clinical science related to ECT’s mechanism of action and discuss clinical issues in the administration of a course of ECT, including the consent process.

More information: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3514332/:

> The clinical efficacy of ECT in TRD is well established, with 60% to 90% rate of acute response in TRD [3], and it is indicated specifically in severe psychotic depression, catatonia and delirious mania.

It's a very effective last-ditch therapy for some very serious disorders.
What do we know about 'Oumuamua'?
I'm the author of this, and have done quite a bit with DDoS and HAProxy; feel free to ask me any questions.
You could put a 3.5” drive in a Mac Mini sized box. And with Tunderbolt you could have it double as a hub or dock
i.e. Necessary but not sufficient.
I wonder if any of these nut letters have ever yielded useful scientific discoveries or advances. I figure one or two must have, even if only by accident, or indirectly.
stop global warming with tons of reactors adding to background radiation of the world, increasing decay and causing other further issues. great idea. let's go!
I didn't see it in the article, but these scans also show the first page of the letter on top. I thought I was crazy when I first saw it, but I can actually read account info etc from inside the letter!!!! If someone got my account they'd actually be able to tell part of what I'm getting not just from who.
I don't think anyone has mentioned it apart from the fact most people would find these confusing, but these types of layouts look like accessibility nightmares, and for what benefit? Making something look a bit nicer?

I mean, it's fine if the main goal of the website is to be artistic, but as others have pointed out, that's not the main goal of most websites, it's communicating information.
Have you had any luck with programming by voice?

https://github.com/melling/ErgonomicNotes/blob/master/progra...
Original: https://np.reddit.com/r/AskReddit/comments/48ujhq/whats_the_...
50% refers to the mix of male and female people who get distracted by this; in my experience as a technical writer who would always use “he” when I was less experienced, perhaps 70% of women and 30% of men?

It was certainly one aspect of my writing I got a lot of feedback on. Changing that habit was fairly easy, and has entirely solved the problem.

I’m not sure what’s political about pointing out that “the user” of eg a computer system is not always a “he”, but if you want to bring the conversation there, have fun. If anything, it’s starting to feel to me like people with no interest in technical writing are coming out of the woodwork and making this political!
This was a barrier for me as well. There are options. I have a 65 foot wire that goes from my house to a tree. It's virtually invisible. I've had many people in my yard an nobody has ever noticed it. I've worked pretty much the whole world with it.

There are also "compromise" antennas that use inductors and other trickery to be shorter. Are they efficient? Not great, but people make contacts on them everyday. (I have a 4-5 foot antenna that can operated on the same bands as my 65 foot antenna although it's not super efficient.

There are loop antennas that are tiny and portable but they can get expensive.

Also their are people that use an antenna tuner to tune a random piece of wire or even their gutters to get a workable HF antenna.
Ask HN: How do you deal with anxiety before an interview?
I get very nervous and anxious before an interview so much so it affects my sleep the night before. How do you guys deal with that anxious feelings? Look at pictures of cute kittens and puppies?
Is it likely that the same factors have led to inflated numbers for the heritability of other attributes as well? Or is this something specific to longevity?
Another dangerous job we can protect humans from!
Because not everyone wants to solve a friggin puzzle, genius.
I've listed the books I have below. I haven't read much of them yet (its slow going). The one that I'm currently in the process of reading is "Myths from Mesopotamia" by Stephanie Dalley. I like it so far, but its not an easy read. It gives you a relatively direct translation of the Sumerian texts, so there are many missing fragments (tablets found in different cities tended to have slightly different versions of the same stories, so you couldn't use them to complete missing bits from tablets from another city). This makes it time consuming to read, but does give you an accurate picture.

The books I have and am slowly trying to get through are:

"Myths from Mesopotamia" by Stephanie Dalley
"History Begins At Sumer" by Samuel Noah Kramer
"Guide To Understanding Sumerian, Assyrian, Babylonian, Cananite And Phoenician Tablets, Slabs, Symbols And Cuneiform Inscriptions" by Maximiliien de Lafayette
"Cuneiform" by Irving Fincel and Jonathan Taylor
"Sumerian Mythology" by Samuel Noah Kramer
"Introduction to Sumerian Grammar" by Daniel Foxvog

I'm not far enough through all of them to be able to properly compare and haven't read any other books, so I'm not sure if I would recommend them or not.

The Cuneiform book was fun (if you're interested in Cuneiform) as cuneiform is easy to write and I was able to write my name phonetically :)
Ask HN: Is there a cheap option to get a trusted IP for sending emails?
I've been helping a non-profit organization with email sending for a while and it's not going well.

Initially, I tried running an email server along with their site on Digital Ocean but Microsoft's (Outlook, Hotmail) filters were sending everything to spam despite SPF, DKIM, and DMARC. Changing IP on DO and waiting for a few weeks to build up the reputation didn't help either. I also had compatibility difficulties like some ancient government server in Guatemala dropping emails because of encoding problems caused by Spanish accents.

We switched to a free MailGun account for routing and SMTP (all org members are using Gmail) and it worked for almost a year. But last month the shared IP on MailGun was blacklisted by Microsoft and lots of emails to Outlook/Hotmail addresses were dropped.

MailGun's dedicated IP is $59/mo which is a significant cost for a six-person organization based in South America. Is there any cheaper ($5-20/mo) option that can help with email redirection and delivery? They send only a hundred or two monthly.

(We are aware of free G Suite for non-profits but it requires migrating everything from personal Google accounts to G Suite accounts, which is really hard.)
I wouldn't call it the dark side, I think there can always be an overlap in one's skillset.
Educational Efforts of 18th Century Missions Had Long-Lasting Effects
Exploits aside, this service however convenient, just reeks of Big Brother to me. Not that I get that much info via USPS anymore but the idea that __everything__ is being logged (for future reference?) makes me uncomfortable.
There are several other newer resources:

https://github.com/melling/ErgonomicNotes/blob/master/progra...
> I'm actually gonna have to go ahead and blame the demise of Flash for the current lack of interesting web design. I know there were technical reasons to get rid of it. Security. Mobile. Proprietary. etc. Whatever.

The thing is, all that's been replaced with JavaScript, which has all the downsides (well, it's not really proprietary, but JavaScript-heavy websites aren't really usable as something to learn from & modify, especially once minification comes into play) and has the great new flaw of not realistically being disablable, unlike Flash tended to be.

We even saw this week Google deciding not to support non-JavaScript browsers.

JavaScript is a boot stomping on a human face, forever.
> Beautiful code gets rewritten; ugly code survives.

Ever stop to think that maybe this is a good thing?

That code doesn't exist to be beautiful -- code exists to get the job done. Beautiful doesn't mean it's not also useless or arbitrary or over-architected, while ugly can be a healthy balance of competing priorities -- maybe not clean, but a good series of necessary real-world compromises.

This isn't to defend all (or even most) ugly code as good... but that equating beauty with good comes across as terribly naive.
If that is the point he spent about 30 mins answering that question in detail less than a week ago. https://www.youtube.com/watch?v=Ksmkp5CwF_4
Much of what I said above was previously said by trump in that brief.
If jim acosta is cnn's chief white house correspondent I assume he was there or certainly knew of this and reviewed it. It is safe to say its his job and that he had the reasoning behind why he called it an invasion already.

This is part of the problem many times he has already answered the question with detail or given a reason and its not fully reported on or the press just ask again thinking the answer will all of a sudden flip. I agree we can knock him for not always giving a lot of detail then you can also knock the media's coverage or how they ask their questions since they seem to have the same answer and not getting to the root of what they are looking for. You could say jim could have asked "can you elaborate on why you call it an invasion" vs the way he started by saying I'm going to challenge you and no its not an invasion and go around in circles with this. It doesn't matter though since whats done is done and its comes down to that's not how I would ask that question or how I would want that question answer. We're monday morning quarterbacking. you're not always going to get the answer you want and that is under every administration I've seen.
How to Customize Your MySQL and MariaDB Backups
Both links say that it may not have been purposefully doctored, but rather accidentally doctored from the conversion from video to GIF, because the lower frame rate makes it look much choppier with removed frames. That's still incredibly misleading.
It doesn't specifically say as far as I can see, but I'm highly doubtful that the prediction was made at time 0 (i.e. with no seed data). That would literally be a lucky guess.
Sounds reasonable to me. The legal risks associated for the company selling it are much higher.
I wonder if someone could comment on how AI is used at big investment banks? I assume its much more than technical analysis (like this model). I imagine that NLP might be helpful for quickly ingesting a news feed and then making buy/sell decisions based on the news in less time than humans can read and react?
My previous Mac Mini had 2 HDD slots and upgradable ram, so it IS possible, for Apple even. Apple has gotten from a 1 step backwards, 2 forwards to a 1 step forwards 2 backwards company. The devices where they removed optical drives were groundbreaking. Nowadays their devices are compromise ridden.
OT: Their pricing page appears to be broken in Firefox: https://www.meltwater.com/request-pricing/
There already are multi-screen devices. I could see a foldable screen being put on a Lenovo Yoga Book and not changing it all that much.
No but neither is holding the microphone well past when you should have relinquished it to another journalist. Abnormal behaviors begets abnormal responses.
> Isn't rationality the principle of GIGO, though? Let's say I have a garbage idea, but my methods for acheiving it are rationally constructed - isn't this even a little problematic? Surely me must judge not only the means (and ignore any aspect of the goal) but to look and examine whether the goal is a good too.

That's what I was trying to say in my previous comment. Even if you execute rational reasoning perfectly, if you start with garbage input, you end up with garbage output. If you intrinsically value something horrible, e.g. murdering kittens, rationality isn't going to tell you to not do it; on the contrary, it'll suggest the most effective means of doing that.

> But if your claim is that rationality is independent of culture (which, as I've already noted, is rubbish, since the idea of what is rational and irrational changes with cultural zeitgeist, unless you have some claim to objective rationality which I don't)

I meant it in the same way in which 2+2=4 or F=ma are independent of culture. Of course the work of discovering rational reasoning was happening over long time, with important contributions in Ancient Greece and earlier. But we've only recently managed to get some good formal tools applicable to real-life problems of reasoning, namely probability theory.

> then we can't use a static methods of rationality to judge the goodness of a particular goal, which is obviously context-dependent. So if not rationality, then what? I suggest critical thinking in place.

What do you suggest this "critical thinking" is made of? As for judging the goodness of a particular goal - you can decompose that into parts that can be judged rationally on their effectiveness (and consistency), and parts that have to be judged morally.
> I've worked in a variety of shops, both "Microsoft" shops and non-Microsoft shops, and I would most certainly agree with the GP That Microsoft shops tend to be dominated by developers who like the comfort of just eating whatever pablum Microsoft is serving, often even if that pablum will take years longer to digest than competitive alternatives. There is, in general, a tunnel vision that profoundly limits the options available to build solutions, at substantial project cost.

I dunno about this. The vast majority of costs in any project is contractors / staff rather than licenses.

I added up the cost of hiring 3 contractors for a month versus just buying a piece of software that did 90% of what the business needed. We were much more expensive.

> And it's understandable. If you're at a Microsoft shop you aren't going to challenge the norm if your first choice is SQL Server and BizTalk and Azure, etc. It's the easy, laziest option. Occasionally it might be the best option, but that's just accidental given that the choice was predetermined.

It is also kinda counter-productive for everyone else. If everyone knows how to do something in a particular language + IDE it makes things easy because knowledge can be shared without a steep learning curve.

e.g. I write lots of scripts using python, I mainly work in .NET shops.

I left instructions for the whole process on how to get the script to run for an adhoc support job I wrote 5 or 6 years ago. For whatever reason it broke (the db structure changed slightly). I have been in a lot of contracts since that job and it was just cheaper for them to call me up and pay me to fix the script than have one of their devs look at it.

The only reason I wrote it in python at the time was because I didn't know Powershell at the time and they said I could use what I wanted as long as it was documented.
Wait just a second.

What the White House said is this:

> We will, however, never tolerate a reporter placing his hands on a young woman just trying to do her job as a White House intern.

No version of the video that I've seen indicates that Acosta "placed his hands on [the] young woman." He had his hand up prior to her attempt to physically remove the microphone from his hand, and yes, he didn't immediately relinquish the microphone. Do you believe that the statement from the White House is an accurate statement of events?
> Again, it seems that for LMDB is again "solving" the problem by ignoring it. Which is OK if it fits your use case... But shouldn't Firefox work properly on 32-bit systems? Or did they completely decide that they don't want to target any 32-bit platform anymore?

Yes and no, respectively. Yes, Firefox should work properly on 32-bit systems; and no, we didn't completely decide that we don't want to target 32-bit platforms anymore.

Rather, Firefox plans to use LMDB where it fits one of its many use cases for persistent storage (and not use it where it doesn't).

The StackOverflow thread you referenced describes a blockchain program that expects to use "a few GB of lmdb diskspace." Whereas Firefox's use cases for LMDB are sized in the range of a few KiB to a few MiB. Firefox has no plans to start storing a blockchain.

Claimer: I'm the engineer integrating LMDB into Firefox.
Because storage is cheap for everyone except Apple, that knows they can get 60%+ markup for everything they sell.
Free in Turkey, even if you have no insurance. You just need to go to an ER that has shots.

They give you a schedule for up to 5 shots. If you decide to skip one, they send police to your house, who will take you to ER.
Does anyone see an actual link to the code?

Edit: found it https://github.com/pytorch/fbgemm
Modern SSDs (last 5 years or so) will wear level by relocating infrequently written blocks.
> The faster you go, the slower time goes. If you could go as fast as light, you’d see time come to a halt and disappear.

No, you wouldn't. Someone observing you would. Am I getting relativity wrong?
The operators may not be in YOUR line of sight, and still have line of sight to the craft. Do you have evidence that this is not the case?