skysight-inc/HackerNews huggingface dataset:
I just started at Big Co!

For my first assignment, I had a question about an API I was supposed to use. I was told to email Bob.

me: "Do I do A or B when using the API?"

Bob: (cc's his manager my email)

Bob's manager: Is your team suppose to be using API? (my manager cc'd)

Two weeks of infighting later, still no answer to A or B, and my task is now past due.
This doesn’t make any sense.

Revenues for Apple and MS are at record highs.

It’s clear that they are valuing the experience of the majority while rightfully ignoring the vocal minority.
I don't know. Fuchsia seems like a sufficiently massive effort to at least have some goal other than experimentation.
LightGBM: A Highly-Efficient Gradient Boosting Decision Tree
For me this boils down to what I was saying at the time (https://news.ycombinator.com/item?id=23130220), that we hear a lot about what Elon Musk thinks about whether the factory is safe, and what the county thinks, but I wonder what the workers think. Looks like this journalist finally got some info.

(The other issue I was wondering is: if Elon is so confident that everything is safe, would he be willing to provide an undergirding guarantee for treatment and compensation if someone does catch Covid? I doubt it because he is big on parsing 'deaths from Covid' vs 'deaths with Covid'.)
Rust would help with drivers, not so much with the kernel itself. Drivers run in user space in Fuschia, so you should be able to use any language you want.
Invested by Charles Schwab.
Would recommend checking out Guns, Germs, And Steel if you liked Sapiens. More grounded in research and less hypothetical story-telling on what drove human development in history.
Fiction:
The Inimitable Jeeves by P.G. Wodehouse

Non-fiction:
The War of Art by Steven Pressfield
Productivity of a niche area.

But related: There's no reason parsers cannot be externalized and inject the resultant assembly strings into the Rust solution. If that's really what people want. The nice thing about external parsers is that they become optional in every sense.

If the Rust team builds them in, then every supported platform needs support, every development environment needs every parser, and tooling also has to support it (e.g. IDEs, code checkers, etc).

It isn't simply just adding it once and leaving it forever, the work is repeated several times over and the maintenance will be time-consuming for what is: A niche feature.
I found “Dichotomy of leadership” by them released in 2018 even better put together and formulated, I guess all these podcast skills came to play. Looking forward to second read.
If you have a large-ish project that is otherwise coded in Rust, but you have to do some low-level coding because of special I/O, or special intrinsic features for multimedia, or even just flat-out performance, then this allows you to do so without falling back on linking against ASM or C.
Depends on where you go. I work at a BigCo and IMO if you see a "because that's the way it is" and you don't like it, you can change it if you can justify the change.

Everything has tradeoffs and sometimes the cost to change something is higher than the benefits gained, but the people I work with are always willing to listen.
Rust wants to be a serious contender for low level and embedded code. In those spaces sometimes you don't have much of a choice but to drop down into assembly.
> I don't have to specify clobber registers,

So how does the compiler know that these are clobbered then ?
Dragons of Eden by Carl Sagan. It just is amazing in so many ways but it is hard to describe.
> That setup can be great when your application doesn’t require a lot of business logic and the CRUD capabilities that are exposed in the GraphQL API fit your needs (though I believe you can add business logic in Hasura by integrating serverless functions).

(I’m from Hasura)

You can extend business logic in Hasura in a number of ways, including (but not exclusively) ones that work well with serverless and async architectures. Other examples follow:

1. You can extend it by adding business logic in the database via user-defined functions.
Eg: You want a fulltext search or a PostGIS function that is better off in the DB anyway.

2. You can bring your own GraphQL server with custom resolvers and Hasura will merge them into its own API and let you “join” across them as well.

3. You can bring REST APIs and add graphql types for them in Hasura and use it as custom resolvers that extend the schema as well.

Hasura’s key value add is an instant GraphQL API backed by your own data-sources (database, GraphQL, REST) and then a fine-grained authorization system on it.

Like Nikolas said, very different from Prisma. Hasura aims to add value as “infrastructure” by guaranteeing performance and security where as Prisma is like an ORM/database toolkit.
I agree it's important to document. But if you need types to understand what's the code doing, there is a problem.
Prepare for the performance review from day one. Create a folder in your mail client or google doc to keep quotes providing feedback to you, or to keep track of what you have to say about others.
He wasn't "pushing an agenda". He was telling people about how a diet he went on helped him and his daughter. He explicitly stated multiple times that he wasn't a doctor and that his experience was anecdotal.
“How to get what you want” by Raymond Hull
I could be wrong, but I imagine at least some people in the Android team would like a fresh start.
Technically, I suspect there's a very strong correlation. You get a lot of karma for popular posts.

But never seen any evidence that the system gives you preferential treatment if you have good karma.
Ask HN: Has Anyone Deployed SQL Server BDC (Big Data Cluster) in Production?
Interested in hearing about the use of SQL Server Big Data Cluster in production?
Pitfalls / recommendations? Performance? Cost?
Have you done this at scale? Mounted S3 or ADLS?

Thanks!
Get a job at a hedge fund, I would say.
That's because you've made the mistake of thinking a multibillion dollar corporation can be legitimately altruistic or an ally to activists.

Apple hasn't acted hypocritically at all. Every decision they have made was calculated to fulfull their primary goal: generating profit for shareholders.
Providing an unmatched level of expertise, we are dedicated to creating
Joy of Clojure https://www.manning.com/books/the-joy-of-clojure-second-edit...
Machine Learning framework written in pure C
Dune by Frank Herbert. This is a book I first read as a young teenager, but every time I re-read it every few years at a somewhat different point in my life, I get a different sense of it, maybe more based on where I am in my life and what is going on in the world. That for me is what makes a book endlessly re-readable: you always find something new in it. It is packed with all kinds of references and allegories to so many parts of our world, but in a way that still seems like its own world.
A lot of what I know is second hand, but I have personally had trouble scaling out a large cluster. AWS's (non-public) limits (# of nodes, API rate limits etc.) fall WAY short of what Kubernetes can support. There is also a lot of configuration and manual work involved to setup and manage the cluster compared to GKE or Azure which are both close to one-click.
This is a lot harder to do when your contact person (often a recruiter or HR person) won't be the one evaluating the code.

Even moreso if you only have nights/weekends to work on it.
Hah, I hadn’t even thought about children’s books! When my son was 1-2 years old I had probably 3-4 books like this completely memorized for bedtime. He did too, as occasionally if I would change a phrase for effect “they went to” to “they all went to”, he would often correct me.
It's truly impressive and jaw dropping but what's maddening to me is that what you see in there is exactly how it is in real life, i.e. the walkways are just like that and people can actually reach out and touch the walls. At least based on my visits to Luxor, very few tombs have acrylic/glass wall protections to prevent it but it's ridiculously common to see tourists in some of the tombs doing that, it's sad and revolting as hell despite such great beauty hypnotizing you.
Man's Search for Meaning - Viktor Frankel, it is his experience of how he managed to survive the concentration camps.

Book of Mormon

The Stormlight Archive series (Way of Kings, Words of Radience, Oathbringer) - Brandon Sanderson, I've heard it compared to the Kingkiller Chronicles in terms of depth, intricacies and overall masterfully executed plot but Sanderson is also one of the best authors at making characters real and captivating that I've ever met.

Mistborn Series (The Final Empire, Well of Ascension, Hero of Ages) by the same author as The Stormlight Archives and for the same reasons.

The Screwtape Letters - C.S. Lewis, even if you aren't religious it has helped me see so much clearly the tactics and obstacles that prevent me from being the person I want to be.

I've read quite a few more books more often but these are the books that I have reread multiple times because they have changed who I am and helped me recognize that each time I fall I can rise again a better man.
It's not always superior!

For example, I've been working on a big integer library. Addition is a bit annoying, because you need to add 3 numbers (the prior carry bit, and the two digits you're adding) and get out a new carry bit and a resulting digit. This is a bit cumbersome:

let (res, carry1) = target_digit.overflowing_add(carry as u64);
let (res, carry2) = res.overflowing_add(other_digit);
*target_digit = res;
carry = carry1 || carry2;

The resulting assembly is a fairly literal translation. We perform the addition using an add instruction, and extract the carry flag into a register using setb.

addq (%rdi,%rsi,8), %rcx
setb %r10b
addq (%rdx,%rsi,8), %rcx
setb %al
movq %rcx, (%rdi,%rsi,8)
orb %r10b, %al
movzbl %al, %eax

But there's a dedicated instruction for this, adc. adc adds two operands and the carry flag, while itself setting a carry flag. Manually unrolling the loop a bit, I wrote this assembly:

shlb $8, {carry}
adcq 0x00({y0}), {x0}
adcq 0x08({y0}), {x1}
adcq 0x10({y0}), {x2}
adcq 0x18({y0}), {x3}
adcq 0x20({y0}), {x4}
adcq 0x28({y0}), {x5}
setb {carry}

And got a 3x speedup.
> I'm not sure what you mean by that.

Try playing WoW. Just about everything you described in is in WoW. The crafting system is crazy.
Rust has lots of unsafe features; they all require explicit `unsafe {}` blocks.

As the post mentions, inline assembly comes in handy in a number of low level contexts (e.g. dealing with memory-mapped devices, working on microcontrollers, using processor features that aren't exposed by the kernel or standard library).
The Art of Electronics

The Hitchhiker

The Idiot

The Wealth of Nations

and sadly Concrete Mathematics... not because it is a bad book but because I suck at math.
> At that point you’re aiding and abetting the actions of the small minority that are directly causing the damage and in doing so you can’t complain to be caught in the literal crossfire.

By not showing up you're aiding and abetting the actions of the small minority of corrupt police officers who murder minorities in the street because they know they can get away with it.
There are a handful of books I have read more than once, and which I may still read more times. Offhand, I can think of:

1. The Mysterious Island - Jules Verne - read 6 or 7 times if not more, dating back to when I was in about 6th grade

2. False Memory - Dean Koontz - read probably 4 or 5 times

3. Neuromancer - William Gibson - read 3 or 4 times, at least

4. Nineteen Eighty-Four - George Orwell - read at least twice

5. The Four Steps to the Epiphany - Steve Blank - read 2 or 3 times, skimmed parts many other times

6. Mastering The Complex Sale - Jeff Thull - read 2 or 3 times

7. Crossing the Chasm - Geoffrey Moore - read 2 or 3 times

8. Wellsprings of Knowledge - Dorothy Leonard-Barton - read 2 or 3 times

9. Common Knowledge - Nancy Dixon - read 2 or 3 times

10. Winning the Knowledge Transfer Race - Michael English & William Baker - read 2 or 3 times
What is the figure of speech? Maybe I'm missing something, but 'stealing' is completely wrong in every sense of the word here IMO.
So I know this is the opposite of what OP is asking, but I've taken the stance recently that I won't re-read another book. There are books that I would like to re-read, but they come at the opportunity cost of reading others.

A fellow traveler in a Guatemalan hostel broke it down to me like this:
- let's say as an avid reader, you're able to read 12 books a year.
- let's say you have 50 years of reading left in you, that means you have 600 books left to read in your lifetime

That back-of-the-napkin-math put things into perspective for me. So many great books to read, so little time. It's also for that reason that I have no qualms about putting a book down that I'm not into.
"The Moon Is A Harsh Mistress" by Robert Heinlein

"Neuromancer" and sequels by William Gibson

"Slaughterhouse 5" by Kurt Vonnegut

I've read all of them dozens of times over. Hard to explain why, they speak my language, and help me understand myself and the world around me, kind of like my favorite bands do. Hard to put into words.
This group seems to be targeting left-leaning organizations and journalists. If it targeted Trumps organization, would it even be a story here on HN?
Notice that you can quite easily implement a Rust proc macro that takes whatever DSL you want to use for inline assembly, and generates an `asm!` expression from it.

So better syntaxes are possible, as long as they can be built on top of the proposed inline-assembly feature.

They can, however, just be implemented as normal Rust libraries, and do not need to be part of the compiler.
sure, is there an anonymous place I can put the screen shot?

edit: actually, someone posted a link that had an image that is almost exactly what I had taken: https://www.psychologytoday.com/us/blog/long-fuse-big-bang/2...

I am tired of being downvoted on hn for talking about it though.
Brilliant Hardware in the Valley of the Software Slump
These benchmarks seem pretty good. Filterable by language, etc.

https://www.techempower.com/benchmarks/

The source code is published too (https://github.com/TechEmpower/FrameworkBenchmarks)
I would rather just have wired earbuds, period. Wireless is insecure and unreliable; wires are secure and dependable.

The headphone jack is a marvel of engineering!
Why Linux’s Systemd Is Still Divisive After All These Years
You'd be surprised how many "closed to tourists" tombs you can get into with a local guide and a few notes changing hands as well (or it was easy 15+ years ago).
An even better presentation (although lacking bug fixes after publication) is volume D of Computers & Typesetting, Metafont: The Program. It's not just the output of weave (which is what's in the linked mf.pdf file), but also includes "mini-indexes" for quick cross-referencing of parts of the code.

I'd also note that while TeX is primarily the work of Knuth, MF was more of a collaboration between Knuth and his grad student John Hobby (who also wrote MetaPost) and Hobby should be recognized as a co-author of MF.
Wealthy Buyers Reportedly in “Mad Rush” to Leave San Francisco
ok, let's put it another way, a LISP console is all well and good but systems in 1960 weren't yet multi-tasking (or at least multi-tasking systems in 1960 were still rare) so you couldn't have a LISP process running as one thread and query it's running state from another.

The reason I keep hammering on about time sharing is because they largely came hand in hand, time sharing systems needed to support multi-tasking whereas single user systems didn't (you still see echoes of this in the 80s with CP/M, DOS and 8-bit micros running BASIC). In fact if you look at the history of multi-tasking it roughly follows the same time line and lineage as the uptake of time sharing systems (around mid '60s IIRC). Before then you'd have to stop the execution of one program before you could start execution on another.

