skysight-inc/HackerNews huggingface dataset:
I think it would depend on what you’re into, but these are my picks:

Quantum Electrodynamics (Feynman): A summary of how almost EVERYTHING works (albeit explained simplistically).

Poor Charlie's Almanack: The Wit and Wisdom of Charles T. Munger (great insights / worldly wisdom from one of the world’s greatest investors).

The Vital Question: Energy, Evolution, and the Origins of Complex Life

The Princeton Companion to Mathematics (Great overview of mathematics).

Quantum Mechanics: Concepts and Applications (Great QM book).

Wooden on Leadership: How to Create a Winning Organization (Great leadership / management insights).

Why Does the World Exist?: An Existential Detective Story

Sapiens: A Brief History of Humankind (An extremely simplified historical overview of how we got here).

The Book of Disquiet (Serpent's Tail Classics) (Random journaling from one of the world’s greatest prose writers: Fernando Pessoa).

Code: The Hidden Language of Computer Hardware and Software (Excellent explanation on how computers work from bottom -> top).

The Machinery of Life (Includes excellent visuals in biology).

The Character of Physical Law (Great insights in physics by Feynman).

The Goal: A Process of Ongoing Improvement (Great book on business process improvement).

How to Win Friends & Influence People (Nothing groundbreaking, but still a worthy read).

Coders at Work: Reflections on the Craft of Programming (Great info and insights from some of the greatest software developers of all time).

The Periodic Table (Great read and some of the greatest prose writing you’ll ever encounter).
Nobody's trying to get you to go away! You just can't do religious flamewars on HN. That's not some novel use of authority, that's internet forum 101 all the way back to Usenet. It's particularly important for this site, where the mandate is intellectual curiosity. Battling enemies doesn't fit with that.

https://news.ycombinator.com/newsguidelines.html
Very dool. I dompletely agree.
> When I see syntax like: var array=something[4...$] I don't see security there, all I see is someone pushing the problem further under the carpet, into the runtime.

The runtime (whichever one that is) is safe because its behavior is defined by design for all inputs. Yes there could be a bug, but the design is that all inputs should be defined, and doing something for any given input isn't rocket science. Out of bounds array indexes either panic/throw or return empty lists. That can lead to crashes and logic errors, sure, or maybe DOS attacks, but it cannot lead to undefined behavior or remote code execution. That's a world of difference.

C and C++ by design expose heaps of undefined behavior to the caller. The tools for detecting UB are imperfect and don't work if the relevant inputs never show up in test cases. Even when veteran C coders develop the techniques and habits that let them write correct C, mistakes tend to show up at the integration points between libraries written by different people with different techniques and habits (https://youtu.be/HgtRAbE1nBM?t=2344).
Will they ever not "lose money" like the Amazon strat?
Perhaps these QA sites are interesting?

https://superuser.com/
https://serverfault.com/

But yes, the content like this on HN is fascinating and I would also like more.
Yes, however, the interest on this subject is minimal, so I won't bother anybody with my analysis. I bought this book and I sent it back right away, unfortunately.
People say that nuclear is superior to wind and solar, and the main reason it isn't booming in the US is governmental regulations. But since 2016 we have had a federal government that is anti-renewable and pro-nuclear, and still nuclear plants are being closed, not built.
Milkweed is essential for monarch butterflies, also a pollinator.
Yes. D's design is based around the idea that semantically valid C will compile in D (apart from crud like function pointer syntax etc.) but there are tools to convert C to D (As used in the dmd compiler backend (which dates back to the 80s I believe, but is now in a tasty form of spaghetti D)
I think they were blindsided that this was even possible. So they hadn't thought to add a panel to the status page for this one.

I bet they will now.
I guess the reason might be it is pretty difficult to make efficient conversion from heat to electricity that would also be very reliable.
I'm not saying regulation isn't necessary, what I'm saying is that it shouldn't be an excuse to continue on as we are. If you're unwilling to sacrifice, and so is everyone else, how do you expect anything to get any better?
Was it discussed at start of contract about expectations of progress velocity and cost? If it was and you met those, they may have changed their minds about that and not much you can do to change that they did that. If it wasn't discussed, in the future with new clients, discussing expectations around speed of feature delivery and associated cost could help you filter clients.
I'd hardly say 3 VPs leaving in a week says nothing of substance whatsoever.
Show HN: World's Biggest Time Capsule
Probably because it's the wrong tool for the job. If you want to play games, a Mac is easily one of the worst ways to do that.

The eGPU method of bolting functionality onto a platform which doesn't want it is only neat on a technical level at best. It is essentially the world's biggest dongle.
This article might interest you: https://www.startupgrind.com/blog/the-startup-framework-to-v...

Summary: Clearly identify a problem, issues with existing solutions, and that it's a priority worth paying for among potential customers.
My inner cynist asks:

So when a company beats whatever targets set by analysts, the stock goes up. What happens if analysts deliberately set targets that they believe the company would have slim chance of achieving? What if only some (arguably optimistic) analysts set a high target which the pessimists act on?

I think it's likely I have some fundamental misunderstandings on how "targets" work in general, but I can't help but feel that "all Tesla news can and will be interpreted as a weakness"...
Show HN: Bidbar (beta) – save and run Terminal commands from the menu bar
Uber Eats invades restaurants with Dine-In option
I think their status page doesn't update service status automatically in response to downtime, which it really should.
Maybe battery tech will continue to be exponential? Seems like there is still a lot of room at the bottom.
Do your children randomly forage?
In many places euthanasia is legal and plenty of people chose to die than continue living, that shows that there are people and situations where dying is better than living under any conditions. It's unfortunate that's the choice they are making but it may be the better choice for them. How do we know being a disconnected brain in a container is an improvement over their situation?
Mosquitoes are pretty generally determined to be bad. Their value to any ecosystem is difficult to justify. However, many methods used to eliminate them have collateral damage.

I want this: https://en.wikipedia.org/wiki/Mosquito_laser

If you search for videos, particularly the high speed captures, you'll be impressed.
> their ecosystem just works the best in the eBook space

I just want ebooks. I don't want an 'ecosystem in the eBook space'. If I had a similar paper book ecosystem 'in the paper book space' I'd have some giant foreign corporation insist that before I was permitted to read I must buy a bookshelf from them. Then all their books would have to be on that shelf. Then if there's a book they don't sell, or for which I choose another retailer, I'd need to buy a different shelf. Then every time I want to read a damned book I have to first know which corporation's mandated shelf it's on.

The whole DRM-ebook business stinks. I do buy the odd one from Amazon if I can't get it anywhere else, but the DRM goes immediately on download.
I guess you need to figure out the company's attitude to what they're doing. If they're trying to build a software product then they're often happier to spend if they know they'll get quality.

If the company is not actually tech related at all, they likely see internal tool development as a cost center to be minimised where possible. Likely they do not know the difference between high and low quality code and might be willing to take a dip in quality for a greater dip in cost.

Of course, I did meet up with a successful businessman not that long ago that credited the high valuation and subsequent sale of his non-tech company with their impressive internal tooling and management system. Despite not being a tech guy (beyond being above-average computer literate), he totally understood the value of it. So, it's not a hard and fast rule unfortunately.
what you put in that cookie and how did you matched on server side? could you share some pointers?
Alright, thanks! One more thing to add to the future tech list.
The optimal cache usage would be to not use staright nested for loops, but to segment the whole image recursively. So take the whole imahe, then take each quarter, then proceeds each quarter again.

At least that is my understanding of how to implement a cache oblivious algorithm. See https://en.wikipedia.org/wiki/Cache-oblivious_algorithm

Used that approach once when computing a large cross product and it gave a good speed up.
> What’s the point of AZs if you lose whole DCs at a time.

The point is that AZs are higher level than DCs, so that they provide pretty decent independence guarantees (though you can further derisk with multi-region.)

Well, in AWS. Google's zones have weaker independence assurances (actually, as I read it, no assurances), stating only that a zone “usually has power, cooling, networking, and control planes that are isolated from other zones” [0] as opposed to AWS’s “Availability Zones are physically separated within a typical metropolitan region” and “In addition to discrete uninterruptable power supply (UPS) and onsite backup generation facilities, they are each fed via different grids from independent utilities to further reduce single points of failure. Availability Zones are all redundantly connected to multiple tier-1 transit providers.” [1]

[0] https://cloud.google.com/compute/docs/regions-zones/

[1] https://docs.aws.amazon.com/whitepapers/latest/aws-overview/...
Especially in certain genres. For example, in "builder"/4X games, Civ 6, Tropico 6, Hearts of Iron IV, Cities: Skylines, Don't Starve, and Parkitect all have native Mac versions, and that's a substantial chunk out of the Steam top selling charts for the Simulation tag.
Then they wouldn’t be good analysts and people wouldn’t give a sentient fuck about them.
Not if you're bored to tears of AAA games. Plenty of nice indies available cross platform. And for benchmarking etc I see Aspyr has ported a Battlefield of Honor of Duty title...
It's probably less "as they wish" and more "here's an approved statement" or "your role involves engaging with external parties, here are some guidelines"
Nothing wrong with that, but it won't happen when analysts are the ones writing most of the material for those financial sites... of course they're going to claim Tesla "beat expectations" rather than "analysts underestimate Tesla"
> “We literally have no way of knowing?” “Not even a ballpark?” “No.”

That's when the engineering lead or whoever was giving that as the answer is told that his services are no longer required.
You can certainly operate directly on pixel arrays as well. When the original example here is changed to operate on .Pix instead of using .At(), it runs about 2x faster:

https://github.com/nicolashahn/diffimg-go/pull/2
Heh, isn’t that a tiny bit black and white? I manage to enjoy games on macos anyway. :)
It's a fine line. We are not allowed to represent Google in any kind of public discussion. But we can talk about some things we do, as long as we state it's our own opinion and we don't represent Google's views.
That's not how the OS's page management tables work. The OS assigns space for the stack at a (typically random) location in the process' address space, but no physical allocation is made. The very first time the stack is used a page fault exception is generated, causing a context switch to the OS. Only then does the memory management subsystem allocate a page for the stack and return control back to the program.

