skysight-inc/HackerNews huggingface dataset:
> I don't wish to share my space/commute with drug addicts and literal human feces, I don't see why anyone in this world would prefer to do that, can you explain why since you prefer that?

If you spend an hour in literally any medium-sized European city you can see that public transport doesn't have to be like that given proper funding and a critical mass of ridership.
White screen, no content, 30 errors in the console. Firefox 50.1 @Ubuntu
Too much JS for one page... :-|
Yeah it’s nearly the main benefit of Ruby/Rails that you can spin up an mvp of your company in like a week, and have a decent feature set within a couple months.

The trap is when you start growing and it is hard to change. Because the features that took 1-2 months in RoR might take 3-4 months (or more!) to port to another language, and do you really want to stop your working business when it isn’t a problem?

Because Rails performs totally fine at small-mid startup scale. It’s only when you start getting a couple years old with lots of users that it starts to bite you. But at that point you already have gotten further than 90% of startups ever even make it. And at that point, honestly there are solutions for that too, like gradually pulling the poor-performing bits out into faster languages.

Writing this as someone who works for a startup that uses RoR, and I’ve seen it blow up over several years. I curse RoR daily because it pisses me off, but I don’t think this company would’ve gotten this far if it didn’t have the RoR speed at the beginning.

So are you better off starting your company on Go/Rust/Java? Maybe. But if getting to market fast will help you win, it’s hard to beat RoR.
Block certain subreddits but upvote/promote other subreddits
Side note: The result of sqlite3_expanded_sql() is a pointer to the string containing the SQL statement with bound parametrer(s):

"The string returned by sqlite3_expanded_sql(P) [...] is obtained from sqlite3_malloc() [...]"

From SQLite documentation: https://www.sqlite.org/c3ref/expanded_sql.html
There's a search engine for webring, if you're interested.

https://lieu.cblgh.org/
Vaguely related - this reminded me of a support call I had where similarly the real world apparently merged into the digital world.

I was doing IT support for a small Australian company back in '98. A guy called me from a remote office, and after a few pleasantries he explained that the screen saver had fallen off the monitor of his dumb terminal, bounced on one of the keys on his keyboard, and now terminal was locked up. He wanted to know what key to press to unlock the terminal.

Eh?

I knew the guy, and although he wasn't trained in IT, he knew his way around the basics, he wasn't completely clueless.

I asked him to explain the problem again as I wasn't sure I'd understood. He repeated exactly what he'd said the first time.

I replied "What do you mean the screen saver fell off the monitor, that's impossible? Besides, it's a dumb terminal, they don't have screen savers."

After a little more fumbling around this weird upside-down world he was presenting me with, it suddenly clicked. He was talking about the physical CRT anti-glare screen filter [0] that used to be common around then, that literally hung in front of the screen. This has come unstuck and hit the scroll lock on the terminal. He called this a screen saver.

Since then the phrase "Screen saver" seems to have now morphed to mean what I used to call a desktop wallpaper, but that's a separate topic.

[0] https://dylbs6e8mhm2w.cloudfront.net/productimages/500x500/E...
I think GP was referring to how 1/3 cannot be represented as a binary floating point number. There should be something other than a "3" after the "..." if that was the point.

1/3 truly is an endless 0.33333... independent of any technology.
> You and Youtube both know there's only one video service that offers long form format and that's youtube themselves.

There are others, but YouTube has the largest audience. That's why Brand chose to use it as his platform. There was never a promise of a continuous business relationship. Things get blurry if YouTube decides to keep serving ads with Brand's videos, but doesn't pay him. They can do it, because that's how they wrote the T&Cs, but it doesn't seem fair. I don't think book publishers stop paying royalties to authors who have been accused of criminal behaviour; they may stop printing their books or even pull the books off the shelves, but the accounts will be settled and there will be no further monetization of the author's content.
https://torontosun.com/opinion/columnists/c11-is-now-law-and...

I do understand how this related only in a tertiary way. However, the Canadian Radio-television and Telecommunications Commission is a hot mess and Canada is headed towards total media control.
Populism is taking advantage of discontent to persuade people to act against their own best intrests.

