skysight-inc/HackerNews huggingface dataset:
I suppose you could layer something on top. But I think it would be tricky to come up with something with satisfying performance properties. A naive encoding of JSON into Cap'n Proto would result in messages that are much larger than JSON messages, because of all the pointers and padding and text field names.

I haven't looked into exactly how FlexBuffers work but off the top of my head I suspect that leveraging FlatBuffer's "virtual table" technique probably helps here. In (normal, schema-ful) Cap'n Proto, fields within a struct have fixed offset, meaning that unused fields still take space. As I understand it, FlatBuffers tries to avoid this by adding an extra layer of indirection -- each struct has a sort of "virtual table" which stores the offsets of each field, where some fields might not be present at all. If multiple structs in a message happen to end up with the same virtual table, then the virtual table is only written once.

Totally speculating here since, again, I haven't actually looked at FlexBuffers, but if I were building something isomorphic to JSON on top of FlatBuffers, I'd probably look into extending the virtual tables to index fields by name rather than number. So if you have two structures with the same set of field names, they can share a virtual table, and those field names only have to appear once. That'd be a pretty great way to compress JSON.

Back in Cap'n Proto, we don't have these vtables. For data with fixed schemas, my opinion is that these vtables seem like they require more bookkeeping than they are worth. But for dynamic schemas they seem like a much bigger win. So if you wanted to encode dynamic schemas layered on top of Cap'n Proto, you'd probably have to come up with some similar vtable thing yourself.
It looks like https://github.com/google/riegeli might be what you're looking for? (from a search of "RecordIO")
i7 can regularly archive 2-3ipc easily.

I haven't read about P4 and NetBurst in a long t ime, but is mu memory serve me right, P4 is usually less than 1ipc due to its very long pipeline (31 stages IIRC) that is very prone to pipeline stall. Modern processor can also do many thing faster. I think P4 takes ~110 cycles for integer division, while modern cpu can do in ~30-40 cycles. And IIRC, P4 cannot flush the division unit so if branch/jump prediction is wrong and division is speculated, it was to wait until the division unit finish computation before it can resume execution.
The Courage to Be Disliked by Ichiro Kishimi

My favorite quotes:

PHILOSOPHER: To quote Adler again: ‘The important thing is not what one is born with, but what use one makes of that equipment.

The courage to be happy also includes the courage to be disliked. When you have gained that courage, your interpersonal relationships will all at once change into things of lightness.

once one is released from the schema of competition, the need to triumph over someone disappears.
NBCUniversal CEO Jeff Shell Has No Time for Hollywood Egos
There's a Citrix setup as well, which while slow works fine for the one or two times a month that I need access to encrypted email... so I haven't carried around the Windows laptop.
I used to work really close to where this bridge is at my last job and many of my coworkers had worked in offices even closer previously. Supposedly, every time there was a crash people would rush to observe what happened even though it was a fairly common occurrence.

The bridge is located in a kinda odd space to do construction. While I imagine it's possible to retrofit or dig it to be deeper, it likely would have been really inconvenient to the adjacent businesses.
The concept of "freedom" defined in the article makes no sense to me. It is like saying "I would like the freedom to go where I please, even if it means I am trespassing". No, that's not how it works in the real world.

>>Basecamp (DHH and Jason) can make their voice heard, but how many companies (specially the small) have faced the same thing and just succumbed to Apple’s “rules” and just had a 30% pay cut?

If you choose to use Stripe, are you taking a 5% (or whatever their commission is for your region) pay cut? Arguing for the amount charged is different, but calling it a pay cut (as if you were entitled to get that amount) is just idiotic. Remember that you are free to not release your app on the App store if you don't want to "succumb" to the rules. Is the marketplace forcing you to build the iOS app? Then blame the marketplace, not the gatekeeper. Or even better, go play a different game where the marketplace doesn't force these options on you.

