skysight-inc/HackerNews huggingface dataset:
What about the 2^63 corner-case?

Consider this JSON: {"key": 9223372036854775807}. With most parsers it never fails.

But... some JSON parsers (include JS.eval) parse it to 9223372036854776000 and continue on their merry way.

The problem isn't user-provided JSON here. The problem is user-provided data (or computer-provided data) that's inside the JSON.

rachelbythebay's take (http://rachelbythebay.com/w/2019/07/21/reliability/):

On the other hand, if you only need 53 bits of your 64 bit numbers, and enjoy blowing CPU on ridiculously inefficient marshaling and unmarshaling steps, hey, it's your funeral.
JSON sucks. Maybe half our REST bugs are directly related to JSON parsing.

Is that a long or an int? Boolean or the string "true"? Does my library include undefined properties in the JSON? How should I encode and decode this binary blob?

We tried using OpenApi specs on the server and generators to build the clients. In general, the generators are buggy as hell. We eventually gave up as about 1/4 of the endpoints generated directly from our server code didn't work. One look at a spec doc will tell you the complexity is just too high.

We are moving to gRPC. It just works, and takes all the fiddling out of HTTP. It saves us from dev slap fights over stupid cruft like whether an endpoint should be PUT or POST. And saves us a massive amount of time making all those decisions.
For a contrasting view, consider this tweet from @patio11 https://twitter.com/patio11/status/1161796809741627392

> In 2025, every Fortune 500 company will have 10k+ remote workers, and every purchasing department will approve a reimbursement for WeWork with no questions asked.

The actual bull case for WeWork is similar to Uber: there may be a massive trend, and WeWork is positioning itself to be the winner. With Uber it's the push to self-driving cars, and with WeWork it's the corporate move away from massive campuses and office buildings. In this new landscape, WeWork has extremely strong branding, experience, and a valuation that suggests it is the biggest player in the space.
Sounds a bit like the Jevons paradox - we improve the efficiency of energy consumption, but it does not result in it being free, because demand increases to counter.
XML cannot be parsed into nested maps/dictionaries/lists/arrays without guidance from a type or a restricted xml structure.

JSON can do that. It also maps pretty seamlessly to types/classes in most languages without annotations, attributes, or other serialization guides.

It also has explicit indicators for lists vs subdocuments vs values for keys, which xml does not. XML tags can repeat, can have subtags, and then there are tag attributes. A JSON document can also be a list, while XML documents must be a tree with a root document.

XML may be acceptable for documents. But seeing as how XHTML was a complete dud, I doubt it is useful even for that.

And we didn't even need to get into the needless complexity of validation, namespaces, and other junk.
Not what it once was, but 8tracks still has lots of good genre-tagged playlists: https://8tracks.com/

Also Spotify and YouTube.
Supernovae resulting from an impact by a large object moving close to the speed of light. Was used/popularized in a series called "Three Body Problem" as a weapon (book premise is the "black forest theory", which is since every sentient civ is a potential existential threat advanced civs would genocide any aliens they detect, photoids being one of the exotic weapons to accomplish this).
If it goes where I think it should, then it’ll be the IPO subscribers holding the bag.
Redacted.ch - lots of hand curated collages.
In the EU, London, Uk a nodejs developer earns around 800 cad per day as a consultant, and there so many jobs that usually you find a new one in 1-2 days max a week. Tho much lower, Germany is also a good tech market. I am not sure what your statement is based on. When i assessed moving to Canada from the uk, not only were there far less companies but tech was a bit out date as well and pay was way way lower. Care to support your statement with evidence?

Edit: you can find eu jobs on cwjobs.co.uk and stepstone.de to get an idea of how large the gap between canada and the eu is.
Shrug. Liberal robot factory. Might as well act shocked seeing a Chevy in Detroit.

Get used to it, though. The left has always, always, been about the boot in the face. Always.
Why don't the e-/p+ annihilate back into photons? Where do the p+ go?
> IMHO, this is criminal.

