skysight-inc/HackerNews huggingface dataset:
Isn't charging different prices for the exact same product online -- i.e. price testing -- illegal, at least in California?

I'm interested how this works. Car dealerships do this all the time in person. I wonder why they can do it, but websites can't.
> I mean Rust isn't exactly very difficult to use.

He's talking about working on Rust, not working in Rust. A Rust compiler, with its borrowing/type-checking, is an order of magnitude more complicated than one for C.
Great idea, would you mind adding it to our wishlist? https://wishlist.yourdigitalrights.org/
> Because Windows and Linux are not designed for hard real time.

True, although RT kernels have been developed for both.

Windows actually features Autoboost (Priority Inheritance). As Windows also has IO priority, the boost also applies to IO operations, boosting both the thread priority as well as the IO request priority of the lock owner, when a higher-priority thread blocks on a mutex owned by a lower-priority thread.
Go build constraints (build tags) also go in the comments and I think it works well enough. The arguments against are similar to those against struct tags. Without a properly defined pragma paradigm in Go comments at the top of a file work Well Enough™ IMO.

I've also never seen anyone call out to protoc from a go generate flag. Sure, you can do that but it hasn't been common in the Go shops I've worked at.

> You can't order your generate commands in a way you want, you have to order them using file order, or keep all of your go generate lines in the same file, which defeats the purpose of go generate.

I've never had a problem with confining generated code to a single file. Do you have more details on why this is a problem? Given that all the files in a package are "flattened" I don't see why this causes a problem...
I would find the opposite an interesting research direction: can we build a game that bots cannot master but humans can.
I don't need Hadoop because I have find, xargs, GNU parallel, Slurm etc etc
Obviously I'll avoid purchasing optional "smart" devices that send my data everywhere, outside of my control. The problem is mass acceptance of ubiquitous surveillance, and those promoting and pushing it. I guess that means I will have to do my best to avoid visiting anyone who happens to have an Alexa (or whatever) hiding somewhere.

Even Google's devices chief, Rick Osterloh, says people using his product should warn guests that their conversations are being recorded. To his credit, he even does so(!):

https://www.komando.com/security-privacy/google-exec-warn-yo...

> “Does the owner of a home need to disclose to a guest? I would and do when someone enters into my home, and it’s probably something that the products themselves should try to indicate,” Osterloh said.

Osterloh hits on the truly insidious thing about about microphones -- they never indicate when they are listening and sending your data out of your control. (Camera LEDs also certainly cannot be trusted, but I digress).

To be clear, again, I have full empathy for anyone needing the conveniences this technology promises. I have zero empathy for the companies, "officials", and "authorities" who claim that they must exfiltrate my data so that it can be used for adding convenience, or security, or safety or whatever. It is unnecessary. Smart, creative engineers have proven they can do pretty amazing things with data processed locally, with no exfiltration required. Let them do their job, and let my personal data stay under my exclusive control.

I used to attribute this laziness to incompetence, but the advertising industry has proven over and over and over (decades!) that they are openly and unrepentantly hostile to users. They are malicious. I cannot and will never again trust them.
International Chamber of Commerce wants to reduce air pollution using Ethereum
Berate doesn't mean yell, perhaps?
Juicy Mail: bringing email its SWAG back
Healthy meals do not have to be flavorless. Of course if they are trying to appeal to the lowest common denominator then the menu will maybe start to look like McDonald’s, but even somewhere like chipotle you can buy a salad without the extra cheese and chips.
or trace back prior fraud. Criminals are using data deletion requests / demands to cover their fraud so they can continue. I don't think as written, this legislation is going to hold up under the onslaught of criminal abuse.
If you delete your telegram account, your messages in group chats will be attributed to a deleted user.
Ask HN: Why did you take a first engineer role in a startup in the Bay Area?
It seems pretty common that first employees of a startup get ~1% of equity in the new company.
That 1% is easily diluted to ~0.5% after a few funding rounds, and even if the startup has an exit of 100m (within an optimistic 3-4 years), those first employees get ~500k, before taxes, and probably not all-cash.
An even bigger exit is highly unlikely, but let's say 5%.

So my math says that a quite optimistic return is ~125-175k/year in 3-4 years (+ startup salary), for a 100m exit.

Assuming that really good engineers can get a senior/staff job at Google or other large corp, they can easily(?) get an offer that's 250-300k per year and that is guaranteed.

Working probably crazy hours for a startup, having more responsibility, and having only <5% chance of a financial win vs large corp doesn't really make sense to me, or at least doesn't seem rational.

