skysight-inc/HackerNews huggingface dataset:
I use a variety of languages and always feel that Scala gets a bad-rap because it's a compromise language (though I feel the same about Rust and most people seem to like it).

Scala 3 pros:

+ Higher-Kinds
+ Type-classes
+ Decent-ish hygienic macros
+ Decent OO model with mixins
+ for-comphrension
+ Compile-time evaluation
+ Laziness
+ Currying

It's pretty good at all of them - but not quite.

If you're used to Haskell you'll get annoyed at the fact that the inference is only within a single statement and that polymorphic functions resolve the typeclasses in a particular way.

If you're used to Scheme, you'll get frustrated that the identifiers can't be created easily in its new macro system or you can't manipulate the scope-sets of the identifiers.

If you're used to Erlang you'll wonder why Akka can't reload functions easily.

If you're from Java you'll wonder why everyone is going on about profunctors, effects and finally tag-less.
Ask HN: Is Learning GO worth It if you know Node.js?
Go shines for web development and Api related stuff. However, I feel ROI isn't that great if you know nodejs/express. I'm looking to learn something that will pay off dividends for a long time.

So instead of learning another similar language I would rather learn something new like Rust.

Why did you learn Go if you already knew a language that could do API stuff?
Those who compare COVID to a really bad flu season don't seem to understand just how bad a bad flu season can get. The estimated deaths from 1918 are thought to be 17-100x what COVID has caused so far.
Thats just informative for you.

I'm not really focusing on the dating use case and have already solved that for myself, and for you, and I'm not sure why you are overthinking it aside from your upcoming expensive of buying a new phone and additional cellular plan. The practicality is already there.
Can't you add the UTM tracker to the URL with shortening the URL?
Six actually, given that microcode was the approach taken on most mainframes that started around Burroughs timeframe.
The Tyranny of Ideas (2019}
People click through search results really fast. "XYZ alternative" would be much more acceptable if it came after the real name, but putting "XYZ" as the very first word is guaranteed to cause confusion.
TinyURL and a several free alternatives have been known to do it for a while now. But, not everybody does this to be clear.

Running a free URL shortener costs time and money which is why they do it. For my URL shortening service https://blanq.io, I am planning to remove this feature and only support custom domains. Free shortening is highly abused by spam and its a daily battle to be one step ahead of them.

Last week, a single bad user created a phishing link and brought down the entire site for an hour until I was able to restore it.

Lesson learned.
In countries which have number portability this may not always be right. For example my phone number returns Vodafone, which was the carrier it was originally assigned to 15 years ago, but I've been on other networks for over a decade.
Depends pretty much on which JVM we are talking about, Java is like C, plenty to chose from.

In what concerns OpenJDK that is configurable via the -XX flags.
Why Interacting with a Woman Can Leave Men “Cognitively Impaired”
This little abstract documentary is about a Japanese taxi driver / photographer. Really cool:

https://youtu.be/iiGEy6YX2tk
This is why my wife hates house hunting with me. I see all the flaws.
I totally agree there exist certain product market fits where an MVP approach doesn't work, or the MVP is so large it probably shouldn't be called an MVP. But I think they are rare.

Also the risks aren't symmetrical. If you take an MVP approach and find out an MVP doesn't work you can always build a bigger badder product, you're out a little bit of time(relatively). If however you build out a big bad product and find out you don't have product market fit. You're much more screwed.

Another reason this advice is useful, is because new founders who are more likely to rely on advice and rules of thumb over their own experience are far less capable of solving an un-mvp-able ideas simply because they'll have far less access to the capital required to build a big bad product.
Fair. We didn't have that issue because you don't sign up for bank accounts online.
I guess to overcome the reconfiguration latency others have mentioned, the use case would be systems that configure their custom instructions once on boot and then the software just sees a cpu as normal, just with these custom instructions. Ie not intended for reconfiguration on context switch.
Microsoft has already done the networking thing with project catapult as of a few years ago. I think they also use it for ai.

https://www.microsoft.com/en-us/research/project/project-cat...
Hill Street Blues was excellent, if somewhat constrained by 1980 broadcast television standards and practices.
> the answer may depend on which country's laws we are talking about? Even if what you say is true in country X, it might not be true in country Y.

Not really; through WIPO, the US has "rationalized" every other signatory nation's IP laws to match its own. And pretty much every country that has any IP to protect, is a member of WIPO.

Some countries (e.g. China) might not bother to enforce their IP laws as strongly as the US does; but they do still have those very same IP laws, rather than materially-different ones.
I lived on the west side of Chicago in the late 80s and in Pilsen in the early 90s. They were a blend of ethnic neighborhoods, Italian in the former and artists colonies supported by open spaces rented cheaply by the Pomodjarskeys (sp?) in the 90s.