I know some "LISPians" like to think everything in computing eventually leads back to LISP but that's not always the case (and I say that as a big fan of the language myself).
The Dog Stars by Peter Heller and Neuromancer by William Gibson. Both of these I've read twice.

The Dog Stars held up well on my second reading. Neuromancer did not.
The 4th estate crying bloody murder is what got him elected. Instead of ignoring him, they gave him all the press, and every person ready to put a shiv in the DNC voted for him, knowing he was exactly the kind of torment the DNC couldnt handle.

In the specific case of a wrecking ball, a candidate elected to purposely be a forest fire, any amount of press fans the flame.

https://nypost.com/2016/11/20/keep-crying-wolf-about-trump-a...
You might want to talk to a lawyer about a non-compete.

https://www.geekwire.com/2020/amazon-sues-former-aws-marketi...
By the time book three comes out, I'll have to re-read the first two, because I won't remember anything about what was going on at the end of book two.
"you probably won't have to work as hard"

For me, it was a question of: do I put in 40% to get 90% completed, or do I put in 150% to get 99% completed?
I've reread the Abolition Of Man recently and found his conjecture that there may yet come a time when using psychology and technology a small group of people may be able to control everyone else eerily reminiscent to the way ML is being used to custom craft ads that push one opinion or another.
Embedded/systems programming is not possible without dropping to assembly at times. Also, it can unlock some hardware-specific performance optimizations.

