skysight-inc/HackerNews huggingface dataset:
Part 2/2

/*```````````title```````````*/
<MODE1>\">[^<]+ if(z){
z=0;
for(x=2;x<yyleng;x++)
putc(yytext[x],yyout);
fwrite("',",1,2,yyout);
}
<MODE1>class=\"subline\" w++;
/*```````````score```````````*/
<MODE1>id=\"score_[0-9]+\">[^ ]+ {
for(x=y+12;x<yyleng;x++)
putc(yytext[x],yyout);
putc(44,yyout);
}
/*```````````user``````````` */
<MODE1>id=[^\"]+\"[ ]class=\"hnuser\" {
putc(39,yyout);
for(x=3;x<yyleng-16;x++)
putc(yytext[x],yyout);
fwrite("',",1,2,yyout);
}
/*```````````time```````````*/
<MODE1>class=\"age\"[ ]title=\"[^ ]+ {
if(!w)fwrite("0,'pg',",1,7,yyout);
y=0;for(x=19;x<yyleng;x++)
{yytext[y]=yytext[x];y++;}
yytext[yyleng]=0;
strptime(yytext,"%Y-%m-%dT%H:%M:%S UTC %Y",&t);
printf("%ld,",mktime(&t));
if(!w)fwrite("0);\n",1,4,yyout);
}
/*```````````comments```````````*/
<MODE1>class=\"hnpast\">past<\/a>[ ][ ] fwrite("0);\n",1,4,yyout);
<MODE1>item\?id=[0-9]+\">discuss fwrite("0);\n",1,4,yyout);
<MODE1>item\?id=[0-9]+\">[0-9]+&nbsp; {
for(x=8;x<yyleng;x++)
if(yytext[x]==62)break;
for(x=x+1;x<yyleng-6;x++)
putc(yytext[x],yyout);
fwrite(") ON CONFLICT(id) DO UPDATE SET ",1,32,yyout);
fwrite("status=excluded.status,score=exc",1,32,yyout);
fwrite("luded.score,comments=excluded.co",1,32,yyout);
fwrite("mments,title=excluded.title;\n",1,29,stdout);
}
.|\n
%%
int main(int argc, char *argv[]){
if(argv)
if(argc==1)
{
fwrite("PRAGMA foreign_keys=OFF;\n",1,25,stdout);
fwrite("BEGIN TRANSACTION;\n",1,19,stdout);
fwrite("CREATE TABLE IF NOT EXISTS t1(id",1,32,stdout);
fwrite(" INTEGER PRIMARY KEY,status TEXT",1,32,stdout);
fwrite(",url TEXT,title TEXT,score INTEG",1,32,stdout);
fwrite("ER,user TEXT,time INTEGER,commen",1,32,stdout);
fwrite("ts INTEGER);\n",1,13,stdout);
}
yylex();
if(argc==1)fwrite("COMMIT;\n",1,8,stdout);
exit(0);}

/*
non-indented lines: 12-14,16,22,28,29,30,36,38,56,61,66,71,76,81,88,94,96,102,109,119-121,131,132
*/
Dutch does that too, and I've tried out what happens if you say it correctly ("negentig 'n zes", ninety and six, instead of "zes 'n negentig")

It takes a second to process and then they'll ask "do you mean [reverse order variant]?" so they do kinda get it and I think transitioning to the sane version could be possible without much trouble, but people would have to want to
So instead of spending _billions_ to support a domestic advanced chip design and production, we spend _trillions_ on a war with China?
> What if people think the code is rubbish? What if people hate the project? What if nobody contributes? What if it just ends up being an embarrassing mess of a project that nobody cares about?

Are you only doing the project because you want other people to approve of it? If so, then these are great questions. And if they all come to pass, you'll need to pick yourself up, dust off, and try something else.

On the other hand, if you have your own reasons for doing your project, all these things could come to pass but you could still keep on doing it for your own reasons.

So really, all those "What if.." questions are not for us to answer, but for you.
> there was a time in very recent history when these same schools ran successfully with much smaller administrations.

> there are in fact many cases where a small team outperforms bloated, ossified companies...

Sounds like the perfect time to start a disruptive university program! Where's Andrew Carnegie when you need him? Any relevant examples in this space?
The best time to act was back then. Second best is now.

