skysight-inc/HackerNews huggingface dataset:
It sometimes takes time to discover the best approach to writing code that handles similar inputs. I once worked on an ingestion pipeline that was supposed to clean up data sent to us by a person whose sole job was to sit in front of a Windows PC running three pieces of software:

a) a terminal running a text mode app extracting data from a mainframe

b) Excel

c) Outlook

Their sole job was to copy data from the terminal, paste it into Excel on a daily basis, save it as a CSV file, and send it as an attachment to the address monitored by a script that was responsible to running data processing pipeline. Because of the manual nature of the job and the way data was presented in the terminal there were errors, which were really unpredictable. I was not allowed to talk to the person doing this job or visit them in their office so it took me three months to find out that what was shown on the terminal screen was essentially a 80x25 version of a punchcard and that position of the fields mattered. Sometimes the user would not copy the whole screen, sometimes there would be an extra character added while pasting data into Excel (not always a stray "v"), sometimes a gremlin character would be added between the mainframe and the terminal (there must have been a serial connection somewhere). Forget proper encoding, JSON or XML, it was raw data, really raw. When I started working on the pipeline it would break on every incorrectly formatted record, when I finished the job and left it was only barfing on 5% bad records and those that it could not process would be neatly put aside an emailed to the support people responsible for dealing with this client. There was a lot of repetition initially, but I then discovered patterns (random offsets, encoding errors, extra characters) and that allowed me to build a set of generic classes to quickly implement problem-specific handlers.
EU countries must implement right to repair laws within two years
They are selling "dump phone" in form of a watch nowdays, really thinking of getting one for exact same usecase.
Author here. That's definitely my bad and not an intended user experience. The text was initially meant as a transcript accompanying presentation slides. I've compressed the images so it should be at least slightly better now.
Considering I read this headline as "Wordle in legal row with geography spinoff, Wordle" ... I think this is an entirely valid trademark dispute. Yes, NYT goes too far with copyright/trademark claims, but this one seems like an issue where reasonable minds could disagree.
68% of Companies Are More Vulnerable to DDoS Than They Think
Yeah, you can tune it. There's a whole section in their docs about it.
This very much reminds me of my home Russia. Like that time when Navalny was sentenced for fraud and stealing all the lumber, and Putin's press secretary remarking that courts in our country are fully independent and it is absurd to insinuate that the verdict was politically motivated.
How does it compare to uv ?

uv + pyproject.toml + pyenv virtualenvs work pretty flawlessly got me.
C was defined in the 1970s, for PDP-11 which had 16 bit registers, no cache and a flat memory. Ever since, C has been mangled to adopt ever more complex architectures. It's like blaming a petrol car for not plugging into a Tesla Supercharger. Different era, different technology.

The question of ABI's is misguided. The interface to the OS syscalls is typically defined in terms of registers and calling convention. The ABI that C programmers reference in the OS ABI header files are a layer that transforms from C semantics to the OS syscall conventions. Language implementations could come with their implementation of a libc equivalent, one for every platform the language is expected to run on.
I’ve been working about the same hours for the past two years and it’s been much better for me.

Bouts of near-burn out are infrequent and I can manage through them. The work still gets done and I don’t feel trapped at work.
> I never understood how the idea of HOAs became acceptable.

I do.. it is the canonization and highest wish of all the what we call a
https://de.m.wikipedia.org/wiki/Spie%C3%9Fb%C3%BCrger in Germany :D

"A Spießbürger is a derogatory term for a narrow-minded person who is characterized by mental immobility, pronounced conformity to social norms and aversion to changes in the usual living environment."
Yes, server-rendering definitely helps, though I have suspicions about its compiled outputs still being very heavy. There's also a lot of CSS frameworks that have an inline-first paradigm meaning there's no saving for the browser in downloading a single stylesheet. But I'm not sure about that.
How would locale matter?
GIS Course
It's the same as working from home. Some people are way more productive at home, away from all the distractions in the office. Others barely get any work done at all at home.

