skysight-inc/HackerNews huggingface dataset:
You mean searching for keys?

$..book[?@.price<10].title

Yeah, I don't think javascript has that function in the standard library. Writing one is not super complicated, but having to put that into every file (or importing it) is not ideal.

find_key = (data, key) => {
if(data instanceof Array){
return data.map(x=>find_key(x, key)).flat()
}
if(data instanceof Object){
let res = Object.keys(data).map(x=>find_key(data[x], key))
if(data.hasOwnProperty(key)){
res.push(data[key])
}
return res.flat()
}
return []
}

find_key(data, "book").filter(x=>x.price < 10).map(x=>x.title)
Really not trying to be devil's advocate here, but the company is based in Switzerland, and neither Switzerland nor UK are in the EU.
Linting reduces the expressiveness of a language so that a large team can have some consistency.

It’s not necessarily a weakness of the language.

Languages like Haskell, C#, and Java don’t have the same amount of expressiveness as js, python, or ruby, so they don’t benefit as much from a linter, though I know places that use one for C# to prevent usage of the ‘var’ keyword
F# just added this syntax:

let possibleNow =
people
|> List.distinctBy _.Name
|> List.groupBy _.Age
|> List.map snd
|> List.map _.Head.Name
|> List.sortBy _.ToString()
If you're buying it... could you return it? If so, how would they refund you without an account?
Error: [GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1/models/gemini-p...: [400 ] User location is not supported for the API use.
Yes. That's why I march quickly with a heavy backpack. That should be zone 2.

Then occupationally I try to do sprints uphill, walk down. Get ready for another uphill sprint. I have been lazy on that unfortunately.

There is also a lot of evidence that sprinting is really good. I mean if you look at the bodies of Olympic sprinters vs Olympic runners, what do you want to develop?
When the regulation mandate you to provide it for free, yes…
Nothing wrong with finding a new hobby but this is a stereotype of tech workers. If it isn’t woodworking, it’s beekeeping or some other perfectly fine side quest.

I have a small issue with the way the people who get into these hobbies are so bitter. Every job has stuff like this, we aren't special.
It is already one of the main applications of llm systems. Lawyers use a lot
Ask HN: Online File Repository System?
I'm looking for a way to host files on a server and be able to browse them online, but would rather it be something open source.

Any recommendations?
However it is not possible to support the human population without industrial society and its corresponding energy use.
Program on AI and Reasoning (PAIR) for 16-21yos
The Program on AI and Reasoning (PAIR) is an immersive workshop for mathematically talented students with an interest in artificial intelligence, cognition, and minds in general.

10 day camp for students who are 16 - 21 years old.
July 29th - August 8th, Somerset, United Kingdom.
Tuition and board covered, travel scholarships available.
> I somehow can't just wrap my head about that they are.

Passkeys are just resident webauthn credentials. Nothing more complicated than that.

> and that's why you have to use a proprietary device with custom hardware from a random company to act as a middleware between your actual secrets (hidden in-device) and you, and trust that device and company to handle the auth for you.

There's a few open source password managers that support passkeys now.
GDPR, and right to be forgotten (a.k.a. removal of all and any PII including account)
When you mention:

> 3. No mechanically clicking keyboards and mice. That's is a nerve hit 1000s right there times a day.

I'm curious how do you go about replacing the keyboard? You can replace the mouse with touchpads, touchscreens, trackballs etc. but what is you effective keyboard replacement (speech to text maybe)? Or do you mean no clicky-switches (for example Cherry blue)?
Theres a world outside US
Funny since the USSR spent quite a lot of effort making good maps of other countries.
From the outside, with no insider information, my impression is waymo was under a lot LESS pressure compared to others to exaggerate their successes. This is just my impression but to me it feels like waymo was able to do a lot better self-policing or was much better at marketing to appear keeping safety at a top priority. For example, I remember reading articles that said the equipment on early prototypes were multiple times the cost of the Toyota Prius cars they were mounted on. Things like this make me feel safer with a waymo.

The real answer though is money. Since none of these investments are close to breaking even, the only obvious answer as to why one succeeds vs fails is the continued additional investment of money.
Rocket Astroscale chases down dead rocket; Ariane 6 on the pad
I'm sure I'll be getting told the same thing in 20 years.

But please, tell me why the laws of thermodynamics don't apply to renewables.
Nice, if you register you can get 10% off your deletion: https://paste.pics/59a50e49166a7c584f7e656391346329
I imagine they spend money to consume food... after which, both food and money are gone.
My overall point is that neither your function or my function are actually O(1). Whenever you see the notation O(...), there is an implicit context "As input size n grows arbitrarily, ...". You can check the formal definition on Wikipedia.

The cost function for both our functions is not defined for arbitrary n, because they both stop working when input size crosses a threshold. So the O(1) notation is not well-defined in this case.

Now you could come up with a different formal definition for O(1) for bounded input sizes, which is fine, but I don't think you can find one that makes your function O(1) and my function non-O(1). So it would be not be a meaningful definition in this case.

Ultimately, you're using O(1) colloquially. In your words, calling my function O(1) is misleading while it is fine for yours because the constant is "small". "Small" is a subjective term, while O(1) is a formal term.

If your definition hinges on a subjective characterization, why not just say "it's fast", instead of incorrectly using a technical term?

(If we really want to be pedantic, there is really no such thing as "constant-time" when accessing memory, a TLB miss for example will make the CPU traverse a tree; a page fault can execute arbitrary code).
That desire is in conflict with a desire for the reviewer to see only the changes and many of the diff tools don’t diff this reformatted code against that reformatted code but rather work on the pre-reformatted.

It could obviously be done, but involves a yak shave that isn’t clear that it brings enough value to be worthwhile.
Damn that’s brutal.

My hands were getting pretty bad too but then I got a Kinesis Adavtantage 2 and after 6+ months I have no issues. Definitely helped my hand issues
It's pretty much the exact same thing - let's you specify a file to access with a string (pathname) such as "/foo/bar/cat" rather than having to go step by step first open/reading directory "foo", then open/reading directory "bar", then finally accessing file "cat".

With XPath and JSONPath you're just dealing with DOM nodes and children rather than directories and children.
> with instructions for the machine code

This is the weakest point IMO even weaker than probability to receive the giant file with no errors.
SpaceX starts booking places for space tourists to fly
Researchers Develop 'Founding Document' on Synthetic Cell Development
If anyone else, like me, had no idea what this is even about then I found https://www.pouet.net/faq.php.

So it seems it's a bunch of demos from the 90s (or written for 90s hardware) running on emulators in the browser.

I used to have an Amiga back then, and I remember the demo scene. They basically wrote programs that would push the limits of the hardware to demonstrate what is possible. Some of them were quite mind-blowing as they would seemingly do stuff that you would know, from playing games, was not possible.
You can just bypass the injection risk entirely by hardcoding the values as this example demonstrates:

https://news.ycombinator.com/item?id=40246089

(I'm being sarcastic, obviously. You are 100% right)
Intriguing food reflex discovered with a smartphone
The highest observatory in the world just opened in Chile
If you go back on the Wayback Machine it was 29,90€ 9 months ago too
Google will now show labels in Play Store to denote official government apps
> because it's not as easy or rewarding as you think it is.

Neither is therapy or taking chemicals. Yet we whole heartedly push it on people. Is it easy to go to a complete stranger and start talking about your most intimate childhood issues? Sometimes for years on? That is if you're lucky enough to find a therapist you actually click with and who knows what he/she is doing which is far from guaranteed (and that is if you can even afford the whole thing).
I don't think it is easy or rewarding at all, to me running sounds easier.
But as a society we just became conditioned to operate in our current bizarre ways - it doesn't mean its easy or sensible it just is.

> Just saying "you should do more exercise" is completely useless

Since the vast majority don't see exercise as a viable mental health therapy (as far as I know) it is indeed a bit useless to say it. If it was taken more seriously by the mental health community and society in general - then people would take it more seriously. By taking it seriously I mean a whole societal change. I see no reason why exercise shouldn't be subsidized just like other therapies sometimes are. Yes you will get a subsidy for a personal trainer who will work with you because you need it for your mental health - why isn't this happening at all?
That sounds like the most reasonable explanation for this.
source code repo: https://github.com/lewhunt/divz#--divz
Zuck vs. Zuck: 7 Thoughts
What bot? You create a branch, you push button in github UI, merge request is created. There's no bot.
Either you should speak with someone or you’re not being genuine. Sorry that your experience led you to believe you’d rather be homeless.
>... it simply found lots of news articles, made simple models, researched what people have said & done historically.

Those are the sources OP is asking about. In point of fact, it would help if AI could provide the sources it used to determine it's response, that way users can verify it's accuracy.
We should call them fairy tale points.
Perhaps the root explanation of why he writes about himself so much is that he is a passionate observationist/scientist.

He observes a lot of the things around him, measures these things, things about their underlying models, and writes about what he discovers. This is what he loves to do.

His body is always at hand as a possible observational subject, and he is more than willing to volunteer himself as a guinea pig. Hence, he does end up writing about himself more than most people. But he writes about everything more than most people.

He is not just verbose about himself, he is verbose about everything.

I for one can chuckle at that quirk. I find many of his publications brilliant and enlightening, and his process and work ethic very inspirational.
Hiring managers don't spend 30mins on each CV trying to find reasons to hire someone. They've got a pile of hundreds of candidates that they need to sort through quickly, so anything but a clearly positive impression gets immediately rejected.
>Gerber AccuMark

I love the fact that the big seller for Gerber until the 1980s was the variable scale: https://www.youtube.com/watch?v=zeCslpB-JVU
Bad name.

Better name: (as) pure (as it gets) CSS art
Currently not fully working. You end up being redirected from the cart.
It doesn’t. You can block their crawler with robots.txt and send DMCA takedown requests for archived pages as the domain owner which they will honor.

Edit: I was under the wrong impression that if you specifically call out ia_archiver in robots.txt they would honor it. It’s been completely ignored since 2017.
I do that too. I even got an app that does this automatically. I just get a silent notification afterwards, it's great. It's very rare that I'm expecting a call from someone I don't know already, so there's no problem.
Unfortunately, not everyone has this privilege -- people who work with sales, for instance.
Good to know that CPPs safety issues were solved 13 years ago with C++11, and all of the safety bugs that happened anyway over the last decade were just a mass hallucination.
I strongly doubt that it'd be purely psychosomatic.. Spending 14 hours a day hammering away at a keyboard will physically damage your wrists.
I would say the bookshelves are a bit too thin. But I like your approach. I am doing the same, although a bit less consequent.
Can we make an aircraft with a motor and inflatable wing, such that the motor works for propulsion and also inflating the wing, and the motor's waste heat is used for heating the air in the wing?
In Denmark, I don't even lock up my helmet. My bike, sure. But the helmet just casually hangs on the handlebars. I've never experienced, nor heard of, anyone losing their helmet when doing this.
Initiate a chargeback and they will figure it out.
Me living in a 4 BR house with only our 4 family members instead of us taking in a stranger is also a bit selfish.

Everyone does some level of selfish things; trying to shape work so that you find it enjoyable (and therefore likely something that others would also find enjoyable) is an acceptable form of selfishness to most.
Boring. This 1 minute "article" is a bad attempt at selling "new" C++ features as the saviour that will make Rust obsolete. Nothing new or of value is written either.

The attitude of the author is blatently revealed in the last line:

> So, thank you, Rust, for providing such valuable insights. Now, you can take your leave.
Execution, having a good idea and lots of money doesn’t guarantee success.
They had these out in shopping centres in Australia, but they didn't last very long. It's a hard sell, I think you needed to get down to underwear in the thing?

Dug out an article, didn't read, but the picture is the device I recall.

https://www.techguide.com.au/news/gadgets-news/new-3d-body-s...
And if a bug in a library stops you from completing your work so you have to develop a workaround, and adds several days to your “1-2 day task”? The estimate is wrong.

There are simply too many unknowns in other libraries and systems to be accurate.
Buy as in acquire? Or buy as in be a customer?
Is that actually a legal requirement?
Random YouTube videos: stackoverflow.com/index.php
I have no dog in the race (disliking both C++ and Rust - which are more similar to each other than both fanclubs might want to admit), but rarely have I seen a more low-effort post.

A tweet would have done too.
My friend's advisor in grad school (Physics, not CS) used to ask his students for various project estimates, and then he would double it and increase the units: 2 hours = 4 days; 1 day = 2 weeks; 2 weeks = 4 months; 2 to 3 months = 4 to 6 years = thesis project. My friend's estimated 3 month project turned into his 4 to 5 year thesis project. I mean, hey, it was experimental physics and his project ended up using a shipping container-sized faraday cage, scanning tunnelling microscopes, a clean room wearing a bunny suit, building stuff himself in the machine shop, writing software. All this for something that literally had not been done before and no one was sure it would work or what exactly would need to be done to get there (which starts to sound similar to some aspects of software projects). Plus the usual overhead like teaching ungrateful engineering undergrads (guilty!), hosting movie night at the lab and making liquid nitrogen ice cream, etc.
Is There Language in Section 230 That Could Enable Adversarial Interoperability?
Should not matter, if they target EU customers. They also have the EU cookie banner.
I dunno, my normal doc referred me to some clinic some time that did some kind of accupuncture. I’m not given to the interpretation that he believes in alternative medicine, so there must be something to it.

I thought people sticking needles in me was fucking scary though, so I never went more than the one time.
If you offer something to EU residents, you have to comply with GDPR. Even if you are not part of the EU.
Fewer characters to write is an advantage but it's an advantage that is more than offset by the disadvantages of a familiar, more powerful language.

The philosophy of language terseness uber alles ought to have died with Perl.
Slow growth and no growth companies tend to be under a lot of pressure for cost-optimization (which makes sense in a lot of ways, but is grueling to live through…)
I'm equally surprised.
Depends on what you are building, but overall I'd say the friction is minimal. For a lot of apps you won't even need to care about Rust whatsoever as you just use a bunch of fairly standard JS/TS api's.

On the Rust side it's also quite nice, easy to make plugins, good api's, all the goodies.

If you do use both the bridge can cause some friction because of serialization. I have personally not had any problems with it. Also good to note that in v2 (is in beta) they are improving this.

Edit: you asked about TS specifically, check out https://github.com/oscartbeaumont/tauri-specta it generates TS types for your Rust tauri commands.
There's a few things that caught my attention. I am too in tech, but from what I understand and my circle, everyone... kinda worked less during the pandemic (especially at the start). How was this person pressured to work so much? He was doing machine learning for a company that offers clothes. How can you derive actual societal value from that? Not saying that the work was not interesting or challenging, just a bit weird take.

He also says he has 3 hobbies, and when the pandemic hit... it burst his bubble? I mean how many hobbies are you supposed to have? I'm not going to have 10 different hobbies to have "resiliency" in my hobbies shall a pandemic arrive.

Also, glaring omission on not sharing the reason how it happened? Everyone here works on a keyboard 8+ hours a day... maybe share what some of us could avoid?
If profits and revenue are dropping. Isn't that an indication of harder times? Shouldn't they be saving money right now to invest more in their R&D to tide this over and continue growing?
There is a talk 'Programming With Hand Tools' by Tim Ewald, where the author explains why he uses hand tools (as opposed to electric tools) in his woodworking hobby and how this might be reflected back to programming.
The Reddit method of deletion. “It’s deleted… for now”
> these people just wanted less blood on their paychecks, maybe. Or just that the organisation they work is not complicit in these heinous crimes

They succeeded in their mission then. They have the option of having both of those things which Google provided to them vis-á-viv their termination. Google made the decision they couldn’t make on their own.
I think the idea is that the GDPR requires that companies allow users to delete or correct data about them.

And the GDPR scope is determined by the user, not the company. You can have your company based on the far side of the moon, with 99.99% of your users based on mars. For that one user that is living in Europe (note : living, not nationality) the GDPR applies.

Mind you, I'm not sure that the GDPR says that you can't charge for that. As long as you can justify that the amount is in relation to your expenses, my bet would be that a judge will allow it.
Okay but then how can marketeers do that and still go to heaven?
It’s much harder for people without hands to write blog posts too.
>> I get this, but I think it needs to be acknowledged that export presents a risk and that needs to be balanced.

I see it from the other perspective--not allowing key export is a risk since the user does not have full control of their key and cannot fully manage how it is used.

It is a key and needs to be protected, but not allowing key export / import disrespects the user's choice and freedom and is a perfect recipe for vendor lock-in.

What is the ideal balance between protecting the key and respecting the user's choice and freedom?
They didn't cause drug restitance, E. bugandensis is already known for drug resistance. Microgravity and increased radiation exposure just created new strains.
So is this the official IBM-ification of Apple? They’re going to resort to financial engineering to prop up their stock? I mean I understand. A lot of key staff have shares and options that vest over time and they don’t want to lose this talent to a competitor.
But still. 110B could do a lot more than merely increase the P/E. I guess it’s a bullish signal: it says the company thinks its stock price is lower than it should be. I dunno.
Just because someone's cleaning the toilet doesn't mean that everyone must struggle. Yes, life's not fair to everyone, some people starve right now, while other throw away kilograms of food. Some people clean toilets while other people were born with gold spoon in their mouth and will enjoy whatever they want for the rest of their lives.

Daring to work at place that does not suck is not the worst offender to the world fairness, I think.
>but not before trying to make you pay twenty different ways.

This itself is illegal. It must be simple and straightforward. EU laws broadly do not tolerate the rules lawyering popular in the US, companies know what the intent is and playing games will not work out in their favor.
The images might have ~10cm resolution, but that doesn't necessarily mean that there can't be larger scale systematic offsets and other distortions for larger tiles.

I recently learned that satellite images are often corrected to match known maps.

https://www.youtube.com/watch?v=PVemGumEEgo
Serverless GPUs: L4, L40S, V100, and more in private preview
I’m in the wrong industry. That sounds way more fun than writing software.
That’s simple-minded reasoning, based on the false notion that personal choices don’t have social effects. The things society allows have aggregate social consequences that affect individuals. If aliens were watching a society that allows porn and one that doesn’t, those societies would be different even if the aliens couldn’t see into people’s bedrooms to observe them actually watching porn.
You mean terraform?
The important bit is the ratio of customers to miles of road. The US has 80+ people per mile of road, that radio may be slightly higher or lower in each country but it’s never going to be prohibitive.
> And "Just Yahoo it" has an inherent awkwardness

Maybe that’s because yahoo already has a meaning
Sprinters also lift a lot of weights. The extreme example is sprint cyclists, who are jokingly called weightlifters who happen to ride a bike [0]

[0] https://www.reddit.com/r/pics/comments/4xioza/track_cyclists...
Monetization of churn? Nice try marketeers, you gave me the fatal argument I needed to never sign up. Just because you revealed your values with that proposal, I know I never want any relationship with that.
The absurdity I see most is based in culture. Technology development is awesome the business plans and machinations are the absurdities. Any job that does not have a manager with a business plan or an org chart is a breath of fresh air.
Yeah. I started walking with a backpack like he does. Its so much more enjoyable then jogging and I feel the impact on my whole body. Instead of slow jogging for Zone 2, rucking works well.
Ribbon Health (YC S17) Is Hiring a Data Acquisition Tech Lead
Lightweight, Open Source solution for Rick Rolling adblock users