Time to make some lifestyle changes in keeping with a new story: public good (or luxury, if you prefer), private sufficiency. This flips on its head the previous story focused on private luxuries; no more playing the metaphorical slot machine to be one of the few that can have all that. A meaningful life can be had without playing that game.

If you're a keep-up-with-the-Jones' type, review your actions and consider unhooking those compulsions.

If you're like me and hyper-focused on particular hobbies, consider assessing the embodied energy, the opportunity cost, and other, lower-impact hobbies from which you might derive the same benefit.

If not already familiar, look up mutual aid, participatory democracy, and go out and talk with your neighbors; these are people you'll be helping recover from whatever stressor is next (and perhaps the ongoing ones), and reciprocally so, them for you.

I don't have all the answers, ell oh ell, these are just things that I'm choosing to do and which are working well for a subset of people in my neighborhood.

What else do you suggest for the next chapter of the human story?
I’ve been looking for, (and I’d even pay for) an os9 platinum theme that worked in 2025 (wayland or newer GTK).
This is essentially what's known as 'digital migration'[1] in mainland China. Many streaming services aren't available in China; foreign companies that do operate here often have their features reduced. So, apart from buying foreign SIM cards and using multiple Apple accounts, we typically subscribe to something called 'airports,' which provide standardized, open-source VPN protocols with servers (called 'nodes') in various regions. Besides bypassing internet censorship, these nodes often use residential broadband and specify which streaming and LLM services they can unlock.

[1]: https://blog.shuziyimin.org/
Not just US, looks like globally as well: https://www.reddit.com/r/vfx/comments/1iwmpzo/technicolor_tr...
https://www.axios.com/2024/07/25/adults-no-children-why-pew-...

> By the numbers: 47% of adults under 50 without kids say they're unlikely to have them — up 10 percentage points from 2018.

> Of those who said they're unlikely to have children, 57% said "they just don't want to."

> Among the other reasons: 44% said they wanted to focus on different things. 38% pointed to the state of the world, other than the environment. And 36% said they couldn't afford to raise a child.

> 13% cited infertility or other medical reasons.

> Stunning stat: 64% of young women say they just don't want children, compared to 50% of men.

The fertility rate is declining to the neutral fertility rate when women are educated, empowered, and have mechanisms to maintain their fertility desires (temporary or permanent birth control).
We can test your theory by checking how the Danes fared.

https://blogs.transparent.com/language-news/2016/08/29/danis...
No problem if you prefer to search yourself, but I had an AI system narrow down 30k posts to around 1000 posts and then I manually looked at each one to narrow it down to 300 so it may save you a bit of time.

$30 is like two chipotle burritos these days.

To each their own
(2006) Popular in 2022 (396 points, 139 comments) https://news.ycombinator.com/item?id=36302805
I'd love that
The term should be changed to "school massacre". I think that would cleanly narrow the definition in a way that is compatible with common usage.

Speaking of which, I don't understand why that term fell out of favor. Like we already have a term for "mass shooting". It's not called the "Boston Mass Shooting".
In game dev we've called a bunch of weighted If statements AI since the 80s. Sometimes they're not even weighted.
I’m actually moving to an extreme because of the busy colors on the screen attracting distractions, high contrast white on windows with Color Filters on grayscale. It’s like reading a newspaper. Now I just need to increase the window frame borders for the touch screen and it looks like eink
> Li and his colleagues hope their study will inspire the development of new measures to strengthen the security and safety of LLMs.

> "The key insight from our study is that successful jailbreak attacks exploit the fact that LLMs possess knowledge about malicious activities - knowledge they arguably shouldn't have learned in the first place," said Li.

Why shouldn't they have learned it? Knowledge isn't harmful in itself.
> There is a belief that many in government are not even checking their communications.

That’s just propaganda, though. If this was happening, it’d be known to their management and the IT department could just run a report, and it’s not plausible that someone is going to do a better job checking a couple million emails arriving into a shared inbox with no other context. If you’re worried about slackers, you’d want to look at what they actually produce rather than their self-assessment.
Did you seriously just mention Tesla as an example of "honest positioning" and "strong customer relationships"??
That's not the only threat.

China is racing to catch up. Sure, they're still behind, but as much as I dislike their autocratic government, they're actually smartly spending many many $billions to create a domestic chip design and manufacturing. And once they do that, well, it'll just be one more area in which we'll have handed leadership to the Chinese, except with much more critical ramifications.
.

