skysight-inc/HackerNews huggingface dataset:
I wrote substantial amounts of C, and Pascal/Delphi before that, before learning Zig, so you and I wouldn't see the same learning curve. That said, I found it straightforward to take up. Andrew Kelly places a great emphasis on simplicity in the sense Rich Hickey uses the term, so Zig has a small collection of complete solutions which compose well.

Now is a great time to pick up the language, but I would say that production is not the right place to do that for a programmer learning memory management for the first time. Right now we're late in the release cycle, so I'd download a nightly rather than use 0.13, if you wanted to try it out. Advent of Code is coming up, so that's an option.

Using a memory-managed language means you need to design a memory policy for the code. Zig's GeneralPurposeAllocator will catch use after free and double free in debug mode, but that can only create confidence in memory handling code if and when you can be sure that there aren't latent bugs waiting to trigger in production.

Arenas help with that a lot, because they reduce N allocations and frees to 1, for any given set of allocations. But one still has to make sure that the lifetime of allocations within the arena doesn't outlast the round, and you can only get that by design in Zig, lifetimes and ownership aren't part of the type system like they are in Rust. In practice, or I should say with practice, this is readily achievable.

At current levels of language maturity, small teams of experienced Zig developers can and do put servers into production with good results. But it's probably not time for larger teams to learn as they go and try the same thing.
I’m arguing it’s not a factor. In Portugal vote by mail is negligible and we get the results late the same night.
I switched to that setup a few years ago. I keep a text file with all the links plus some metadata, like the date and some tags
https://eapl.me/links/links.txt

I also have a few PHP scripts to help me view the links
https://eapl.me/links/all_links.php?tag=dev

It’s not the easiest thing to manage, so I'm thinking of more scripts to update or delete old links from the web instead from SSH like I do now.
Ask HN: What tools and practices have helped you work better as a developer?
As title says. Comment below with any stories or observations on how productivity (or the lack of it) shaped your work!

PS: I'm working on a thesis on productivity in software development. If you have a few minutes, please share your experiences & what works (and what doesn't) in my survey: https://forms.gle/4B9GAtXD1nahwvn48
After your very last sentence, I’m not even sure what your point is here. You just listed a bunch of reasons you don’t think mail in ballots are safe, and then ended with saying the alternative also isn’t safe from vote buying.

Vote buying also does not appear to be a problem in the US electoral system, as another commented pointed out: in order to make a difference in the election, you’d have to buy enough votes that someone would be bound to tell on you.
The government is usually the largest company in a country that has a monopoly.
> the trust that would be lost

you'd think so, but lots of this trust has already been lost when google started pulling highly used services like rss!

And what if somehow, they find appscript to be too burdensome, when it does not derive much, if any, revenue?
Ease of success changes the calculus relative to other options.
Congratulations to the Matrix team. I look forward to trying out everything this release offers and seeing how I can implement in the organizations I work with.
Any part of "saving" Intel should include a mechanism barring them from putting any more money that should be spent on R&D towards stock buybacks ($152B since 1990 as of September.) That said quoting the former Intel CEO (who still owns 3,245,986 shares) as "[one of the] expert[s] who says breaking up Intel won't do any good" seems like journalist malpractice--and makes me all the more certain it should be subsumed by a company with executives hungry to actually win again.
I'm speechless, it is amazing this is even possible. But it's more impressive to me that someone actually thought of this idea and decided to attempt it in the first place.

Sometimes side and off-the-cuff projects are just wacky enough to become amusingly interesting, and inspiring to try something crazy yourself.
I mean, it's not a practical answer to your question, but I'd love a backup of YouTube. I think it's probably got most of humanity's knowledge in there somewhere, in all kinds of forms for all kinds of levels.
Improving Neuron-Level Interpretability with White-Box Language Models
I'm not familiar with devcontainers. The situation I was curious about was a general container, for example singularity, rather than something more common like docker. When I've tried that with vscode, it didn't like the ssh config that allowed you to ssh into the container and wouldn't work, even though in a bash shell it worked exactly as advertised.
Oh, good, now when a creeper blows up I lose more than just my fancy dirt house.
And there's the nub.

