skysight-inc/HackerNews huggingface dataset:
Yeah, I’m fine with questioning heritable wealth, but it should be across the board.

We shouldn’t chop up the middle class’ heritable tokens while letting the upper class keep theirs.

That just makes things worse.
I'm in California. We bend over backwards to make sure that our citizens and visitors language needs are supported.

For instance, Ca voter registration in tagalog.

https://www.sos.ca.gov/elections/voting-resources/voting-cal...
I think they are probably going to delete all these endless and useless video game streams.
Just got rid of my landline this month. Just too many robocalls at all hours. Never anything that I need to hear about.
The fundamental mistake in the Rust programming language is avoiding the use of exceptions for reporting errors. It's because the Rust designers eschewed exceptions that lots of standard library functions that need to allocate memory are also no-fail. If we reported allocation failure with Result, we'd have Result _everywhere_, which would have an ergonomic disaster, especially before the "?" operator appeared.

If Rust had been designed to use exceptions from the start, this problem wouldn't exist, and it'd be a much nicer language besides. Some people seem to just have a philosophical or aesthetic aversion to exceptions, which is a shame, because exceptions work wonderfully in practice.

Rust's development path is especially unfortunate because when you return Result everywhere and use the "?" operator consistently, what you end up writing looks just like exceptional code, but with weird warts and limitations from the language essentially implementing exceptions with return codes instead of first-class affordances built into the language itself.

It's because Rust got error handling wrong that I still prefer C++ despite Rust's advantages in variable lifetime reificiation. Exceptions turn out to be so useful in general-purpose programming that Rust had to add them in a hacky way after the fact using macros and special operators.

I understand that my position is controversial, but it's still my opinion and it's going to inform my language choice.
Cool, I agree with most of that. It just sounds like I think Boeing has behaved closer to comical villains than you do! I don't think some jail time for executives would be an overreaction.
No source === risk of malware.

No thanks.
Paged.js: Paginating content and making books in the browser
waiting rooms are a gaping hole.
nobody seems to see a problem with blabbing out your final 4 and first,last name when thier at a desk in a room full of whoever walked in and sat down.

un protected desktops are another issue, there is a tide of duties and an attacker can pattern the staff and get a good idea when they will have time to do an inside job of some sort.
Either Brave or plain Chromium is the obvious choice. Privacy is not a technical challenge--it's just a switch that's trivial to turn off. I can either:

- Install Chromium from a community-maintained package manager on any platform: apt (even on Raspbian), choco, brew, AUR, ports

- Install a Chromium fork like Brave

- Download a nightly Chromium build from https://commondatastorage.googleapis.com/chromium-browser-sn... (and optionally copy Google API keys from a community package like Ubuntu's)

- Compile it from source (and optionally copy Google API keys from a community package like Ubuntu's). You are free to tinker and harden as much as you want, but it will cost you several days worth of electricity and your time.

#define google.com 127.0.0.1

But even with compiling Chromium, you'd still save more electricity than having Mozilla Firefox open all day. You won't deal with losing all your work because of a segfault somewhere in a behemoth from the 90s that ships all its new features as JavaScript (on SpiderMonkey!) addons.

This push for Firefox as a privacy browser is a nothingburger. Privacy can be switched on overnight; good software development takes years.
Another heavy bookmarks user / hoarder here. I have around 30k bookmarks, so much bookmarks that Firefox freezes for a few seconds when I click on bookmarks menu bar item, because it tries to load them all within that drop down menu. I keep bookmarks sidebar permanently open without any slowdowns.

I've been using Firefox from its very beginnings so I can tell you I've tried switching to Chrome and Safari a few times over the years. Every time I tried to import bookmarks to other browsers they would simply crap out, while Firefox handled them without breaking a sweat.

Of course I continue to use FF for many other reasons but, at least at first, good and fast bookmarks management kept me using Firefox.

Lastly, if anyone knows a way to prevent Firefox to show all bookmarks in drop-down menu, let me know :)
How Can Mirrors Be Real If Our Eyes Aren't Real
> no one can fix

Really? No one? I learned haskell (my first FP lang) and rewrote the core of PostgREST (in my spare time) in about 6m... so stop scaring people :)
While true, you won’t hear about the ones that go to work, do their job, and go home to take care of their family.

Those stories are both boring and work against the narrative that they deserve lower pay.
Meanwhile across town parents are indicted for trying to get their kids into USC and people are dying on the ER floor.

In all that I never realized the good life was a union job.
With 777 Kanji, 90% Coverage of Kanji in the Wild
I heard that google has been shipping HTTP2 and/or HTTP3 functionality which would largely work only between the chrome client and servers which support those. That might also result in those pages appearing to load faster between different browsers.
Half of the content on the page is literally titled "What We Do" with a download link above it.