They were interstitial spaces true to the Gibsonian form, small ethnic enclaves, industrial wastelands bereft of industry from the 70s onward, that afforded a isolated née desolated place to live. The areas attracted artistic types, ravers, communes and the sense of existing, living in luminal states where structures of power, churches, local government, economic development were strangely absent from the population of oddballs and irregular who could rent a 4,000 square foot loft in a former printing plant for $1,000 a month. No social services, grocery stores, schools or other symbolic anchors of traditional communities were present. The artists were a community but bereft and ignored by social services, forcing them to create their own. A kind of anti-commune abandoned by late-stage capitalism where individual expression, art and music could take root and fester.

A Bohemia in a sense of those young and old, who fell outside most normative rules of life in order to pursue their own ideal for living.

It existed than and as I drive the Chicago streets of those areas today I sadly realize that happenstance of time and place is gone. Replaced mostly by money. The eviction of the first wave of, let’s not call them gentrifiers, by the commercial gentrifiers seeking to exploit underpriced buildings by boutiques and the final corporate invasion of the Starbucks and potbelly sandwich shop who out performed the local indigenous businesses.

It was money and class, not race or anti-bohemian forces which decimated those areas. The neighborhood micro cultures could not compete with $300,000 condo lofts and so it was no more.

Places like this have been eradicated nationwide by the flow of money in lieu of culture and money wins.
I work with people to make great UXes. And now I live my life seeing horrible UXes everywhere and hating having to use them.
Show HN: Product Discovery: A no-nonsense guide
No country can have a sane default for “who should look after my kids if both parents die suddenly?”. That will always be a very personal decision that depends very much on your family situation.
> It is a little known fact, that Ms Spears is an expert in semiconductor physics.

On one hand, it's definitely a joke, but on the other, Offspring frontman Dexter Holland has a PhD in molecular biology and Queen guitarist Brian May has a PhD in astrophysics, so it's not like famous musicians can't be highly educated in the sciences.
Took me 2 minutes
https://www.aliexpress.com/item/4001190040175.html
Except that part that electronics must also take physics into consideration, and if they plug into some kind of analog circuits even more so.
Coding Attention Is All You Need from Scratch in PyTorch
A four-part series to code an Attention Transformer from scratch in PyTorch for classifying text

Part - 1: https://thevatsalsaglani.medium.com/question-classification-using-self-attention-transformer-part-1-33e990636e76

Part - 1.1: https://thevatsalsaglani.medium.com/question-classification-using-self-attention-transformer-part-1-1-3b4224cd4757

Part - 2: https://thevatsalsaglani.medium.com/question-classification-using-self-attention-transformer-part-2-910b89c7116a

Part - 3: https://thevatsalsaglani.medium.com/question-classification-using-self-attention-transformer-part-3-74efbda22451
If your code is in a file, and you're running the code from the file, that's not REPL. that's interpreting or compiling a file. REPL is opening interactive mode (if the language supports it) and entering "2+2".

You calling anything else REPL is just wrong, misleading and confusing.
We've banned this account for breaking the site guidelines badly and repeatedly. This site is not for that kind of thing.

If you read https://news.ycombinator.com/newsguidelines.html and decide you're willing to follow the rules and use HN as intended, you're welcome to email hn@ycombinator.com and let us know. We're happy to unban anyone who gives us reason to believe that they'll follow the rules in the future, and any kind of squid is welcome in principle.
New Yorker article that credits Jeff Dean and Sanjay Ghemawat with discovering the company’s bitflip issue:

https://www.newyorker.com/magazine/2018/12/10/the-friendship...
But even file type that you think it is pretty safe (jpg, wav and some other media foramt) can abuse parser bug in viewers / explore.exe to result in code execution. And how do you prevent the malware just name its .js as .jpg and execute it with some interpreter? Some interpreters definitively don't care about file extensions.
There are well known open source microkernels, like Minix 3 and L4. Probably not that attractive.

Why something hasn't been done is always a hard question to answer, since to succeed a lot of things have to go right, and by default none of them do. But one thing is that microkernels were more trendy in the 90s - r&d people are mostly doing things like "the cluster is the computer", unikernel, exokernel, rump kernel, embedded (eg tock), remote attestation since then (I'm not up to date on the latest).
> In my experience most of the time you need arenas you’re using your own data structure anyway, but YMMV.

That makes sense for video games. Recently I was goofing with cyrus-imap. I wanted to parse the emails out of an mbox file into JSON (JMAP). Parsing an email with cyrus currently does about 5-10k calls to malloc, but the objects are all extremely short lived - they just have to live long enough to parse and then convert to JSON. This is a perfect case for a bump allocator - I'd love to allocate all the parsed email fields into an arena and then clear the whole thing when we move on to the next message.

Yes, Cyrus uses a ton of its own internal structs for emails, and they're littered with strings and vectors. (Eg for email headers, lists of email recipients, plain text / HTML message content, etc).

