HNHacker News
TopNewBestAskShowJobs

balp

53 karma · joined October 25, 2017

[ my public key: https://keybase.io/balp; my proof: https://keybase.io/balp/sigs/xAJqeYIZHCAf5sab9etbgNaeFo_csQI4-bvQZ0ecDt0 ]
submissionscomments
balp··on Restore full BambuNetwork support for Bambu Lab printers
For me, I want to use orca for slicing there are many more additions to the local code. As both orca and Bambo are from the same open source, the current limitation in the Bambo version is breaking the licensing of the application, and my rights in that software are broken by this addition. Then, during the print, I'm really happy to use the handy app to monitor the progress. This use case was supported when I got the hardware. Now I have to disable the app to get the slicer. I actually like to use both slicers to compare and see progress. They are also terrible at software licensing, don't understand what open source is, and they found their main software on that. They probably should embrace the orca community and use their research for their own customers. Better slicing helps everyone.
balp··on Chat is a bad UI pattern for development tools
As a senior dev, when pairing with junious I get a more skilled team. Then I can continue to give new teams the skill and we all grow as people and companies.
balp··on OpenPlotter
On commercial vessels, the colors have to follow the Solars standards. To make sure there are no misunderstandings in the charts. Many, software for no-comersical ships have much more fancy displays in random colors. Including 3d views of your route with sonar overlays. Satellite maps, but the clarity of the standard colors, or colors close to them as used by are much clearer in my view. For an overview of what Navionics, Garmin's chart brand, gives (https://www.navionics.com/fin/charts/features/garmin).
balp··on OpenPlotter
All commercial plotters have autorouting. There is automatic wind routing for sailing in OpenCPN (as a plugin). I'm not sure that adding it to a phone with carplay is a viable option. If you have a display to show it on, it's probably a display for a plotter with all the functionality, including map updates over the internet.

Thou for entertainment it's an other side, that would be useful.

balp··on OpenPlotter
It's an international standard so all professionals that read the maps never have to guess what the colors mean. In commercial vessels, you need to follow the Solas standards. This also means that you need certified hardware and software for the chart plotters.
balp··on Apple announces changes to iOS, Safari, and the App Store in the European Union
There is no mandatory government registration of non-profits in Sweden. You can get a like a tradename protection by registering like a company name. Suppose you would like to start a non-profit or any other organization. You need a yearly meeting to take the signed protocol to your local bank if you need an account.

If you like to have an organizationalnumber, you need to apply to the tax authority. If you do business activity and like a local name protection you need to apply to bolagsverket. Depending on the size of the app these steps might be helpful. I don't think our local chapter of FSF, has done any of the registrations just as an example. They run local conferences and other simular works.

balp··on The Big DevOps Misunderstanding
If you try that you totally broken the DevOps idea, but now the whole world of ops and IT did that ages ago as anything that is configured in code, e.g. yaml, is devops.

The article suggests using a higher level abstraction with better tools suited for the developers than the low level tools as docker, Kubernetes etc. You can make this into a separate internal product and still keep the devops idea. But as soon you break out any of the core responsibilities for the product from the team. If that's business, security, stability or quality you are moving away from devops. Sure devops isn't the solution to all problems. But why call it devops when one doesn't like the basic devops idea.

balp··on Stockholm parents built their own school app, then the city called the cops
They for sure intended to make an API, but also intended it only to be used between the two contractors involved in the application development. There was a requirement in the RFQ for the backend to have a well documented API. Almost all of the RFQ was about making an API. In this case the indended user e.g. the parrent is using the API to get the data they are supposed to get. Thou using a different webb-app than the intended one from the city. I have a hard time seeing how the parent by accessing the same data they are supposed to get are doing any crime. The police investigation came to the same comclusion, and the internal investigation at stockholm city also came to this comclusion. That the police cited stockholms internal investigations i think is a nice little detail here. Thou if the app would have given the parents access to data they ware not supposed to get over the API they situations might been an other. Now it's just the same information but persented in a user-friendlier way.
balp··on Agile at 20: The Failed Rebellion
Agile and Scrum isn't the same thing. Even if Scrum in someways are agile. The "original" agile process, or the first videspread variant XP didn't mention any dailies. Scrum as such is much a way to adopt XP into a large cooperate environment.
balp··on Will Linux phones stay around this time?
You can write most of your app in any language, it's only some UI and startup code that needs to be in the javalike languages.
balp··on Git: Malicious repositories can execute remote code while cloning
Or that the opensource hobby is much more longlived that something as temporary as an employer.
balp··on Why is it so hard to see code from 5 minutes ago?
I try to rememberf my local history view in the editor, it sometimes give a better overview.
balp··on OpenStreetMap proven to be a highly accurate map in top US cities
Yes, more TomTom that openstreetmap, that was clearly show by the dataquality. Much less walk and vike information. If you don't drive a car all my sampling say OSM is way better.
balp··on We Love GPLv3, but Are Switching License to Apache 2.0
The "tivoisation clause" also in many cases makes it against the law to use GPLv3 software in some consumer products, or parts of the products. For example much embedded software that comes under radio transmission laws, much software in safety critical applications such as rail, or automotive use, software that have environmental impact at leat in the automotive industry. At leat in the way that automotive legislator reads the laws at the moment.
balp··on Hackers Can Clone Millions of Toyota, Hyundai, and Kia Keys
ECU is usually an Electronic Control Unit. Some OME's name one of there ECU's, Engine Control Unit to make stuff more complex. Not app manufacturers have Engine Control Unit or a Body Control Module. The electronic architecture of a Volkwagen, GM, Volvo or Tesla is very different. Hardly any of the ECU's have the same name.

It looks like Wikipedia agrees with me and in addition, the Engine Control Unit article state that they are usually called the Engine Control Module (ECM) to lower confusion. https://en.wikipedia.org/wiki/Electronic_control_unit https://en.wikipedia.org/wiki/Engine_control_unit

Different OEMs vary in architecture and naming. Making it a bit of a hassle working in a teir-1 with multiple customers.

balp··on Ask HN: What is the most beautiful piece of code you've ever read?
That got my unix account suspended at university....
balp··on Ask HN: What is the most beautiful piece of code you've ever read?
For me: smr from 1995 ioccc, http://www.ioccc.org/1994/smr.hint
balp··on New Swiss studies claim 5G increases body temperature of insects
Microwave oven is about 2.45 GHz, and I agree it's not optimal for heating water. But the middle of the free 2.4GHz to 2.5GHz band.
balp··on New Swiss studies claim 5G increases body temperature of insects
Not really, there always is and been some kind of separations between the phones when they send data.

Most 2G systems used TDMA, so the phones inside a cell spitted the time between them. e.g. one phone could send almost all the time but 10 phones sent 1/10:th of the time each.

3G and laster used WCDMA (as some US system used even in 2G) for the radio. Where encryption of the data over a wide frequency span makes the signals mix in the air. But at the same time lowering the needed effect to get the signal across. With WCDMA you can send on an effect below the background noise and still get the signal across.

Lowering the effect of the radio is a big goal as it drains battery to send radio signals. An effect you can see it you travels in areas with bad receptions your phone battery drains significantly quicker. The best way to lower the radio exposure is to have loots of radio towers close to people. The alarmists scaring for cell-networks have made some problems in building enough towers, and by there fear of cell-radio transmission they increase the energy transmitted by the phones in there area.

balp··on New Swiss studies claim 5G increases body temperature of insects
Most, almost all animals are mostly water. About 2GHz you have a frequency that resonates with water, it's gets stopped by water, including rain. E.g. it's energy goes into the water, this is how the microwave operates.

For this reason it's traditionally considers useless as radio transmission. And turned into a global free frequency span. Making this radio space used by all kinds of devices that you have at home. Wifi, Bluetooth, etc. There is tons of research of how radio and other waves effect the human body.

balp··on Give Me Back My Monolith
To handle deploys and especially rollbacks you need a working CI, or rather CD chain. Where eveything is automated. In there are dependencied in your architecture, all of that needs to be part of the same deploy so you can redo the deploy before that one. With a monolith, you get a simple deploy of all dependencies, as they are baked into one thing. There are down sides of everything baked into one thing. Having all your "micoro" servies deplyed as one package, would make the dependency you have act as before the monolith change. Seeing this kinds of dependency imho even in a monolith are an architechture problem, that in the monolith shows up at code changed and fixes can't be handles by localized fixes, but changed have to go into large parts of the code base.
balp··on How I'm still not using GUIs in 2019: A guide to the terminal
Change working directory seans like the most stupid idea i ever heard... That would make:

  vim module/code.cpp
  :make
Not use the build system on the top level...
balp··on How I'm still not using GUIs in 2019: A guide to the terminal
For CSS i find a text editor and two browsers live showing the changes to be most efficient. I have one or more live real browsers even with a IDE environment.
balp··on OpenCV 4.0
Going out on the C++ support side, embedded have to bad C++ support, for many bad reasons.

People tend to think C++ have much higher runtime needs that C, but used right it's usually lower, specially if you use C++-11 or even C++14. There compilers can make smart stuff that allows you to do much more in compile time and gains much in runtime. There is a few nice talks about this at CppCon including Michel Caisse.

Imho the main reason is that embedded hardware chip vendors have two goals that kinda makes only supporting old C, e.g. pre c99 viable.

1) They get money on there own, or a partners toolchain, that isn't evolving as alternatives, keeping up with standards are hard.