DHH is acting like a whiny little baby, to be honest. How about: don't create an iPhone app. Isn't Basecamp supposed to be an amazing pioneer when it comes to SaaS? So see if you can chart a new path for others by refusing to build an iPhone app and see what happens? Will that become the new trend? Will Apple be forced to lower the commission or change these rules because everyone building a SaaS starts doing the same thing as Hey? Also, will people switch to using Android just so they can use Hey? It is not as if iOS is the only game in town.
This is what I'm considering. I'm relatively content having been programming long enough. If I go back to school it probably won't be CS.

On the flip side, unfortunately CS is one of the few useful degrees that's had enough schools create a worker-friendly program (i.e. online) so many other degrees probable mean dropping out of the workforce.
Do you know of any non-TCP, non-UDP, non-ICMP, etc services I can try out?
I have well controlled diabetes type 2 and sleep apnea that has never resulted in nodding off. What's the scale of additional red tape for that?
> wait, YOU said that it's obvious

Nowhere did I say it. Definitely not in this statement:

> I'm not referring to a deep secret. This is well documented. Just search the Internet for H1-B "prevailing wage" loophole and you'll find some.

I suggest that if you want to have a fruitful discussion, you not put words into people's mouths.
Some extrasolar moons could be habitable for humans
I believe this is the docs that explain their type byte. That information is stored:

https://google.github.io/flatbuffers/flatbuffers_internals.h...

> A type byte is made up of 2 components (see flexbuffers.h for exact values):

> * 2 lower bits representing the bit-width of the child (8, 16, 32, 64). This is only used if the child is accessed over an offset, such as a child vector. It is ignored for inline types.

> * 6 bits representing the actual type (see flexbuffers.h).

> Thus, in this example 4 means 8 bit child (value 0, unused, since the value is in-line), type SL_INT (value 1).

Type aware methods like `.isInt()` wouldn't make sense if they couldn't determine the underlying type.
Never use a vacuum on electronics! Use cans of compressed air instead. The author partially addressed this in the article but I feel that the message doesn't really come out as clear as it should. The static generated by a standard vacuum cleaner can damage electronic components, the author is wrong in their belief that this only applies to desktops and not laptops (and why would that be the case?).

PS air compressors are not a good alternative: they might suffer from internal condensation and emit air that is too moist, that's why it's best to use cans instead.

PPS there are vacuum cleaners specifically designed for electronics. They tend to be pretty expensive. It's OK to use those.
You forgot Python and C# :). Plus a Unity3D specific version, which is battle tested in a game with more than half a million downloads ;).
When a physicist says 'light' they mean electromagnetic energy of all frequencies - not just visible light. All the forces become unified at high temperatures. The universe is thought to have 0 total charge, so even the attractive coulomb force does not counter gravity -- it in sum total, does nothing. Gravity doesn't push the car down the hill, the car pushes you, because it itself is being pulled, silly semantics.

The gravitional force is a negative, it destroys separation and distance. Light and the other forces create separation and distance.

In your black hole example, the light has a momentum, and that doesn't vanish if a black hole forms, the black hole will continue moving.

Rapid fire of some refutations.
Has anyone ever found a guide of similar format and quality for data science? I would love to find a similar collection of resources for learning data science fundamentals (math, statistics, programming, etc.)
They actually raised the bridge another 8 inches recently. The 11foot8 channel covered a lot of the work being done and stuff.... and the 12foot4 bridge still gets new victims from time to time, just less often.
You have to upgrade to Robinhood Gold (which is free for the first month, then $5 a month thereafter).

If and when you open a Robinhood account you have to opt-in to gold to be able to invest with margin.

https://robinhood.com/us/en/support/articles/overview/
Google Makes It Easier for You to Log Off Your Phone Number to Receive RCS
> The problem with long lasting alien civilisations is that if they do exist, why aren't they here already? Colonizing the galaxy only takes a few millions years even with 0.1c.

Suppose it turns out that there is nothing faster for interstellar travel than rockets or light sails. No wormholes stabilized with exotic matter. No warp drives. No other tricks.

