skysight-inc/HackerNews huggingface dataset:
> Medical marijuana is effectively legal at the federal level in states where it is legal.

Do you not see the contradiction in this statement?

> Medical marijuana is effectively legal at the federal level in states where it is legal. The federal government, via the appropriations bill has not allocated any funding to prosecuting these crime. More recent case law has clarified the meaning of this, it explicitly forbids prosecuting these crimes in states where medical marijuana is legal. In a number of cases where the accused was charged and plead guilty, prosecution was later stopped(and hundreds of thousands in cash, and precious metals that were seized, were all returned) because of this.

Which completely agrees with the point I'm making. It's still against the law, it's just that some states are refusing to enforce it. This is not the same thing as something being legal. This is not just pedantic quibbling, it has real consequences. The constitution forbids persecution for illegal actions so long as they were legal at the time they were committed. But cannabis isn't legal. Which means that if the attitude towards cannabis changes, it is possible for a future administration to persecute everyone that bought or sold pot. Individuals like you an I may not care very much about this possibility, but the shareholders and executives of multi billion dollar companies unsurprisingly have a different mindset.
Show me a link to the source, and a way to run it myself. I certainly can't find it.
Have you considered cancelling your credit card?
RE: JSON: I've started tagging my JSON blobs as `unknown` and then using type guards (typeof, instanceof, field access existence checks, Array.isArray checks, user defined type guards[1], etc.) my way to inferring the shape of that JSON blob is as expected, and it seems to work pretty well.

[1] https://www.typescriptlang.org/docs/handbook/advanced-types....
Chrome's audit (Google Lighthouse) is good.
Seems very similar to a classic formula collection like https://dlmf.nist.gov/
It's basically Amara's law in action: We tend to overestimate the effect of a technology in the short run and underestimate the effect in the long run.
I see absolutely no reason they would keep the same policy for regions that don't require it.
Hello
See how you can start making steady extra living incomes of $100 daily on virta stock trading without you risking your money and your investment visit the website here http://www.virtatrade.com/index.php for more details
UN/China Joint Event Set to Reveal China Space Station Partnerships
> the authoritative version of that code should be plain text as well

This is why I said the ideal would be a non ambiguous mapping: so that the text and visual code is equal and you can convert between them as you please. Unfortunately, this dream is unlikely.

> Thing is, you’ll still want to enter all that stuff as text

Why, though? I’m a very keyboard-centric computer user. I use tiling window managers, keyboard-centric editors (vim & spacemacs) and generally have my setup such that I rarely need to use the mouse. But I don’t see the value of needing this input to be through text. My experience with Max and Synthmaker showed me that using the mouse can be quick, easy and efficient. I spent a few months working with Max and having to use the mouse did not bother me as much as I thought it would. In fact, it didn’t bother me at all.

I also dream of having this visual system on an ipad (because I’m wholly unsatisfied with the existing ipad programming tools, which are typically too text centric for a touchscreen) and would like to be able to use the touchscreen to draw my boxes and lines.
WebAssembly is still being designed as we speak, but I love how Wasmer has been the "less talk more action" actor since the beginning.

That being said, and while it's cool to be able to run WebAssembly code from PHP, Ruby, Python or Go, I'd love to hear about some actual use case for this.

Being able to reuse code across multiple languages is nice, but that's already doable, and usually easier and faster, by building a shared library and using a FFI interface.

