HNHacker News
TopNewBestAskShowJobs

slifin

1,142 karma · joined December 4, 2014

submissionscomments
slifin··on The Sovereign Tech Fund invests in Scala
Yeah sorta

I would say Clojure is a big exception to that - Clojure applications tend to be more uniform than even non lisps

slifin··on France Aiming to Replace Zoom, Google Meet, Microsoft Teams, etc.
The real thing that's changed here is that the US gets no benefit from defending Ukraine or Europe

European politicians need to wake up NATO was really an exercise in helping the US with its proxy wars their support will not be reciprocated

Not with trump and not with his successor

slifin··on How getting richer made teenagers less free
Cars, I nearly got run over as a kid a few times

Now as an adult I'd be worried about cycling around with cars that would hit me in the chest and not the legs on impact

Also cars make it very easy for a stranger to pull up and kidnap, parents subconsciously know that and factor it into their decisions

There was also youth clubs where I grew up and a BMX track and no phones so play was mostly happening outside

Society is going to continue to degrading as long as debts keep increasing

Debts will keep increasing because the only way to create new money is everytime someone gets a loan the bank injects the principle into the economy but then expects interest on top so there will never be enough money in the economy for everyone to pay off all their debts

We'll either get mass debt forgiveness or societal collapse and so far we've opted for societal collapse

slifin··on The programmers who live in Flatland
Plenty of ways to define complex data shapes in Clojure

Spec is definitely underrated here considering it's built into the language and has a wider scope but for most people they want the intellisense experience which you can get with clj-kondo + mailli but is not built in so most teams don't use it, fair enough

I'd like to move the goal posts though and say I want flowstorm in every (any other?!) language

I can just run the program and scrub backwards and forwards through the execution and look at all the immutable values frame by frame with a high level UI with plenty of search/autocomplete options

For program understanding there's nothing better

The fact I can program against the timeline of values of my program and create custom UI on top is crazy

One of the most mind blowing demos to me was Bret Victor's inventing on principle and having a programmable reverse debugger for your language makes those demos viable

I built an emulator recently for work that replays what happens on live locally, combined with flowstorm I can go line by line and tell you exactly what happened and why, no print statements no reruns with my own custom UI customised to our apps interesting parts

This is my appeal to anyone outside of Clojure please build flowstorm for JavaScript and or Python

The design of flowstorm is definitely helped by the fact that 95% of Clojure programs are immutable but I don't think it's impossible to replicate just very difficult

slifin··on John Carmack on mutable variables
Yeah I wish variables were immutable by default and everything was an expression

Oh well continues day job as a Clojure programmer that is actively threatened by an obnoxious python take over

slifin··on Stop writing CLI validation. Parse it right the first time
So use Clojure Spec or better yet Malli to parse your input data at the edges of your program

Makes sense, I think a lot of developers would want to complect this problem with their runtime type system of choice without considering the set of downsides for the users

slifin··on Taylor Otwell: What 14 Years of Laravel Taught Me About Maintainability
The Clojure community tries to achieve long lived applications

It helps that the core language has been incredibly stable

slifin··on David Attenborough at 99: 'I will not see how the story ends'
Remember Forbes list is a marketing device

Do not treat it like the real list of world's richest people

slifin··on Biff – a batteries-included web framework for Clojure
Nice to hear about Pathom being incorporated
slifin··on LSP client in Clojure in 200 lines of code
To me something unreadable is code that I cannot statically make any assertions about the runtime behaviour of the code

This function you're complaining about looks like 2 virtual threads doing program input reading and output writing for the LSP client given some ArrayBlockingQueues in about 25-30 lines

If I wanted the complete story I could use Clojure's inbuilt test runner to slip some ArrayBlockingQueues in there and run it under record with Flowstorm

Then leisurely seek through the entire state of the program, to get the play-by-play of how this works

There are so many good design choices in this language and a good 30% of colleagues I run into are not even doing the basics of like running a REPL, I think some people just need to clock in with a decade of C# or PHP or TS or JS or Python or whatever to get a taste of a language with next to no inbuilt immutability, statements instead of expressions, no reload-ability in the language semantics and just crapshot debuggers that run in lockstep with the program execution

slifin··on Ask HN: Share your AI prompt that stumps every model
I ask it to generate applications that are written in libraries definitely not well exposed to the internet overall

Clojure electric V3 Missionary Rama

slifin··on mIRC 7.81
With LLMs we are starting to get the technology where comments could be programmatically rated by more interesting scales than upvotes
slifin··on Waymos crash less than human drivers
There's a big problem with "car blindness" when it comes to cars, pedestrian crossings, car signs I think we forget how invasive they are.

So instead, I want you to imagine the sea or a very large bay, the most wide open space available, then I want you to imagine a ferry that can carry 500 people, big yes but there's still plenty of sea and its reasonably tranquil.

Now imagine 500 people on jet skis roaring around, then imagine that the jet skis and ferry are all trying to get somewhere different but that's relatively the same, perhaps commuting between the different sides of the bay.

If I was mayor I would put a stop to 500 jet skis and say look you have to use the ferry, people on jet skis keep colliding with each other, the noise is horrendous for people on the beach and makes swimming dangerous, and it's also wildly power inefficient when you step back - that's even if we ignore the pollution! 1000 spots to store a 500 jet skis on both sides of the bay is perhaps even worse!

If you can make a sea packed and grid locked with just 500 just imagine what it does to a city with thousands, hundreds of thousands, if you then turned to me and said the jet skis drive themselves! I would still think most people should be taking the ferry and there's a upper limit to sustainable jet ski use.

