skysight-inc/HackerNews huggingface dataset:
I literally have a medium-sized repo full of boilerplate required for a normal go web service.

It will be nice to one day factor it out into something I can import versus having to simply copy the template repo.

The stdlib is great but it doesn't give you sessions, orm, csrf, sass/minification, good templating, embedding, etc out of the box. You have to paste in lots of boilerplate to get those working.

https://git.eeqj.de/sneak/gohttpserver

It's WTFPL so feel free to cannibalize it in whole or part to save time. master is a bit outdated as I am moving it over to use uber/fx:

https://git.eeqj.de/sneak/gohttpserver/pulls/17
I was reading about Graydon here https://www.crunchbase.com/person/graydon-hoare and noticed the line "He is the creator of Rust (programming language) and Swift (programming language)." and I was like WHAT? He did BOTH? But the truth is more nuanced. He explains well himself in this reddit post.
Rolling-Release API
I had assumed that the "diving" feature of the Apple Watch Ultra was mostly aspirational. Is there any research on what percentage of Omega Seamaster owners have ever used them on a dive?
Everyone makes mistakes, even framework/compiler teams. I mean look at how long it took Go to get generics. Huge mistake IMO.

I still dislike what ASP.NET did with their startup, and I don't think it's improved much. The minimal startup is just a bunch of magic (where did the var 'args' come from? Just magic.)

Framework folks are people, they try new things, it doesn't always stick.
I played around a bit with SwiftUI and the dive monitoring APIs in the hopes of writing an open source dive computer for the Apple Watch. I spent all my evening hacking hours on my last trip learning UI layout and not much time figuring out decompression algorithms. I might pick up the project the next time I go diving.

My repo here shows some use of Apple’s APIs:
https://github.com/justjake/Trieste
Will Users Replace Twitter or Learn to Live Without It?
Creating a handwritten TrueType font in Linux (2018)
This article makes an assumption: you know how to build the application better than framework developers do, which is not the case in general. Django docs are tremendous and you probably do not need most of it but in reality many of them cover real-world cases and do it in a good way. Sure, it may be a question of minimal code to implement it in go, but you have to know that you need this specific feature and you need to know how to implement it.

I've been doing small projects with go for a while and while I enjoy doing it in go (I like the predictability that types bring to me and the fact that I do not need to go through the tomes of docs to figure out something) I still feel every single time that I'm reinnventing the wheel.

The task is simpler with SPAs since all you need from go is a json api, but if you want to build something complete with htmx you'll have to deal with many questions yourself. E.g.

- orm / db access

- Signup / login flow

- Emails

- Static assets versioning

- template helpers

- CSRF?

- Routing and reverse routing

