skysight-inc/HackerNews huggingface dataset:
I downloaded and tried to try Vale.

The very first impression of running 'valec' compiler is that it "panics" when no arguments are given. It literally writes so: "(panic)". I want to point out that "panic" is a very strong word and should be avoided in scenarios where a normal error handling takes place. Any kind of panic is always a sign of an uncontrolled situation, and if a program ever "panics" it leaves a bad taste in the mouth.

The next struggle was to get the basic help for the command-line parameters. But it's currently non-existent.

The next and final stuggle: trying a hello world sample. I copied the code from the website:

import stdlib.*;

exported func main() {
println("Hello world!");
}

and saved it to 'hello.vl' file. Then, I tried to build it:

> valec hello.vl

However, no luck for me this time:

Unknown subcommand, specify `build`, `run`, etc. Use `help` for more.

It looks like I should specify 'build' command. Let's try:

> valec build hello.vl

Well, here is the result:

Unrecognized input: hello.vl
(panic)

Hm. Let's try to get some help:

> valec help

The result of the help command is:

<nothing>

Not very helpful. At this point, I gave up. How does this thing work?
Well, the problem is some of those aren't even drawings. Some minimum effort should be made even if you don't want to trace the frame.
This. I have corrected uncountable lines of code where people just used "%d" for everything, potentially opening a massive can of worms. `inttypes.h` is what you should be using 99% of the time, but that makes for very ugly format strings, so basically nobody uses that. Otherwise you should cast all of your integer params to (long long int) and use %lld, which sucks.
My whole extended family is on Line. It does it all really, and no ads or intrusion. It has only one single drawback - one device only (or one, plus a Windows PC, which is not an option for me).
> it looks like doSomething can't modify val or oldValue

...sure, if you are using primitives. But here we have an array (reference), the contents of which can be modified by `doSomething(val)` in your example. It is only the reference value that cannot be modified.
I'd be interested to know too, the social graphs they can build must be mesmerizing to browse through.
This is working as intended and is similar to evolution. Every step brings something new and fades when the time comes.

Would suck to still be in ICQ and MySpace world today.
But everything is still clickable and swipable. The program still has as many features, but it's not visually complex: we don't show them to you. Want to commit your changes? Just click on the white space about three quarters of the way left to right, and two centimetres down from the top of the screen. About 50 pixels right of this, we have conveniently placed click listener that will revert all your changes. But don't worry, in the name of eliminating visual clutter, this click listener is entirely invisible.
This may be one of the best things I've seen on the internet in a long time. Thank you.
I don't think Ive needs Apple, nor does Apple need Ive. They're both doing fine. I'm not sure why you have such an enslavement mentality.
> math reasoning really filter out people in a way nothing else does.

I have known many people, to whom mathematical reasoning comes as easily and naturally as flight does to a swallow, be defeated by literature. Every technical university in the world is brimming with bright young people who could effortlessly describe a Jacobian but would rather gnaw off their own hand than produce a response to a story or sonnet.

> And philosophy, mostly because of jargon and reference. Otherwise, if you break it down, it's not that complicated.

Quite the claim.
One Thing to consider is:

It's not always good to have well grouped and aggregated content, because if you have, you may give away the possibility to get other content discovered by the users.

The same reason that you get unrelated suggestions for searches in YouTube, Facebook and Insta and others.

So, if everything is focused on teachers, then it's on purpose to promote other teachers among the one's you already know.

It's not "are they incompetent?". Rather the question should be "why this way and not the other?"
https://youtu.be/zfHTRMnqY5I
In Australia both Signal and WhatsApp are free, aside from using the data service rather than the "telephone" service, and we pay for a monthly or annual data quota with our phone plan.

Do you have separate charges for Signal and/or WhatsApp?
I honestly don’t consider HN social media because the vast majority of the content here is driven by 3rd party content since it’s mostly external links.