Most people are nowhere close to working fully focused 8 hours a day, and may also benefit from more time to recharge. Others benefit less. The average probably matters more for the company (also shorter work hours will improve retention, or allow you to pay lower wages to compete etc).
Theoretically, something like a national OPDS feed would be perfect for this: OPDS is a publication distribution feed protocol that allows to include other sub-feeds, making for a distributed tree structure. A country could publish a collection of individual university feeds, which in turn linked to the papers of their researchers.
same here in Turkey. https://dergipark.org.tr/en has a lot of journals free of access. One can also find the phd and msc thesis too in https://tez.yok.gov.tr/UlusalTezMerkezi/giris.jsp
This happens when people follow rules mindlessly. 3 is an arbitrary number anyway. Even if 3 is the right number in most cases there will be cases where abstracting after 2 cases is best and others where abstracting after 4 cases is best, or any other number, really.
And it does those two things in exactly that order, too. The myth of the rational actor is exactly that.
This is the number one fascinating thing about the USA. Yes it's freedom, but freedom only means that whoever owns the land, whoever organizes something like a suburb or a festival, is free to impose whatever rules they want on the people utilizing it.

This scales up to the world of business, it's really a dog eat dog system, the most anarchic system in the world I'd say. While simultaneously being very undemocratic in each individual cell of influence and power, depending on who is in charge. I'd be willing to bet there are HOAs in the US that are very democratic and hold regular meetings where every member is heard and has influence. Maybe in oregon... ;)

Simply put, if you want consistency and fairness imposed then you need bigger government. But even that couldn't change the mentality of the United States citizenry. We have bigger government in most of europe, for better and for worse. It doesn't solve all problems but I still prefer it.
I like digital ocean spaces, but it has its own annoying quirks.

Like I recently found out yif you pipe a video file larger than a few MB, it’ll drop the https:// from the returned Location. So on every file upload I have to check if the location starts with https, and add it on if it’s not there.

Of course the S3 node client GitHub issue says “sounds like a digital ocean bug”, and the digital ocean forums say “sounds like an S3 node client bug” lol
That is exactly what htmx is and does. Everything is rendered server side and sections of the page that you need to be dynamic and respond to clicks to fetch more data have some added attributes
This is so cool! I can see myself using this all the time for research work. Would love to manage multiple sessions. Would also like to see if the individual tiles could be resized. I would like to decrease the size of slightly less important tiles perhaps. Also, how are you managing the API costs right now?

Great work!
I recently got an apple phone never before having owned one. I was dismayed about the options for 2fa apps, that there seemed to not be any foss ones. I installed Raivo since it was at least source-available and had export features. But you just can't trust anything from the app store since anything can be uploaded there and you can't roll back. Luckily, I had put off migrating the tokens and looks like I will be carrying two phones for a while more.
I think op is asking why we can't just wave our hands here, legally. Obviously they don't have a valid visa, but these are extenuating circumstances. Just take them to an airport and send them home. If they're chaperoned the whole time, who really cares if they have a valid visa while traveling to the airport?
> JWTs provide zero advantage

The article presents opaque session tokens - a key to a database table entry that is looked up with every request - as so clearly superior to JWTs as not to be a choice really, because session tokens are simpler and easier to use.

> Actually locking down the session so it can't be used by different IPs/UAs would require custom code on the server, whether you're using JWTs or session tokens.

We agree.

My contention is that after the specific use cases are accommodated, opaque session tokens are not the clear win over JWTs on the grounds of simplicity that the article presents it as.

When using a library that does all of the heavy conceptual lifting and conforms to standards, the level of effort is really 6 of one, half dozen of the other.
> through the contract you were forced to sign with them.

Except for Texas, I have not heard of being forced into an HOA. You choose to join one when buying a property in a neighborhood that has one.
>never understood how the idea of HOAs became acceptable.