Handling memory allocation lazily like this is necessary to handle a number of edge cases, such as spinning up a massive number of short-lived threads. It also prevents thrashing of the TLB cache.

In practice, real operating systems finely tune their behavior here. I would not be surprised at all if a 4kB allocation is made for a thread's stack upon creation in modern operating systems. But I would be very surprised if, e.g., Linux allocated a full 1MB of memory at thread creation time instead of handling the vast majority of it lazily.

EDIT: Oh wait, I think you were mostly agreeing with me :) Yes, my original comment did mess up address allocation vs physical page allocation due to a brain fart. I meant it the other way around and I think we're saying nearly the same thing.

The one major point of difference is that to make an address allocation in the page table doesn't require a physical allocation. The OS can either leave that allocated space unconfigured, or assign it a protected page table. In either case it faults on access and the OS knows that before killing the process with core exception to first look in its internal lazy delayed-allocation tables to see if it the access was to an allocated area of the address space with deferred allocation.
Hey all, I recently released a beta version of my app, and I'm looking for feedback on whether this helps improve developer productivity.

Bidbar is a Mac menu bar app that allows you to save Terminal commands that you frequently use in the menu bar, run them with a simple click and/or keyboard shortcut, and view their output in a minimal window. You can pretty much save any command you want, such as starting up a Node project or running a Python script to fetch the latest stock prices.