Is it only about the debatable security of WebAssembly's linear memory model?
Paywall in front of such article looks especially funny.
Easy peer-to-peer multicluster service mesh with Istio operator
Stratolaunch Systems: Building the World's Largest Airplane
Hello
See also how you can start making steady daily passive incomes on virta stock trading without you risking your money and your investment visit the website here http://www.virtatrade.com/index.php for more details
By default that's what FF does too, that's presumably what Google pay Mozilla hundreds of millions for.
Dispensaries cannot accept credit cards because the federal banking system is off limits to them. But as far as id requirements go, you can walk into any dispensary with a valid California drivers license (haven't really tried with out of state ones), and cash purchase anything they have in stock.
Quantum information gets a boost from thin-film breakthrough
I've built something similar at home with three RPis and Snapcast [0]. It has an integration with Librespot [1] that shows it as a Spotify destination. It works really well!

[0] https://github.com/badaix/snapcast
[1] https://github.com/librespot-org/librespot
Do yourself a favor and delete it before to die.
TL;DR: don't read this article, it is amazingly bad. Avoid trig. Look up "arcball interface"[0].

-------------------------------------------------------

Strong opinion from a math PhD/SWE:

You'll be better off not reading this at all than learning about the subject from this page. You'll have to un-learn it afterwards.

Most importantly, whatever you do, please NEVER write a 3D rotation function and UI this way. It is horrible for many reasons I won't go into here. DO write and use the so-called arcball interaface. Here's an implementation you can play with in a browser[0]. Try it now!

The article is is amazingly bad: not only it is not the right way to think about rotations, it's also bad computationally, features bad code, and nothing is said of the right way to do these things (i.e. how it's actually done by anyone who deals with it).

It also features some "magic math", i.e. unexplained trig formulas. Feel confused? You should be, unless you know this stuff already!

Rotations aren'ta reason to learn trigonometry; if anything, it's a reason to avoid trig. In fact, you should avoid trig when you can. (People smarter than me say so too[1]).

Here are the subjects one need to learn to actually deal with rotations:

* Linear algebra. Rotations are orthogonal transformations. And by using projective coordinates, translations are linear maps. OpenGL stack is all about 4 x 4 matrices!

* Complex analysis and quaternions. All complex number are is rotations & scaling in 2D (the sqrt(-1) stuff is not even necessary to define them). Quaternions generalize complex numbers, and provide an efficent way to interpolate rotations in 3D. Again, see[0].

* Lean about Euler Angles so that you know to not use them.

As a bonus, the unexplained trig identities (like the formula for sin(a+b)) come off naturally from either matrices or complex numbers.

Note that this is not all there is to it; I still used trigonometry in that example. This is altogether not necessary, see Inigo Quilez's article [1].

Most importantly, understand that the operation "rotate an object so that it points in that direction" doesn't require neither angles nor trigonometry. You just need a way to encode the direction (as a vector, quaternion, etc).

[0]http://romankogan.net/math/arcball_js/index.html

[1]http://www.iquilezles.org/www/articles/noacos/noacos.htm
Nasa briefly updates status of Crew Dragon anomaly, SpaceX test schedule
It's not for privacy, the people who were saying that are either mistaken or intentionally lying. It's clear to see because the observational capabilities of the API aren't being removed -- only the blocking capabilities. So the privacy issue is still there. Supposedly, this change is just for performance.
Crawlab: Crawler Admin Platform Managing Any Web Crawler
Hi, I'm the author of the book. Thanks for your input :)

The book is not free, this is not a paywall, and it's not a subscription: You are buying early access to the book so that you can start reading it before I am finished writing it. As soon as the book is complete, you also get an official digital copy of the entire book (PDF, mobi, epub, etc). The book is growing quite rapidly, it's currently over 50000 words covering many topics, so far mostly related to type-level reasoning. I will be adding a table of contents soon.
I used to be at Google, years ago. I don't know if any of this is still relevant.

The design process at Google started with a design document. There was a template that I think was available online a long time ago but (ironically) I can no longer find it. The template was relatively lightweight and had some headings like so: Introduction, Goals, Non-goals, Overview, Detailed design, Security, Privacy, Testing. Compared to other design doc templates I've seen it wasn't heavy on software engineering theory. Of course the bulk of the writing would be in the "detailed design" section and subsections.