I suppose it's the same way that the idea of gated communities and redlining became acceptable. I live near one which once was such a place. While their online history has been written up to abhor their regrettable past practices, they still maintain a very large lakeside park that you need a keycard to get into that costs a pretty penny each year.

They can't afford a manor in the country, poor things.
Motor Control Applications in C++
Why do writers like this feel so entitled to engineering effort from companies? Maybe companies don’t want to plow millions into microoptimising their sites so a handful of people in Antarctica can access them, when the vast majority of their clients can use their sites just fine.
I kinda doubt your output decreased by 20%. Probably fairly close to it, but I'm guessing you got slightly more done on the other days.
It's this bad. The problem is Boomers.

Boomers mostly worked one job between two people, and had the silent generation to take care of their kids so they had a lot of time for masterbatory lawn care/putting trashcans away the second the trash truck pulls away/nonsense.

Now they are retired and have even more time, but also authority over people far busier than they ever have been.
They're a complete dog on a spinning disk 2013 era machine
one American have to go to Antarctica for this site to note the obvious for everyone in most of Africa and south America.
> Casing is usually not meaningful even in written language. "Hi, how are you?" means the same thing as "hi, how are you?" Uppercase changes meaning only when distinguishing between proper and common nouns, which is rarely a concern we have with file names anyway.

The number of spaces is usually not meaningful in written language. "Hi, how are you?" means the same thing as "Hi, how are you ?". I don't think it's a good reason to make file system ignore space characters.
It doesn't __have__ to be this way. We have had record profits across most of the industries were workers are the most abused. We could legislate their lives better and treated with more respect.
Playing the Devil's advocate for a sec, I'd ask the public if it is prepared to fund hosting on those publications in perpetuity? And to answer my own question, I think we should demand that scientific papers are made available for free by publicly-funded scientific libraries.
Back then nobody knew much about computers so experience wasn't expected. Got in with a failed maths degree.
AFAIK /sites subpath is mostly for articles made by "Forbes Contributors". How does one become one? You need to be invited by one of employees[0], but then it seems you can publish whatever with little editorial oversight[1]. You get paid, starting at $250 a month[2].

Personally, I find the idea nice, but a lot of these contributor articles seem to be poorly written anyways, so I try not to bother with them. But I guess that compared to a lot of other places in modern internet, especially medium.com and a ton of blogspammy wordpress sites, these must still look like Shakespeare in comparison.

[0] https://joshsteimle.com/writing/who-do-i-contact-at-forbes-t...

[1] https://getonforbes.com/forbes-contributor-guest-posting/

[2] https://www.forbes.com/sites/randalllane/2018/02/14/why-forb...
I think DRY should be more "Don't repeat assumptions".

Or rather, don't assume the same thing in two different places, especially not implicitly.

Avoiding code duplication mostly follows from that.
We design for slow internet, react is one of the better options for it with ssr, code splitting and http2 push, mixed in with more off-line friendly clients like Tauri. You can also deploy very near people if you work “on the edge”.

I’m not necessarily disagreeing with your overall point, but modern JS is actually rather good at dealing with slow internet for server-client “applications”. It’s not necessarily easy to do, and there is almost no online resources that you can base your projects on if you’re a Google/GPT programmer. Part of this is because of the ocean of terrible JS resources online, but a big part of it is also that the organisations which work like this aren’t sharing. We have 0 public resources for the way we work as an example, because why would we hand that info to our competition?
Mojo: What Ownership Is About: A Mental Model Approach
> but any other language has megabytes of runtime or libraries which need to be fetched and loaded before your application code.

It's really not that bad for languages that allow an embedded-programming style (C, Rust, C++, Zig, ...). For instance this C64 emulator written in C has a 97.5 KBytes compressed WASM blob (and this includes 20 KBytes of dense ROM data which is barely reduced in size when compressed), plus 14 KBytes for the JS shim:

https://floooh.github.io/tiny8bit/c64.html