That discontent can be caused be anything. As long as a demagogue can lie about it and use it to kill rights and laws to empower themselves.
Only the major languages and implementations. Hundreds of faster variants are missing
I'm very well aware what they are. Authorized resellers are not supposed to look like real Apple stores.

If you see an "Apple Store" that looks real but isn't an official Apple Store then it's fake, or its an authorized reseller that if Apple finds out about them will lose their status as a reseller.
Thanks for the feedback. Will try to address it in future releases.

Yes pgdown behaviour need to be refactored. Home/end is easy to add.

> If you remove the alphabet key shortcuts you wouldn't need the (non-discoverable) dot. :)

I did not get this one.
Show HN: Discover Jobs in the Green Economy
I created Greenish.careers out of my personal frustration when I was searching for a job in the green economy, with a particular focus on Germany. I was disheartened by the lack of a comprehensive job board dedicated to environmentally-conscious careers. Greenish.careers is my solution to this problem, a platform where individuals like me can easily find meaningful job opportunities that align with our values and contribute to a sustainable future.

Also on PH today: https://www.producthunt.com/posts/greenish-careers

Some more facts:
- Providing job postings from companies careers sites to have up-to-date data
- Sourcing / parsing around 4.500 jobs daily (more to come)
- Create job alerts via emails

I'd appreciate your thoughts, comments, and feedback as I'm eager to improve. Thank you!
Don't travel to these countries if you're American, U.S. government warns
Yup they will. Because of Reserve Bank of India guidelines, Cheq needs to at least show that they are making an effort to prevent domestic transactions being made outside India
The question was "why is the UK government in collapse"
Is it a NIMBY sentiment to not want these in cities?

I can't imagine the kind of clusterfuck these would cause in a sufficiently dense city. The sky blotted with these...
Cool build!

Quick question - why did you decide to create this bot in Rust, instead of the more popular libraries Discord.js or discord.py? Is there a real performance reason, or did you just want to do it in Rust?
Incidentally, appears to be only the second time it's been resubmitted in the month of September. The timing is thematically apt.
I had originally thought the project to be font related, ie. the Open Type Font. Not saying it’s clearer now but at least it doesn’t remind me of OTF anymore.
I was understating, for sure. Civility (or the veneer thereof) is HN’s major exploit vector.
A Simple Scheduler via an Interrupt-Driven Actor Model on Cortex M
> The appendix is a great segue to Church's Lambda Calculus, which will probably be my next project.

Note that a straightforward universal machine for the lambda calculus can be orders of magnitude smaller than for Turing machines [1].

[1] https://gist.github.com/tromp/86b3184f852f65bfb814e3ab0987d8...
This resonates with the UK discussion about backdooring/golden keying/breaking/prohibiting encryption, to save the children.

Yes, unbreakable encryption is potentially a perfect weapon for terrorists and threatens safety of children in when the hand of child predators. Which lead to the urge of governments to "do something". But it's probably better to accept that it simply cannot be controlled at the technical level; the math to do so responsibly simply isn't there.
My city has been converting lights to be on timers rather than sensors to frequently give pedestrians a walk signal to improve walkability.

