skysight-inc/HackerNews huggingface dataset:
Now that California has legalized recreational marijuana, research into medical marijuana is nearly pointless from a capitalist point of view. The endgame isn't anything to do with medical marijuana at all. It's that recreational marijuana steadily advances across the country. Whoever wins the California recreational market will have the advantage in that game.
Choosing Web Fonts: A Beginner’s Guide by Google
A Fistful of Satoshis: Randomness and Cowboys on the Blockchain
He said it's a surgical training startup so I think it would have been fairly okay.
Vulkan is largely a successor to OpenGL and it's also a lot lower level. IMO it's primarly targeted at engine developers.

The lower level API also allows you to do things that OpenGL simply wouldn't allow, like driving multiple GPUs for one display output using your own abstractions.

DirectX12 is much in the same spirit (but not equivalent, they're still a lot different internally).

Vulkan will also (probably) bring better crossplatform support from Games since it's equally supported on Windows, Linux, Mac (with a library), Android and the Game Consoles. (There is OpenGL on Android but IIRC it's not quite the same)
why not just use a wireless door bell? cheaper and easier.
On the basis that washing machines always break one month after the warranty expires, next time you need to buy one, look for one that beeps and jingles when the program is finished. Mine does this, and it's loud enough to be heard anywhere in the house.
To be fair, the original article does not contain the word "unit" - it just talks about tests, which is arguably more general.

In my personal opinion, tests that are "non-unit" tests are still useful - testing the validity and correct functioning of larger pieces of software is a good thing, even if it does not run fast, or if the broken code is not immediately obvious.
unfortunately he didn't publish the code
If you don't have physical assets in Europe which can be seized then whether or not traveling Europeans decide to use your service is irrelevant. GDPR is not going to force you to take down your service in the US or India. It's kind of like a Saudi visiting California and requesting that local gay people be stoned as per the law of their land - not going to happen.
I'm currently in a country where access to social network sites like facebook, instagramm & twitter is being blocked for two days due to political issues (Sri Lanka). One fellow travel (21yo) does not know how to reach out to any of his friends and family besides using facebook & whatsapp. Sadly, he didn't even think of using email to reach out, even though everyone has one. Can't blame him for not knowing about VPN and TOR. So, reality is that we're (still) living in times when a simple, reliable and independent service like email does have it's advantages and can be very useful from time to time, esp when travelling or when politics change.
I will edit this to reply properly later but from the pic it looks like the main difference is the lens
Animated emojis can eat 100% CPU on my MacBook Pro if someone spams enough of them. It's insane how demanding and bloated the app is for what it does.
Wish I could do this and ditch the blithering idiots at my work.
Cádiz, the most southern province in the mainland gets also the most rain. It's the Strait: every west wind from the Atlantic Ocean leaves the rain in the mountains woods there.

When the wind comes from the east (less often), it's usually warm and dry.
This is just an internet forum, and I did google distilled water, and I found an interview with a doctor saying he recommends distilled water, with no added minerals or electrolytes is good to help fight cancer.

https://news.ycombinator.com/item?id=16543125

I am curious is there is even a single source on the internet with real data on any negative effects of distilled water, cause I have only seen comments on forums, but no proof.
Crystals of CO2 drawn from the air
Half of Europe

Which half? Can you name some of these countries that allow you to "build whatever you want on your own land"? Every country I've lived in has plenty of rules about what you are and aren't allowed to build on your own land.
It's ok. Little hacker news advertisement should help, right?
While the coincidence is real ... why couldn't these shots have been 1 millisecond off from one another? The shutter times are short enough for it...

I know it's nit-picking, but why make that the title?

Otherwise, it's also definitely worth noting that these were shot with burst mode, so that the chance of this happening is ~.7% --- definitely very unlikely, but still much more likely than most rare events you read about in the news.
Oh great, now every lazy developer is going to write their app on top of emacs and distribute a crappy Emactron version that uses almost eight megs of RAM.

