skysight-inc/HackerNews huggingface dataset:
Ask HN: Hybrid or Full EV Car in Flyover States for 2023 (US)
Hello fellow Hackers who read News,

My wife and I are about done with our ICE cars that are both coincidentally reaching their end of life. We're thinking about trading in the cars and taking advantage of 2023 tax credits towards an EV or Plug-In Hybrid. My only reservation with going all-out on a full EV car is we like to road trip around the South (Ozarks, Alabama, Georgia, Louisiana, etc) and we live in a decently sized city the Midwest; we're not confident that our region and where we like to travel has a reliable charging network. A lot of opinions I've seen on Reddit, for example, seem to be mostly from people out West or North East where there are very strong charging networks.

EV and Plug-in Hybrid/Traditional Hybrid owners who drive around the Midwest and Rust belt, what do you think?

Also, I'm fine with encouraging a general discussion on the state of EV adoption in the US or elsewhere in 2023 because I know that will just naturally come up in child comments.

Please no flame wars on car preferences. Thank you and have a great day!
I usually use the technique of finding the interval from the lowest note I can hum - did you reason with a similar technique?
And the alcoholics (as in people
suffering from the disease) at Google would milk our kegs all day long… it was unfortunate how many kegs we had to buy to maintain their drinking habits. It stretched our building’s decorations budget to the max. Nothing compared to the stash the info sec people compiled in Crittenden though. That was insane but knowing what I know about Defcon there is more than enough of this substance abuse normalization.
I recommend checking out his other videos too - the series on the Hydro Thunder machines was good, complete with reverse engineering the disk layouts and raw data storage setup, with the software available on GitHub. He can usually be found on Twitch on a weekend, but is currently on a break to the end of the month due to running past his connection transfer limits (can't even pay for more data).
nice try Indiehacker ;)

next article: how we astroturf Hacker news. not too far-fetched given they're open to manipulating public sentiment on this platform
Many parts of the Swift toolchain are already open source [1], there is a Windows and even a WASM port [2].

The caveats are:

- Xcode indeed isn’t, but you can use sourcekit-lsp for Swift development with some compromises.
The experience has really improved the last few months thanks to the Swift Server Work Group [3].

- Apple platforms have their own Foundation implementation and the open-source one is incomplete.

[1]: https://www.swift.org/source-code/

[2]: https://swiftwasm.org/

[3]: https://www.swift.org/blog/vscode-extension/
I love Asymptote, however, I still miss one feature:
imagine a line and a surface, the line interects the surface; and I want to draw a picture where invsible part of the line is dashed.

There are discussions about the feature (solids?). As I underatand, for now, there's no built-in solution.

(I could calculate coordinates of invisible part of the line, but it requires some time)
HPLIP though...HP has done a good job of making no-brainer printers even be no-brainers in Linux.

The value proposition is especially relevant if the printers & refills themselves are simple business expenses.

Not saying the company is perfect, but there's a lot of room between the headlines and day-to-day use.
I don't see this post as "hacking" the HN, but in the same vein as the famous "Mission ... accomplished" comic from xkcd[0].

I wish more people produced content like the ones they've mentioned (about an interesting, current topic, with their own take).

[0]: https://xkcd.com/810/
Is this relevant for anti-aging research? How significant is this paper in that context?
> When people agree to a business contract and one side fails to uphold their end of the bargain, the remedy should remain financial

Not at all - when one party intends to cheat another, we call that fraud and we do send people to jail for this regularly.
Update - we used to host Z280 at the Unix-AG ftp server in Siegen, which is no longer online.

I uploaded a copy of Uzi280 release 1.12 from a backup to https://multicores.org/uzi280/
Make them pay the fines personally. They take credit and make big money when employees do the right thing, so let's make it a two way street. Once their net worth gets wiped, maybe they will get the message.
If only it was that easy!
Not my practice area, and I don't know all the facts. But if they sold printers and later disable those printers, it doesn't strike me as unreasonable to treat that as a fraud or swindle in violation of 18 U.S.C. § 1341, or as an unfair or deceptive trade practice under 15 U.S.C. § 45.