- Page structures (you want to have the same field to look up page title, right?

- Partials for your templates (how do you do form validation in a nice and generic way)

There is a lot of stuff like this. None of this is impossible to solve, it's quite easy in most cases actually, but it adds up and as I said, you have to know how to do it write

One thing for sure is that if you implement the concepts yourself you don't need to abstract them away too much (or maybe you do if you want to reuse all the nice things in your next project). For me the most compelling thing is types and the fact that I'm not dealing with django/laravel magic with long stacktraces that are meaningless to me, but I still return to thinking about doing next project with rails from time to time, just because I've implemented form validation hundred times already.

One good point about frameworks is about limitations - they are there and this is something that's quite hard to overcome at times. Rails framework does things the certain way and if you want to do it differently you have to fight with the framwork or make an attempt to push things to upstream which I'm pretty sure is not the main goal of your project.

(edit: made list a list)
You're saying that grpc and protobuf are over engineered but you're happy with Spring?

gRPC and protobuf are just transport and serialization, they have nothing to do with business logic, on the other hand Spring is a heavy, bloated framework.

Most Java frameworks are complicated backed by layers of abstraction and black magic.

btw no framework does not mean you don't use any library, there are some good lib aka micro framework that have everything you need to build modern and decent api servers.

https://github.com/go-chi/chi

https://echo.labstack.com/
Mastodon has been great!
For example, in the /new feed right now, there is a tweet [0] and then an "article" [1] reporting on the tweet but adding zero new information.

These were posted within one minute of each other.

[0] https://news.ycombinator.com/item?id=33786892

[1] https://news.ycombinator.com/item?id=33786897
In the excerpts I read, I did not see any lines of code, let alone 26.
Thats my point. Peer correction doesn't work with someone cheating, as it can do with in normal mode scientific process. If there was a solid legal framework to deal with this your friend could have passed what he found on to the police. Institutions 'investigating' their own researchers is a recipe for disaster, but the surrounding society has levers to control the process. Literal fake scientific work shouldn't be dealt with like it is bad science. It shouldn't be an issue of politics but responsibility and punishment.
better link: https://www.reddit.com/r/rust/comments/7qels2/comment/dsqeh1...
Yes you can put in the work and zip a bunch of libraries up into your own home-brew framework. But I doubt it's time worth spent for most teams.
No, then it never happened….
Current office is mess. To "Save As..." you need 4 clicks just to open the god damn save dialogue.
Solid gold would be an effective diving weight at least.
The number of vegetarians/vegans in Germany is strongly increasing [1]. The reasons vary and range from the horrific and inexcusable environmental impact of mass meat production to simple ethics. I personally have been convinced by my conscience and empathy.

I make an effort to reduce (and hopefully stop) eating meat after witnessing the insane cruelty we subject smart, intelligent and emotional animals to. The cognitive dissonance required to eat tons of pigs but on the other hand love dogs and cats is just weird. I mean if you get the chance, check out some cows and pigs. They're awesome and form a bond with you.

So hearing pigs scream in pain from CO2 suffocation is absolutely psychotic to me. Their cries burned themselves into my mind. Especially considering that most of them probably never saw the sun or could ever lay down in the grass to doze off... :(

For me, eating meat doesn't justify this pure horror. However, I still make a distinction between this sort of meat and, say, animals that had happy free roam years on a farm. I get a lot of heat from vegans but it doesn't matter. ANY reduction in the consumption of live animal products is a positive thing and there will always be political radicals.

So in the end, I find myself in your category (b) at the moment with severely reduced meat consumption. Beyond Meat temporarily helps to bridge the gap, it's akin to the nicotine bandaid, only this time it's for the meat addiction. But in that way the subsutition products are temporary and the majority of vegan/vegetarian food we cook is way tastier than the ready made substitutes.

[1] https://www.vox.com/future-perfect/23273338/germany-less-mea...
By database do you mean a finite 2d array with column headings? Or something that can be represented by such an object? And its entries are elements of some countable sets? If so, what are you doing using ZFC there?
Ask HN: Why has PDF not been replaced with HTML5?
Perhaps the answer is very obvious, but why is it that PDF has not been replaced by the HTML5 format for most on-device documents outside of programming?

Take for instance, company annual reports and pitch slides - you could make the usage of charts and data objects a whole lot more insightful by just giving the option to interact with the charts and choose your data selectively. The same goes for research papers - a small visual gif or video component would go a long way to show things compared to a series of sequential images, as would interactive charts - even the simple ones that you get from Excel.
As a vegetarian, I'm going to eat the vegetarian food I like, and that includes fake meat.

I've lived with dozens of other vegetarians, and I've heard the "I don't like fake meat" position a lot, but it's not a clear majority, and far from universal.

My grocery store sells five+ brands of fake chicken at this point, in addition to vegetarian burgers, fish, and sausage. There's very obviously a market.
Do you mean if the utensils have been used to prepare meat since last being washed, or if the utensils were ever used to prepare meat?
Eating super spicy food definitely leaves me feeling kind of drunk.
Have met others who have this and others who doesnt believe me/think Im exaggerating.
It's funny, as someone proposing frameworks make sense in IaC (Terraform in my case), how the framework/no-framework topic apparently never gets old.
Apple wouldn't want to remove twitter because then people will start using the web again (the web app is ~ identical). But probably nothing is happening here, just noise.
“Real productivity at large scale engineering orgs” means a bazillion different things, because a big org can afford to have different teams specialise in different things.

No-framework Go makes the most sense to me, because a big framework doesn’t make sense for all types of project, and the set of projects where I’d reach for a big framework just doesn’t intersect _at all_ with the set of projects where I’d reach for Go.
Reviving an Analog Polysynth with an Arduino, Ghidra, and Python
That’s about the rent/buy ratio for anything - it usually costs about X days of rental of electronics to buy it outright, where X is between 10 and 40 or so.
Twirp (by TwitchTV) is a good gRPC alternative. It’s significantly lighter and easier to use.
The government publishes infection rates at the county level. The county's health department may also have guidelines that differ slightly from the general nation-wide ones. If there is an uptick of infections in the local community and the boosters are recommended there (though still not necessarily at the macroscopic level), then that seems pretty clear to me.

But I still concur with OP. I am not an expert, and I don't know how to choose between experts with differing opinions. What I do know is that I trust certain institutions more than others.
I always knew there was something going on with broken clocks that we weren't supposed to find out about.
I believe many CXOs are insecure about not knowing what’s going on and not being able to judge what’s being said. It’s easier for most to have an opinion on product, marketing, hiring… not so much on the technical areas.

On the other hand, tech people have a tendency to spend disproportionate effort worrying about programming languages, frameworks, monads, etc… compared to understanding the business - and I somehow understand that, because when job hopping it’s more useful to have experience in certain tech than in certain domains, most SWEs positions are “fungible”.
It's not being "woke" at all. Usually "woke" people are accused of accommodating other cultures to the detriment of "Western" culture. But here you're using it to criticize Westerners for not accommodating another culture.

Most westerners find the symbol offensive, so the symbol should not be publicly displayed in western countries.

Yes, the world does not revolve around the west. But when you live somewhere, you should respect the local culture, be it in "the west" or anywhere else.
You didn't specify what you meant with "more productive", but if it means "being able to produce more code in less amount of time" then i agree that one can be faster with frameworks/Java.

If you look at the problem more holistically (say "run a reliable service customers want to use") then that metric is just one of many, and more often than not counterproductive vs some other metrics like maintainability and resilience for instance. IME frameworks reflect that and only let you write code fast, or get the hello-world-demo out fast, but neglect the later stages.

I don't know if the conclusion is no framework is better overall, but the frameworks i worked with at least showed mixed results overall.
Well, do not look for those dangling in the webs of compromat, look at who pulls the strings.

So whose issues are voting senators for that were implicated with the Epstein case. Whoever it is, organizing those snychronous direction changes, holds the harddrives.

Who inherited the effect Jeffrey Eppstein had on his surroundings?
Tailwind is a leaky abstraction
Use one domain.
Considering how hard life in prison is for child molesters I would still bet on the simplest theory that he killed himself to avoid years of torture and possibly death at the hands of his fellow inmates.

That doesn’t mean that the other crimes shouldn’t be investigated to see if there are links to people still living but I would be surprised if this turned out to be more than him taking the quick way out. The hardest part of a conspiracy is keeping a secret and something like this is so explosive that that it seems like that would be unusually hard to do.
Tetris Speed vs. Sleep Duration
it even keeps the chorus!

Write rap lyrics about having a body of wood and teeth of a horse:
--- compute ---

Verse 1:
My body's made of wood, my teeth they look like a horse
My gait is stiff and slow, I'm an anomaly of course
People stare and point, I'm a walking paradox
Bound in my wooden frame, I'm a living paradox

Chorus:
My wooden body, my horse teeth
My living paradox, I'm unique
My wooden body, my horse teeth
My living paradox, I'm unique

Verse 2:
My destiny's defined, I'm a walking rarity
A one-of-a-kind, a sight of pure variety
My actions are precise, my movements are mechanical
My wooden body's a mask, protecting my emotional

Chorus:
My wooden body, my horse teeth
My living paradox, I'm unique
My wooden body, my horse teeth
My living paradox, I'm unique

Bridge:
My wooden body can't break, my horse teeth can't decay
My living paradox will live on, I will outlast the days

Chorus:
My wooden body, my horse teeth
My living paradox, I'm unique
My wooden body, my horse teeth
My living paradox, I'm unique
That's interesting. I tried to use it years and years ago for pain relief and found it actually made my pain worse AFTER the initial high wore off. I just put it down to me, but maybe it could be due to dinner if those things you mentioned.
> So, you have no idea how many were affected, but "all users". How is that important? If it was 1% of 1% of users affected, then it's probably better than most diving equipment. If it's 99%, then it's bad.

I like how you like to make up random numbers with no data to sound very scientific :)

> And yet, when we talk about Apple it's "I don't know, all of them". Hm...

That's because I don't provide random forum posts of something happening to 1 person as "this happens to every user".

> So has Apple. Your point?

Apple has sold millions of scuba diving apple watches to active scuba divers??? Do you have a source on this unbelievable fact you just made up?

> How is that relevant

The thing is that I base my opinions on data, and at the moment there is no existing data.

You on the other hand just type numbers to justify your opinions, and call that "data".

So it is relevant because apple watch will never see intensive scuba diving use, and will thus experience fewer total failures, because of not being used as much.

Like, a car driving constantly breaks way more often than a car that is just being displayed. Doesn't necessarily mean that the display car is better because it doesn't fail.

> I wonder if you realise that individual models from various dive computer makers are probably selling in the same numbers as what's expected from Apple Watch Ultra.

I wonder if you realise instead of buying 1 apple watch you can buy 2 diving computers, have excellent redundancy and save 500$.
How many of these would you need to update in the direction of "maybe some of them do know some of what they're talking about"?

Edit: Read the question again, and try to answer it. Let me rephrase the question:

How many times do you need to find out that something the media told you was "misinformation" or "a conspiracy theory" was actually true, to start questioning them a biiiit more?
1) IMHO huge deal with the dive computers is the screen type, all lower-end dive computers have same old LCD displays which have the drawback of being invisible if it's dark (wreck, cave, night, or just poor visibility water diving). Most of them have some sort of backlight, but you have to trigger that with a button, which can be dangerous. Seems like computers with OLED screen, which are always visible, start closer to the price tag of Apple Watch

