skysight-inc/HackerNews huggingface dataset:
And we're also better off for the US not invading Russia, North Korea and Iran. That is what was so suspicious about the US Civil War, the US is traditionally fairly heedless of terrible things happening unless it smells an economic benefit from being involved.

The traditional tool for ending slavery has been prosperity. That worked pretty much everywhere it was tried - including North America. Armies are not a tool of creating prosperity, so it seems a bit suspicious that this was the best path in the Southern US. Obviously the States gets to sort itself out with no involvement from anyone else, but it is a very open question whether holding itself together was the best choice.
I dont thunk anyone is saying that govt must not have secrets

The pushback in this article (and in this thread) is against some kind of supra priviledge that you can default certain secrets to "default opt out" from standard secret rules

There is a problem with an entity that has the monopoly on violence also having a monopoly on state information
Or they did, because the people to benefit from those tax cuts happen to own the media and pushed the very anti-abortion and xenophobic ideas that got him elected...
> You don't need realpath

Yes you do (or a suitable alternative, e.g. GNU readlink).

> The `cd` into the directory + `pwd` is equivalent.

You won't know which directory to cd to without realpath. Just stripping off the filename does not get you the correct directory if the file itself is a symlink, which is a common use case.
I get what you are saying but you would be surprised how fast financial forecasts balloon at scale.

200 developers @ $150k a year = $30M

$200M/$30M = 6.5 years
I agree with most of this. I end up with a lot of

sh 'make all'
sh 'make test'

In my `Jenkinsfile`, but there's not a great way to test things locally.
I think it was the initial need for slaves in the Caribbean, which was later supplanted by sugar.

https://history.howstuffworks.com/world-history/indigo.htm
A few other folks (including myself) are or otherwise continue
to teach D.

https://youtu.be/V2YwTIIMEeU?si=To2DBlzz30XAUptN

https://dlang.org/blog/2022/02/19/how-i-taught-the-d-program...
PDF as a format is bad when you want to edit or extract text. But do we have an alternative to it that is as portable?
Statue for the groundskeeper!
I live in the upper midwest and, like many other places, don't get much light in the winter. I don't get much light in the summer turns out since I'm inside most of the day anyway, but winter feels worse. A couple years ago I was suggested a SAD lamp, and man did it make a difference. What I've learned this year though, is it isn't enough. It's a small square light that sits in the same place and only comes into your eye at a small angle.

Article[0] came up across a feed which was saying the same thing, and I said screw it, and got two 100W LED corn bulbs[1] that the article suggested, and boy did it make a difference. Literally came mid last week, and for the last 4 days, I've had more energy, better sleep, and felt better than I have in months, years even. Incredible difference for $60.

The corn bulbs are just like light bulbs so they fit into the same sockets (some are bigger, but get the ones that say E26). You can also get specific lamps to put them around. I also got some construction string lights[2] and hanging those on my wall. Makes it almost seem like I'm in a museum which is cool too.

My goal is to get some more lights and make my living / office area legit feel like I'm outside on a summer day. I have a lux meter coming today to be able to see and judge intensity. If it's too intense, I can turn them off like I'm going into the shade.

The importance of letting your body know when it's daytime and nighttime, which is talked about in the article, makes all parts of life better. Eat better, more energy to do things, less angry. Part of me disappointed I didn't know this before, but another part glad that I'm catching on now.

[0] https://meaningness.com/sad-light-lumens
[1] https://www.amazon.com/dp/B09ZHMD5ZL
[2] https://www.amazon.com/dp/B0C5X7XLRQ
Not sure what "shoes shits money" means, but contextually they had $9.9B in revenue for the year 2022 and an operational expenditure of $9.4B.

I believe this means they generated $500m for bytedance, but I can't find a good citation, bytedance itself generated $6B in profits though for the fiscal year 2022

