skysight-inc/HackerNews huggingface dataset:
> There's architectural spaghetti and there are lower levels of spaghetti....

> The problem isn't merely converting goto to PERFORM-TIMES. It's that deep in that loop you're also doing raw database operations, writing stuff to a IBM 3270 terminal, and triggering a batch job to the program monitor.

I'm not saying that's not a problem, just that it feels like it could be an anachronism to use "spaghetti code" to refer to that in the context of a COBOL program.
I mean in theory it doesn't have to. Someone can run a business privately and run it the way they want and enjoy it. Make great profits, but probably not become a billionaire. VC vultures however will not allow that and they have their own pump and dump agenda.
> Apps like the classic sample todo or note taking apps frequently shown on HN should really just be able to connect to a user owned storage - get authorized for a stoage allocation either fronting local storage or easy to spin up a node on a cloud hosted vm.

Let's think of the simplest possible implementation of that.

A todo app wants to write to 'your storage'. What are your options for storage? If it's some thing like Google Drive, that is a proprietary interface, so right off the bat, you are now implementing vendor-specific things, so an abstraction is not worth much. You could make some kind of "JavaScript Framework For Storage", aka a js library that has 50 different proprietary implementations, but that would only work for javascript apps. Which, if you only code in JavaScript, is fine, but if you want to support some other application written in another language, now somebody has to maintain those 50 different proprietary implementations in another language too. That's just not sustainable.

If instead you want to create one standard web API to access storage through, even if you could define exactly what it should do, you now need to get Google to implement that one standard web API. But why would they? They already have their own Google Drive API which works perfectly well for their own purposes. You would have to show them some significant business advantage to throwing away all the money and code they've sunk into their own API (not to mention that all their customers and their apps have sunk into it) and build and adopt this new API. (That assumes you could even get them to agree to whatever standard API you created, as they may want a half dozen extra features that have nothing to do with storage)

By modeling the whole system, you can quickly see all the weird quirky problems that you will run into trying to make this API and get it adopted. It's not impossible, but it's a much larger problem space than you imagine at first.
https://archive.ph/BOcPY
Your information is out of date. The paper I linked to shows that both early strains of the virus were present at the Huanan market. That is already very strong evidence that the market was the origin point of the original outbreak in Wuhan, and not merely a superspreader event.

We now know that early cases were centered on the market, that both strains were present in the market, and that the types of wild animals that caused the original SARS outbreak in 2002 were being sold at the market.
Not even business, since 2011 on the projects I worked on, the workstations if needed, were always some beefy cloud VM.
Wow, what a great story.

I'm just trying to visualize an early Knuth giving this talk about how wanting to write a book found him down the TeX rabbit hole.

I also liked this line: "My first Common Lisp program was a compiler for Common Lisp". Indeed, jumping in with both feet.
That is awesome! I don’t blame your guests for wanting to play with it :)
Yea, they alsp began shitting on Tolkien fans preemptively by saying if ypi don't like it you're against diversity, etc.

It's no accident they enacted this shortly before releasing such a steaming pile of IP monetization.

Again- this is Amazon, who have shown they have no regard for laws, or their customers, and have a strained relationship with the truth to say the very least.

I'd bet dollars to donuts no one knew about this policy because it was never enforced until now.
I ran Gentoo back in the good old days. The biggest draw was that after about a week of compiling my system ran a lot faster because of all the compiler optimisations one could enable because it only had to work on your CPU.

I might be misremembering, but I think fastmath was one of the flags explicitly warned against in the Gentoo manual.
16MW shared between 480 million people in Europe is 33mW each. That's enough to power a small LED indicator.
>Almost every motherboard, certainly every ATX motherboard of the past 10 years or so I've seen, has standard at least 6 SATA ports.

Except that the SATA ports on any motherboard are not equal. And you didn't even address the SAS point or highspeed U.2 drives for broadcast or data capture or...

> There are plenty of excellent USB devices to accomplish this, you don't need a PCI Express-based solution.

Evidently you don't work in broadcast or computer vision or machine vision inspection or...

> Realtek cornered the market here with onboard audio, and

Evidently you don't work in broadcast, or use a DAW, or desire higher grade audio, or special audio processors or low-latency MIDI...

>> Legacy adapters for older devices that use serial, parallel, or PCI (non-Express) to connect to the computer
>I'm not even sure what you'd attach that's that old... and more importantly, why...

Evidently you don't work in robotics or machine vision inspection or industrial control or industrial logging or medical devices or...

Before we go any further, USB is very consumer grade tech. We know this because it can be unplugged or work itself loose under vibration. There are locking connector options, but they are for the most part completely inadequate. USB is also prone to incredible cross-talk in noisy environments.