2) I think the author is overselling the "you don't need that much information" point - comparison of Scubapro in dive mode vs Apple Watch in safety stop mode is apples to oranges. During a (recreational, no deco) dive you need exactly these 4 pieces of information that are displayed on the Scubapro: time, depth, no-deco time, and tank pressure (and if the last one is missing it's not because it's not important, it's because you don't have remote pressure gauge which is a separate piece of hardware, and instead you need to frequently reach for a separate pressure gauge that's physically attached to the tank). To be fair I'm sure Apple Watch will display the NDL time in a dive mode, as long as you paid your subscription, so this is critique of the article not the watch

3) Heinrichs Weikamp was already identified in comments of the article, one more company that worked on an open-source dive computer was Liquivision (which I worked for for some time in college). It was eventually bought by Huish, just like Oceanic :)
This is the problem when people only know one language, especially javascript. And then have quite naive opinion about programming languages. Ones should try at least all one of big categories; one of ML family, one of C-like, one of Lisp dialect.
The problem with not using established frameworks for building apps is that you'll wind up creating your own ad-hoc 'framework'. As your app (and the framework) evolves it becomes more feature-rich, it will be difficult for people to ramp up/understand. They won't be able to Google/Stackoverflow for problems they're having because nobody else on earth is using their 'framework'. Then people will want features you've not implemented or thought about, so now you need a framework committee to decide what's in, what's out.

