Better HN
topnewbestaskshowjobs
Log inSign up

BiteCode_dev

24,628 karma · joined Oct 21, 2019 (7y ago) · 5,512 submissions

I write to save you time and effort when dealing with Python:

https://www.bitecode.dev/

Email: contact at bitecode.dev

Submissions

comment 2y ago · link · parent

I still don't get how my substack newsletter got such a success but the RSS got so little love.

It's less clutter. No string attached. Formatting is better.

And yet.

comment 2y ago · link · parent

It's Python-like, but it compiles, so you get a stand alone exec like go, that you can copy on other machines without having to provide an interpretter.

It's better than bash for anything longer than 5 lines, works on Windows and Unix and has a lean syntax.

Now I would use Python for scripting, especially since uv and hatch have inline deps support now, so it's a blast.

But OP is looking for something new, so I list things he may enjoy learning, in a context that would make it enjoyable to learn.

comment 2y ago · link · parent

Of course it does.

Right now FF shares are so low devs are ignoring it.

If more browsers use this engine, more devs will test with it.

Also, if it reaches success, it make FF future more robust, which also helps with future diversity.

comment 2y ago · link · parent

I've been wanting split view in FF for a long time, so I'm going to try this right now

And I know somebody, somewhere, is going to argue that it should be the job of the desktop.

I disagree.

I don't want to have to create each context I want things to exist in, and manipulate that carefully.

I like automatic context. That's why I like tabs in my browser and not a thousand windows. And that's why I enjoy my split views to be inside the tabs I just created.

comment 2y ago · link · parent

I read it the opposite way:

- I feel more passion from the author.

- I value the pride they show in their work.

- I know many people actually care about beauty. In fact, with the same amount of bugs, the users of the most beautiful software will actually report it's less buggy.

The problem is when someone makes appearances more important than being useful.

But I want to give this project the benefit of the doubt.

We need more browser diversity.

comment 2y ago · link · parent

This list is not meant to say "this is the best language for this", but rather, "you'll have an interesting learning experience with this":

- web backend => ruby (with RoR)

- web frontend => JS

- network => go

- gui => dart

- perf sensitive => rust

- mac os only => swift

- windows only => F#

- cli scripting => nim

- embed => zig

- new perspective on programming => lisp

- want to experience clean theoretical concept => haskell

- need super reliable service => erlang

- lots of data processing => julia

- lots of number exploration => j

- video game => C# (with unity)

And I say this as someone who would likely use Python for 80% of those.

757.

Ask HN: Do You Use JSON-LD, Schema or Open Graph?

1 points · by BiteCode_dev · 2y ago · 2 comments

comment 2y ago · link · parent

The article talks about JSON-LD, but there is also shema.org and open graph.

What which one should you use, and why?

Should you use several? How does that impact the site?

comment 2y ago · link · parent

*by the very same companies that made bank from the web openness.

comment 2y ago · link · parent

Since 2004:

- They sent 4 rovers to Mars, a freaking helicopter, and confirmed water presence.

- They launched 2 telescopes, with Webb forcing us to rethink our model of the universe.

- They made New Horizons do a flyby... of Pluto.

- And they collected samples from the near-Earth asteroid Bennu!

If that's not the demonstration of anything but drastically high competence to you, nothing is.

At this stage, I have to believe you are a troll.

comment 2y ago · link · parent

It's like people expect NASA to be infallible.

comment 2y ago · link · parent

Just like the hundred of previous similar events, they will not.

comment 2y ago · link · parent

Everybody wants a benevolent dictator to take care of things for them until they are victims of power abuse for an edge case they didn't predict yet was inevitable.

comment 2y ago · link · parent

It's not about right or left, the biggest populists in the 90's were labeling themselves as communists or socialists.

comment 2y ago · link · parent

Yeah but he got a _decade_ of _world-wide_ man chase and legal arm wrestling.

That's 2 orders of magnitude up the resources invested.