Looks like bumpalo will do the job, since it implements its own Box, Vector and String. I understand why, but it seems jarring that I'd need to replace the data types in order to change out the allocator like this. I'm definitely keen for GAT landing if it means bumpalo and friends don't need to reinvent the world to be able to change the allocation strategy.

Edit: Oooh Vec::new_in is in nightly! Exciting! https://doc.rust-lang.org/beta/std/vec/struct.Vec.html#metho...
That's how it works under certain market conditions.

Calling out flaws, or wanting a change, doesn't mean people are demanding the strawman you've constructed of "exactly like you get today but free".

Just as an example, the people at the top of a few organizations could flip a switch and make all the major browsers default to nonprofit search engines.
How Classpass got their first 1000 customers?
Why do you think sbt is a bad build tool?

I've used the build tools of almost all the major languages (JS/TS, Rust, Haskell, Kotlin, C etc) and I don't honestly see any which are particularly easy.
In my experience code quality has a LOT to do with performance. Code changes over time, and bad code generally requires a lot more compromises when those changes happen.
A very interesting project, can you elaborate more on how
it is getting sub second latency and why youtube/twitch seem to have more than a few seconds of delay.
Could it be possible to use WebRTC to have listeners become seeders/repeaters so you could have more listener without impacting too much your own CPU ? Something like AceStream.
I do following which reduced my phone usage drastically.

1. Delete social media apps and use web version instead. (like twitter, facebook, linkedin.)

2. By doing step 1, you may overuse web version of social media platforms also. To prevent this, use a website blocking application. I use BlockSite. Make BlockSite password protected, so you cannot update/remove blocked sites easily.

3. Use a long password to unlock your phone.

Today, I do not use social media at all. I just check once a week wikipedia's main to page for the latest news. Entering a long password introduces a 5-7 seconds delay to open your phone and to surf on internet. So because of this 5-7 seconds overhead, i usually decide not to touch my phone if it is really not required. But without this overhead, since it was too easy to surf on internet, i usually decided to do so and spent lots of time unnecessarily.

And for hackernews, I was checking https://news.ycombinator.com/best frequently. Then i have developed, www.hntoplinks.com (hacker news aggregator daily/weekly/montly...) 7 years ago, but eventually started to spend too much time on my own web page and finally added subscription feature.
http://www.hntoplinks.com/subscribe
So I have subscribed for weekly and monthly and annual top news. I receive an email on Monday morning 7AM, before starting the week. I just go through links and it gives me a good overview of the week. I do not use https://news.ycombinator.com/ and www.hntoplinks.com directly anymore.
Thanks for sharing! I was actually just looking for something like this earlier today, can't wait to try it out.
I just did this on paper for like 2 years. I like the sense of logging it, it just steer me in the right direction.
And I'm fascinated how doing that digitally helps getting wonderful insights!
Or even véhicule prioritaire.
Demo link doesn't work.
Looks amazing. Having recently moved to a Macbook as my daily machine, I was missing Notepad++ immensely. I had a portable version of the ap stored in my Dropbox and would have 100s of tabs opened in it accessible from anywhere.

Hoping to get some of that functionality back with Obsidian.
Prefacing this with an acceptance both that HN culturally has US management principles and that I've got no idea how to run a business...

Why is it an initial assumption that customer acquisition and ad spend are linked short or even medium term? That doesn't seem right.

When I see an ad for washing machines it doesn't make me run out and buy a washing machine. It gets me familiar with Samsung the brand so in 6-12 months when I buy a washing machine I am familiar with Samsung and buy their brand. Or it means that if my washing machine starts to sputter I'm more confident knowing where to go to buy a new one.

It doesn't seem enough to stop advertising for 6 months and claim no damage is being done. It seems well understood that repeated exposure to a brand has a powerful effect on humans.
C++: How a simple question helped me form a New Year's Resolution
Thanks.

I think that you're spot on. I've probably been more obsessed about "the way it should be" rather than "what's the shortest path to get our first clients using it". I suppose that it's a newbie mistake; out of fear.

Part of me couldn't accept the idea of delivering something that would explode and that I wouldn't be able to support in production. It's still something I fear, especially when I look at our code coverage, even though I do care about the quality of what I create..

As you say, switching from CouchDB to PGSQL wouldn't be easy at all.

And yep, agreed about schools and restaurants, you're probably right.
YouTube and twitch use RTMP which operates over TCP. This means that each time we send a packet we need to ensure that it’s been received which adds latency overhead. Lightspeed uses the FTL protocol which operates over udp thus reducing the latency overhead
Yup! You could develop a web of WebRTC relays
Specifically, the bucket interface: https://en.cppreference.com/w/cpp/container/unordered_map#Bu...
As of right now there isn’t a demo. I need to determine the most cost effective way to stream 24/7 then I will put one up
I think there are some code quality trade offs you get for free. You should always make those, like don't write shitty variable names.