So my question to first employees is what was the reason behind your decision? Is it only the small-company startup culture that's much more appealing, or is my math wrong?

disclaimer: I'm working as a first engineer in a European country, where salaries are nowhere close to the Bay Area salaries, but startup returns could be similar, probably chances are thinner. Also I'm well above 1% in the startup.
If Uber tech workers organized, they'd have a larger voice to support the drivers if that's what they decided to bargain over. And yes, it's common for unions to fight for expanding the union workforce at their company.

These types of victories build on one another. If you truly care about the gig workers, the best thing you can do is organize YOUR OWN workplace.
Interesting you bring up "hardware". What do you mean by that?
Would you mind voting up this idea on our roadmap? https://wishlist.yourdigitalrights.org/
I wholly admit the title was a bit charged and I appreciate the correction from the mod(s). That said, it questions the security model of privacy apps and the nature of open source. As I mentioned above, there is a reason they make it a hurdle to scale account creation.

It represents more than just a crawler if you have an imagination. That said, I was looking for a solution for one of the listed use-cases and none existed so I did something about it and shared it and now one exists. It takes no creativity to deride a work, and enough to make one and put it out there.

Getting both sides of the feedback has been a fun learning experience and looking forward to putting more out given the amount of feedback! Thank you both :)
According to html5test.com, the latest Safari on iOS is rated at 463 while Firefox Mobile 48 is 466—not much of a difference.

However, Safari is faster, especially when it comes to JavaScript.

It’s hard to believe that if Firefox ran natively on iOS, it would be more memory and energy efficient than WebKit: https://webkit.org/blog/8970/how-web-content-can-affect-powe...
Surgery Center of Oklahoma Pricing Disclaimer
Yep. See the players unions in any sport.

Hard to argue those players aren't skilled.
5 Bad Habits You Have to Give Up to Succeed in 2020
We got a puppy a while ago and holy crap, no kidding. If I were single, after that experience, I'd make sure never to walk anywhere without a puppy. Never had so many strangers strike up friendly, longish conversations out of nowhere.
A single folder is good enough. This looks useful - thanks!
This post describes a system of voting/payments where you can make multiple votes, depending on how strongly you value your preferred outcome, but each vote costs more than the vote before.

Identity management and collusion are big issues with these systems, as the essay points out.

For programmers, one way to think about this is that each voter has a state, n, that tracks how many of times they've voted. And each vote is more expensive than the last. Eventually you either run out of money or you lack the desire to spend more money on another vote.

But if you can create a new voter account as easily as you can create a new Gmail account, then once n gets sufficiently high, you just switch to a new account to lower the price of your vote.

Or if a really rich voter with a high n-value pays someone with a low-n value to make a vote on their behalf, the system collapses as well.

Enforcing strict identity management (e.g. requiring valid state-issued ID cards) and implementing secret voting can help address these problems, but my guess is that if there is a strong enough incentive, people will try their hardest and come up with novel ways to thwart these safeguards.
HN added the bracket to your link. Should be https://sav.blogs.unr.edu/3d/
The issue is I don’t believe you’ve ever worked in such places. I also know such “evil places” aren’t good at what they do, hence the weird tactics and shitty management you’re hyperbolizing.
That abundance of software jobs might be the case in SV, but definitely not in other places of the world.
You do rarely see female firefighters.

> In 2017, 77,900, or 7%, of the firefighters were female. Of the career firefighters 13,400 (4%) were female firefighters. There were 64,500 volunteer firefighters who were female, 9% of the total number of volunteer firefighters.

https://www.nfpa.org/News-and-Research/Data-research-and-too...
Personally, beyond development, I haven't found rollback migrations particularly useful. Once you've run migrations on a live database, it's often much simpler operationally to treat any rollback as a new migration, to keep things append-only.

From that perspective, while rollbacks are nice, the technical investment needed to auto-generate sound rollbacks for all DDL operations is probably vastly outsized compared to the benefit, so I can see why it wouldn't be a high priority, especially if targeting multiple databases. If you're writing things by hand, there's not a whole lot of difference between the two.
Hackers Sentenced to 20 Years in Prison for Crypto Jacking
From SaaS idea validation in 1 day to 150+ Beta signups
Well, they could use automatic IA-based translation, for that! :)
Excellent question.

Friet, although I have to remember to ask for patat when visiting Oma en Opa.
This reminds me of my favorite pet peeve with international flights. Even in economy you have more space for yourself and more storage space than on a domestic flight. However, they try to be nice and give you so much extra stuff like blankets, pillows, socks (!), sometimes even a little vanity kit with toothbrush and creams. Between that and all the brochures they cram into the little storage space that's available everything is crowded again. I wish we could at least get rid of the magazines and catalogs.