https://www.statista.com/statistics/1342785/bytedance-key-qu...
FWIW, the plugin system is supposed to have sandboxing as well.
Here's one case. Instead of

let letters = word.chars().filter(|ch| ch.is_alphabetic());

you can just write

let letters = word.chars().filter(is_alphabetic);

since the difference between "methods" and "functions" is purely syntactic.
Anthropic, OpenAI's biggest rival, has a weird structure too
Ha, I once had the exact opposite problem. I studied part of my CS degree in France, in French, but for some reason when I went to sit the exam, they thought I would like to have the exam in English. I freaked out - I didn't know any of the terms in English, only in French. Fortunately they had a spare copy in French for me to work from.
To be more precise, ActivityPub is pretty much just a JSON/HTTP version of email.

There's a few fancy things to have stuff like user profiles and stuff to make it "look nice", but if you look "under the hood", the data structures you find ends up and the methods of communication end up looking more or less like a modernized version of email.

---

Mastodon is a sub-implementation of AP that follows some of the components and then weirdly tweaks some of them in weird ways (because Mastodons internal representation doesn't actually match up with these data structures and Gargron wanted some features like Content Warnings without bothering with the entire process of protocol modifications, so he ended up cannibalizing a different field for it, resulting in an implementation that... mostly results in people yelling at each other for not using CWs "appropriately"), resulting in strange compatibility issues when writing your own AP instance.

Most AP instances typically end up trying to then match Mastodons weird implementation (basically look at the social feed of any AP implementer for long enough and you'll find complaints about how Mastodon doesn't follow the spec), simply because of Mastodons excessive popularity.
40 years of Turbo Pascal, the coding dinosaur that revolutionized IDEs
Nothing quite shows how deserving one is of filling a responsible role than dragging personal conflicts into the public and - without providing proper context - blaming other people for it.

My congratulations to Hans; as it turns out, he has done the F-Droid project yet another excellent service.
Repost: https://news.ycombinator.com/item?id=34038663 (11 months ago)

> We employ Large Language Models (currently OpenAI GPT-4)

For IAM, this seems like a disaster waiting to happen. Combining hallucination problems with security settings is not a path I would consider
It's in cpp2/cppfront I believe, for the record
'Drug use is a health problem': inside one of the oldest legal consumption rooms
Vialibri: Physical Book Meta Search Engine
Until you get the worst of both worlds and have to align an enterprise architecture approval committee, get cyber sign-off, put the request through your service desk, have it land with some sort of enterprise task prioritisation team, and finally land with your internal cloud team to action the request your team isn’t empowered to do, only to then have a simple service provisioning turn into a massively overcomplicated set of extra cloud bits and pieces getting provisioned and retemplated and secured and configured over the course of months, as that overallocated team find 20 minutes here or there only to hit some new wall as the cloud settings look different to the last time they did it or some unforeseen setting requirement was overlooked in the original request, leading to a two week lag on email responses and ticket handover before it gets picked up again.
And not make their music available on CD/digital download? Taylor Swift is not going to agree to make her music only available on Spotify. That would be insane. Some small act might. In which case no one would care.
Python can call C natively. Also Python programs can be used as CLI tools interacting with practically any language. Julia programs in practice can't.

But I know from experience that this debate will not go anywhere. It's is the same old refusal to see the problem: "you're using it wrong".

Julia is dying and this is why it will die.
Maybe (just for the sake of argument), but does the work make that argument or does it just do whatever it wants and force us to justify it post hoc?
From your link (emphasis mine):

> In each case, c is a positive constant and *n increases without bound*

It is indeed crystal clear what "asymptotic" means. If you have a definition for O-notation in non-asymptotic contexts, I have never heard of it.
> many manufacturers don't restrict flashing a different rom

Manufacturers don't, but app makers do. I know people running on LineageOS that have to keep a second smartphone on stock Android for their banking authenicator app (which fails on Lineage because it's not the manufacturer-supplied ROM and that supposedly means it's been hacked).
Spotify was, in theory, a growing product oriented company which means everyone is focused on growing revenue. To focus on cost savings means enough to make up for the GCP bills means you focus less on revenue and that means less growth. Saving money and losing 20% of your stock valuation due to slower growth is not a good trade off for those running such companies. That's not to say you can't have slow long term cost oriented initiatives but drastic efforts at the last minute (what you'd need to save those 17% of jobs this year) aren't that.
Interesting result, but I wish they hadn't used scheduled appointments as the content of the note. I don't write down scheduled appointments because I want to have them stored in my mind, quite the opposite. It would be much more interesting if they used something you want to learn and memorize. I expect the result to hold, but still.
How does blameless culture work with at will employment? It seems like there could be a real risk that a company's claims that they are blameless ends up being a trap.
I built a lot of weird 'inventions' in university, such as an airsoft sentry gun to keep squirrels away from the garden. I was also in a student club.

I don't think any project specifically made potential employers say 'wow, we definitely have to hire this guy', but I think having actual experience doing stuff and demonstrating an interest for the field goes a long way towards landing you those first couple of jobs.
Well I'm not certain about life on twin earth where I chose differently, but I'm quite happy. I still live 10 miles from where I was born in New Hampshire. I still work at the company that I interned with when I was in high school. I am now part owner.

I probably have a lot less money than if I went to California, but I have a house and family (2 children so far, we want more) and I somewhat think that if I went out west, it would be harder to have that, at least I would have probably delayed it by a decade or more, like people in cities seem to do.
I am sure big software companies wouldn't agree on this: decompile Excel or Photoshop and copyright the resulting code, and you shall get a nice lawsuit within days, if not hours. However, I guess there would have a bit of ToS breach, a pinch of DMCA and a lot of copyright infringement for reverse-engineering the software, maybe not that much for copyrighting the decompiled code.
I remember reading a very well written article on stuxnet, detailing the entire way it worked. It was written in a very story-like way that built slowly until it revealed what the actual payload and impact was. Does anyone have a link to this article?
Julia does have binary executable generation options, but most people only find this out after a few weeks. And yes, one can also call it as a library (.so or .a) from within C/C++ .

Julia is the first unique language I've been excited about in decades, as it can often outperform C, C++, and numpy in several use-cases. The only downside is until the 170MB+ lib is cached by the kernel, it gets panned by BS perf stats due to initial i/o constrained load times on some platforms.

Good luck, and have a great day =)
Yes technically, and how could you possibly enforce that? There is no rule forbidding it, so by default most employers still require it in their applications, but if they don't and you don't supply it, they will be suspicious.

There is no way around that problem unless that practice is explicitly banned. Instead, you just get this weird workaround, that doesn't technically ban it, but makes it completely unenforceable, giving the German bureaucratic system an excuse that they addressed the issue without ever having to address it.
Indeed. If you are the board of any publicly traded technology company right now, and you don't have an AI strategy that you are telling the market, your stock is going to take a beating as investors flock to those who do. The strategy doesnt need to have a lot of meat behind it. Once it was crypto, now its AI, tomorrow it'll be something else. But AI has really captured people's imaginations, which means even the most foggy investors are looking at it. That drives leadership behavior more than the tech itself
> My point was more that if you’re trying to decide which method is better for remembering something (handwriting vs. digital), the introduction of a spaced repetition system (either software like Anki or a Leitner box for handwritten notes) will outcompete either one that is used alone.

The study in question compared three groups (pen & paper note taking, smartphone and tablet) on information retrieval and note taking duration after reading a dialogue.

Maybe I'm misunderstanding your point, but that systematic spaced repetition will lead to better information retrieval is kind of obvious and has a lot of literature to support it, but how is it relevant to this study?
I'm not saying invade this or that. I'm saying, if the South had persisted as a state, it could very well have lived on way past its prime as a fundamentalist slave state.
There's this guy in my town who is still clinging, somehow, to his life in the as a long-haired metalhead hifi bro and I cannot wait to see the look on his face when I go down there and drop a couple paychecks in his lap and say "enlighten me" ;-)
Go out. Remember there’s no bad weather, only bad clothing.
My introduction to C++ was C++ Builder, Turbo Pascal's spin off. It great for making desktop apps. I was horrified when I started using Visual C++ how unconnected and hard work it all was.
Time to first plot (this is the time you have to wait for any plot if you don't do REPL/notebook in analyses). It's a commonly used term in Julia discussions.

Nowadays also called TTFX where X can refer to variety of things.
> Why would you use tubes if you're not making guitar distortion?

Why even bother building something when you can simulate it on your PC in 10th of the time?
+1. This style of public post that say "I'm leaving because of problems which I am not disclosing" are odd.
re: controls

Custom controls are the enshittification of the <video> tag. IMHO there's no custom video component that allows the user to control volume, picture-in-picture, AirPlay, control speed and scrubbing better than the standard controls, especially on mobile.
The other mistake you made was assuming that your personal experience is valid for the economy as a whole.
Building AI without a neural network
Unravelling AEMO's Integrated System Plan [video]
That' only 6% of revenue (https://www.kamilfranek.com/microsoft-revenue-breakdown/)
Poems in different styles written and illustrated by GPT-4 and DALL-E 3
Last year, I used GPT-3 and DALL-E 2 to write and illustrate poems in the styles of different poets. This year, I re-did the experiment with GPT-4 and DALL-E 3. It's pretty incredible to see how far generative AI has come in just a year!
I briefly helped with some mainframe/legacy modernization work.

Their hard part was determining which feeds and datasets were still needed by someone, somewhere. Over the decades, 100s were created as needed (ad hoc). No inventory. No tooling (monitoring, logging) to help. It's likely only a handful were still needed, but no telling which handful.

The bosses were extremely risk adverse. eg "We can't turn that off, someone might be using it."

I suggested slowly throttling all the unclaimed (unknown) stuff over time. Wouldn't break anything outright. But eventually someone would squeal once they noticed their stuff started lagging. Then incrementally turn things off. See if anyone notices. Then outright remove it.

Nope. No can do. Too risky.
Less impressive, but something which was still fun to me when I had an Amiga: At least some Amiga keyboards used a SOC with a 6502 core.

One of my Amiga's had 4 CPU families: A 6502 core on the keyboard, a Z80 on the SCSI controller, an x86 on a bridge board (the Amiga 2000 had ISA slots, and one of them was in-line with a Zorro slot so you could get a board that let you run x86 software using a window on the Amiga desktop as the output; I don't remember if the bridge board itself was an 8088 or 8086, but I upgraded it with a 286 accelerator card) and of course the 68000 (+ a 68020 expansion)....

Looks like it's this one I remember:

https://www.amiga-stuff.com/hardware/6500_1.html
I've seen so many sci-fi concepts of smart ink on paper. Something you can leaf through like a book, but the ink can be changed electronically. I wonder if we'll ever get that.
> Wayland was never going to be fully Xorg compatible.

Maybe not, but the fact that Wayland doesn't support an important use case for me is why, regardless of any benefits Wayland may have over X, I won't be using Wayland.

> Neither x11 or Wayland are going away

I sure hope this is the case. I don't care if Wayland exists, I worry that it will become the only realistic option.
https://news.ycombinator.com/item?id=38515863
Show HN: Home Loan Affordability Caclulator
A free online tool designed to empower you with the financial insights needed for informed home-buying decisions. The calculator is here to help you understand your affordability and plan your home purchase wisely
Because the original link submission title was more about memory and writing vs. typing. And so I was commenting on the topic of memory as a whole.

Judging by the other comments, most people had the same interpretation.
Wow I didn’t realize my iPhone would pick up on it and change the selection markers.
>This study appears to focus on short term memory, but for my money, long-term memory is much more significant. As such, it would have been useful to add a third option: using a SRS system like Anki

Then you should go tell the journal editors that this study is incomplete and didn't cover the type of memory you consider more significant, hopefully they will retract the paper
In my opinion this is pretty on-brand for Pike.

Back when he did his best work, it was possible for one person to "just write the new thing", without making it fit with anything else. There was nothing else to fit it with. You could invent everything from scratch, and not only was it not a waste of time, if you were good enough it had a chance of being the best fit for purpose.

You could take shortcuts. You could have every part of your system be "odd", because nothing was "even".

That's not true anymore. And the way I see it Pike has not moved on.

Science in general had this switch at one point, too. There was a point where one could know all of science. But it's long gone.
That is why companies such as Spotify don't focus on cost savings as much as people here seem to think they should. A focus on cost savings inevitably means bureaucracy which means time spent on that instead of on product features. That means not just less growth for the stock markets but also more attrition due to good engineers hating the process. Of course at some point it's unsustainable but right until that moment it makes perfect sense.

edit: And that moment depends not just on costs but the growth rate of the company so it's almost impossible to predict ahead of time (otherwise wall street investing would be a lot more boring).
I would caution against drawing grand conclusions from these recent layoff rounds. Companies overhired during the pandemic, and now they are trimming that fat. It’s not necessarily a sign of any big strategic mistakes beyond “we hired too many people”
People assume that time is a strict progression of cause to effect but actually, from a non-linear, non-subjective viewpoint, it’s more like a big ball of wibbly-wobbly, timey-wimey stuff.

They found this out using a timey-wimey detector. It goes ding when there's stuff. Also it can boil an egg at thirty paces, whether you want it to or not actually so it's best to stay away from hens.

It's not pretty when they blow.
I hepled jQuery UI which landed me first real job with contract and everything, first side project was react like for canvas where only diff is drawen not all canvas, I have full family eating from this.
This is definitely possible. We've been building an image in one phase and then running it in subsequent phases for years with gitlab.

I think you are going about this wrong. Are you generating an image tag dynamically? When you are tagging the image, make sure that you generate the tag deterministically based on information that is available to gitlab when the pipeline is created.

So for example, you could use the tag foo:$PIPELINE_ID instead of foo:$random
Same, I regularly switch from ortho colemak (with home row mods, key expansions, symbol layers, etc) to qwerty on my laptop with no issues.

The only thing that messes me up is if I start looking at the keyboard or trying to bypass my muscle memory to type. E.g. to input a complex password with uncommon symbols.
AI and Trust
The book about it is a great read although I think it could have used a lot more editing. Chapters approach the timeline from different angles and as a result it does feel like later chapters are going over the same material too many times. Anyhow, you can read part of it here: https://www.wired.com/2014/11/countdown-to-zero-day-stuxnet/
This is really cool. I've built a pretty big application on top of Flask using techniques like this and a mindset of hexagonal architecture. The goal being that Flask is just the glue between the core app and HTTP, and can be replaced at any time (for instance with a more modern/faster framework using ASGI). Handlers reach out to either 'managers' that grab data in a query/read approach, or they reach out to 'operations' which are more for mutating things and running more complex/transactional logic. It has worked out really well and scaled to be quite large. The operations and managers can then be used easily from cli scripts, background processing workers (dramatiq) or other methods outside of the http context.

I love to see more outside the box thinking here in the python ecosystem, so I will check this out for sure.
I created the wiki for Path of Exile.

Eventually landed me a job at Curse out in the States.

It’s also just quite a nice thing to be able to talk about in interviews or with colleagues who may be into the game.
Interesting. How is the integration of the reMarkable into other ecosystems? Can notes be converted to text and used elsewhere easily? (e.g. Nextcloud or Markdown docs)?