I see it more like a forum than a social media platform.
It's similar for me, but I have WhatsApp on a separate device that's at home and I only use it for WhatsApp. This keeps it strictly isolated from my primary smartphone and the list of contacts on it. Meta still has part of the social graph that surrounds me, but not all of it. How effective that is in the end is of no concern to me. I enjoy not just giving up completely, but resisting within my means. It reminds me a bit of the people who didn't pull their masks up over their noses during the pandemic. That's exactly how we should relate to tech giants if we can't avoid them completely.
But how does including a main location infront of a VC disenfranchises half the planet?
The social-media business is neither trustworthy for me as a consumer nor more fulfilling than a real conversation with a real human somewhere. I don't want a relationship with social media.

But I'm not going to be delusional about it, if literally hundreds of millions of people are depending on social-media business for their social happiness, I can see that it works for them.

I want a secure, trustworthy, minimally-viable telecommunications channel for some contacts. I support Signal, it has characteristics that I trust, including being open source.[1]

I also have shown other people how to enable Google's RCS messaging.[2] It's better than SMS.

[1] https://en.wikipedia.org/wiki/Signal_(software)

[2] https://support.google.com/messages/answer/13508703
Just like the fact that Hollywood got its start because the film studios moved out west to get out of the reach of Edison's lawyers when it came to his patents on film technology.

It's hypocritical turtles all the way down.
Hip-hop's genesis really was revolutionary. Stealing power from lines to power DJ equipment. Bringing entire blocks together to dance and have fun, in the NYC of the 70s no less.

It is too bad the 90s gave rise to Gangster Rap and the music became less about empowerment, community and positivity. Instead full of attacks against other artists, gloating about law breaking or outright disrespecting the police. We now have drill rap which is widely considered to be the most lyrically and image violent [1] rendition of hip-hop to exist, convincing youths worldwide that killing each other and showing it on Snapchat is a lifestyle worth living.

1: https://www.discovermagazine.com/the-sciences/the-curious-ca...
I don't think this is a fair attack on Java's type system. In both examples you do what is effectively casting to void pointer - escape type system guarantees.
I get regular questions about where I've landed after leaving twitter and the answer is 'nowhere', and it may well remain that way.
Can you point to specific cases of censorship that you experienced?
I think the woman urinating (she was on The Moor I think) was when RAF Finningley was nuked first, but I don’t remember for sure. It is one of the abiding memories from it. I was only about nine when it was shown and only got to watch half of it. It was so bleak, and worse for living in Sheffield. I watched it all about ten years ago and it is still absolutely horrifying.
The discussion around this topic is severely limited by the tech echo chamber we're in.

Ask random people on the street whether they care about their data or privacy, and if they care enough about it to boycott a popular web service, and you'll likely get blank stares or be laughed at for making such a proposition.

Most people don't care. Which is why this cycle of service hopping will never[1] be broken, and only privacy and tech enthusiasts will keep using privacy-respecting services. All this technobabble about privacy falls on deaf ears.

[1] Service hopping will still exist, but the only way privacy-respecting services will catch on in the mainstream is if they also offer a clear user experience advantage, and if they gain enough momentum for everyone else to want to use them. This is unlikely to happen with the modern indieweb movement, which is focused on the wrong things.
I am running a set of SBCs, but I read that it is better to use one server [1]. I suppose one could go with a VM, or portainer, or Yacht, or some other software to visualize everything.

Right now I am using a set or solutions:

* email * [2]

* files * using NextCloud

* blog * using Hugo

* news * using my own RSS reader

* pihole * to filter things

What I consider to use in the future

* pictures * using photoprism

* citadel * I found some sort of suites like citadel. Not sure if that works, if it is good, or if it fits my needs at all [3]. At the first glance seems like a fun project.

Links:

[1] https://specbranch.com/posts/one-big-server/

[2] https://github.com/LukeSmithxyz/emailwiz

[3] https://www.citadel.org/