Good design docs were very detailed. One I wrote ended up being, I think, about 40 pages by the end when printed out, and that was not an especially large or unusual document. Design docs for critical systems could be larger still, or more frequently, split into many other docs. The quality of writing was generally high and they were maintained in version control. There was a mailing list where design docs were posted for company-wide review, though by the time I was there, this process had degraded quite a bit and a lot of stuff was done in team-specific design docs in Google Docs, with relatively minimal or no peer review. I felt that it was common for the less "serious" teams to do this, e.g. teams working on the latest chat product or on Google Apps itself. Those docs tended to be shorter, only partly filled out, or non-existent. The closer to the metal, older-school stuff was all hand-written HTML.

Good design docs would be kept up to date as the design evolved, although I'd say that was the minority. Most designs were the work of a small number of people or just one person. There were not many design review meetings that I recall, though probably that varied a lot by team.

Diagrams were minimal, possibly because there weren't any good diagramming tools available internally (well, there was graphviz and TeX).

Data structures would often be designed up front as long as they were either protocol buffers (i.e. inter-server comms or long term data storage), or fundamental to what the system did as with BigTable, indexing, index serving, ad serving etc. Systems where the data structures weren't fundamental to the design didn't necessarily plan out every structure in advance of course, by no means. For many products the user interface or network protocols were more important, so that's where the design docs would dwell.

The most senior engineers were very familiar with the performance costs of things, e.g. the cost of an L2 cache miss vs a disk seek, and that deeply informed the design of many systems.

That's about it.
from personal experience, it's the performance and bugs of firefox that keeps me away. for this reason i will not switch.
Devtools are also in standard firefox. The developer edition just includes new features that haven't yet made it to the current release. The chrome analog is Chrome Dev (https://www.google.com/chrome/dev/)

Firefox:
Nightly -> Developer -> Beta -> Stable -> Extended Support Release

Chrome:
Canary -> Dev -> Beta -> Stable
> Medical marijuana is effectively legal at the federal level in states where it is legal.

Unless you're a federal employee. If you're a federal employee, marijuana use is prohibited, even if it is legal in the state where you reside, since it remains a Schedule I substance under the Controlled Substance Act (CSA). As I understand it, under the CSA, doctors cannot issue prescriptions for marijuana use
How to setup 2-factor authentication with TOTP Authenticator
Intel, AMD, and ARM each see our computing future differently
Intel Gives Its Optane Memory Cache Drives a PCI Express Boost
"Architecture astronaut" refers to ivory tower architects not developers using particular languages, get your vocabulary right.

And secondly, C is probably the least productive programming language still in use, because of the huge overhead of working with memory. Don't even bother claiming this is not so, I spend enough time reviewing C code to know that this language should be banned for any new project.
Can someone answer simple question regarding privacy value.

What exactly protonmail has/can disclose by law obligation? Only encrypted message? "Envelope" meta data? Something else?

I think this is important to understand this to assess their service before calling alarm bells that it's useless or storing criminal correspodence there. I couldn't grasp it clearly from the message.
When the reply button is hidden - to reduce arguments and "over-posting" - you can click the date to go to a page only showing that comment, that page always has a reply option.
misprint PART 2: MATHEMTAICAL SYMBOLS
Yes! Some organizations are incapable of buying software.

Buying yet-to-be-developed software is easy with the right software company - you just need to provide your problems and priorities, and an open mind and let them manage the process. We do that for our customers, and we have happy customers.

But if you're incapable of choosing a good partner or you let your internal politics dominate the process, then it is extremely difficult. Even with a good development company, a dysfunctional buyer can easily be a factor of 200-500% in lost productivity.

Off-the-shelf software should be easier - you can just try it out. But the wrong organization can easily be incapable of that too, bundling everything up to save money without understanding how much more complex it makes everything and how ill-equipped they are to handle that complexity, never trying things out in practice, writing long spec lists instead, bikeshedding over unimportant implementation details, prioritizing development contract minutia over working systems, putting too many layers between the developers and actual users, going for a big bang.