No thanks. Give me ASP.NET Core, Django, Spring Boot for a development organization with more than 1 developer.
Which conspiracy theory has been vindicated?
I wasn't worried about the team letting current ESLint rot- just about the possibility of the team sinking a bunch of time into architecture, planning, add starting from scratch that never really gets anywhere.

I do see your point, though.
That's where your input comes in.
HN is clearly filled with only one of the two.
Org 9.6 is released
> Is it the C syntax?

Pretty sure that this is a big factor, I’m not aware of any recent languages that put type information before and after the variable name. Nowadays there’s always a clear distinction between the variable name and the type annotation.
> ”Polish immigrants in the building trade who started returning as salaries increased at home, despite the disparity still being huge.”

There has always been steady flow of Polish migrant workers to and from the UK. Workers would make money and develop skills in the UK, sometimes remaining permanently but also often returning after a number of years, particularly once you get you the “raising a family” stage in life where lower cost of living and being close to extended family becomes a bigger attraction.

The difference now is that the supply of new workers has been reduced by Brexit, so only those existing workers with residency rights remain. I doubt there has been any significant increase in the number of workers leaving, aside from temporary changes during the pandemic.
Sweden is still recommending it.
https://www.folkhalsomyndigheten.se/publikationer-och-materi...

Anecdotally, I have 2 friends who are doctors in the kommun and both said the hospitals are short staffed, beds are filling up and they're seeing much more of the RSV/flu/Covid mix coming to the ER from people that are not in the listed "at risk groups". This matches what my best friends wife, who is a pulmonologist in the US, is saying.
Ask HN: Hobby coding that doesn’t feel like work
Hi HNers!