flex -8Cem 095.l

cc -O3 -std=c89 -pedantic -W -Wall lex.yy.c -pipe -static -s -o yy095

curl -A"" -s https://news.ycombinator.com|yy095|sqlite3 0.db

curl -A"" -s https://news.ycombinator.com/newest|yy095|sqlite3 0.db

Example usage, assuming "the" is a keyword/string of interest

# get count of stories with keyword/string
echo select count\(\) from t1 where title like \'%the%\'|sqlite3 0.db

# get count of all stories with keyword/string in the title that are flagged
echo select count\(id\) from t1 where title like \'%the%\' and status like \'%[flagged]%\'|sqlite3 0.db

# get list of all stories with keyword/string in the title that are flagged
echo select id,title from t1 where title like \'%the%\' and status like \'%[flagged]%\'|sqlite3 0.db

# get status counts for stories with keyword/string in title
echo select status from t1 where title like \'%the%\' order by status|sqlite3 0.db|uniq -c

415 [dead]
17 [dupe]
12 [dupe] [dead]
23 [flagged]
131 [flagged] [dead]
2320 [ok]

# get status counts for stories with keyword/string in title for the last week
x=$((`date +%s`-604800))
echo select status from t1 where title like \'%the%\' and time \> $x order by status|sqlite3 0.db|uniq -c
No need to worry about running deficits when the tax cuts realized by the richest individuals and corporations “trickles down” to the rest of us. Still waiting for that magic rain…
Thanks for proving me wrong!
Oh for sure yes. I meant that modding can make it trivially easy for someone to enable hacks and other things that can unbalance and ruin the experience for other players. Unhappy players leave, so there’s an arms race to eliminate cheats and hackers, and modding can be collateral damage.
I'm going to be honest, as a bookworm growing up, I feel a little bit of twisted satisfaction from this. I was treated as odd for having my nose in a book all the time. WHO'S THE ODD ONE NOW?
I wonder if your wondering is rhetorical? There is a pretty obvious candidate.
This seems to be from astral, the organization behind ruff[1], uv[2], and rye[3] (all good things!).

They seem to force using python -m pip on Windows since they don't ship pip.exe[4]? This is very interesting.

From their doc[5] since the README.md's super-bare:

> These Python distributions contain a fully-usable, full-featured Python installation: most extension modules from the Python standard library are present and their library dependencies are either distributed with the distribution or are statically linked.

> The Python distributions are built in a manner to minimize run-time dependencies. This includes limiting the CPU instructions that can be used and limiting the set of shared libraries required at run-time. The goal is for the produced distribution to work on any system for the targeted architecture.

[1]: https://github.com/astral-sh/ruff

[2]: Significantly faster than regular pip: https://github.com/astral-sh/uv

[3]: https://rye.astral.sh/

[4]: https://gregoryszorc.com/docs/python-build-standalone/main/q...

[5]: https://gregoryszorc.com/docs/python-build-standalone/main/
Brownian noise in relation to human motor commands
> And why does Jedi Knight: Dark Forces 1 use so many guns?

I'm guessing it's off the back of Doom's success.
Orders are ok.

I don't know what causes flags. I've submitted again because the previous time didn't get much attention.
Increasing deficit
I used to want Linux to look like Mac OS X but the current Mac OS interface is just plain awful IMNHO. Fo me, I just stick to Linux Mint as it is (mostly) consistent from release to release.
Why are the cards overlapping? There is enough space on my mobile screen to display them all if they were not tilt
Yes, this is what I need. I've yet to find any good Platinum theme for Linux since I left OS 9 for Linux. It's the one thing I really miss.
This is the most boring possible conversation to have about LLM security. Just take it as a computer science stunt goal, and then think about whether it's achievable given the technology. If you don't care about the goal, there's not much to talk about.

None of this is to stick up for the paper itself, which seems light to me.
This is a common trope, but it's based on a false premise. You don't have to show a cookie banner so long as it's cookies that you need for the site to function. You need consent only if you want to track your users and gather their data. The problem here is the sites you visit want to track you, not anything else.
Aegis. It is FOSS.
The last time I tried to make another OS look like macOS it made me feel so nostalgic for it that I just went back to the Mac.
I just had to use Windows 11 to do some work for a client, and it made me miss Windows 95. XP even more.