This leads in to the concept of induced demand, which has been shown to be true over and over in urban planning. Essentially, making traffic better with smarter lights, more lanes, etc. doesn't work because it causes more people to drive their cars rather than choose alternative modes. It is much more effective from a climate standpoint to reduce driving by making it harder relative to transit, walking, and biking. Obviously the better way to do that is to make those other modes easier, rather than making driving harder, but putting resources into making driving easier certainly isn't a good idea either.
As you say, a sham : as long as the Patriot Act is still effectively ongoing, everyone else is still trying really hard to look the other way, (especially while the war is still ongoing !), ignoring the CJUE, which has no choice but to shoot down one agreement after another, since they automatically violate the EU Charter of Fundamental Rights : https://en.wikipedia.org/wiki/Max_Schrems#Schrems_I
Compose Specification Decoupled from Docker
As America’s influence in Asia wanes, Asian economies are integrating
Eh? That is definitely nor what's going on with this bill.
Not available internationally, geographic blocking :-(

"This content is not available in your country/region."
https://archive.ph/Rug68
Yeah the trailing slash cargo cult just goes to show the author has no idea what he/she is doing. Even more pointless is a pretentious space before the slash. It appears many extant uses of the bogus slash result from WordPress filters and their fragile nature (never change a running WP system aka WP trainwrecks) rather than manual insertion.
Noise pollution and collisions are a much, much larger problem with cars, since they're constrained to two dimensions while drones can use three. Plus, cars tend to kill people when they collide with each other (or with pedestrians), and drones would not. Hopefully they will all use engineered quiet propellers (such as Zipline uses) and electric engines (similarly).
This is the first time I've heard of webmentions although I think I have used it on Wordpress before. I thought it was a proprietary protocol.

Reading this document: https://indieweb.org/Webmention-developer it appears that bhread is a bit simpler than this and as you've mentioned, works on static content. The setup is simpler [1], and there's a homepage for all content. It's probably the only advantage of my project but thanks for bringing this up. I now have a new resource I can get ideas from.

[1] Sign up, put xml url, post a verification
It would be funny if these again began to be worth something through becoming collectors items... oh, wait.
The Billionaire Keeping TikTok on Phones in the U.S.
‘Less than half’ fresh produce sold globally makes any profit
> I remember the first week of Geometry, they told us that the drawings of squares and circles and whatnot printed in the textbook are not intended to be accurate, so don't bother measuring them to get the answer.

I considered, and to this day consider, inaccurate figures in textbooks to be sloppy job by lazy people. Sure, measuring the solution off a drawing is (in math classes) missing the point of the exercise, but at the same time, humans process knowledge holistically, so inaccurate drawings will interfere with gaining an intuitive understanding of a problem space.

I mean, if you were using software to chart some data you want to "get a feel for", would you be fine with software introducing arbitrary errors just because "Ceci n'est pas une pipe" or whatever?
It is not 2006 anymore. Rails was a trailblazer. The productivity difference is not as large as it was compared to alternatives.
I’m glad most people use their powers for good. This is beyond me.

Incredible programming.
Point is, Walmart, a private company, does have restrictions on what it can and can't do, like who they allow in their stores, so it's not as black and white as private business = absolute rule over interior of the building.
Pinball is awesome. I play it every week. I also organise tournaments.

Great way to socialise and if you're competitive, tournament pinball is very deep and satisfying. Physics! Rules!

Take a quick peek at the last IFPA world championship

https://youtu.be/A4M5hcAPCaI?t=8238
Sounds like one of your friends is a troll
It's supposed to get rid of stuff that makes people uncomfortable, like knowing about the existence of people in pain who want to end it. The bright, happy marketing of McDonald's is quite the opposite! Have it your way! Yay!

Look forward to animal welfare issues being hidden in the same way too.
Did you read the linked article? The context of this discussion is VP of Ads (Jerry Dischler) explaining on the stand what this Ad process of making changes look like, in his exec-level lingo, and news reporting on it adding another layer of obscurity. I explain what it means for the HN audience

Yeah, Ads Googlers perform a massive numbers of these price-affecting canarying and rollouts yearly, and it's not about raising minimal bid prices that folks ITT think of. Even if Google didn't support automated bidding strategies, there would be other considerations, for instance hourly budgeting. Not diving into details.
Archived: http://archive.today/Bc8kV
Seems like a naive take. There are talented devs everywhere, but yes some difficult problems may only be tackled at FAANG. But then again, not all devs at FAANG work on hard problems, some are tweaking widgets all day. And at smaller companies a dev may need to work on the full breadth of a product, or be the only dev that can fix major issues - how exciting.

More often than not, what people say is a reflection of them not you. I’d expect the likely reason for the comment is simply for your friend to make them feel good about themself - their career.

Ignore it.
While that is true for Platform 2 drones, from reading this article [1] it seems the ruling currently only applies to Platform 1 drones (ie. the specs I was referencing). Although it does seem like the Platform 2 drones would be more of what you’d imagine for drones dropping consumer packages in the US. And that article goes on to state that this ruling seems like a jumping off point for securing further exemptions (ie for the Platform 2).

[1] https://dronedj.com/2023/09/19/zipline-earns-faa-bvlos-exemp...
Loving the ideas here. I'm especially fond of the machine-to-machine idea, the concept of a locally running LLM that knows about you, and a remote LLM in an app or whatever, interacting with eachother to create a highly individualized UX.

Seems like a perfect blend of keeping the core personality of the LLM trained on your data local, while still allowing permissioned access.
Housing is far more about land use and transportation policy plus other bad building regulation.

It has basically nothing to do with total population.
what bits of Matrix make it appear fundamentally broken btw? (asking from the pov of ensuring they get fixed)
> and IMO thinking of it as a variable is halfway to making the mistake

I used plural for a reason.

> there is no block in the program text that corresponds to that scope.

The scope starts at the for. There is a bunch of state that is tied to the loop, and if you rewrote it as a less magic kind of loop you'd need to explicitly mark a scope here.

What's non-lexical about it? You could replace "for" with "{ for" to see that a scope of "all passes through the loop body" does not require anything dynamic.

And surely whether a scope is implicit or explicit doesn't change whether a scope is lexical. In C I can write "if (1) int x=2;" and that x is scoped to an implicit block that ends at the semicolon.

Would you say an if with a declaration in it is non-lexical, because both the true block and the else block can access the variable? I would just say the if has a scope, and there are two scopes inside it, all lexical. And the same of a for loop having an outer and inner scope.
Yes! The movie is a good one. My wife enjoyed it and she doesn't know anything about pinball. There's a little love story woven in. Highly recommend it.
Kagi searches are soon to be unlimited (fair use policy?) for the $10 plan. If I understand correctly, this may happen around October 2 when other new features are released.

I use search a lot in my workflow and my usage is showing 2k/month. I expected it would have been 3-4k.
jOOQ doesn't work with string variables (I mean it can, but that's not the point of that library). It compiles your database schema into objects and then you invoke a very SQL-like API over them. The code then reads very close to the actual SQL and since the schema is encoded in the Java objects you get the usual code completion for things like columns, tables, stored procedures, indices..

