skysight-inc/HackerNews huggingface dataset:
> You can basically use any Google account everywhere a Google account is required

This is not true if it is a Google Workspace (or whatever they are calling it now) account. Learned this the hard way when getting YouTubeTV. To be fair, it was just a couple of hours of frustration and annoyance but still, for whatever reason, the workspace accounts that you pay for are second class citizens.
Considering how many people get killed by cars every day and how they reshaped American society I'm not sure how to interpret this analogy.
Full title:

>Brain expression quantitative trait locus and network analyses reveal downstream effects and putative drivers for brain-related diseases [open access]
Are they going to pull out of Iran too?

Why hurt the people that you're trying to help. If this law passes they should do everything they can to increase availability of Signal in the UK.
In approximately the same way that knowing how to type has nothing to do with computer science.
I think you’re conflating two different things: universities selecting and presenting a syllabus needed to earn a certain degree, and students actually learning the material.

The latter is the solely the responsibility of each student, but I don’t understand why the former would be. Some of the content in this course strikes me as unknown unknowns for new programmers. Why would they be to blame if no one told them to learn a particular skill?
> instead of simply being able to change the code, you need to find the exact hook or configuration to get the behavior you want.

I don't think that this is a bad thing. This is the purpose of a framework. To extend its functionality. If I wanted to re-write everything (or change the generated scaffolds) then I'd skip the framework and use libraries directly.

I'd like to point out the biggest problem with scaffolding: Let's suppose I use scaffolding to generate a scema / database table in phoenix, along with all the bells and whistles. I'm happy; instant code. I customize all the scaffolds as I like (i.e change html layouts, fix the schema/migration for fks, fix the queries, improve forms etc). I'm happy; everything works as I like. After 1 hour I notice understand that my table is missing a field. I'm sad. Now I've got two equally sad options:

* Delete everything that phoenix has generated for me, drop the schema, re-generate the scaffold (with the new field) and re-apply all my customizations or
* Add the field myself by adding a migration, adding it to the schema, fixing the tests, adding it to changesets, fixing the templates, fixing the queries and praying I haven't forgotten anything.

Now I'm very sad.

What would happen in that case (forgot a field in the database) in Django? Add the field to the model and re-run the migrations. That's it. Happy days!

> You can migrate (or not) at your convenience

Yes, I know that the views are still there but my understading is that they won't be generated anymore (so the steer is to not use them anymore, at least for new code). However, my main argument was that Django is better at holding your hand to produce acceptable code even if you are not experienced with the framework nor you have mentoring. The fact that now you have even more options (i.e you can use views if you want and think you need them) strengthens that argument.
I'm guessing hosted AD saves an organization $X/month in consulting fees with an added promise that "Microsoft will be able to keep this thing online better than a machine in your building."

It brings plenty of other headaches though.
Tried what out? Code generation and execution? Or building a full-featured voice assistant?

The code generation and execution is trivially problematic. I don't need to try it out to know that if someone can coerce one of these bots to spit out its prompt, someone could coerce it to execute dangerous code if it's wired up to an interpreter.

As for the other part of my analysis, in order to empirically test it I would have to build a full-featured voice AI, release it to millions of users, and see if I was able to predict everything they tried to do. Given that my prediction is that even Apple can't do that well, I'm not sure why you think I would bother to try it out.

If an engineer told you that a bridge would collapse if built a certain way, you wouldn't insist on trying to build it anyway just to be sure. Most of the time in engineering you can't run a full-scale test, you have to make do with analyses. If you want to critique my analysis, I'm all ears, but "you haven't actually tested it" is not a critique.
Interesting! I will test it, thanks!
LiveView can’t handle spotty connections, I thought?

Career python expert, not huge into Django/we dev in general…

I thought the whole thing with most HTML over the wire is that its tied to the connection latency? Unless there’s some js component underlying the Elixir code that I don’t know or don’t understand.

With the advent of things like flask+html, I find it a little hard to believe that Elixir hackers could whip up a MVP faster than I’ve seen it done with flask.

I’m not opposed to functional programming by any means, but just because the language embraces it doesn’t qualify all the constituent frameworks to replace world-class solutions like Django.
A bit harsh, but doesn’t miss the point entirely.
The first time I was in London I was shocked at the number of in-your-face surveillance cameras. Now I grew numb, but it’s still bad, actually worse. An estimate puts their number to 1 camera for every 10 people.
If you reuse the variable, then you are not getting any of the alleged benefits of using variables. The same name tells little except it is perhaps the same data type and in Elixir you would also get this information from the module you are invoking:

text
|> String.split(“,”)
|> Enum.join(“ “)

You could also equally add comments between the lines in the dot example:

df.sort_values(“dep_date”)
# group and select
.groupby(…)[…]

Although most of the comments above are discardable (IMO) because they are restating the code.

My point is: sometimes I will break out into variables to get some of the benefits you mention. But forcing all intermediate steps to assign to variables is as harmful as using “|>” or “.” exclusively and forgetting about variables altogether. If you need to add error handling, code comments, etc, you can break out of the pipeline as needed.
Something there’s been fairly animated HN discussion about recently - another example here of how putting profit ahead of principles could be causing substantial harm.

Aside: I appreciate the subject matter itself is controversial, perhaps we could focus more on the permitted scope of big tech rather than right to choose.
Nixon price controls did not work, they led to stagflation and a bunch of other issues. In fact it is hard to find any example of price controls working, and a lot of evidence of the opposite.
Hydrogen is a proven, scalable technology for storing large amounts of energy. Power sources with high capex like nuclear and (presumably) fusion are incompatible with variable generation like renewables. Running them only makes economic sense when you run them at 100% all the time.
I wonder how much of this is specifically Docker related pain? (I try to avoid it) It's super fascinating to see how much ARM support is coming up in this thread. I guess ARM servers are finally happening, huh. Our CI cluster has an M1 Mac in it, it took about an hour to set up. But that's doing JVM stuff with no Docker or qemu involved, so multi-arch just isn't something we need to think about and it's no different to any other machine beyond being much faster.

For servers I'd have thought you'd make a decision up front about whether to use classical x64 machines or ARM, based on load tests or cost/benefit analysis. Then you'd build one or the other. It sounds like a lot of people are putting a lot of effort into the optionality of having both, and then they are using languages and tools that can't cross-compile or JIT compile. Are you using Rust or Go or something? Hmmm.
Hey, I didn't say I do this every day. But I've had enough of these conversations that I can assure you that this low a bar is needed for some people to skip important jobs. If your doubt applies to the usefulness of knowing the system, I don't really know what to tell you -- if you can't take someone's word for it, I don't think anything less than you experiencing it yourself would convince you, anyway.

As for one-off tasks: Yes, that's what Vim bindings are good for. Just like AWK-Scripts are great for throw-away scripts. Being able to perform simple one-off tasks quickly is, incidentally, a skill I find to be far too rare even in programmers. I mean, I would've thought at least us techies see the benefit in knowing how to teach the computer to do the menial tasks for us.
That sounds interesting. Any good Spotify / Youtube playlists to check out?
The ratio of dumb stuff to reasonable stuff being said about ChatGPT is dizzying; I truly hope it has reached its peak and this kind of hype and poorly-thought-out analysis dies down soon.

This whole article could be summarized as "How to protect your career? Be good at your job!"

The 'software dev' section is particularly off-putting. It starts off with a code-snippet that is ridiculously wrong: it defines 'typos' as any string matching this regex: '(\w+)\s+\w+'.
That's right, if your text contains a word followed by whitespace followed by a word, that's a typo.
The code could only appear correct to someone with no knowledge of the domain and no experience coding. The fact that this was published on "wearedevelopers.com" is a bit sad.

The article then goes on to deliver this piece of wisdom: "Coding will soon become no more than a means to an end. Which it always was."
OK, if it always was, then why is this news, or a disruptive change? Also, is anybody involved with writing production software convinced that coding is somehow not a means to an end? What else would it be?

I don't have much knowledge of the other careers mentioned in the article, but I suspect the analysis and advice there is about as flawed. The suggestion that teachers should have ChatGPT grade papers while they spend more time "face-to-face with struggling students" seems particularly vapid and shortsighted as well. How would they even know who is really struggling if they're not reading their work, delegating it to a notoriously unreliable tool?
> I have seen devs scoff at the thought of print debugging

Next time they do, ask them to recommend a better method of debugging that works across generally all languages, compilers, IDEs, and platforms with next to zero configuration.
IMG Tag is 30 years old
Also, one of the hilarious things about this hobby & engineering science is that 98% of that insane hardware & software engineering work is only necessary because we're trying to cheat the laws of physics in order to deliver decent sound from tinier and tinier speakers.

If you're willing to go in the other direction, and tolerate bigger speakers, you can have very very enjoyable sound from the sorts of dumb big-box speakers folks commonly had in their living rooms up through the 1980s or so.
I really want to use vim, but I can't because it's laggy whenever I try to use a premade setup like AstroNvim. I don't want to learn how to setup my vim enviroment. I want a VSCode-like experience in vim, out-of-the-box. I have used Helix for some time, but it has it's annoyances.
In the 80/90’s “phreaking”/“hacking” days we’d call this “shoulder surfing” when snagging someone’s vm/pbx code, etc.
I have a container that contains some vendor-provided software used to support GPU-driven machine learning in a high performance cluster. This vendor didn’t do the cleanest build ever, and so the package they supply installs kernel headers.