Maybe I just travel with too much stuff that I want easily available during a long flight...
Why Italy’s Bridges Keep Collapsing
Exactly. Everyone's taking this article at face value, but it's an empty design exercise, not linked to any airline, with no cost constraints, that will never see the light of day.
Eh, I don't think this is true anymore. Folks that I see walking out of the other FANG offices look cookie cutter. Allbirds, iPhone 11 Pro, nice Patagonia quarter zip...
> If it's not about gender, the responsibility lies on the bad actor to prove otherwise.

How do we know they are bad actor if we don't yet know what really happened? Imposing guilt on someone until they prove themselves innocent is a bad way to run a society.
Redpoint’s SRE Landscape
This is an excellent suggestion.

I think an important question to ask before getting review is can other people understand and manipulate my code as easily as I can? Engineers who submit PRs without critiquing their own work (usually the moment they complete the ticket/task) are a liability, and can introduce some uncomfortable situations when it falls on peers to approve/criticize. Speaking from experience, my boss was very terse in code review sometimes, but it was the kick in the pants I needed to understand that my buggy, brittle code was unacceptable.

If you're looking for good resources, Clean Code by Bob Martin is a classic.
Not that I'm opposed to speculative research but...

Does anyone know any actual uses for such a device? I know the article says medical and space propulsion. But it doesn't seem well suited to space propulsion (seems like a dangerous exhaust that doesn't do anything a microwave deam doesn't?).

Sorry if I'm being dull
>you guys

You'll find those who will object to this in a mixed gender setting. Things like y'all and you folks are probably preferred in at least some contexts. (Having said that, I still reflexively use you guys a lot and I know lots of other people, including many women, who do as well.)
Provisioned Concurrency is now supported in the Serverless Framework - https://github.com/serverless/serverless
Show HN: NativeConnect for Mac – Desktop Client for App Store Connect
> Please make a public example of this termination within the group. Please also make it a very strong part of new hire training for the group.

So already in 2007 a group of people at Google (all the hiring staff) knew about this policy. How much time did it take before someone complained?
SHOW HN: Ideapo – A personal assistant for your ideas
This is false. LA to OC by train is 30 to 45 min. LA trains to San Diego or Santa Barbara are only 2 hours and both are much farther from LA than SJ is from SF.
Hey y'all!

Ideapo is a personal assistant that stores and reminds you of your ideas. Once the idea is sent to us, the assistant will gather thoughts and opinions from those in the Ideapo community. Later we'll remind you about the idea. And if you want, you can find out what others think about it too.

Why do we do this you? Because your ideas matter. Life gets busy. Too often we forget about our ideas and never share them with others. So before you "Kobe!" that idea into your mental trashcan, give us a shot with it. You never know.

Any feedback is greatly appreciated. Right now you can access and use the assistant on our Discord Channel. And if you want to see how it works for yourself, right now. Just shoot us an idea in the comments.

Stay winning,
David
Looks elegant. I wonder how to use it would be to a car crashing into the central pole?
https://en.wikipedia.org/wiki/Pragmatic_maxim
The overwhelming majority of jobs in the modern economy have nothing to do with basic needs. Most of them simply exist to feed the consumerist/financial complex.
Trying to make improvements for who, and why? That's the important part, and why politics gets so heated. You sound like you're talking about choosing between slightly different flavours of ice cream.
In Fussell's Class he writes hopefully about his "Class X" (IIRC) that rejects class markers, but it's clear even just from his text that they actually don't, and from our decades-later perspective they've obviously just become another category of the class conscious public, for the most part.
Can you prove that you've disabled it? That it's not listening all the time and logging interesting sounds?

I don't see a huge difference between a speaker that's designed to have an always-on mic listening for a code-word and we're just going to trust that it doesn't log anything unless it hears that codeword, and a phone that's designed to have the same, but has a software option to turn it off.

Either way, we're trusting that the device isn't abusing the fact that it has a mic.
Normal people want things that look cool and can be made with minimal effort. Some people can afford to stay in an abstract backend world without ever presenting anything to non developer people, but I think most of us live in the real world and use modern computers so they'd rather have the cpu run a few more cycles than having to think about the details themselves.
Why Am I, I?
Fair point. At the very least it highlights the security model of OSS in general.
> Isn't "minimizing energy" a definition for entropy?

