skysight-inc/HackerNews huggingface dataset:
I’m with you here. Just my own situation and not trying to say it has to be the same for all.

I like the clean separation from home and personal stuff. I like my office building, the view and being among people. There is a lot of stuff that makes it fun compared to being at home.

My commute is short so that works out for me. I also feel a lot more productive at work as my role involves a lot of collaboration to see things through.
That is false. All the advanced Intel fabs are located in the U.S. And in fact, the design has actually been done in Israel in previous generations.[0] Much of the equipment needed to run advanced fabs are made in the US as well.

[0] eg. https://en.wikipedia.org/wiki/Intel_8088
Would this problem be solved if there were bins in front of supermarkets where people could drop off their extra bags and other people could grab them if they needed them? I get that the stores may not like it because they sell the bags, but if they were onboard, would there be any reason why it wouldn't work?
Is it possible to buy Groq chips and how much do they cost?
I tend to think of it more as living from work, and it did contribute to a mental breakdown. The thought of being chained to my desk at home (I'll admit it's a long chain at least) for all my waking hours for another few decades seems like a diet version of hell.
As someone who does not work with Javascript, I'm shocked that any language would have sets and not support these three operations.
> Reading "Choke Point Captialism" by Cory Doctorow I learned that Spotify uses playlists to prioritize songs that cost less for them or pays out to artists they deal with.

Gosh, that sounds horrible. With such a large market share and such monopolistic business practices, how did they escaped being named a gatekeeper for the purposes of the DMA?
Nice prompting strategy :)
"Lower your home's sale price by 10% or 20%" is bad framing. For one thing, it's speculative: there's no way to tease any particular nearby building project's effect out of the thousands of other factors (most of them orders of magnitude more significant - like local and temporal macro-economic conditions) that effect home prices.

For another, it ignores potential positive effects. If new building improves local economic conditions, then your home's price (still speculatively, mind you) could equally as well be increased. (With relaxed zoning you might hit the lottery, and find that your lot is worth building an apartment on, and never have to work again!) Focusing entirely on potential negatives is unfair argumentation.

Even apart from price, this approach places emphasis on (potentially) negative second-order ("traffic"), while ignoring (potential) positive second-order effects. In my case I'd straight up trade a 20% decrease in my homes sale price in twenty years (I'd still come out $$ ahead) for twenty years of living near a re-vitalised (instead of currently derelict) commercial strip.

I don't think it'd work out that way: I think living walking distance from, say, a nice coffee shop, pub, grocery store, and cinema (those buildings already exist, by the way, they just need to re-open, which can only happen if more people are nearby) would increase my home's eventual value. That's speculation, too, but equally worthy of consideration as the negative cases.
A reason people might want to have JavaScript disabled, is because of the immense tracking possibilities that JavaScript has, which can't easily be safe-guarded against.

The people who do disable JavaScript completely are admittedly few and far between, but are, I would assume, more common among the Hacker News crowd.
Very nicely done. Your intent was quite clear reading the site and code.
> chrome was made for small screen laptop users

Makes sense if one considers how many 13” Macbooks and original MacBook Airs were likely being toted around the Google campus in the late 2000s, with Macs being the predominant development platform there at the time.

Further down the road in 2011, Chromebooks appeared, most of which are on the smaller side which also acts as incentive to keep Chrome usable on smaller screens.

Desktop Safari and MS Edge are also decent in this regard, likely a result of their parent companies being makers of popular small-screen computers.
It's not a real problem in a practical sense. Yes, you have to write the FROM clause before autocomplete happens even though the SELECT must appear before it. Fortunately, however, text editiors used as IDEs allow for out-of-sequence code editing. You can just enter the FROM and move back to complete the SELECT.

It's like complaining that you have to know the variable name you're going to assign something to before you start writing the expression that will set the value.

int y = x * 2;

The idea is to evaluate the expression and store it, but the expression doesn't actually read that way left-to-right. Wouldn't it make more sense for it to be:

x * 2 assign to new int y;