I've touched all of these areas in my career, and they all require those connections you are so quick to dismiss out-of-hand. This is an incredibly parochial and naive mindset on exhibit here.
You can, the problem is that the near zero payoff doesn’t seem like a good use of your time when you have other income.

The payoff is low for so long that people with alternatives don’t stick to it long enough for it to make them more than a few bucks.
The content of this post has nothing to do with the specifics of dynamic linking: it would be just as true if the wheels in question had static binaries instead.
I was a QA earlier, I switched to Saas Sales.

If youre in early stage startups ( which has a small team generally), Then you can be added on a demo call on mute. But if you want to close deals without changing your role, thats where it gets tricky. All sales guys have monthly/quarterly/yearly 'targets' which they have to meet, based on how much business they brought in decides there 'variable' component (All sales guys have a fixed and variable component in their remuneration).

So if you want to close some deals, the only way to do it is make your salary strucuture change accordingly and communicate this to your CTO and CMO/CRO and HR ofcourse.

No pain, No gain.
I studied semiotics at Brown... but almost everyone working next to me studied CS/IT/DS for undergrad.

I often wonder if I would regret studying semiotics if I never learned to code (granted, I was writing code before college).

I do think studying semiotics is part of what got me interested in doing something meaningful with my life.

Anyone else here have an unconventional degree while also being a relative success story?
Oh man, great job digging through all that. This is exactly the kind of content I want to see.

Don't you love your fun safe math?
You are not defined by your work. Anyone who looks at you and only sees your most recent accomplishment is not worth your time. It's okay to not be productive sometimes. It's okay to do nothing sometimes. Everyone needs to hear that.

I'm just as guilty as anyone. I've been sold the lie that because I'm a programmer, I'm soon to be rich. I just have to work a little harder. When I'm not working for a paycheck, that time is supposed to be for me to be working towards my dreams and striking it rich and making the world a better place.

Don't fall for it. It's okay if you need to spend that third of your day not spent sleeping or working for the man to recover.
Even worse, in college you get hit with a survivorship bias, as you're mostly exposed to the professors who "made it" in these fields and managed to find a career.
Have thought about this as well. Both martial arts and riding horses are relating to another being directly as an expression of intent. That said, for animals, it could be as simple as an interface to a pleasure centre and actuating it according to the needs of the controller.

Punishment with animals, as other species, doesn't work as well because it lacks information about your intent, and presumes the animal has understood the intent it is being punished for. Negative reinforcement works in only very limited and immediate circumstances where it's designed to set a memory - but you don't get much influence in the memory you are setting with it, you just get pain and an association of their own experiencing. In the case of an electric fence, you don't care, you just want them to respect fences (though I work with a stallion who balks at fences now because he was in a paddock with electric fences to keep him from knocking them down), but if you wanted to put electrodes on their body to send them in directions, you would need a neuro-feedback reward mechanism. In the case of training dogs and horses, that feedback mechanism is the emotional approval and praise, which builds rapport and a way of relating.

In all but actively malicious situations, even most people don't understand what they are being punished for, let alone animals, and it's a neutralizing mechanism. Using ML/AI for stimulus/response training seems like a risk for a lot of cruelty to train the model, and even where it uses rewards, the deprivation and dependency becomes a kind of cruelty as well. I don't know there is an ethical way to do this.
If you read the paper [1] I wouldn't say the data is convincing. The author's openly admit to changing the methodology of the data analysis (p-hacking) after the data collection.

There are issues with data collection. Some data collectors measured to the nearest 5 degrees and some to the nearest 10 degrees.

There are issues with statistics. Rao's circular uniformity test values are presented without any commentary or analysis of there significance.

The rate of change of magnetic declination is presented as a percentage whereas it is actually in minutes of arc per minute (of time) which would have SI units of s^-1.

It is still unclear how rate of change of magnetic declination relates to how a dog chooses to orient itself. I suspect it has something to do with a correlation between rate of change of magnetic declination and time of day. But why time of day is correlated with orientation seems to be an unknown. Maybe walks at a particular time of day or position of the sun.

The authors dismiss the position of the sun as being an influencing factor but present very little data to support this conclusion.

[1] https://frontiersinzoology.biomedcentral.com/track/pdf/10.11...
Nobody likes their critics, that's human.
> Dombrowski’s degree in Slavic linguistics has taken her to a career in academic information technology, high-performance computing and helping researchers use computers to analyze languages.

It appears this person also has a library sciences degree (MLIS), which was probably more important for enabling this career path. From https://dlcl.stanford.edu/people/quinn-dombrowski:

> Quinn has a BA/MA in Slavic Linguistics from the University of Chicago, and an MLIS from the University of Illinois at Urbana-Champaign.

It seems disingenuous or misleading of this article to make it seem like a degree in Slavic linguistics (she actually has two, BA and MA) is what allowed her to pursue this career.

