skysight-inc/HackerNews huggingface dataset:
Ask HN: How Does Brex Startup Credit Card Work?
I am talking about this Brex company - https://brex.com

Few Questions:

1) If I purchase something using Brex card then money will be paid by Brex or by my bank?

2) How does the money settlement work between my company, bank, and Brex?

3) What is the eligibility criteria to issue the Brex credit card?
People were looking at tether tech a decade or so back. You throw the payload into a higher orbit which gives you a negative delta v.

But the timing has to be pretty precise on that release...
Procedural macros aren't macros in the c sense though. They generally are done by acting on an ast (more similar to lisp macros).

Macros aren't complex, c preprocessor macros are complex. Although generally, magic that introduces names that aren't defined anywhere is bad, whether it's c macros or a python metaclass, but the metaclass at least has some direct connection to the magic name.
Exactly, I wouldn't even calling working for fb selling my soul.
Emblematic of the false sense of superiority from a party that accepts corporate money just like the evil sponsored candy party.
> Why else would he brag about this in the NYT?

To inspire/shame others into doing the same?

Imagine if you had to "keep up with the Joneses" in charitable giving rather than size of house or car or boat.
Make sure to exercise.
My mistake, the redline seems to have grown in my memory. Redline appears to have been 8,200, with a fuel cutoff somewhere south of 9,000, which was very easy to hit in 1st ...
It is plain and simple: if you don't have total control of the technology you are using, you'll get bullied by US government.

>> The Chinese government was and is an authoritarian state that is completely and totally ruthless.

I don't see any value in your last line.
> They're neither as efficient as C/Swift, nor as flexible as Lisp.

My understanding is that, at the cost of a significant penalty for the (hopefully rare) exceptional case, error handling with exceptions can be faster than returning values like in C in the (hopefully common) successful case.
Such "easy to use GUI drawing libraries" would still need to be written in javascript. If you want actual things to appear in the browser you still need to interact with the DOM, which is actually harder with WASM, not easier.

And while it's technically possible to say, just compile QT to wasm and give it a CANVAS tag as a dumb drawing surface, you've just broken accessibility, and that's a deal breaker.
Does anyone have a good way of representing HTML in the form of types? I'm primarily thinking about how it's tricky to pair valid attributes with the correct elements. For example, it should be okay to use the "alt" attribute with the img tag, but not with the p tag. It seems like there should be a type-safe way to do this.
It's not benign -- icon fonts are bad for accessibility because screen readers will read out the actual glyph unless you use pseudo-elements or extra markup. Additionally, many users on limited connections will turn off web fonts, and then your icons will break.

It's a hack that was necessary at one point, but has been largely displaced, like table layouts or image-based drop-shadows. SVG is just better nowadays[0]. You can even use the same pseudo-element tricks to insert them purely in CSS, which is yet another accessibility win.

[0]: https://css-tricks.com/icon-fonts-vs-svg/
I went to Hong Kong earlier this year, and I was amused by how there were luxury watch shops seemingly everywhere. My first assumption was that they were for laundering money out of the mainland.
I had loads of experience when i encountered the scenario so your story is much more impressive. Agree that the schooling this kind of scenario provides is harsh but an enriching one.
> The problem is many kids want a luxurious college lifestyle where they do a little work, play a lot of beer pong, and live in nice dorms.

But which came first? Did colleges build the nice dorms because students demanded them, then raise the tuition to pay for them? Or did they build the nice dorms to justify the high tuition they were charging? Students have always wanted to play beer pong and have fun during college - this isn't exactly news. Leaving college with crippling debt seems to be a relatively recent phenomenon though.
I struggle to get enthusiastic about outdoor bouldering. I've done it in Bishop, Squamish and just get demoralized after getting shutdown on V1 problems after 3+ attempts. Love trad though.
>>you would be crazy to not sell out

