skysight-inc/HackerNews huggingface dataset:
While all your statements are true, your last sentence makes the entire post be abhorrent. Raising awareness on the inaccuracy of breathalyzers is good. Using this to encourage people to drink then drive, and framing the instructions in that manner, is morally irresponsible.

If you drink, don't drive.
I never found that driving after a night shift was much different to driving after a day shift. Of course, when working nights, I slept during the day. YMMV.
We do something similar, where we just have a branch that is "prod", and the deploy script just checks out that branch, packages up all the things, and deploys them to the servers. If you want to roll back, just force-push the "prod" branch to whatever commit and run deploy again.

For database migrations, we (1) design them so they can be applied without breaking the existing app and (2) make a "pre-launch" commit that adds those migrations to the codebase but doesn't have any code that uses them yet.

To deploy, we merge the "pre-launch" into "prod" and deploy, and since the app doesn't use the new db changes yet, it will happily continue working fine. Then, at our leisure we can manually run the migration (either through the framework built-in migration tools or manually through the db shell). Then, we can merge the full "launch" branch into "prod" and deploy again, which will push the code that starts using the db changes.

To roll back, we move "prod" back to "pre-launch" and deploy, which moves the app back to the state where the code isn't using the db changes, but the changes are still expected to be in place. Then, we manually roll back the migrations using the reverse of whatever migration method you used originally, which is fine since nothing in the codebase in the "pre-launch" commit is using the db changes. Then, we move "prod" back to whatever commit we need to roll back to and deploy again.

It takes a bit of planning and forethought, but it means no downtime and you have all the time you need to manually apply and roll-back db changes that can take a while (adding indexes to huge tables, etc.).
What is the flap about chlorinated chicken? (2018)
Issues aren't really a great way to address core architectural questions that effectively say "I think it would be better to start over and build this in an entirely different way".

There are some (small) benefits to independent regulators. A massive rail with high-side switches is a completely different design approach with its own benefits.
Only in the same sense that's happening here, though. I assume you're talking about takes like "Why don't working class white voters vote for democrats?", which isn't fundamentally any different as I see it. It's a legitimate question, and the answers (in both cases) tell us things about how politics work in a way that simple analysis doesn't.

And FWIW: as far as tone, this one seems more "accusatory" to me. There's a clear hypocrisy angle being teased in that headline, where the lefty takes tend to be more about exasperation on the part of the author.
There's brutal capitalists that want to maintain the current set of winners and losers, there's brutal capitalists that want to become the kings of the hill, and then there are those who want to enable creativity throughout society and enable all those with a vision for a better future to have the tools to make it happen.

I think HN has almost zero of the first category, and some mixture of categories two and three.
Before implementing CI with containers I used to deploy using Capistrano. One thing I loved about this setup was that in case of needing to rollback, I would just run a command which would change a symlink pointing to the previous deploy and restart. All usually done in a couple of seconds.
Closed source.
How Chains Are Made
One code base I inherited at a job had a unit test suit with no assert statements. No one verified that the tests would fail with a faulty implementation. It's the same kind of error. In the lab no one verified that detector would be able to detect.

As to forgetting switches, on lab equipment, especially custom built equipment it's sometimes not obvious, which switch is which.

Also as a student I worked in a lab where many experiments where built by one or two generations of students and then continued by others so those producing data. Working with an existing setup is like inheriting a code base. You never know what surprises await you.
Islamic Teachers Recruit Children for Trafficking
For those, you create a portal URL on a domain you own, and let people upgrade from there.

The URL is usually written on the same material that tells you that wifi is available, that you can buy full access and that some sites are free, but it would be even better if your main site also showed a link for upgrading the network (I have never seen this one on practice).
I think you can force load a plugin in chromium headless with a command line argument.
Last time I checked the issue was accessing the html dom of the extension e.g chrome-extension://blahblahblah as it only returns a blank page.
The other annoying issues I experienced and currently remain unresolved in the latest chromium build headless mode + CDP are:

1. Granting permissions to scopes for sites e.g geolocation, notifications
in Browser.GrantPermissions

2. Setting a mock geolocation
in Page.setGeolocationOverride
I've tried replacing the JS navigator function for geolocation, even if you grant the geolocation permission on the site it still says that it is prompting the user

If anyone has any advice on how to resolve these issues without a virtual X server it would be greatly appreciated. Feel free to drop me a bell @ henry@str8up.media or in a comment.