I’m curious about what practices you do when coding for fun?

For example, I’d use a different desk/space from the one I do my daily work, or work from a coffee shop, or from the sofa with a laptop. I’d also use different tools and languages.

But sometimes I find that even though I want to learn X or play with project Y being on a desk in front of a computer still feels like work.

Do you guys have some practices to make hobby coding fun?

Thx
You need to factor in the time it takes to unsubscribe and re-subscribe.
Don't mean to be pedantic, but this comment left me very confused, surely you mean carriage return to be ASCII 13? Also, g is the 7th character and BEL is 7.
And solution to that does not require forcing everyone to eat meat. Lab grown is a thing and realistically the direction things will go.
How comes this made it to the front [Ask HN] page... None of my submissions made it that high :)
I wonder if the judge realises that people don't care about context, just shaping information to fit their current opinions. People don't care about facts unless they fit their confirmation bias. As Epstein purposefully cultivated friendships with as many rich & powerful people as possible, a lot of names were on his contact list but that implies no wrongdoing by those people. But the "no smoke without fire" brigade will claim them all as supervillains and part of the blood sucking illuminati, or whatever.
Some of us need the latter for the former.

What would you say some of the strengths of Ruby's type system are?
I like how this is a Rust project without any Python, that publishes a package to PyPI.

It uses Maturin (https://github.com/PyO3/maturin) for this, which I've never heard of but sounds really useful.
Ah that's a good point… touchscreens don't work when wet.
micro.dev is different from an actual go framework go-micro.dev ?? (https://github.com/go-micro/go-micro)
Sorry you’re interpreting the release of these documents as evidence that the conspiracists were right? If the conspiracy was correct, these would never be made public, not “they would be made public in a pretty reasonable span of time for our abysmally slow justice system,” which appears to be what’s happening.

People filed a legal request to keep them private, that request has been overruled. What’s the conspiracy?
Maybe reduce the other 99% of sodium intake so a single Beyond Meat burger wont push you over the edge...
That's cool, but some plastic bags and a raspberry pi are not a "kinetic sculpture", sorry.
An anecdote I heard at a time ago was it is difficult for some men to make close friendships with other men because of homophobia - or the perception of.