skysight-inc/HackerNews huggingface dataset:
> I want one casing rule for one target, and a different one for another

Hmm, this is interesting, and something I hadn't thought of before. I'd probably try to solve it with a combination of the newtype pattern (create wrapper types for `MyThing`, like `MyThingJson` and `MyThingToml`) and the Serde flatten attribute. Then you could, for example, add `#[serde(rename_all = "lowercase")]` to the `MyThingJson` struct and `#[serde(rename_all = "snake_case")]` to the `MyThingToml` struct.

I haven't tested this though, so I'm not sure if the `rename_all` would flow through the flatten attribute as expected. Worst case you could duplicate the struct (or more likely, find or build a macro to do it for you) rather than use the newtype/flatten technique.
Founder here.
I launch my newest side project for beta users, which are willing to help with they feedback.
Cheers
Stefan
>> Probability zero is the same as saying that it would take infinite evidence to convince you.

That assumes I can't go back and change my earlier beliefs. But I don't see why that's necessary. If I have no evidence that X is true at time t, I assing a probability of 0 to it. If I acquire evidence that X is true at time t+1, I throw out the 0 and assign a higher probability to X.

The world changes all the time. Why am I condemned to hold on to obviously unsound beliefs for all eternity?

>> I don't think that logic works. What if the claim was "I have a five dollar bill in my pocket"?

