skysight-inc/HackerNews huggingface dataset:
Your personal development is your responsibility. Figure out how the system works and make sure to take advantage of it.

Any big org will have its system for personal development and advancement. These vary wildly in how well they work and how fair they are. You will have a line manager who's job is in theory to help you develop. They also vary wildly in how helpful they are (middle managers who benefit by keeping good people on their team and so preventing them getting promotions is a classic bad big company problem).

Understand the development system. Understand the metrics and make sure that you do work to check the boxes. Just doing your job well probably won't work on its own to get pay rises and promotions. Every metrics system has its weaknesses - game them to the degree that you consider ethical.
I'm super excited about Prisma 2! I feel like we finally have a database client that (1) is/will be very powerful and (2) is very approachable and easy for beginners to learn.

It certainly doesn't replace the need to know some SQL, but it does delay that which is great for so many people.

I'm definitely using this instead of any ORM for every project I can.

I really love having the fully typed interface for Typescript. Both for static type checking and for code completion in your editor.

We are using Prisma 2 as the default database client for Blitz.js [1] which results in a super nice stack. Especially because the Prisma DB types flow all the way into your React components.

[1] https://blitzjs.com
Kudos for the work!

Out of curiosity: what is the inspiration for this and what's the goal?
I imagine this would be an alternative where embedded Lua gets used. A comparison with Lua would have been great to see. The 200K runtime, for example, indicates that this might weigh in somewhat heavier than Lua.
> I wonder how this small bubble will be seen in 500 years

How much do you know about the movers & shakers in steel production in AD 1520 Toledo? Same, but spice trade merchant-empires in Italy? How many people know more than like 5 names and a couple events or anecdotes (which may or may not even have actually happened) from all of US industry 1880-1930?

There you go. No one but specialists will remember it at all. A couple names might survive but almost nothing about them, and little of it true.
Having worked at Big Co and then on my own company for years, this is exactly what I was thinking.

You'll lose professional autonomy in exchange for a good salary, job security, and resume bling. And you probably won't have to work as hard or as often (again, probably).
Well thanks for that, I'm confused about the relevance of an 'advisor' to a paper from the perspective of the PC or publisher, or how they would even determine who an advisor is. Do IEEE/ACM have rules for this or is this part of the alleged fraud?
Rust has two ways of ensuring forwards compatibility (or incompatibility):

The first is the `stable`/`nightly` system. Anything in `stable` gets compatibility guarantees, anything in `nightly` can change or be removed at any time.

Nightly also has feature-gates: using an unstable feature requires an opt-in to enable it. The old `asm!` syntax which got renamed was only ever in `nightly`.

The compatibility guarantees for `stable` are based on editions: each year there's an edition, your project's `cargo.toml` specifies which edition your code is for, and compilers will continue to support old edition code. New editions might require changes to existing code, but as long as you don't update the edition in your `cargo.toml` you can freely update your compiler (to a new stable version) without worrying about it breaking. You can use crates (packages) from any edition with any other edition, as long as the compiler is new enough to support the latest edition used.
Note that zoning in NYC requires the step backs that you see. It allows the full building footprint to X height (based maybe on the width of the street), and then is based on an angle formula, where for every additional Y feet requires a further setback of Z feet, resulting in the stepped-top towers that exist all over Manhattan. Like all zoning, it claims a cute origin story (allowing sunlight to reach the street), but also had the motivation of keeping rents high by limiting additional construction.

From https://old.skyscraper.org/zoning/, on the reason for the support of zoning in Manhattan:

"There were two major causes for this shift, both rooted in the drive to stabilize real estate values. The first was the concern about overbuilding in lower Manhattan, both in the increased scale of such mammoth new structures as the Equitable Building at 120 Broadway and in the rate of vacant office space. The second was the lobbying of the Fifth Avenue Association, a powerful group of merchants, hotel operators, and business interests that was organized in 1907 to fight the spread of loft buildings into the fashionable retail district north of Thirty-fourth Street."
The technical reasons for Fuchsia to exist are debatable. The real reason it exists is because Linux is GPL.
The Bible (technically working on my 2nd cover-to-cover readthrough, but have read individual books in it many times, especially the Gospel of Matthew).

