skysight-inc/HackerNews huggingface dataset:
Well, thats the thing, most of the advice has a bit of truth to it.

However it is very limited benefit to the extent that the larger argument/conclusion (shorter URLs are better) is wrong.

It ignores many valid points raised here, like URLs that include structure (be it date-based, or taxonomy, or hierarchy) provide immense value in many cases.
It should be noted that the railroads have been profitable for a long time, many reporting record profits for 2021.

This scenario is plausible in isolation, but not really related to the rail industry in the US.
You get an obnoxious modal popup asking you to sign up for something about 10 seconds after opening the page. I don't even know what I'm looking at yet, why would I hand over my name and email address? Instant ctrl-w, no thanks.
Although true, from what I remember they still forced you to use PayPal for payouts until a year or two ago.
Illinois college, hit by ransomware attack, to shut down
AFAIK RedwoodJS seeks to be the Rails/Django of the JS world: https://redwoodjs.com
EU digital wallet: the race is on for pilot funding
>But as a general rule, I think we must not discard a technology just because it's old. Doing so because it's too new would make more sense, if you want to build stuff for businesses.

Agree with the first statement but, not necessarily on the second.

People dismissed React for being "too new" or "the latest stupid shiny new framework" for a long time because they didn't understand it. But when I read about it for the first time, I understood the problem it was solving with the VDOM. It made perfect sense for me to start using it immediately because it quickly starts saving a lot of time formerly spent on writing DOM setting/resetting code and making sure it never breaks. It was something I was already thinking about: "how could I avoid writing all this tedious DOM manipulation code". And there it was, and I knew it would become big. It took a while for the rest of the world realize it, but eventually it caught on.

Sometimes tools pop up that make perfect sense. So you shouldn't dismiss any technology for its age, whether it's old or new.
Yes, on my smart TV app it's so slow and glitchy that the 5-second ad preview often plays for 10+ seconds before the "Skip Ad" button finally appears. Add to that the 5-7 seconds of black screen before the ad starts playing and the 2-3 seconds to resume my video, and it's a major annoyance during workouts and such.
I've had this conversation on HN three times now, and I'm misunderstood each time I say it. It's getting a bit frustrating.

I'm not saying that the Erlang maintainers haven't been trying to work on perf. I'm saying that their approach to working on perf has, until recently, been to focus on building on top of large blobs of relatively-opaque third-party code — either in-tree code, like HiPE; or library code, like LLVM. These approaches haven't been maintainable, and have eventually been dropped.

The difference in the last 1.5 years is that the perf enhancement this time is purely due to optimizations to the emulator and runtime — and improvements to the way the compiler works enabling better runtime insight into the code — with no big blobs of opaque code being relied upon. There's nothing extra to maintain; no big experimental perf-hack to enable with a feature flag. It's just the runtime itself being improved.

With previous attempts, the perf improvement was a sigmoid sawtooth: perf increased, levelled off, and then dropped back down. This time, the perf improvement is a linear ratchet function.

---

My other point, is that until fairly recently, most of Erlang's biggest users were "enterprise" customers with embedded use-cases, whose #1 concern was stability — they didn't care about perf-enhancing new language features, because they weren't about to rewrite their working+tested+certified code just to get better perf. They were only interested in "transparent" perf enhancements.

More recently, though, large non-"enterprise" corporate users of the Erlang runtime, like WhatsApp and Discord, have been migrating their work developing third-party perf-enhancing feature modules upstream as language features, because they are interested in rewriting code to increase perf — as long as that rewritten code is also just as maintainable (if not moreso.)
Yes but bear in mind successful companies do grow and you are then frequently stuck with the startup type choices made early on because "now it's too late" - even if it just due to original small team now being the tech leadership and know no other way. Been at a 30 team company working on an old Rails monolith and it totally sucked.
> Many bar owners who closed during Covid will tell you they should have served food.

This is a bit disingenuous. There was literally a law allowing pubs to open only if they served food.

That said, a huge amount of pubs in Ireland have added food to their offerings in the last 20 years, even before Covid, so it must make business sense.
Design language is great.

Improvements:

- What can I barter? Why not show items available for bartering. I won't sign up unless I know what I'm signing up for
- Navigation should always be on top even if it looks better somewhere else. User behavior trumps aesthetics in some cases
- Remove the expanding buttons!!! It is very unintuitive! They do not need further explaining
- About us page is very small. Go into more detail about yourself and the product. You need to gain trust as well as demonstrate clear goals for what your product is, why it is necessary, and so on.

The site needs lots of improvements. Try taking a look at other similar product categories and see what they are doing to fill their site and make it more polished.

It seems too bare for me personally and I wouldn't look into it further without examples of the product.
"Works" is relative on a phone. I guess if you have laser vision and fingertips that are the size of a pen point it's great.