If this were anything other than tech - if, say, IKEA sold you a bed frame that disintegrated the moment you used a non-IKEA mattress or comforter - I don't think the government would be so blasé about it.

(EDIT: Perhaps less of a case if the printer merely won't work with those cartridges rather than actually being disabled.)
One example from the Soviets: https://en.wikipedia.org/wiki/And_you_are_lynching_Negroes
Looks like they're using LiFePO4 batteries, which would explain why the car is stupidly heavy.

Wait, they're using a DC motor. How old is this design? (Is it as old as the website design?)

I agree, I see no reason for this to exist. For 240 thousand dollars I would expect something that is top of the line. Maybe this was a good car 20 years ago but technology has moved on since then.
> For one thing, the initWithDependency: method ignores its argument!

Yes good, callout, I edited the code to fix this mistake

> Does the class even need to declare -init?

You are basically making my point. Its totally normal engineer's reaction to look to erase this boilerplate by removing the dependency injection, or using a singleton. Overtime, those decisions make the codebase worse. In Swift, you simply don't have to make this tradeoff.

> if your main complaint is just the number of lines of code, that's not particularly interesting

Verbosity alone is a major problem - why would it be a good idea to use a language which takes more time to read and write to accomplish your goal? It's a disadvantage.

Another issue is a lack of expressiveness and a dumber type system. Stuff like union types and optionals all allow you to express your system in a more airtight way. The lack of these features leads to, you guessed it, more boilerplate in ObjC.

Ultimately, noone is arguing that you should rewrite your existing ObjC in Swift - if your code exists and works, leave it alone. But the article is arguing that Objective C is a "better" language for writing iOS apps, which doesn't make any sense for all the reasons above.
You can't chain without parens.

# Does not work
"foo bar"
.split " "
.join " "

There was a proposal to introduce a "pipe" operator at one point which was shot down [0]. It wasn't actually a pipe operator at all and really just an operator that would have made the previous syntax possible (|>, instead of .)

[0] https://dev.to/baweaver/ruby-2-7-the-pipeline-operator-1b2d
Isn't figuring that out the point of investigating?
if they were informative and relevant the community would naturally upvote them, notwithstanding the manipulation efforts. the upvoting of some of the secondary comments on critical comments also seems pretty shady NGL
how about we build a robust social safety net so that stealing less than $1000 worth of stuff is not the best way to survive
Rust officially supports kernel >= 3.2, which is admittedly old enough to cover any real world usage scenario. That being said I wonder if someone tried to get a Rust program (or even better the compiler and toolchain) to run on an old 90s Slackware or something? That'd be an article I'd love to read.
HN as a whole is a very hackable hivemind if you can bare the opinions. Everything else is just news.
Windows will shrink its own partition as needed to create a recovery partition (type 0x27 in gdisk), which is just a NTFS partition.

It depends on it to boot when bitlocker encryption is on: \EFI\Microsoft\Boot\bootmgfw.efi => bootmgr.efi => boot.sdi IIRC

You can store other things in this 0x27 partition if you make it larger, like full ISO images like for Ubuntu Live: just place grubfmx64 in your \EFI partition, add it with efibootmgr and you can boot a baremetal Linux when WSL2 doesn't cut it.

Personally, I'm considering keeping a copy of the old bootloader and not updating the revocation DB as chainloading from bootmg to a Linux EKI with an entry when you press F8 could be a fun thing to add (I've read it could be done with Windows 7 and grub.efi but I have no experience with that)
Failing an audit doesn’t mean there is crime.

But it is like a smoke alarm going off. It doesn’t mean there is a fire but there could be.

This company is so big that it should have a mature infrastructure for this type of thing. It is quite strange and thus suspicious that it is running its business is a haphazard way that it can not be effectively audited.
I used Julia for a project back in 2016, and had the same adverse reaction to 1-based indexing. It's the same reason I have a hard time with Lua. Why? I suppose it's all rather superficial, but it's one of those things that just grates on me and I'll avoid it if I can. I'm not sure there's a logical explanation, but I've found the sentiment to be rather common among developers.
Micro.blog Reclaiming Usernames Policy
I believe that humans have not yet created any system more complicated than our own bodies. In turn, I think the same claim holds for our own brains too.