All of Kafka's novels, but especially "The Castle".

Several of PKD's novels: "The Man in the High Castle", "Through a Scanner Darkly", "Ubiq"

"The Silmarillion" (when I was a young adult)

Douglas Adams' "Dirk Gentley's Holistic Detective Agency" (when I was a teenager)
I read East of Eden every couple years. I find it settles me and makes me believe in the goodness of Humans every time I read it.
True. A big appeal for me with TS is that the inference engine is decent, so doesn't feel too ceremonious, and I can also tap out of the type system at any point and write a bit more gnarly code. Typing just the boundaries can be super helpful sometimes.
Wouldn't that be where Flutter could come in handy? If the same codebase cross compiles to Android and Fuchsia (hell, even iOS), lack of apps won't be an issue.

The Android team doesn't seem fond of Dart/ Flutter, but that's not surprising. Who wants to voluntarily sign their death certificate, so to speak?
Sometimes one can just wonder how many of these decisions to do something boil down to just one person being in the right place of the totem pole in order to

a) sell the product to their superiors and get their buy-in

b) drive their own resume for "being the guy who created X"

rather than any technological reasons or valid business reasons.
I have the Sapphire Reserve and it's been great, but I do a lot of traveling (aside from these covid times) so it has some great perks like free airport lounge access for 3 years, $250-350 in free travel money/year, a bunch of frequent flyer miles if you spend $3-4k in the first 3 months on it, etc. Free TSA Pre-check/global entry.

If you travel a lot I highly recommend it. Hoping things will open up soon so travel can be a possibility again.
Yep. I would re-read it on a semi-regular basis as suggested.

I need to go back to it. Unfortunately my much loved copy (with highlights and underlines) was given to a family member so now I am left with my Kindle version.

I've also listened to the millennium version twice.
My Latin is rusty, but I was skeptical about 'Bozi' there, not sure if the mistake is in the original text, but it's actually 'Jovi' (Iovi) [1]

1: https://en.wikipedia.org/wiki/Quod_licet_Iovi,_non_licet_bov...
"Doesn't work" doesn't just mean it won't identify you. It can also mean it _falsely_ identifies you, because it's bad at identifying you.

If your a member of Congress who is also a person of color, it will do that at twice the rate of your white colleagues. [0]

[0]: https://www.aclu.org/blog/privacy-technology/surveillance-te...
I get master/slave being potentially offensive if you apply it to history, but blacklist/whitelist etymology was never related to race at all. Blacklist seems to come from a more religious perspective with people without good souls being empty or black inside.

If people actually find it offensive then by all means change it. However I wonder if people read too much into thing sometimes.
“Unsuitable” doesn’t mean it can’t be done. Having written a lot of business software in Java, I actually agree it’s unsuitable. The only way I’ve been able to make it bearable is by using Lombok and pcollections.
Show HN: MediaPipe tutorial: Find memes that match your facial expression
AAAS is observing ShutDownSTEM tomorrow
It is of course good to have the support of your supervisor, but if the relationship breaks down then you shouldn't feel that your graduation is at risk because of this. I think most universities will have a policy on changing supervisors that favours the student? Whether or not this affects your future career I don't know.
The first thing I want to know about a new language is its performance. Then I can start thinking meaningfully about the tradeoffs of using it compared to other languages.
One example is authoring USDT probes. This is done by writing inline assembly comments [1] that the kernel can then trace when instructed to.

Also people doing cryptography things occasionally need access to specific ASM instructions for their work. I believe AES has specialized instructions, but there are more cases.

You're not wrong that writing inline ASM is a fairly specialized need, but for those who require it this will come in incredibly useful.

[1]: I still need to try using this, so I might be wrong. I was waiting on inline assembly to be available before trying tho, so quite excited it's now available.
Are they though? They're almost 18 years old at this point, so I feel like they don't really count as a startup.
"Island" - Aldous Huxley.