All in all it is time consuming to setup up, and update regularly.
I have no control over what they do. If they’re so attached to using whatsapp that they’d stop being friends with me rather than use signal, the friendship wasn’t worth a lot in the first place.
The joy of LinkedIn is you don't need to spend your life scrolling through it. Go in, spend 5 seconds seeing what's new or if you have any non-spam messages, then close the tab.

Ignore it for a week or two and repeat, no excessive engagement required.
Ask HN: Best approach to train AI model on user docs?
I'm building a product where user can upload docs (text format) and then ask questions about it. What are some approaches to achieve that?
Aww, zip is great!

for x,y in zip(['a', 'b', 'c'], ['1', '2', '3']):

print(x + y)

>>'a1'

>>'b2'

>>'c3'

Usually you just use it to group two items you're iterating through that are the same length. You CAN do items of different lengths but then when one gets used up the rest of the other get tossed IIRC. Can use it in list comprehensions as well of course.

Zip was simpler than I thought when I first saw it.
> Due to the good public transportation in the Netherlands distance has become irrelevant. We can reach almost any destination by train easily and relatively quick.

Well that would be nice, but unfortunately not true. Our public transport is tolerable, but Covid accelerated drastic cuts in the bus lines out in the country that (used to) go where trains don't. This has lead to the creation of 'on call' buses which you can reserve in advance if you want to go to one of the villages affected, but which mean that the projected itinerary can only be achieved in ideal conditions. Normally, if one link in your public transport journey is delayed, you just take the next train or bus, but with these on-call buses you are now missing the last leg of the journey, and have to wait at least on hour for the next opportunity (minimum time between reservation and minibus appearing). These maps don't account for this, because it is focused on train travel and the time-distance to stations.

This time-maps are fun, but typical Amsterdam-centric thinking. And don't even bother trying to visit any bucolic place without train stations on a Sunday.

On the whole, public transport in the Netherlands, trains included, are not in a very good position¹. Partly due to the after effects of corona, partly due to a car-focused government.

1: Relative to neighbouring countries and pre-Covid conditions of course. This is still paradise compared to some countries.
I left FB when somebody on HN leaked they were feeding data straight to some military intelligence agency pipeline. I lost many acquaintances because of it but I saved a huge amount of time and completed two graduate degrees after.
Follow the link to transporters [1] to meet Otto and Lore who move these sheep around.

[1] https://www.eso.org/public/teles-instr/alma/transporters/
https://twitter.com/gregmushen/status/1652159496519827463
> And that would be perfectly justifiable. None of the big social media networks are forced to provide service to a customer that they don't want. It's not an utility, it should not be treated as such.

The effect of big social media sites blocking free speech are not much different from the state doing it. It's like saying: "You are perfectly allowed to state your opinions! (but only at home, where nobody hears them)" This wouldn't be functionally different from the situation in China.

> The cost of creating a Mastodon instance for yourself

Doesn't solve the problem, as free speech instances get blocked by the other big instances.
One of my early bits of library research involved archive dives for a book by (now) Emeritus Professor David Blair, pioneer in gravitational wave research in Australia [1].

The book was

First and Final War: A Basic Information Manual on the Effects of Nuclear War Applied to Australia (1986) [2]

and featured reasoning as to why Australia would be high on a first strike list, primary as a MIRV target covering radar and signaling installations.

Also some early work on blast radius and fallout spread.

It bears repeating that the submarine communications station (in Australia, there are others) responsible for sending fire commands is the Naval Communication Station Harold E. Holt [3]

That still gets a laugh in Australia.

[1] https://www.uwa.edu.au/Profile/David-Blair

[2] https://www.amazon.com/First-Final-War-Information-Australas...

[3] https://en.wikipedia.org/wiki/Naval_Communication_Station_Ha...
Yes, and no one mentions that he's including the _host window_ of the virtual machine in the more offending version! I mean come on, it's absolutely disingenuous.

The ribbon bar example in fact consumes less vertical space.