But there are a lot code quality decisions where increasing quality costs more time. (at least in the short run)

Code consistency - When you write one module one way and a another dev writes it another. Do you rewrite one of the modules for consistency?

Doing the "Right" thing - When there is a better solution and a faster solution that is maybe less maintainable. Which solution do you pick?

Corrections - You wrote some code while learning a new library/technology/api and find that you used it poorly. Do you go back and clean this up?

Code Reviews - How nit picky are you? How good is good enough? If a dev writes out a large feature and you don't like the way he did it do you ask him to fix it?

Database Mistakes - as you learn about and build out your app you realize you made the wrong choice with some database modeling, do you fix it or write unnecessarily complex SQL to fix paper over it?

Analyze or fix CSS - A button looks weird, you're not sure why the css is causing it to render funny. Do you do a deep dive finding the root cause or do you just jam some inline css in there?
I dig the trend of celebrities getting into education Taylor Swift [0] kicked off.

[0]: https://twitter.com/SwiftOnSecurity
Reading this I realized the same mistake that I made.

It's because we focus on a product that

1. need lot of front-end works

2. target a user-base that need a lot of onboarding

I have a side project that I worked on in 10 years and still doing nothing...Its scope is too big and because It requires some kind of front-end works, which isn't my strong suite, it becomes a constant battle to say what should I do, how should I make UI/UX intuitive.

Then after I sitting down after 10 years(and still have nothing to show), I leanrn about 1) and 2).

Then I think in order for me to move forward when I have a day job, I have to focus on something that require zero or very little front-end works and can easily self onboarding.

I did that idea. And something I think I can finished in 2 weeks ended up taking me 3 months and still not 100% polished but at least I have finally launch it and have my first paid customers

So my advice to anyone is to find something that requires minimal front-end works can can easily on-board new users.

---

the service is https://hanami.run an email forwarding service if you are curious
Here's how to do it in the 2020s:

1) Get authoritative persons or organizations to agree with you -- managers, journalists, distro maintainers if it's a Linux thing, etc. Go over your opponents' heads to get buy-in.

2) Spread the narrative around that your opponents are graybeards who refuse to upskill, luddites, reactionaries, racists/sexists, covert Nazis, pedophiles, etc. Get your authoritative friends on board with this explanation of your opposition. Make their opposition to your proposal their problem, and tie that opposition in to whatever undesirable qualities they possess or are purported to possess.

3) Soldier onward as if it were a fait accompli. Convince your authoritative friends from step 1 that it is a fait accompli. March to victory unopposed, since no one would want to be associated with whatever undesirable group you chose in step 2.
one can always follow Einstein' path, get a job and doodle your equations in your spare time.
I can’t wait for you to try it out haha!
Related: a fork of OBS Studio with WebRTC support

https://github.com/CoSMoSoftware/OBS-studio-webrtc
No matter what time scale you pick, there's still a point where ad spending costs more than you benefit. As time passes, the boost from any campaign decays. For any particular person you only need to show them so many ads to maintain awareness.

> these are ALL diligently measured at every stage

Mmm. Sometimes. Sure, you can obsessively measure audience and sales numbers, but if you don't have any controls then it becomes nearly impossible to figure out how much of that came from ads and how much came from everything else in the entire world.
What Is Fitness Keto Supplement?
Visit the authority site and request a jug today. After the request is handled, the organization dispatches the jug inside a couple of working days. It's as basic as that! As an alert, it would be ideal if you counsel a specialist before use as it might effectsly affect your wellbeing. In the event that the enhancement responds adversely with the body, stop use promptly, and counsel a doctor.

http://wintersupplement.com/fitness-keto-review/
AWS... When you're cheap and don't want to pay for a GPU. Or a bunch of other cloud providers that don't support GPU's at all.
05AB1E Is a Golfing Language
Governments are not ready to allow the economy and population to return to 'normal'. They want to finish their bailouts/pork barreling, and to continue the destruction of the economy and society so that it can be fully recreated along ideological lines.

They want to ready systems like limiting travel and cinema visits only for the vaccinated.

How else can you explain things like the new executive order and $1million penalty in New York from Governor Cuomo for distributing the vaccine to non-prioritised people?
Blog removed. Read the story at:

https://pastebin.com/BG3FjRxB

-
OR
-
http://webcache.googleusercontent.com/search?q=cache:eK_CIq9...
Singularity: Rethinking the Software Stack [pdf]
> Sweden already has one of the highest death rates in Europe

Just under Belgium, Slovenia, Italy, Czechia, Bulgaria, UK, Spain, Hungary, Liechtenstein, France, Croatia, Switzerland and a few other small countries most of who notably _did_ have lockdowns.