Technically, that's written more in execution order. In practice it just isn't that big of a deal. It only trips up beginners.
I uses a 40inch 4k monitor. The padding looks horrible. Chrome is not better in this regard though
I think there are two reasons int has not gone from 32 to 64 bits on 64-bit systems.

Part of it is backward compatibility: code written to assume 32-bit int could break. (Arguably such code is badly written, but breaking it would still be inconvenient.)

Another part is that C has a limited number of predefined integer types; char, short, int, long, long long (plus unsigned variants and signed char). If char is 8 bits and int is 64 bits, then you can't have both a 16-bit and a 32-bit integer type. Extended integer types (introduced in C99) could address this, but I don't know of any compilers that provide them.
> I like how delightfully stable GCC and C is when things from C99 is mandatory only now, a quarter of a century later.

This is how stable it is - they were still supporting C constructs from prior to C89 standardisation (which is when, I believe, void pointers were introduced).

"maybe consider using void * in more places (particularly for old programs that predate the introduction of void * into the C language). "
Most people are discussing coffee, but green tea isn't really mentioned. I started limiting my coffee intake maybe 7 years ago and switched to mostly green tea, except for certain occasions.

Green tea doesn't nearly impact my sleep as much, I find it easier to stay hydrated, it doesn't give me jitters but a more calming focus, and it's a lot easier to take the caffeine in slowly, because each cup of genmaicha is maybe 20-30mg of caffeine. A pot is maybe equal to one or two cups of coffee, but with a lot more water, and a steadier slower onset.
I'm more surprised it wasn't in the top 10 already.
I think the reaction is in comparison to having a private office. Though truth be told, everywhere I've worked with offices, the norm has always been open door policy unless you were on the phone or otherwise needed some privacy or maybe heads down time. It was never typical for people to go the day with their door shut and would have been remarked on.
I quit caffeine on a regular basis, every few years I'll quit, go a year or two without, then go back on, usually because of something like having to do a lot of international travel where it absolutely helps.

When I quit I do a controlled taper, usually over 3 weeks or so. Currently on a taper now, I'm at 19% of original dose after about 2.5 weeks, and considering pulling the plug completely any day now. I find the hardest part is moving from about 50% original dose to 25%, that's usually where I start to experience the classic headaches and such. I think it's because it's about the window where I start to process all the caffeine out of my body each day, rather than always having some around.
The point I really liked about that video is that decaf drinkers are probably the most passionate coffee lovers. We're drinking it for ONLY the taste/experience. It's a shame coffee roasters and coffee shops tend to not take it seriously. I know when I'm traveling I often want to stop in a coffee shop and get a nice decaf and relax for a bit, but most shops make it pretty clear it's not going to be a good experience by not putting any effort into featuring/caring about the decaf options.
Climbed a meter up a tree right before Christmas, as it's tradition in Norway to hang sheafs for birds to snack from.
What a laughable take.

No, they'll spend and invest their money elsewhere.
Also missing a CAS Latency filter. It's the only reason I find myself going to newegg over Amazon so I can filter by it.
Wow this is terrible timing. I was literally planning on building my first pc in 20 years and I had settled on the 7800x3d. This might convince me to hold off for a bit if the 8800x3d is right around the corner. I'm also waiting to confirm whether the 5090 will have a 512 or 384 bit bus as that informs whether it'll be a 24 or 32gb card (need the VRAM for AI / ML).
Impressive work. Nice job team. This is big.
I don't think we've put a GroqChip in a mobile device yet. Interesting idea!
It is right at the end of the first sentence.
That’s only the case if you solely rely on co-workers for friendships. The key is having a social life outside of work. Personally, I’ve never felt the need to be friends with my coworkers, so WFH isn’t really changing that equation for me.

On the other hand, WFH has allowed me to eat healthy and stay fit. I can workout in the middle of the day, take the dog out for breaks and then come back refreshed to get work done. I don’t like working out early morning or at night. So just having the flexibility to focus on fitness in the middle of the day alone has made a massive difference to my health.