No. If you have a system with a well-defined energy/entropy exchange rate (temperature) you can use it to put entropy in units of energy, add it to your energy term, and model the combined system behavior on the basis of this "free energy." The free energy is not a fundamental quantity, though, and it doesn't define entropy. That's why the first two laws of thermodynamics are "Energy is Conserved" and "Entropy Increases," not "Free Energy decreases."
that is an assumption
I don't think you can take away any useful information from this "study". A single glance at the sources is enough to tell you that the author selected a sample that would guarantee them the conclusion they wanted.

All the newspapers in the screenshot are notoriously right wing, as is every other paper that gets mentioned, apart from the Guardian. I guess that one was included to make the biased sample seem less obvious, and since they happen to be quite neutral on Corbyn, so they don't offset the stats too much.

This study is the equivalent of only looking at "Fox News" and other similar news broadcasts, and drawing the conclusion that American media as a whole is very conservative and supportive of Trump.
Well the heli was moving too. Plus, the damaga is not that crazy looking. Totally believable
Whoops. Fixed, thanks.
I believe they do store data on their servers. Their desktop app doesn't require syncing to your phone.

Can you explain your thinking about why you believe that? I would have interpreted the guidelines in the opposite way.

Telegram does permit individual manual deletion of group conversation messages for all parties, and bulk deletion of 1-1 conversation messages for everyone, just not the group chats. It's incredibly inconsistent even by their own standards.
Don’t spend time building what your customers want you to build
they have invented many... that might be part of the problem
Yeah, there are only so many opportunities to lead a company with that type of funding and growth. Being offered a couple percent of a company where at your current employer you're tapped out until a ceo or founder gets around to quitting may shake someone loose fast.

Also, Gruber's general purpose is whitelabeled Apple PR. His "insights" here accord with his claim that he would never let an advertiser that paid him roughly a quarter million dollars affect his views! He's a man of principle (unmentioned, the principle being gettin' paid)!

To be clear, my take on his angle is "whatever keeps approximately $60k/year of advertising checks flowing his way. Because principles."
Yea, that makes sense.

For the same reason, I don’t think movie actors could ever unionize. They’re skills and talents are obviously very unique to them (I’d argue far more so than developers). Certainly the pay scales between actors of different talents seems to agree with that.

Or, professional football players. Each is pretty unique in their talents. Again, their pay scales differ vastly based on those talents. They could never successfully unionize.

Except both of those fields have strong unions, and collective bargaining, while still allowing individuals with different talents to get paid individually.
Given the high level attention involved - direct emails between Steve Jobs and Eric Schmidt - I'd fully expect that policy to bleed over into "don't interview/hire" to avoid any appearance of having recruited them.
You're beginning to sound like a conspiracy nut. The paper is very upfront that more studies should be done in other countries:

"the data necessary for the analysis, such as paygrades, demographics and manager assignments, are probably available for most large organizations. We hope this methodology will be applied to other firms, countries, and industries, which will help to generalize the findings and identify where these biases are more or less problematic"
First of all, there is absolutely no shame in getting significant comments on a change or even in abandoning and redoing it entirely. It's too bad that your lead has let the idea that this is shameful fester. That is the point of code reviews. In fact I think the answer to your question of how to improve is exactly what you're doing: get lots of feedback on your code, really pay attention to it (instead of feeling defensive and ashamed, try to really understand why they are making the comment, think through what problems that are foreseeing), and try really hard to proactively take those comments into account for your next change. After that, the next best thing to do is to go read other peoples' changes. See what kinds of things they're doing and what kind of comments they're getting.

You sound to me like every early career employee experiencing imposter syndrome. That feeling might not ever really go away, but you're probably doing much better than you think.
Thanks. That's unsatisfactory to me, alas.
AI Engineering: 11 Foundational Principles for Decision Makers
Hi!
to roll back a migration you have to build a new one which undo's what you want to rollback. Refinery is very inspired on flyway, which only recently started offering undo migrations, but still explains why that is problematic in it's/our vision: https://flywaydb.org/documentation/command/undo#important-no...
You need to be a resident, but I have found that many companies will not check and process your request anyway. Microsoft officially said they will do so: https://venturebeat.com/2019/11/11/microsoft-will-honor-cali...
Are there too many dispensaries in Los Angeles?
How do you even start to write a law for something like this? And I mean a law that makes sense and takes in account the reality of the situation, not one used as grandstanding.

It becomes really messy really fast. A law is established at some local level (local to a borough, state/canton, country), it will surely contradicts with laws from other places while overlapping with them.

From a very abstract view, companies will need to identify the person uploading the picture, the person in the picture, somehow determine which law to follow in the given circumstances (which depends on the context), determine if a consent exists at the correct local level for each person in the picture, then and only then they can train a model.