You're clearly disliking the design to the point that your criticism doesn't even make sense, if that's your complaint then say it outright instead of hiding it behind a lie.
Internet freedom declines in U.S., China is “world’s worst abuser”
What made you pick TokuDB instead of MyRocks?

I got the impression that TokuDB is pretty much dead. Hasn't Percona stopped updating TokuDB and is focusing on MyRocks instead?
Nope. It's actually best practice to get one even without an implementation because usually the threat of a lawsuit is enough of a chilling effect to keep the competition guessing.

Of course the risk is that if someone else challenges you on it, and you can't provide the implementation, you can have your patent invalidated.

At least that's my understanding of the tactics of patent warfare.
The paper has the Law & Gold model of (monkey) perceptual learning as one of their cases, and has a bit of discussion about how stochastic gradient descent in ML is quantitatively similar to observed characteristics of human learning. I don't think it's unfounded speculation, except perhaps on the part of the paper.
No, I just don't see a 1:1 being better at communicating goals etc for the company compared to a group beeting.

Why is a meeting with a single developer so much better than a meeting with the full group? In group meetings you get more view points and more easily find out if somebody are talking past each other.

What is it that needs 30 minutes of personal time every week and that cannot be communicated at the meeting with the other developers in the group?
Automated Code Formatter (dartfmt): The hardest program I’ve ever written
@justsaysinmice[0] would like to have a word...

[0]: https://twitter.com/justsaysinmice
I disagree. In fact, I'd go a step further the opposite direction and say that the inclusion of panics was a mistake in the language design, though we're stuck with it now. To be fair, they do allow much better diagnostics when things fail, so this is more of a matter of simplicity vs developer economics, unless I'm missing something.
The Symfony Maker Bundle[0] let's you run one command to generate CRUD views/forms/controllers on a defined entity[1].

So, with 2 commands you can have a CRUD website with all the values you need.

Really easy, really flexible.

[0] - https://symfony.com/doc/current/controller.html#generating-c...
[1] - https://symfony.com/doc/current/doctrine.html#creating-an-en...
Well, they are to an extent with their work on the new Firefox Preview for Android, which is using underlying browser tech as a library instead of bundled together into a monolithic app, which improves code reuse for Focus and Firefox for Android. I don't know if this will translate at all for making separate UX on different platforms, but the optimist in me thinks it will.

That being said, I like the Firefox UI on Linux, Windows, and Android, so I guess I don't understand the desire for making it "more native". My excitement for the new Firefox for Android is all about the performance improvements, not the UI design.
How will local vendor update inventory and item details on platform?
It's not feasible to use preload on a wide scale. Do you think that every secure site should have to be included in the source of your browser to have security?
Suggesting a chrome based browser as a way to save energy is truly ironic.
MVC-N: Isolating Network Calls from View Controllers
Editing with Text Objects in Emacs
You always have control over your own actions, including your reaction when someone takes offence to something you say or do.

I've found that if someone is offended, if you react with openness and a willingness to listen to what they are saying, then the outcome will likely be positive.

If you are more concerned with defending yourself than listening to the other person, then it's likely the outcome is going to be negative.

This isn't rocket science. The problem is that people tend to react defensively. The only utility in such a reaction is a protection of your own ego. The irony is that in attempting to protect your own ego, you just end up making the situation worse, including for yourself.

Listening is a superpower.
My counter-advice for Generation Z
> It's impossible to write any program in a language where all behavior is undefined. Such a language, by definition, has no semantics, and so no notion of a program. In fact, a language with no semantics of any kind is not a language at all.

So, it's necessary to remove a sufficient amount of undefined behavior before something is even usable in a coherent way? Which is another way of saying, you have to have defined enough behavior to be able to even get to the point of knowing whether or not the programmer is the one responsible for the "bug".

Undefined behavior seems to be necessarily worse than programmer error, since to be able to determine the latter you have to have removed some part of the former.

:shrug:, going to get back to work.
I agree that supporting panics was a mistake as long as exceptions aren't really supported. Panics force everyone to pay for the possibility of unwinding without getting to use unwinding for exceptions. It's unfortunate. If you're going to have to consider the possibility unwinding, running destructors, and so on, just add exceptions!

You don't need the panic mechanism to get good stack traces. You can get good stack traces in plain C with abort(): walking the stack does not require unwinding the stack! Confusing these two concepts is just another example of the unfixable confusion baked into the core of Rust that ruins an otherwise-interesting language.
HAProxy has a built in way to do some of this -- you can setup an agent check that lets you dynamically adjust weights: https://cbonte.github.io/haproxy-dconv/2.0/configuration.htm...

I think most proxies are planning to move logic like this to the control plane. Envoy's gRPC stuff has some ways to dynamically throttle traffic to backends.

Load balancers really need to become programming runtimes, imo. Config languages aren't very expressive, and almost everyone needs their own logic at the LB level.