I still use i.reddit.com for mobile. Blazing fast, zero ads, has most of the actually worthwhile functionality.
Where did you pull that 99.9% number out of?

Perhaps 90+% tolerated it because at least it wasn't inherently a horrible experience to go through, but actively grateful? I for one would prefer spending those man-months of my childhood on things that interest me more...
>No amount of voting out the incumbents will change much --

The theory I have is it will, over time, destabilize all the back room deals and self preservation mechanisms currently in place built over decades of incumbency. I can't really think of another option.

>the parties significantly predetermine who you get to vote for in the first place, of course.

I agree. Having said that, there is nothing in the constitution that even mentions political parties, they were an invention to gain power during the Washington administration, and they are highly effective. Would it be any worse to elect some third party representatives just as a protest vote?

"I don't care who does the electing, so long as I get to do the nominating."

- Boss Tweed

https://en.wikipedia.org/wiki/George_Washington%27s_Farewell...
Yeah, there was a switch to PDF from Display PostScript at the time of the NeXT merger.
It's easy to be optimistic when your friends aren't starving and struggling to afford transportation or find work. I'm not talking from a doom-scroll, I'm talking from lived experiences where I'm seeing people drop like flies in a system that is rigged to wring every drop of their energy and time from them for the least amount of compensation.

How many people do you know who work for Wal-Mart? How are they doing right now? How many unemployed people do you know? People who are getting evicted? I know at least 5 and they are all doing terribly. The cost of living has nearly doubled for the poorest among us and wages have barely budged. They can't afford to live close to their jobs because of skyrocketing rents and can't afford cars to drive to work. They have no savings and are a hairs breadth from homelessness which is becoming a bigger target for police.
It should read "stringline".
Can I barter with money?
> crypto makes sense

Does it? You have the technical hurdle of securing your own wallet, the technisocial challenges of constant scams, the inability to exchange to and from fiat without major, centralized, unregulated exchanges, and even worse than inflation a completely random value story which is somehow "inexplicably" also tied to the fortunes of the markets.

Should you try to work around some of these risks by just using an exchange, you're equally finagled in fintech, and overall I just find it impossibly hard to imagine crypto is actually saving anyone from brutal financial conditions in spite of all these claims.
I think it only show "any random video with music" if you've liked the video and it appears to be a legitimate music video (i.e. without dialog/non-musical noises etc.). I use YtM a lot and the only questionable videos are ones that I've hit like on (beat saber being a prime example - I've learned not to like anything like that, these days).
I've used preview to sign hundreds of PDFs and love showing people that little feature that is invaluable.
That explains why she is wearing a mask. Boss forced her to come to office and she is not comfortable coming in, yet!
I'm a big Preview user, it does little photo editing/resizing things so well, glad to see it get some recognition on HN
Looking back over this hours later I want to add the following:

the anecdote I offered above was not an effort to paint code camp participants as untrustworthy or incompetent. My point is that this individual was lacking in skills and knowledge beyond a Jr level engineer and plagiarized at least part of his codecamp work.

The only thing he needed codecamp for was the "education" on his resume and a shortcut through the interview process. He was made lead engineer, potentially just to boost his resume, but regardless he was involved in "fullstack" development which was leading to some really really nasty issues. He had already worked there for some time once I joined the team, so I have no idea how limited his skills or knowledge were when he joined. What I did see was that he took a codecamp shortcut. This is harder to do with college CS courses and totally pointless if you're doing it for the fun of learning and creating things in the first place (which is the motivation for my and many other people's self-education).

I've worked with self, college and bootcamp educated people. To reiterate I PERSONALLY have not encountered someone from bootcamp who was beyond Jr level. I'm sure there are people out there who are very talented and have used bootcamp education to their benefit, but I see it as an easy system to abuse and I'm skeptical over the actual educational benefits offered by these schools.

I would also like to add that I have worked for a number of companies who refuse to even look at a resume from people with codecamp education (hiring people who are self-educated over codecamp educated even). I think this is a heavy handed approach and disagree with it.

Regardless of the source of education, loading up your company with people who are only Jr to Mid level is a recipe for disaster.
I don't think Anarchists and US style Libertarians understand the implications of their beliefs. Go look at countries where there are very weak central governments. You will universally find strife, famine, corruption, war, etc. These are not utopias, frankly they are dystopic.
Here I am remembering when Rails was the shiny new thing and competing against various staid approaches in Java and Python, not to mention Cold Fusion and some of the other former hot things.
OpenMP is a set of #pragma that just sit in your C++ code directly.

> What I disagree with is that it should be suggested to beginners as the way to parallelize their C++ programs.