I'm not sure in that case that those long lasting civilizations would bother trying interstellar colonization. The round trip transport time between the home world and colonies would be so long that it is hard to come up with any economic benefit establishing such colonies provides to the home worlds.
He is always an interesting read but is usually all to eager to jump off the deep end.

I recall him in 2012 saying that the aviation industry would be history by 2018... that clearly didnt pan out. The theory was reasonable but the time frame was wildly out of whack.
> The Legal format itself is quite rarely used, the notion that it is for “legal” work is a popular myth; the vast majority of U.S. legal documents are actually using the “Letter” format.

Can anyone confirm that this is really the case in the U.S.? In Canada at least, lawyers often use a paper size even longer than legal format. It makes photocopying a huge pain because the glass plate isn’t long enough on ordinary copiers, and these extra long sheets don’t fit in standard file cabinets without folding, and forget about using binders. Nobody uses these ridiculous extra long sheets except (Canadian) lawyers.
What's also hidden behind the numbers is that a lot (most?) of H1-Bs come from India and China, both of which have insanely long green card backglogs. Because changing jobs while on H1-B is a perilous affair (and employers know it), those folks end up basically in indentured servitude to their original H1-B sponsor employer, especially if they have families and/or property in the US.
All your replies are arrogant in tone and derogatory to other posters. If you're trying to prove a point you should have to put in as much effort as you are requesting from the others. Provide valid links where the assumptions were wrong and justify your argument. This condescending tone does not suit HN community. I hope someone flags your comments.
SF, north Oak, Berkeley, Portland, Seattle, Vancouver, Boulder, Austin...

It’s a broken record. If only those people there would get out of the way and make way for the brave new world as god intended for capitalism.
Shouldn't the Math for CS come before the Algo book?
It's not just Figma; a project that I'm on has been having basically the same challenges with Sketch/Sympli, and Axure before that. Breaking it into two separate "wireframe" and "mockup" steps has helped, but folks are still rushing to the "mockup" step too soon IMO; lots of things that could have been caught in the wireframe stage are still having to be corrected in the mockup stage instead, pretty much as described by parent. It's a fairly recent change for us, though, so I am hoping that things will get better with practice.

Personally, I'd rather just implement the wireframe (or something like it) and try to iron out the interaction wrinkles there where it's much easier to update the design and you don't have to worry about fonts and spacing nearly as much; once the interaction implementation is nailed down, then I think it's a better time to move on to the mockup. Hopefully we'll get an opportunity to try this at some point, but it was enough of a struggle to do a separate wireframe at all that I'm guessing it'll take awhile ;-)
Silicon Valley startups are pretty much, hey what do you want as far as laptop specs go? At my company new hires can pretty much order anything they want (which is mostly MacBook Pro max CPU and RAM) and one or more monitors, no issue. Heck we have one or two crazy people with Windows laptops :) Old employees are welcome to refresh at 2 years no issues. I am on my 3rd laptop in 5 years. In my case I travel so I have swapped MacBook Pro for a MacBook then a MacBook Air. I have the same Apple 4K LG on my desk at home and work paid for by the company. Same mechanical keyboards also.

This is pretty typical here.