Rust already has unsafe blocks (explicitly marked `unsafe`) for this kind of situations. Inline assembly obviously is allowed only in unsafe contexts and should be used very carefully.
It is quite plausible, that the quality problems of Catalina and iOS13 at the launch were a consequence of shifting the development team around to also support the development of MacOS on ARM.
- Sapiens

- The Lord of the Rings

- Siddhartha

- Chaos: Making a New Science

- The Death Gate cycle books

- Neuromancer

- Head First Design Patterns

- Valis

- Dune

- The name of the rose

I'm sure there are more, but these are the ones off the top of my head.
So this is one of the few books that I have re-read. First I read it in high school, secondly as an adult. I was severely let down. I'd go into details why, but I think this sums it up pretty well: https://en.wikipedia.org/wiki/East_of_Eden_(novel)#Reception

_timshel_
If that were true, then Google could have picked BSD or Linux's progenitor Minix, like Apple and Intel did, instead of starting from near-scratch.
Reflecting on Close Calls
To me startups/new businesses are all or nothing propositions. You either commit it all or you'll have doubts.

So, now do you have an idea that's worth risking everything you have on?
It's an ancient, huge, French-Swiss company. You can start working there, you can end your career there and nothing much will happen between the two. You'll never matter, you'll work on problems but nothing that makes a difference, you'll never be credited with anything, you'll never earn any real amount of money, and whether the page numbers in your design doc are correctly formatted will have double the career impact that the design itself has ... The only thing that matters to anyone at the company is how many years you've worked there or if you've invested large amounts of money in the company.

