skysight-inc/HackerNews huggingface dataset:
There was a time I was productive working on a side project in mostly odd segments of time after work, or in moments I was waiting for my girlfriend to get ready. There were some factors that I see as critical to allowing me to stay productive in 15-30 min windows.

- my side project was a game with very few dependencies. No other people or large libraries that would complicate things.
- I already had a solid foundation laid and had already invested sufficient time to the project. I wasn’t starting from scratch.
- New features had to fit within my mental model of my foundation. I couldn’t afford any redesign or experimentation of my foundation.
- Faith that many small incremental improvements would yield a bigger resul
- I was very familiar with all the tech involved
- I had a good set of simple gamedev design patterns that I cultivated and experimented with over the years

It was a really worthwhile experience and gave me a different perspective on how I approach productivity.
https://retrocomputing.stackexchange.com/q/24734/11579
In the software development space, we tended to shy away from hiring certs, eg MCSD, etc. They proved to be a very poor substitute for experience. We had far better results in the IT space with certs like Cisco, and similar certs.
Perfect timing! Last week I struggled to write documentation that would leave me satisfied - this framework explains why: I tried to write a reference, how-to and explanation at the same time. And it also offers the solution: Split it into three parts (create them if they don't exist yet).
Perhaps, but at what cost? In Australia we got small hive beetle about fifteen years ago, and if we didn't have feral colonies these things would be much easier to manage. As it stands, feral colonies are breeding grounds for these and other pests and diseases, and also put our native bees at risk (by disease or competition).

I also have at least two beekeepers within 10km of me that are actively selecting and breeding up queens with very different priorities over characteristics, so I would expect that genetic diversity isn't at huge risk within the beekeeping / honeybee community.
>Fundamentally, there's no real difference between Copilot and a human

Fundamentally, it's absolutely OK to allow humans to do the thing X and to prohibit AI from doing it. This is what I hope will happen here (though it probably won't).

>soon many rote coding jobs will be taken away since Copilot will automate them. And that's fine

Good luck finding enough non-rote jobs to re-employ those developers. It will be an interesting reflection though when "just learn to code" turns into "just learn to lay bricks for $10 an hour".
That's not necessary either. What we're talking about here is an analog for the real problem, which is "when using an object oriented language, write pure functions even though the language doesn't make you do it".

Static functions introduce friction against making impure functions, but not an overwhelming amount of it. If it's all you have, then there are worse safety blankets, but it's not going to solve your lack of buy-in problem. If everyone is on board then you don't need static functions. If they aren't, static functions aren't going to save you, they're just going to extend the amount of time you suffer before you wise up and get a new job somewhere else.
Google says attackers worked with ISPs to deploy Hermit spyware
Do you attach the licenses for every project you have ever looked at and learned something from? Do you switch learning modals when you use a MIT project?
> Breaking this principle in FP means hiding state in the lexical scope of a function.

If that's happening a lot that's not really FP anymore, is it?
Even supplemental, they give a bad vibe. They're just so unusual to see on a developer's resume, and it's easy to conflate that with the bad candidates who only have certificates on their resume.
Meta bans staff from open discussion of Roe vs. Wade
Let's say the US spent 2x on healthcare as some country, but had 4x the disposable income, would this still be overspending or would it be more efficient given the amount relative to income?

Healthcare spending in $ per capita doesn't capture how much people earn in that country or how much of a burden it is relative to their income so its kinda meaningless without more context. It's like saying the US economy is better than 85% of the OECD because its in the top 5 gdp per capita.
Slash'EM it's fun too, it's basically an improved 3.4.3 fork with new races, classes, weapons, objects, special dungeon levels and so on.

Samurai Doppleganger with a Yakuza rank and porting a machine gun? Why not?
I have seen on Lake Washington, in the Seattle area, someone with a 1-2 person hovercraft driving/flying around

At least one time they were dressed as Santa

I’m a big fan - ha! - of these devices, but they are very, very loud for the amount of convenience they provide
They need large numbers specifically because Russia is using large numbers. Each round typically destroys only one piece of enemy materiel. Used, it is gone. Even ideally, it usually takes several shells to destroy a tank or artillery piece, or missiles to sink a ship. If they have more of those than you have rounds, they win even if rounds are, in principle, much cheaper.

That is their logic of sending in T72 tanks. Yes, they are easy to take out with the cheapest shoulder-launched missile, if shot from in-range, but until that happens each is a grave threat to life and limb. They are sending in whole trainloads.
Head of Instagram Adam Mosseri: A creator-led internet, built on blockchain
Vscode has it on enter and it autocompletes insane things. You’ll type “end” to finish a block in ruby and it will auto complete to some weird function name.
This was going to be part of a bad stand up comedy routine I am never going to do. Bald is the last label and category that hasn't had its time to shine. Even actors who have hair take media roles that bald men traditionally have. Like Patrick Stewart being replaced by a dude that has to shave his head to be Professor X. And there is a ton of subtle bald hate in society even to the point of influencing career advancement. That is the same media representation problem other groups have.

