skysight-inc/HackerNews huggingface dataset:
> It surely is nice to get the same guarantees without _needing_ a switch statement.

Is it?

let data: Some(usize) = f();
match data {
Some(pages) => pages + 5,
None => 0
}

Seems pretty nice.

Or if you want a more structurally similar code with a guard (and removing the useless bits):

let Some(pages) = f() else {
return 0
};
pages + 5
How to report Google Drive spam
> Work is a lie, play the game.

If there’s any advice I could ever give anyone who has any amount of integrity and tries to live an honest life - it’s this alone. If you don’t play the game - you’re not playing the game everyone else is and you will always lose in the end.

Extremely painful to deal with for bright eyed young folks or those switching industries thinking things might be different.
interesting, but i hate the "request demo" or chat to us stuff. im too introverted for that.

good luck with your project!
Not really, Apple is one generation ahead of AMD in manufacturing process at TSMC.
> 3) If every exit interviewee states that the CEO is a dick, that can't be ignored. She won't lose her job, but it's not going to do her any favours either

Maybe for large enterprises there's a path somewhere regarding this. But in the smallish companies I've worked (350 or less people), the most the HR department doing the "exit interview" would be able to do is to tell the "Head of HR" about it, and then, what would the Head of HR do? She would tell her boss about it... and her boss (the CEO) will laugh it off.
Yes; personally I’d rather have a type=search to have the semantics and then apply CSS on it, rather than a type=text with no semantic meaning at all that’s modified to behave like a type=search.
Even the "locks up the DB" migration behavior tends to depend on the load & size of tables, which staging might not recreate.
Who cares if he’s a nice guy?
What should Russia do with Ukraine?
Prior to pandemic, that is how I felt. (I expected to hate WFH; it turns out I love it, but I did enjoy the forced break and time for podcasts that the commute provided.)
Microsoft Azure vaults into the Arm server era with chips from Ampere
speed of light ~ 1*10^9 feet/sec

To cross one foot - no less than 10^-9 sec = 1ns
Do you have a source for this information?

This is what I found "In 2020, France exported a total of nearly 78 terawatt hours of electricity. Meanwhile, electricity imports to France amounted to nearly 35 terawatt hours in total that year."

Source:
https://www.statista.com/statistics/1279015/france-electrici...
I don't agree. I assume we're all professionals but some people are oil and water, doesn't mean you need to burn a bridge. Tempers cool, favors sometimes need returned, references are there in the future. I'm not burning a bridge with an exit interview. I no longer owe the company I'm leaving anything, but I'm leaving the bridge intact. I leave on a good note, I might call out particularly talented people that I feel get overlooked but otherwise I generally won't even have one bad word to say, even if I want to.
The Wikipedia articles about the subject are very poor, probably because there are no good developers that know the subject well that are also Wikipedians.

I've tried to correct the thing and added this:

https://en.wikipedia.org/wiki/Server-side_scripting#Server-s...

I've also reported the issue to some Wiki Project but there where no reply.

But it's really bad because of this:
https://en.wikipedia.org/wiki/Web_template_system#Static_sit...

Instead of rant, why not fix Wikipedia and write proper articles for Server Side Generation and Server Side Rendering or whatever is needed.
your site is not loading, tried with vpn (sweden, uk, netherlands), no luck.
>I think OP is right that M1 MBP really changed the equation for most "regular" developers, before the M1 MBP my choice was the only sane option because all the laptops available had huge drawbacks (Intel was and is hot garbage, AMD laptops are budget tier/gaming bricks).

Eh, YMMV. I have an M1 and an i7-1185g7 based Linux laptop. Honestly, I never use the M1. Side by side, there is no noticeable speed difference for my day to day work. The M1 is more efficient, that's for sure - but my Intel laptop already has "all day" battery life. If I need to spend more than 8 hours working without access to power, the M1 wins - but I never see that situation happening (to me).

The biggest thing that turns me away from the M1 is the lack of Linux support, which I understand is also a personal preference thing. Also the M1 MBP is slightly bulkier despite the same screen size.
the problem is signal propagation