I guess we can agree to disagree then. If beginners think your way is easier, they're welcome to try. But there's plenty of production code examples that show the simplicity of OpenMP.
This is the "stringline" phenomenon, not "straight line".
I really like the concept of Preview on mac, but every time I try to do something simple in it for more than 10 seconds, I just sigh and install Krita.
No cryptocurrency or Web3 platforms actually store their data on the blockchain. That would be ludicrously expensive; it'd cost tens of thousands per gig at least. Relational databases, cloud object buckets, and CDNs are pretty much all you should need, storage-wise, unless you're solving an especially interesting problem.
How long ago are you talking? Realplayer came out in 1995, I was listening to live DJs over my dialup connection in 1996.
I'm sorry. It must be my age, but I don't really understand the comment. Was I supposed to be insulted? It may have fallen wide of the mark, if so.

I wasn't railing against anything that "I don't like." I was simply stating that I use MVC, on a regular, daily basis, and it gives me the results that I require.

And, I know, for a fact, that some of these patterns are used for exactly the reason that I stated. I know this, because I have talked to the managers that decided to use them, and that was the motivation. I don't even have an opinion on whether or not that is bad. Many of these teams do great work.

Maybe things are better, done in ways beyond my limited, saurian, comprehension.

All I can say, is that I'm able to churn out a lot of stuff, of extremely high Quality, in a remarkably short time, using these prehistoric patterns. I know that Apple developed the patterns they use, in order to allow very small teams to create high-Quality, high-performance apps, in very short time (again, because I've talked to some of the folks involved in writing UIKit). People like me, working the way I do, were what they had in mind, as they developed their frameworks.

SwiftUI looks pretty cool. I haven't used it much [yet], because I have yet to be convinced that it is suitable for ambitious, shippable projects. I'm waiting for it to develop a bit of momentum. At first glance, it doesn’t seem to be designed for MVC (but it may work great. I don’t know enough about it, yet, to be sure). I’m happy to learn up on whatever methodology works best for it. I learn quickly, and adapt extremely well. Been doing exactly that, for quite some time.
Supercharging GitHub Actions with Job Summaries
This is it quite so true in the us now, which will hurt the reputation of the supremes and harm political unity/involvement. Gotta pick “good people” for these kinds of jobs rather than flunkies.
They don't trust 18-year-olds to tell the people with guns who to shoot at, or where to drive the trucks, though.

Anyone who has operated in a student-run organization will tell you that when you're doing anything complicated (like managing a college IT department), the ~4-year limit on institutional memory is a serious issue, especially when it involves people who mostly don't have the experience to be proactive about documentation (and, I should note, institutional documentation is not an easy problem for organizations filled with seasoned professionals).
Especially kids' toys! We have a mostly wonderful toy firetruck that we don't bring along anywhere because it might start singing at any moment.
Is there comparable data on other countries? What is this a proxy for? (Track upkeep problems? Trains are too fast for the load? Signaling issues? Mechanical issues?)

Rail safety seems a lot less complex and pretty much as regulated as aviation safety, how come there aren't just ~1-2 per year? Is it just because fatalities are luckily fewer (due to the nature of these derailments) so no one really gives a shit?
You can have an electronic circuit that is open, unless you press a button, then it's powered on and keeps power until a timeout/event. I know, it requires some more complex concepts than a bidirectional physical switch, but it's doable.

The twitter thread complains about controllers which empty their battery between uses because they keep trying to connect; but it's not something that's mandatory: an at-rest device can stay at rest without user interaction. I've used hardware on which the battery was still usable after years without use; it does requires very careful design, though.
It is just like static linking in c. We can split code into different object files, and statically link to a big application. We help of header file, we can invert the dependency relationship to keep implementation private to keep autonomy. It also applies to node.js/web frontend application, here is a vite demo: https://github.com/taowen/vite-howto/tree/main/packages/STAT...
I'm surprised that seemingly there are no other major FOSS OCRs than Tesseract and Tesseract is quite frankly horrible. I once tried to use it on a high-resolution screenshot of a Discord message containing only the characters "0" and "1". I cropped it to only have the text, restricted character sets, tried fiddling with the images contrast and what not and the result was still quite poor, with many characters mistaken or straight up ignored.

I have little expertise in ML, but from my limited understanding, OCR is the bread and butter of the field. I've read exactly one "Intro to ML" article and it was about recognising digits. And yet, we have an abundance of high quality proprietary OCRs that can recognise printed or even hand-written text and the single open source one is having trouble with perfectly formatted text with a readable font.

Could anyone with more expertise shine some light on this current state of affairs?
> The notion that to learn a language you also need to learn a second one is not great

