skysight-inc/HackerNews huggingface dataset:
> According to the Intel optimization manual, using EBP, RBP, or R13 as the base address will make LEA slower.

Now that's odd. What is special about those registers, that code using them can end up slower than the others?
AI simulator – Stock trading for learning
We have a few in Copenhagen. I've worked at a small startup using Clojure and a big government project using both Clojure and ClojureScript. I've also interviewed at one of the big car pooling apps here and they used Clojure. Now I'm working at a university also writing my code in Clojure and ClojureScript.

But you do have to be diligent and spend some time to search for them. That stack you mentioned is definitely extremely common here too. And in the uni department where I work now the existing research code is still all LAMP stack and Java, so I'm trying to skip a generation of tech and get straight to modernity by introducing Clojure here.
Yes, it seems to me that USA (and in my case Australia) have extremely pro-customer payment protection. Europe, especially outside of the EEA, is very pro-bank and anti-customer in the specific niche of card payments.

The explanation I get is that if a card payment was verified by the customer with 3D Secure, it is considered valid and cannot be challenged. Which is true, the customer did enter their personal password on the page, and then the code received by SMS that's valid for 30 seconds.
What the banks neglect to consider is a non-cooperating merchant that refuses to return money that was paid under a sales contract and specific conditions, i.e. "I am buying a light green colored desk lamp with frosted glass", and receiving a broken product, or "Item significantly not as described" -- counterfeit product, or a pink ceiling lamp with transparent glass. Banks in the USA almost always take the customer's side.

Interesting to note (because of the proximity and similarity between Canada and USA, vs. say Germany or Spain or Russia), Canadian banks, as far as I know (from friends there), do not take the customers' side if there is no doubt in the security of the payment process and the validity of the authorization, regardless of the claims by the customer.
Seize the day
There can be long waits for GP appointments. This is because the government has chosen to underfund the NHS.

But in England if you need same day medical care you call 111 to talk to a healthcare professional, or you walk into your nearest pharmacy to talk to the pharmacist, or you visit your local walk-in medical centre to see a GP, or if it's something a GP can see as an emergency you call your GP and make an emergency appointment.

If it's more serious you visit your local MIIU (minor injuries and illness unit), or UTC (urgent treatment centre) or A&E, or you call 999 or 112 for an ambo.

> but there was that kid in the UK with an easily fixable, but fatal, heart condition

Do you know the name of the child? Because every single time someone mentions one of these cases they're going by information they've read in US media, and the details are always wrong.
It's one thing to argue exactly how much politeness is necessary and whether a specific article meets the standard or not, but it seems ridiculous to write off the entire concept of politeness. If someone wrote an article arguing a point and included tons of expletives at anyone who believed otherwise -- even if they're fully right and it's about an important safety issue -- then the article probably isn't going to be good at convincing anyone who came in already believing otherwise. The article will just be cheerleading and a pat on the back for people that believed the article's point to begin with. (Sometimes that's useful to energize people who already believed the article's point, but in that case people should be clear that's the point of the article, and not delude themselves into thinking the article is something they can send to people to win them over.)
I also hate “well you can read the slide”. Now I feel I need to speed read the damn thing as it could be whipped away at any minute. Also can everyone read that font size?
Speaking as someone who has parents whom smoke a lot, I think you don't understand the mentality of smokers or the addictive behavior of smoking.

Nothing is going to stop her from quitting smoking, even if she was denied pain medication or surgery. They'd find other ways to numb the pain and just walk straight into an early grave.
There is a certain risk associated with buying used items. Even a item exchanged for cash via Craigslist can have issues - say a lens issue that only shows up in certain lighting. Too bad, we can’t solve that.

However these platforms can solve anonymity - may be UPS can verify ID and address in addition to basic checks with item photo and weight. That is, make it equivalent to an in person exchange.
Hi, just scrolling through I saw a typo on the landing page: "Spaced Repetion".
What problems do you have with C++? Pre-C++11, threading was basically unusable, but since then with std::async, STL mutexes, RAII lock guards, condition variables, atomic types, etc, writing multithreading code in C++ is downright pleasant.