I'm open to hearing your guys' thoughts on how useful the app is, what features you'd like, etc. Thanks!
One good thing about Tesla is they always said their goal is to kickstart the ev transition, and Musk even specifically said it's okay if tesla loses out as long as society moves that way. So that's a noble thing. They actually have a goal. In the mean time they've made a fantastic vehicle that should improve the world.

Separately from that, by all apparent news Tesla is a gosh dang hard working place, and people can't take it forever.
Creating Datasets for Deep Learning
Ask HN: How to build chaos-gorilla for fault injection testing?
Netflix's Chaos Monkey [1] and the Simian army [2] are great projects for fault injection testing. I am interested in developing a version of chaos-gorilla, taking down whole AZ or region.

How should I approach it? AWS offers API to terminate instances and restart it but it's hard to automate completely. Any ideas will be appreciated.

[1] https://github.com/Netflix/chaosmonkey

[2] https://medium.com/netflix-techblog/the-netflix-simian-army-16e57fbab116
> No estimate is clearly better. Here's a common story I've seen across multiple companies.

As strange as it may sound to developers, the salary is paid by the customers, current or future.
If a single regex can take down the Internet for a half hour, that's definitely not good -- for a class of errors that can be easily prevented, tested, etc.

The timing is unfortunate too, after calling out Verizon for lack of due process and negligence.