It depends on how far you're trying to go maybe? You could argue that, for any given programming language, there is always a point where you will have to learn some intermediate representation language to achieve certain tasks; I personally don't think this is unique to Elixir.
I see lots of comments about democracy/democracies yet all examples that I read are not the way the original democracy was designed. All of them are republics, which is where the problems begin regardless of the length of time a politician is in place.
The world would be a far better place if there were actual democracies in place, however you wouldn’t have mega wealthy people and that simply cannot stand in today world.
Assigning fault (or blame) to only one party is most likely foolish and unwise. The world is not that simple. It is complex, as in a complex system -- not the same meaning as in "throw up our hands because it is too complex to handle!". Untangling the interrelated factors is complex. Making sense of a complex system honestly is key to finding workable and fair solutions
The title would be much more clear with a comma after "Preview" IMO.
Then "politics" is not the means to make a positive change in society. Cf Elon Musk.
Dark patterns are basically brain hacking, hacking someone else's brain to benefit yourself. This looks like some kind of massive A/B test to eke out a small percentage margin on advertising.

I'd give it a few dark points for that but imo advertising itself is the dark lord of dark patterns: not only is it a brain hack, not only has it hacked all the way into social acceptability, but it is the darkness from which so many other dark patterns spawn and spring forth to bring revenue to their master.
Thanks for your comment! I'm currently focusing on making Cognate small and efficient so I can see it potentially competing with micropython as a scripting language for microcontrollers.
Regardless of how long it took to derive, the JPEG standard is still pretty straight forward and obvious. Perhaps more so in hindsight?

1) Convert image to YUV color space so that brightness (Y) component can be compressed separately from color (UV) components to which humans are less sensitive.

2) Transform each component (YUV) to frequency domain, then throw away image fine detail, i.e. high frequency components, according to desired level of compression. This obviously is the key idea.

3) Encode remaining frequency components to as small a size a possible

Once the general idea for this approach was conceived, it seems a rather minor step to try DCT vs the more obvious FFT for the frequency encoding. DCT gives slightly better compression. The approach isn't dependent on Huffman encoding for step 3) either - any encoding scheme would work, so experimentation would also have worked there to see what gives best compression on some set of test images.
I wish this existed for Asana.

FYI: a use case that’s near and dear to me is agencies working with clients that prefer to use their own task management tools to post issues/requests. We live in Gitlab, but clients love their own tools; asking them to use Gitlab for issues (even via email to service desk) is too much friction.
> and those PSR trains sound like a nightmare.

They are especially a nightmare when you get stuck at a crossing with no other way around them (no bridges). I sat at a crossing for over 15 minutes waiting for a extremely long train to pass.

It gets even worse when you live near a place that has the train come to a compelete stop so that cars can be unhitched, taken off to a side rail, then have the engine reverse to connect back to the rest of the cars, for it to finally slowly pull away. The small town I lived it was forced to build a second fire department as the only one would get stuck behind trains delaying help. They evenutally built a new access road with a bridge over the tracks.
>The modern nation state is a relatively recent invention

On what time scale, geologic?
Fixing gerrymandering is the answer.
Ask HN: Can a transparent HTTP proxy read encrypted data?
Wasn't sure what the best place is to ask this, but just out of curiosity:

Can transparent HTTP proxies read encrypted data?

e.g. proxied https or ssh sessions
You’re right, except that the founder’s experiment clearly failed very early and was foolish to begin with.
At least in postgres, you don’t need to provide a name, in which case it seems to do no dedup check on the create index. Quite annoying if you’re doing changes ad-hoc
People also forget that you can use Preview to scan documents from your scanner rather than using whatever shitty software came with yours.

Also, Preview > File > Import from iPhone > Scan Documents gives you a virtual scanner instead of having to install one of those "scanner" apps on your phone. Its built into your iPhone already!

I also use it frequently to change image file types.

You can also make a digital version of your signature from a picture of physical version.

There's just tons of small features that work well.
The gross number of derailments isn't very meaningful, what you need is the derailments per train-miles-traveled, analogous to the collisions per vehicle-miles-traveled that is used for road safety. If we're running fewer trains, obviously we should expect fewer derailments.

As some other commenters have noted, it might be even more useful to get the total weight of derailed cargo, per (mass times distance), I suppose.
I have a TV with a flood light on the bottom when it's off and the IR receiver is also behind the translucent plastic for the light. It's in my bedroom and is bright enough to keep me up, so I have electrical tape over it which I then have to remove to use the TV because it doesn't have buttons.
A digital signature can validate that data has been added by an authorized participant, but it cannot tell you if data has been deleted.
Observing agency heads run circles around elected representatives during hearings, I quickly flipped to oppose term limits.

There are so many obvious, non-controversial good government reforms. Applicable to all levels of govt: federal, state, county, city, districts, boards, etc.

living wages
full staff
public financing of campaigns
proportional representation (assemblies) & approval voting (executive positions)
lengthen the legislative calendar, maybe even open ended
default to public disclosure, eg data.gov for all

I could go on and on. So could everyone else with even a little bit of policy experience.