for light to cross 1 feet should take ca 1ns
The types of the vectors: the length is a generic parameter to the type. So a Vec 4 Int and a Vec 5 Int are different types.
I've had to do something like that for an awful application where the frontend did chunked downloads, but didn't check properly for the status code, embedding error pages directly in the downloaded file.

As I had no control over the frontend itself, I configured the reverse proxy so that for requests to download endpoints, all error responses would instantly close the connection to the client.

Your post makes me think that I could generalize this so that any error to an explicit download would close the connection at the network level. It would be quite tricky to be able to distinguish between implicit and explicit downloads, but I think that if the frontend, backend and reverse proxy coordinate well together, it can be done without introducing other problems.

Of course, it's a big hack that's not worth the bother.
I think I just accidentally corrupted it in my post. let's try again: https://twitter.com/brewster_kahle/status/151100996579578675...
I use the `o instanceof Class c` thing all the time in my hobby compiler on Java 16 right now. The Java 17 version will greatly simplify much of my codebase.
The author doesn't know about TinyGo? https://tinygo.org/
Nothing matches kdb's speed except GPU-accelerated DBs: https://tech.marksblogg.com/benchmarks.html
SASS Text Crop – Remove the extra space around text caused by line height
Or tell them at really any given point in time during your employment if you're that confident that your employer won't retaliate against you and you're concerned with workplace improvement.
I think both the bills "The Open App Markets Act" and "The American Innovation and Choice Online Act" are amazing but I don't expect them to get anywhere in the US because of how much collusion tech companies and US politicians have... but I don't understand why other jurisductions like India, China, EU etc. haven't enforced something like these, just from security perspective if not anything else.
> Direct Current (DC) electric power is an emerging disruptive technological area that has the potential to stimulate economic growth, inspire innovation, increase research and development opportunities, create jobs, and simultaneously advance environmental sustainability.

Was this published in the early 1900s? There is no date and DC is definitely not emerging nor disruptive.

DC won't replace AC for those who rely on remote power production.
This should be good. I can't believe the elonites priced it up 30% though lol. I will get my popcorn and enjoy the show.
It's not very well designed. I missed the whole tutorial and was very confused. You can use roll or block to avoid attacks. Just watch the stamina bar. If it runs out, then you can't roll or block any more effectively.
> I bought him a Chromebook for schoolwork, but also for other private things. When we logged in, the system installed GoGuardian monitoring software on the Chromebook without notice or permission.

Can you give more details? Logged in to what? I don't know how Chromebooks work, but I take your description to mean logged into a webpage, which allowed it to install arbitrary software on your computer - this sounds like a vulnerability in Chromebooks.

Edit: On rereading the post, I suppose you mean logged in to Google Classroom.
I took several times a few months off and once even an entire year. I travelled the world, been to the most amazing places, met incredible people, seen and done things I can’t tell anyone because they’d think I’ve made them up, collected memories which I’ll remember until my grave and every time when I came back and looked for work potential employers were very positive and congratulated me on being brave and they told me every time they regretted that they never did anything like it. So in one short answer: Go for it, 100%!!!
> especially since the article literally addresses this issue explicitly and takes care to avoid that

Can you cite where in the article it addresses the fact that the assembly snippet is not an apples to apples comparison with the C code?

> If you have a specific criticism to make

Pointing out that the assembly is not an apples to apples comparison with the C code is a specific criticism.
> have you lived in the US? there are lots of different kinds of suburbs. my suburbs have shops

Well, good - that's not the type of suburb I was taking issue with, as I would hope was apparent.

> I want low-density accommodations. I want everybody to have acres of land and I want to go days without seeing other people.

That's not possible. If everybody were to live in that kind of isolation, nothing would get done.

> Take Japan, or any other country with negative rate of change in population. Without immigrants, how do you imagine their population will change?

That doesn't change the population level globally. It's just shifting people between borders.

> Why so cryptic?