I'm sure they have an undo or rollback for deployments but probably worth investing into further.

They also need to resolve the catch-22 where people could not login and disable CloudFlare proxy ("orange cloud") since cloudflare.com itself was down.
Then don't use them? They are completely explicit, you have to write scope(exit) to make anything happen.

The use of scope(exit) is actually very useful because, for example( short of using RAII) how many times do we all forget to free or close a file. Programmers make mistakes, but if you give them the tools to not fuck up as idiomatic parts of the language: They will use them.
You guys missed that time travel is part of this delivery plan.
Artificial Intelligence–The Revolution Hasn’t Happened yet by Michael I. Jordan
Ask HN: Are You Hopeful About the Environment?
I guess this is sort of an open-ended question, but I just wanted to know if people on HN were hopeful about solving environmental change/damage.

Last June is now officially the hottest June ever recorded. I guess you can add that to the laundry list of environmental issues we have. My worry is that its looking more and more like we need some sort of technological miracle (or everyone everywhere just stops buying most stuff). And tech seems to be a step function - sometimes you get big things like the Internet and the Engine which can spawn lots of smaller things. But those big things historically have seemed to come about by chance and happenstance as much as hard work. I sometimes worry that we might not solve the environmental crisis because we just won't get lucky.

Does anyone else feel this way? Or are people here mostly hopeful that this thing will all work itself out (please say how!)? Anyone here working on that next big thing?

PS

If you don't believe in a coming environmental catastrophe, that's fine and I'd be happy to have your opinion on why you think so in this thread. But tin foil hatters and political partisans are boring and this isn't really what this thread is about - please spend your time elsewhere. Thanks!
You seem to have 3 status messages on the dashboard at 14:31, 14:44 and 14:48 with exactly the same contents. Were those messages really posted 3 times, or did something go wrong and they got duplicated?
I believe Tesla has a "no negotiation" policy too - encouraging people to purchase online at sticker price.

At a traditional car dealership, practically nobody pays sticker price... the price you see advertised is the anchor point to start negotiations, ie. "worst case price".
Now if only Apple and AMD could come up with a good way to write GPU-accelerated programs like CUDA lets you...
How to Run a Go Web Server on AWS
Ah, hi Evan.

There's a lot of good info here, but there are many more questions raised in my mind based on what I'm reading in the SOC3 than perhaps what you might've expected. I can ideally run through them if I catch you again at DEF CON this year. I'm also willing to sign your standard MNDA to review your SOC 2, but we can take that thread offline.
Yes, you'd think adding more sensors would be better. However, even systems with lidar have run into vehicles and people. Google's system in cali ran into the bus, and then the uber system in Phoenix hit a person.