We are in for a series of revelations that will deeply alter the way we understand the microscopic intricacies that hold us upright and posting on internet forums.

Exciting things happening in the field!
Typically it’s against the law to file/maintain false business records, and to the extent that they raised money based on inflated financials that would typically be some sort of fraud
out of curiosity i checked my relatively recent windows 10 installation. i see 102 files ending in .com; 13 if filtered to unique files names. 12 in the windows folder, and 1 in a game folder. most of the windows folder ones are in System32m WinSXS, and SysWow64 subdirs, as well as some windows update subfolders. so it looks like mostly for win32 compatibility. i tried running system32/tree.com in powershell and it works fine
Will you let us subscribe to your newsbot? Feel free to put a delay on it so you don't get jumped.
> It won't boot Windows

You can sign the Windows bootmg efi files with your own keys if you want.
Isnt that a proof by direct example of what the author wanted to show ?
This really is no different to Instagram, but is even worse. The solution is not to replace Instagram or TikTok with another social network as clearly that doesn't work, but the real solution it is to delete your accounts and get off of these apps.

One does not stop and quit their alcohol addiction by drinking a different brand of alcohol. So the only solution is to delete your account and these apps.

Very simple, and it has always been possible [0]. So what is your excuse?

[0] https://www.bbc.co.uk/news/newsbeat-40654983
https://en.wikipedia.org/wiki/La_T%C3%A8ne_culture
Not just that, but ranges are inclusive on both ends.
Unfortunately in a country like Turkey, if Twitter doesn’t comply with the regime, the regime simply blocks Twitter for everyone in the country.