If google needs anyone to find bugs in chrome headless and CDP I need a job.
Twitter’s Ban, Hybrid Software Engineers,and the Historical Context of Decisions
Conflating stocks with yachts or art doesn't make sense. The stock market is extremely liquid (unlike the market for yachts or art), so from a practical standpoint assets in the form of stocks are extremely close to cash in terms of "money you have to spend".
Wrong. Property taxes mostly bear on land, not capital. Especially in heavily urbanized areas with lots of land value, as we see in CA. Landed property is not "wealth", it's just undue appropriation of something that is created by the community. Land taxes reverse this undue appropriation and let the community that actually created that wealth benefit from it, as it should. It's like the opposite of a wealth tax!
His point wasn't about VC, it was about the fact that introducing new goods and services usually fails, so if we remove the big reward for success, people will stop taking that risk.
What use cases a ‘Fitbit for Speech’ would have?
A fitness tracker (such as Fitbit) measures the distance you walk, run, swim or cycle, as well as the number of calories you burn. It also monitors your heart rate and sleeps quality.

As a person who stutters, I know how important is to have objective data on my speech and breathing patterns (among other factors) during any speaking situation. For this reason, I decided to build a wearable speech tracker (BeneTalk.com).

Could be out there other use cases for a speech tracker? If so, I am very keen to know what would be those and what measures could be useful for you to have (however complex and difficult they may be track).

Thanks!
Garmin - agree 100%
This site makes me miss living in New York. They have everything there.

Also, one of the toasters on display is the same one that was given to me when I went to college.

https://toastercentral.com/images/2SimplexT211-4921DL-02.jpg
So we agree.

It never went anywhere => ie. it never left.

Still used for what it was used => ie. the same kind of software (defense, etc).
Automate Tasks Done via SSH
Google needs to do more to stand out
I’ve seen a couple comments saying that it’s the non-SWE’s that are the liberal ones.

That’s a very different experience than my own, and that of my friends.

My experience: Designers tend to be pretty liberal. Product managers and other managers tend to be moderate (tend to be Biden and Buttigieg fans). Salespeople tend to be extremely conservative. Support is kind of all over the place. Engineers tend to be either diehard socialists or (and this is the minority) libertarian.
> We can't just rely on induction, you still have to at least attempt the deductive due diligence.

Thank you.

This:

> Arthur: All my life I've had this strange feeling that there's something big and sinister going on in the world.

> Slartibartfast: No, that's perfectly normal paranoia. Everyone in the universe gets that.

...isn't a logical argument against the (fictional) fact that Arthur's home planet did explode.
Mark Incognito Chrome Extension
My computer is always sucking in air, and is always filled with a layer of dust. Surely for this patent to work, my analogy has to break down somewhere, but where?
thank u!!!
Or just turn on paging and page in your kernel from the MBR, ignoring the BIOS: https://github.com/charlesap/bootpager

EFI eliminates the need for such trickery though, and who doesn't have EFI these days?
I would take this to its logical conclusion. New parents are chronically sleep-deprived, and therefore should not drive. On a social level, we should not place new parents under house arrest. Therefore, we should invest in public transportation so that driving is not necessary to function in society.
Huh. I had my own definition of Minimal Viable Programs: code that demonstrate how to do X, and only X.

I found that tutorials often had unnecessary amount of complexity to show people how to do something, like encumbering an example with classes, title setting, etc, none of which is essential to the operation of the program and which makes it difficult to understand and learn.

So, if I found a working example, I would strip the example down to its most essential until I cannot take away anymore without it ceasing to function.

Maybe I should call it minimum viable examples instead.
Hi! How can you charge such a low price? Also an unrelated technical question: how do you manage certificates for custom domains? Thanks
Incorrect for two reasons. One, we’re talking about groups of people tied together by how they got wealthy. You are apparently lumping together Bezos and Zuckerberg in with railroad industrialists who have nothing in common other than they are “western business people.”

2) The oligarchs literally stole money from the State. The robber barons, although accused of using unscrupulous methods, did not.
Both parties make strategic decisions about which voters they'll particularly target, and which they'll worry less about attracting.

In recent decades the Republican party has had some quite big successes taking a fairly anti-science stance - if a politician thinks creationism should be taught in school, or that climate change is a hoax, chances are they're republican rather than democrat. Neither GW Bush nor Trump marketed themselves as intelligent men, and they were successful despite that.

I think it's fairly understandable how that would sit poorly with STEM workers - even if many of them would naturally be conservative on fiscal issues.
Yep, I worked in Windows Servicing at the time it came out, there were at least 4 separate completely unknown-at-the-time exploits in Stuxnet. They most likely stole the signing certs by dropping USB keys in an office park in Taiwan, all of the stolen certs were from companies which shared a particular parking lot
A lot of people in rural areas — close to major metro areas in the US — have terribly limited internet options. Traditional satellite internet is a decent option if it works on your property, but there’s a substantial latency. Fixed wireless requires line-of-sight to a tower, and cell providers don’t necessarily have the desire to get towers in these areas in a meaningful number. Starlink could bring connectivity to a lot of people.
Linked CNN webpage shows only indistinct blur blobs for images/paintings with Javascript turned off.