But now my employer has mandated working from office all 5 days in a week. I see about 10 people in my entire floor, I don’t work with any of them, cafeteria is crap so I have to go out to eat, 30 minute commute each way. I’m doing the same work, alone, just in an office now. It’s definitely been a net negative for me.
I think at the time they were mostly perceived as a downgrade from individual or duo offices that office workers may have expected at the time. Coming from the bullpen offices we have now cubicles are great, coming from having a room with a door you can close and window to outside they are strictly worse.

A lot of this is obviously perceived prestige too, but degrees of (mostly unstated) prestige have always been part of the compensation packages of white collar professionals.
Christianity is an international religion thousands of years old. It's not a personal definition.
Yes, they are. Beyond the core database offering, I'd also like to underline the quality of their software engineering work.
There are not many Python-powered databases out there; their codebase has some real gems from the setup.py to their core compiler and Postgres-based storage layer.
It works fine on objects.

const set = new Set();
const x = { id: 'some object' };
foo.add(x);
foo.has(x);
> true

I'm guessing you're taking issue with the fact that it uses reference equality instead of structural equality, which can definitely be a pain point. There's a proposal to improve the situation with "Records and Tuples" [0], but it's been stuck in committee hell for years.

[0] https://github.com/tc39/proposal-record-tuple
One data point:

A couple of years ago, I went coffee-free for one month, just to see what it would do to me.

Sucked. I like coffee for the sake of coffee. But was happy to see "I could do it".

Could not observe any significant change in my life. Maybe felt a little less "up". I ended the experiment after one month.

I don't drink/do drugs (besides coffee).
Before accusing people of not reading the source, you should double check your understanding of the same source. The table does list 2.5 mil, but that's for "Thick plastic bag". The thickness for "Thin Plastic Bag" is indeed 0.5 mil.
I think that is a perverse incentive of Medicare so it gets covered in treatment.

The may work better, but the drugs only run the studies to that threshold.

My mom died of lung cancer like 10 years ago and the immunotherapy drugs like keytuda all has those disclaimers.

Her pd1 wasn't a good fit, but some like Jimmy Carter responded really well
I feel the same way. Keep limited tabs open most of the time.

But the advantage to vertical and nested tabs is that when I need to open a dozen links (like grabbing interesting links from a page without stopping mid flow) I can do it without having to ruin my environment. The tabs are there ready to be consumed: nicely nested below the source tab. Doing that with a horizontal tab bar would destroy my productivity until I closed all of those tabs. It allows you to switch tasks.

As far as wasted space… I hardly ever use a laptop screen. Text content is ideal at 70ch? That’s like a 1/3rd of a 27” monitor.
Never heard tell of using caffeine to help them keep their bowels regular. If you're in that situation, might be worth just drinking more water - it has a significant effect on constipation.
We have multiple teams kind of working in silos so we haven't really consolidated on a single enterprise solution yet. That said, the team I'm on has consolidated on using qdrant with different collections. We've also started using a sort of hungarian notation in collection names as we've just ran into the problem of multiple embedding models.
There is a brief video with pretty images (especially of the ESO VLT) here: https://www.youtube.com/watch?v=SXFvPcgMnuQ
Can Europe defend itself without America?
But in general sleep is good and anxiety is bad and the studies you linked do not show, whether eating fruits in moderation is bad.
What do you mean by "why won't it work on objects"? Objects work fine as Set members.

const a = {}
const b = {}
const set = new Set([a])
set.has(a)
// true
set.has(b)
// false
Not clear if it is due to Groq or to Mixtral, but confident hallucinations are there.
> And it doesn't have the same impact on everyone's body.

I'm one of those that seem able to drink lots of coffee even at 6 or 8pm and still fall fast asleep.

I also don't feel any different during the day whether I drink it or not.
Though I usually still drink it, for various reasons like taste, warmth and social aspects.