What you don't get is the more advanced, entire-query-level hints, because IDE's can't tell that Java / Kotlin / ... code is actually the SQL that will be emitted if you squint just a little bit :)
The two major areas where caching is used in Rails are:

- database queries

- template rendering

First one because round trip to db + running the query + allocating ORM result objects that otherwise get thrown away.

Second one because allocating a ton of strings that get join'd and thrown away.

> No one disputes that Ruby is slow.

I am, because the blanket statement doesn't make sense without context. Also that view is largely biased by the typical assumption that Ruby == Rails.
> gsub(/\/\.\./, "/", request_filename) # avoid directory trasversal

Hmmmm

http://localhost:8888/..../..../..../..../..../..../.../.......
> Ultimately the citizens of N Korea are 'free' to move elsewhere

They literally are not. They are held in by landmines and barbed wire. Nobody is going to execute Brand and his entire extended family if he moves away from YouTube. But that WILL happen if you leave North Korea.

Quit your sh*t.
A journalist here in Australia just named her baby "Methamphetamine Rules" because she assumed it would be rejected and was writing a story trying to find out what the default assigned name was. Only it wasn't rejected and she received a birth certificate with that name.

https://www.theguardian.com/australia-news/2023/sep/19/can-y...
paste to gpt and prompt to summarize
Ahh ok, this makes sense. Well, I barely use my corpo Win10. I hate it.
Cygwin64 helps a lot, but still if I can do work on my desktops Ill do it there.
Basic stuff can be done on Win10 in shell (bash).