Is criminality opinion nowadays? To my understanding if a bank acts like this, there is very little to do. Maybe a class action lawsuit would work in US?
If JSON with its relative simplicity is already too complex and leading to a mine field, then XML is even worse by far.
Ask HN: What movie/book changed meaning when you became an adult?
There's a book called "The Killing Star" where humanity is wiped out by an alien species because "Why take a risk?" That's a hyper rational position.
I had a Wells Fargo account for a number of years. Then one day I deposited about $250 cash into a Wells Fargo ATM. But it didn't show up in my account.

When I complained, Fargo treated me like I was a criminal. It wouldn't credit me for the money, even though I had the ATM receipt. The branch manager told me he wouldn't even review the security video unless I filed a police report about it.

I drained the account to zero and ignored it. Six months later, I get a letter from Fargo saying that a guy who worked for a company they outsourced ATM maintenance to was skimming cash from the machines. Fargo finally credited me for the missing money, and I closed the account the next week.
Homemade Liquid Nitrogen with the Joule-Thompson Effect
Real Estate is also a much bigger business than taxi cabs.

The big bet on them I suspect is that any upcoming recession will probably lead to a lot of companies wanting to reduce their office costs. They may want to switch to WeWork managing their office spaces much like tech companies want to switch to Amazon Microsoft or IBM managing their IT infrastructure.
Perhaps humans, with the aid of super powerful computers, can unlock our genome and in turn make us more competitive.

There will be some left behind, but humanity will continue on as an partially artificial GMO much like our own creations
> So, if we get rid of people to replace them with material things we will become less happy.

No. People who don't exist don't experience anything.

And there are plenty of people who are born and who as adults wish they had never been, and a lot of us who are still ok with it but not very excited are still biased since we do exist. This is not a problem for those who are never born. They don't become people who can feel pain and suffering.

There are plenty of people. I really doubt that an increase in people is in itself a reason for increased happiness. Noone is arguing for exterminating parts of the not needed population because of automation.
Pandora is still really good with recommendations, even for niche stuff (like specific genres of prog)
It’s the only strong brand in a massive market, real estate.
Trading strategies come and go but selling shovels is forever :)
> If you want an external amp for your speaker. Well, go buy one: when you buy it, they will tell you the numbers :)

Sonos Amp costs $599, so this is an interesting alternative.

https://www.sonos.com/en-us/shop/amp.html
Bandcamp if you like underground stuff. Find a genre you like, find an artist you like, find a label you like, find all the other artists on that label.
But nobody dies from the Fukuushima disaster. And plants are getting safer. and many places are safe from earthquake, tsunami combos.
lol. let alone trademark "we". guess I should trademark "you" and call google about youtube.
Bandcamp. It’s awesome for discovering new music.

I love exploring weird micro-genres while working, so the discover feature can keep me going for days while going deep into a particular style. 19A0s dreamwave, vaportrap, Chinese traditional vs dubstep, baroquecore - it’s all there!

Neither Spotify or Apple Music allow searches by deep genre tags - ‘electronic’ is not enough - or by record label, which is frustrating as I often want to explore other artists on the same label. For example, listening to the entire Ghost Box back catalogue.
I can usually go a whole afternoon without songs being repeated, unless I manually choose a new song. Then I sort of end up back in the same playlist all over again. But if it were not for YouTube, there are so many good songs I would have never heard.
Declarative Routing in Asp.net Core 2.2
8tracks was by far the best music discovery experience I had. Curated playlists, mostly less well known artists (or before they become popular), tagged by moods, very easy to find something you'd like to listen to at any given time. I've discovered a lot of music I like through 8tracks.

I also find human curated mood tags to be more representative than "genre" labels.
And that's just corn! We produce so much of so many other things that we would be totally fine if we cut production by a lot.
I'm afraid he is correct, BigCorps are the main tenants as far as I can see. Which is sad, because WeWork is as fake and psychopathic as its CEO.
A spokesman for the bank said... the bank reviews accounts to protect customers and was “committed to doing so in ways that minimize the risk and impact to our customers.”