But seriously, how hard would it be for a sneaky dev to make emacs with emacs-slack into a normal person application with clicky buttons and no ugly gnu? Could be worth a lot of money, or at least github stars.
Then it seems slightly easier to just have some people living underground here on earth.
Those things aren't cheap for simulators, either - not to mention knock-on costs. "What do you mean - I got the doctors in, which alone took a month of herding cats, and now it won't work, just because?"

How low has the SW development bar gone, if "it's okay" now means "at least it's not directly killing people"?
Show HN: Snips NLU, an open source library for embedded NLU
And that's where MS is at fault: drivers without timestamped signatures should be treated as faulty. This would prevent these errors in the first place.
Not really. The birthday paradox is a paradox because it describes a circumstance that seems unlikely but actually is not. In this case it both seems unlikely and IS unlikely. If it were not unlikely we would see it happen more often.
Is that....weird? My coworker has worked here for 25 years now, and he's still "just" a programmer, was never interested in taking a managerial/lead position. There's plenty of programmers who have 10~20 years of seniority here. And it's a games company, so it's not like these people work on some archaic systems - major, triple A releases everyone heard about.
I wouldn't bother reading this article, it's just an anti-exercise polemic. The author prefers to act as though she's observing some kind of pointless alien culture without acknowledging even the obvious reasons people go to the gym.
He changed his original comment. It was more vague hence my reply.
Great pitch, I have been on the lookout for a proper offline-first realtime data connection with some kind of conflict resolution. It seems to me like such a natural combination of functions, but I haven't come across any tool that has it all yet. Will definitely check this out!
Wouldn't it just be a locale with TZ == GMT-4?
Yes, let's stop using Linux entirely. Everyone uses different versions, it's too fragmented and can not possibly be useful to anyone.

A proprietary platform where everyone the same product with identical feature set would easy out-compete it. It is apparent that the cloud is obviously betting on the wrong horse.
Emacspeak[0] is one of the more popular voice oriented IDEs. I have yet to get it working, but I think you can do things like get it to read visual regions and sections between matching parens, etc. Ideally this is what I want to use, but it has resisted my efforts so far. Maybe I'll give it another try this weekend.

[0] - http://emacspeak.sourceforge.net/
17 Tips and Tricks to Create a Kick-Ass Web Developer Profile in Freelancer.com
ACID is whatever you define. In a RDBMS you can make a query returning dirty data, or that data is partially saved if an error happens. Or you can roll it into a full ACID compliant query/transaction.

I think that in a graph database, the ACID property comes at a greater cost, but to me it's a tool I use as a secondary store, derived from the "truth" in the RDBMS. I use it to store the data more efficiently for queries and to query data in a discovering fashion that would significantly more complicated in the underlying RDBMS.
Now you're getting into a touchier issue and making a very large assumption, I suspect without even realizing it. By suggesting that there is a problem you're indicating a belief that you believe all people are roughly identical. As I imagine you may be doing, let's avoid touchier issues and talk about height -- my examples were not off the cuff.

It's extremely difficult to try to objectively measure the competence of an individual in general, but IQ does tend to provide a workable measurement that does tend to be quite predictive and map well to aggregate performance in 'mental' fields. But we're talking about height, so why am I bringing this up? As counter intuitive as it is, height correlates strongly with IQ. We could discuss the possible reasons for this (environmental? sexual selection? shared genetic markers? something else?) but the point is that this is not disputed. Here [1][2] are a couple of sources if you were not aware of this. You can find countless more on google scholar searching for 'height iq correlation'.

But this raises the issue that not only do tall people earn more than short people, but that it's highly likely that companies paying more to tall people are indeed working in their, and society's, best interest. The long and short here is that you cannot assume differences are a result of irrational decisions.