People always want to find simple universal dietary rules.
Like what, threaten my employer with an ultimatum? I’m not willing to do that, as the risk/reward balance is way off. I’d find another job if a six day work week is proposed, but not if a four day work week isn’t.

I’d like to see it happen, and soon, so that I have it for most of the remainder of my working years. Back here in reality, I need (and like) this job, and there are much worse limbo states to be in than working for a respectful tech company, from home, hoping for the four day work week.
I also enjoyed the ritual of coffee but stopped about a year ago due to sleep issues and anxiety.

As far as anxiety goes, I found it was a question of baseline. I'm normally even-keeled to a fault. But at that time, I was anxious (due to life circumstances) and coffee pushed me over the edge.

Sleep definitely improved and for that reason I don't think I'll ever restart caffeinated coffee. I may start looking around for good decaf beans at some point (if they exist).
How do you know that it didn't somehow find the largest prime? Perhaps you just threw away a Noble Prize.
>But it does, there is plenty of uncertainty: you can have a long sentence that wraps multiple lines, includes quotes and maybe code snippets with . inside them or just ..., so you can't easily tell where a sentence begins and where it ends.

If a sentence of length 'n' resides on a single line, wrapping on-screen, deleting the sentence is just 'dd'.

For more specific cases, Vim has three different visual highlighting modes that share commands one can apply to visual highlights. So in your example, I would initiate character-wise visual mode with 'v', type 'f.' to extend to the first period; then just repeat this until I found the extant period I wanted to include in the selection by pressing 'f.' as many times as necessary in the most vulgar case; or extend that selection to an obvious symbol near where I want to go, likely the one initiating an inline code block, so 't`' while in visual mode, placing the selection to the left of the opening inline code delimiter.

I've dabbled with Helix, a Kakoune-like, and it does not eliminate this problem of nested selection terminals; you're still required to trial and error since you can't immediately grok the coordinates of the nested period symbol you want to select to; both Vim and Kakoune's inputs only cover a first level.

There are popular extensions in the (neo)vim ecosystem that like EasyMotion that add ephemeral motion targets relative to your cursor position. I'm sure Kakoune has an equivalent. But there's no loss of behavior IMO between Vim and Kakoune here.
It's going to change things, but it doesn't have to be for the worse.

WFH will mean more meaningful connections with the communities in which we live, rather than the communities forced on us by the cities we commute to, and the people who we happened to work with because we passed the same interview.

My mental health was far worse in an office. The drudge of the hours long commute, the dark evenings on the packed commuter trains with only an hour to myself at home before going to sleep and doing it all over again.

It's not for everyone, but it's certainly not a universally bad thing.
How do you create a variable array on the heap?

confused
Oh this makes me feel old. When I first learned C declaring functions was very much an optional feature. A good idea, but optional.
Because you make this claim doesn’t imply at all that most white collar workers supported such a thing, which is what I was commenting on.
it's easier to make a case for exploiting space without any nation nagging at you about borders and sovereignty than it is for deep sea.
My dad's old car (a 1978 Chrysler New Yorker - beautiful vehicle) has two Dark Side of the Moon 8-tracks in it. When I asked him why he had two copies, he told me "because I wore the first one out!"

Hell of an endorsement for an album!
Relatedly, the music industry has never really cared if/how artists got paid - all they care about is that the businessmen (and they have primarily been men, historically) get paid.
Coffee and amphetamines I guess.
Some Starbucks orders can compress 4 cups of coffee into one. The MG of caffeine in one of the larger orders can be enormous.
I think this is a good context to remind people that there isn't One True Way™ when it comes to our bodies, metabolisms, brains, etc.

I quite believe that for many people using a lot of caffeine increases their anxiety and reduces their ability to function. I'm not one of those people. I use quite a lot of caffeine and have very little anxiety and no trouble sleeping. I am, if anything, anti-anxious. I suspect my personality type would make a great fighter pilot or air-traffic controller. (I myself would probably be bad at both those jobs, but not because of the anxiety.)

