skysight-inc/HackerNews huggingface dataset:
ALTER SELECT-PATH TO PROCEED TO PATH-2.

That stores into the code.

In the early days of computing, programs did not have a call stack and code was not usually re-entrant. No recursion. So, finding a place to store state was tough. This is still seen in some embedded code.

It's all Von Neumann's fault. The program is stored in main memory, and he makes a big point that this means the program can modify itself. So early programming languages, operating systems, and CPUs tended to have support for that. Von Neumann didn't think of index registers. Array access involved code modification.

It took a while for index registers to become a standard computer feature. The first one was in the Manchester Mark I, but they were, for too long, a "high end" feature. The IBM 650, IBM 1401, and the Intel 8080 lacked them.[1] Building in an extra adder cost money.

[1] https://en.wikipedia.org/wiki/Index_register
Fat people hate and the Donald both fit his narrative.
I think we're at a shifting point where people would be willing to pay for social media vs seeing ads and/or having their data being sold. I recently launched Glue[1] in my hope to have a social network that respects user privacy, offers an ad-free option and selfishly scratches the itch for features I wanted.

I ran my previous startup (Twitpic) completely on ads and it wasn't an enjoyable experience from the business side. It also does not (usually) align with the user's best interest. Ad business models requires attention to feed it, which in turn requires social media companies to build features to get as many eye balls for as long as they can on their app.

I also don't think paid only is the answer either for most cases. Some are ok with seeing ads in exchange to not have to pay to use. I'm curious to see if there is a balance that can be struck with services offering both options.

Brave's new search engine[2] is another example saying they will offer a paid option in the future. I used their beta and it's solid. I'd be willing to pay for it to be free of Google and help sustain it.

[1] https://glue.im/glue/glue-a-social-network-that-respects-you...

[2] https://brave.com/brave-search/
I consider that ebb and flow a totally acceptable part of human reality - as long as you find yourself not self-destructively procrastinating in the lower energy times, it seems sustainable to go at 75% (making up a number) sometimes and 125% later when the time or energy is available to you! I like feeling like it's my choice to go at 125% though - personal agency has always been key to keeping myself invested too.

The behavior modeling you describe in your post most resonated with me at the present moment - as I become more of a senior employee, I feel pressure to perform from management, but also pressure to model sustainable behaviors. The Netflix culture book covered some of this with respect to time off. Top-down is important for culture setting.

I am holding up well, thank you! But ~6 months at the new company, I wasn't holding up great and needed to seriously rethink my time management (hence a lot of this being fresh in my brain). I'm fortunate to have been able to fix this to the best of my ability before my son arrived - but at a company with a pride for startupiness (read: at times a total lack of planning), the balance I have needs pretty regular maintenance.
In the optical world we call it OTDR (optical time domain reflectometry). What an imaginative bunch we are /s.

You can get a tiny box to do it, to find fiber breaks and bad splices.
A dreadfully frustrating file transfer protocol.
New nerve links between brain and organs shape thoughts, memories, and feelings
The Electrobat was at least 30 years after the first electric car. The bat was the first mass produced on that got any traction in the market.
We used SealedSecrets which allow us to asym encrypt our secrets to the cluster's key, the we can just stick them in git.

https://github.com/bitnami-labs/sealed-secrets
Australians ‘prisoners’ of Covid as country cuts international arrivals
Step by step guide for building a startup: from idea to exit
We wrote a detailed highl-level overview of the usual startup journey, and I think it's going to be useful for first time foudners. I hope you guys find it useful.
Cheers!
First class functions are also very similar to dynamic gotos: https://dspace.mit.edu/handle/1721.1/5753
In Google’s defense, it’s not that Ben didn’t go to college it’s that he’s still a college student. This is less “experienced ML dev iced out over lack of degree” and more “college kid does something amazing and some people aren’t sold to hire him on the spot.”

That said, I wouldn’t feel bad for Ben. The world is his oyster.
The missing space isn't the only thing wrong there.