Its not exactly sell out. What exactly are you doing writing code at other companies any way? Writing code for Mahatma Gandhi?
From my recollection, they didn’t have much to say. The car was abandoned in Hillside, NJ just outside of Newark, at the time at least car theft was rampant there so the police were pretty matter of fact about the whole thing. The car got impounded, and it felt like the impound lot and the police department were conspiring to keep it there (like, to get the car out, you had to get a release from the police department on the other side of town from an office with very limited hours, which was only good for one day, and then make it back across town before the impound lot office closed for the day.

I recall my insurance company ended up paying more than the car was worth (before the theft) in impound fees, before even they could get it out.
Nice tool, but I prefer more complex solution like Jekyll or Publii https://github.com/GetPublii/Publii
It is infringement not theft despite the extensive rhetoric to conflate the two. If something is stolen they no longer have it. If something is infringed then it is only their exclusivity undermined.

Say you own the Batmobile from a particular Batman movie and all rights to its reproduction. If make an exact copy of your Batmobile you would still have it in your garage. The value might be undermined some because it is a substitute good but only one was involved in the filming.

Infringement may still be wrong (it varies by circumstances just like how breaking a baptismal font to save a boy from drowning isn't simple sacrilegious vandalism) but it isn't theft.
Yea fair point I agree. The market will optimize for things which may be worse in the long run.
Sure, you need to make money, but it's a false dichotomy to say you can either make money or try to do something good. No one "just has to make selfie sticks".
China has every right to control their own technology. They do not have the right to steal it in any fashion that they see fit. Develop your own without violating international laws and norms. Europe, the US and most of the world competes globally without resorting to such underhanded and damaging tactics. China is one of many global citizens, not the only global citizen, and the way they interact with the world leaves much to be desired. They will learn one way or another the consequences of their actions.

>> I don't see any value in your last line.

Then you don't understand the West. Freedoms and values are important. How your government is run is important.
Great book. Practical Typography was one of my early introductions to real typography on the web (as opposed to "go to Google fonts and download something that looks cool").

As with any typography book, its opinionated, and you should keep that in mind. Occasionally I'll see advice and decisions I disagree with. But, it's still a fantastic resource. Read through it, and consider buying it as well, comparatively it's worth more than many other locked down books you could buy instead.
While I dislike Nick Clegg for all of the reasons you have laid out, he’s arguably an appropriate hire for this role, regardless of one’s opinions of his politics.

Facebook is facing potentially a lot of serious legislative recriminations following the Cambridge Analytica scandal etc. Hiring someone as familiar with European politics as Nick Clegg strikes me as a relatively sensible move, given his experiences as a British MP, Deputy Prime Minister in the UK, political party leader and former Member of the European Parliament, at least if you think impartially about the future challenges facing the company. A hire like this is as much for his Rolodex as anything else I suspect.

It’s arguably a little unfair to consider his political popularity as a measure of his ability, the political situation the Lib Dems found themselves in following the 2010 election was pretty complex.
If you use JSX with typescript you effectively get type-checked html attributes.
...Google definitely understands how HIPAA works. GCP and G Suite both have HIPAA compliance to varying degrees. I don't think that person had any chance of getting clearance to do that from the G side, less your side.
Because tourist taxes are not visible, I assume the worst. This discourages me from travel. I may be wrong, but I just assume that the cost of a trip will be far higher than I'm told.
The purpose of your life (by a self-realized monk)
Hmm, haven't looked at doing that yet - any thoughts on what would make that appealing? It feels like a somewhat crowded space already.
Hoping to be a brain in a jar TBH
Well written. I did a very similar deep-dive Websockets presentation at a local JavaScript user group [1]. The presentation culminated in a live demo [2] I hosted on my laptop over the local wi-fi, allowing everyone in the audience connected to the wi-fi to connect with each other in the app. Of course, it only took the audience about 2 minutes to discover some cross-site scripting vulnerabilities in my not-meant-for-production demo app, which allowed them to start showing videos and playing embedded videos on each others' computers.

[1] https://os.alfajango.com/websockets-slides/#/

[2] https://os.alfajango.com/websockets-demo/
Canada’s brain-injured Cuba diplomats speak out about Ottawa’s silence
This story is just a wrapper that links to the wsj article "With Facebook at ‘War,’ Zuckerberg Adopts More Aggressive Style" being discussed in https://news.ycombinator.com/item?id=18482855
Something funny about Wikipedia is how it mirrors the way humans spread knowledge. Look for the same article in Wikipedia in different languages, and you find different information. Even further, many articles (such as this one) simply don't exist in other languages.

So good luck on bumping into information on the US Senate Candy Desk if you're only searching the French Wikipedia. Likewise, good luck bumping into an anecdotal article about France if you're only searching the English Wikipedia.
Details of the specific lots in question can be found in the linked Memorandum, with a map on page 7: http://sanjose.legistar.com/gateway.aspx?M=F&ID=6e29db0e-c5d...

The biggest lots appear to be currently used only for parking for the adjacent SAP Center sports arena: https://goo.gl/maps/5rGgitUeisL2
If you're referring to Rust's ability to infer types from macro tokens, not sure how far you'll get. But Typescript itself can absolutely track permitted attributes for different HTML tags, and it compiles JSX using these types: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/mast...
That was an awesome move at the end!

I loved rock climbing, but overdid it by doing it 2 times per week in combination with squash and badminton. Too much for the tendons of my arms, and it never really went away.

One of my favorite childhood memories was going to Fontainebleau, just south or Paris. They have fantastic outdoor bouldering there.

25 years later I went back there for my honeymoon and it was just a great as I remembered.
That 2 MB might be messier than you suggest. It seems like people close to the project spent time trying to clean it up:

https://github.com/golang/go/issues/6853
It was a bank, that was just standard procedure for everyone. Technically I was a contractor not a intern (and it "just happened" to be for a summer between two semesters of university), but I doubt being an official intern would have changed anything.
I totally agree. One of the spider monkey's at my gym explained that my basic 'problem' was I can't will myself to deploy more force when I need. I asked how to fix that and he kinda shrugged and just said 'I mean you just pull harder'.

That was disheartening.
It's not just complexity, it's compilation time/effort. I personally see no problem with it and am also happy my build.rs script can automatically do logic like code generation at build time. However, I completely understand a Go approach that would never consider such an automatic "go generate".
This comment is borderline nonsensical. Please don't post comments via google translate.
Agreed — I don't think I've ever seen this much hypenation in content that has such a ragged right edge. That is, newspapers have lots of hyphenation, but are justified. This has lots of hyphenation but is not justified, or at least not very well justified.

As an example, half the lines in this paragraph [1] are hyphenated. At the same time, there's a 4-character delta between the shortest and longest lines. It would have been more easily readable (to me, at least) if the entirety of "software" had been bumped to the second line, which would have had the cascading effect of eliminating the need to hyphenate "program" in the following line and "technical" in the line after that.

I'd be curious to know what the author's reason is for laying out text in this way, as I imagine this is based on some of his typographical rules.

1: https://imgur.com/a/Bw4fYE6
I emphasize with the general sentiment, but this doesn't appear to be applicable to this particular deal, which seems to involve parking lots and disused government buildings.
> 3. Eliminate all competitive sports across all schools and colleges. This is just noise that nobody needs.

I wouldn't eliminate college sports entirely - it's useful for brand building, keeping alumni (ergo donors) and the local community engaged, school spirit etc. But the "student-athlete" concept seems like complete nonsense. They should pay the players proper wages, give them good health insurance etc. Right now it's scandalous the amount of money everyone makes in college sports, but none goes to players or cheerleaders.

Ideally they'd license the college's image rights to a private organization that runs the team, and the players play on it full-time. Those who choose can study for a degree at the institution concurrently, or after they finish playing. Some players may get drafted into professional leagues and do so well they don't ever get their degree. The coaching staff are employees of the team's organization rather than the uni.
From a G Suite / GCP point of view they really only have to worry about the HIPAA Security Rule, most of which can be punted off on the client (they need to audit and control access to the platform, proper breach notifications and a BAA - the rest is mostly up to the client).

Collecting patient health records starts bringing the HIPAA Privacy Rule into play, which they have zero experience with.
It's also not from 2012. Miguel did a major rewrite last year that was crowd funded. This is the updated guide.
You shouldn't comment so confidently about something you don't understand. The position is drawn. There was no way for either side to win.
I’ve been writing single-page apps for about 4 years now, and somewhat agree with your sentiment.

Lately I’ve been experimenting with Jekyll and Vue. The approach is not perfect but it’s a lot closer to the simplicity of the old-school approach you are preaching.
I'd rather economists actually worked on predicting the futures of normal economies, which they still have failed to do.

Although IQ is extremely heritable, I doubt the addition of biology and the influence of nurture would enable anything beyond good headlines for dumb news organizations.
Have fun:

https://www.youtube.com/watch?v=oYgDT9fSiAs
TypeScript's type system can do it:

http://www.typescriptlang.org/play/#src=%0D%0A%0D%0Atype%20A...
I watched the first episode. I really liked it and will watch the the rest shortly.

Her enthusiasm about food was pretty contagious. And it was interesting. If there is a complaint, its a little light on the how-to (it isn't "america's test kitchen), and it needed a little more content for the length. I found it interesting to see the Italian attitude to food and also found the "olives" and butcher interesting (as well as the pesto segment..).
Thank you for creating this.

Some feedback / feature requests:
My family is 4 - a 4 yr old and a 1 yr old in the mix. They eat what we eat.

So, I put in one meal for 1800 calories, which is roughly dinner for two adults and half dinner for two toddlers. Ideally, one adult would have enough leftovers for lunch the next day.

The main results I got included egg dishes or oatmeal, so very breakfast heavy. The option to choose meal type would be great!

Planning our family dinners is a significant friction point in our lives - we have a very difficult time thinking about what we will want, getting the food ordered (we primarily do grocery delivery), and getting it on the table quickly (we pick the kids up from care at 6, do the playground, and then quick cook to try to have family dinner 7-730. This resource has so much potential to remove or minimize that friction and I really appreciate it!
I really think all modern languages should have something like this!
Sex is overrated.
You are correct that it would be bad to do so to an extreme, but what the poster describes doing doesn't seem like much of an impediment to living a full life other than maybe the fasting if they're being extreme about it.
>You also don't get the tools to "engage" with the world. Blocking traffic, needing safe places and being triggered by anything you disagree with isn't "engaging" the world.

Are you of the opinion that this is the primary topic studied at American universities nowadays? I’m having a hard time squaring away your obviously propagandized portrayal with reality.
This library represents HTML in types. The <p> tag turns into a typed_html::elements::p [1], inside of which the attributes are held by a typed_html::elements::Attrs_p [2].

[1] https://docs.rs/typed-html/0.1.0/typed_html/elements/struct....
[2] https://docs.rs/typed-html/0.1.0/typed_html/elements/struct....

let doc: DOMTree<String> = html!{
<body>
<img alt="xxx" />
<p alt="xxx"></p>
</body>
};

If you try to give <p> an alt attribute, the program fails to compile.

error[E0609]: no field `alt` on type `typed_html::elements::Attrs_p`
--> src/main.rs:12:16
|
12 | <p alt="xxx"></p>
| ^^^ unknown field
|
= note: available fields are: `accesskey`, `autocapitalize`, `class`, `contenteditable`, `contextmenu` ... and 9 others
It goes both ways. Why doesn't Mexico have a IP "theft" problem? Because they are only capable of labor outsourcing.

China on the other hand has a complete domestic industry, they can make everything from tiny screws to atom bombs. There are only handful of countries can do this, if I recall correctly only USA and China. These countries' government has a long term goal of a self-sufficient, independent economy in case of doomsday scenario. Rest of the world depend on each other somehow.

Thus China kinda have an strong domestic supply chain. And it would be foolish not to copy because you have the productivity and scale advantage.
Here is one (of many examples.) Facebook COO Sandberg hires a right-wing firm to spread rumors and shift blame onto George Soros. This isnt just bad behavior -- this is abhorrent. George Soros gets bears brunt of anti-semitism (recall just weeks ago a rightist sent him a bomb due to propaganda blaming him for literally everything.)

https://www.nytimes.com/2018/11/14/technology/facebook-data-...

Delay, Deny and Deflect: How Facebook’s Leaders Fought Through Crisis

Ms. Sandberg has overseen an aggressive lobbying campaign to combat Facebook’s critics, shift public anger toward rival companies and ward off damaging regulation. Facebook employed a Republican opposition-research firm to discredit activist protesters, in part by linking them to the liberal financier George Soros. It also tapped its business relationships, lobbying a Jewish civil rights group to cast some criticism of the company as anti-Semitic.
I see the terms "python" and "search" and "millions of sets" and think data science... except that in the data science contexts with which I'm familiar we're looking at billions of records among petabytes of data. I know the article is about what can be done on a laptop but I'm left wondering if this is a neat small-scale proof of concept or something that scales and I need to research more when I've had coffee rather than bourbon.
Usage of Feynman's official IQ score as some sort of 'proof' of anything is often overused.

I don't have the exact citation but it is fairly well documented that he scored well on other very challenging tests that correlate strongly with IQ (not to mention his actual career accomplishments).

Needless to say, people bandying around his score on this one test as evidence that he was 'bright but not in a high IQ' way is disingenuous or ill-informed, to say the least.

I could be wrong but I believe the common consensus is that his 120ish score on that test was not representative of his actual IQ, and was maybe the result of some other circumstance.
Impact from the deep (2006) [pdf]
> This is obviously a PR move to win favor amongst the college age people and to gauge his prospects.

Yes... $1.8 billion is exactly what everyone pays to "gauge their prospects". It's not like it's like 3x times as much as Obama's entire 2012 campaign.

> It's no secret that the extremely wealthy tend to have sociopathic tendencies.

It's not a secret only in the way that it's not a secret that Elvis is alive.

> They don't do anything for charity or out of the goodness of their heart. They always have ulterior and selfish reasons.

Are we still talking about just "the wealthy" or is there any other specific group you had in mind writing this?
No single approach covers all use cases, but a real problem is that single-page apps have been overused.

It makes sense for something like Trello or Gmail, but using the same approach on every project is a mistake.
To undermine previos knowledge you need to understand everything prior and reaching the current point of knowledge in that field, even more than if you want to make some incremental discovery. Einstein, Heisenberg, Planck, and Born had a deep knowledge of the current state of Physics at their time.
platejoy? Well its not technically a cookbook, but...

Its a y combinator company and does meal planning online.
If you have some diet restrictions its useful. I does seem to grocery list/ knows what you should have in stock (digital pantry based on your shopping list). We've been using it a couple years now (after dealing with the overflowing vegetables from a CSA) and its been good. Lost a little weight too.

[1]https://www.platejoy.com/
> However, I completely understand a Go approach that would never consider such an automatic "go generate".

These end up existing anyways though. At least a few places are using Go with their own preprocessor - isn't Kubernetes doing this?