It's also probably relevant that she went to college at the University of Chicago, a very prestigious/selective school. My main question about the data is: how does this break down by school type? There's not much risk majoring in History at Yale, since your rigor/ability is attested to by your mere admission to the institution. You also have access to an amazing alumni network (including many History and other humanities majors).

But if you're at a second- or third-tier university, majoring in History is a riskier choice because of the less-powerful alumni network and the lack of a signal that you are a highly skilled and capable worker.

EDIT: fixed mis-pasted quote
The Case for Abolishing the National Environmental Policy Ac (NEPA)
Does Protocol labs use cloudflare?
My static website is in a private GitHub repo. I simply push to that.

Because my site is not statically generated there’s no real complexity here? When I’m working on it locally I simply open a .html file from my local drive in a browser. When I’m done I push to GitHub and Netlify updates in seconds.
"Just asking questions" is also a common strategy among people who would like answers to their questions. I spent a long time in 2006 asking questions online about USA's actions in the Middle East, and what I found was that there was indeed an incredible amount of coverup and half-truths from both sides of the political aisle. Despite this, I was naturally called a "9/11 truther" or whatever insult could be applied to someone who wanted honesty from the world's most powerful government.

It's not in bad-faith or manipulative; there are people on this site who have a full and total belief that the Wuhan lab leak is entirely a conspiracy, so earnestly asking for clarification on how they came to that decision seems perfectly reasonable to me.

In 2003 if someone was "just asking questions" about climate change and its future effects, I don't doubt skeptics online would try to unfairly lump them in with conspiracy theorists claiming the world would be on fire by 2010. It seems to me that the best way to convince people that the lab leak is not a reality would just be to answer their earnest questions, rather than lumping them in with anti-vaxers.
Perhaps. The problem of course is that as soon as there's a human on Mars... it becomes a human problem too. There's the dynamics between the humans there. The dynamics between the humans there & here. The dynamics between the people left here supporting the humans there.

Unless the expectation is that humans are going to evolve into some blend of hyper-pragmatic altruists the moment they step foot on Mars... it seems like you're going to have a situation where everything is super tense all the time due to every little thing being both life & death and utterly existential, and then you get to mix normal human behavior into the mix. Such a common refrain strikes me as perhaps the most extreme form of myopia to consider Mars is anything but a pile of human problems the literal instant after the first major success of the technological solutions occurs.

:shrug:
Schools Are Back and Confronting Devastating Learning Losses
Hoping for the end of content marketing
Slow startups are potentially a language issue (which can be mitigated/eliminated in various ways, especially for a text editor), but I hope you realize that comparing the performance of two completely different implementations doesn't say anything about the language choice.

If the neovim native LSP were a direct translation of the typescript implementation, then that would be useful to compare. However, I doubt that's what happened here since doing that would be a waste of effort. If anything, it's more likely neovim's LSP was designed with knowledge of some of CoC's performance issues in mind (since it pre-dates it).

As for youcompleteme, I don't have too much experience with it. I used it years ago and don't remember any performance problems, although that's anecdotal. Regardless, a completion plugin like that typically relies on a cache built from e.g. clang's compilation database feature, meaning that (after the cache is built) the plugin just needs to access that data structure in response to queries. The design of the cache and implementation of the interface between the client and the server are what will likely determine the bottlenecks, not the raw ops/sec of the Python interpreter.
well done. don't be so hard on yourself. ahk is amazing stuff.
Wait for the bill in the post
Excited to hear this. The most important use case for me that is unmet with Bitwarden is a shared vault in a company that has some pernissioning etc.

It would be cool if there were a Bitwarden "extension vault" that is only accessible so long as you are employed somewhere and which suggests rotation as part of offboarding etc. Anyway, congratulations and good luck.

How much would I pay for that? Perhaps with ACLs and stuff I think $10 / user-month
Is there a good framework for creating the same online ide/code demo as yours?

I want to make a live tutorial, I'm thinking about creating a static site generator to generate the same kind of demo you have here.
Hmm. I couldn't find an indication of whether this requires Secure Context (ie only works with HTTPS or localhost) ?

Secure Context seems (coupled with the permission check) like it's an appropriate requirement here but I didn't see whether it's actually enforced, and obviously as an HTML attribute rather than say a Javascript API it might have been forgotten.
I have two guys I work with that got their degree in Economics or Poli Sci, then they went back to school to get a degree in Info Sec. So that's kind of a success story I guess.
It would regularly fail connect to the browser plugins when I tried it (despite successfully connecting previously), and the browser plugins failed to autofill more often than not.

There were a ton of usability headaches in the core application too. The UI was quite unintuitive.

It may be technically great, but that's just one dimension of greatness.
Building a serial terminal with RP2040 and EL screen
Yes, with Java.

