skysight-inc/HackerNews huggingface dataset:
This refactoring business, I see it going two ways, there are probably more.

1. you refactor, you change the type declaration in one place, auto handles the boring work of replacing the characters throughout your project.

2. you refactor, you change the type definition in one place, auto will handle replacing all the instances in your project, hell, it might even compile afterwards.

I believe you are describing 1. I find that easy enough to do with 'Sed' or IDE refactoring tools.

2, is more subtle and the new behaviour could now be worthy of scrutiny throughout the project. I find it difficult then to 'Grep' or IDE search through the project for all instances reliably when auto is in use. It is much easier for me with spelled out types.

I would trade the benefit of auto in 1) for the safety of spelled out types in 2) every single time.
It unfortunately scales up very well, or rather it completely doesn't scale down. The problem is while gigantic design seems to be good on paper you can't build a demonstrator blimp or a small scale model (kinda like airplanes can with widebody/narrowbody or shorter/longer fuselages) to break into the commercial industry. And they need not only individual scale of a single ship but also quantity scale to show that they can operate profitable. And even if someone build them, then they need to convince people to switch from ships, trucks and trains. And places unreachable by those already don't have enough production for the gigantic blimp transport.

But it would be awesome if someone goes full Elon Musk on this idea and bruteforces the final giant design with a pile of money. Blimps are great :)
The press in Denmark is scared - even today.

As this story broke, agents from the intelligence services would show up at all major Danish news outlets to explain that they risked the same treatment as Findsen unless they were very careful in their coverage of the story.

Findsen was essentially "disappeared" for the first two months. Arrested and detained but not allowed to tell anyone about his arrest or whereabouts.
I'm glad they didn't put power button on the keyboard as Mac copycats do.

But there are no home/end/pgup/pgdn keys, but couple of them cramped with cursor keys (I assume home/end and pgup/dn must be pressed with Fn).
I mean killing elephants and sharks is terrible but thats the only way to harvest those parts so its a bit different, its not like you could carefully remove them and they'd grow another set for harvest next year.
Although I liked the proposal (the `-> User | Exception` idiom is quite beautiful), that's a deal breaker.
Collecting the data isn't a problem, but utilization is? Seems to be the same problem.
Yeah we definitely got what we paid for with Operation Cyclone. Unclear how things would have unfolded if Soviet expansion hadn't been opposed though.
Having been through this myself -- but as an individual-contributor rather than some kind of Thought Leader... and seen others go through it.. Sounds about typical for Google acquires.

Google will tie fairly lengthy golden handcuffs onto their acquired employees precisely because of what you see here. As soon as they run out, most -- especially the founders and senior folks -- leave.

I stuck around (for another 6 years) after my 3-4 years of golden handcuffs expired because there was nothing else that paid as well in my area. But most of my NYC colleagues from the same acquisition bailed as soon as they got something else compelling.

Going from a fast moving startup where you get to make decisions on your own rather small codebase, to a giant beast like Google is... hard. Much of what was in this article is saying is familiar. But when we joined Google it was "only" around 25k engineers. Now it's wayyyy more than that.

