skysight-inc/HackerNews huggingface dataset:
> We can simplify this using control operators:

[ -r ~/.profile ] && . ~/.profile

> Only if the readability check expression is truthful/succeeds, we want to source the file, so we use the && operator.

Almost. The real way to do this is to check for the non-existence of the file as the “success” case and do the action via a || on failure.

Otherwise if you run in a strict mode with error on any unhandled non-zero command (set -e), you’ll exit the script with failure when the profile doesn’t exist:

[[ ! -r ~/.profile ]] || . ~/.profile

Note that the if expression does not have this issue as they don’t trigger the error on exit handling. Only the && approach does.
I mean ArsTechnica is owned by Condé Nast, which in turn owns Reddit. Reddit is very anti-conservative, and has been this way since at least 2014. It's not far-fetched to think that maybe Condé Nast, the parent company is lead by people with similar or compatible values, which in turn affects their other platforms as well (such as ArsTechnica). Another thing to consider is that Gab is sort of a competitor to Reddit, so why wouldn't they fight it.

Reddit investors:
"Reddit raised $50 million in a funding round led by Sam Altman and including investors Marc Andreessen, Peter Thiel, Ron Conway, Snoop Dogg, and Jared Leto."[1]

- Sam Altman is an open democrat and has donated 250k USD in support of the democratic party.[2]

- Peter Thiel is pro-LGBT and pro-Trump.[3]

- Snoop Dogg is known for liking (and singing about) weed.

I don't know about you, but this explains Reddit's front-page and their overall content policy quite well. There is not as much information about ArsTechnica as there is about Reddit, but if we do some research I think the realities of ArsTechnica's potential biases will reveal themselves as well.

[1] https://en.wikipedia.org/wiki/Reddit

[2] https://en.wikipedia.org/wiki/Sam_Altman

[3] https://www.nbcnews.com/feature/nbc-out/openly-gay-libertari...
Looks a lot better to me! "if not" is already off to a bad start.
RSA is owned by private equity so there's nothing to short. In any case, the patent on RSA is long-expired and OpenSSL drove the price of crypto libraries to $0, so any revenue RSA the company gets from RSA the cryptosystem is negligible.
My body certainly doesn't ask for more of them.
Thanks for having the courage to make this comment. While beauty is in the eye of the beholder, it’s not like these are mind bending technicolor panoramas. They look like every other picture of Mars we’ve seen since the first pictures of Mars decades ago. At some point someone needs to ask why we’re spending billions on more pictures of Mars and answering deep questions like “Is Mars soil 36.7 or 36.8% silicon?”
This is totally untrue, considering the caliber of companies which have been hit with SQL injection vulns, including Google, Facebook (your employer), Reserve Banks, governments, etc.