Tesla's system has massively more users than all the other systems. They should get some benefit out of that data. I do worry that telsa will fail to make the software work well enough and get sued by all their existing customers (I'm a customer, but I want it to work :-)).
Work (don't forget that poorer people tend to have lengthier commutes, work multiple jobs/overtime), taking care of family (not just kids/teenagers, this might also include elderly family members or sick relatives; again poorer people tend to have fewer options in those situations), etc.

"I don't have this problem, people who do must be doing it wrong" is not a very productive attitude to have for a hacker.

"I don't have this problem, but I'm going to find out how the life circumstances of the people who do differ" is a little more constructive.
There’s a big market for the services of analysts who hit close to the mark. The size of that market exceeds the size of the market for analysts who miss, intentionally or otherwise.
You may see one bank's analysts do this, but others should balance them out. If one bank's analysts are routinely off every quarter, no one will listen.

All the analysts could conspire to set impossible targets, but the only way to profit would be considered illegal. For this reason bank's have a Chinese wall between analysts and traders.

On a similar topic, I think it's common to see CEOs try to mislead analysts into lowering their targets. I believe this happened with Apple for a long time, but to the same effect - analysts stopped listening to Cook's guidance.
I posted a bit more beside this comment, but I think the difference isn't so much updates or code review but rather the design intention of the language. A language like Java or Python or Rust is designed for every operation to produce some defined behavior, and you can't generally trigger RCE unless you call some function like `unsafePerilousDangerZone(heinousRawPtr)`. Those design defaults bubbles up through libraries written in those languages, so that when you use other people's code and make a mistake, the result is either a crash or an unfortunate-but-at-least-well-defined logic bug. The opposite is true in C and C++, and that bubbles up through the libraries in those languages too.
Was playing Dota 2 with egpu rx580 for a year now. Works really nice on macOS
There are lots of reasons that your instances in an AZ or cloud could all go down, other than the AZ's/cloud's operator self-reporting failure! For instance, what if someone wanted to do a rolling update starting in one AZ, and it starts to saturate a limited resource in that AZ halfway through, that doesn't affect the overall AZ but does affect your instances therein? Your internal health checks, rebalancing, and monitoring should be what you use to determine your health and trigger rebalancing.
Is there any way to know this is being used only in positive-to-society ways? When Google has a near monopoly, is them having the ability to selectively censor or hide content and basically 'form' society's thoughts not something to be concerned about?
They named it OpenCL.
Yes, those are terrible losses. Uber killed that woman crossing the road at night in Phoenix. I'm sure Tesla has way more miles driven on auto than Uber, yet these accidents keep happening.
See what you can do when you're not picking stupid online fights?
The sheer frustration and potential undiscovered bugs of getting gaming to work with a GPU on a Mac caused me to give up trying to game on a desktop.

Which is actually perfectly fine unless you need 4k60fps or 1440p144fps, which I do not. I originally started gaming on the PC a decade ago when many games and sales were PC only: the gaming market is at a place now where the game selection and prices between consoles and PCs are similar. There isn't anything on a PC/Mac I'm missing that I can't get on my PS4 Pro (or even a mobile device!).
Was the $4k/wk based on a billed hourly rate?

In general, the economics of working hourly don't tend to work in your favor. On their side, it focuses the client on the rate and the hours and tends to encourage them to micromanage you. On your side, you don't economically benefit from increasing quality and reducing timelines.

It's hard and a lot of people are not good at it, but I recommend trying to do project-oriented work with fixed bids. It's much easier to focus the client on the long-term benefits of higher quality and shorter timelines in a fixed bid situation. And you economically benefit from increasing quality and delivering faster than you bid.

It's a lot easier to compete with offshoring when you set the context this way.
> Even bad estimates are better than no estimates

Bad estimates are worse than no estimates, but if you are doing work complexity estimation and measuring velocity (which you need to do to evaluate internal process changes, manage workload, and for lots of other purposes), you are incidentally gathering the info you should need for excellent estimates, which are not necessarily hyperprecise but are excellent instead because they can explicitly quantify uncertainty as well as mean expected delivery time.