skysight-inc/HackerNews huggingface dataset:
They “just” miniaturised the rack into a chip :)
I find that this is a totally fine trade off to make until it isn't, and by then you're completely confined by your choice of framework. Better to use libraries built to compose around interfaces taken from the standard library so you lose none of the control. I'll also emphasize that doing it this way does make discovering the initial pieces harder than if they're all in one framework together, but I find the slight increase in research yields orders of magnitude improved results once your code starts to age past the two year mark and you reap all the reliability and composibility of the standard library.

Also, here's a list of out-of-the-box library implementations for all the features you mentioned:

Sessions: https://github.com/gorilla/sessions

CSRF: https://github.com/gorilla/csrf

User auth: https://github.com/qor/auth
Show HN: Scheduled Website Speed Tests
s/They just should have done/I will do/ please.
Everything we needed to know about Quibi was that Meg Whitman was involved. Then there was no point in looking closer.
It certainly has limitations, as stomach and esophageal cancers, which painfully force calorie reduction, remain amongst the lower 5-year survival rate cancers.
Ask HN: Is there a secure, self hosted address book suitable for journalists?
I have a friend who is a journalist who wants to ditch CalDAV and the rest since finding out contacts aren't encrypted on the server. Is there some sensible solution for keeping a contacts book like journalists do?
Some of them move back to PHP once they realise the PHP standard lib is actually rediculously full of helpful tools for web development and the idea of treating individual PHP files and the directory hierarchy as the routing structure makes everything so bloody simple. Pair that with apache and the newer mod php and you have an extremely easy to up and running situation. Development feedback loop is rediculous and everything is simple again.

Frameworks need to die.
So i have Pi-top the Raspberry pi 3 Laptop. It wasn't expensive or anything. Keyboard is fine, touchpad is fine. But when i boot on it GUI and start VScode things works but starting a chromium on top of that brings a warm feeling to you... and it is not a metaphore. In general Pi 3 was a bit too slow. With Pi 4 everything could be "fast enough". I'm waiting for more devices like this. But I prefer the format of a little bit more expensive Pi-top than keyboard i need to plug to monitor.

For this I would elect to buy naked Pi 4 and keyboard I would like and just wire everything together. If you wanna do stuff on it imho Keyboard feeling good is important.
>Is the new administration planning to tighten the bolts / expand the police state?

I wouldn't worry, any of his actions will be backed up by the required votes.
If it's really just placebo effect, I can't help but linking it to various cults who claim they can cure this and that, and their claims might be right due to placebo effect.
Show HN: Simple accounting and invoicing software – INVOICY
So at least some people who have been declared “brain-dead” and had their organs harvested could have been brought back (albeit temporarily) with a shot of Ambien? That’s... disturbing.
Carpenter v. United States was 5-4, with Ginsburg in the majority. The textualists stacked up firmly against it. I wouldn't expect any help from SCOTUS for the next... ever.

The textualist theory on privacy is basically: "no trespass, no problem". The trespass theory of privacy is why Scalia was in the majority on United States v. Jones (cant attach a GPS tracker to a car without a warrant) and Kyllo v. United States (cant invade the house with an IR camera without a warrant). The lack of a physical trespass explains why his intellectual bedfellows dissented in Carpenter.
Me too! You'll have noticed that that's exactly the structure of my article: which problems is Rust a better choice for, and which problems suit Go. It's intended to help people just like you, who want to pick a tool based on the problem they're trying to solve, rather than tribalism.
I agree. A headphone jack would make so much sense.
Or at any rate into the chassis; all those PCIe lanes have to go to devices that are mounted somewhere.
> This is exactly it - it's just genre bickering

Not always. Genres and categories are useful to describe what it is like without sharing precise knowledge (i.e. finding an example that the person you talk with also knows).

I don't know what the sub-categorization argument is, but I kind of understand that people want to be a bit more precise. For instance, in the "object-oriented" category it is useful to distinguish "class-based" from "prototype-based".