Perhaps nVideo should request access to a dpecial 'this is less crap' process and help MS understand how dangerous is the previous crap it approved.
What is their '"electrified vehicles" BS"?

I actually looked at Climate Town Toyota but the guy just seems to be waffling about politics.
Inefficient companies _may_ go out of business. The problem is that this only happens if there’s more effective competition and clear market pressure across the board.

Consider Google: they’re highly inefficient in many areas producing entire applications which are written off not long after release and failing to capitalize on areas they had substantial edges in (e.g. AI), (arguably their last successful product launch was in the 2000s) with the net result that they employed a ton of people doing things which were not really tied to satisfied customers. This didn’t matter because they had a few business areas where they had massive profits despite not having a government-enforced monopoly which more than made up for those losses. Most of the tech giants have variations on that theme where they have many people who can report absolutely absurd internal inefficiencies but until that’s broken out on a balance sheet it’ll probably never change.

Government is unique in two ways: the first is that it’s more public (which is good, but e.g. you’d be shocked if Comcast was audited at the same level) but the other is that much of that inefficiency is mandated by the same people who complain about it in public. For example, benefits programs are often structured to require expensive validation processes which cost more than the savings, and there’s intense pressure to contract everything out even though that process requires significant overhead.
I'm genuinely not sure what you're trying to say. Obviously processing mail-in ballots won't take long if there aren't many. But as I've shown, countries with uncontested elections have many people voting by mail, so unless you're contesting the German elections this by itself isn't suspicious. And since states have rules about when counting is allowed to start, it's also obvious that counting them will finish later.

So what is your point?
>The year was 1986, pre-spreadsheets.

There were millions of spreadsheet users by 1986, as VisiCalc was released in 1979[0] and similar programs like SuperCalc[1] were also in use. They were both ported to IBM PC and saw significant use in the corporate world prior to and including 1986.

[0]https://en.wikipedia.org/wiki/VisiCalc

[1]https://en.wikipedia.org/wiki/SuperCalc
Awesome, I can't wait for me the taxpayer to breathe life into the smoldering shell of a company where the executives and unlimited layers of useless middle management used financial engineering to fool investors about the internal situation while extracting as much money as possible and then bailing out on golden parachutes and landing in soft thick piles of bonuses.

Remember when we did this in 2008 under the Obama administration? We gave them $10bil and they paid out "contractually obligated bonuses" with more than half of the money? https://www.theguardian.com/business/2009/jul/31/wall-street...

Just let it fail. If you're really paranoid, pass a law preventing and foreign buyers from snapping up the ip or fabs and we'll just fine, but that's probably not even needed.
Is this the same set of people that still mandates masks for all PyCon participants?
I worked at a company where they'd switched from hourly billing to fixed costs not long before I'd joined. The incentive for the client was that there was no reason for the company to inflate job hours. The incentive for the company was to encourage longterm contracts for ongoing work. Seemed like a win for that particular environment. A bit different from an individual consultant, but an interesting case of comparing two models.
I was responding to the sweeping statement you made about what natural selection can select for, and it can absolutely select for these sorts of advantages. It will play out differently depending on environmental factors such as economic and other disparities but this just becomes a matter of which strategy is chosen to adapt to that landscape.
I will gladly spend $2500 more of my employer’s money (or even my money) if it can make me 5% faster at my job. If you’re paid $100,000 its already well worth it
I started coding by just dropping print statements in my code to debug it. In college I was introduced to gdb and I never looked back. I will not code without a debugger now, it's such a waste of time dropping print statements in code and re-running. I'm always surprised when I learn about some language I'm interested in and finding out that the standard way to write code is in a text editor without an LSP implementation and just print debugging everywhere. I don't even start trying a language if I can't put breakpoints in somewhere.
Saw this show up after the fact. Maybe it's safe enough for me to try to re-engage: The point I was trying to make, to deafening jeering, is that the linked bug is a really very routine race conditions that is "obvious" to people like me coming from a systems programming background who deal with parallelism concerns all the time. It looks interesting and weird in the context of an async API precisely because async APIs work to hide this kind of detail (in this case, the fact that the events being added to the queue are in a parallel context and racing with the seemingly-atomic "cancel" operation).