So you're left to try to argue that short people bring something to table that's valuable but less visible than their individual competence (at least in so much as IQ is reflective of that). This could be true, but I think that there's scant evidence for such. The first issue you'd need to overcome is the existential case. And I find the way most people try to do this is by getting back to assuming discrimination, yet now you're stuck in circular logic or having to assume your conclusion. 'All people are equal. What about these vast quantities of data showing substantial differences from ostensibly objective assessments? It's caused by environmental issues and discrimination. Why do you think that? Well because it doesn't show all people being equal!'

And to be clear, everything I'm saying above applies to people considered as groups - not individuals. Einstein, for instance, was about 5'7". It just means there are different distributions among different groups, and so when you consider these groups as a whole you'd expect to see these different distributions reflected.

[1] - http://journals.plos.org/plosgenetics/article?id=10.1371/jou...

[2] - https://www.sciencedirect.com/science/article/pii/S105381191...
Please search for "suppression of dialects was never a MAJOR part" in the original article for more details. I copied the exact sentence from there.

Yes, there are much less Singaporeans speaking their dialects at home. I've actually met several Singaporeans saying that want to speak their dialects as much as possible as they feel it's endangered. However, what are the alternatives? Singaporean Chinese doesn't speak the same dialect, and it's a small city. How do they communicate with each other in school, at work, and at home after marrying someone speaking a different dialect? They can speak English, in fact they do that as well, or they can speak Mandarin if they're communicating with another Chinese speaker. Either way, the chance they'll be able to speak their own dialects will diminish eventually.

In addition, most dialects are no where close to being endangered, as they're widely used in China. We speak in Mandarin with people that doesn't speak the same dialect, but at the same time, it'd also be weird if we are from the same place, speak the same dialect and yet decide to speak in Mandarin.
It’s kind of sad that Apple and the Khronos Group diverted here. Apple pushes Metal and has thus far not shown any interest in supporting Vulkan. It would be nice for the industry to have a stable well maintained common denominator for all platforms.
For people like me, who find reading these papers verbatim hard work, one sentence in the article is worth repeating here:

"...although NW arrays used in present work have not been capable for color vision, further development of multiple nanowire types with different spectral responses may be a potentially feasible strategy to realize such a scenario in the near future. "

So the nano-wires do work, but for monochrome type vision. I think.
Till Tomorrow: Why farmers were the first time travelers
> addressing with user-owned identifiers like phone numbers

Don't take things like that too seriously. That's just the result of the reality distortion field that comes with sitting on top a huge database of phone numbers.
I am wonder, can we not just use wireshark and see that is any audio packet send to Facebook or not.

I am not network guy so just asking and seeking for valid explanation.
That's a really lovely tribute to his wife. Good of him to mention the mental health issue as well. So many people grow up thinking they or their family are the only ones and that it's best kept quiet about.
Top 5 Corporate Party Games to Keep Things Interesting – Sloshout Blog
I work on a project where a huge build system has been developed. It uses the same source to build a dynamic library, the same library in static and many test programs. It handles well dependencies whatever the directory structure. It is developed in gnumake. I think you will be less criticized if you use gnumake instead of python. It has all the features needed for dynamic generation of dependency rules. And if someone want to improve the build system, a good knowledge of gnumake seems a reasonable prerequisite. The main defect is that it needs 10s before starting any compilation.
from the few that I got: gpu drivers and api lied to each others, it lead to absurdly complex drivers full of bugs and absurdly complex codebase full of paranoid tricks to circle around the weird gpu behavior. Complete waste. Vulkan is a bit like RISC, makes it more "complex" but explicit, so in a way it's simpler.
You know what's even better than dirt at stopping radiation? Water. And we have lots of it. 10km of water at the bottom of the Mariana trench should stop any amount of radiation that could hit Earth.
Show HN: Embod.ai – Competitive Multi-Agent Environment Platforms
It’s very easy to consolidate multiple erlang modules (files) in a single elixir file. Simple to translate erlang to elixir.

