Better HN
topnewbestaskshowjobs
Log inSign up

devnull3

819 karma · joined Aug 2, 2021 (5y ago) · 273 submissions

Submissions

comment 3y ago · link · parent

I had a look at https://racket-lang.org. Where we can download this build? [1]

[1] Assuming that the merge has happened since the announcement was on Oct 16

comment 3y ago · link · parent

Yeah, I never understood why the lane markings are not above the head and in advance instead of on the road.

> drivers unfamiliar with the layout People familiar with the layout drive even when the markings are completely faded. It causes lot of anxiety if you are not familiar. It happened to me once where I was in a wrong lane. I continued on it as it was the most safest thing to do but the next exit was onto a motorway :). I was so angry with myself.

comment 3y ago · link · parent

Driving schools in UK teach that changing lanes on a roundabout is unsafe. Infact, in a driving test doing so will result into a failure because most people will not follow safety checks and signalling.

If you are in a wrong lane, the safest thing is to continue on it, exit the roundabout and comeback again or go around the roundabout.

comment 3y ago · link · parent

There is a sign board which tells whether to take the middle road or left [1]

This is the round-about layout [2]

None of the above tell the precise lane to take. Only when you enter the roundabout you will know. See.[3]. Imagine cars waiting on these markings. This is what frustrates me the most.

[1] https://www.google.com/maps/@51.5066257,-0.5789164,3a,75y,32...

[2] https://www.google.com/maps/@51.506316,-0.5784722,3a,37.5y,2...

[3] https://www.google.com/maps/@51.5076664,-0.5804344,3a,75y,29...

comment 3y ago · link · parent

Simple roundabouts are definitely good but in UK I have found spiral roundabouts error prone if you have not driven on it before Example: [1]

When visiting for the first time on a specific spiral roundabout:

1. Lane markings are faded

2. You do not know the specific lane unless you come very close to it and have to make a quick decision

3. Often due to queued traffic you cannot even see the lane marking until its too late.

Because of this I have seen people change lanes on a roundabout because they made a mistake and its dangerous.

[1] https://www.google.com/maps/place/Sainsbury's/@51.5080462,-0...

comment 3y ago · link · parent

This will impact the driving tests as well. A typical practical driving test lasts for 35-40 min. But with 20mph it will cover less distance. Interesting to see how the DVSA (the body which conducts these tests) handle this.

Increasing test duration means the backlog (which is already huge) will increase. Keeping same will mean less road features will be tested.

comment 3y ago · link · parent

For me the way manual gears are calibrated at present, it is difficult to maintain speed at 20mph. It is very easy to overshoot compared to 30mph.

comment 3y ago · link · parent

yeah. The snapshot of Java in my head still needs main() to be defined in a class.

comment 3y ago · link · parent

A lot of it is to do with abstraction and reusability. E.g A third party lib uses hashmap for implementation but for my use-case an array would have suffice (like small number of integers over specific range). Since the 3rd party lib is essentially an implementation for union of many scenarios whereas I need only a specific set of it. This results into inevitable bloat.

The flip side is that you write all of the layers of your software and control the bloat. This now becomes an expensive option.

comment 3y ago · link · parent

I think Fabrice is what is known as 10x engineer. They do exist.

There is not only depth but also breadth in the projects he has created.

comment 3y ago · link · parent

Govt minister has rejected this as a rumour [1]

[1] https://www.livemint.com/politics/india-vs-bharat-row-govt-r...

comment 3y ago · link · parent

lol ... it seems it is same as forgetting password of your password manager.

Frequent usage helps to retain the memory. Also, in my case my wife uses it so its two people remembering instead of one.

comment 3y ago · link · parent

Do not write your real password. Instead modify it in certain way which is easy to remember:

E.g real password is "xB6fqmd$a90". Apply algo: swap 2nd and last char. So store it as: "x06fqmd$a9B"

This algo should be easy to remember and there infinite ways to come up with your own algo.

Even if your passwords are exposed there is additional protection.

In other words you have your own simple symetric encryption with algo being the secret.

comment 3y ago · link · parent

Writing code is just one part of the overall list of things that an engineer does. Infact, barring the early versions of product/project more time is spent elsewhere in subsequent versions. With code it is more reading than writing new code. Other things on which time is spent are:

1. What needs to be built? What is feasible?

2. Investigations (bug reports, production issues, performance issues, etc)

3. Quality control (code reviews, writing tests)

I am only listing things which require considerable thinking and multi-domain skills. So LLMs (as of now) really only helps with one part of overall things to do.

Also, Rate of code generation with AI >> Rate of effective code review. So the bottlenecks will still be humans.

PS: About quality control: I think AI writing code and generating the test code is not desirable. If the underlying LLM has issues even the test code will have issues. Generating boilerplate is one thing but the key things about the tests (i.e. inputs/scenario & things to check) needs much better curation. This needs human intervention.

comment 3y ago · link · parent

As a big fan of UPI, I have a concern if people became too much dependent on it. What happens when there is a power outage for extended period of time (due to war, natural calamity, grid failure, etc)?

Most shops in India do not have backup power provisioned.

comment 3y ago · link · parent

I see productivity gains in software development but no full replacement (yet). Writing code is just one part of the overall list of things that an engineer does. Infact, barring the early versions of product/project more time is spent elsewhere in subsequent versions. With code it is more reading than writing new code. Other things on which time is spent are:

1. What needs to be built? What is feasible?

2. Investigations (bug reports, production issues, performance issues, etc)