“As a company, we are focused on continually improving this process,” said the spokesman, Jim Seitz.

Sounds like Wells Fargo has the same doublespeak PR department as Facebook.

A bank isn't supposed to "continually improve the process." The whole point of a bank is that it's supposed to do things right the first time.
He made other incorrect predictions in the same document. We continue to (incidentally and carelessly) change the climate, but have yet to achieve anything like the reliably controllable weather he anticipated.

He also incorrectly anticipated that atomic transmutation of the elements would become a bigger trend than chemical rearrangement of existing elements.

"It is worth emphasizing that the main trend will be systematic exploration of nuclear reactions — that is, the transmutation of elements, or alchemy rather than chemistry."

As for why he was mistaken about nuclear power, it's possible that he was extrapolating from the fantastically rapid progress of nuclear weapons technology. Fission was demonstrated in 1938, the first chain reaction in 1942, the first fission weapon in 1945. The first megaton scale thermonuclear explosion was demonstrated in 1952 and serial production of thermonuclear weapons began in 1954. Between 1944 and 1954 the explosive power of the largest military bombs went up by a factor of roughly two million [1] [2]. There was a 2300-fold leap from Grand Slam to Little Boy (6.5 tons TNT equivalent to 15 kilotons) and another thousand-fold leap from Little Boy to Castle Bravo (15 kilotons to 15 megatons).

The challenges of making useful power reactors for electricity production are much different. Civilian power reactors have to compete with other electricity sources on cost. They have to produce power for decades rather than a fraction of a second. They are expected to fully contain fission products rather than disperse them widely as fallout. Recall that at the time of this writing, 1955, no country had yet built a power reactor comparable in output to large coal or hydroelectric plants. There had only been some small demonstrations like the 2 megawatts of electricity produced by the BORAX-III reactor. The actual difficulties to be encountered at larger scales were not yet known.

Finally, "affordable" electricity was a moving target. In constant dollars, large American industrial buyers were paying 40% less per megawatt hour in 1970 than they were in 1950 [3]. Concerns about acutely hazardous air pollution were not yet widespread enough to justify a cost premium over fossil-generated power. Widespread concerns about greenhouse gas emissions were even further off.

[1] https://en.wikipedia.org/wiki/Grand_Slam_(bomb)

[2] https://en.wikipedia.org/wiki/Mark_17_nuclear_bomb

[3] https://www.census.gov/history/pdf/histstats-colonial-1970.p... - page 827
Also i'm pretty sure Seattle is second to Bay Area in all the graphs yet they are not listed.
You should check out Tinariwen
https://youtu.be/WcqlOq1cjjc
And to start doing so, you develop passively-safe technologies (walk away), where, by design, Chernobils can't happen.
If you look at the points needed to get a Canadian work visa, it’s shot up dramatically. Our company had to move some employees from the US to Canada (that’s what not giving them the ability to work for 6 months, to still be resolved, will do...) and over that span of time the requirements have shot up. Which indicates there has been a significant increase in the number and quality of people moving there (and since they have some special tech program, it’s tech people moving).
Show HN: A marketplace to hire no code experts
Humble suggestion: use the terse options when writing iteratively and the long form in scripts that you save to a file. The latter will likely be read by others or yourself in a few months from now, and it could be nice as immediate documentation if you did something fancy with a tool or option that you seldom use.

For instance, I know the handful of options that I personally encounter and use for the "grep" program, but the man page lists plenty that I do not immediately recognize. So typing them out in the script helps a lot with readability.

Going overboard with terseness or verbosity is obviously not helpful to the (human) reader, regardless of the direction.
Slightly off topic but Xcode crashing has been very common for me, as much as I like macos the tooling leaves me missing Windows development.
No, it is still an anti pattern.

Autogenerated code falls into two categories:

1. Code templates, which prepare some stubs but you need to complete it manually. This is what openapi-generator does, and this is anti-pattern because very rarely this approach can't be avoided in favour of simply using code constructs like inheritance or composition.

2. Intermediary code, which is not to be updated manually and is fed directly into interpreter or compiler. In compiled languages it is fine, as this intermediary code is not executed directly; what matters is whether it compiles. In interpreted languages, however, that code gets executed directly, and it can be really difficult to debug (as there is an additional level of abstraction, introduced by the macro). But ultimately there is no need for this type of code, as most interpreted languages (Python and JavaScript definitely) allow dynamic construction of various programming constructs (like classes and functions) on the fly.
Bandcamp heartily seconded.

I like listening to their Bandcamp Weekly, a pseudo-radio show that highlights new releases. It's not as diverse as Bandcamp itself, as the DJ seems to be mostly into hybrid jazz/ambient/hiphop/world, but if you like that sort of thing, you should definitely take a listen.

I also try to go see live music as much as I can, as I often find favorite artists who are opening for the band I went to see.
> there’s literally nothing a ship like that can do if the whale is going to surface in its way like that.

How about not going that way in the first place?

> The officer in training told us whales were generally dumb and paid little attention to the movements of large vessels.

Blaming the animal of stupidity while going in his natural path?

This is like going on safari and hitting a lion in your rented Hummer.

Edit: My family has been on the sea for a long as we can remember. The areas that whales travel and at which times are known.

Parking a cruise-ship on top of their high way because of 100% guaranteed whale sighting is not a display of good taste.
There'd be no reason to suggest it as an alternative were it not for an opinion that it's superior.
Whoops! Should've noticed that was an ephemeral link, but yes, mdibiase@ linked the one I meant to. It's Coverity's "A Few Billion Lines of Code Later" ACM paper.
We don't have to.

I keep items in my inbox to remind me of various long-term action-items I need to keep afloat.
Does this mean we should 1. allow anything to be posted on Twitter, or 2. somehow determine whether something on twitter is a joke with perfect accuracy?
Oh, I agree with you! I know a lot of music only courtesy of youtube, but I can't explore the neighboring region of those songs I've repeated a number of times. Maybe it's just in how I discover in a very narrow music domain, I don't know.
https://last.fm

It's one of the oldest music services on the internet, being around since the early 00s. It changed a lot over time, but survived.

Nowadays, as a paying subscriber you can link your Spotify account and listen to your personal recommendations on any device supporting Spotify Connect.
I wouldn’t expect Google to say ‘here’s our web app, it doesn’t work properly in any browser expect Chrome’. But they do.
I cant find these. Where can they be found? What are the search terms to be used?
I used Spotify for a while but was never happy with their discover playlists. When Apple Music came out I used the trial to see if their discover (New For You) playlists was better. It's far from perfect but I found it better than Spotify.

I also live in an area with absolutely garbage local radio stations and a lot of cell phone dead areas so I have SiriusXM. You have to stay away from the pop channels (including the decade-specific channels and popular rock/hip hop channels) but on the fringe channels you can find some interesting music. From the app you can pivot what you've found into a Pandora playlist.

SomaFM is also pretty good beyond their more popular ambient playlists.
remeber that one. there was a short "lets see how far we can take this canvas & video (and prop. jquery) concept" movement at that time.