A _massive_ portion of the white space is from the page display mode where Word 9x uses non-WYSIWYG and the modern one uses the real page layout with page margins. Well of course that's going to introduce a lot of white space because there is on the paper!
I worked on something like this more than a decade ago back when bayesian classifiers were SOTA for sentiment analysis. It's relatively easy to use an existing model to bootstrap and fine tune a new model. The hardest part is collecting and cleaning up the data for training.
>Google will not scan your mails

Except the ones you send to people using Google...
iostream _sucks_, I had to implement an iostream for zlib + DEFLATE in order to play ball with an iostream-based library, and I had to sweat blood and tears in order to make it work right when a simple loop and a bit of templated code would have worked wonders compared to that sheer insanity of `gptr`, `pubsync`, ... The moment you notice that they've methods called "pubXXX" that call a protected "XXX" on the `basic_streambuf` class is the moment your soul leaves your body.

IOStreams is superbad, and thankfully <format> removes half of its usages which were based on spamming `stringstream`s everywhere (stringstream is also very, very bad). They also inspired Java's InputStream nonsense which ruined the existence of an innumerable number of developers in the last 30 years.
I was trying to reduce the amount of concepts I had to invoke to make the example make sense.

java.lang.String is a final class so in this case so doSomething can't be overridden, and strong assumptions can be made about doSomething's behavior and in practice it's likely inlined given that this is an extremely hot method.

Since this is a constructor, the reference can't be aliased by e.g. fields in the class, so static analysis of the code is surprisingly easy. The compiler just needs to answer whether this particular reference is mutated by the invoked function(s).
And what happened then?
I heard about this constantly growing up, and it was only until I was 17 that I decided to look it up online thinking 'oh it's only a film i'm proper hard me' – and it pretty much ruined me. It's harrowing, to say the least. On top of showing what would happen, the exploration of life after a widespread nuclear conflict is just as bad, and it's not just the immediate aftermath that's touched upon.

The film ends with a timeskip over a decade later, with the populace reduced to pre-industrial life struggling to survive as they farm off the irradiated land, and those who've grown up in that world speak a very damaged version of English (as if it was hard for everyone to understand Yorkshire accents in the first place!). There's attempts to keep people educated from what they can remember and scavenge, but it doesn't hold a candle to what was once.

It's a very mortifying film that hits you hard, and even skimming over bits of it as I type this, the shot of the mushroom cloud behind Sheffield city centre has made my gut sink – and this is from someone who was born after the Cold War, God knows how distressing it was for those who watched it during the height of it.
Reducing Friction and Growing the Development Ecosystem of Solana
https://addons.mozilla.org/en-US/firefox/addon/linkedin-feed...
You can with a quick ublock filter. I find the following works a treat:

www.linkedin.com###ember69 > div

www.linkedin.com##.pb3.pt2.learning-top-courses

www.linkedin.com##.clear-both.text-align-center.t-normal.t-12.global-footer-compact__content

www.linkedin.com###ember131 > div

www.linkedin.com###voyager-feed

www.linkedin.com##.msg-overlay-bubble-header

www.linkedin.com##.msg-overlay-list-bubble__content--scrollable.msg-overlay-list-bubble__content

www.linkedin.com###msg-overlay

www.linkedin.com###messaging-nav-item
I have an X1 carbon with the newest screen and every day I think about changing it because of the screen. The rest of the device is absolutely perfect for my needs and I love it, but after getting used to sharp screens on phones and macbooks, I feel a slight ting of negativity every time I open my laptop and realize I'm going to be looking at the worst screen I own, on the most expensive consumer electronic device I own.
Exactly, and the cramped version also includes the title bar of the operating system host.
John Carmack – Parallel Implementations (2011)
How much of that joy comes from telling people on a message board run by a venture capitalism firm about how virtuous you are?
Build your own FaaS: Self-host workers, lambda, JavaScript functions
Hi, this is more an experiment that a real production-tested project. You can create your own Function as a Service architecture, and self-host everywhere you want.

It leverages workerd, the Cloudflare worker runtime. And as deploy tutorial, it include a guide to host everything on Fly.

It support container-based deployment, so docker is your friend here.