Hilarious!
That's a funny way to do a validation study...
You haven't eliminated it but it doesn't scale your workload the same. You'd likely be fine with having a tester play through your game on molten. In any event it is still much less code and testing than supporting multiple backend APIs.
Are you kidding? Saint Simons is a GENIUS. That's why Medallion fund made 60%+ CAGR for 30 years. Of course, that figure simply captures the return from all of the best cherrypicked strategies. If that figure were real, Simons would own California. And his name is synonymous with AUTISM RESEARCH.

All I've ever heard about Shaw is that he runs a modestly successful hedge fund.
Did the officer ask you, or instruct you to sign the document? Such a situation lends itself to feel coercive, as the officer has already detained you for a search.
I have a ready solution to all their problems. They should simply do what we did in Kazakhstan a couple of years ago: raise the maximum permissible exposure levels by an order of magnitude and declare all of the previously extremely polluted areas as safe. I am not sure it made the air look any different, or had any effect on my chronic bronchitis, but at least the air pollution indicators look nice: they are now permanently in the "green zone".
> not fair

That's not the issue.

Not sensible is the issue.

What relevance does the distributable size of hello world have when the goal is to develop enterprise scale systems?
Gendrendr: Highlight the inaccuracy and violence of assigning genders to others
Shorter Economist: "Are you sure you're eating the economically-efficient amount of industrial waste?"
The quote is highly contingent on one thing, that a man's salary is hard to replace. For most of humanity, it is. I'd wager if you work at a FANNG company you don't view it that way. Hard to get quite as much, maybe, but getting some making $250k to move to $200k a year is much, much different than someone moving from $45 a year to $30k a year, or $25k a year.
I love to read. Recently I purchased a small bookshelf, and have has a blast filling it up.
> I want just as many drowsy drivers on the road as I want alcohol-consuming drivers.

So do I. The challenge is coming up with a legal standard to decide who goes to jail and who doesn't which does not result in a ton of false positives. Do you really want to turn going to work after a bad night's sleep into a crime?
https://vitobotta.com

I use Jekyll, hosted on Netlify.
> "A large percentage of the workforce in SV is imported from outside the country."

Imported mostly from East and South Asia, from very socially conservative cultures. I wouldn't be so quick to assume that they're necessarily aligned with the Democrats.
Ask HN: Top Notch API Documentation?
What do you think are top-notch API documentation out there? The Stripe one comes to mind, any other?
I would respond that that quote is taken severely out of context if applied to such entities as cities and towns. Besides that I think PG has a bit of a vested interest there; you rarely see a rich person argue for more equality in wealth.

That said PG did more to lift up people to riches than the bulk of the paper penning econometrists.

So, start-ups are fine, but making it harder for people from smaller towns or rural areas to get proper medical care, legal representation, education and so on because of perceived economic benefits of letting them rot in favor of improving the lives of those in the cities is missing the wood for the trees and will do a large amount of harm.
That's clever, but it still sounds like a way that information could be leaked. Download the target resource, and then download it again concurrently with a known unique resource, and see if the timing changes, for example.

It's an arms race where the browser would ultimately have to simulate every consequence of actually downloading every resource over the slowest link in the network. You're making the problem (and its solution) more complex but not completely solving it.
Tangent:

Does anyone know if/how the human impact of planting trees is measured?

What I mean is, what metrics determine the "quality" of a tree plant? I assume this can vary greatly based on location and type of tree planted.

I often see impact quantified by CO2 removed from the environment, but what about the impact on people nearby?

Would it be better to plant 100 trees in the center of New Delhi, where the air is toxic and the population is sky high, or 10,000 trees in rural USA where the air may already be very clean?

On topic:

This is incredibly serious as pollution has serious effects not just on health, but on intelligence and behavior. It's a vicious cycle and India needs to break out of it. The environment minister's comments in the article are unbelievable.
I don’t think it does. I think it shifts the load to CDN maintainers. Which is fine because we just gave them a task to do that avoids obsolescence.

The browsers have always allowed cross domain requests which have been tolerated until now but involved all of us being aware of XSS and CSRF issues, or suffering the consequences.

Removing shared cache is the beginning of the end for cross domain requests by default. The other obvious use these days is ad networks, but they also get used for integrations like SSO and shared services like Apple Pay and presumably PayPal? And other collaborations between companies.

But those could also be opt in.
You must be used to reading inside out, instead of left to right.

The parameters will mess up as soon you have multiple parameters. Especially messy if you want to reuse them. Or when you have conditions.