i reverse engineered my image rendering algorithems from an apple safari canvas demo page.
Software architects should be involved in earliest system engineering activities
"only those with correct opinions should be allowed to talk" and "people with incorrect opinions should NOT be allowed to talk" are essentially equivalent. I'm really not sure how you don't see this.
#4 states that there's a tradeoff. If you are working on a project, and you can tell that as designed the project will be finished a month late, there are two options: 1) move the deadline or 2) Reduce quality/features. The example used in the book is a cook making omelettes. If it takes 5 minutes to make an omelette and the cook promises it in 4, at minute 3, the cook can either tell you it's actually going to take 5 minutes or the cook can turn up the heat and make a crappy omelette. In SW terms, SW teams are working on a project that is estimated at 8 sprints. At week 4, they're currently on track to finish it in 10 sprints. The SW teams can either remove features, reduce quality (maybe they skip writing tests or code reviews or decide to use a "hacky" solution instead of the "right" solution) or move the deadline.
Currently Wikipedia. I discovered it when I started off with 1970s American composers like Philip Glass, Steve Reich and Jon Gibson. Reading through their entries I fell down a rabbit hole that led to some really great early modular synth musicians like Laurie Spiegel, Mother Mallard's Portable Masterpiece Orchestra and Tonto's Expanding Head Band.

Wikipedia is also where I finally caught up with Robert Wyatt, who I totally fell in love with, particularly Nothing Can Stop Us which has a wonderful cover version of At Last I Am Free by Chic.

It's a great place to find side projects too, like the eponymous album by Klark Kent, an early alter-ego of Stewart Copeland, the drummer from The Police.

In terms of more recent stuff, mostly my Spotify Friends Activity feed. I follow a few people whose taste I really enjoy, and they're constantly coming up with good stuff. I find the auto-generated lists by Spotify are either mediocre - where I feel like I'm just being pandered to - or simply bizarre.

Edit: Matt Sweeney also posts good stuff on Twitter - https://twitter.com/theheavyjamz
or the one cent microcontroller you can buy today.
> the culture isn't one we like, the politics are terrifying, the gun obsession and violence

Life in the US isn't like that for most people who live here. It's fine you don't want to live here, that's okay. But the idea that the majority or even many Americans are gun toting nutjobs is false. If you live in a major US city your life is almost exactly the same as any major Canadian city. Vancouver might as well be a larger Seattle. Having lived in both countries, your day to day differences are fairly minor.

There are outliers of course, Texas and Florida are very unique places. The South is generally higher crime. But living in Chicago, Seattle or NYC isn't that different from Toronto or Vancouver.

Toronto's murder rate is 3.11 per 100,000 people, which is higher than NYC and Seattle: https://www.ctvnews.ca/canada/stats-show-sharp-uptick-in-tor... Many Canadian cities are on par with their US cousins.

The major difference is actually healthcare.
Why would you get banned for that?
You seem to be missing the point. I'm saying that if Google can't deliver a service well, maybe they should not offer the service. Which is what most companies do.
A pretty mediocre article imo.
I recently got tired of streaming, and started collecting music the "old" way and rebuilding my library.

Bandcamp has been awesome for this. $10 for a DRM-free album in Flac is perfect, most other services are charging double that for lossless downloads. It's a win-win that the sales go more to the artists as well.
Since we're having fun with eggcorns, the term is "wreak havoc."
I outsource this job to the top world DJs. Namely - I usually listen to some type of electronic music (EDM sub-genres, trance, etc.), so the last few years I've been listening to the radio shows of the top producers and djs (in a format of podcasts). That gives me a steady stream of the newest and hottest songs that have been unearthed and hand picked by experienced djs.
> the picture from AMD in this review makes me think it can hit 16 memory channels with the two socket version. Does anyone know if this is true?

Yes, if the motherboard provides all the necessary slots. The inter-socket communication is achieved by re-purposing CPU pins used for PCIe, not pins used for DRAM. Each CPU has the full 8 DRAM channels of its own.
Only gonna be dead if you OD on that TSLA koolaid.
You're asking if my IP address has been the same since 2004? No, we've changed providers a couple of times. But it's been stable for the last 5 years at least.
This line of reasoning makes sense to me. Anecdata: most of the top tier banks I've worked with or at now have 3-4 people per desk, with more and more people working almost 100% remotely. When I started working with banks about eight years ago, I was usually laughed out the room when suggesting we should allow remote working. I became a kind of pilot case for 100% remote working about four years ago, and nowadays people in the same teams can go months without meeting in person because if they aren't remote all the time they come in to the office on different days.