I don't know what experience you have, but senior engineers constantly make security mistakes. Linux kernel developers are some of the smartest programmers in existence yet they continually introduce and fail to patch security vulnerabilities.
A few gaps in infrastructure need to be plugged first. We have most of the constituent parts, it's just that they lack administration layers suitable for modern internet users needs. It's work that requires overcoming inertia and tedium more than any particular smarts. (It'll likely go financially unrewarded too.)
I am curious how do they deal with GDPR or PPI when they do the logging? At first sight it looks like they are doing the logs themselves and not the API provider.
More recently Kelsey Houston-Edwards has been writing for Quanta: https://www.quantamagazine.org/authors/kelsey-houston-edward...
To be fair that argument could be made about any speculative asset. Art, classic cars, watches, etc. With btc currently the barrier to entry is lower. I can buy some satohis for a few bucks in hopes that they appreciate in value. I cant buy a piece of a Picasso or a Rolex. It is a speculative investment much like those, just one that has a wider audience.
Also another problem kanban fixes.
I'd be interested in the details of how reading a book and doing examples impacted your salary.
Have sympathy for yourself.

Please note organic fuels:
-provide parts for your computer, smart phone, router
-power your home, and office so you can use above
-keep you cool in the summer and warm in the winter
-transport you on the ground and in the air from A to B
-power the agricultural sector so you don't have to grow all your own food

Unlike you, there are a billion people+ on Earth who do not have access to cheap, and reliable energy.

This is peak developed world virtue signaling.
This is interesting and we can definitely learn something from the Vienna model but it isn't a super dense city so what works there might not translate as well to other cities.

Manhattan for example is about 7x as dense as Vienna. There just isn't the space for the government to be churning out cheap flats for the amount of people that want to live there.

SF is not nearly as dense and there is absolutely a lot of space to build there but unfortunately the zoning there is an absolute nightmare that doesn't seem to be getting better any time soon.
By good quality I don’t think the OP meant organic. But meat that hasn’t been processed like in fast food...
Sounds great.

We just refinanced and I couldn't believe how burdensome and slow the process was. I don't understand why I had to talk to a person at all.
There are still genuine uses for cars, and I doubt OP would disagree. But in urban areas your example situations aren't relevant. The point is that cars are inefficient in most if not all urban cases.
Most countries in the world are not all-in on intensive farming like the US though.
> Noöne

who is Noöne? never heard of them. Is that Greta Thunberg's more radical twin?
Can you explain more about the connection between the book and being recruited?
The thing with Pebble was that it was a good watch - a better watch than most modern smartwatches.

Week-long battery and always-on screen are critical "watch" functionality that too many modern smartwatches fail on, and pebble succeeded on.

For me, it was a watch that I could get notifications on, including turn by turn directions which was super useful when cycling.
>It is used to index half a billion objects on a $5/mth 1-vCPU SSD cloud server (as of 2019).

Damn. Thank you! This looks very nice!
You're using "knowingly" wrong, unless you can prove intent. You're also totally incorrect, considering how many companies have been hit with SQL injection vulns.
Make this a browser extension that understands what Stackoverflow questions I am digging through. Show me a couple of hihhhly relevant Devs who are _online now_, and let me start a conversation with them from right there in the browser toolbar.
I still use it all the time because document.querySelector is nowhere nearly as good as $, and it's extremely verbose to create a nested tree of nodes in vanilla JS.

I've really forgetten how to do things without jQuery. If anyone knows a framework that is less verbose than jQuery please tell me!
Why would they bring on Dan in March 2021 as a cofounder instead of as an employee?
We just don’t bother supporting IE11.
I read this too. I never got a chance to really apply it.
I might actually steal some of these to develop on my RPi..
I've been on teams building web applications for 14 years and not once have I seen someone simply rip out a query builder like this in production code and replace it with a non-parameterized string—let alone someone with 20+ years of experience.

Accidents and SQL injections happen, usually because of non-obvious query-building but this is a different level.
I thought that "darkness" was slyly implied in the dawkins quote
I am looking into this. Do you have experience with it?
Oh wow I didn’t realise that was a thing, that’s amazing. Thanks
SF also has some of the most ridiculously onerous zoning laws in the country.

A HUGE portion of the city is just giant single family homes or 2-3 story buildings and you are absolutely forbidden from redeveloping them into dense, affordable housing.

Change the zoning laws and developers will gladly build affordable market-rate housing.
I remember a recent article on HN about being able to receive signals from Tianwen-1 with a homemade satellite dish - is it possible to receive these pictures over radio with the right equipment, or do they come down encrypted?
Creating Graphical Shells – Try Mir in a Virtual Machine
>Less polluting
Are you familiar with the rare earth metal mines, solar, or wind plants in China?

>It should be prioritized over the private gains of fossil fuel executives/employees/lobbyists. Stop playing politics with my power system.

You are playing politics. I just want to not freeze to death during the snowstorm, or fry up in the hot summer.

Unreliable electricity sources such as wind and solar are a recipe for paying more for electricity, and losing power when it is most needed.
Are you https://news.ycombinator.com/item?id=26321231 ?
The Changing World Order by Ray Dalio
How close was the rover to its intended landing spot?
I have no idea whats going with amazon, had an interview for DNS expert, (I ran the backbone DNS for the largest telecom in the world), said I wasnt experience enough. Tried to get a senior linux administration role, said I didnt know linux. After I passed their linux tests, and started multiple ISP's running linux, and been a linux/solaris admin for 20+ years.

Their interview process is crazy.
Yes, what you call minced beef is called ground beef in America. Not to be confused with mincemeat, though, fellow Americans! I was very confused the first time I had that in the UK.
Are you https://news.ycombinator.com/item?id=26320414 ?
It happened to your employer. You might not have been on the team but this stuff is rife. WhatsApp in particular has made some absolutely rookie-tier security blunders [1].

[1] https://threatpost.com/whatsapp-bug-malicious-code-injection...
Oooooof. Rails (which I think they may be using) makes sanitization fairly easy.
You may be interested in earning money from your models with stocks at https://numer.ai, if you don’t already know about it.
"luxury" is one of the most meaningless and oft misused terms in housing/real estate.

It's not legally defined as anything so any developer can build a shoebox with a bathroom and a murphy bed throw in a nice countertop and call it "luxury".

It's also become a pejorative for ANY market-rate housing in cities by NIMBY anti-development types.
Manhattan has been unchanged for 100 years. You’re either rich or poor to live there. It’s kinda bizarre that you see the ability of people to live in their home for 20 years as a problem.

Frankly it goes to show the hypocrisy of many of the cheerleaders for higher density housing, pushing for a future where as an individual you get discarded and banished to the hinterlands when your value declines.
Take a step back and consider for a moment that these coders replaced their gitlab repo with a zip file with the password JesusChristIsKingTrumpWonTheElection; sounds more like over grown kids who never got an adult lesson run this site so a bit of name calling at the CTO level is warranted.
I'm sorry.. this feels like whataboutism and it misses the point entirely. Christmas trees are hung for festive purposes, not monetary gain. With Bitcoin, electricity is a major cost input that drives miner actions. We see them move collectively to lower energy jurisdictions to keep mining activities as profitable as possible. Hydroelectric dams are the cheapest, most consistent source of energy. It's no surprise that miners move en masse to sources of hydroelectricity. And you can't just throw up a hydroelectric dam anywhere, it's very much a function of geography. Some places are blessed [1], others less so.

If you do have a salient point to make about the "truth," perhaps you should come out and make it. I'm sure a bunch of us would be happy to hear it.

[1] https://www.bloomberg.com/news/articles/2020-12-27/bitcoin-m...
>I originally encountered this when someone pointed out that you could do color="crap" and, well, it comes out brown.

Well... that worked better than expected.
Thank you for this! It was definitely geared towards an internal audience but it makes me very happy to know that it was enjoyed and appreciated more broadly.

I am going to get a transcript done and up soon as well -- I just gave the talk on Friday so haven't had time to do so yet.
InstaHelo Is Clubhouse for Android
HN doesn't stand for Horse News
Is there a single good official site to get Perseverance media from?
> Maybe for small scripts, static typing doesn't provide that much value (although even then I don't really buy it - why wouldn't you want to know what you're working with at any given time), but for sizable (web) applications that need to be maintained for years, it's critical.