Because its just an impression and people tend to take suggestions that they have eco-fascist inclinations pretty badly. Talking about population control and low-education immigrants isn't definitive but it certainly smells bad.

> I want to be a hermit so I never have to see other human beings unless I have to go into town to buy groceries

I'm not against that, if it can be done in such a way where everybody gets what they want. I'm only really against hording of resources to the detriment of others.

> but in your hive world, there are no countrysides or suburbs left, just sprawling concrete scars on the landscape where people go to rooftop mini-parks and think they're experiencing nature

Nice 40k reference, but you have a strange impression of what I've said. I want a world where people's personal preferences are maximised, which includes living arrangements; we just have to do it sustainably so the biosphere doesn't collapse. I love nature too, see - I live just on the edge of the countryside myself.
My Lenovo thinkpad keyboard doesn't register the spacebar unless you press the middle of the key. Never had a problem like that with a Mac.
This is a semi-educational project, so it makes sense to keep the number of lines small.
Absolutely beautiful. I love to see these FPGA accelerator cards being used as drop-in replacements for retro systems.

This makes me wonder if it's possible to make these into PCIe cards for a normal PC that would provide hardware-assisted emulation. It would be especially nice for emulating more advanced machines like PowerPC Macs.
Never got into Monkey Island series. I didn't find the dialogues particularly funny and puzzles were a bit too hard for me to figure out. I wish there was a sequel to Indiana Jones: Fate of Atlantis however. That one I still revisit every few years.
> Writing a triangle rasterizer is not that hard

Certainly. One can write a trivial version in maybe 30 lines of code. Writing a triangle rasterizer that you would want to use in a product that is consumed by another human is hard.

Also, it is my experience that none of these things can truly be built in isolation. Depth buffers and acceleration structures crosscut all aspects of a rendering engine.

I do agree regarding the 3d APIs though. Writing it yourself in software mode can be easier than learning someone else's mousetrap. This is the path I prefer, even if it is slower at first.
Largely correct, I mostly only use it as my news feed from mainstream (oh no!) news sources and some bloggers when they post a new blog; this is post giving up on RSS feeds. I think I only have one twitter post to date after 7 or 8 years.
There's PhishTank.[1]

[1] https://www.phishtank.com/phish_detail.php?phish_id=6178855
Oddly, most programming seems to lack good models at intermediate levels of complexity. (In physics, those levels are called things like "chemistry" or "cellular biology"). Relational databases have a rigorous model; but what about OOP? What is it? It feels like some sort of weird, misbehaved algebra. I've been doing it a long time, but properly characterizing it escapes me. I'd pay $50 if I thought someone had the answer, but I suspect they don't. (Or if they do, it's more of an opinion).
That's amazing! Thank you. I've no idea why Google "support" can't tell people that.
I'm saying, "[ignore] the feelings of the masses," -- "divorce the world."
"If we just do better, they'll come around". Nah. Sometimes we're just starting too far apart, or frankly the person is not smart enough or has some mental difference that makes the requisite study too hard. We should try -- these are excuses that can be used to give up on people too soon, but ... you can lead a horse to water, but you can't make it think.

The median person who can drive, pay taxes, be a loving partner, and parent is just ... disappointingly not smart if you've been surrounded by brainiacs for most of your life. Some very bright people have other personality quirks that make it hard for them to integrate new ideas outside their comfort zone.

We need better people.
> Stand at a flight of stairs in the NYC subway with a stroller. Someone will grab the other end, help you carry the stroller, and then walk away without saying a word.

This is one of my enduring memories of NYC as I saw this precisely play out first hand. A tiny woman with a massive stroller arrived at the base of the stairs and the guy walking in front of her glanced back then gave the slightest nod before reaching down and grabbing the front axle. She overhead pressed the stroller handles, they climbed a couple of flights and at the top of the stairs he put his end down. Not a word exchanged, not even a thanks, they just went their separate ways. It was so smooth, almost choreographed, I don't believe the woman even broke stride.
There may be enthusiast mechanical keyboards that use faster ports. My keyboard uses an Elite-C MCU in each half. I've heard some more modern stuff is switching to ARM for the MCUs.