In our case they basically seemed to buy us out to eliminate us (or so the DOJ is saying now https://crsreports.congress.gov/product/pdf/LSB/LSB10956 ... though they didn't at the time). For the first year they kind of just let us flap in the wind without integrating us, while they just rewrote features from our stuff into their stack... mostly without us.

2 years in I felt a bit like the "Rest and Vest" scene from Silicon Valley. Though I got myself out of that trough for a while.

It was a weird feeling of simultaneously being happy for the opportunity and the Really Good Money, but also a tinge of bitterness about the circumstances of the whole thing.
Beyond a Business Continuity Plan (BCP), let's demand a full Information Lifecycle Management Plan (ILMP) addressing:

* Records Retention
* Archival Strategy
* Digital Preservation and Perpetual Retention, and
* Succession Planning for Information Assets.
It's insane that this is now possible:

https://github.com/ishan0102/vimGPT/blob/682b5e539541cd6d710...

> "You need to choose which action to take to help a user do this task: {objective}. Your options are navigate, type, click, and done. Navigate should take you to the specified URL. Type and click take strings where if you want to click on an object, return the string with the yellow character sequence you want to click on, and to type just a string with the message you want to type. For clicks, please only respond with the 1-2 letter sequence in the yellow box, and if there are multiple valid options choose the one you think a user would select. For typing, please return a click to click on the box along with a type with the message to write. When the page seems satisfactory, return done as a key with no value. You must respond in JSON only with no other fluff or bad things will happen. The JSON keys must ONLY be one of navigate, type, or click. Do not return the JSON inside a code block."
Sunflowers follow the sun from day to day
And why six? Why not build one and then see?
Presumably given its scarcity any application makes it heavily contended
And now all of them except CLion Classic use the same underlying language engine, and the plan is to supersede Classic with Nova. If you need to use VS choose R++. Otherwise, use Rider for MSBuild projects or CLion for CMake projects.
Capitalism. It’s why we can’t have nice things.
Ask HN: Papers with Statistical Puzzles?
Hi everybody,

I recently read this paper [0], where the authors talk about a statistical phenomenon that runs counter to most peoples intuition. They clearly explain the phenomenon and give a lot of real-world examples and talk about its implications. I would like to find other papers like that. Can you recommend some?

[0] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4841483/
Disney did Robbin Hood, I feel like they can figure out.

Also, its surprising Nintendo hasnt allowed Mario to be used for Viagra commercials...
Well sure, you can bring any real-time sound system to its limits if you want to - some of my additive synthesis experiments do that very quickly even on pure C++.

But as far as practical use goes, I run 16 algorithmic sequencers implemented completely in s7 in real-time, inside Ableton Live, at an output latency of 8ms, and do so for long enough for compositions. This is while Live does a ton of software synthesis and FX dsp too, and all of the sequencers can be altered on the fly without audio dropouts! This is on the cheapest M1 you can get too. So it's absolutely practical for real time work. This is also without even a ton of attention to real-time GC in s7 - I haven't dug into that yet, but Bill has told me that while he did a lot of work to make it fast, it doesn't use an implementation specifically targeted at lowest possible pause times.

Whether the tradeoffs of Scheme vs other options are worth it for a particular composer/producer/performer varies of course, but it really is time to put to rest the notion that we can't run a Scheme interpreter for real-time music generation.
I'd be surprised if it ever chose to be.

Being self-contained is something the West is incredibly bad at, and has been for (checks calendar) at least half a millennium. Depending on how much you think counts.
I think it's because QBasic was, among many things, a bit of a bridging language.

- Basic had existed even before displays and keyboards were popular, so many software developers from that era could appreciate it.

- Microsoft included QBasic 1.1 for free with some of their operating systems.

- All things considered, it was fairly compatible (depending on what the code did) with GWBasic and even basic/basica from old IBM terminals.

- The language was also easy to understand which made it ideal for education

Probably among other points, this brought a pretty large and diverse group of people who loved programming together.
This is a survey conducted by JetBrains, whose primary product is a Java/Kotlin IDE. They do support other languages, but their audience is almost certainly skewed toward JVM users.
Author here if anyone has 386 questions. The 386 is very complicated, probably too much for me to fully reverse engineer. But I find it interesting to look at small circuits on the die.
> so the laptop would not take a performance hit due to mismatched sticks.

My impression is that it would take a performance hit because it can’t “RAID-0” the memory sticks as it’d do if they were the same size.
It is when it comes to nuclear regulation.

The NRC effectively makes nuclear impossible in the US.
The picture painted by the headline seems to indicate the CFO’s departure is related to the fiscal loss. That’s not accurate.
That's great! We may actually use your hosted service since we haven't had the resources available to setup the self hosted version.

Edit: Some quick feedback. Your pricing uses the word "workflow" but what that means isn't described anywhere on the site or FAQ. I assume it's used once you create an account but it's not clear what it means before signup.
A later comment in this discussion reminds me that this was called "calculating the delta-offset".
The ones who are power-tripping are bad. The ones who genuinely believe that their rules-lawyering is actually good and beneficial for the whole community are even worse.

“Of all tyrannies, a tyranny sincerely exercised for the good of its victims may be the most oppressive. It would be better to live under robber barons than under omnipotent moral busybodies. The robber baron's cruelty may sometimes sleep, his cupidity may at some point be satiated; but those who torment us for our own good will torment us without end for they do so with the approval of their own conscience." - C.S. Lewis

Dang is good at a lot of moderator things, but his best attribute is that he seems to be capable of disentangling his own personal views on a topic from enforcement of objective norms of decency and respect. Less than 1% of people can do that; they prefer to bludgeon people with technicalities in order to enforce their own views -- and most believe that they are doing good when they do it.
Usb-C connections being unstable in Linux is definitely still a thing. My Asus laptop (amd cpu/gpu) works about 50% of the time, and the other 50 it keeps blinking the monitor on and off.

I can fix this by plugging in hdmi first, then back to usb-c. Some sort of hardware reset gets executed that way, I suppose.
lol the most important thing about writing code is that it works, and works well enough that it puts shekels in my pocket. I'll start worrying about Pythonic code when my accountant does. Until then, we'll keep counting shekels.
Hi Peter! You did my E3 visa a while back. When I was standing in line at the US consulate in Sydney, the person in front of me was really nervous, visibly shaking. I saw that their papers had your letterhead, so I was able to calm them down a bit by showing them my papers, which also had your letterhead.

Thanks for all your hard work!
Maybe this is too far outside your area. I'm an American living in Canada, and am leery about the best legal structure for my business. Cross border accounting is a nightmare. Any advice?
build 2 - right at the base of the Burj Khalifa
Home theaters using projectors is the use-case for me.

But I stick with triple black velvet which seems to be even blacker than these paints due to the 3d texture to it being able to trap and absorb more light.
Finland has modern regulation for nuclear energy, and is constantly improving it (https://www.neimagazine.com/news/newsfinland-to-reform-nucle...). They see it as a strategic option. I'm not sure this is the same for Idaho.
I wonder if it used something like AutoIt[0]. I remember using it at one of my more boring co-op jobs about 20 years ago to automate moving data between a spreadsheet and some obscure database product.

[0] https://en.wikipedia.org/wiki/AutoIt
In the mid 90s slashdot was the hot place. Just because most people had no idea how to get to a place called slash dot dot com! Lasted for a few years.

I agree it is community that makes a space. And HN has been holding on to their for quite a while now.
var t = a.b().c(); // what is it?

Most likely bad code (on the right hand side)

https://en.m.wikipedia.org/wiki/Law_of_Demeter
> we just can't build them without cost overruns and massive delays.

Which isn't a problem, nor even a concern, for big rockets or weapons tho
> Also, I remember someone trying to shape a blimp like a lifting body, so it gets a some extra lift from forward motion.

They are all shaped like that. Famously, the R101 at the end of it's final flight was so overweight (reasons disputed) it needed dynamic lift to stay afloat, with eventually disastrous consequences when first one engine was down for maintenance and then the second was ordered to cut revolutions for unclear reasons.
Apropos a recent discussion of custom corporate fonts[1], anyone notice the way "IntelliJ " is rendered with the i cradled in the J? Inspection shows the font is "JetBrains Sans". Any typographers want to guess what the base font was?

1 https://news.ycombinator.com/item?id=38063428
truffle oil takes awful tho
We have around 10 users right now since we haven't marketed it too much. But would love to spread the word around.

We built this in about a week as it mostly piggybacks on a critical piece of infrastructure behind https://www.tramline.app, and hence kind of runs by itself.

So we didn't really care for adding pricing to it. Tramline is what we _really_ build :)

The service itself just currently happens to respond primarily as a Slackbot, but that's just an implementation detail and can be tweaked.

Would love to connect, let me ping you on telegram!
Cruise Recalls 950 Robotaxis
I think it's useful for people who are founders or employees in a startup that Google (or similar BigCo) might acquire to read things like this.

Also, I think there's things to be proud about working at Google. In general working there does teach a diligence of quality that is often missing in SWE in other orgs, though many companies are picking up on the same practices anyways.

Personally, I found my time at Google to be useful from the POV of that, but also, yeah, just having it on my resume.
you'd think so, but my two year old msi delta 15 gaming laptop can't.

it has a 240w barrel plug and two usb-c ports. one usb-c port can be used for displayport, neither for charging.
The US postal service is similar...

If the item fits in your mailbox (letter size), they do that.

If not, they knock, and leave a "we missed you" note if the package is insured. Or leave it on the doorstep if not.

If you get the note, you have to go the post office in two days, during normal office hours (9-5ish), or Saturday morning (9-12). If you don't make in a few days, they return to sender.

But this is only for USPS. If the package is FedEx/UPS/courier, it's the wild west. Sometimes they leave it. Sometimes they leave a note. Frequently they claim they attempted delivery but didn't. And if they miss you a few times, you have to pick it up at the distribution warehouse which could be a 30 min drive away. This is the worst - even for items you know need a signature, there's no guarantee they'll deliver - we ran into this a few months ago with some jewelry - delivery was schedule Monday 12-5pm, we waited in the living room (right by the door) and nobody came. Their system showed a failed attempt (courier lied). Repeated Tues. Called courier warehouse, they asked if we had doorbell video proving the delivery attempt was never made (WTactualFuck). Repeat on Wed. Item was returned to sender. We called sender, asked them to use USPS because private shipping can be a disaster. USPS is often a day slower, but it's fairly reliable.

Some areas have problems with package theft. Fortunately mine isn't one of them, so I'm ok with packages being left.
My first game was a version of Space Zap by Midway on a Timex Sinclair 1000 in Sinclair Basic. Recreated in on a Commodore 64 and then in QBasic on an early IBM at work. I still use the Model M keyboard from the IBM to this day.
You may have missed the point of the article, which was explaining just how dystopian a place it is to try and get things done
The future. Where privacy is a thing of the past.
My apologies. BabaBASIC is here to make any Android-related anachronistic dream come true (˃̣̣̥ w ˂̣̣̥).
The Moors, obviously. /s
I used to make 20 Euros a day harvesting olives by hand in southern Italy a few years back, not really my idea of well paid.

But I did see a lot of unharvested resources; olives, oranges, lemons etc.
Hodl in case it becomes the next great semiconductor substrate?
Looks like patches@ will be the new linux-kernel@, except that you won't be allowed to subscribe to it from big e-mail providers. Makes some sense, but wouldn't it be a lot simpler to just force every gmail subscriber to digest-mode where they just get a single e-mail per day (or even week/month), and tell them to use separate tools if they want to interact w/ the list?
Looks like these are just phantom oscillations, a statistical artifact of doing SVD/PCA on smooth data: https://www.biorxiv.org/content/10.1101/2023.06.20.545619v1

You get the same patterns in music: https://pure.uva.nl/ws/files/67945245/000016_2_.pdf
This seems to be a pattern for expensive infra projects:

- Original company builds expensive piece of infrastructure

- Original company fails to make money on expensive piece of infrastructure

- Original company goes bust

- New company buys infrastructure cheap

- New company manages to run a profitable business

See Eurotunnel, Iridium, probably others I've forgotten.
Yes. They have considered it essential for good health since forever so they are reluctant to say 'sure we can make do with other oil'. More recently that belief has been spreading because the data seems to prove them right. This is driving prices up.
https://www.ziprecruiter.com/Salaries/Plumber-Salary-per-Mon...

A basketball player can make quite a bit of money playing basketball if they're exceptional. Looks like the national average for a plumber is about $60K/year. Most people on this forum would scoff at that if someone offered them that. It's actually about as much as my uncle, a heavy diesel mechanic, made before his untimely death. It's about what my father made when he retired.

Why don't we build? Why don't we do anything; because it's more profitable not to I'm sure.
Exploring the Impact of Virtual Meetings on Cognitive Performance and Fatigue
That is definitely one way to solve this specific problem, you're right!

Although the future of Statused holds more than just forwarding emails to Slack. I intend to add support to other "channels", such as Teams, Discord and Telegram, as well as other types of integrations such as incoming webhooks, so a status update could directly trigger a custom action in your CI/CD pipeline, for example "detect the app has finished processing, then submit it for review".

On top of that, I don't think you get those emails for every Google Play changes that are made to your release, so not sure if that would work. Again, this might work, but I'm really not sure.

You have a point with those concerns about sharing API keys. But this has become pretty standard and devs share those keys with a bunch of services already, such as as with CI systems, app store user review services, sometimes ASO monitoring tools even.

The FAQ page highlights which permissions the API keys need: https://statused.com/faq#which-permissions-does-my-google-pl...

Thanks for raising these points! It's valuable feedback to understand how people perceive this product!
Thats reasonable. I would slow down to under 150 bpm, even if it means that you are just brisk walking and aim to get at least 15-20 miles a week.
Airships have always fascinated nerds and always will, but whether there is a niche that airships can fill which airplanes, helicopters or ground transportation can't still remains to be proven. A German startup (https://en.wikipedia.org/wiki/CargoLifter) tried something similar 20+ years ago, but only got as far as building a giant hangar (which is now a tropical theme park - https://en.wikipedia.org/wiki/Tropical_Islands_Resort) before they ran out of money. So LTA Research has already surpassed them...
I wouldn't characterize an O-1 as easy but it's often within reach of talented professionals, particularly founders. At the end of the day, the issue is less about the quality of the evidence - although that matters - and more about the existence of evidence that checks at least 3 boxes/criteria. And now, with the recent public announcements from the Administration, O-1 petitions with an AI component have an even greater chance of approval.
The Sphere has generated a lot of interest beyond people who are already visiting Vegas anyway, at least so far - for example, a colleague of mine in London visited Vegas last month just to go to the U2 show.
It looks like Microsoft is now diversifying into photonics quantum computing after its failed bet with topological QC / Majorana qubits. They've also invested twice that amount into PsiQuantum, and a bunch of high-profile scientists have left quite recently
Starlink isn’t the only nor the first satellite internet provider.
Building an browser engine from scratch is a great exercise for validating both the specifications and the web platform tests.

For example, here's some bugs raised by Andreas Kling in the HTML spec that were found while building Ladybird:

https://github.com/whatwg/html/issues?q=is%3Aissue+author%3A...
does the window manager support a high dpi screen? I don't mind spending money on a high dpi screen; but each time I've been disappointed by the poor scaling support. Not sure what the point it.
> So if we want to be really safe then we'll wrap each call with a try/catch:

try:
thing.set_name("Doodad")
except Exception as err:
raise Exception(f"failed to set name: {err}") from err

> As we think about each possible error we realize that our original logic would crash the program when we didn't want it to! But while this is safe it's also extremely verbose.

How is this safer than the original?

If the caller wasn't catching exceptions thrown by this function before, it's not catching exceptions thrown by this function now. What is being gained by catching an exception to do nothing but throw another exception?

This feels like a strawman.
If you're rich, try applying for a golden visa. If you have certain kinds of ancestry, try applying for citizenship based on that. If you're educated or well-versed in something important, there are some kinds of visa specifically available to those kinds of folks. Otherwise, I guess you can try to get a job somewhere and then work that job long enough to turn a work visa into a citizenship.

That all being said, as some sibling comments put it, the grass really always is greener on the other side. As a dual citizen (US-EU) I'm perfectly happy to stay in the US. Some of my family moved back and immediately came to deeply regret it. (Specifically wrt your note about living past tomorrow, I promise you I wouldn't be attending my grandmother's funeral today if she had stayed in the States.) Maybe you should take a full inventory of the advantages and disadvantages of your current and target states before devoting many long hours to the immigration process.