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 6y ago · link · parent

Clients are never clear. They don't know what they want, need or how to express it.

I consider it my job to work with them until it becomes clear. I bill them for that.

If the project fails because of lack lf clairity, it's my fault.

comment 6y ago · link · parent

Without knowing what they have access to, it's hard to tell.

If it's a third party API key with special priviledged that they hacked, the potential harm is limited.

If they have access to the full system, they could be sending millions of ghost messages to some part of the population right now to get them to do something while we all watch the BTC show:

- scam them

- get them infected to gather a massive bot net

- make them very angry and start some kind of civil unrest in a specific part of the world

- cover a currently happening terrible event somewhere so that we don't learn about it too soon because twitter is the faster medium for that

At this point I realize how critical twitter has became to shape the way we view the world, and govs should worry a lot that this can be happening and act on it quickly.

comment 6y ago · link · parent

We had a decentralized system before. It was called the mainstream medias.

But they lost so much trust from the public that now we turn to social medias.

comment 6y ago · link · parent

Or just post some white nationalist call for arm. The US is ripe for a blood bath right now.

comment 6y ago · link · parent

Same for sleeping, healthy eating habits or socializing.

I think it's not the benefits we get from doing it that are amazing. I believe it's because we are supposed to normally feel great most of the time, but NOT doing those things that should be part of a regular human life is having terrible effects on us.

If suddenly we do right by our body, it functions correctly, and the relative difference is so huge we perceive that big gap as a fantastic gain.

Like when a head/stomach ache goes away, or when you finally have time to rest after a hard week, and you suddently feel so fresh. But that impression is what should be normal.

comment 6y ago · link · parent

Given how huge this hack is, and how little the BTC reward is going to be, I'm tempting to think this is either:

- a test of a new hacking system

- a demonstration to a big client

- a first shot to threat some entity

- a diversion while they get the real loot

And that the BTC messages are just a way to justify it so it looks like a simple scam.

Such a hack is worth way, WAY more than the few BTC it could bring.

comment 6y ago · link · parent

Ruby does this and I hate it. It makes it very hard to quickly parse code: you have to ponder every line to identify what is what.

Parenthesis makes very clear what context you are in.

comment 6y ago · link · parent

Just did the Tour du Mont Blanc (8 days of mountain hiking) with the oura 2 in plane mode. It recorded everything.

I misplaced it in the washing machine twice and it still works as brand new.

Besides the proprietary aspect of the platform and false positive reporting sleeping while not, I have only good things to say about mine.

Nifty little device.

comment 6y ago · link · parent

Widgets are declarative, like in HTML, the nesting is additional information. With callback hell, you nest logic, and actually obfusc information about the control flow.

comment 6y ago · link · parent

Op state they have a broken leg, you say they should be happy not to have cancer.

comment 6y ago · link · parent

Well, nsa mass surveillance and legalized torture were never repelled by any side.

In fact, the patriot act has been prolongued 5 times, no matter the administration, and is still in effect.

As a european, I don't see any party that actually have american people's interest in mind.

Fighting for either seems so futile from here.

Of course, we have similar problems as well so I'm not going to pretend I have a solution.

comment 6y ago · link · parent

So intentional deception.

comment 6y ago · link · parent

A cashless society is another debate entirely. I do think it's a dictator dream and the best way to kill diversity and innovative social behavior.

But the matter here is card vs phone. Your card do spy on you, but it doesn't have your contact, a microphone, the history of where you have been, etc.

You can easily give your card away to a friend for the day. Your card doesn't need an update. It's not connected to internet all the time. It won't die if it falls, if it rains or of it's too hot. You can have a replacement easily as well.

It's also way more accessible. My grandma can use it. A blind man can. They all work the same way.

A phone is only a good card alternative when every thing goes right. But I value resilience in my paiement system.

comment 6y ago · link · parent

Why do you think cmd line tools are popular ? Because they are easier to do than a GUI, not because all geeks think the terminal is the only xp that matters.