Heck we swap build servers every 6-12 months based on test speed. We buy one of every new CPU and do a test run of auto build and ptest. If it is reasonably faster we order a new rack and replace the old boxes. Power and cooling is way more $$ then the HW. Every month we do not need a new cage is a win. We are deploying AMD Epyc now with 10G-T + 4x1G (not network limited in our test, just segmentation to test DUTs) with a core of 100G for fileservers and 25G for services. File servers are TrueNAS SSD shelves for test and with spinning rust for build artifacts. We run ~1000 containers on a single server in ptest (scaling that was fun to figure out ... hint you have to play with networking stack ARP timers - strace is your friend).
I think you hit the nail on the head why they're not winning - no one wants Creative Cloud.
Live Solar Eclipse Feeds Tile View [21-June-2020]
TN allows for no immigration intent and can be rescinded any time you cross at the whims of the border guard. Most US companies will transition a Canadian to an H1-B and then a green card as quickly as feasible.
I have no opinion against change, per se. I think that is an unfair and incorrect reframing of someone's opinion. It is only the nature of certain changes I have an opinion about. It is like if someone has opinion about X, a single example of how to implement Y, and then someone else accuses them of being "against Y". Ridiculous.
FlexBuffers are actually not built on top of the FlatBuffers encoding, they have their own special purpose encoding, which tries to be as compact as possible while still allowing in-place access (details, search for FlexBuffers here: https://google.github.io/flatbuffers/flatbuffers_internals.h...).

Funny you should say vtables may not be worth it.. I was of a similar opinion (why would you have many fields that are not in use??) until people showed me some of the Protobuf schemas in use at Google, with hundreds of fields, most unused. This is what pushed me in the direction of the vtable design.

Data always starts out neatly.. but the longer things live, the more this kind of flexibility pays off.
Thanks for linking the article. Despite the original article being about FlexBuffers, I happen to have been looking at FlatBuffers vs Cap'n Proto today.

That article is a bit old; is there anything that stands out to you in the last ~5 years where things have diverged?
Remove some offensive/archaic terminology from OpenSSL
Heh, well, you could get it for free in Cap'n Proto if Cap'n Proto allowed pointer aliasing. It doesn't, though, because if it did, then messages would not be trees, they'd be graphs, which ruins a lot of stuff. For example, a very common thing to do with a message is copy one branch of the tree into a different message. Deep-copying a branch of a tree is easy. Deep-copying a branch of a graph, though -- what does that even mean?
This is a very thorough explanation of what I consider a brilliant paper size standard. What genius to make the aspect ratio identical for each size, and to create smaller variants by cutting the larger one exactly in half.

There are two places where you can tell it's a bit dated though. The first is in declaring the TV aspect ratio as 4:3; it's just about universally 16:9 now. The second is the expectation that the U.S. would be converting to metric, that becomes less likely with every passing year.
More specifically, how JavaScript can do a lot in browser by interacting through the DOM API.

The modernization of the DOM API in the last 5 years has done a lot to remove the need for jQuery et al, and has made building the View part of JavaScript apps much more frictionless.
Because it was outdated technology, that’s not even what you are talking about. You’re talking about a fundamental change in technology, not production methods (automation) or market/labor expansion (globalization).
Frankly, I’m not sure what point you’re even trying to make.
I vow for open standards and used to upload epub files to Google Play Books and read in my devices (Kindle Fire 8 - with Google Play sideloaded, iPhone, iPad) with decent Sync. In december I got a Kobo Aura 2, my eyes are more comfortable have less distractions but I lost ubiquity and sync, also E-reader feels slugish and dictionary font is very small even with glasses. It's a take the blue/red pill situation.
The name AIM is already in use by, and widely associated with AOL instant messenger [1].

1: https://en.m.wikipedia.org/wiki/AIM_(software)
> But America is not South Korea or Singapore. Americans have been running away from dense, vertical design for a century. Those who already prefer sparse, low-slung living will likely use their fear of COVID-19 to entrench their preference.

More like Americans were sold a very particular dream of sparse living by car companies that later solidified with the racist/practical implications of how inner cities were perceived.

Also, it isn't just SK or Singapore. European cities tend to abhor sprawl as well. In some sense, it unique to the US and countries that culturally draw from the same ford-American dream.

> The pandemic will improve suburban life, perhaps in lasting ways

The idea that suburbs are resilient to the pandemic because of the unsustainable lack of shared spaces and inherent isolation is hilarious to me. Historically speaking, this is a once in a century thing. It won't and should not affect how generation defining decisions are made.

Full disclosure, there are very few things I hate as much as American suburbs and urban sprawl.

But, those who dislike dense American cities often seem to dislike things that have nothing to do with the density in the first place. The crime caused by inner cities is a result of white flight and racially driven policing of the last 50 years. The dead looking cityscape of some dense cities are a result of terrible urban planning. (American Urban design is known to be sub-par. Most European cities with similar constraints have implemented better and more practical solutions)

Chasing naive single minded goals such as "more density" or "more bike lanes" is not what freedom from suburbia looks like. Well thought-out urban design ends up being dense, with public transportation infrastructure and bike/walking friendly. But adding any of those things hap-hazardly to an old system that clearly was not designed to support it is stupidity.

Hopefully people understand that it doesn't have to be a choice between thoughtless dense urban development and Suburbia. There are other proven options out there.
I wonder why my Samsung Gear S3 has nothing like this. Its water proof and has speakers as well but there is no "you cant use your watch because its wet". Until now, I didnt even think about this might be an issue. The watch just... works. No matter if wet or not.
Why would you care about violating a law nobody on earth has any chance of catching you and punishing you. If you want to give money to the author you could consider seeing if they have a way to take donation/patronage or buying a physical copy. If you don't actually need the physical copy or have room for it gift it to someone and request that they gift it when they are done with it.
Where can we learn about this “modern JS“? I feel like in some ways I’m learning the old ways, similar to old c++.
Ask HN: Any possibility of decent multi-language support on Android?
How come multi language support is as poor as it is?

Living in a non English speaking country (whose language I also speak), my device
is set to English (as main language), which leaves me with the following problems:

Google maps will pronounce every street name in English. Can't have messages from locals read aloud while driving (using android car) for the same reason. Can't dictate even short replies using the local language. I can't even initiate phone calls by voice since looking up contacts with non English sounding names is a pain.

The only remedy seems to be to set the complete device to the local language ; so now I
have all the problems reversed (it won't be able to read English, I won't be
able to dictate English), but this also switches over the complete system including
every app.

Setting multiple languages in Android seems to be for auto-correct only. Great! Love it /s

Why no auto-detect? Google Translate (or MS Translator) do a reasonably good job
differentiating between dozens of languages, but Android can't do that with only the
few languages I use and have set? Why is there no manual way to set a language for a certain app? This would be awesome for language learners. Play Game 'XYZ' in let's say French without having to switch over your complete system, why not?

Am I so alone with this, is my use case so unique? How come it sucks so hard in 2020?
The fraction of positives has also been very low in Japan. Considering they have largely stuck with their restrictions on test access, this means people with fever and such symptoms are still mostly due to other reasons, despite being deep in summer now when such things are uncommon.

I have been puzzling over the Japan situation from the beginning. They go against a lot of narrative about why the US got so bad. People would wave them off with conspiracy theories about the Olympics. We definitely need some much better survey data.
Also past comments are sometimes better (and other times not) than average. Just depends on who chimes in and their mood and what else is happening in their world at the moment.
Trump signs executive order incentivizing police reforms
This signals that you are OK with drm.
One use case where schema-less is the way to go, when you provide the infrastructure, but have no „ownership“ of data it will be used for. E.g. you build a logging or analytics tool where customers can send arbitrary data. Or a document database as a matter of fact. There schema-less / self described data is a must.
@op Nice!

Might be good time to also mention these sites:

http://microjs.com/

http://youmightnotneedjquery.com/
Siberia experiences 100 degrees Fahrenheit ( 38.78 degrees Celcius)
Maybe he had a close call.
MagSafe2 is what killed my 2013 MBPr.

I work in metal fabrication, so the MagSafe2 constantly attracted tiny metal particles that follow me around.

I ended up replacing the DC in board, $25 part, then two weeks later it started behaving weird, pulled it apart again and reseated all the cables etc but it completely gave up.

Oh well, 7 solid years at AU$2000 end up costing less than $6 a week.

I’m now split between a new MacBook Air, or a Lenovo or HP with similar specs and screen resolution.

I have some Windows software I’ve paid for, but maybe I just run that in a Windows VM on the Mac..... hmmmm