It's common for web devs to spend a lot of time dealing with semi-documented lumps of JSON. If you don't have any guarantees about the data in the first place then static typing ends up being a lot of pain without much benefit.

Sure, the situation is far from ideal. But when you're in that situation static typing isn't solving your first problems.
As a suggestion for a process...

Pick a duration upon which to re-evaluate the value of property. Distribute this roughly evenly over all the property everywhere so that it isn't all at once.

When a property's up for evaluation, offer it for 'sale' via a distributed dutch auction as part of a block with similar properties in the same jurisdiction (roughly, zipcodes, or maybe divided up should work).

The block is bid on as a whole, with up to 25% (rounded up) of any of it excluded from the bids (high or low) and with any 'inspection noted defects' (post sale) deducted from the transfer price of the property. Price for a given unit would be proportional to the previously evaluated (by market sale or bid) price of the property among the whole group. Any units not receiving sufficient bidding coverage to provide a fair price should be re-tried with the aim towards the median value of the next group of properties in that area.

The resulting offer is then forwarded to the residents as proof of their new property value and the basis for all taxes upon it. The resident has an option to accept that value anytime within 8 months, for a specified date of no more than 6 months from when they've accepted the offer.
TheIntercept has fallen mightily from breaking the story on Snowden to filling political hit pieces.