Based on those headers, the container scanner is convinced that my container is vulnerable to many exciting things, like Atheros WiFi chipset driver vulnerabilities.
It's a classic risk vs reward calculation. Basically "does this impact/benefit the user experience and therefore marketability and potential sales enough to justify potentially 'going to the mat' in court if they call us out on it". Where "going to the mat" is absurdly expensive patent litigation up to and including building an outdoor ice skating rink[0] (in TEXAS) to potentially influence jurors in Marshall, TX (a 22k person town which happens to be home of the Federal Eastern District of Texas - a court known to be very friendly to patent infringement suits, AKA a "rocket docket"[1]). Not only is the litigation and associated stunts like ice skating rinks expensive, if you lose there can be significant damages - like in the Apple vs Samsung case where Samsung lost and was ordered to pay over $1B in damages. Then you get to decide if you want to keep paying legal fees to appeal, etc. It's called the Apple/Samsung patent war because this stretched on for at least seven years - likely to the tune of 10s of millions or even 100s of millions of dollars in legal expenses. Then, when/if you lose, you're usually ordered to also pay the legal expenses of the other party.

Apple vs Samsung was largely over key UI/UX components that are more or less standards for what users expect from a modern device. Samsung had to essentially calculate "do we try to work around these patents (and maybe get sued anyway) or offer a product in the marketplace that is markedly sub-standard vs a competitor product".

Somewhat paradoxically, at the "startup scale" when I've dealt with patent prosecution (filing patents - terminology is kind of backwards) I've been specifically instructed by IP counsel not to do in-depth patent searches for existing/competing patents. If it can be proven you knowingly infringed on a patent the damages increase significantly because it can then be considered "willful infringement". Good IP counsel often offers a service that (essentially) puts up a little bit of a firewall between the "inventor" and this issue - the firm does searches you're not privy to and usually channels some information to you while not disclosing specifics of the patent. This communication has the benefit of being protected by attorney-client privilege which is almost impossible to pierce.

For something like this I doubt many consumers are making a purchasing decision solely on what laptop speakers sound like. Most people don't really care, sure, it's a "nice to have" for your laptop speakers to sound better but from a sales and revenue standpoint the difference is likely minuscule.

[0] - https://hbswk.hbs.edu/item/why-south-korea-s-samsung-built-t...

[1] - https://www.texasmonthly.com/news-politics/patently-unfair/
I spent $700 on a decent semi-automatic espresso machine and burr grinder, learned how to make espresso correctly, and spend $15-20/12oz bag of beans. This translates to well below $1/16g of espresso. Cost of milk if my wife or I want it is negligible per drink. Considering that espresso drinks are at $4-5 for decent quality, this invest repaid itself very rapidly since we make 2-4 drinks per day between the two of us.

At this point, my routine is pretty much dialed in (pardon the pun), and is quite uncomplicated. Everything is on autopilot. I’m not operating at a very high level. A small amount of effort initially was all it took to get very good results. If I ever feel the need to get deeper into this hobby, the option is always there, and it will probably be there. As a hobby it’s a nice one, because there are lots of little ways to tinker. I could get a bottomless porta filter and play with that. If I really wanted to be spendy, I could get a manual espresso maker.

I haven’t worked as a barista before. I think maybe working as a barista causes you to have an unhealthy and sort of extreme relationship with coffee. If you are deciding whether to get deeper into coffee or not, as a non-barista, I can say that has been a lot of fun and a good way to save money.
I’d like to see a comparison where the quantity of natural gas burned to fix nitrogen is instead converted to ethanol, using the Saudis process.

The bone of contention among researchers seems to be: whether the inclusion of biomass in its production has any discernible benefit.
IKEA looks to remove dairy to meet climate goals
What do you think Linus Torvalds' typing speed is? https://youtu.be/S5S9LIT-hdc?t=3
Previous (short lived) discussions:

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

https://news.ycombinator.com/item?id=34873133
Yeah, this would be my preffered way as well. I dont use any MS products any more in my personal life or my own ventures but if I would, that would be the way. But this is not a global cure. This probably will work fine in a household or small business environment but there are tons of reasons why it most probably probably will not work in a corporate environment.
Cost and Quality
What a great question. Perhaps the answer is “not entirely” but draw up some best effort contingency plans (pool of contractors, insurance cover, etc). I still wouldn’t be highlighting how few support staff I have per customer like this in either case!
I think the real issue is companies will start reducing compensations and salaries by using AI in combination, all this whilst still expecting them to work the same hours.