Here's a keyboard that uses an ARM MCU:

https://github.com/tzarc/djinn
A mutually consensual separation that they are now both claiming was the other one's choice, not theirs.

Yeah, ok, I actually believe that.
Are you suggesting that the only thing worth learning in school is reading, writing, and arithmetic?
> kindness may be ‘Ugh, you've said that five times, here's a sweater!’

The turn of phrase I've used in my internal monologue is "harshly compassionate". The example given frames this in terms of assistance, but it goes beyond that. Pearl Jam's song Given To Fly really exemplifies this sort of thing. In the middle of mythologizing and uplifting messaging of love, the word "fuckers" gets dropped in.

Similar but not the same: Brooke Allen's contrast of "good" people versus "nice" people <https://brookeallen.com/2015/01/14/how-to-hire-good-people-i...>
If he's being held up as some shining beacon of the "hacker-ish culture" as the grandparent poster is doing, it would be nice if he weren't also a jerk.
I'd risk hypothesizing that "accidents like that" happen quite a bit more to people who are drunk. This is, after all, why we have laws prohibiting "driving while intoxicated" and not, say, "driving while fabulous".
Funny how this was a April Fools announcement that only fooled people who thought it was fake!

I actually liked Curse of Monkey Island (MI 3) but am very excited for this one.

Also check out the Special Editions for MI 1 and 2 which were very good:
https://store.steampowered.com/bundle/6588/Monkey_Island_Col...
...it sounds like your dog is ruining your productivity. Are you doing anything to adjust your pet's schedule or otherwise deal with that?
I don't normally mind stratechery, but I think this one is a complete miss.
Why won’t it replace it, out of interest?
Oh, using whois seems reasonable!
I don't think it's meaningful to talk about edge cases without a set of requirements connecting inputs to desired outputs: what you want to do with the data, or hope to get out of it.

Features like long album names, empty names, or names with international characters from Unicode, are not hardly edge cases. Edge cases have to have some surprise to them.

Coming from a blank slate, you'd never approach a problem with the assumption that all strings are 32 characters or less, confined to 7 bit ASCII, and are never empty and then paint your face surprised call "edge case!" when they aren't.
Their other value add is customer support which is fantastic.
Thank you, this looks perfect.
> Musk seems far more reactionary to hot button issues.

> Paul G

Tell me you don't follow Paul Graham without telling me you don't follow Paul Graham.
I kinda liked my exit interview. Got the chance do talk about what have happened and much of a douchebag my former "coworker" was. It was nice to be heard.
Ironically - He didn't even mention indexes in his description (which he admitted was simplified) - a good query optimizer will do wonders for not only coming up with the appropriate hints for the query plan, but will also dynamically adjust those hints based on the underlying data patterns.

The example he provided,

"So a row was the unit of information and rows were stored sequentially on disk. Row orientation works for small amounts of data. But think about what happens when there are lots of rows and the user wants all rows where the license starts with 123 and the color is blue or black. In a naive system the application has to read every single byte of data from the disk."

Is something no modern database would ever do. The real challenge is not to only read the records starting with 123, or having blue/black - that part is trivially handled by every Database engine I'm familiar with. The query challenge is *do you filter on license # or color first? (If there are 1k records starting with 123 and 5mm blue/black vehicles, the order is pretty critical for performance) - that's one of the features that distinguishes query optimizers.