Pretty telling their own founder was ousted last year.

Agreed on the ideological slants.

People were put in harms way.
Yeah I highly doubt the author of the paper would miss out on a chance like that. I think this is probably a lot of pearl clutching.
I think most people will agree you have rather singular tastes.
What would you propose the federal solution would be?
Not at all. I really like that idea. It makes a ton of sense. I think we'll try and get something like this on the roadmap.

Appreciate the feedback!
The "science" mostly isn't in the images.

Images, however, are the easiest thing for the lay public to grasp.
https://mars.nasa.gov/mars2020/multimedia/raw-images/ Would be the best place to get images/videos from Perseverance.
Vienna has achieved a very good result with socialized housing, in terms of keeping costs down and providing adequate housing stock. It seems like an example of the government solving the problem of housing better than the market.
TSMC reportedly planning on building six new manufacturing facilities in the US
It's maybe tenuous. I certainly wasn't recruited by them because I read the book almost a decade earlier, but I answered their call and listened to their pitch because of it.

It was the first book I read on investing (if you can call it that) and got me interested in the general topic. That led me to consuming a lot more information on the subject and knowing who/what D. E. Shaw was when they called in 1997. I'd have turned them down just like all the other recruiters who would dial all of our extensions in numerical order back then. (You could literally hear the phones ring in sequence as sourcers just called all the phones and didn't even know who was on the other end. They just knew we had a bunch of programmers and placing programmers was easy and paid well.)