Compared to (Visual) C++, it was so damned easy to develop basic CLI and desktop applications. Lots of batteries included in the default JDK. By a happy coincidence, it was also a time when Java was being used for lots of shiny enterprisey stuff like "big data" and "application servers" -- Hadoop, Spring, Spark, Storm, etc. So I found myself in a profitable ecosystem at the right time with the right skills.

But I had also slowly started using Python regularly. Compared to Java, I found it far less verbose and with even more batteries included. Data processing, text processing, ML, DS, hardware interfacing, using native frameworks - everything's so damned easy! I think the introduction of Raspberry Pi around 2011-2012 had a lot to do with my liking Python. Moreover, that kind of tinkering actually helped me regrow a love for programming itself after a difficult time career-wise.

Python's been my default language for everything from 7-8 years now - CLI, desktop, and web app backends. I still work with Java on Solr/ES search nowadays but it's not my default language for anything. I have tried working with Node and Go and learnt a little bit of Rust but I still prefer Python.
Ok, how well are things like multithreading currently supported on WASM? How about shared memory (e.g. for efficient immutable structural sharing)? And does WASM support special instructions (memory barrier instructions come to mind) that allows one to implement (say) a garbage collected runtime on top of it?
This is unfortunately not how DCA was explained to me. If you had extra money during the dot-com boom, you were probably taught that investing $400 a month in a fixed set of commodities was dollar cost averaging.

It was almost ten years later that I encountered the notion of portfolio rebalancing specifically mentioned in the context of DCA. Luckily I already had a notion that this might be a good idea, but how you behave when you know something is good is a bit different from how you behave when you suspect it is. I was not being as disciplined about it as I should be.
A lot of totally valid opinions out there about this, but I personally _love_ how the browser is becoming a very well-featured sandbox for shipping applications.

For personal fun and learning, I'm making a complete 2D video game in ideally less than 1MB. It has 60fps graphics, full spatial audio, and gamepad support, all because the browser has a lot of these APIs that didn't exist when I was starting out my career. The only issue I'm having so far with the user experience is the desire to assume complete control of your keyboard the way a traditional PC game would, because browsers really don't want you to own _every_ key.
I mean I'm just reading this and thinking of the "I got a PhD in math, now I earn fat cash by.. increasing advertisement clickrates by 0.001%" meme. Wouldn't call consumption increase a net positive in today's society, but you bet I'm not going to fight an uphill battle for lower rewards out of some good will.

It's only placing it in the context (first sentence) where it becomes condescending to me. Like, dude, you joking? Of course I'm thinking of what I'm doing with my life writing boring CRUD code. But it's lucrative.
I wouldn't like an automatic for any kind of sporty driving, even just going on mountain roads at the speed limit :)

Love CVTs in city traffic though.

Interesting how everyone who answered thought I don't like CVTs. I was just pointing out the discrepancy.
Kiwi Farms was not "sometimes" used to target, harass, and doxx.

It was the entire purpose of the site.
Keepass2android and keeweb really make for an excellent password manager system when combined. I have been using for years and love it.
We definitely didn't tell our kids that, more like "make sure you get a business minor if you pursue something with low earning potential". I think kids do still hear that but not from any of the parents I know.
Show HN: Scenery – an open-source photo-gallery with extended search
Hello HN!
Sharing a pet project of mine. It started out as a dull photo-gallery then I tried to make it "smarter". In the process of development, I've learnt a lot about computer vision and programming in general.

Current features:
Search by tags (supports logical expressions, https://scenery.cx/search_syntax)
Semantic text search
You can find images with similar tags, color palette or visuals/semantics
Reverse image search
Image anti-duplication mechanism
Automatic image tagging and captioning
IPFS support

https://github.com/qwertyforce/scenery/blob/master/how_it_wo...
https://github.com/qwertyforce/scenery
https://scenery.cx
Education has value beyond improving income potential. It would be really interesting to see correlation between those those who entered college only (or primarily) to improve income, and those who sought a humanities degree for other reasons, to see if they got out of the degree what they wanted.

This analysis also doesn't include minors or elective courses - I'm wondering how many folks (like myself) chose to pursue a humanities minor to get a lot of the value-add of studying something like philosophy without being pigeon-holed in a humanities pathway?
The American system is like 50% general studies for an undergrad degree. So, while I believe being well-rounded is highly desirable, the cost of university today is too high to force people to study what they don’t want. If humanities degrees were halved in time and cost, it would not be prohibitive to study a trade or technical academic subject in addition.

Also, law school degrees are fraught, lots of schools have been accused of fudging or hiding graduate salaries. Plenty of people just aren’t cut out for destroying their lives with a biglaw job schedule or are saddled with huge debt in a public sector. There’s also no guarantee you’ll get hired, if you graduate in an off year, you can miss an opportunity you would have had the year previous or after and can never full get back, even climbing a long ladder and hoping for a lateral.