Functional programming is a big win, but don’t forget the virtues of static type systems and compile-time code verification.

https://github.com/cieplak/examples/tree/master/elixir
That won't help. The closest GRB we've detected was about 100M light years away, so well outside the galaxy. If we had one happen within our galaxy that's beamed towards us, I don't think that 10ly make any practical difference in the 1/r^2 attenuated flux. Also, the beams are thought to be several degrees wide, so unless it's a very close GRB (in which case we should consider other problems), it's also unlikely that 10ly would move is out of the beam.

Source: former astrophysicist. Also if I remember correctly, the Wikipedia article on grbs is actually decent. (Edit: overstated things - need coffee, I suppose)
Could you remember a little harder?
That's absolutely not the same thing.

Shorting a company will bet specifically against that company, in a way that both:

1. Gives you monetary gain if that specific company/stock decreases in value.

2. Puts pressure on the stock to be lower value.

Thus it acts as a correcting mechanism to the market, since just by the fact that a lot of people who have an incentive to make a correct bet on a stock declining, upon placing that bet, help correct the price downwards.

Funding a competitor doesn't act anything like that, and specifically probably doesn't give you a great monetary reward, since most startups fail (thus most competitors will fail).
I know what you mean and I hate it.

Tvtropes does that a lot, it's incredibly annoying and I switched to allthetropes instead since they manage to load just fine.
Yes, because it's common knowledge to change companies every ~3 years to get a 20%+ salary increase instead of a miserly 0-10%.
I find that... terrifying
> but what isn't clear is that there is "no scenario" whatsoever where the lack of a timestamp might be acceptable or perhaps even desired.

I can readily imagine a scenario where a driver with a signature but no separately attested timestamp should be acceptable. What I cannot imagine is a scenario where it is useful to treat a driver signed in such manner the way Windows currently treats the driver.
How can you know if a packet contains audio?
This assumes a very high level of naivety by the people funding the company, who at least theoretically, should be, or have access to, technical experts that can study the technology for themselves.

We're not talking about people raising money from the general public or using heavy-handed sales tactics. We're talking about billionaires funding this thing - I'm not going to cry if they lose money on a bad investment (unless there is outright fraud involved).
Spring Boot uses Java configuration. Using the default in memory database, you can create a crazy callstack like that by adding a single line to enable the transaction annotation.
Define foreground/background.

If I’m using Strava and Spotify I don’t want either to stop working when I switch to the user interface of the other one.
As someone who lives in a country full of easily accessible porn and prostitution, I can promise you the kids here are as depraved as they are anywhere else (that is to say, not very).
As a thought experiment, such content would likely be encrypted. The request size can give away the content type, but speech-to-text could be done on device, making it harder to guess the contents based on request size (assuming the identified speech would be significantly smaller compressed relative to audio).
Can retrocausality solve the puzzle of action at a distance?
Well, I pretty much adblock everything... I need to keep thinking a bit more about this.
Yeah, I did 350 at 16, but I’m also a 6’4” dude, not a 70yr old woman so...
"parens parens parens parens parens parens parens some code here parens parens parens"
Iterating over set bits quickly (SIMD edition)
My experience looking at black-and-white pictures and video suggests that, compared to being blind, the difference between color vision and monochrome vision is negligible.
We don't scuba dive. But some people in her family does... Now it kind of makes sense. Removes tinfoil hat
Yes in America while you are writing a status they use your microphone in a Shazam-like way to suggest things to put in your status. Apparently anyway. Not in America so can't test it.
How? You convince people it's worth the investment.

Why? You're building something that requires massive upfront capitilization.

People here act like this kind of money is unprecedented. How much many goes into building infrastructure? How much money do investors put into building a new building? Large construction projects routinely raise 10s or even 100s of millions of dollars.