APIs to deal with things like io-uring (or DMA device drivers, or shared memory media streams, etc...) tend necessarily to involve explicit locking all the way up at the top of the API to make the relationship explicit. Async can't do that, because there's nowhere to put the lock (it only understands "events"), and so you need to synthesize it (maybe by blocking the cancelling thread until the queue drains), which is complicated and error prone.

This isn't unsolvable. But it absolutely is a paradigm collision, and something I think people would be better served to treat seriously instead of calling others names on the internet.
Bottom of page 3, "repurchases of common stock"

https://www.apple.com/newsroom/pdfs/fy2024-q4/FY24_Q4_Consol...

Shows 12 months ended Sep 2024, and this one shows 9 months ended Jun 2024.

https://www.apple.com/newsroom/pdfs/fy2024-q3/FY24_Q3_Consol...

$95B minus $70B = $25B for Q4 2024.
That does not make sense statistically. A decrease in total HFCS consumption would lead to a decrease in new diabetes cases if it was the actual root cause.

Sugar is not the cause of diabetes.
> And yes, that’s day to day. What about year to year?

Actually year of year it makes more sense because anomalies are averaged out over time.

I also think you’re being unduly unfair about the system. Yes it’s a garbage system but a lot of what you described is wisdoms that’s learned in hindsight. However when you consider that most of budgets are relatively static (eg salaries, cost of goods at a smaller scale, etc) it’s easy to fall into the trap of thinking that the costs of running a apartment could be relatively static year on year. In fact the idea of dynamic pricing is a relatively new concept.

This doesn’t mean that the idea of budgets being relative to spend is a good one. Just that it’s easy to see how it was once perceived as a viable methodology.
Thanks. It's a small custom framework built from libraries, some custom, some third party.

- File based HTTP router running on top of https://frankenphp.dev/

- ORM/SQL with: https://github.com/cycle/orm but this is preference. Anything works. From SQL builders to ORMs.

I'll try to explain their form handling:

Forms almost always POST to their own GET URL.

If you GET /user/save you'll get back HTML and `<script>` to build the form.

If you POST /user/save you're expected to pass the entire form data PLUS an "operation" parameter which is used by the backend to decide what should be done and returned.

For example if user clicks [add new user] button, the "operation" parameter has value of "btnSubmit.click".

Why pass operation parameter? Because business forms can have more than just a [submit] button.

For example, there might be a datagrid filter value being changed (operation: "txtFilter.change"), or perhaps a dropdown search to select a city name from a large list (operation: "textCitySearch.change"), it can be a postal code to address lookup (operation: "txtPostalCode.change"), etc.

On the backend, the pseudocode looks somewhat like this but it's cleaner/safer because of encapsulation, validation, error handling, data sanitization, model binding and csrf/xss protection:

function user_save($operation) {
$form = new Form('/user/save');
$form->add($textName = new component(...));
$form->add($textCitySearch = new component(...));
$form->add($btnSubmit = new component(...));

if (method == "GET") return $form->getHtml();

try {

if ($operation == "btnSubmit.click") {
$newUser = UserService.createNewUser($_POST);
return '<script>' . makeJavaScriptSuccessDialog('New user created!') . '</script>';
}

if ($operation == "textCitySearch.change") {
$foundCities = UserService.searchCities($_POST);
return '<script>' . $textCitySearch->getJsToReplaceResultsWith($foundCities) . '</script>';
}
} catch ($exception){
// Services above throw ValidationException() for incorrect input, $form takes that and generates friendly HTML for users in a centralized way
if ($exception is ValidationException) {
return '<script>' . $form->getValidationErrorJs($exception) . '</script>';
}
// code below is actually done by a middleware elsewhere that catches unhandled exceptions,
// but i put it here for brevity in this example.
logSystemException($exception);
return '<script>' . makeJavaScriptErrorDialog('Ops, something went wrong with us. We will fix it!') . '</script>';
}

So the HTML generation and form processing for user creation is handled by a single HTTP endpoint and the code is very straight-forward. The locality of behaviour is off the charts and I don't need 10 template fragments for each form because everything is component based.
Perhaps people understand that having to accept so-called fixes from the source of such a serious problem is highly stressful.
Competing against state backed cheap labor, with little environmental oversight is incredibly hard. We've had pockets of success using automation; but a lot of the problems we create for ourselves too.
Just need ECC redstone memory. Creepers are just a Minecraft cosmic ray.
Location: Spain

Remote: Ok

Willing to relocate: Yes

Technologies: UI Design, Product Design, Design Systems, Web Design, UX Design, Wireframing, Prototyping, Figma, Sketch, Adobe Creative Suite, HTML/CSS, SaaS, B2B, Analytics

Portfolio: https://mubarakabubakar.com

Résumé/CV: https://drive.google.com/file/d/1J_k9YJ16pLy4-N4Y6nbr-Q9bqhR...

Email: mubarakabubakar96@gmail.com

I’m a product designer with a passion for crafting user experiences that are not just visually appealing but also intuitive and enjoyable to use. Whether it’s a simple app or a complex business solution, I specialize in designing data-heavy interfaces that turn intricate information into clean, user-friendly designs.

I’m dedicated to seeing projects through from the first brainstorming session to the final launch. I love taking on complex challenges and transforming them into elegant, easy-to-use solutions. My approach is hands-on and detail-oriented: I dive deep into planning, create detailed prototypes, and ensure every pixel is in the right place before a product goes out the door. I believe in the power of data-driven design, but I also never forget the importance of making products that users will love.
A new copyright rule lets McDonald's fix its own broken ice cream machines
Renaissance minds in 21st century science
What about using the tariffs on Chinese products to support American companies/interests?
Touchscreens are out, and tactile controls are back
I got stuck trying to have an intuition about what would explode my memory usage due to lazy eval, I never got a grip on the transition from pseudofunctional at the io boundaries into real functional internally either.
Xreal sells an AR glasses pair that simply uses a USB c cable to show your input as a virtual screen. They also sell an accessory that tracks your glasses relative to the peripheral so that the screen remains static in the room. I'm not sure if it can do multiple displays though
With Prisma Postgres, you also automatically get a connection pool and a global cache: you don't have to worry about overwhelming you db with a large number of connections, and you can add global caching to any query in just a few lines of additional code, e.g.:

```
const user = await prisma.user.findMany({ cacheStrategy: { swr: 60, ttl: 60 } }) // <--- set a cache strategy in really just a single line
```

Both of these are super important when serving users that are spread across the globe. Latencies between regions add up. If you're curious, check out https://accelerate-speed-test.prisma.io/

Similarly enabled already on the db, you can subscribe to any change happening to your db, e.g. to send out welcome emails when a new user is added to the User table. Makes event-driven architectures super easy. Take a look at Pulse, which comes bundled with Prisma Postgres: prisma.io/pulse

Another benefit of a managed service of course is that you don't have to worry about managing any of it. Things happen, traffic spikes, servers go down, for a lot of us, that's nice to not worry about and rather focus on building and shipping the things that make our own products and services unique. Also, in a lot of situations, provisioning something complex is just not worth it, and a quick deployment to try or test something is desired.
I've found that whether I prefer fixed price or hourly depends heavily on the client.

When the scope is clear and I have a feeling that the client won't be the demanding type with frequent, unplanned changes I often prefer fixed price.

If the scope isn't clear though, or if I get a feeling there will be a lot of incoming change requests, I'll go hourly.
Powered by Java, in an a market share Desktop Linux will never achieve.
Start interviewing.
Location: Madrid, Spain & Istanbul, Turkey

Remote: Yes

Willing to relocate: Yes

Technologies: Javascript/Typescript, React, NextJS, Python (Django, Flask, Pandas), TailwindCSS, MongoDB, Express, Node.js, Go

Résumé/CV: https://www.furkankalaycioglu.com.tr/

Email: furkankalaycioglu99@gmail.com

I'm a frontend engineer with nearly two years of experience, including some backend work. I’m open to full-time, part-time, or contract roles. I'm currently focused on expanding my skills and open to flexible compensation for the opportunity to work on impactful projects.
As someone that has been on the hiring side, I always prefer to build a full time team, even if that means paying for someone in my team to learn something new.

The part that consultants don’t talk about is that you have to pay them to learn your code / company too. Nobody can just jump in and add value immediately. So you’re paying for onboarding hours, you’re paying for other employees to educate the consultant, and so on.

Likewise as an engineer, I think the most interesting projects and companies err towards primarily full time people. So if my goal is to work on the most interesting projects, I’d want to work full time.

A lot of consultants, for example someone helping with SOC2 compliance, is mostly copy pasting a large document with recommendations and moving some paragraphs around based on interviews with the team.

Not different from your average lawyer helping with an estate plan or will. The reality is that for many things you do want the cheapest lawyer, because the project is simple and repetitive. It’s the uneducated that pay more. So yes for a murder trial I want to pay a lot for a lawyer, but for small things I don’t, and you shouldn’t either. I simply don’t buy the analogy.

Finally, while consulting might be good for cash flow to hours-worked efficiency, it’s not clear it will make a person wealthier than other forms of income. I’ve met rich employees, founders, but not so much independent consultants.
Colorado requires automatic risk-limiting audits on its election systems: https://en.wikipedia.org/wiki/Risk-limiting_audit
Confirmation bias in action: accepting as true information that confirms your preexisting beliefs while ignoring information that contradicts them.

E.g. this article has information in it that refutes the idea that the voting process in CO is fundamentally broken; it describes aspects of their security-in-depth which show how a single vulnerability doesn’t lead to compromised election results. (Not to mention the auditing process which would also have to be fully compromised for the results of even fully hacked voting machines to be accepted.)
> my friends stuck writing 195 step DAGs to transform log files from s3 into s3 so they can eventually land in s3

sounds similar to what I do! on my team, it does actually serve a purpose, it's just hard to see the forest from the trees sometimes
In this situation I’d make a second copy of a bad thing and then try to make the copy good, instead of changing anything in place. But yeah, I totally get the huge upstream fight it must be and I’m not trying to backseat drive… just marveling at how the organizational fuckups & constraints make it hard to fix obvious problems
> Just let it fail.

How about we do something about the financial hackers who are just laughing their way to the bank either way?
Organic rice still has arsenic. The arsenic is not coming from pesticides, but from the soil and water, which naturally carry some arsenic.
Donald Knuth has said (in paraphrase) that there have always been computer scientists -- but until relatively recently they had no computers with which to ply their craft. Surely Lewis Carroll was a computer scientist according to this understanding.
Wish I had found some of these tools years ago. Thanks for sharing!
Are x86's days numbered?
Next time you might have more luck with a Korean-English dictionary extracted from a reverse-engineered North Korean dictionary app: https://digitalnk.com/blog/2020/05/08/porting-north-korean-d... (Recursion!)

... although in the case of 통보문 there are no exact matches. It appears in KEEK.db in the definitions of various English entries related to messaging, and in biyak.db as a component of messaging-related terms.

So you would need to query with something like

SELECT * FROM dictionary WHERE word LIKE '%통보문%' OR definition LIKE '%통보문%';

for maximum recall.

(Aside: I came across that blog post while looking for a Korean dictionary I could just download and use offline; for better or worse, North Korea seems big on offline-first applications. I ended up repackaging it as an HTML file I can use easily on my phone: https://github.com/Yorwba/dic.html )
Python venv tools are the new JS frameworks: every day some other ridiculous tool is born.

And yes, everything is already solved with: due diligence (non-existent in scientific community) and nix.