2) They optimize the time for code to first boot time. The demo factor, not how the products work in CI/CD chain, the preformance of the code on the final product. How easy it is to get started in the sales meeting is more important.

balp··on Wikimedia warns EU copyright reform threatens the ‘vibrant free web’
Kinda hard like the lawers are still after years trying to figure out the issue between Oracle and Google, Apple and Samsung... It's a really hard legal issue, expecting it to be easy for a computer to solve. It's naive.
balp··on Wikimedia warns EU copyright reform threatens the ‘vibrant free web’
Amanda Palmer, does ahve a big point in her reformulating of the Question.

It's not how do we make people pay for it, how do we let people pay for it.

People want to pay for content, the current systems don't let people pay for it.

balp··on Former Tesla Firmware Engineer Discusses the System
Updating the software of node are usually in the automotive industry only allowed by trained technicians. Allowing the updates to be done without turning in the car so a shop is the big difference. Software update in is complex and hard and error prone, for quirks like the bosh stuff here. Many of the big players see it as almost impossible to try to do as Tesla and have it done at the users home.
balp··on Former Tesla Firmware Engineer Discusses the System
Yes, thata one of the RTOS thing, but almost always, when trying to build this down into what these timing limits are, they are kinda arbitrary, gut feeling put into a number. There are exceptions, yes, usally these exceptions as well are only for a limity subpart of the system. So for this using RTOS for everything is as stupid as not using RTOS, (or possibly even puting these parts into hardware, ASIC of FPGA) for these small subsystems. These timing used, also is mostly up to scheduler and Linux is possible to run with a scheduler that gives it similar capabilities ans most RTOS systems. It's a blury grey area at best.
balp··on Former Tesla Firmware Engineer Discusses the System
Usually this boils down to the ASIL-D RTOS systems are much smaller, e.g. much simpler to verify, leaving the developers of the systems above with much more job to verify there parts.

Also in my experience it might have been easier to reach the ASIL-D requirements, using a smarter combination of a Limiter on RTOS and using more generic code on something like linux for more of the code. This probably also would end up in more used and tested applications reaching more stability. (That's is partly outside ASIL-D).

Functional safety and ISO-26262 is much misunderstood in automotive development and architecture.

Also imho the certifications, well with out the safety case are kind of useless. You still have to make the assessment how you will find the problems with it in your use case. That might ever so slightly differ from what they certified. The automotive industry thou loves to have someone else to blame, e.g. the supplier of the RTOS, Compiler etc. Using Linux makes the blame game hard.

balp··on Project Gutenberg blocks access from Germany
> If you're in a country where child pornography is legal, should all other countries just accept it?

No, they could try to convince the country to change it laws. Maybe if they think the issue is important enough blockade the country. Maybe even with help of other countries that have the same idea about the problem. But they can't prosecute a citizen of that country for doing anything legal in that country. It's possible to try to change the other countries laws using diplomacy.

Page 1 of 2Next →