And not even for stealing in the case of Mega, but for assumed money people would have paid to IP owners if the service hadn't existed. Which is a premise pirates have been debunking for years.

When I used mega, I didn't have the money for the content. Today I pay for netflix and steam games.

This is not about justice, this is about power.

comment 2y ago · link · parent

Getting in the way of powerful people getting more power is always punished more harshly than anything else, including murder.

In this case, he annoyed powerful IP owners, and those people in our current society are as powerful as they get.

comment 2y ago · link · parent

First, you don't have to follow hype, but listening to it is how you know where your ecosystem is heading.

Second, there is way more to an ecosystem that hype. Api, compat, deprecation, new features...

If you never created an web api and have to do it now, you still have to make a choice, hype or not. This choice will have very different consequences if you know only about flask and drf, if you heard of fastapi, or if you get told about django-ninja.

It's the same for every single task.

And even without new things, just learning the old ones is work. In python you can encounter -o ir PYTHONBREAKPOINT, be put on a project with one of 10 packaging systems, have to deal with pth files, etc.

And it's the same for all langages. It's a lot of work.

comment 2y ago · link · parent

Depends on your bubble. AI circuls have huge churn.

And I'm an advocate of not chasing new shiny toy, but it's also a problem when after so many years people don't know -m exist or stick to setup.py.

In fact, I'm willing to bet half of HN can code in Python, yet can't tell the difference between setup.py, setup.cfg and pyproject.toml.

That's part of the things the ecosystem dumps on you.

comment 2y ago · link · parent

Are you this web site director?

comment 2y ago · link · parent

Equating existential pondering with mental illness is a dangerous slippery slope.

comment 2y ago · link · parent

There is a middle ground.

Not getting ruff, uv, django-ninja or diskcache would be just plain waste of productivity and ease of life for me.

comment 2y ago · link · parent

I asked for direct quotes, but got turned down with general corp speak.

comment 2y ago · link · parent

Warehouse 13 is closer to a goofy comedy though. SCP is very much horror based.

W13 had so much to love, but something was missing to make it stick.

comment 2y ago · link · parent

I don't understand.

It is a sequel.

You don't remember the first book?

comment 2y ago · link · parent

Mormonism is not hard to change, it takes 5 minutes to install, all the hardware is supported, and I never had any problem with it. Plus I lost weight.

comment 2y ago · link · parent

And then you have the ever changing ecosystem, that can take years so sort out on it's own and must be constantly studied.

E.G: if you arrive in Python right now, numpy is in version 2 and polars is stable. uv is all the rage, pydantic gained so much perf it's not even funny, toml is part of the stdlib and textual is looking very good. Type hints are much better than 2 years ago, htmx is used a lot in the web department, fasthtml is having a moment in the light and pyscript got a platform. Is any of those information worth acting on? Should you ignore them all for the sake of productivity? Should you carefully evaluate each proposition?

Now if you have to do that with rust and erlang as well, it's a lot of time you could spend on coding instead.

comment 2y ago · link · parent

Can confirm, lived exactly that situation.

I think you can generalize it about any information that would shatter your identity.

It's the reason some people will tell you Arch Linux worked perfectly on their machine despite having plenty of problems.

The reason why people adopting a religion, a diet or new sexuality will probably not tell you if they are unhappy about the consequences.

Graham did say we should keep our identity small: https://paulgraham.com/identity.html

comment 2y ago · link · parent

7 seconds is a nightmare, barely just enough time to suffer in a loop.

comment 2y ago · link · parent

I know right?

Then you start wondering if you, or anybody, have forgotten anything so important that it would shatter your world.

And would you ever know? Is there any way to ever know?

What if the past changes as much as the future?

What if that's the Mandela effect?

comment 2y ago · link · parent

May I suggest some to start with?

Scp stories quality and style vary a lot and there are a lot of them. I would suggest:

- SCP-096

- SCP-3008

- SCP-294

- SCP-4666

To warm you up.

1
252627
184