WSL is a welcome addition of course. PS is pretty powerful. The rest is painful. :D
Yeah that first day trying to play it after Christmas was a lot of fun ”wait, what?”
When people think AI is going to lead to rapid automation I genuinely don't understand what mental model of the economy they must have.

I'm trying to pivot out of data which IMO is a scam industry and thought I'd consider automating white-collar work. After all, there's a huge amount of excel-monkey work that can be trivially automated with scripts and I've done stuff like that before. But then I realise there's not even a job title for this sort of work, nor are there any firms in my country doing stuff like this. There's simply no demand whatsoever for process automation (I'm expressly not talking about automation engineers in manufacturing etc.)

It's not hard to see why. No-one's going to automate themselves out of a job, nor are managers going to automate all the people they manage out of a job because then they're also redundant. Often labour-saving innovations are brought-in by upstarts but business dynamism is low so there's not a lot of that happening. I can almost guarantee that a bank circa 2050 will look a lot like a bank now, short of some runaway superintelligence completely reconfiguring society.
This reads like a highschooler going "hey, hey did you know? You can, okay don't tell anyone, you can just look up books on military arms in the library!! Black hat life hack O_O!!!".

What is the point of this? Getting an LLM to give you information you can already trivially find if you, I don't know, don't use an LLM and just search the web? Sure, you're "tricking the LLM" but you're wasting time and effort on tricking an LLM into making it tell you something you could have just looked up already.
Ok, feedback received. I removed the "order now" at the top because people don't like that.
Thank you, I'm very pleased with that detail :)
I believe pitbulls are currently banned in several European countries. It's not crazy and people have definitely suggested it in America before.

That being said, I do think that people who are pro gun control tend to be anti breed bans, because in my experience the pro gun control folks tend to extend blank slateism all the way to dogs (it was the owner's fault for not training the dog properly, etc).
Really? But why? All of 2+2, 2*2 2^2 are trivially 4, and sqrt(4)=2 so why is the + more odd than others?
I cannot put anything into the text box. I’m using Safari on iPhone. The search box is not clickable.
I think the Java 8+ functional APIs/streaming/etc. kind of stole Scala's thunder. Java has all of the necessary tools to replicate the functional style of Scala now, and it's a lot easier to hire for, so :/
I have used Bitwarden for a few years happily, but have been really annoyed at the UI changes in the chrome extension

Not only does it unnecessarily jar me out of my memorized places to click, but it also just takes 2 clicks to copy a password instead of 1. Seems like a small deal but it is genuinely a bad UI.
I don't _necessarily_ have a problem with quantity, it's more about accessibility.

Rules are only fair if the people supposed to follow them can make sense of them.
Ok, interested input. Thank you, I'll consider that.
I think that particular issue was addressed in the recent Clojure release [https://clojure.org/news/2024/09/05/clojure-1-12-0] ("Clojure developers can now invoke Java methods taking functional interfaces by passing functions with matching arity.")
Old World, made by some ex-civ people, is really quite excellent
Sorry, the intention was just to show a cool use of complex numbers, not claim this is the simplest method to generate 12 which is pretty simple, as you demonstrate.
Ok, interested to hear more.
never heard of that, interesting
Thanks for your article, George, I enjoyed it.

I cracked open an Elixir book last night, and with the benefit of a few chapters, I can see how Elixir's pattern matching can obviate some of the issues I have with purely dynamic, Rails style programming.

I also note that there appears to already be more static typing going on than I realised. In your add_comment/2 code, for instance, you focus on the {published: true} pattern matching. That is very neat, but what stands out more to me is that all clauses of that function require BlogPost, a struct type.

Am I right in thinking that every instance of BlogPost type must be constructed explicitly in your code? I.e. that every possible instance of BlogPost in the code base is knowable at compile time, along with its entire life cycle?

Or does Elixir partake of the horror that is duck typing, where any conforming untyped map of indeterminate provenance will pass the guard check for a BlogPost?

> Would you like another undefined method exception on that NilClass?

*thousand yard stare*
I made my DEs somewhat pretty but never got too deep into ricing. Then I switched to i3-gaps. But I still spent a lot of time configuring and comparing terminal emulators, shell prompts, completion, vim plugins, iommu/vfio...

At one point I got sick of it all and decided to switch back to Windows/MacOS, not configure anything too heavily, install tools when I need them, and use all tools as vanilla as possible. Besides not having to maintain all this stuff I also realized I could then ssh into any machine and not miss my customized tools.
"LLM security" is more about making sure corporate chatbots don't say things that would embarrass their owners if screenshotted and posted on social media.
there are 400 tweets so more like $.10 a tweet
I like having the choice between cookies required for basic site function and extraneous track-you-everywhere cookies. You like having no choice in the matter by the sound of it.
Please use 1Password, it syncs between everywhere you want and supports TOTP. When I log into LinkedIn, it only takes one click and it autofills and autosubmits everything, including TOTP.
Shame is for people who don't have receipts: https://www.youtube.com/shorts/6r3-mZ25sDI
oh shit my favicon is too large?
The difference is that a standup conveys information to other people who can use it, and it’s not as an HR measurement of job performance. You don’t invite strangers from other departments to your standup meeting and if you’re worried about someone slacking you’d have the context to look at what they’re actually doing (“he said his code was compiling all week but only made two builds?”).

This is frustrating if you actually value efficiency. There’s an alternate universe where DOGE was doing stuff like collecting people’s blockers and looking for common complaints (“everyone says it’s too much hassle to get office supplies, we could streamline that“), or making sure that time is tracked at the project / task level so you could measure the true cost of a particular activity, etc. This not only isn't useful but it also taints the name of government efficiency by associating it with political purges.
The project was originally built just for personal use as I was just so frustrated by how boring Windows image viewers are.

I think part of my anxiety comes from the fact that I’m also working on shaping my online presence to improve employability and my GitHub profile is something employers often look at.

I wish this was just about sharing what I love, but it has also become a strategic move which makes a positive launch feel more high-stakes than it probably should.
Just enable ublock's `annoyances` filters for that.
Thanks for your response. One confusing thing as an outsider is that amyloid aggregates seems like fraud, but tau aggregates still seems to be a promising line of research.

Both to an outsider look like protein aggregates.
This is terrifying on so many levels. Election security. National security. The new CISA head Bridget Bean seems to be one of the very first to snap into line on orders, ordering everyone to comply with Musk's utterly batshit "email us what you did" orders.

It really looks like these people are trying to bring active harm to America, as hard as they can.

Edit: Absolute travesty & crime & cover-up having such on point topics as this flagged dead. The foes of society work against us here. HN should defend against the adversary, hackers should defend against the adversary. Not enable them! Thank you Krebs for such a diligent write-up of what a bold gutting of this nation is being done!
It's like the world is slowly realising "wait, why don't we just become self-sufficient as much as we can" which is what every country should be focusing on from the get go. No brainer. You never want the power switch in someone else's hands.
The JVM has bad start up time in the context of milliseconds, but Clojures slow start up is in a different league. It loads a bunch of classes and it can take a full second.

But you're also not recompiling on code change. You're just reloading a function in the REPL. So you only have to load once and then your dev cycle is painless. But the startup time is bad for things like serverless functions unless you use something like GraalVM.
It's hard to remember, but as soon as gitlab showed up, GitHub went from a "maybe someday if I make it" site to a "let's just use GitHub for everything" site.

Prior to gitlab ratcheting up the usability, features, and cost effectiveness, I preferred hosted git for 99% of use cases.
Honestly, I'm greatly annoyed by recruiters. They don't know a single thing about programming and operate solely on keywords. My personal approach now is to just tell them "I have this much experience, I have lots of open-source code which proves my experience, get me an interview with the actual team if they like my resume". Because in 99% of cases it's not even worth the time for a call with a recruiter.

Btw, in your particular example, I think it's fair to tell them "yes, I have the exact qualifications you're looking for", because they won't be able to check anyway. And certainly not whether you had 4 or 5 years of experience with a particular thing.
Aegis is great, but not available for IOS.
The point is, whether you think the comments are safe is irrelevant because you are not the judge.

Of course that is the cynical version of it. But as others have pointed out some people dont like these sort of risk.
If you go to Settings -> Appearance and enable show quick actions, you can reenable the 1 click copy password again. Enabling compact mode and disabling animations also helps a lot.
I got two Yubikeys but ended up never using them. I've also considered keeping the second one in a safety deposit box, but realized that that would defeat the purpose since you also need a key to access the safety deposit box.