3. Quality control (code reviews, writing tests)

I am only listing things which require considerable thinking and multi-domain skills. So LLMs (as of now) really only helps with one part of overall things to do.

Edit: Also, Rate of code generation with AI >> Rate of effective code review. So the bottlenecks will still be humans.

PS: About quality control: I think AI writing code and generating the test code is not desirable. If the underlying LLM has issues even the test code will have issues. Generating boilerplate is one thing but the key things about the tests (i.e. inputs/scenario & things to check) needs much better curation. This needs human intervention.

comment 3y ago · link · parent

I tried:

Question/Task: Write a lock implementation in Rust

I got this (lol):

    use std::sync::Mutex;

    struct Lock {
        mutex: Mutex<()>,
    }

    impl Lock {
        fn new() -> Lock {
            Lock {
                 mutex: Mutex::new(()),
            }
        }

        fn lock(&self) -> MutexGuard<()> {
            self.mutex.lock().unwrap()
        }

        fn unlock(&self) {
            self.mutex.unlock();
        }
    }

comment 3y ago · link · parent

Meta has ~$40B as Cash-on-Hand [1]. Why does it need to raise this money via bonds?

[1] https://companiesmarketcap.com/meta-platforms/cash-on-hand

comment 3y ago · link · parent

I will add two more:

1. Your team is not your family. I have worked in environments where such characterizations exist.

2. When there is a conflict between teams the boss says "Guys we all are one team". No we are not. I understand to be co-operative & understanding but there is a limit to which a team is supposed to cover for incompetance or intransigence of other teams. The bosses in this case simply do not want to have hard conversations with their peers and to the management above. They just push down to ppl below to "resolve-the-problem-somehow".

comment 3y ago · link · parent

Highly recommend videos from Anuja Kamat:

What is Raag? => https://www.youtube.com/watch?v=CBtFt3HUkT0

Concept of 'Swara'- Hindustani, Carnatic and Western theory of swara => https://www.youtube.com/watch?v=J-nUTYRyuqk

(the entire video series has a nice, casual way of explaining things. Grab a coffee and enjoy)

comment 3y ago · link · parent

> Prashanth Abd al-Rahman (SO CEO)

The name is Prashanth Chandrasekar or am I missing something?

comment 3y ago · link · parent

> Astound your friends! Confuse your enemies!

... more like your friends will curse you and your enemies will watch with glee that you are using C++

comment 3y ago · link · parent

The block device may not be physical one. Instead it could be software like NBD. So there is really no way of knowing unless you know what exactly you are writing into, which actually breaks the abstraction.

comment 3y ago · link · parent

I tried "Trump" and "Biden" out came the answer = "indifference" :)

comment 3y ago · link · parent

> The primary beneficiaries of those low-cost services seem to be the upper deciles

Not necessary. For example, NHS is used by a large cross-section of the society. Another example are council services like picking up garbage. You will notice there is a substantial deterioration in these services.

> semi-skilled industry are now likely looking for jobs in other semi-skilled industries

There is a massive shortage of labour in hotels, farms, construction

> rent inflation and increases in the cost of real estate

Yes it does. But this is because of lack of housing supply. Govt is missing new housing targets every year since 2001 [1]. The focus should be to increase the pie instead of being a zero-sum game. The right migrants help you achieve this.

Also, the UK's birth rate is below replacement level [2] and with life expectancy high, UK will increasingly need more tax payers to fund the current standard of living .

[1] https://www.bbc.co.uk/news/61407508

[2] https://www.ons.gov.uk/peoplepopulationandcommunity/birthsde...

comment 3y ago · link · parent

Construction: https://www.youtube.com/watch?v=LQPGe6HQlZI

Hotels,pubs,etc: https://www.telegraph.co.uk/food-and-drink/features/british-...

Documentary: Britain's Unemployment Crisis | A Very British Job Agency | Channel 4 https://www.youtube.com/watch?v=vVH6pgKyZvE

Taxis/Uber (anecdotal): I rarely see proper english uber drivers.

comment 3y ago · link · parent

Although it UK appears to be a democracy but in reality it is not. One of its true test is whether the people make the govt implement the key policies they want or whether the will of the people is truly reflected in the way govt conducts its business. It seems there is a big disconnect.

The general sentiment amongst people that no one listens to their plight & problems. I have felt this sentiment since Tony Blair's days. There appears to be a permanent establishment which influences the key policy making no matter which party forms the govt. This is not democracy.

This has resulted into feelings like nothing radical is going to happen to reverse the decline of the British empire.

comment 3y ago · link · parent

> immigration sentiment in the Midlands

Like it or not, UK needs (skilled & semi-skilled) immigrants. There are jobs which the citizens do not want to do but still expect world-class, low-cost services. This is where semi-skilled people which used to come from Europe stopped after the brexit.

To fund the welfare system, NHS, old-age care, the govt needs money. This is where high tax paying, skilled immigrants come in.

The govt is not doing much to attract the relevant people (unlike Germany, Canada for example)

comment 3y ago · link · parent

Actually it is [1] [2]

[1] Synonyms of artificial has "faked" : https://www.thesaurus.com/browse/artificial

[2] Synonyms of fake has "artificial": https://www.thesaurus.com/browse/fake

comment 3y ago · link · parent

I guess C++ is the new COBOL.

When fresh out of college, I used to pride myself knowing C++. I used to revel in its complexity because it made me feel a cut above the rest. How naive & stupid I was.

I have not worked in C++ for a long time, I cannot climb the mountain of complexity again.

1
456
10