"Principles" - Ray Dalio.

"On the shortness of life" - Seneca.
I wonder why it isn't more like an FPS. I understand there's more modelling work involved, but it would totally rock. Imagine if advanced engines like Unreal were put to work for this kind of things instead of just for games.
The ‘Useless’ Perspective That Transformed Mathematics
Most application developers don't need assembly, but it's still necessary for the people writing Rust and its stdlib itself, embedded developers, people writing libraries that use very specialised optimisations, SIMD, etc.
But in rust asm! does interact with the type system.

The asm macro does know about what group of registers (or what specific register) a input/output is stored/loaded from and compilation will fail if the input isn't compatible with the register.

Then it's delegating to a assembler for the rest.

Sure it could also have a list of all asm commands the given target does support and parameters/registers it can be used with but this means keeping track of all supported targets and all commands for all potential featuresets of all targets and all way they can be called. This is a lot of work. Even more such support can be added later one, too. For now it's more important to support asm on stable.

Also with proc-macros you can implement this as a library on top of `asm`!

Also with a more "knowledgeable" asm any support for a new platform would need to manually add support for all asm of that language so having a standard stringly interface is a good think anyway.
We use slonik and absolutely love it. Alongside polymode (for inline sql mode) in emacs it’s wonderful to use. Thank you for writing and maintaining such a great library.
Show HN: JSON Master – Powerful JSON Auto-Formatter for Chrome
Workers at re-opened Tesla plant test positive for coronavirus
The quickening has begun. There can be only 1.
Never thought of it that way, but you’re totally right! So obvious now...
What are your thoughts on RedwoodJS?

https://github.com/redwoodjs/redwood
After having looked at it for a minute, it looks like a very simplified version of Swift. Looks great! Might try out the language on my Raspberry Pi and see how fast the thing is :p
Jewish Wisdom for Business Success, Dune, Shoe Dog, On The Road
I could, but then you can guarantee we won't switch it back on the day we get burgled.

If I don't trust the "on when it says it is" feature, I should probably just get rid of it.
If you are considering a new role with your partner with a new contract then that is a great chance to renegotiate so you see the upside of a sale.

Going a bit beyond the OP - A difficult lesson for many engineers is that it doesn't matter what standard engineering salaries are. You could be the best engineer in the world but if you work for a low-revenue, non-tech company, then you aren't going to be compensated the same as you would at a tech company where revenue per employee is $2.2M (Netflix) or $2M (Apple) and engineers directly contribute to that revenue.
* Things move slowly.

* You need to be able to play the game if you're going to move up, if you want to stay in the same role don't make waves.

* Other people are playing the game. Sometimes if you're trying to make changes, even if they're going to be beneficial, you are going to run into people who have a vested interest in you not improving things. Don't let it get you down, pick your battles.

* You are way easier to replace than you think you are, don't start fights with people that can let you go. Most won't hesitate to remove you if you make their life difficult.

* Make the most of the perks and don't bust a gut, if anyone notices it'll be because you're making them look bad. Going above and beyond will earn you a pat on the head but nothing more.

* People will be doing everything they can to cover their own ass, don't let them use you for cover.

* Don't get too attached to projects, things get killed or mothballed. Years of work can just be binned without much warning. Make sure you're not defining yourself by what you're doing at work.

I've done my time at a couple of big firms and had people working with me on teams that want to be a 'craftsman' or don't really understand these workplaces, the thing I tell them to remember was "don't fight the waves, just let it wash over you". You can't win, you'll just knacker yourself out and drown.

Don't feel bad if you hate it or want to leave, it's not for everyone. Also don't feel bad if you love it, plenty of people have much better things going on in their life than work and are happy to coast along at a big firm doing what needs to be done.
For many books that I find myself thinking about for years, or just that I enjoyed very much, I will revisit them later. They can be very revealing in how my perspective has changed or that I'll identify with completely different characters, or be awed by a passage that my earlier self overlooked.

Several that come to mind are

Heart of Darkness

Moby Dick