To me, the lack of a commonly accepted definition of "roguelike" is a bit annoying because the definition of the term tends to become more and more fuzzy over time, to the point that the term will eventually become useless as a communication medium. So in my opinion, a little bit of gatekeeping is good.
encryption for me but not for thee
> whenever Samsung releases a new phone only some regions get the Exynos chips, because historically they couldn't produce enough of them

That's not true.

The reason for that has always been Quallcomm's patent shakedown.
But that model is flawed, and it's been more than a decade to learn that.
The interesting thing is: We already have a model that works much better, and it's been around for longer. If you buy a computer with Windows it is completely normal that you still get your updates from Microsoft, even if your computer is built by a company that may no longer exist by the time you install the update.
(That's not to say Windows and Microsoft don't have their own security issues - but the idea that "we provide an OS and we add a middle man for OS updates that by all experience doesn't do his job" is a good model is at this point preposterous.)
Not sure what you mean by 'folklore' in this context. There's a lot of discussion in the piece about memory safety, garbage collection, build performance, and so forth. Don't you think that's engineering, or at least engineering-adjacent?
Yes but my point was that the Apple direction, in this case, is both far more easy to use and more suitable for power users. You can efficiently navigate the apple file dialogue with the keyboard (e.g. press '~' for tab-completable paths in your home dir; ctrl+N -> recently used folders; Cmd+F for what is basically a document DB search across your whole filesystem etc).
I've always felt Gtk file dialogs make life difficult for you. Thanks for pointing out Ctrl+L though... how wise of them to make that feature so "accessible". NOT. :-(
If you are going to cite a central argument to Roe v. Wade related to privacy, then you might as well mention the other argument in Roe v. Wade regarding the government’s interests in protecting an individual’s (in this case, the woman and fetuses’) health. The court balanced their decision between those two interests, hence why states are able to impose some restrictions against abortion after the first trimester.

Given that, what does the balance here look like?
We use standard library in production. Never had a problem with it. It's performance is great, the http.Handler interface is a great pattern too.

I rarely find myself straying far from the standard library. If there's something that takes a bit more code but doesn't bring a dependency then that's what I'll do.

I definitely agree that there comes a day where you just see the light and realise that simple is good, the standard library is good, and that you don't need most of the stuff a framework gives you. But it gets really hard convincing others that Go is a great language because it's not Rust. Don't know what there's so much hate for it in this community. I've never fell in love with a language like this before. It's just incredibly productive for me and fits my thinking perfectly.
Indeed, pretty sure youtube tried the whole directly funding popular channels back in 2012 [1]. They moved away from that

Honestly though, i'm not sure that people making essentially viral fan fiction videos is "the future" as that's already been a thing for a while.

[1] https://en.m.wikipedia.org/wiki/YouTube_Original_Channel_Ini...
USB audio dongles are super cheap. You can get 2 of them for about $10.

If I was on the design team for it I could eventually come around to being fine with it.
I noticed that too, made it hard to know what to think. All that work, and framing it as a "re-enactment" of using a C64, but not getting the code at the core of the lesson right? Weird. Hopefully they will patch it.
Visualizing Cryptocurrency Market Data
Finnish company makes food appear from thin air
I thought their point was that Linux shouldn't poorly copy Apple because they have a different, more power-user centric client base. But copying Apple isn't the problem here, Apple is strictly superior on all metrics, including power user friendliness.
Boolean comparisons cause extremely slow compilation in Swift
We've had pretty high parallelism in server CPUs for a while, eg Ultrasparc T1 had 32 threads in 2005, later generations with 128 threads (T5). But a high number of threads and cores is a worse solution than being able to keep up high single threaded execution speedups, as most programs are not multithreaded because parallel programming is so hard.
RPC over HTTP pretty much always goes through POST, sometimes with the option of using GET for querying as an optimisation.