Also std::scoped_lock in C++17 basically eliminates the possibility of deadlocks. I generally don't use them much though, because I'm diligent about const correctness. There's no need to lock to protect a const object or data structure.

I actually have more trouble dealing with multithreading in Java and C# than in C++ because I can't leverage const.
I run a few open source apps and maintain those in my spare time.
Not only is it a horrible word it's not even accurate in this context -- it's modifying "To Write" which is the infinitive verb, which really is the action of the writing, not the result, which is what the author actually wants to convey.

Normally this wouldn't bug me so much but on an essay about effective writing....urgh.
The moral obligation to be data literate: dispatches from an age of deep fakes
They also, in my experience, defer dealing with theft to insurance companies.
The way I see it is that you can seize a car, airplane or ship without having keys for it. What's important is that the government considers those bitcoins as its property. So if anyone in the future is moving BTC from those addresses, they are infringing upon government property like someone who stole a police car. The government might even auction that right off, although the fact that they don't have immediate access probably reduces the value by a large amount.
WHATWG is mostly HTML and DOM/browser api:s, ECMAscript is by TC39, CSS is still in W3C, URI schemes (which this is about) are in W3C, as seen in this draft being hosted by WICG, which as far as I can tell is a W3C group.

At least that has been my understanding of the situation.
Was it sold as unlimited? Then it should be unlimited. Data caps should be illegal in that context. Same with throttling
Or.. maybe people just have different outlooks?

I used to ebike for an hour each way, and it was torture. Now it's a ~20min drive and 30mins of the commuter train. Still pretty miserable, but at least it's not raining directly into my eyes anymore.
honestly would be pretty bad for singles who just want to hustle and make some money to afford plans later in life. i can see the appeal for families to take some time off, but currently there are enough facilities for dad-days and the like (at least, where i am). yes you need to pay for those, as is only fair. If this becomes law i'd guess the 'solution' for a lot of people would be to take two jobs. suddenly these plans dont look so amazing anymore.
Cycle Time: A Longitudinal Look
Classic tragedy of the commons scenario. ISOs were originally a great idea for how an early group of employees could take a big salary cut in exchange for a shot at getting wealthy. Founders and employees both had common stock and would sink or swim together.

Then over the decades information asymmetry started to chip away at this with investors realizing they really only needed to keep the founder happy, and they could steadily chip away at the outcomes for the rank and file given those young engineers would keep coming in based on the mythology of getting rich from the previous generation.

It took awhile, but now that trust has been fully eroded, and simultaneously FAANG have recognized the value of top engineering talent, paying salaries to ICs that would have been unthinkable in the 20th century.

It's going to be very difficult for investors to win back trust because now the information asymmetry works the other way, with young talent just assuming ISOs are worth nothing. Even if founders make an effort to do right by early employees, it's very difficult to demonstrate this to someone who is suspicious but not seasoned enough to know what questions to ask.
I was 4 days 32 hours for 7 years, now I do 3 days 24 hours. It has allowed me to spend time a lot of time with my boy. Now that he's started school I generally work on side projects in my 2 extra days and do the school pickups. Of course there are days where you don't feel like coding so you can read a book, do chores, go to the beach.
How to Deploy a Helm “Hello World” App onto Kubernetes
Please do not copy and paste comments, only link to them instead, if on HN. See this comment by @dang: https://news.ycombinator.com/item?id=22122334 (and similar comments - https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que... )

* I know I don't have the authority to say this, I just want to be helpful.
Safari Will Stop Accepting HTTPS Certificates That Last Longer Than 13 Months
Fast lanes benefit established players at the expense of start ups. Consequently, if there has been detrimental effects, I doubt you would notice them.