There are many ways to screw it up.
Typed and those features? there isn't a single one.
But yeah, maybe what I need is a fork of TypeScript with those features (or maybe some sort of plugin)
Delayed edit: Yes, apparently tidally-locked planets can have a surprisingly large magnetic field. Evidently the major reason for planetary fields is convection, not rotation. ([0] cites [1]) However, I believe there are also homopolar [2] generation effects due to the star and the planet's (tidally locked) rotation. [3] looked at fields caused by convection due to tidal flexing. [4] talks about magnetic interactions between stars and close planets.

[0] https://www.quora.com/How-does-the-magnetic-field-of-a-star-....

[1] “Energy flux determines magnetic field strength of planets and stars”, U. R. Christensen et al, Nature vol 457, pages 167–169

[2] https://en.wikipedia.org/wiki/Homopolar_generator#Astrophysi....

[3] https://exoplanets.nasa.gov/news/217/earth-like-exoplanets-m....

[4] https://www.youtube.com/watch?v=HjfOdjpNZHo (Talk by Evgenya Shkolnik, part of Short Course on Magnetic Fields: A Window to a Planet's Interior and Habitability at the Keck Institute for Space Studies at Caltech on August 12, 2013)
So your policy is in effect "Let us oppress the many to protect the few."

Alright, then.
Ruby _is_ itself slow by any meaningful metric. That being said, the productivity gains usually outweigh the slowness.

I've been doing Elixir/Phoenix lately and subjectively it feels significantly faster than Ruby/Rails.
Firefox already implements a bunch of -webkit prefixed features for compatibility reasons. Are there specific Chrome-only features that aren't yet supported that you think should be? If so, file Firefox bugs!
How to write a game engine in pure C: Part 1 – State Manager
Few studies have been done to prove that one way of coding is better than another. Not saying that there isn't a consensus of what leads to good code (tests are a good thing). I prefer functional style but someone else might prefer Java lasagna style. The ones that say that their style is better don't have any scientifc footing at all. We programmers love to say that we are so clever but we never actually try to do any studies. I hope this will change with time.
Thanks for pointing that out, I created an issue.
Also if you are wondering why the UI feels so horrible, it is because it is horrible.

In particular, it does not feel as if you were spinning a globe with your finger, because you need better math to do that: quaternions.

Play with this[1] and just feel how much better it is.

I tried to make the source understandable, but there are many, many, many other implementation of the Arcball interface out there. Find an explanation and code that you like and roll with that.

[1]http://romankogan.net/math/arcball_js/index.html
Cheat-sheet we were allowed to use during math exams at university:

Theoretical Computer Science Cheat Sheet https://www.tug.org/texshowcase/cheat.pdf

It's 10 pages, so 3 papers with one page free for something that might be missing.
> On average, the companies that raised As had 30 coffee meetings with individual investors.

What does 'coffee meeting' specifically mean?
Thank you for your input. I'm sorry you felt this, I'll try to improve the user experience. I'll appreciate any ideas you may have about how to improve this.

I am glad you enjoyed what you read, though :)
A few things that stand out:

* Enabled WebAuthN on macOS! - Web Authentication API on MDN [0]: "an extension of the Credential Management API that enables strong authentication with public key cryptography, enabling passwordless authentication and/or secure second-factor authentication without SMS texts." I think Safari was the last major holdout on this API, so this might be huge. Could anyone that has had experience with this API share any thoughts and experiences?

* `document.hasStorageAccess()` - Storage Access API on MDN [1]: "provides a way for embedded, cross-origin content to gain unrestricted access to storage that it would normally only have access to in a first-party context (we refer to this as an origin’s first-party storage)." The feature originated from Apple: Introducing Storage Access API [2]; it's still considered experimental and is only supported by Firefox and Safari. Skimming through the related WHATWG HTML issue [3], the discussion seems worth reading if you're interested in a bit of the reasoning that goes into designing these APIs.

* `line-break: anywhere` - From Chrome Platform Status [4]: "allows soft wrapping around every typographic character unit, including around any punctuation character or preserved spaces, or in the middles of words."

[0] https://developer.mozilla.org/en-US/docs/Web/API/Web_Authent...