comment 6y ago · link · parent

Yes but you need your phone on you to pay at the shop right ?

So no batterie, money ? No network, no money ? Phone stolen, no money ? Phone broken, no money ?

What if I don't want to have a spying hardware on me at all time ?

comment 6y ago · link · parent

Yes but concentrating that many things on your phone is not the solution. It causes different problems.

comment 6y ago · link · parent

Manual security = no security

comment 6y ago · link · parent

Besides, I know they want to turn the browser into an os, but it's not one.

It's sandboxed from the os and limited to some use cases, which is the point. I don't want something capable of hot loading code from any web site to have the capabilities of my OS.

comment 6y ago · link · parent

About:profiles is what you are looking for.

comment 6y ago · link · parent

Well, google cannot yet take you to torture camps.

Govs have done that many times, and they still do.

comment 6y ago · link · parent

I am all for breaking google, but then you also have apple (app store monopoly), amazon (delivery monopoly), facebook (personal data collection), microsoft (total grip on public contracts)... Not to mention non virtual companies. Are American ready to break Walmart? Cause given their lobbying capability, they are more dangerous than google for democracy.

The sudden focus on google is a bit weird, given how non internet companies have been doing their thing in total impunity for decades. Not saying we should not do it, but it would be sane to also ponder if we are being influenced in doing so, and why.

comment 6y ago · link · parent

Still the case.

The features is no used enought, people don't know about it, and because of that, there is no pressure to improve it.

E.G: the "forget this site" button will remove all cookies, local storage, cache, etc. for one site. Very handy, because I don't want to bust my entire cache every time. But it will remove them for all containers, which sometimes is not what you need.

comment 6y ago · link · parent

There is really no reason to get mad at that, if they want it in the final history, you can always edit it out with rebase when merging on stable.

But I don't see how it hurts.

comment 6y ago · link · parent

We are used to put what we have done in git messages. But for WIP commits, it makes sense to also put what to do next. This way git log is your journal.

comment 6y ago · link · parent

I don't know, wouldn't dumping the data into a db easier? If it fits on sqlite, you already have a solution in most languages to this problem.

Technically you would be using a btree, but a higher level interface, like with a fs or hashmap. Which is kinda my point.

I dont say it's not a good DS, but having it in all languages stdlib seems overkill given the tool we have today.

I'm a python guy, and even without panda it has the heapq module which is a b-tree, yet I never really got a reason to use it.

comment 6y ago · link · parent

On one hand, as a trainer, I hate remote sessions. They are a pitiful mascarade of the real thing. On the other hand, there are many things in education that can be done without the teacher. Besides many (many, many...) teachers are worse in person than in a youtube video, because they are bad in the first place, and at least the format give you convinience and choice.

comment 6y ago · link · parent

Don't have a link at hand, but main reasons out of my head:

- exploits for breaking out of the container are easier to pull off if you have root access

- if the image has a system python, installing with sudo will install things in the system site-packages directory, which can cause a lot of troubles

comment 6y ago · link · parent

I use Firefox for the same reason, especially that, thanks to tab containers, I can be logged in in one tab and out in another.

Linking your browser login to online services is incredibly invasive.

comment 6y ago · link · parent

I get the point, but I rarely find myself in the case I even need an _ordered_ hash map. Despite the fact my language provide one by default.

I can't remember one time in the last decade where I was in need of a _sorted_ hash map.

And if it ever happen I can easily depend install one.

I'm unsure of having something even more general like a b+tree would help.

It's possible that, because I'm not use to have them handy, I don't think about them when I encounter a problem for which they would be perfect.

But I never felt like I missed them.

Can you give me a few examples of problems you them for in the past year?

Was that with a high or low level language?

comment 6y ago · link · parent

I can think of 3 main use cases for them:

- databases

- file systems

- hash maps

The first 2 are not something you code everyday, so if you go for that, installing a dep doing it is not a problem.

The last is usually included in all languages.

Why would you need them available in all languages for?

1
154155156
184