If you want your entire career to be exactly like, let's say, the first year of your master study at university, with exactly defined problems to be solved, then get a thank you, maybe a nice compliment if you've done exceptionally well, then to see your solution disappear and never even be used anywhere (and certainly not voluntarily by a customer) or if your family has enough money to build a house out of 100 dollar bill bricks, it's the perfect place. A place where people use extreme social pressure, even crimes, to get the slightest of advances within the company, because there is no future there. I would make damn sure all my interests lie outside of work though, even in that case.
Has anybody tried compiling this for an embedded target (e.g. Cortex-M4, arm-none-eabi)?
If you liked pcollections, you might also like https://www.vavr.io/
FCC awarding up to $16B to address U.S. areas lacking broadband service
Triumph And Tragedy of Lyndon B Johnson (his effectiveness to pass legislation fascinated me)

Harry Potter (comfort series)

Charlie Wilson’s War (it’s hilarious and informative),

Game Change (a sobering reminder of the 2008 election and how we got to today),

Lincoln’s Melancholy (on his depression).

I’ve read lots of books twice, but the above are the only I can find in my library I’ve read 3 or more times. Outside of Harry Potter, I view the figures in those books most responsible for turning points in our nations history.
Lots of people hate Java. It's unsuitable for those people.

There are certain things you might have trouble getting Java to perform, such as strict latency requirements. Another language might be more suitable for that. But that generally doesn't describe business software.

Desktop software is somewhere you probably don't want to use Java. Although if it's business desktop software, it might be a good fit since it can be cross platform (but ugly - but if it's business, it might not matter). We've built several desktop apps for warehouse computers in Java.

Getting the JVM on a machine may or may not be a hurdle. This is one of many reasons why Go is getting popular - you can just build a binary.

The positive of Java is that if you want to do something in it, someone else has probably tried. It has several large organizations backing professional quality libraries and frameworks that have had a ton of resources poured into them. It's easy to build on the shoulders of giants while relying on 3rd party libraries that don't have a bus factor of 1 - this is rare in many other languages.

If you want stability and well trodden paths, it's hard to go wrong with Java. We've had projects that continued to just work from Java 1.4 to Java 8 - a span of almost 15 years without ever having to touch the code. Java 9 was a bit of a hurdle because of project Jigsaw.
Ask HN: How can I “share” part of my code with a client?
I'm bootstrapping a software project as a solo entrepreneur (currently closed-source, owned / written by me) and I soon plan to take on some consulting work on the side where it looks like it may make sense to let them use a small portion of the code I'm working on.

My question is, is there a way I can actually do that in such a way that I make sure they have the rights to use it however they need, without giving away the right to use my own code however I want in the future?

I'm starting with something that represents, say, 5% of my own project's code base, and part of what they're paying me for is to flesh that out in a way that's very customized for them.

My client is pretty accommodating and I think would be open to any reasonable suggestion, so my question is just about what makes sense to cover everyone's bases.

Something I'm considering is making that "5%" I start with open source, and using it as a package- anything "generic" goes there, while other things (like client-specific UI details / logo, or anything with sensitive client info) can just be totally owned by them.

Any suggestions about how to approach this, or resources / links that might cover this sort of situation?
Lady Mary Montagu, who brought smallpox inoculation to England
Catch-22. It's not at all related to tech, but it's the funniest book I've ever read and I feel it helps keep me grounded.