[1] https://developer.mozilla.org/en-US/docs/Web/API/Storage_Acc...

[2] https://webkit.org/blog/8124/introducing-storage-access-api/

[3] https://github.com/whatwg/html/issues/3338

[4] https://www.chromestatus.com/feature/5668660729348096
Intel Performance Maximizer
UTF-8 String Indexing Strategies
Simply doing an environmental assessment for the necessary processing facilities will take years, that stuff is terrible to work with, both the tailings and the required processing to extract rare earth elements.

On the upside, doing so properly could conceivably result in an actual reduction in waste just lying around.
> they're shocked by the 30 number, despite having had investments in like 624 billion companies so far

Handholding start-ups through their Series As isn't YC's core competence. If one could schedule two and a half meetings a day, on average, individual partner pitches could be had in 3 weeks. Give it 1 week for a partnership meeting and 1 week for a term sheet and you're talking zero to term sheet inside a month and a half. That's good. Unusually good.

YC's network serves to speed up the rate at which those 30 meetings get scheduled. Not change the fundamental dynamics of company-investor fit.

In any case, we have no baseline. It may be the case that 3% of YC coffee dates result in a term sheet while 0.3% of non-YC meetings do the same.

> You think they would have at least heard about something to this effect from their relationships with YC companies?

There is a lot of information buried in relationships that never surfaces because nobody is incentivized to ask. No CEO worth her salt will start waxing lyrical about all their failed coffee meetings when a term sheet on the table needs to be closed. And after the capital is raised, there are more pertinent questions for both sides.
That is true, but at least one can use Excel offline or isolate the process from networking for a decent level of security.
Seems like a security nightmare, especially as the development team appears to consist of one person.
It may be related with your screen resolution, I agree that Firefox has serious performance issues on Macs due this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1404042 [Poor battery life on OSX with scaled resolution]
crowded namespace
There's an active community of companies and individuals still working on what gets called LENR (cold fusion being a bit of a tainted term).

However it seems to be an area that's rife with the potentials for scams, with some participants claiming to be "almost at the point of commercial LENR setups" for many years now (e.g. Andrea Rossi and his E-Cat work)

Sites like https://www.lenr-forum.com/ and https://e-catworld.com/ have more info. on it.

I'd like to see one or more of the companies get there, but having followed it on and off for some years, I'm not holding out a lot of hope...
It's organized like a debate file. Fascinating.
> What does 'coffee meeting' specifically mean?

Meeting at a coffee shop. Informal, short and stuffed in between the investor's scheduled work. Pitch deck may or may not come out.

One implication of a coffee meeting is there is a personal layer to the relationship. (Someone made an introduction, or you know each other from prior work. Website submissions don't tend to land coffee meetings.) It also signals a recognition, on both sides, that early-stage investing tends to require personal connections between founders and their investors.
Chrome itself is not. Chromium is opensource. That's what Brave, Edge, and what ever others are using.
Thanks for your input. The email address is so that you can login afterwards, whenever there are new book chapters to be read. I'll clarify this, thanks!
Next step after burnout at work?
Been working at tech company/startup for a few years now and having severe burnout. Thinking of leaving and taking 1/2 month career break and trying to do my own thing OR doing a short course or postgrad? Any suggestions on best options for someone working in tech and hoping go embark on entrepreneurship?
Vegas. Now there's a place for Musk.
every day i'm happier that I've changed my browser to firefox last year.
Hi HN! I created a website that finds the best flights and offsets the carbon emissions of those flights automatically. FlyGRN uses the income of selling flights for supporting solar panel projects in India that offset the flight’s carbon emissions largely. Of course for the environment it’s best not to fly, so we also show train alternatives on top if they are available. Any feedback is appreciated.
The only people “complaining” are a few computer geeks.
> These are just features and settings, there's no requirement to use them.

I think you missed my point. Google say that the Enterprise version will continue to support WebRequest API. If the Enterprise version is the same codebase as the normal version, then it's a good educated guess that the Policy keys are whats controlling that.