So I'd say IF you have chronic anxiety problems or you are having sleep problems, and you use a lot of caffeine, it's probably worth quitting or cutting down the caffeine to see if that helps.
I wouldn’t say they bother me per se, but they don’t exactly feel right either. They’re incongruent without good reason.
I wish there had been something for IPF which is progressive scarring of lung tissue. My Dad died of it after a long battle. The doctor even said it's worse than lung cancer at least for that there are treatments.
Tech Still Isn't Doing Enough to Care for the Environment
Did you have a hard time getting into the Amazon affiliate program?

Last time I saw a post like this it seemed the consensus was that a price comparison site didn't have enough content for Amazon to let you use the affiliate program.
That's not an accurate characterization. Don't talk to me until I've had my coffee is as much a statement about morning low body temperature/thirst and morning ritual as it is about caffeine addiction. There's a reason that warm showers in the morning wake you up and invigorate you. Plus coffee is delicious.
To start the conversation off with the obvious: "Magnificent 7" reads like someone satirizing CNBC. I genuinely do not believe anyone worth listening to has used this phrase unironically. Absurd.
Adding Keyboard Shortcuts to a 24 Year Old Government Website with Userscripts
I use tree style tabs btw
I don't change my phone every two years. But it feels every time I get a new phone, I stop getting any regular updates after two years and no security upgrades after four years or less.

And right now, my phone is not usable even if the battery was still good because the banking apps now refuse to operate due to the security environment being depreciated.
So I've been in numerous situations where having JavaScript enabled was either undesirable or impossible, granted, it's my own fault for using strange platforms like a Nokia N900 or whatever, with strange web browsers. But it's still nice when interactive websites continue to work even in contexts where JavaScript isn't a thing. I always thought of JavaScript as something you use to "upgrade" the web experience, not to build it. Although obviously there are some things you simply can't do without JavaScript and for which there exists literally no alternative. There's also situations where JavaScript is a liability. See, for example, the Tor browser.

Especially my ideal is that all functionality which can work without JavaScript should work without JavaScript. So, for example, I am not expecting someone to implement drag-and-drop calendars without JS, but there's no reason why the editing function of a calendar item should fundamentally require JS.

That being said, I know this is an idealist position, most companies which work on developing web-applications simply don't care about these niche use-cases where JS isn't an option and as such won't design their web-applications to accommodate those use-cases to save on development costs and time. But, while I am not really a web-developer, whenever I do deal with the web, I usually take a plain-HTML/CSS first approach and add JavaScript later.
Show HN: Recaptcha Solver using LLaVA-v1.6
I created this very basic proof-of-concept captcha solver using the LLaVA-v1.6 model (and some opencv magic) and it actually works surprisingly good.
I don't find it ironic at all. The purpose of telemetry is to be able to obtain information about the user population at large. It's anonymous and the data only flows one way (i.e. you don't see personalized ads based on telemetry data), but of course some data about your browsing behavior is being sent somewhere, yes.

It's a trade-off: You sent some anonymous usage data but in turn that contributes to decisions made about the product. If you opt-out of sending this data, obviously, it does not contribute to the pool of data from which decisions are being made.

Now, that a small group of people with very specific opinions and preferences is the same that disproportionally also opt out of sending telemetry... I don't see how that is Mozilla's problem.

You can't have your cake and eat it too, as the saying goes.
I'll take this opportunity to plug an instant decaf that recent surprised me (very pleasantly). Our hotel offered this for free in the lobby on a recent trip and I ended up buying some for travel purposes.

https://treelinecoffee.com/collections/on-the-go/products/in...

It's a swiss water method decaf instant that rivals some of the best cafe regular coffees I've had.

At stores/roasters, most will tell you the decaffeination method somewhere on the bag. If they don't it's probably not a brand that cares much about their decaf, so skip it. Make sure you go for as close to roast as possible - decaf goes off a lot quicker than regular coffee.
Which have a lot of their full videos uploaded to yt:

https://m.youtube.com/watch?v=dqCcTUwgICM