slifin··on Sync Engines Are the Future
I'm surprised to see Tonsky here

Mostly because I consider the state of the art on this to be Clojure Electric and he presumably is aware of it at least to some degree but does not mention it

slifin··on Show HN: CodeTracer – A time-traveling debugger implemented in Nim and Rust
If you are using Clojure or ClojureScript check out FlowStorm:

https://www.flow-storm.org/

slifin··on Fans are better than tech at organizing information online (2019)
That period was when all the lords had captured the land and forced people to toil on the land, without access to large land ranges the average person cannot live independently

Before your ancestors would have kept a large herd of mammals and lived nomadically moving to fresh pastures when the grass and vegetation was eaten

It's rare but there are some modern nomadic people who live like this camels and goats in the desert

Old diets were primarily carnivore and plants were struggle foods

That's why Europeans killed all the buffalo and why the Japanese on average are shorter because they had long periods where meat was restricted for religious reasons

Don't compare yourself to a people under exploitation, independence was taken by force

slifin··on Why Clojure?
If you are using Clojure please look at this:

https://www.flow-storm.org/

If you can get past the serviceable UI then it's coding nirvana literally looking inside the program

Pair that with a good test suite so you can trigger lots of different scenarios and you're in heaven

slifin··on From C++ to Clojure: Jank language promises best of both
I hope this works with flow storm one day
slifin··on Parinfer: Simpler Lisp Editing
Thank you I love Parinfer and Cursive
slifin··on Parinfer: Simpler Lisp Editing
If you're a vim key bind user the main vim plugin for IntelliJ works well with Cursive's parinfer implementation

When I tried this in vscode it was problematic

slifin··on Higher potassium intake at dinner linked to fewer sleep disturbances – study
Per 100g ground beef is 300+mg of potassium

No carbs, no sugars, no fiber induced bloating, could easily get more than 100g into a meal

My understanding is potassium also competes with salt in the body

slifin··on Alzheimer's study shows ketone bodies help clear misfolded proteins
This doesn't surprise me, I'm long term carnivore and you only need to pay attention to your skin improvements when switching from carbs to fats

Mental health is harder to self diagnose, that diagnosis is better coming from someone close to you, but you should notice changes over time

My friends also think Keto is unsustainable, the way I think it about it is sugar/carbs are more addictive than alcohol, pay attention to the language use "sugar rush" "sugar crash" this is how we talk about addictive drugs not food

You wouldn't tell an addict to have drinks in moderation, once you're out of the woods and stable into ketosis then "normal" foods test like chemicals and hyper sweet to the point of being unpalatable

slifin··on U.S. math scores drop on major international test
My hunch is the health crisis

Kids are riddled with ADHD auto immune diseases like psoriasis or eczema, obesity, depression

I think the skin and mental health conditions are the canary in the coal mine

I'm hearing about adults dying to colon cancer all the time, some hit very close to home

Peak intellect requires a stable physiological basis

slifin··on Why America's economy is soaring ahead of its rivals
The US dollar is the world's reserve currency So countries keep huge stores of dollars in their reserves because they need it for trade Then what happens is the US starts the money printer to pay for US government services This inflates the dollar and means that everyone who holds the dollar has lost value

Including Americans who are paid for their labour with dollars and do not own assets

So wealthy Americans/companies see an influx of money, asset prices rise and every other country gets poorer relative to the USA

slifin··on 'Shallow' sports and 'deep' social hierarchies
There's a larger % of the population that you might expect that have no capability for empathy, let alone anything higher

The structure is great for those people because then they can get their needs met without having to deal with ideas they do not understand like trust and mutual reciprocation or long-term relationships the structure is easy to exploit with no morals so we end up disproportionately rewarding these people

That's why you can't just expect everyone to be respectful and for it to work

slifin··on Show HN: Dumbo – Hono inspired framework for PHP
Reminded me of https://fatfreeframework.com/
slifin··on Rising rates of cancer in young people prompts hunt for environmental culprit
I'm surprised no one here has mentioned artificially created fats/oils

Canola oil, rapeseed oil, sunflower seed oil etc

They are in everything

but if we think about what rancid fats are, they are "fats and oils that have undergone a process of oxidation, or degradation, that causes them to develop off-flavours, odours, tastes, and textures" (Exposure to air, light, and heat)

When you look into how these oils are manufactured these oils are not particularly stable to begin with, and then they're exposed to processes like:

- Mechanical pressing

- Solvent extraction

- Degumming

- Neutralization

- Bleaching

- Deodorization

To get to that clear oil that you see in the shops, this is all before some places deep fry their oils to cook, if an oil has a rancid taste, that is one of the main ways you would tell that it is not good for you, but if something has been deodorised I'm not sure you would be able to say that the oil is rancid

I'd much prefer to stick to fats/oils that existed before the 1900s, you can tell many people are storing fats that have not reacted well within their body

slifin··on Children's daily sugar consumption halved just a year after tax, study finds
I know lots of people, loved ones included who are utterly addicted to sugar-free soft drinks they will not even touch the "full fat" versions.

There are no nutrients there and they appear more addictive, which is why I suspect the industry was so accommodating in moving away from sugar

slifin··on Fungus breaks down ocean plastic
Feel like I hear this story a lot

Starting to think it's being over reported because it could be poorly interpted as an excuse to keep producing ocean plastic

slifin··on Deterioration of local community a major driver of loss of play-based childhood
It's crazy in this country SUV protestors deflate the tires

I always wonder if cars that are particularly top heavy could be flipped over while parked by particularly strong pedestrians

← PreviousPage 2 of 16Next →