Robinson Crusoe

Pretty much any Chekhov story

Cathedral by Raymond Carver
I once targeted ARM/Win32 with freepascal, and was surprised that it got compiled. It even loaded the com objects necessary to build platform user interfaces (barcode reader stuff and showing menus). The problem was, it had dozens of subtle bugs like not bubbling up certain exceptions, maths rounding errors and I simply didn't have the time to fix or report them so I gave up. It probably got better over time but the experience stuck with me and I don't recommend the tool for professional use.
> I actually agree it’s unsuitable

How so? Performance? Reliability? Verbosity? Which language is suitable in your opinion?

To me this kind of opinion-based... um, opinions... fly in the face of evidence. Java has been used for more than a decade to deploy business software to great success. What more evidence does one need? It'd be like arguing "COBOL is unsuitable for banking".

In the meantime, opinions have shifted on best engineering practices, and Java has naturally run the gamut of all these opinions. And because there are tons of Java systems, there's no shortage of examples of failed/bad projects one could pick on. I wonder how many languages/platforms would have fared better...
What's Driving Instagram's AR Play?
And even then, maybe they didn't make sense given the technology of the time, but they could have made sense later.
Read this to get familiar with the environment

https://www.ribbonfarm.com/2009/10/07/the-gervais-principle-...
The title is extremely over-claiming.

but it is a step in a good direction.
Compilers are great, but they don't always produce optimal code. You can quite often produce faster code if you're prepared to hand roll the assembly code, but it's rarely something most people will need to do. The time it takes to produce often outweighs any advantage you'd get, but having it as an option is going to be very important.

Just within the rust world, https://www.nickwilcox.com/blog/autovec2/ from a few weeks ago talks about the limitations with the compiler around vectorisation, demonstrating that with hand-rolled assembly they were able to cut the runtime in half, vs what the compiler was able to produce.

Outside of the rust world, you'll often see hand-rolled assembly in performance critical code across a spectrum of uses, e.g. OpenSSL uses it extensively for performance reasons, Go has it in a number of places in their libraries, with a pure go fall-back, and so on.
Sometimes the compiler generates worse ASM (rarely, but it can happen, especially with vector instructions). Sometimes you want to use ASM instructions there are no intrinsics for. Sometimes you want to write some extremely low-level startup code for an OS or microcontroller and simply need assembly since the C/Rust/whatever runtime can't operate yet (eg main memory needs to be initialized).
"just relax" good advice.
That's a huge mistake. Democracy means "people rule", not "majority vote". The minority are part of the people.

https://en.wikipedia.org/wiki/Tyranny_of_the_majority
The US cannot do a lot of things. The individual states in the US can do things. Trump closed the borders at the end of January which is basically all he could do.
The Count of Monte Cristo (Robin Buss version)
Quote the Web with Quotebacks
Thanks. I have actually for many years and up to 150k head count, but never learned to properly deal with it. Moved onto a mid-sized company which is growing into a conglomerate of its own. I did like Erik Dietrich's Developer Hegemony, but his style of dealing with big co felt a bit too cynical.

https://leanpub.com/developerhegemony
I tend to re-read my favorites every few years or so, my latest re-read was "A Deepness in the Sky" by Vernor Vinge. Lots to dig into in that book, but my favorite aspect of it is actually how he writes the two different cultures' points of view to skew the reader's perception of the (very) alien culture, only revealing exactly how uncomfortable humans would be around them late in the book.
The graph looks even worse when substituting colloquial 拉肚子 for diarrhea.

https://files.catbox.moe/cum13j.png
Douglas Adam's "Dirk Gently's Holistic Detective Agency".

Probably the finest work of fiction ever written, and my favorite book of all time. You kind of have to read it twice, the end completely changes the interpretation of the entire rest of the book. It's great.