By comparison, the minified and compressed main.js file of JS Beeb (which I assume contains the bulk of the emulation code) is 119 KBytes download size:

https://bbc.xania.org/
When I looked into Web Assembly I was surprised to find it doesn't drive the DOM.
> i still think 'combustion engine' is incorrect terminology

I doubt anyone other than your good self is going to be confused by the differentiation between "steam engine" and "combustion engine" tbh.
A criminal conviction would represent a red line for some moderate conservatives.
Related:

Google resumes transition to Manifest V3 for Chrome extensions (https://news.ycombinator.com/item?id=38292409) - Nov 2023 (131 comments)

Chrome users beware: Manifest v3 is deceitful and threatening (https://news.ycombinator.com/item?id=29502439) - Dec 2021 (375 comments)

Chrome Users Beware: Manifest V3 Is Deceitful and Threatening (2021) (https://news.ycombinator.com/item?id=38301801) - Nov 2023 (202 comments)
I really don't get managers whose timetables have 100% meetings. Weekly 1:1s is at the max 10-20 hours assuming a 10:1 engineer to manager ratio.

If a manager is not technical enough to delve into an issue within their team, should they even be leading that team ?
They may choose not to do so, but if a problem is not getting solved and they can't act in such a time of need, their existence is totally questionable.
You become a proompt engineer :)
> If we have so much solar generation during summer, why isn't my energy free or nearly so?

In general, as variable renewable energy penetration in grid increases, the cost will be more dominated by distribution of electricity, not wholesale price of generation of electricity.
Yet "TURKEY" is not a separate word from "Turkey" and "turkey". Ultimately context disambiguates these words, not capitalization.
>Microsoft is driving off professionals with their sheer ineptitude at product development.

I wish that was the case. For one professional they drive off, they keep 1,000,000 whose employer decides their OS for them. Same as hospital software and baby clothes: it's not the end user whom they primarily sell to. Their best version of Windows, the LTSC, is not even available to normal customers.
Even though the title has the word "translation" in it my mind ran to Apache Kafka :-).
No. At least here courts and police are still respected for their integrity, but the government does not reciprocate loyality anymore.

It used to be that duty went both ways, this is not in fashion anymore.
Yes, 4 day work week... Especially for contractors that are paid by the day (and the amount of work to be done stays the same).

I'd love a 4 day week if the daily rate went up so the pay doesn't change. Somehow I'm not holding my breath.
Nice! If you park on the street, you can use this to figure out where to park to keep your car cooler during summer.
I second this. My best friends are still the childhood friends. Every time I'm getting closer with someone new it fails sooner or later because of other duties we already have in life.
Yes, why do it? :p I mean, there are pros and cons - costs and benefits. And I can see both scenarios where it is better to spend the time on something else (that has better chance of bringing in money), and cases where it would be the right thing to do the cleanup (maybe original is just about to fall apart, or the new has straight up benefits to the business, or the act of doing it will greatly improve testing/QA in a critical area, etc).

Writing it DRY in the first place would also have costs, including the alternative costs. Would it have been better to take those there and then?
So they failed to make it work and are now trying to shift the goalposts. They should not have launched it then.
In the era of Unicode, this battle is pretty much lost. Several different code point sequences can produce the glyph 'ä', and user input can contain any of these. You need to normalize anyway.
> There are only losers in this game, but at least we’ve all got a participation ribbon to comfort us in moments of angst.

I sense the frustration...
The target machine it's the same. If any, glulx could do more stuff.
For example, it depends on the locale if the capitalized form of ß is ß or SS.
I think people laugh at US stories more because they are the ones harping on about Freedom all the time. There might be 150+ free countries in the world but nobody talks about it more than USA.
I find it odd that everyone here is talking about productivity. Although I guess it's to be expected since posts about increasing productivity are popular in HN; lots of people here focusing on their careers I suppose.

Personally I find we work way too many hours. We spend the good part of 5 days a week (if we're lucky) at work, often literally all the daylight hours, at least in winter. I have to take my daughter very early in the morning to the nursery, then I can't see her until the evening.

I want to believe that future generations will look back and find this unconceivable, and I hope AI shows us the way.
BTW, there was a demo IF for Quake for the ZMachine (probably written with Inform 6)
Why is verification bad? I think it’s actually the thing that prevents the worst forms of micro management. Micro management to me means telling people what to do in detail. That removes autonomy.

The way to build trust and create autonomy while also keeping surprises to a minimum, is to tell your team what you expect of them and why. And crucially, you ask your team about their plan on how to get there. This still lets them decide on the “how”, while you can step in if you feel the plan is wrong. That is verification and it helps.
It's nowhere near the same. Changing locations is a minimal effect compared to working a full day more than another person. There are many jobs where hours worked are almost equivalent to work performed. Think of any manager spending their week interviewing candidates for hiring. One less day means less candidates interviewed.
This looks worth exploring, so thanks. The author has done a bunch of work beyond what PyMuPDF does on multicolumn layouts.
That channel is a gem!
Like for many decays (e.g. nuclear) it starts to decay a lot at first, then it eases with time.
Well if they are writing software for tiny microcontrollers it is. Stupid article.
Bribery offences do.
That's one big factor why I don't have an e-cargo bike. Live in town, in a detached, Shops are <1km away. I want an bakfiet style e-cargo, but I've got no place to store one.

Can't get a decent sized bike down the alley, it's difficult to pull one through the house to the shed, and the entry hall already has a tandem in it, which is wide enough to step around.

OTOH, I could get a trailer and park it in the front, and that would be totally legal.
Can someone explain how HOAs work? They are private organizations, right? So, in the end you get what you sign up for when you acquire property. What am I missing?
It's a sad state of affairs when it's considered ok to get rid of perfectly working hardware just because a new faster one is available.
That's barely possible because code has to coherently work on a shared goal. But I agree in principle -- reduce duplication of assumptions as much as possible.

One way that helps with that is creating abstractions. I don't mean clever grandiose abstractions, those are extremely hard to get right. I mean precisely those abstractions that factor shared code.

But even before that, it's important to get the control flow right to minimize doing the same thing multiple times in the codebase. Because even when the implementation is in a central place, calling it multiple times from different locations is what you say, duplicating assumptions.
Some jobs are thinking jobs, like software, accounting, screenwriting, basically the "creating for the first time" jobs.

Some jobs are rote work jobs - manufacturing jobs, warehousing jobs, etc.

Some jobs are butts-in-seats jobs, where you need a person physically there to "do the thing" - these are your customer-facing jobs. Your customer support, your banking teller jobs, etc.

Each of these jobs has a comfortable "max amount of continuous" work time for different people. Since I can speak to it, in software, I'm only productive 4-6 hours a day with the rare day I enter obscene levels of flow and disappear for like 9 hours. I imagine many of the creative jobs are similar.

I suppose the implications for 3-4 day, 'very high hour count' work week, in general* is one of the positions that can handle operating in the specific way they need to work for that long.

* I understand that nursing is a 3-12's job. There's special details that make that the way it is - I think it has to do with nurse-patient changeover? I dunno, very outside my field.
I may be ignorant on this, but how can HOAs have lobbyists? They are made up of local people right? Or am I behind on this and there is already a HOA industry?
Obesity? -> Pill

Sedentary life? -> Pill

Can't sleep? -> Pill

... no.
Very cool project! I am also working on a similar topic as part of my PhD thesis.
Says interview with a startup that promotes WebAssembly.
What problems is WASI 0.2 and the Component Model solving? I've read the project goals but I still don't quite understand.

I mean, I guess having some defined interface between languages might be useful for some specific usecases, I just don't see what that has to do with WASM and I also don't understand how this complexity would be a net benefit to the broader ecosystem.
Basically just a library that takes some functionality of a game engine.