Sure, if you're funding a building you're "buying" a "product" that is much better understood and has a higher chance of success (but can also fail!). But it also has a much lower chance of getting you very high returns. All that startups like Magic Leap do is take both of these numbers to the extreme: very small chance of success, but at being a 100-billion-dollar company. Some investors like this tradeoff, and they tend to be pretty savvy and educated. This also tends to be a small part of their portfolio. I think we shouldn't assume we know better than them, just because we read some stuff on the internet.
maybe we can have technology without it being connected to the internet?
Have you done anything with OpenCL? Because what a lot of people describe kinda sounds like OpenCL where there isn't really much global state or a predefined pipeline. On a high level you're just sending kernels to be executed on the GPU and you're free to organize things any way you like
Beyond Tools: How Building a Design System Can Improve How You Work
In one case you have to write two lines, because you care about the business logic. That's two lines to maintain, debug, explain to other programmers, staticaly check, etc. etc.

And instead you want to switch to what? Writing 20 lines of that same logic + implementing stuff that has already been better implemented in all of the libraries, by better programmers (because they were able to focus and specialize on that one thing)?

For what? A 2% increase in wall-clock speed? There is a 1 in a hundred applications where this matters. What matters in others is maintainability and development speed. Development is expensive. CPU time is cheap.
Author seems rather self-aware, article is filed under /outbursts/.
$250, ouch. What's the payback time on that?
Spreadsheet knowledge – functions, formulas, and everything in between
The new YouTube background removal feature is done on-device using neural networks. https://research.googleblog.com/2018/03/mobile-real-time-vid...
Show HN: Copy shrug emoji offline using this PWA
I like the typography of the site where the article is on. Is there an open-source CSS stylesheet for it?
This is interesting, I always wanted to find a good use case for RDF but in the end RDBMS worked out fine.

Sports events seem a good example. What made it easier for you in your example of basketball play-by-plays with RDF?

Taking the first example https://github.com/andrewstellman/pbprdf#example-analyze-a-s... and translating it into an RDBMS approach seems rather straight forward:

GameEvent (PersonA, EventType, PersonB, Game, Time)
Roster (Person, Game, Team)

To get the fouls drawn you then take

SELECT Team, COUNT(Team)
FROM GameEvent
JOIN Roster ON GameEvent.Game = Roster.Game AND GameEvent.PersonB = Roster.Person
WHERE GameEvent.EventType = "foul"
GROUP BY Roster.Team

Is it because of easier schema changes later on like introducing "secondsLeftInPeriod"? I suppose in a normalized relational scenario that could be something like:

Period (Number, Game, StartTime, EndTime)

And doing

.. WHERE Period.EndTime - GameEvent.Time < 5 ..
For #2, how do you avoid recording all the things people around you are saying throughout the day? Custom microphone to minimise picking up surrounding sounds? Some kind of speaker recognition to identify and isolate your own voice (does that work when you have a cold)?

And if you're not avoiding recording other people, how do you succinctly notify everyone in capture range that you are recording them?

This seems problematic from a standpoint of social norms and etiquette. In public/shared space contexts people know they can be heard by bystanders, but that is very different from being recorded and having your utterances indexed for later retrieval.
> "Claiming ACID" what is ambiguous about that? Transaction support with different serialization levels, like other databases that offer it.

A non-graph-database would not provide operators like deep traversals. Operations are tightly bound to ACID as a whole, not just isolation. Of course ACID would always hold if you strictly linearize everything, but that defeats the purpose of data management, and one would achieve the same goal with even macro processors like `m4`.

Getting traversals and other graph algorithms into the business means that there are lot of things that should be reconsidered, like constraints, and triggers.

For example, if you cannot write a constraint to limit the local clustering coefficient of every entity, you do not proceed in your traversal with a good upper bound time budget. However, it is the vertices that you _don't_ visit that will propagate these constraints back while you are halfway there. Parallelizing such queries, in my opinion, is beyond state-of-the-art research.