Avoid spoilers, and also avoid the TV versions - not even the same story, and quite disappointing. The audiobook version, read by Douglas Adams himself, is sublime.
Collateral Freedom
Defund the police. Force agents of the state to carry malpractice insuarance.
I can tell you that I've started Structure and Interpretation of Computer Programs at least five times. Probably doesn't count.
Yeah true. But doesn’t Rust provide an equivalent to C’s intrinsic functions like popcount?
Competition and Monopoly: Single-Firm Conduct Under Section 2 of the Sherman Act
Scott Howard’s Latest EP the Language of Clouds a Gift from Above
Support will likely not be dropped anytime soon, maybe never. You just need to rename it to `llvm_asm!`. Through with `asm!` likely going to be stabilized while `llvm_asm` never going to be stabilized it might be worthwhile to switch to the new asm to get of nightly in the future ;=)
You'd be shocked if you looked into how little (read: nothing) Obama did about police overreach and lack of oversight. Clinton, Bush, Obama, Trump... when it comes to police brutality they're all the same.

This isn't a partisan issue, the color of your tie does not wash your hands of blame here.

The Dem party's marketing dept should all get raises, though. For some reason you seem to believe that having a black president who did absolutely nothing for black people was better for black people than Trump. When it comes to policy or enforcement changes, this could not be further from the truth.
Would you mind to elaborate? I haven’t heard anything about Nginx being “compromised” before
AKIRA
The Razors Edge - Somerset Maugham

Siddhartha - Herman Hesse

The Hobbit - Tolkien
Ah gotcha. I guess I just haven’t come across a situation that calls for hand written ASM yet :p
Yes. I've got a friend who digs privies for fun (that's a loaded intro, search for The Privy Diggers or The Boghouse if you're curious) and he bought a GPR cart last year for a pretty reasonable price - I think the price was in the hundreds, rather than the thousands. Some guy assembles the electronic components into a Pelican case, essentially, and it hooks up to free iPad software.
Great alternative if you don't care about Next.js and you absolutely want to use GraphQL.
> But in traditional MMO games with grinding and accruing experience and loot, getting killed and losing stuff does seem like a big deal.

It wasn't all your stuff. The bulk of your assets would be in your bank account or, if you were wealthier, in your house. The only stuff you would take out into the wilderness or into a dungeon is whatever you needed for that particular trip. So your losses would be limited to whatever you brought with you, plus whatever loot you had accrued while hunting or mining or whatever.

So yeah if you were only playing for 20 minutes a day and you were constantly dying, I understand why it would be bewildering and upsetting. But if you were actually playing for 5+ hours a day because you were 12 or whatever, it was just part of the fun.
The gamer in me is a little disappointed by the real thing. I'm imagining Lara Croft walking down this corridor, and then, turning around and walking right back out.
My app was leaking uncompressed 12 MP photo buffers and the swap file was over 70 GB, so in this case it was definitely swapping to hell
I am super new to Rust and maybe not the best place to ask, but why would you want to use inline assembly in Rust at all? Does that not invalidate a lot of the safety features built into the language?
This rings a bell for me. Before I started at a big firm I assumed they'd be super optimised to get people going fast, as its a common occurrence for them. What I didn't realise was that you sitting waiting for equipment and logins for 2 weeks doesn't show up on anyones spreadsheet so its not a real loss as far as they're concerned.

Plenty of time for self improvement though if you're just using it as a stepping stone.
"All I’ve ever learnt over the last decade has been by operating in a capital constrained environment."

That won't necessarily change in a big corporate environment. Management can be surprisingly resistant to approving funding requests.

We had significant problems getting the purchase of android and iOS devices approved for product testing, for instance. I'm certain that the human time spent getting the purchase approved cost far more than the actual purchase.
Manifold: Meta-Programming in Java and More
I've said this before, but the first time I hooked up an RTL-SDR and tuned it to 1090 and saw live air traffic, I was awestruck. Sure the same info was available on flightaware, but something was special about being able to retrieve it myself.
I was looking to define the graphics that came out of a GIF program I built and decided that the graphics were Art Deco, same as a lot of graphics on the internet. But it didn’t have the same sharp illustrative quality. The gif’s look much more organic and less organized but they often have robust colors. I decided that the gif more resembles the fauvism style.