In a graphical system you do not need brackets, which is why I added it as a possible solution.
Does the browser at least dedupe these files internally? For example, it goes through the motions of a real download and so forth but afterwards it just stores things in a content-addressable fs. Or will I now have 50 identical copies of React on my hard drive?
From what I have heard on "How to Draw a Startup" [0] Illustration was vital for Dropbox to differentiate themselves.

[0] https://www.howtodrawastartup.show
Agree, I am having trouble expressing my thoughts correctly here. Maybe what I mean to say is describing a physical properties of our universe is much simpler than understanding social systems. Therefore these ideas tend to get simplified and you hear things like "communism is good" or "capitalism is good". It becomes more about tribal identity than scientific inquiry.

But I concede that in other instances better policies based on social sciences are helping us tremendously.
Are "we" backing these candidates because of their social policies, or because they're going to be the best leaders at this critical point in the fight against the climate collapse?

As a group tech workers are highly educated in the STEM fields. We understand the science and accept the conclusions. So we know what we need to do.

That and Warren in particular is positioned as being so fantastically competent that it's very easy to see our group getting behind her.
Tech workers aren't socially intelligent. This has been known for a long time. Being able to detect when politicians are lying to you takes a social intelligence that most tech workers just don't have.
Why would you ship those with a release of a smalltalk application?
Have you just discovered this and posted to HN? :)
For an implementation detail (selection of database technology) to have such an effect to an organization may be a sign of defective software architecture. How to design the software so that these kinds of changes can be made late and they are not a major work is also a skill to be learned.
> good enough data to predict what kind of stuff you buy.

the only time these are ever close is when they are based on users' previous search terms
If anything, we should focus our efforts on porting it to Vulkan.
I would think fonts specifically would have a large negative impact that would affect first contentful paint given that tons of sites load a few common fonts.
Young couples are well served by transportation just before they become parents. Then as the baby is arriving they explicitly and intentionally seek car-oriented housing, as this is considered the correct place to raise a family.

So we have to look at why cities are considered unsuitable for children. This quickly gets into uncomfortable territory about respecting the rights of the other demographics (for example homeless people and less affluent children with lower academic performance) that middle-class families are fleeing when they move to the suburbs.
I wish epub was a viable format for web page archive. Too much overhead for single page?
There are many barriers to fire people in the EU. Not just laws but also reputational risk to the managers doing the firing.

In fact, the EU is over regulated as a rule and discourages risk taking. For example GDPR compliance cost.

Also, the US is richer, so all startups want to conquer it as it's primary market. This is a positive feedback loop because talented people want to move to the US to make it big.
This always becomes a tricky debate. Take the `ls` program. MVP would just by `ls`. Or maybe `ls -la` to get all the details. You could theoretically pipe that into other programs to get more information.

But I'll be damned if I don't use `ls -lah` because I am a human, not a robot. `ls -1` is also super handy. I am sure there are lots of others that folks use.

So where do you draw the line? It makes way more sense to include a few extra options in your tool rather than requiring your users to jump through extra hoops to get something _they_ find useful.

edit: On the other hand, you don't need to include the kitchen sink, either. I have seen programs with literally hundreds of long-form command line arguments. It's a nightmare to wade through.
Smaller tech companies will almost certainly be better for workers.

More competitive companies mean more demand for workers and higher salaries for workers.

More competition also likely means more innovation and better prices and more choices for customers.

The only people possibly losing out even slightly are the preexisting owners.
Let’s take the industry out of the equation: if you asked someone who studies political demographics what the likely politics of someone who is under-40, urban-dwelling with a STEM education, who generally work with (and/or for) immigrants... they wouldn’t hesitate to say left-leaning.

The industry’s youth and location alone are going to skew political demographics leftward no matter what.

And purely anecdotal... but I’ve noticed younger right wingers to be less enthralled by capitalism and market economics.
I meant pow as an example to point out that there are logical errors in code that you cannot catch with unit tests.
Having a few large companies that have colluded to keep salaries down by having no poaching agreements doesn’t seem it’s good for tech workers. Having a bunch of companies and a competitive labor market is much better for tech workers.
I'd prefer more direct mechanisms, but since it raises the cost of driving and at least temporarily bans some people from driving, I'm for it.
> why would a lab tech lie?'

"'Stunning' Drug Lab Scandal Could Overturn 23,000 Convictions"

"She worked at the William A. Hinton State Laboratory Institute in Boston for nearly a decade before her misconduct was exposed in 2012. She admitted to tampering with evidence, forging test results and lying about it. "

https://www.nbcnews.com/news/us-news/stunning-drug-lab-scand...
Yeah, I've seen those tests on "cops". I drink maybe two bottles of beer in a year and I'm sure I would have failed some of those tests like saying the alphabet backwards!
This new and different person is practically indistinguishable from the old, though.