Columnar databases are awesome when you have columnar data to work with - I've seen 20-30x reductions in disk storage in the wild (and you can obviously create synthetic examples that go way north of that), but a well indexed SQL database backed by a solid query optimizer/planner can probably stand it's own with a columnar database in terms of lookup performance, particularly if your data is row-oriented to begin with.
They sound like awful, possible hostile, environments OP has worked in. I'm with you here, there is absolutely room to provide constructive criticism and to provide an opposing data point, I have seen instances of an organization changing over time at least in part due to what people have said in their exit interviews. We're all human beings and we want each other to be happy and successful. If that's not the environment I'm in, then I made a mistake. If I am, it's not at all like OP described.
"Dominant tech companies abuse their gatekeeper status to undermine human rights" How so?
Specifically abandon recruiting methods that target the poor would be a start.
That's kinda the point of the last sentence in the my original comment. People may desire an app that optimizes their ability to connect with drug dealers. It's certainly possible from a technical standpoint. It doesn't mean it's a good idea.

Likewise an app that allows you easily bail on social engagements guilt-free through minimized interactions is probably not a good idea because those interactions are exactly how you build the trust that's the root cause of the guilt in the first place.

Maybe we're miscommunicating. I'm not implying the software solution exists, just that that desire for such an app may be misplaced.
Good lord, just call the CPS IT helpdesk. Problem solved.
The only things that matter are goods and services. Everything else is just accounting. Removing middlemen and counterparty risk is a beautiful thing. That's why the blockchain has better uptime than your bank. Better price performance than your bank. Pays better interest than your bank. It's why Ukraine is publicly begging for and has received $100M of crypto. You see lines at ATMs and people having their money stolen in mass by government's inflation, and bail in's and outs. Things are so bad because the governments made them so. Look around you, everything you see that is good around you was made and distributed by business. I'd rather trust math than man. P.S. If Mr. Diehl has the courage, I'm happy to have a live debate any time.
I’m weirded out by how this comment is exactly how to handle it imo but not many others seem to agree. I’m perplexed. I get more confused about other peoples opinions the older I get but maybe that’s the thing I’m older and wiser.

Or maybe I’m just an idiot.
A very thoughtful piece by Sabine.

My advice to college freshmen is to consider universities as a place for meaningful interaction between explorers at different stages.
The "learning" (curriculum) part is just a prerequisite done (mostly) all by yourself (through exercise) at your study desk.
At the campus you show up prepared to be able to engage with the community (of peers, graduates, postgraduates, professors ...) as you climb up the ranks yourself. At its heart it is very much a social endeavor. But ime especially in physics or mathematics this is much less emphasized. Maybe understandably so in order to encourage working on a "simple" problem for weeks on end ("frustration tolerance") and not to cheat by consulting others immediately after a failed attempt without even trying the "deep dive" of carefully going through the reasoning.

>During a decade of education, we physicists learn more than the tools of the trade; we also learn the walk and talk of the community, shared through countless seminars and conferences, meetings, lectures and papers. After exchanging a few sentences, we can tell if you’re one of us. You can’t fake our community slang any more than you can fake a local accent in a foreign country.
My clients know so little about current research in physics, they aren’t even aware they’re in a foreign country.

This also reminds me of the life of Alexander Grothendieck who after a decade of brilliant work ("Golden Age" in his 30's to 40's) in which he stayed in touch with the mathematical community through unsurmountable correspondence and singlehanendly spread a lot of remarkable seeds which later blossomed wonderfully in the field --- one day vehemently and visibly protested the military-industrial complex in France (because of his traumatic WWII experience), was left alone by his intimidated fellow academics (who were fearful to simply cut off a tremendous amount of funding resources) and then simply stopped engaging with the community all together and never in his later life found a way to come back in (despite his brilliant "track record") but instead grew more and more sour and frustrated becoming isolated, in the end even suffering from (mild) paranoid delusions while only a handful of people/acolytes kept him in touch with the outside world.
> An union type is the C attempt to implement something like sum types

Sum types, unions (in the C sense), and union types are three distinct concepts.

Wikipedia's article confusingly merges the latter two concepts together but they're different thing. TypeScript[1] and Scala[2] have union types, but they have nothing like C's notion of "unsafely reuse the same bits in memory to be interpreted as different things".

[1]: https://www.typescriptlang.org/docs/handbook/2/everyday-type...

[2]: https://dotty.epfl.ch/docs/reference/new-types/union-types.h...