With all that being said, down with groups and labels. Gotta move on from it as it is too easy for the wealthy class to take our self defined labels and categories and turn everyone against each other. The internet has allowed this process to be amplified.
Does your average mildly competent restaurant have braille menus to begin with...?
Touchscreens have replaced lots of human jobs. Self checkouts have replaced lots of human jobs. I worked in one of the very first grocery stores to have a self checkout added. They told us it wouldnt affect our jobs. If you go into any grocery store in the country you will see ~25% staffing compared to the late 90s/early 2000s. If you are askibg this question you are just too young to have noticed, or perhaps of a social standing that you just don't notice the people who are being swept aside by automation.
The business model seems to go something like this:
- Sell broken garbage at lower than average prices.
- Deflect a lot of complaints just by outsourcing support to an overworked call center with language barriers and constant redirects.
- If someone suffers through that long enough, offer a replacement.
- Drag feet shipping out the replacement, and send a different model of broken garbage.
- Play real dumb when they try to return the replacement. That doesn't match the model you purchased/that doesn't match the original delivery date/we've already sent a replacement.
- Stall indefinitely.
- Bank on anyone buying a Dell being too poor to afford to take them to court over not honoring their warranty.
> You really do need to document different expected dicts somehow, which is basically structs/classes.

As someone who does program professionally, my experience is that if you find yourself needing to do this (and the expectations aren't runtime-dynamic) you've almost certainly gone astray, and you'll eventually find yourself implementing a much poorer version of a type system anyway. Dict contents should always be treated as optional. If you have a case where you have 2 required keys and then a bunch of optional ones, define a struct/class that has those 2 fields and then a dict/map for extra values.

The only reason one might want a "schema" for maps is when you're dealing with something config-driven; for instance, in implementing a SQL engine, or assembling inputs to an ML model. Even then, your code shouldn't have expectations on specific contents, other than that the keys must be the same as some other map/list.

A few other similar rules I follow with weak/primitive types:

* Strings are opaque blobs. The only valid operation on strings is to test two strings for equality. No parsing, no checking "does it have a prefix", no concatenation - if you need comparisons that take multiple elements into account, write a richer type. The exceptions are in implementing wire protocols, and rendering data for human consumption.

* Booleans are not allowed as function arguments or member fields. Define a custom enum instead. You'll almost always end up wanting at least a third possible value. Even if not, it's useful to make the default state some form of invalid, so that you don't have to guess at whether a field is false because you meant false, or false because you forgot to set it.

* If there's a value property that you rely on (e.g., lists being sorted, strings being capitalized, integers being in some range), and that property needs to be preserved across a function-call boundary, wrap it in a type. It doesn't force correctness (unless you're using a language with dependent types), but it's at least stickier than a comment.
The only document that really ever had a significant benefit for me was my DD-214 from the military. Being prior military helped me get my foot in the door to the tech industry. It is still helping me today in my retirement. I needed that to get "Veteran" on my drivers license and I get a 10% discount and most of the local stores.

The certifications from training classes while in tech were not useful for my career but did come in handy when a few customers required {n} percentage of people to be "certified in ..." but those were very specific and obscure use cases.
But why is it &str not StringView? The main reason I see is that the lifetimes are more natural as &'a str instead of StringView<'a>.

I don't think this inconsistency is worth it. It is really just a hack that reinterpretes the (vtable, ptr) of an unsized type as (len, ptr). The only other type that does this are slices.

Or maybe the real reason is that Rust can't be generic over lifetimes, so you would need StringView and StringViewMut. But even that it doesn't seem like a huge deal to me for a simpler "language" (my understanding is that these hacks are actually done in std, but it's been a while since I looked at the code).
> That is a content free statement, you should think better.

It is the thesis statement of my comment. It tells you what I think of your opinion while the rest of them tells you why.

> Every project I've looked at,

Great. So what? That might be enough to show that many projects are terrible. It doesn’t show what those people’s aim was. And certainly not enough to show that nobody other than Knuth consistently aims to write well writen code.

On the contrary it is super simple to prove you wrong. I have multiple excelent colleagues and former colleauges who are obsessed about writing well written, readable code. They work hard to find the right abstractions, document their designs, discuss the macro and micro level consequences of choices they make. They worry about creating missuse resistant APIs, and rewrite code when they deem it not simple and obvious enough. They review fellow developers code to maintain these high standards. These are all forms of consistently aiming to write well written code.

When you say “only Knuth…” you are dissing all of these great engineers. And you are dissing them, without even knowing them.

> People seem to think that code quality means using consistent variable names and indenting.

You clearly haven’t met the right people then.
What we are discovering is that copyright is largely bullshit. 5 line code snipets shouldn’t have any copyright.

Copyright should apply to large and whole pieces of work only. The whole of a painting should be copyrighted. The style and technique should not. Same for code. Windows as a whole should have copyright. The snipit that handles a mouse click should not.
While on my way to Desolation Sound in British Columbia, I've run across the Canadian Coast Guard hovercraft Siyay

https://en.m.wikipedia.org/wiki/CCGS_Siyay

It was quite a surprise, and very loud. Heard it before I saw it.
Agree. It is how and why you use a tool that matters. Not the tool itself. So judging people based on the tool they use is probably wrong. The fact that I have only seen bad developers use debuggers might just be a coincident.
UTM should support most of the same features (aside from ease of us for installing all macOS versions). It also now supports paravirtualisation using the hypervisor framework.

https://github.com/utmapp/UTM
Hells yeah. Show up. People will eventually start expecting you. Then inviting you to things.

Then you’ll make plans. To do things together. And when the time to meet up approaches, sometimes you’ll feel like you don’t want to go. And that’s when you say to yourself “oh, you don’t feel much like going. How interesting. Now get off your ass and go do what you said you were going to do.”
> but does that mean it's a good idea?

Yes, to me it does. I love when variables have really tight scopes so I don't need to worry about if/how they are used throughout the rest of the program. Locality should be the default, not something that needs to be justified.

Creating a function is just unnecessary boilerplate if the code is not going to be reused. Functions are just named blocks with arguments. But if you don't need to name the block and don't need to reuse it with varying arguments, creating a function is just unnecessary.

Functional programmers are familiar with a concept called "let", which essentially gives you a way to introduce a variable and introduce a new scope just for that variable. This article is essentially just showing how to do that in JavaScript.
> Why would I write a separate schema when the object itself knows what it will accept, what is optional, and what range the values should be in?

Because data is just data and the meaning to it is given at the time of application. If you want to couple validation to the data itself - how do you decide which N of the meanings to validate against?
delivery service Daily Harvest tells customers to dump its new lentil crumbles
What is the failure rate in dog cloning services?
I’m so tired of hearing people say this as if we haven’t already googled every non-medical intervention imaginable before resorting to meds.

Nobody wants to be on meds their whole life.

Nobody.

Why do people always assume I and others like me “took the easy way out” and always say “well did you just try exercise/sunlight/chakra/insertdietyhere??”

Before I finally got a doctor that could help I was tormented by people like you because I thought I wasn’t good enough. Everyone else does these things and they’re “cured.” Why can’t I do it? Their response every single time was disbelief. “You’re just not trying hard enough.”

Just.

Just.

Just.

Just.

I’ve grown to hate that word. People that say it tend to enjoy being dismissive of real problems. I honestly don’t care to look thru your comment history, but I know the odds are pretty high I’ll see that language over and over… The thing is, my experience isn’t even unique. It’s super common. Yet there’s always people like you that try their best to make us feel like we aren’t doing enough and it’s our own fault. The odds are the person you’re talking to is not a complete and total idiot and they already tried everything up to and sometimes including shoving Gwyneth Paltrow “healing crystals” up their vagina before trying meds. I’m incredibly fortunate medication was able to sort of help. I can at least tolerate life and be somewhat hopeful for my future. Not everyone is so lucky. My brother, for instance, is suffering from treatment resistant depression. My family are all trying to figure out how to help him before it’s too late. If I heard you or anyone say “did you just try exercising” to him in my presence, I’d find it exceedingly difficult to not break your nose, because I know how much that kind of talk will make him bed-ridden and suicidal.
There were other articles but this one postulated a cause which I figured could be lectin poisoning. Be sure to never eat raw lentils or beans.
I wonder if there is more than one country in the world where it’s possible for companies to own their workers like this.

In Germany for example you can’t give away the copyright on something you wrote as a person. The only thing you can waive is the distribution part of your copyrighted works.

What you do outside your work hours is only subject to the law, not an employee.
This sounds specific to a particular company's organization where there are at least three different systems involved and no single source of truth. It seems like that's a problem in itself - how do you get everyone to refer to and update the same document?

Ideally everyone would be using a single type definition. Admittedly that's more common with protobufs, though, where you can't send any data that's not in the definition.

Come to think of that, it's true of plain old structs too.
If there are ten thousand homeless people in a city confined to one area, and it is reduced to 5k but spread all over the city, the people will see it as an increase.
But they're not robots - they've just outsourced the checkout job to the customer and made it so they require minimal training. Technology has made this easier, but it's not robotics.
Why would you need 4 rails?

| | |
| | |

Left wheel uses left rail.

If narrow gauuge, the right wheel uses the innner rail. If wide gauge, the right wheel uses the outer rail.
It's still coming, the biggest impact will be in self driving trucks and commercial vehicles, next to that it will be in heavy equipment operation, farming, etc. And then in healthcare, etc.
This story inspired me to revive my Acer Switch 5 tablet. When I booted it last (before today), the display was glitchy. I don't know if it's faulty hardware or Linux, but I do know the glitches never appeared in the Windows recovery environment. Recent (5.13.x and later) kernels seem to have ameliorated the glitch problem, which would cause the display to flash off for a split second from time to time. Very distracting. Small glitches still appear, but very infrequently.

Anyway, with a fresh Void install and EFI fuckery-duckery, it somewhat resembles a working tablet now. I'll have to get a new battery for the pen but that's a minor detail.
We have companies literally taking the whole Linux kernel and not following the license out there. There is no way the legal system gives a shit about AI generating the same textbook degrees_to_radians function.

Copilot never generated anything for me that would justify any kind of copyright.
Sure and yet rules are no very transparent and Citadel representative is member of DTCC board
I wonder if Alan Kay would agree or argue with this sentiment, but it seems to me that the choice of 'oriented' was intentional and that we've consistently fucked it up ever since then.

Orientation should have been 'a preference for' not 'a dogmatic adherence to'. A hot-dog based diet still contains bread, ketchup, mustard and pickles, possibly some sort of cheese. A hot dog diet is just hot dogs, which is much, much less interesting, and there is no question that it is unhealthy, whereas the former might have some plausible deniability (especially if you add beans).
I don’t feel I understand physics from reading Newton any more than I understand philosophy from reading Plato or Literature from reading Homer.

If you study any of these subjects in a normal college, you’ll learn about the actual subjects in progressive depth.

At most great books schools, the “subject” is the intellectual tradition as a whole - that’s the only thing you study in progressive (it non-linear) depth.
If that baker intends to sell that bread they also may run afoul of non competes.

See https://www.eater.com/2017/10/13/16459044/non-competes-chefs...
I used Pydantic on a recent project. It worked well.
Why is it that in every post about a problem there's this what-about-ism? We can talk about the issue at hand and then the other ones separately.
I have heard these days a lot of programmers in these companies do all of their development inside of docker or VMs so they can actually get stuff done without filling out an approval form to update their linter.
In the security field, CISSP is worth it. Many federal and private sector jobs require it, or won’t take you seriously without the credential.
It turns out it's untrue, after reading other sources.

Instead, they had to resurrect a Windows 98 development environment to patch the software running on the DSPs.

https://www.tomshardware.com/news/mars-probe-gets-windows-98...

I was a little credulous reading some of the poorer quality sources reporting this. On the other hand, I've reluctantly deployed DOS and pre-Windows-NT embedded systems to run various instruments. (I've gotten away with running Wine and box86 on little ARM SBCs sometimes, but at the cost of having even less support from the hardware and software developers). Running an ancient OS in a small environment embedded can easily be the "least evil" thing.
just in the interest of hopefully working around your problem: hckrnews.com is my go-to for mobile (and desktop now, actually!), instead of news.ycombinator.com. I find the former much friendlier for mobile, like i.reddit.com instead of old.reddit.com
What a rant, my first reaction was 'OK Karen'. Solutions for normal people:

- Do a chargeback, cant here due to lease/credit

- small claims court, cant because forced arbitration?

- invoke Lemon Law, doesnt apply because technically its not yours until paid in full

- live in a country with consumer protection laws, or even a state (NY has dedicated computer lemon law) altho https://www.findlaw.com/consumer/consumer-transactions/custo... doesnt look encouraging

Does ranting on twitter at minimum wage employees not even living in continental US ever help? Machine doesnt care about you and your words.
I met my now wife on this game when we were living on opposite sides of the United States. I don't play the game anymore but I kept the wife.
Most likely he's Mike Acton.
Well I had kind of the reverse situation: I wanted to contribute to Cygwin, owned by RedHat. RedHat would not accept my contributions unless I got a signed release from my employer, IBM at the time. Well I tried to get this signed release, but all I got was the run-around. Nobody would bother taking the risk. It's one of the reasons I left.
Enormous Swiss water battery to start operating next week
"The Dixiecrats' presidential candidate, Strom Thurmond, became a Republican in 1964"

The national parties didn't meaningfully realign, that's probably true, but the racists did.
I just made some Snoop Dog Bored Ape Yacht Club NFT images (inspired by your question), and the output makes it pretty clear they've even scraped the real BAYC images.
I'm wondering what happens to the woman who collects bottles in my neighborhood for her son's wheelchair when this technology comes to the third world.

That said the local garbage dump is encroaching on a refugee settlement, if it was something that could help it encroach less on that maybe it's a good thing.

Lots of factors here.