When you think to yourself, why do I put up with youtube, why isn't there an alternative... that's the 'thing happening'.
Okay. Who is going to pay for this service? I'm not going to pay for it as a buyer. If I file a claim on eBay or Amazon, they'll almost always side with me.
Maybe then it's a good idea to can both of those.
You can blacklist certain addresses with certain law abiding exchanges, which is more like marked bills than a seizure. What happened here was obviously not a seizure, you’d need the private key(s) AND to have actually moved the bitcoin to a new secure wallet under your control before you could consider them seized.
Its using discords stuff. Nothing, but I don't see how that's relevant.
You're correct. My mother used to work on exactly this, reverse engineering CPUs. They just gave them a part and told them to figure out how it works, and to replicate it. It is my understanding that by that point, in the late 80s, most people in her institute were working on copying western tech, not on original IP.
Even at 7GB an hour, they'd have to both be watching separately for over seven hours a day, every day. At 3GB an hour, 16 hours a day.

It's not impossible, but it certainly isn't blowing through the cap quickly.
> Caps are only a thing because Comcast oversells every connection

The caps are a thing because Comcast pays for ingress traffic into their network (they pay other providers from which the data comes from). At a point, you cost them more than you pay for. Which is where they charge you an overage.

Seems more than fair to me - I pay currently $49.99 a month for 150Mbps connection with a 3TB cap (I'm aware they offer different rates, speeds, and caps in different areas).

I do not want to pay more than $49.99 just because someone else in my area constantly uses 10TB each month - that person should pay more, not me.
interest accrued on otherwise nefarious activity.

esoteric philosophical questions : if the base money that accrues interest is of 'immoral' origin, is the interest still 'immoral'? Is the act of saving money an action that has a base 'moral' precept? If it's a positive action, does that make the interest less 'immoral' than the money used to make it? What if the interest feeds a 'moral' charity?

Just stuff I think about with regards to finance, not that morality matters much practically in the real world.
I think paradigm shift, at least when accurately used, runs much deeper than this.
Hutter Prize expanded by a factor of 10
SEALED

For many items opening the packing reduces value
If you think Sudoku solvers are cool, check out (constraint) logic programming, e.g. https://github.com/clojure/core.logic/wiki/Examples#sudoku

You can take that pretty far! I used it to solve Regex Crossword [0]: https://www.lvh.io/posts/solving-regex-crosswords/

https://regexcrossword.com/
I’m willing to work a day less with less pay
I mean, that would make for an interesting legal case. I feel that you could try and argue though that some Bitcoin 0-day was used to move the funds and retain your deniability...

Even the officers hope this happens one day (! good luck to them, if the tech existed the coins would be immediately worthless...)

"... officers said they were hopeful advances in technology would one day enable them to access the bitcoin so it could be sold."
Your comment implies that a real crib wouldn't be able to do the same.
So the tl;dr is:

1. Startups take longer to IPO, if they ever (objectively true);

2. Liquidation preferences for VCs and preferred stock for founders may make a certain amount of sense (other comments have addressed this) but given (1), this is generally a horrible deal for employees.

3. Any employee should outright refuse to join a startup where the agreement has any kind of clawback or any exercise period less than 10 years after the termination of employment. If you're worried about diversity of ownership then put in a right of first refusal into the contract. That's fair.

4. E(TC) for a moderately qualified SWE at Big Tech is >$350k. Given all the above if E(TC) at the startup really needs to be at least twice that (hint: it isn't).

5. For every story of a Google chef becoming a millionaire there's 10 stories of a Mark Pincus type who threatens to fire employees if they don't surrender some of their (unvested) options.
I don’t think “fake” is the right word to use because it immediately sounds bad.

Just don’t sell the potential user’s contact info or use it for a project they were not interested in.
I've been doing this for 3 years now and it works great for me. 3/4 of our company are 4 days or less a week and in the last 5 years we've turned a loss making company into something quite profitable. We generally have one short meeting a week, outside of that we do 1 on 1s when necessary. The rest of the time we can sit down and focus 100%.
And therefore at work!
And I'm saying it has no moral obligation not to censor, either. As a private organization, by default, they get the right to set their own standards of conduct. In the USA, at least, the law adds some restrictions in how this can be done, but only in limited ways.

I honestly have a hard time seeing eye to eye with the idea that private organizations have to let users of their platforms do whatever they want. It strikes me as representing a rather solipsistic concept of freedom. One could argue that the specific restrictions Discord is making are shitty. It certainly sounds to me like they are, and one could then mount an argument that people should steer clear of them because they are acting shitty. But doing shitty things is not necessarily the same thing as violating a moral obligation.
In Australia it's pretty common to be paid for 38 or 36 hours a week and take a RDO (rostered day off) once a month or fortnight depending on what you choose. This plus minimum 4 weeks paid annual leave for full timers, 2 weeks paid sick leave, 13 weeks paid long service leave if you have worked at the same company for 10 years, paid parental leave, carers leave, grievance leave, volunteer leave, etc. If you work casual hours then you usually receive a 17.5% more per hour. Weekends and public holidays usually attract higher wages too.
Doubling down on perjury as a legal tactic is unwise.

I think it would only be interesting in that folks who think crypto is magically law-proof would discover that no, it's not. Not at all.
They've already done it for you, so you don't need to worry about implementing it:

https://github.com/signalapp/libsignal-protocol-c
This is part of company memory/history now and you can reference it in the future.

We don't want to avoid doing x because we will end up like [the time we missed the boat].
While it was already pretty obvious that Mike Masnick was probably acting as part of Google's PR team, being used as a citation by other Google propagandists kind of adds some more support to that idea.
At least for camera equipment, this does exist. You can take your camera to B&H's used department, and they will buy it from you. You can also go to B&H's used department and buy a used camera from them.

The advantage of this over Amazon is that as a seller, you know B&H isn't going to screw you over in any way, and if they do, you know where to serve your lawsuit. A trusted business with a physical location is the counterparty in your transaction, which makes it pretty low risk. As a buyer, you know B&H is trustworthy and you can come back to the store and have a problem resolved.

Amazon offers nothing in a typical Amazon.com transaction beyond matching buyer and seller. They can't trust the buyer, and they can't trust the seller. So they can't really help with the transaction in any way, they are just there to take a cut for basically nothing. B&H takes a larger cut, but they actually do something.

Of course, people like money, so Amazon is rolling in it while most people don't even know that they can sell their camera to B&H. (I've bought used stuff from them because I don't trust random eBay listings, but never sold anything because the amount of money they offer wasn't worth it to me.)
'I brainwashed myself with the internet'
Hah, I forgot that one. Part of the negative impact is the time spent explaining stuff (like Brooks mythical man month). Another negative impact is that ML folks have gotten really good at hype- paper with slick web page, press release, etc, but the results don't stand up to the claims.

I generally recommend PhD-level study in biology (that's 7 years on top of undergrad) but I think a really smart person could learn most of what's required in 2-3 years if they are in a good lab.

No, we will not all be killed by a virus in the next 10 years; that's just media alarmism. Remember, even if coronavirus becomes a worldwide pandemic, some fraction of people will survive who will be genetically immune. We're much more at risk of wars, climate change, and driving cars.
Answering your questions on Huawei devices and Google services
I mean, maybe you're in it for the privacy benefits, but I just want to auto-normalize URLs (i.e. to throw away anything that isn't necessary to get you to the page) for rendering permalinks in journal citations, in printed ad-copy, etc. I'd guess a lot of these libraries have the same goal. And in that context, they probably mostly seek to automate the stripping of the particular parameters that the author themselves has encountered, been annoyed by, and manually stripped before; rather than seeking to strip parameters based on the particular meaning or information they encode.
Yet another person who majorly agrees with the first point made here.

Everybody I would urge you to read this comment if you are an Anki user.

The point about Anki is not the sw but the intervals and if you haven't got them right, there's not much point.
> This is such a tediously computer-centric vision. There are hundreds of tools in the world that are used every day that have "friction" and need to be "explained".

I would be very interested to hear of some such tools?
It's a 20% paycut, but a 50% increase in free time! I'm doing the same thing btw, taking every Wednesday off and I love it - it breaks up the week and having the whole extra day for fun projects is totally worth the money to me.
Certainly not all. They last public company did not have a plan; and of course, some plans are better than others.
> My main complaint is that Comcast gives no insight into how they calculate your usage beyond a generic bar graph

Fair enough - but also in fairness, your electric utility provides about as much (which is also frustrating when you're trying to figure out why your bill went up 25% one month).

I personally run a mikrotik router which tracks my usage too, so I have a reference to double check against and could wage a good argument with evidence that I didn't use the data they claim.

Not everyone can do that though... but perhaps standard routers should come with these features now-days.
Personally, I think it's not ethical. Also, I don't think a fake landing page will actually validate an idea -- true validation takes time and interaction with customers, something that fake landing pages won't offer.
It's been a few years since I tried opam... When I did it just barfed out some obscure error message and I wasn't encouraged to try ever again. I realize that that's not really helpful towards improving the UX, but maybe it helps as a single data point?

(Just to avoid accusations of <whatever>: I actually discovered FP through OCaml and wrote a few early-ish libraries in the ecosystem, but then discovered Haskell... and the rest is history.)
It's like they don't know where the car is, only which it is, and put the vin in some stolen car database.

Bitcoin seems so terrible privacy wise. It's so much more traceable than cash. I don't know why people don't just use monero. That'd be like everyone on the planet drives the same car, and the only way to identify yours would be to have the keys to it. The analogy works because monero takes a long time to identify yours with your key - you have to check every "car". That's one of the major technological downsides to it unfortunately.
Not comparing to Zephyr, which ticks all the same boxes, is absolutely a problem.

And I would argue that Arduino support nowadays is a negative, not a positive. Arduino support means that you are going to do a bunch of things to support 8 and 16 bit systems that look absolutely silly on 32 bit systems. And, it's not even clear that Arduino systems are actually cheaper or lower power than ARM Cortex-M4 systems anymore--which negates the advantage of Arduinos.
In my opinion Lisps - racket, scheme, Clojure, etc are the best way to do meta programming.

The code is stored in primitive data structures and is available to edit at runtime which is something that isn’t an easy thing to implement in a Lang like java or C#
packing a lot into sentences is entirely different from writing short sentences. for instance, pynchon packs a ton into his sentences, yet they're long and winding at the same time (confusingly so, sometimes).

hemingway's sentences are just short, like playing every note in staccato, which in itself can become tiring (i like, but don't love, hemingway).
But that still doesn’t have anything to do with having kids or not.
> How does this disagree with my point, which was that creating FOSS can get you in trouble with the law...

Creating (or in this case distributing) anything that's against the law could get you in trouble with the law -- kind of how it works.
The post explains it. LEA without those registers used as base can be computed in the address generation unit, which is separate from the regular arithmetic unit(s).

Since x86 supports complex but useful addressing, the AGU was made fast so memory operations wouldn't be dog slow.

The LEA exploits this resource for computation rather than "just" for addressing memory, for example:

lea eax, [ecx+eax*2-30h]

With normal arithmetic that would be three instructions that could not be done in parallel, but with LEA it's done in a single clock cycle[1]. More details here[2].

For some reason, the AGU seems incapable of dealing with those registers as base I guess.

[1]: https://gmplib.org/~tege/x86-timing.pdf

[2]: http://www.nynaeve.net/?p=64 (point 3)
side note -- jobs+join is not a bad thing in many cases !