Vox broke down an article on AI main investment is replacing 'middle white collar' jobs https://www.vox.com/recode/2019/11/20/20964487/white-collar-...

We as software engineers have been using automation for years to improve our work, but that never really meant we had to work longer for less pay
Is this the stuff they use in legal pepperspray alternatives (in places where pepperspray is not legal)?
Online 3D Viewer[0,1] is an open-source 3D models viewer for web, based on Enscripten-port of OCCT (Open Cascade)[2].

It supports wide range of formats, including BREP, STEP, IGES, FreeCAD, Rhinoceros 3D and various common mesh formats.[3]

I, as user of FreeCAD, wrote short thread on its features & possible use as replacement for GrabCAD.[4]

[0] https://github.com/kovacsv/Online3DViewer

[1] https://github.com/kovacsv/Online3DViewerExamples

[2] https://github.com/kovacsv/occt-import-js

[3] https://3dviewer.net/info/index.html

[4] https://fosstodon.org/@app4soft/109925148654197144
I started college in 1993 and my school had a mandatory "Introduction to Unix Computing Environment" class for all incoming engineering freshmen.

We learned the basics of the shell, file system, file editing, AFS ACL's for group projects, and more. It looks very similar to this MIT course which makes sense as our school's computing environment was based on MIT's Project Athena and AFS (Andrew File System)

https://en.wikipedia.org/wiki/Project_Athena

I looked and the same course is still mandatory for incoming engineering students.

I'm in the semiconductor industry and everything runs on Unix / Linux. Back in 2000 we would get new grads that knew very little about Unix, command lines, or scripting. That kind of stuff is half my job. These days Linux is so popular that most of the new grads know this stuff.
Total audio noob here: are you talking about hardware or software DSP? If I had a pair of decent speakers and a microphone hooked up to my PC, how would I go about "tuning" the speakers?
Symbolic Programming with Clojure [pdf]
So does Apple Pay.
Yeah, she's a doctor going around telling people they need to eat an assload of a wide variety of fresh vegetables each day. This can't stand.
covid related loss of smell perhaps?
https://archive.ph/MQiaq

As a more accurate title I suggest, "Fear made John McAfee rich, impetuous behaviour and paranoia caused by use of illegal drugs ruined him."
Browsers have come a long way in this regard, you are right. Even before containers, I love having a ff profile for work and one for personal stuff, they are ultra portable too.
The Graph Programming Language GP (2009) [pdf]
A counter point when you run 1000’s of containers or even 10’s of 1000’s it’s hard to near impossible to validate what can effectively be exploited and what can’t which is why most vulnerability management program take a zero vulnerabilities approach and deal with exceptions on a case by case basis.

One of the easiest ways of dealing with these vulnerabilities is by actually building your images correct there is rarely a need to take on every dependency of your base OS so by either manually crafting images or by using image minimizers like DockerSlim you can make your life much easier.

Vulnerability scanners especially for container images are indeed problematic since they are often only doing static analysis on the image SBOM and comparing it to a list of vulnerabilities, this is where half of the problem begins which is again where tools like DockerSlim come really handy.

DockerSlim also has another benefit of forcing teams to have good test coverage for the minimization process to work correctly and also produces runtime policy files which can be used to restrict containers further.
"Musk's Starlink"

Starlink is civil tech that got weaponized by the mic demons of war. Yeehaa!! and spitout tobacco and chew some.

Sovereign governments should have the power to blindspot starlink or require licensing when it travels over areas belonging to those governments.

Fair game to shoot down warbirds in warfighting.
> won't work if you (just) want conciseness

I think Jose's example provides the best of both worlds, conciseness and readability.

> you have more room to comment what the intention of the code/call is

There's nothing stopping each pipe expression from having a comment of its own if you lean towards literate programming, or you feel that the pipe function + arguments begs further explanation to unfamiliar developers.

> you have room to handle / check for errors

You can pipe your results into a validation function. Ecto, the go-to database mapper, has exactly this pattern. Failing fast is idiomatic Erlang/Elixir (rather than let the process live on with corrupt state) which means if the validation fails, it ought to raise an exception so the external caller can fix their call/request, or if it's a bug, the developer can be alerted to fix the code.
Selling isn't silly. Buying is silly.
Half the value of having the material in a course is that it specifically highlights what should be learned.
Agree - there’s always a modest amount of dribbling, even with a very good condition seal.

I’ve never understood the resistance to inverted brewing - with 200g of water, it’s trivial to make it work with minimal-to-no risk of an accident upon inversion.
Yeah its weird to see this after reading https://signal.org/blog/help-iran-reconnect/