- This lists the lines containing copilot instead of the files. You want `grep -l` to list the files.

- `--size +1000` finds files with over 1000 blocks. `--size +1000c` gets you files over 1KB.

- `-name "*.py"` only finds files literally named `.py`. To find files that match the glob `.py`, you would single quote it like `-name '*.py'`
> the software/display circuitry these days correct for the display gamma so that if you write 0x808080 you'd indeed get 50% of light emission from the display

That's precisely what I'm observing on my phone. The grayscale gradients, and downsampled checkerboard, images from the article look correct with gamma=1.0
Copilot AI is leaking secrets
I agree we need more education if people think Galileo was burnt at the stake.
> Psychology has embraced scientific methodology.

I refer you to my statement about "unchallenged assumptions". Like the assumption that the reductive scientific process can be glibly applied to emergent complex phenomenon like psychology. As I said, people can say they are doing science, it neither means what they are doing is good or correct science.
That's one valid use of an idempotency token. Also e.g. POST submission of an order or transaction.

But these are implementation-specific, and available (and in active use) today under a few common HTTP header names.

It's not clear why the header name should be standardized.

You could move idempotency implementation up to the load balancer or the proxy layer. I'm not convinced that would be useful, because to implement the hard parts of idempotency (esp across instances), you'd need to add a bunch of extra complexity there, which is already a committed cost at the application layer.

But if, say, haproxy or nginx release a new distributed idempotency caching feature, maybe that would change my mind.
How Electronic Components Work
Is it possible to emit a small plasma field to eliminate air in front of the vehicle? How much power is needed?
why can’t someone say hey “I liked your book” which doesn’t advocate for violence or harm, and be attacked and canceled for it? Cancel culture is a sickness on society with no end until it consumes everyone

So writing those two sentences, one after the other, didn't give you a moment's pause?
I think it makes sense to work 60 to 120 hours a week when you work for your dreams.

There is no sense working that many hours to fulfill someone else's dream.
we should not be expecting a magic fix by science. Unless microbes in cow stomaches can fix stupidity in humankind.
We do need science, but we really need to pull ourselves together. Why do we have plastic? It all goes down to the system in we live, and the people going to space for fun!
Thanks. Is there at least some kind of super-elementary comparison?

E.g. energy consumption per-passenger-mile for a fully occupied Japanese bullet train while moving at maximum speed, versus for a fully occupied Boeing 737 at cruising altitude?

Obviously there are a million other factors, like takeoffs and landings, and trains stopping, as well as fuel vs electric, but wondering about even just the most basic operation.
IMO there are two critical components to fixing the social media business model:

1. The platform/provider/server needs to work for the users, not for some shady third party like the advertisers. The most obvious way to do this is to have the users pay for the resources that they consume. There are alternatives, too -- users could band together to form cooperatives, or some benevolent foundation could kick in a lot of funding. (This last one is the current model for Signal; I guess we'll see how well it lasts...)

2. Key to making #1 work is that all the content needs to be end-to-end encrypted. Otherwise the platform will be too tempted to also start doing targeted advertising, in addition to charging for access.

Neither of these is all that difficult. We have all the technology right now. Mostly we just need to get people together and do it.
The other point about unit tests is that they allow you to test far more permutations. At a micro level, you can test more of the possible types of inputs to your function. When you move to integration tests, the permutations multiply to the point that it would require billions of tests to test the same range of inputs.

This is why both are so necessary. Integration testing tests whether the whole thing is coherent when put together. But it’s terrible for testing edge cases and error scenarios. That’s where unit testing comes in. It gives the developer a chance to codify every edge case they’ve considered to automate the process of catching regressions.
All the ads, the file search that searches Bing and can’t be disabled, the telemetry that sends the websites you browse to Microsoft. There must be some product manager over there whose bonus is based on how much ad revenue they can get out of Windows, no matter the cost. Installing the Windows 11 preview is just depressing, like you say it really makes me feel like they don’t care and expect people just to take it.

For your specific notification icon issue, I thought you can just drag the icon from the pop up tray to the main system tray to keep it always visible?
Interesting!
'Shir' means lion in Farsi, 'sheer' means milk so Shiri would mean 'you're a lion'

If you use a hard r 'Siri' translates to "garlic-i" or "you're a garlic"
The PDP-8 has a fun method of returning from subroutines: every subroutine has a spare word allocated at the beginning of it, and it gets the return address written to it when the subroutine is called. Returning from the subroutine is therefore a matter of jumping to the written address. This lets you call a chain of subroutines without a stack, but of course recursion is impossible.

This is maybe common in similar machines?
Plenty SMBs are making physical products running software, have software supporting manufacturing, ... Plenty SMBs producing software are not "startups".
I am not advocating static. I'm advocating for looking at what the compiler outputs when surprising behavior is encountered. The example is extracted from a larger piece of code, and I reported the minimal case as-is.

If anything, the title is meant to be read as "isn't it amusing that something apparently unrelated such as `static` causes a performance improvement".

That said, I have added a note clarifying this at top of the post now.
I agree with news cracker, and I would like to know what open source options are available aside from this that would run in a Linux environment.... googling
> which is very unfortunate coming from RedHat...

It's sad but undeniable anecdote, most easily explained by ignorance; Red Hat is just an IBM brand serviced by low skill/cost IT drones now.

The fact that Kubernetes uses base64 for storing secrets by default is another head shaker. One would think self respect would preclude this sort of thing.
The M1 uses LPDDR4x which can't conveniently support ECC.
Another fanatic blog post about how something is always correct and another thing is always wrong.

Blog posts like this will lure you into thinking that there is a single right approach. Don't fall for it.

Do what makes sense. If it doesn't work try something else the next time. Becoming good is about growing your ability to make the right calls, not blindly following a methology.
You really need to propose solutions, not just say that the obvious option is not going to work.

Free speech has never been as vulnerable as it is now. This is a new situation that absolutely requires for new solutions.
Can you hack a computer using USB?
Duncan Makenzie had a new minisec, and he was not quite sure how parts of it worked.

The 'Sec was the standard size of all such units, determined by what can fit comfortably in the human hand. At a quick glance, it did not differ greatly from one of the small electronic calculators that had started coming into general use at the end of the twentieth century. It was, however, infinitely more versatile, and Duncan could not imagine what life would be like without it.

Because of the finite size of clumsy human fingers, it had no more controls than that of its ancestor of three hundred years earlier. There were fifty neat little studs; each, however, had an unlimited number of functions, according to the mode of operation - for the character visible on each stud changed according to the mode.

-- Arthur C. Clarke, Imperial Earth, 1976

http://www.technovelgy.com/ct/content.asp?Bnum=1267

That itself was nearly a decade after the newspad of 2001: A Space Odyssey (1968):

http://technovelgy.com/ct/content.asp?Bnum=529

https://www.invidio.us/watch?v=-3949GAIokg

See also "As We May Think" by Vannevar Bush, 1945. http://www.theatlantic.com/magazine/archive/1945/07/as-we-ma... (Numerous HN discussions: https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...). You'll find similar notions proposed by H.G. Wells (1930s), Paul Otlet (1930s), and arguably Denis Diderot (18th century).

The notion of universal access to media is hardly novel or original. The technology to make it happen did take some time, but the outlines were clear by the 1960s and before. It is indeed the property and rights aspects which have principally held us back. It's interesting to note that for any printed materials, with SciHub and LibGen, the battle is very nearly completely won.
I started from zero, and my approach was to read Nocedal/Wright cover-to-cover, and then the same with "Numerical Linear Algebra" by Trefethen/Bau. Usually it goes the other way, but I found the linear algebra primer in N/W to be good enough to get started.

I also read "Practical Optimization" by Murray/Gill, which is interesting because it has a lot of conversational coverage of e.g. corner cases, stuff that most textbooks won't cover.

That will cover the expected baseline of almost everything you'll encounter in the convex smooth continuous domain. I don't have great answers for moving past that.
> Things have deteriorated ...

I'm sorry about that

Can't reply to your recent post, (it is disabled), so replying here

I also have a learning disability

> Now, as a middle aged adult, I'm broken, homeless, and destitute, socially and reputationally ruined, and a bit beyond the level of youthful neuroplasticity needed to engage in meaningful continued education, contemplating suicide day in and day out for years and decades on end. It's a miracle I'm still here

What things give you hope? What are the miracles that still causes you to be here?

You mentioned praying for forgiveness. Did you receive an answer? What would you like forgiveness for?

Looking forward to hearing from you
The tipping point wasn't anything to do with OSX IMO. It was iOS. Still my absolutely biggest grudge against Apple is how shitty and locked in the iOS ecosystem is. I haven't wanted a Mac as a developer machine for the last 5 years but since I have to support iOS, I don't have a choice. I had a year "break" where I actually needed at Windows machine and it was a dream. Touchscreen was so incredibly useful.
Changing of the Guard at Amazon (AMZN)
Wow, you're such a badass letting the world know that you failed to grok systems programming!
> It's a false dichotomy anyway. Steve could've been a nice person but instead he was an asshole. You're just letting him get away with it because someone else does bad things too.

You won’t find anything in what I said that is related to this straw man. Nothing I said excuses his behavior.

It’s also absurd to suggest he got away with anything. He is well known as an ‘asshole’.

My point is that you and others who focus on Jobs are letting everyday passive aggressive corporate asshole behavior go unexamined just because the anger is hidden with a fake veneer of cordiality. Jobs is a scapegoat in this regard.

Steve was no worse than a passive aggressive middle manager. The difference was, he wasn’t fake. To put it another way - he would stab you in the front rather than the back.
China bans Didi, its biggest ride-hailing service, from app stores
I don't think the monetization and business aspect is what makes social media so bad. It's more that they're going about it in the wrong way.

You make the comparison to AT&T. They charge a lot of money for the service that they provide, and as you mention, they don't do all the shady things that social platforms do.

Most other great tech products are provided by businesses. Apple is the prime example of a company that is both (a) massively successful and (b) not hostile to their users' privacy.
> Apple made the transition and, as a result, all software and hardware this company had invested in became obsolete, virtually overnight. We are talking about a non-trivial amount of money and resources.

Are you talking about the 68k to PPC transition? Because Apple made an enormous amount of effort to ensure both forward and back compatibility so I don't think your statement is true at all. "Fat binaries" allowed new software to run on 68k systems for years after the transition - you could even run 68k Mac apps on OS X for a few years!

And future versions of MacOS remained compatible with 68k Macs up until (if my memory serves) Mac OS 8.1. Even if you didn't upgrade to OS 9, most software ran on 8 anyway just fine.

They had to draw the line somewhere, but you had a long time to deal with the transition thanks to Apples efforts.
There are ways it's not better over other tools, but many of those are being addressed, because it's a strong open source project with increasing resources.

Maya has a one up on the character animation tools, with addons like Studio Library for a pose library, though now Blender 3.0 in October(ish) will have a very similar feature. And there's others like lattice in the graph editor that Blender does not have yet.

Houdini is awesome for node based procedural animation and simulation, now Blender has Geometry Nodes, as a step in that direction...
Nintendo is complaining about a ROM store owner they sued missing a $50 payment
I personally spend significantly more time writing git commit messages than reading them. Spending lots of time looking at old commits is IMO a sign of poor code quality. Similarly, summarizing each change deserves some real thought so when you are reading these messages their actually helpful.
I know this is a joke, but the idea feels very over engineered and unnecessary complication.

> emulation is still stuck firmly in the 20th century writing single threaded C++ of all things

I just don't know why you treat C++ as a 20th century language.

It has involved a lot and now we have C++20.
Ah, the old "they only need to double the budget" approach.

So simple and straight forward.

What are they cutting to do that?
They didn’t create rocket companies that could fly themselves into space.
Removing the_donald sub was ridiculous especially when compared to equally if not more objectionable rhetoric on main subs like /r/politics. Additionally if you want to get rival subs banned on reddit you just post and report objectionable material icognito. Reddit is a dumpster fire of juvenile , woke idiocy now and I rarelt visit anymore. That said some of the content on the_donald was just as idiotic but if you are going to allow one you have to allow the other.
At my work we all use google meets and only zoom for some external customers, the experience seems to be much worse with zoom in general regardless of the OS

I strongly disagree. Zoom on macOS and macOS works very well (I currently use it for a remote course). My experiences have been far far better than Teams, Google Meet, Skype, Jitsi etc. Most of which I have had to use for work or private. My wife is hoping that her employer will relent sometime and offer Zoom, because she prefers it so much over Google Meet, whatever Blackboard uses, etc.

It could be that your experience is colored by the Zoom web interface, which I only used once on Linux and it was terrible then.

I haven't used HiDPI monitors on linux yet, being able to use linux easily is more important to me for dev, it's a known area of weakness, and I just don't need the extra pixels for dev so it's easier to just avoid it.

For me it's one of those things that can't be unseen. I have happily used lo-DPI screens for decades, but since I can't really stand lo-DPI screens anymore since I had my first retina MacBook. Even though I am doing development 80% of the time, I want my fonts to be crisp.

If you can get away with a browser, then it's not bad at all... and when there is an option for a native version, use the browser, because usually it's some horrific electron thing that's even worse.

I guess that's true on Linux. Unfortunately, very few web apps beat native applications like OmniGraffle, the Affinity Suite, or even PowerPoint.
That's almost too painful to read
To defend what exactly? Literally every big corporation had rainbows everywhere in the last month, almost all denounced racism and embraced BLM last year. Not much was done against BLM protests/riots.

So what exactly is the free speech issue around these issues?
As others have mentioned, this doesn’t scratch the surface on the actual hard stuff. How do you get your secrets deployed to k8s, and kept up to date?

Some options I like:

* vault. Very flexible, you can have your app talk directly to vault and skip writing your secrets to disk. Or use plugins to populate k8s secrets from vault for consumers that can’t talk directly to vault. It’s a bit of a pain to operate vault and best practice is to put it in its own VM/cluster as k8s is not sufficiently isolated between processes.

* sealed-secrets / kops. You can encrypt your secrets with public/private keys and commit the encrypted blob along side your code. The private key lives in your cluster or deploy env. Has the strong advantage that secret-changes can be validated and deployed like any other code change, instead of requiring an OOB deploy process.

* your cloud provider’s KMS. Does what vault would do here, no operational maintenance is a plus. But you don’t get many of the fancy features from vault if you take this path. (GCP’s Secret Manager gives you a nice UI for managing secret versions though, for example).

I’m sure there are many other approaches too, these are just ones I’ve used at different times.
I wouldn't rule it out entirely; you could use these as a replacement for linguistic inputs in a tts system, for example, and I imagine it wouldn't be totally terrible. It would still end up being a pretty heavy system, though, with many other parts.
I think you're misunderstanding my question. I understand why idempotency tokens are valuable. What's not clear to me is why HTTP would need an "official" idempotency token. The behavior of APIs that run over HTTP is not properly part of the HTTP specification.
Can you give an example of how you see this changing?
> Nature learning or us teaching nature to do so removes its usefulness.

So, we create bacteria that can eat plastic. The bacteria starts to eat our food packages and spoils the food. We create eating-plastic bacteria-resistant plastic. Full circle.
Blender also has modifiers and can do many things non destructively. (Been a while since I've used Max heavily though.)
Sad seeing the parent comment getting flagged. Censorship by flagging a very real problem on HN, but from what I can tell its mainly the users abusing it not the mod team who are generally well-balanced.