That depends. I've seen five dollar bills coming out of peoples' pockets before (actually, I haven't because dollars are not common where I live but Ok). I don't have to assing a zero probability to that. I have some evidence that it's possible.

But I have no evidence that there even exists such a thing as a Seventh Dimension etc.
For one, a wayward gust of wind would be enough to send people careening into buildings.
Ouch:

> It appears to be even worse. They're also removing old graphics drivers (and maybe even something else )from their website too, and that is bound to happen even earlier, the October 11th.
Amtrak does contract with regional bus carriers:

https://www.govinfo.gov/content/pkg/GAOREPORTS-RCED-95-138/h...
Show HN: Automated Website Screenshots Made Easy
Isn't commercial license revokable?
Not to Windows 98; IIRC ReactOS strives for compatibility with the Windows NT tech tree.
I will, thanks. It's not unclear in a legal way, just in a human "what can my users/forkers/etc do with this license" way (which may still be a valid issue to open).
> React Native - iOS JavaScript runtime + Android JSC runtime.

there are Java, Javascript and Swift libraries for XMPP

> I don't have 10 engineers. It's already super complex

The point is XMPP is a solved problem, you can simply use what you need of it, making it json over websocket won't make it anyway easier, you would use a library anyway

Creating protocols just for the sake of it, it's the reason why this comic exists https://xkcd.com/927/

p.s.: Movim, afaik, solves that problem for you

When you use Movim, it acts as an intermediary between the user's browser and an XMPP server. All the data that is sent and received by these two parties are managed by the Movim core, some of them are also saved in a database (for cache purposes).

From the browser perspective, all communication with Movim is done using WebSockets (except for the "default" page loading). These sockets are proxied through your web-server to the Movim daemon. On the XMPP side Movim connects using pure TCP connections (like any XMPP client).
It is certainly that simple. You might not like it, because it limits the ability of Apple to exploit their ecosystem for rent-seeking. But it is just opening up an area for competition.

And indeed, why not doing this for other closed ecosystems as well, if this is beneficial for the public?
We don't know how NFC is implemented on iOS. It could be tightly bound with the iOS Secure Enclave and then it's NOT "well-established technology" since Android uses different architecture(s).
We used the term in the US as well, boombox was just more common and TV English. A good deal of kids called them ghettoblasters. Less commonly used but heard from time to time was JamBox and BumpBox. IIRC GhettoBlaster seemed to be used in the early 80's more where BoomBox and the others seemed to be used in the very late 80's and 90's but my memory could be wrong. I do remember when I was younger them being almost exclusively referred to as GhettoBlasters.
Telstra Smart Modem 2 and the Federal Court of Australia Content Denied Page
It's also a question of the precision of timing. The GPS signal is entirely designed around precise timing, whereas Wifi isn't. There are a number of variables like buffer lengths that can be measured around to some extent, but are never going to be as precise.
“Used car seats shouldn’t be sold or given away, since they expire every six years and regulations change constantly.”

tell me, how many of you are riding with expired seats? u criminals!
That doesn't make a lot of sense to me since we're talking about EOL software that won't receive patches in the first place.

I can't think of any good reason to get rid of that besides maybe "we're revamping the website and can't be bothered to port that bit".
The law has a provision for this case, but I highly doubt there is a technical reason for not opening NFC on iOS.
I respectfully disagree.

It took almost 50 years for the US government to acknowledge the extreme reaction to Pearl Harbor and provide reparations.

If that is any indication, 9/11, will remain in the zeitgeist for at least another 30 years.
Hey! Sorry for taking so long to get back to you. I saw your comment and wanted to respond, and I have been very busy today because of this post.

Thanks for sharing your feeling about this.

It looks like you're working on almost exactly the same project, and that the big challenge is getting access to server hardware for webbrowsing, because not only are AWS etc expensive, they primarily offer "webservers" optimized for very light not very CPU intensive workloads, and needless to say they also don't offer hardware accelerated video decoding.

Wow! Sounds like you're doing something interesting. Are you uninterested in collaboration? I was thinking of ways to make the video better, but right now I'm basically just using DIY "MJPEG" over websocket.

As for the server hardware, I was decided to join the Stripe Atlas program at the start of 2017, and from that I was able to get 5K in AWS credits, and then more Google Cloud credits, and I also applied to IBM and Digital Ocean on my own and got credits from them as well.

So, so far I have been able to develop and then demo this (like today) without significant monetary cost.

I also have some tips for you, because resource usage was one of my concerns, but TBH I find Chrome headless actually always uses less CPU than I imagine. It's all about the page that it is rendering. The page determines everything, but Chrome itself is very light. So when I've budgeted for like 1 CPU per user, it's actually possible to get much more than that. And memory is the big thing that Chrome does lightly, it uses barely any RAM even with 100s of users on a machine. I was surprised by that. 100 users running Chrome and only ~ 20 Gb of RAM used.

Also, regarding video, because I'm avoiding expensive video encoding (just sending screenshots) I avoid the CPU load of doing that. I've experimented with doing more processing of the frames, but it just throws the load way off.

I chose to keep it simple and I'm pleased with that. At the same time, I want to explore ways to improve image quality.
They seem to not sell used baby gates at second hand baby stores either. id guess for a similar reason and that being that they don't want to claim liability in asserting the item was in original working order.
For the sake of simplicity. Because JSON is native to web. And web is the biggest platform you have imo. It's annoying that you have to bring in XML parsing libraries if you want to implement XMPP in javascript environment.
I had already completed this course before Stefan started his conquest of the CS bachelors courses, however, I did have some other courses that he taught. I think he has a great knack for explaining things in a way that doesn't make the formalism seem overbearing, but rather as the most obvious way of communicating a concept. Assuming he is also able to communicate this in writing I'd say this book is probably a great introduction to the formal side of computer science.
Apparently they've already been grabbed, they're just not in wayback yet
> and you need to factor in another hour+ for security

Just an anecdote, but with TSA Pre, I haven’t needed more than 15 minutes for security, flying domestically and internationally several times per year for the past few years.
New 16“ MacBook Pro Review: A Developer’s Dream Come True
Would you care to elaborate? To me, it seems very much in the 'spirit' of what GPL set out to do back when, updated to eliminate issues that weren't/couldn't have been forseen. Parity is not perfect (yet), but to me it's the most viable attempt at a modern copyleft license to date.

Technically, one can argue Parity is not 'open source', if one acknowledges that only OSI approved licenses should be called 'open source'. I don't, and quite a few other folk don't either. Lots of people do, though.
A booster seat is designed to stop a child slipping under the seat belt that crosses their legs. It's not just raising the child up.

They are very simple though, essentially being polystyrene and some padding for comfort. It would be easy for an inquisitive adult to assess it's state but most people are far too concerned with other things to risk it.

If you think I'm being overly harsh on the average adult then I refer you to the mass of drivers that pay hundreds of pounds for a car seat for their child and then text while driving. Humans are very poor at assessing risk.
Yes, PSD2 is good, but I'm wondering why they didn't go further and mandate something like UK's Open Banking.

The difference is that currently in EU banks are forced to expose a banking API, but every bank can have their own API. While in UK there is one API standard that banks are supposed to allow to be used.

So writing an app for EU one has to deal with tens (if not hundreds) of bank-specific implementations while in UK one is all that's needed.
Actual title of article: "Far From Boring:
Meet the Most Interesting Tunnel Boring Machines"
I believe some of the stars very near our galaxy's central black hole have been measured at ~3% of the speed of light, at periapsis. They are gravitationally bound, though, so their total energy (after subtracting out the gravitational potential energy) is less than this star.
I use both inner ear and over ear Bose. I find noise cancellation feeling is more prominent to the point of distraction on the inner ear QC 30s. I find the QC 35 over ear provide better experience. Sony's 1000 seems to edge Bose out in noise cancellation. However I have been impressed with the 700, and I think Bose is now back on top. Either of them are cracking noise cancellation headsets.
> Nobody got fired for buying Intel!

Back in the day this was said all the time at the office. Things change!
It connects cities and passes through rural areas.

https://www.amtrak.com/content/dam/projects/dotcom/english/p...

A nice statistic would be some kind of report about travel times, densities and total populations. Looking at the map, there's some people that live at lower density that have a nearby station and then most people that live in metros have a nearby station.
After Oblivion, Bethesda's games become sandbox themeparks where you can do a lot of stuff with little substance while chipping away any RPG mechanics.

I think Oblivion's success despite its shortcomings on the RPG side gave them the message that this works and Skyrim's success reinforced it even further.

Though personally i find Morrowind the best of their games by far, especially on the writing side (not a surprise considering the writers they had - and lost right after Morrowind). Not as chaotic and repetitive as Daggerfall and Arena's random generator-based worlds, yet still with solid RPG mechanics, writing and exploration.
Was trying/googling to remember the name for this, thanks!
Note that this "only" adds depth. It can't make anything appear to "come out of" the screen, the effect is more like a window. It's not like holograms in science fiction.

It's still pretty impressive tho.
Of course some banks are shit. In some countries you can't log in to your bank without ActiveX. Most banks I've seen (in Europe, at least) are quite with the times and support basically any device with NFC. For Apple this is especially easy because there's only 6 models of phone to support with a single API. There's no way a bank app would drop support on a maintained iOS device.

In my country, every bank has supported contactless payments for at least 3-4 years. My bank has a pretty nice UX, as do many of its competitors. Some other apps are more focused on security than user experience, which manifests itself in an irritating slow mess, but that's just another factor to take into account when picking a bank.

A few months ago, the first bank in my country announced Apple pay support. Up till then, Apple customers have been behind the curve on simple features that even the cheapest Chinese phone had. Now that banks started supporting Apple Pay, every single customer, including me, is paying Apple for the extra fees that banks need to pay to Apple for integration (because they're not allowed to charge Apple customers directly). I don't have any Apple decides whatsoever and so do most households I know of, yet we're all funding Apple's little money making scheme.

The benefit of Apple wallet is the same as the benefit for Google Pay and people still use that despite bank apps existing on Android. If Apple Pay is better, customers wouldn't install separate bank apps and banks still wouldn't have to make apps. The result: customers have more choice, but now the responsibility for not bringing features to users lies with the bank instead of Apple.

The real difference here is that Apple doesn't allow banks to compete on iOS devices because Apple wants a portion of all payments their customers make on their phones. No matter how fancy Apple's solution is, there's no excusing their anticompetitive restrictions on their app store from a consumer standpoint.

The only defences I can think of are "I don't use bank apps so I don't care", "I don't trust my bank to make software but I don't care enough to switch" or "It's technically not illegal in most countries", all of which are pretty bad excuses in my opinion.
Now if I was an AMD exec I'd suddenly announce that "all versions of all our drivers for all hardware on all platforms will be available forever".
Servicemesh.es – Service Mesh Comparison
For families with 3 children, the child car seat requirement generally pushes them into a minivan because you can't install car seats 3 to a row, so you need an extra row. And then you still max out at 1 friend instead of 3, because even a minivan won't seat more than 4 child car seats.

It's also not magic getting your children into a car seat. It takes time, the angles are awkward, and when parked on a busy road it often exposes parents to traffic. I've only heard of 1 fatal accident through where a parent was struck by a car (sideswiped) while fiddling with a car seat.
Wow so many examples of a great morning routine. cold sea simming, meditation, calling parents with cat and croissant...
I'm envious :)

My morning "ritual" is the following:

I wake up between 5 or 8 either by my alarm or one of my child. If I'm the first to rise then depending on my mood I get up and browse mindlessly some website(eg. HN) or if I have the upper hand on my concious that day I resist the temptation and just stare till my mind begins to turn. I continoue to do this until I'm nudged by family or work obligations to dress up and go downstairs. I either go early before everyone wakes or a little later after everyone woke up or very late so I can help dressing them up, help make breakfast and drink a coffee with wife. By then I realize I will be very late so I reculantly start my one hour commute to work. When my back starts to ache every night I start again my morning exercises which I am able to get up or not, and do it until the pain goes away then stop it as I want to sleep more and fantasizing about how good my shape would be if I would continue morning exercises instead of sleeping.

Meh :(
If you're going for Bose, their latest Headphones (NC 700) is something you should look at. Sony came a close second, but that was before Bose updated the QC35.
Roofing Lead Generation Tips – Simple Ways to Grow Your Business
Listening comprehension is the toughest part for virtually everyone.

Forming sentences gets easier once you make the switch from translating sentences into composing them without the intermediate step. That's also possible when translating in Duolingo, you just have to concentrate on formulating the idea in the foreign language.

I made that switch in English first, and I seem to do it by default in any other language. It's much easier that way.
After normal citizens stop being able to use "unbreakable" encryption, only criminals will be able to use it.

So you will get the same "terrorism" and "child pornography" as you do today, but we won't be able to protect our privacy from state actors (or from tech companies and their employees) who will develop the upcoming wholesome, good-enough-for-you encryption.

By the way, is XOR considered "strong encryption"? Is it if an one time pad is used? Just asking :).
I bought Bose QC 35 last year and they are great, definitely my personal favorite of the ones I sampled or tried by borrowing from friends. I would disagree with any claims Bose NC models are dropping in quality.
Although central planning is a formidable problem, a WAY more formidable one is the incentives of the central planners.
It's a global clock. UTC is the same time in Miami as it is in Singapore.

The accuracy of the delivery of that timesource is 10ns in theory, and upto 1000ns in practice.
Hacking an Android TV in less than 2 minutes
An example that comes to mind is butter. It's feminine (die Butter), but in some dialects, it's masculine (der Butter). There are maps for several other words at http://www.atlas-alltagssprache.de/runde-5/f15a-f/, but I'd take them with a grain of salt. The region I grew up in doesn't really match what these maps say about it.
LinkedIn article: https://www.linkedin.com/pulse/hacking-android-tv-less-than-...

YT Demo: https://www.youtube.com/watch?v=qpdVk7Vv-C8
Yes, I get the arithmetic, thank you. What I don't get is why I'm forced to perform it in the way that you say. Why do I have to hold on to that 0 probabilty no matter what happens? Clearly it's much more reasonable to change my mind given that the world has changed and assign a non-zero probability to an event for which I now have evidence. Why would I not?

>> See also https://en.wikipedia.org/wiki/Cromwell%27s_rule, mentioned by 'edflsafoiewq.

How about the statement "Hillary Clinton is the President of the United States"? What probability should I assign to that? I know that the PotUS is Donald Trump. Does Cromwell's Rule mean that I have to believe that Hillary Clinton is the PotUS at least a little, because otherwise I will never be able to believe it if she ever gets elected president?
Any better URLs for this story?
QC35 is the reason I still haven’t quit my noisy open office job
That book should never have been published with that chapter. The authors allegedly use boosters and car seats for their own kids, even after writing that chapter - let that sink in for a while...

The response[1] from actual medical professionals, and particularly this quote is interesting

> As pediatricians, scientists and leaders of the world's largest study on children in crashes, we think that overinterpretation of findings from a single source of data led Stephen J. Dubner and Steven D. Levitt (July 10) to claim that child safety seats are no more effective than seat belts for 2- to 6-year-olds. They examined children in fatal crashes (about 1,200 per year) while ignoring the equally informative data on those in nonfatal crashes (450,000 per year). Our research, which includes over 25,000 in-depth interviews and over 800 crash investigations, consistently shows that child safety seats and booster seats significantly lower the risk of serious injury compared to seat belts alone. Their conclusions stand in stark contrast to the existing body of scientific data that support current child restraint recommendations, and are, in our opinion, irresponsible and dangerous.

[1] https://www.nytimes.com/2005/07/24/magazine/letters.html
Sony WH-1000XM2 can be had for a steal occasionally - given that it's last gen model.

Definitely over ear for flights. Combined with foam plugs you can pretty much sleep in silence on overnight flights
I have done extensive testing and review reading. You have two options: sony xm3 or bose 700.
Just start reading at the Wirecutter:

https://thewirecutter.com/reviews/best-noise-cancelling-head...
Link me a JavaScript library that works cross platform on both iOS and Android with unified interface in React Native. Ideally it's maintained and if you are asking me why I wrote it, it's also because there was nothing available 2 years ago.

Majority of JS XMPP libraries depend on the DOM for xml parsing - see strophe.js for example. This won't work in all JSC runtimes.

> The point is XMPP is a solved problem

Ye, which problem exactly? All of them are solved partially. Let me give you example, imagine you have a platform where users can chat in chatrooms (as simple as it gets really). On your platform you have a username and you are supposed to communicate with others with your username. You'd think xmpp is perfect! Nope, you'll have to fork the xmpp server for this use case. Why? Well, because XMPP standard supports nickname changing, which means in a context of a platform it would allow nickname spoofing. So you need to modify and add some security rules on top of it. "Solved problem" of course...
What's the alternative to LIDAR that is working?
Browser fingerprinting, for one, is something that can be avoided.
In this article, "in the round" appears to mean freezing the whole fish without removing the head and guts.
Haha! I did the exact same thing
I was wondering what was wrong with either of those stacks
The "aggressive, deliberate, threatening attacks" I have seen in discussions like this almost always seem to come from the FSF crowd. (not necessarily official sources, but supporters in public discussion channels)
Over hear are the best in my opinion, but now that it's winter I regret that it's difficult to use a hat and over hear headphones at the same time.

I have a pair of Bose QuietComfort 32 II, which are quite lightweight and absolutely love them. However before the new 700 model came out, Bose released a firmware that reduced the noise cancelling impact on the QuietComfort 32 II (although they swear that the firmware upgrade shouldn't change impact noise cancelling it was measured by independent parties and it is indeed reduced).
A lot of bakeries around here (The Netherlands) now use TooGoodTooGo to offload stuff at the end of the day. I think it cannibalizes less on normal sales as you can't choose what you get and you have to order your "magic box" a day in advance.

I personally love the concept and use it a lot at both supermarkets and bakeries.
> Maybe this is a kind of discrimination that is legal.

Well, there is a way to be sure.
The Secret Past of a Hollywood Futurist: “I Seek a Second Chance”
Top Software Development Practices to Follow in 2020
Wirecutter[0] always has the best in-depth reviews for headphones (of every type). I have the Bose QC35's (older generation, they were just refreshed) and they are great. I would recommend over the ear, especially if you are using them on flights or a noisy office.

[0] https://thewirecutter.com