So, cannot say much about Win10 + msys2 + new GIT performance here. My laptop
is slow anyway with all the bloat IT put there :)
Okay, it's kinda cute, but it's not good.
Ask HN: Which school produces the best programmers or software engineers?
This may well be entirely anecdotal because I don't think there is any official data to this somewhat ambiguous question.

But based on your experience, if you have worked with quite a few number of programmers and engineers from a few schools, which school tends to produce the most well rounded programmers/engineers (as much as a school can train someone out of the box)?
I know Zen mode, however, most interactions are pleasant so I don't enable it by default, but typically when someone bothers me in the chat.
You would be surprised. VR/AR can present 2D surfaces that appear to have a much higher resolution than what the LCD should be able to do natively. Because you (ideally) have two eyes (cameras/view frustums) and they're always moving slightly, the virtual canvas is sampling the source texture's pixels slightly different per eye and per frame (e.g. at 90Hz or higher). Between the images your eyes see and the high-frequency changes always happening, your brain pieces together all of the detail.
Well, as long as you would like a pocket computer on which you can use the phone network to make calls, browse the internet, and use navigation, there really isn't many other products, just Android phones. So you choose between Apple and Google, essentially. Now, if someone has a single concern, like this per-part locking down thing, the decision is easy. But if someone has a larger set of concerns, the decision becomes which of them to give up.

Same with voting, really. If you look at the US, you have an imperial shit-ton of political issues, and a ridiculously small pool of just two parties to choose from. Even in countries where there are multiple parties, it's rare that people agree with everything they say and do. But with voting for any of them, they support them anyways.

And so, that's why the arguing about the liberties come into the picture. Because if you buy a product, you essentially support the product and the manufacturer. Maybe you want to support a single thing about them, like how well they protect their cloud, but with that, you also support all the other things they do as well. And you especially can't get away from things which are so pervasive that they are part of the zeitgeist, like the ever-present telemetry that comes with the always-on internet connections.
Yeah, because hundreds of health authorities simultaneously collecting their own data (often with larger groups of each cohort) wouldn't be able to replicate or disprove the outcome of the original research.
Does that really happen? Has there been any incident of European companies being sanctioned by the US because they traded with Cuba?

Here is a Danish article about more Danish and European companies operating in Cuba because they expect a Vietnam/China-like economic boom:

https://politiken.dk/oekonomi/gloekonomi/art5577587/Virksomh...

Denmark is a NATO country and the US is our main export partner. We wouldn't be trading with Cuba if it put our relationship with the US at risk.
For those on a Mac the millilightseconds unit probably won't work, in which case you can try:

586 units, 56 prefixes
You have: 3 lightyear / 365.25 / 24 / 60 / 60 / 1000
You want: miles
* 558.83525
/ 0.0017894361
From searches I made, content returned is not relevant enough
Kind of makes sense, it made OpenTF made me think of OpenTheFuck ... which is not ideal.
He is not being censored. Youtube ends their commercial partnership, because they think he doesn’t fit their brand image. But he can still upload videos, ask for patreon subscriptions, sell tshirts etc…
Similar things have existed like the Chicago Tunnel Company or the London Post Office Railway.
In general I think there are good lessons here, but I feel like tech is the chief villian of the show. Rarely is it user agency that is the prime directive; increasingly the actual decision making of tech is happening in far off data centers, data keeps, safe from public view and meddling.

Even with our various impressive applications, most computing happens in isolation, within the confines of a single app, with maybe a couple loose inputs here or there.

Rather than make us feel out of control, I'd love a tech scene that actually empowered & embraced the human spirit. That tried to equip individuals well, in with broad holistic interconnected computing workflows.
>This message brought to you by a day of commits dealing with edge cases that only manifest in the cloud environment which uses a "strategic" database technology that is impossible to run locally.

Did you consider running a second test instance of the DB in the cloud?
i feel like "typo" should mean "typing error" and not "autocorrect fubar"

mixing the two implicates humans for the errors of machines

edit:

unless failure to disable autocorrect is counted as a user error
That's a key risk people think about. Even if it seems well aligned to our interests, is it playing a smarter game than we're aware of?
At this point its a part of the HN lore...