The complete project is on: https://github.com/giuseppelt/self-workerd

Mind this a proof-of-concept, public exposed systems require more work.
When I'm working on something like that I tend to literally have a directory called sketches/ in the root of the repo, a few of which will currently run, a few more of which -did- run at some point, and then the rest are more thinking out loud than anything else.

Calling it that straight out the gate reminds me not to worry too much about it and just get the thing down into a file for future reference, if I derive a 'real' version of anything in there that I intend to both run now and to stay running I'll put that somewhere else (and leave the sketch in place for historical curiosity purposes).
"You'll own nothing and be happy"

It described life in an unnamed city in which the narrator does not own a car, a house, any appliances, or any clothes, and instead relies on shared services for all of his daily needs.

https://en.wikipedia.org/wiki/You%27ll_own_nothing_and_be_ha...
Tried this with ISIS. Same results, Yandex doesn't shy away from gore materials and finding the supposed ISIS website is easy.
Of course.

The way the bytecode is executed, the standard library, possible changes in GC and JIT implementation, other 3rd party libraries.

For example, if the jar code has a call to Thread.stop() and is loaded in Java 11 or later, when it comes to actually call that method you will get a java.lang.NoSuchMethodError exception.
It’s true, some monospace fonts have absurd ligatures enabled by default.

The craziest thing I’ve seen was a single-width “fi” ligature. The only point of this ligature in proportional fonts is to prevent the dot on the ‘i’ from overlapping with the hook of the ‘f’, and that by definition can’t happen in monospace! But you madmen decided to create a single “fi” glyph, like it was a letter of its own. Imagine that on a typewriter.
Also this: https://news.ycombinator.com/item?id=36178205
Display port to HDMI cables exist.
This is why for this kind of map the geography is usually left as-is in one of the usual common projections, with a colour scale marking the time-distance, rather than distorting the geography.
These terms are often used interchangeably, for example they're called lists in python
It becomes useful when you work with pure functional hardware.
I learnt German in Germany, and I understand the Swiss. When you are waiting 4h to cross the gottard tunnel, you have plenty of time to listen to the radio. It is hard to understand just like any dialect when you are not used to it, but I would not call it a different language.

It is very unlike a French hearing Italian even though it is the same Latin root and words look the same on paper, grammatically it is very different.
Does the generational reference approach do something similar to MVCC in databases (e.g. PostgreSQL)?
> it's actually hard to represent Python code in regular HTML

It is not hard. Just use the right tag. You want the <pre> tag here. Here, fixed it for you:

def foo(flag):
if flag:
print("this is indented")
print("is this?")
Forums are just another branch on the social media tree.
Pretty much doubt it.
It’s quiet, unopinionated and calming. It doesn’t draw attention to itself at all. I like it a lot.
SeL4 is great an all, but no one of those Xen vulnerabilities has led to an escape since forever, have they?
Every time I fall into the trap of scrolling through the LinkedIn news feed, I end up losing faith in humanity. What LinkedIn has decided that I want to see is a mix of conspiracy theories and narcistic self promotions; and under every post a chorus of congratulations and compliments.
How to Trace Bitcoin Transactions
So this is better use of tools and environment than I see from most colleagues.
You could use the damn phone as such and call. They even might appreciate it more. (Unless you have to be “chatting” continuously, of course.) And no, nobody really wants to see your face, believe me.
> But how does including a main location infront of a VC disenfranchises half the planet?

I can't parse your comment.
Apple confirms WebKit security updates break browsing on some sites
>No other social platform allows users to moderate.

Facebook Groups?
Germany would have lost to Russia, they were already being beaten back when D-day happened. Europe would have become a communist dictatorship, not a german one.
In all that time, and before, I had my website - along with the moves. The site is still there.
Defragmenting the Mind with Vipassana
The easiest way to think of Vipassana is as a method to defragment your mind.

Just like when you use the Windows utility to speed up your computer when things start slowing down, Vipassana does the same for your body and mind.