Erdogan meddles (with only partial success, hopefully) or Erdogan blocks? What’s worse?
An attempt at an easy-to-use dynamic language which tries to compile things early as much as possible via aggressive type inference (helped by the type system's design and multiple dispatch), so that you don't leave performance on the table where it's possible to have it, while also having the flexibility of dynamism where you need it.

That's my interpretation, I'd be curious what Julia folks who actually know what they're talking about think of it.
The responsible thing when you use `method_missing` is to define `respond_to` to indicate whether an object responds to a particular method. This alleviates the "is a method available" issue because you can just ask the object "Do you respond to :method_I_want_to_call?", and it will correctly inform you it does or does not. This kind of discoverability is one of the things I miss when I'm working in Javascript/TS as I have been recently - sure you can check the .method_name property to see if it's a function and then execute it but it doesn't feel as nice.

E.g.

def method_missing(name, \*args)
if name =~ /^has_/
has(name, *args)
end
super
end

def respond_to(name)
if name =~ /^has_/
return true
end
super
end
Ah the Law of Bigger Army Diplomacy
Honestly, having had my articles on the front page of HN a few times. It’s cool but doesn’t really change anything and honestly compared to other sources such as some Reddit subreddits it’s smaller and shorter.

But you do get a ton of back links so that makes for go SEO(?)
Using Go on GNU Emacs 29 or later
At the end of the day, dang decides what goes on HN, and all the voting and gaming is just advice how him and his software to consider. It's not a constitutional democracy.
The modern sense of the word "propaganda" emerged during the first World War to describe information deliberately disseminated to influence political opinion. I'm pretty sure that's still what people mean when they use the word.

Usage then and now also conveys a sense of purposeful distortion or fabrication.
Do you also understand the ripple effects of having a known zero day exploit open for a year? Lose/lose situation for the customers and their related networks, ie almost everyone in the world
If you rename a function, type checking will catch that you rename all usages of it (or fail). With a type system to catch this, you must rely on more complete unit tests to catch anything you forget.

Types do not remove the need for unit tests, but they relieve some pressure from them.
Not every control was 3D, but for example in the menus you had mouseover highlighting that would suggest that you can click the item. And if for some control it wasn’t mouseover highlighting, then it was a tooltip or a changing mouse pointer.
An influencer’s AI clone will be your girlfriend for $1 a minute
What would you do instead, if you were MS?
This kind of thinking is very old school. Its 2023 now.

1.GPT-4 and co are really, really good at python, and will write 90% of boilerplate for you. That makes a python dev way more productive than the Julia one. There is way, way less data on Julia, so the ceiling for AI assisted Julia is way lower.

2.Data science is not just running fancy statistical functions. Its also API calls to like 10 services. You can setup a PDF->OCR->GPT processed text->Send to vector database with a few API calls in python. There's a python package for everything, and everything put into one script.

3.Did you know everyone using stable diffusion (millions), has to install pytorch and like 50 packages in python? Now 95% will just use auto-installers. But the remainder 5%, will be exposed to python, and forced to learn it if they want to use AI art professionally (scripting) or do further development in it. When you see hordes of nerds desperately learning python to generate waifu pictures on google collab notebooks, you know a language will be dominant for decades to come.
TypeScript is 'not worth it' Svelte switches to JavaScript and JSDoc
> There are now 40 such TLDs: android, app, bank, chrome, dev, foo, gle, gmail, google, hangout, insurance, meet, page, play, search, youtube, esq, fly, eat, nexus, ing, meme, phd, prof, boo, dad, day, channel, hotmail, mov, zip, windows, skype, azure, office, bing, xbox, microsoft

Interesting how Google and M$ added their own TLDs (and a fairly large amount of them).

(Edit: .meme and .dad are also google, so it's all forgiven)
Spain has seen massive unregulated expansion of subtropical fruits like mango and avocado, irrigated by illegal wells [0]. This has been long in the making and warned about [1]

[0] https://www.freshfruitportal.com/news/2023/05/10/spain-over-...

[1] https://www.surinenglish.com/malaga/axarquia/malaga-environm...
> A modern Mercedes can’t even be tuned without special software.

And these trends are a tragedy, for all kinds of products not just computers and cars.

Sure, most people didn't care to repair their widget even in the 70s they just took it an applicable professional. Which is fine. But some people wanted for various reasons. Some of these people got so interested that it became their career and went on to great developments. Nearly every engineer can tell stories of tinkering with some products as a kid and it drove their career.

A lot of that is lost when products are un-tinkerable. Think of the generations growing up today for whom a computer is a hermetically sealed device from apple where they can't do anything but consume, tightly within the guardrails apple enforces. That's not bringing up a generation of computer tinkerers.
As did the gays consent to not marrying, or does “you consent if we voted for it” only apply when you like the vote?
I don't really think it's fair to say doomerism leads to inaction, I'm pretty sure inaction is the default state for 99.9% of people. Me for instance, I'm absolutely certain we're fucked but hey, if I hear that my government's getting serious I'll get serious too, but not a moment before because actually mitigating climate crisis at this point will take nothing short of fundamental revolution in our way of life.
Here's why I think this is a big problem for a lot of the things people want to build with LLMs: https://simonwillison.net/2023/Apr/14/worst-that-can-happen/

I suggest reading my blog closer if you think I'm trying to scare people off GPT. Take a look at these series of posts for example:

https://simonwillison.net/series/using-chatgpt/ - about constructive ways to use ChatGPT

https://simonwillison.net/series/llms-on-personal-devices/ - tracking the development of LLMs that can run on personal devices

See also these tags:

- llms: https://simonwillison.net/tags/llms/

- promptengineering: https://simonwillison.net/tags/promptengineering/

You've also seen a bunch of my content on Hacker News because I'm one of the only people writing about it - I'd very much like not to be!
In the 90's, the concern was teaching new users how to compute. Personal computers for the home were still relatively new, and many people were using them for the very first time. Everyone was concerned with usability.

In the 20's, the concern is onboarding users that already have devices and pay money to use software. We don't think as much about familiarity, teaching, etc.
If the privileged LLM cannot see the results of the quarantined LLM, doesn't it become nothing more than a message bus? Why is a LLM needed? Couldn't the privileged LLM compile its instructions into a static program?

To be useful, the privileged LLM should be able to receive typed results from the quarantined LLM that guarantee that there are no dangerous concepts, kind of like parameterized SQL queries.
Louis Rossman had a video about exactly this kind of attitude, and he persuaded me that it's not a good one.

https://www.youtube.com/watch?v=DN44n_F_CPo

Please do watch it.

His point is that this kind of horrible kind of practices corrupt and spread through industries so they need to be dealt with ASAP if you want to prevent it becoming standard.

Besides, you can't be savvy about all fields. Sure, you know about printers, but how many other facets of life you're NOT familiar with and you're duped in making choices that disadvantages you.
It's sad, because they did some cool things with SecureBoot on X64: you can install your own keys and sign your Linux payloads to prevent an evil maid attack using a default Windows thumbdrive signed with Microsoft keys

And I don't mean just the old/BlackLotus affected ones: you have full control of what you allow your system to run.

Compare that with BootGuard which doesn't let you patch your Bios, like you'd want to do to fix PE32 modules :(
> You have to go to extraordinary and extreme measures to break out of the basic choices that you are offered for which the profits all go to the same group of people

In this case we are talking about printers. There are literally dozens of printer makers.
Sir Humprey's 4-Stage strategy to respond to a crisis.

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

Stage 1: We say nothing is going to happen.

Stage 2: We say something may be about to happen, but we should do nothing about it.

Stage 3: We say maybe we should do something about it, but there's nothing we can do.

Stage 4: We say maybe there was something, but it's too late now.
Good question, I suppose if GC head (another set of fields) and reference counter are placed just before the locked page, it would.
Matlab that compiles to LLVM. It's fast, pretty easy to write, and surprisingly expressive.

It's also 1-indexed.

I just think it's neat, but it's never solved a meaningful problem for me. My data gets filtered and well-structured upstream of my analysis, so python+pandas is perfect. Visualization tools aren't better in Julia than JS or Python. Really crunchy simulations tend to be written in C or C++.
Matter Raspberry Pi GPIO Commander – Turn Your Pi into a Matter Lighting Device
From what I have read in the last years of how the CEO and the company in general operate I would not be surprised if there will be a criminal investigation. This isn't the first time Revolut has had issues.

[1] https://en.wikipedia.org/wiki/Revolut#Controversies
Agreed. There is no alternative to thinking. However a good collection of conventions, primitives & building blocks, can assist greatly in architecting a robust system.

We do test systems to the point of breakage. It is not something we skip just because the language is good.

As to existential risk:

I will try to be succinct. If there has been no exposure then there is no need to hedge.

Further, there are commercial firms which will maintain your critical systems. In other words, a long term maintenance contract for Elixir systems can be procured from more than one source.
Punishment should fit the crime. We don't over-punish people to force them to think differently, that has always led to dark periods in history.

There are plenty of low-friction ways consumers could be reimbursed plus the cost of lost time or energy spent on a now 'broken' printer if we wanted to solve this in a fair way.
> For every $2k that we raise, we’ll release another big torrent!

I’m worried that tying monetary benefits to the release of (others’) intellectual property won’t end up well for them.
> it's really solving the problems that hurt AI most

Isn't this a bit premature? Mojo doesn't tangibly exist for most people (we can't run it ourselves), and I am unaware of any ML/ AI applications built with Mojo.
Spoiler: headline is clickbait and article is a bunch of HN reader flattery, so naturally it gets upvoted. It is not a critical look at exploiting HN algorithm or audience, it just tells people what they want to hear on a lazy Saturday.
It's the narrow bit over Japan that is intended, but as it happens the orbit tracks closest to the most populated parts of Australia, on the coast. The central parts (tan on the map) are more or less unpopulated.
Larry Ellison, is that you?
> Boycotts can be immensely powerful, and strike fear into the hearts of those who would exploit us.

I cannot find a single example of a successful boycott in my lifetime. Can you?
Yeah, but it's easier to complain about a different region's government.
> presumably if you ask it to execute that same code for a input example you provide, it will.

GPT-4 is run sandboxed, without the ability to execute code.

The only way it can execute code is by attempting to simulate the algorithms, from its understanding of the provided code, during its inference pass. So it does that when it can, oftentimes with mistakes because it doesn't have actual access to working memory other than through tokens that it outputs.