I _just_ put together a demo of latency based load balancing using HAProxy + awk and it's neat, but still very rudimentary compared to what I could express in, say, JavaScript: https://github.com/superfly/multi-cloud-haproxy
What do you use instead? IMO, even with the switch to Web Extensions, Firefox still has a better selection of extensions.
Is it ironic? Restricting the labor supply is the core of a union's ability to demand higher wages for its members.
It works fine for me. Firefox for Android (Fennec) with uBlock Origin. What exactly is broken?
I mean you get that Chrome exists because Google wanted to do more with a web page, yeah? And that Firefox wasn’t up for it at the time?

Chrome’s approach enabled new things and I knew somebody was mgoing to /r/iamverysmart about my example being a Google app—but Google Docs is my go-to example exactly because at the time nobody else really made a web app with some weight to it. Chrome enabled them to be mainstream and for that it deserves a lot of credit. But there is no super secret MakeFirefoxSlow.js in Google Docs. There never was. Firefox was slow and poorly designed by comparison.

Firefox has now improved. It’s great. I don’t even use Chrome anymore. But I’m really allergic to this kind of galaxy-braining.
It's possible in SQL, in Datascript it's effortless. There's a big difference in mental overhead and thus how often you would want reach into DB. There are other benefits.

You don't do any string mungling, your query is itself composed of data structures. You can build it easily with code, so your queries become as elaborate as you can generate them.

Unlike SQL tables that you have to figure out from start, the data model is a collection of facts, with each fact consisting of {entity_id, attribute, value, transaction_info}. By adding facts to database you build the knowledge about entities and different relations between entities in an organic way. You can still use the table model, or you can use graph model.

The whole DB is just a value in memory. You can transit it to server, store history copies in memory (for undo/redo), do diffs, whatever you need.

As for monitoring changes, I'm using the Posh lib (also mentioned in article). It monitors the DB and re-renders react component if there are transactions relevant to component's queries. It seems very efficient so far, but I still have to test it with large number of components and transactions.
I don't get it. The people who made the website clearly decided that an announcement that primarily affects the existing user base was more important than explaining them what sandboxie is for the ten millionth time.
My understanding is the Facebook container add-on blocks phoning home by Facebook like and share buttons. You are right that ad networks can still share data (use uBlock Origin) or websites can share this in the back end (nothing we can do about I guess) but the Facebook container is not nothing.
I haven't really read it but I'll take a stab (with psuedo code). I think NextIndex() is incrementing s.current and modding it with servers.length.

To do this, there are three operations, SET s.current to +1, and GET s.current so that it can be MODDED with servers.length.

If that SET and GET are not coordinated between threads, then a race could sour the index. For example, if two threads call this method at the same time, they could both SET the +1 before either GETs the value, then they will both get the same value +2 from where it started instead of +1 for each caller.
Ask HN: Amazon stonewalling me after they closed my account – how to resolve?
Morning all,

I decided to cash-out $3k-worth of Rocketrip points (a workplace scheme which rewards reduced-cost business travel) on Amazon gift-cards to purchase some things to furnish my new home in the US (just moved here – from UK originally). As a result, Amazon have closed my account, given a very vague justification of "address verification" and voided my entire balance.

I have called several times and have been led in circles on each occasion. When I was finally able to get through to a supervisor, he refused to give me the actual reason for my account closure and hung up after I repeatedly asked him to pass me to someone who could actually help resolve this situation.

I have filed a complaint with BBB, and emailed the second-line jeff@amazon.com address, but I'm not really holding out much hope for a reply / resolution.

Fundamentally I am rather upset that I am being made to feel like a criminal, when in fact my order was perfectly legitimate. Most frustratingly I would happily provide proof that I reside at this address, if only I were afforded the opportunity to do so! Furthermore, my Kindle is now absolutely useless, as is my personal AWS account (although I'm grateful I don't have anything important stored in the cloud – that could have been a lot worse!). Having been a customer of theirs for ~10 years, I'm astounded that they are not at all bothered about trying to sort out a resolution.

Does anyone have any further suggestions as to how I can resolve this situation?

Much appreciated.
Immediate-Mode Graphical User Interfaces
Immediate Mode GUIs
To be honest it was straight forward. We used BERT-base (although maybe albert would be better choice now). We fine tuned on our corpus (took ~1 month on a V100, if you do it in cloud with multiple GPUs would be faster, but we were just playing around/dumped it on one or our ml dev servers). Finally we do inference using a containerized BERT serving
https://pypi.org/project/bert-serving-server/ this output is consumed by some other elements of ml pipeline.
Does Rust support 16-bit architectures? I think I read recently that D doesn't on purpose.

But of course C and C++ do.

Found this comment, which makes it seem like support is intended but maybe not ready to use:

https://news.ycombinator.com/item?id=15270502

not sure if related:

https://github.com/rust-osdev/bootloader/issues/24
Learning in this case is really about recall -- ensuring that information already captured is successfully retrieved.

That's a different sense from learning as discovery, or at least, learning as search. In searching a graph of possible hypotheses, yes, it is a better rule to look for opportunities to halve the search space.
The Lingering Trauma of Stasi Surveillance
Netflix put a lot of work into recommendation back in the dvd delivery days when their catalog was absolutely massive. Now in the streaming space the catalog they license is much smaller so recommendation is less important; basically they just advertise the popular stuff for your demographic.

Its a bit odd that legally one can rent out physical disks, but there is no corresponding way to legally get permission to rent out streaming content without negotiating with the rightsholder. But thats how it is...
If you are paying for a Netflix subscription and a movie comes on over the air you are legally allowed to timeshift and record the OTA show for later consumption. So what’s stopping the other direction, timeshifting (or pirating) and not watching until it’s available on a service you paid for?

You are allowed to backup a movie for your records, which means you can record Netflix shows for later consumption. Those backed up shows watched later are not counted by Netflix’s algorithm, so that production company is not paid.

I’m not supporting one side or the other, I’m raising awareness that IP theft is not so simple when the production companies are still getting paid even with loopholes in the regulation
Spain or China are not parts of Canada, where the official languages are French and English
I'd say no, because at that failure rate, there's nothing to be gained by learning over just guessing.
Why Amazon is writing Firecracker in Rust? Why not C/C++?
What is the criteria for selecting Rust for writing Firecracker ? Why not C/C++ which are already proven, battle hardened with lage number of knowledgeable developers ? Is Rust that great ? How will this move impact future of C/C++ after backing from such a large corporation?
Yep, I think GP meant DI frameworks.
Sandboxie is far better (or different - for its use case it is better). It doesnt use virtualization but rather hooks the APIs and redirects them to "in folder structure" where copy-on-write is used to keep local copy of registry, file system,... Far better and much less resource consuming aproach, its resource consumption is just a slight (I am talking about % or two) worse than native software, doing trampoline hook overhead is not worth mentioning, games will run at same speed. Imagine docker. You delete programs sandbox directory and all its traces are gone. I was its user for years (untill I have switched to linux due to some insane microsoft architectural decisions, like manifests and com junk within kernel32.dll) and was installing all the software into sandboxie, my base os was clean as "just installed". Give it a try, it is worth it. And now it is free :)

(Disclaimer: 20+ years development in low level windows world, from DRM to reversing malware and writting drivers. Dumped the windows completely and continuing on linux (didnt switch due to linux beeing any better, just windows got worse) and freebsd.)
You're making the wrong assumption that getting as many users on board for an aging non-profitable non-core project is actually a goal.

I personally have a project that is in it's early stages and the worst thing that could happen right now is that it goes viral and then I won't be able to work on it at my own pace anymore. Having a user base of 3 people is already tiring enough as it is.
Have you tried Amazon interview questions? They expect you to follow the STAR method.
Future of Social – The Rise of Social Niches
You’re completely right. But AFAIK there isn’t much of a push to cement the ABI as no one believes we’re “there” with what we have. That’s one of the things I like about rust (although a certain class of developers have a problem with that), the emphasis on trying to get things right rather than merely on time.
Thanks for the explanation. Forgive my lack of knowledge, but can it not be solved by using parallelism instead of concurrency/threads? I thought Go has first class primitives to be able to do this?
Knowing something to be from both an epistemological perspective and from a neuroscience perspective lends further credence in some (many) circles, even if it’s less fun to dump on people that way.
If the 757 were still in production today, it would still sell OK.

There is now a big demand for aircraft that size for certain routes (US transcontinental, and second-city Transatlantic, especially the transatlantic)

What happened is that laws changed to allow twin-engine aircraft to fly routes much farther from the nearest alternate landing site, making 757s suddenly great vehicles for Transatlantic flights between second cities. Of course, this happened shortly after production of the 757 ended.
Are there examples where splitting it in First/Last name (or any other split) would help with that? It seems like that would always either be a problem or something to design around while localizing.
You are completely right, I guess "Good artists copy; great artists steal".

Here's a related, although sort of tangent, NPR episode about originality: https://www.npr.org/programs/ted-radio-hour/321797073/what-i...

Also, even in neuroscience this is not new at all, Maturana and Varela researched and wrote about this subject extensively, their book The Tree of Knowledge is a good starter.
They do chroot. You can only install to specific directories
It's a puff piece plain and simple, but that doesn't necessarily mean it's misleading.
isnt that sort of Plex? It came from a political fork of XBMC for OS X. Some of plex is still open source, despite it having no XBMC/Kodi code anymore.
Start Targetting 2019 Verified USA Traders Database