Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
EGreg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
901.
▲
by
EGreg
2y ago
Actually, MacOS gives your computer a .local domain on DHCP and Bonjour usually
902.
▲
by
EGreg
2y ago
Wow! Today I learned that you can have subdomains of localhost. Never realized it!
903.
▲
by
EGreg
2y ago
Only if it is a “tracking cookie”, and lasts for more than one day. But how do they define these terms ??
904.
▲
by
EGreg
2y ago
If you have first-party session cookies that can last for weeks or years, are they considered “tracking cookies”? Because true session-expiry times on cookies SUCK BADLY: https://stackoverflow.com/questions/4132095/
905.
▲
by
EGreg
2y ago
So ... pretty much none Keep in mind, extensions can update themselves at any time, including when they're bought out by someone else. In fact, I bet that's a huge draw... imagine buying an extension that "can read and modify
906.
▲
by
EGreg
2y ago
But in the comma-first case that lets the last line be movable, that was my point basically.
907.
▲
by
EGreg
2y ago
That's a bit like when people like their abusers. "I like that they're strict, they have my best interests in mind, they restrict me for my own good." Don't worry, it also happens with large corporations of all kind
908.
▲
by
EGreg
2y ago
I didn’t seek this out. I was asked to teach this course by the directors of the program that the students paid for. The students want me to teach this. I have been upfront from day 1 with everybody. Oh trust me, I am very upfront about
909.
▲
by
EGreg
2y ago
My opinion: just have commas be optional, like semicolons. Allow linebreaks to insert implied commas
910.
▲
by
EGreg
2y ago
But visually easier to check Also you can put the last brace on its own line
911.
▲
by
EGreg
2y ago
What did Zuck mean that Llama 4 Behemoth is already the highest performing base model and hasnt even done training yet? What are the benchmarks then? Does he mean they did pretraining but not fine tuning?
912.
▲
by
EGreg
2y ago
And iOS programming makes you fill dictionaries with alternating k,v,k,v,nil
913.
▲
by
EGreg
2y ago
anyone actually use comma-first syntax? It lets you easily move lines around, too: {"foo": "bar" ,"baz": "hehe" ,"yes": "aligned" ,"better": "this way"
914.
▲
by
EGreg
2y ago
Advertising is a zero-sum game, just as most crypto and stock market activity. It's the basis for web2 economy just like crypto is the basis for web3 economy, though. So it's hard to make a man admit something when his livelihood
915.
▲
by
EGreg
2y ago
Can we somehow load these inside node.js? What is the easiest way to load them remotely? Huggingface Spaces? Google AI Studio? I am teaching a course on AI to non-technical students, and I wanted the students to have a minimal setup: which
916.
▲
by
EGreg
2y ago
With AI being weaponized by anyone who wants to make a profit, what do you expect?
917.
▲
by
EGreg
2y ago
Reminds me of people who say “there is nothing wrong with capitalism but…” You shall not criticize the profit!
918.
▲
by
EGreg
2y ago
Accidentally visiting a website doesn’t give it permission to send notifications. Seriously, it is not that difficult to let users choose whether to receive notifications, how often, and manage them later. Apple just had negative incentive
919.
▲
by
EGreg
2y ago
You mean half of all AI products? The ones trained to clone anyone’s voice for example. Oh sure, those vibrators and wand massagers were marketed for medical purposes too. But we all know how 99% will be used… It’s just that we are all powe
920.
▲
by
EGreg
2y ago
I'm definitely not glad about it. They are doing it to make sure their apps still have an edge over websites.
921.
▲
by
EGreg
2y ago
Wait, this may be a huge game changer. But only if websites no longer have to ask the user to install the app on the home screen (arcane) and then launch it, and enable notifications.
922.
▲
by
EGreg
2y ago
Well, you can just use a service worker, instead of broadcast channels or shared workers. They have all the functionality you need, now. Any iframe that loads in a secure context and itself creates a secure context, can load a service worke
923.
▲
by
EGreg
2y ago
I remember implementing the same thing in our framework like a decade ago, but eventually taking it out. We wanted to use it for caching data between tabs, so as not to hit the server again per tab: https://github.com/Qbix&#
924.
▲
by
EGreg
2y ago
LLaMa 3 already has RoPE encoding which can handle arbitrarily long contexts (within reason) https://arxiv.org/abs/2104.09864 The difference RoPE makes vs traditional positional encoding is that you just care about rel
925.
▲
by
EGreg
2y ago
Welcome, Tom. Not easy shoes to fill! Moderation can be tricky.
926.
▲
by
EGreg
2y ago
The battery doesn’t have to hold the entire year’s energy — come on :-P
927.
▲
by
EGreg
2y ago
Why not just dig a hole in the ground and make a gravity battery? Would be much more reusable without all the lithium garbage ... and also probably more efficient... https://en.wikipedia.org/wiki/Gravity_battery And th
928.
▲
by
EGreg
2y ago
Look, if the visible universe is expanding, as we think it is, that is already a direction. Viewing galaxies “from the other side” is not the same in an expanding bubble. It’s like being surprised that many things are redshifted no matter w
929.
▲
by
EGreg
2y ago
I always found Amazon Smile weird. Why not just donate, why have people jump through hoops just to prove that you should donate? So you look good but dont spend much money to do it due to user laziness. Ah… got it :)
930.
▲
by
EGreg
2y ago
Cool URLs dont change
More ›