For graphql specifically, if you allow GET-ing the GraphQL endpoint (which usually isn't the case by default), it's trivial to ensure only queries go through that method.
do other cancers force CR as well, particularly others that cripple key parts of the digestive system? thanks for sharing?
And yet Unix* has case sensitive logins, and is renowned for its security.

*recent Unixes, since older Unixes only had support for upper case characters.

But I see your point, and it looks like it's not a clearly cut question. But I'm still leaning towards case sensitivity, because passwords are case sensitive, so it's easier to train users to consider both of login and password as case-sensitive. And it's a shame that some e-mail providers caved in and started making e-mail case insensitive…

P.S.: Should we also forbid the O/0, l/I characters in logins, like base58 does, because they can be ambiguous ?

P.P.S: And Unicode has added a whole new level of issues to this. Of course ASCII-only logins are completely unacceptable these days –

(think of users that don't have a latin-like alphabet as their native one)

– but I've recently ran into the issue where a service didn't properly normalize my password, so the µ from my previous keyboard layout ended up being considered as different from the μ from my new keyboard layout !
Around the ORM choice, I would stay with raw SQL Queries and use sqlc with to generate the boilerplate (structs and the repository itself). I have been using it and it is amazing. Only issue it only supports postgres, although it has beta support for other DBs.

https://github.com/kyleconroy/sqlc

SQLx is good for simple read queries, but iirc for write operations you still need to map things manually and reads with JOINs are a bit tricky. Gorm might be good for simple CRUD applications, but it's magic has a performance cost.
> Yeah, I never really understood why you'd want to adopt launchd anywhere but macOS.

Systemd took much of it's inspiration from launchd... at least I recall seeing this somewhere, but I could be wrong.
That stinks. In the future you can post to r/aws. Lots of aws folks read that subreddit and they are responsive.
It’s not though in the server space. Many server workloads are inherently parallel because the support multiple concurrent users. Think database servers or web servers.
I'm curious if they will keep up the increase in core counts. It might get more difficult to do that unless the new TSMC processes work very well. They probably would have to go to 16 core (2x 8 core CCX) chiplets as I don't think they can easily fit more chiplets into Epyc.
Location: France and Poland

Remote: Yes

Willing to relocate: Yes

Technologies: JavaScript, ES6+, API, TypeScript, Node.js, Express, AWS, Git, MongoDB, DynamoDB, CI

Résumé/CV: https://www.linkedin.com/in/emilienripoche/

Email: in CV
USB audio would also be an option, but I agree, a lack of audio out for headphones or a headset seems like an error of judgement.
Yes, but it's "yet another" dongle for this machine which is meant to be an easy to use all-in-one friendly to beginners. Them using micro HDMI is already bizarre seeing as there's loads of room for a full size port and most people will need a dongle/adapter here, but not including an audio jack is crazy, seeing as the proper Rpi4 does have one!
Considering most phones already ditch the audio jack, I'd say it's not so surprising?

I'm a bit more disappointed there is no usable usb c - and we could use these usb c-3.5 adaptors almost everyone has now.
Another source: https://www.theguardian.com/society/2020/nov/04/uk-lawyers-u...
This is an interesting experiment, but it doesn't work for me (Firefox on Linux). The virtual C64 doesn't respond to my entries, and seems to constantly receive random inputs.
It is yet another ignorant edgelord trying to provoke a reaction to compensate for his empty existence. Just ignore him and eventually he will crawl back into his hole.
Biden is a very pro-war, tough on crime politician. He voted to authorize the Iraq war in 2003, and drafted and sponsored the Violent Crime Control and Law Enforcement Act in 1994, the largest crime bill in American history. Biden’s win is a great signal for defense and law enforcement companies that spending will increase, so it makes sense. It’s likely a really great time to invest in these companies now that Trump has no chance of winning.
Ever heard of https://en.wikipedia.org/wiki/Kinetic_bombardment a.k.a. Rods from Gods?
Well, anything along the digestive tract from the mouth to the colon for sure.
Humans are mortal. It doesn't matter if you are a dictator or a janitor - you will die anyway. But the institutions, the system, the culture - will stay for much much longer.

Those who build a centralized system that can control every aspect of humans life just don't realize they are building Hell on Earth.

Decentralization and fairfull consensus between every acting party, no matter how much power they have - this is the only way to build a great culture and a system.

Unfortunately, we are still too far from this. Too much people are still trying to build this ugly human pyramid of subordination, just like in a primal tribe or mafia organization.
All of the material in the Solar System - sun and planets - formed from the same original cloud of atoms. This cloud itself included atoms generated by earlier generations of stars. The different elemental composition of the Sun and planets was partly driven by the physics of processes operating as the system matured.
We don't even know where you are located so we cannot give you any advice

> For example, is there a way to hack into X's online accounts (our police isn't that great with technology)? Or can I theoretically break the door to his house, so that police can search it sooner?

Speak to a lawyer in your state/country before doing stuff like this.

Good luck. I hope your friend is okay.
Imagine every variable, class, file, and method name being gibberish with no comments. Also, no white space devs usually use to group related functionality in a method. You have to not only figure out what the heck is going on, but also why. It’s very difficult to figure out at first.

A normal code base has some (not always descriptive) names. But it’s at least useful for context.
I don’t understand how they could ban strong encryption when everyone is gearing up for quantum resistance for blockchain technology. Once you have a distributed quantum resistant system good luck on that. There are so many ways this isn’t practical. If everyone just traded back and forth weakly encrypted garbage data chunks it would be indistinguishable from strong encryption. Also you can encrypt something with weak encryption, chunk the file then send them out in two directions and unless you have both or the chunking mechanism is really shitty that would be just as good as one single strong encryption stream. There’s just too many factors to cover for this to be practical. It’s fighting with mathematics and it’s a losing battle
The speed is strictly worse as no application works better in this scenario, and most are worse (latency).
No problem. The reality is that the medical industry is a sickness industry. Not a wellness industry. There is no incentive for them to make people well, but every incentive to keep people unwell for a prolonged period.
Some foriegn languages like japanese have a romanized version where traditional letters are replaced with latin script.

In this case it's a metaphor for westernized.
Totally off topic, but is there a thing about game studios and being in the middle of nowhere?

According to Wikipedia, Codemasters HQ is in Southam, which is a tiny town halfway attractive UK hotspots like Birmingham and Milton Keynes [0].

Similarly, Epic is in Cary, NC, a suburb of Raleigh. A bit less "middle of nowhere" than Southam maybe, but still, not particularly San Francisco or London either. What's up with that? Have game studios simply been remote longer? Or do gamedevs actually relocate en-masse to places like Southam and Cary for their jobs? How does this work? What's the employer pitch? "Sure, there's like one bar and half a supermarket, but you'll get to work on cool race games!"? (I'm not being dismissive, I'm genuinely curious if this is "a thing" and if so, how this works)

[0] https://www.google.com/maps/place/Southam,+UK/@52.2523264,-2...
You would also want a dongle that has a driver already bundled with the OS. Not sure if that's typical or not. Probably unlikely that the dongle itself comes with a suitable ARM/Linux driver.
I am fairly new to Go, been a Gopher for about a year now, and I really like it a lot.

My background is Visual Basic, PHP, C and C++ and then C# and F# for the longest part. Coming from .NET Go feels like a huge breath of fresh air and brought the fun back into programming. What I enjoy the most is the simplicity (not to be mistaken with the language being “simple”) and the vibrant OSS ecosystem. With Go I feel like I’m actually programming again and solving problems. My focus is to deliver value. With C# I feel like 50% of the time is spent understanding everything around it and mastering .NET with the anticipation that the next project will benefit from my expertise, but before the next project has arrived the .NET landscape has changed significantly enough so that I’m yet again spending 50% of my time mastering the language rather than building something cool.
That's a bummer. I was planning to connect CRT TV to it through composite, that was passed through headphone jack.
> Apple adopted the term to describe a new sensor that measures depth

Not to be _that_ person, but someone should maybe inform the author that use of LiDAR has been around for quite some time already... the "sensor that measures depth" is pretty much a description of what LiDAR is used for and this isnt a new application of the term. And sensors to do this already exist so no "newness" in this field.
I mean sure, if they were talking about it being included for consumer usage in everyday mobile devices, then maybe thats a new thing? But the wording of that phrase seems to want to credit Apple for something newly coined or invented, which isnt the case
> how you're supposed to properly update data for a grouped List/GridView without causing the entire view to rerender

By telling your views what was updated.

For updating sets of items, see INotifyCollectionChanged interface, implemented by ObservableCollection<T> from the framework.

For updating properties, see INotifyPropertyChanged.

> Multiple components got kind of close, but always lacked 1 aspect

Find a panel that does it best, then either copy-paste and patch, or inherit and override.

The entire layout model is implemented in just 2 methods, MeasureOverride and ArrangeOverride. They are virtual, i.e. designed to be user-replaceable as you inherit from framework classes.
My surreal moment was reading the Genetic Programming series by John Koza. He discussed a 1000 socket Pentium II cluster which was used for a genetic search.

I did some back of the napkin math and realized that was roughly equivalent to my Zen 2 box.

So of course my failure to replicate the author's success was not the fault of my hardware.
Why Consumers Think Pretty Food Is Healthier
I've used the same email address since the 90's and could surely surpass that if I turned off my spam filter.
Q-Answers Static Theme Powered by Vanilla JavaScript Accordion Component
There are so many flaws in your reasoning I don't even know where to begin. I guess ignorance really is bliss.
The US constitution should be amended with a right to encryption, making laws such as this one impossible. This is the only long-term way out of this mess.
Postmortem: Children of Morta
When discussing Greyhound, it's important to specify exactly when your experience was, because things have changed a lot over time. When I used Greyhound in the 1980s, buses were clean and on time, and passengers were clean and well behaved. My experience traveling by bus then was better than my experience traveling by air now.
The T1 was unusual at the time. It did have 32 threads, but provided by 8 VERY anemic cores. It was only competitive in some very niche scenarios. A "real" 8-core SMP Sun box was still pretty much a full rack and 6 figures.
Sort of. They can be longer, but C64 basic ignores anything past the first two. So e.g explosive and expensive would be treated as the same identifier.
See also discussion from 2019 when this was in alpha: https://news.ycombinator.com/item?id=19249373

One thing to note is that this doesn't actually render your page as it would in WorldWideWeb, sadly–it proxies the content through CERN I believe and then renders it with special fonts and such to make it look real. The real deal still works fairly well with semantic HTML–I used to like to show off my website in WorldWideWeb running in Previous, not much worse for wear aside from a <head> tag poking through, as an example of how making your websites the right way can really work ;) Sadly, that demo stopped working when I started using TLS…
I really like zolpidem and other substances.
I almost never took them for more than 3 consecutive days.
I still have a lot of zolpidem laying around and don't take it, because I know the brain gets uses to them and the magic is gone. Amazing how people react differently to addicting substances.

Back when I used zolpidem, I found that it is best to use it as a reset button, not as a daily crutch.

I do take 300mcg melatonin but I found it has no diminishing returns and in fact it has a negative feedback -- after 3 days of melatonin, I don't need it for at least another week.
I keep the zolpidem for "recreational" usage, but I don't want to use it with my wife and daughter in the house in the remote possibility I get sleepwalking(never actually happened, I just get amazing auditory hallucinations before I fall asleep).
I'll say you're fine again having done this a few times already. It's always just worked
Interesting read thanks for bringing the topic to attention.

I seriously doubt governments lack the surveillance tools and require more access with backdoors or breaking encryption. For example AES encryption calls CPU instructions to hardware that exists only by a few companies. DNS is either through a handful of public cache servers or captured at the OS level. The network backbone is by a handful of companies world wide. Of course the US is world leader of breaking privacy but this is theater