Reading the book [and subsequent books] probably did help me to have a better grasp of the subject of trading during the interviews, so in that regard it also helped indirectly.
So is Texas.
Not sure if you noticed this (https://news.ycombinator.com/item?id=26323888), but it's similar in spirit to the Lambda terminal idea.
You are right. I own Btc and other crypto assets for that very reason. The desire to hit big is the primary motivator and it unfortunately bleeds into other investments such as stocks etc. I very much am attempting to go back to the buy and long term hold mentality but you are right, crypto has mentally ruined it for me.
I wonder if this would indicate Intel going fabless ...
What are the issues with those ingredients?
Yes and there are other major companies that are not on this list. Kraft Heinz is a $25b company much more ubiquitous than someone like Danone. Why take Danone over them? Clickbait indeed.
I have 15 years experience and I agree with you completely. The TS propaganda is so intense that I'm seriously wondering if Microsoft is paying people to shill TypeScript... I just can't figure out why they would do this but the degree of misinformation and downvoting is so intense that I can't think of any other explanation.
This is an important example of why to avoid Cloudflare. If your website gets popular, your website's images will be replaced with the image: "This content has been restricted. Using Cloudflare's basic service in this manner is a violation of the Terms of Service." and your website will break.

https://www.cloudflare-terms-of-service-abuse.com/streaming....

This is on the Business tier too, not the Free one.
> The reason it’s so prevalent is because it’s not a rookie issue and very difficult to fix properly, without impacting significant changes.

Neither of these claims is true. Placeholders have been the recommended way to do this since the 1990s (I remember having this same talk with Perl & PHP 3 newbies) and one of the points of using a framework like Rails is that these are much easier to avoid if you use an ORM. The problem in this case is that they found a problem they (probably incorrectly) believed couldn’t be expressed in the ORM _and_ ignored the placeholder support _and_ didn’t validate their inputs. None of those require advanced experience to fix and at least the latter two are trivial to implement.
Yes. The GPU only runs machine code. That makes sense.

GLSL is compiled by the OpenGL driver. The question becomes is WGSL sitting on top of OpenGL driver and thus requires the OpenGL drivers to support it or with a transpiling to GLSL, or does it has its own WebGPU driver that can compile the WGSL and interface with the GPU directly?
Sealed 17th century letters revealed by dental X-ray scanners
Yes, PineTime is another low cost and cheaper open smart watch alternative (USD$25) but based on Nordic SoC nRF52832, check the previous PineTime discussions on HN:

https://news.ycombinator.com/item?id=25612223
considering the size of frameworks like react, it's basically a "nothing" download. I've seen people spend more bandwidth on rounded corners.
It should!
One problem I have with TypeScript -- the syntax for functions that take and/or return functions seems messier than it should be.

I wonder if I'm missing a better way to do it.
not sure what you're doing to your car. Mine is 20 and counting
> Posix 2008 does have fmemopen(), but it's unsuitable, as it is buffer with specified size (which would need to be calculated, as in the MS case), rather than not worried about until a NUL byte is reached.

With fmemopen(), you only need to calculate the length once at the start, right? And then you can use the stream instead.
Images I would argue serve an invaluable purpose: inspiring the public and the next generation of space explorers.
Imagine what the CIA could do with this.
It will vary greatly with the watchface and whether you use wifi (weather, ntp, etc). In the current implementation it will do a full connect every minute so there's room for easy improvement. With wifi I get about 48h out of it.
People really don't know how siphon's work. Wikipedia is shit. Because it's two process that are interacting with different weights, it's complicated.

My understanding is wind failed, gas took up what it was failing at, then gas failed.

To me that's wind failing, if we have to say something.

I do know an article saying "Fossil generators deserve an F here" without assigning a grade to wind is propaganda.
why is printf preferable to echo here other than formatting?
The ESP32 is known for being cheap and featureful. The downside is that some functionality is implemented in software which results in lower battery life.
Personally I prefer to just have two levels, blocking and non-blocking. Outside of that I should be able to trust the code author to appropriately respond to comments, I don't see why I as the reviewer should be the one deciding on the follow up action. I can see how it might be more valuable for more junior members of the team though.
Seems like you're really trying to defend your point in the comments, but I'd say like you do in other areas of art and design: a portfolio
Both are bad. Log off.
> We shouldn't call out and shame individuals for making a mistake like this.

The first response of the GAB exec team to a bug which has exposed all the private information to being leaked was an expletive and slur-laden attack.

I am quite comfortable with the CTO being treated the same way he is happy to treat others.
How to create programmable email aliases with the Mailscript CLI
This project will cost $2.8 billion…over the 10-year life of the project.

https://en.wikipedia.org/wiki/Mars_2020

In government terms? That is nothing. We’ll burn that much on defective F-35 fighters in a year.

And we are not “just” assessing the mineral content of the soil—not even close.

https://mars.nasa.gov/mars2020/mission/science/

(If you’re that offended by the cost, I will Venmo you the 0.1 cents per year this is taking out of your tax bill.)
The anti-car brigade's argument always hinges on assuming everyone lives in urban areas, and only has to go to urban areas. If you constrain the problem space that much, then yea, nobody needs cars. In the rest of the universe, they are indispensable.
Does anyone know what type of data compression is being used to transmit these images? There's been huge progress since the last rover.
Seems like a case of survivorship bias. Unclear what this guy is doing that's particularly unique.

He invested a lot in Amazon and Tesla, relatively early. Out of everyone investing in the time period, someone was bound to be holding the most of some of the stocks that do crazy things.

Having Asperger's, starting as a CPA, not using value investing, reading Christensen... I doubt any of these are gonna shake up institutional investing.
Great job so far. I greatly appreciate that Athens is open source, and it seems that you value potential interoperability and data ownership.

I'm curious about some aspects of the privacy of Athens. Would someone with disk access be able to read my notes? Would you store your banking or personal medical information in there? Standard Notes and others make claims like this (though their featuresets vary).

I'm also hopeful about mobile clients. If this is my second brain, I wouldn't want to leave it at home.